mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 17:56:17 +01:00
improve i18n for sonia.util.js
This commit is contained in:
@@ -44,6 +44,37 @@ if (Ext.form.VTypes){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// sonia.util.js
|
||||||
|
|
||||||
|
if ( Ext.util.Format ){
|
||||||
|
|
||||||
|
Ext.apply(Ext.util.Format, {
|
||||||
|
timeAgoJustNow: 'Jetzt',
|
||||||
|
timeAgoOneMinuteAgo: 'Vor 1 Minute',
|
||||||
|
timeAgoOneMinuteFromNow: 'In 1 minute',
|
||||||
|
timeAgoMinutes: 'Minuten',
|
||||||
|
timeAgoOneHourAgo: 'Vor 1 Stunde',
|
||||||
|
timeAgoOneHourFromNow: 'In 1 Stunde',
|
||||||
|
timeAgoHours: 'Stunden',
|
||||||
|
timeAgoYesterday: 'Gestern',
|
||||||
|
timeAgoTomorrow: 'Morgen',
|
||||||
|
timeAgoDays: 'Tage',
|
||||||
|
timeAgoLastWeek: 'Letzte Woche',
|
||||||
|
timeAgoNextWeek: 'Nächste Woche',
|
||||||
|
timeAgoWeeks: 'Wochen',
|
||||||
|
timeAgoLastMonth: 'Letzten Monat',
|
||||||
|
timeAgoNextMonth: 'Nächsten Monat',
|
||||||
|
timeAgoMonths: 'Monate',
|
||||||
|
timeAgoLastYear: 'Letztes Jahr',
|
||||||
|
timeAgoNextYear: 'Nächstes Jahr',
|
||||||
|
timeAgoYears: 'Jahre',
|
||||||
|
timeAgoLastCentury: 'Letztes Jahrhundert',
|
||||||
|
timeAgoNextCentury: 'Nächstes Jahrhundert',
|
||||||
|
timeAgoCenturies: 'Jahrhunderte'
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// sonia.login.js
|
// sonia.login.js
|
||||||
|
|
||||||
if (Sonia.login.Form){
|
if (Sonia.login.Form){
|
||||||
|
|||||||
@@ -50,7 +50,6 @@
|
|||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
|
||||||
// TODO i18n
|
|
||||||
timeAgoJustNow: 'just now',
|
timeAgoJustNow: 'just now',
|
||||||
timeAgoOneMinuteAgo: '1 minute ago',
|
timeAgoOneMinuteAgo: '1 minute ago',
|
||||||
timeAgoOneMinuteFromNow: '1 minute from now',
|
timeAgoOneMinuteFromNow: '1 minute from now',
|
||||||
@@ -74,7 +73,6 @@
|
|||||||
timeAgoNextCentury: 'next century',
|
timeAgoNextCentury: 'next century',
|
||||||
timeAgoCenturies: 'centuries',
|
timeAgoCenturies: 'centuries',
|
||||||
|
|
||||||
|
|
||||||
timeAgo : function(value){
|
timeAgo : function(value){
|
||||||
|
|
||||||
var time_formats = [
|
var time_formats = [
|
||||||
|
|||||||
Reference in New Issue
Block a user