mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 09:46:16 +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
|
||||
|
||||
if (Sonia.login.Form){
|
||||
@@ -463,4 +494,4 @@ if (Sonia.scm.Main){
|
||||
logoutFailedText: 'Abmeldung Fehlgeschlagen!'
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
return result;
|
||||
},
|
||||
|
||||
// TODO i18n
|
||||
timeAgoJustNow: 'just now',
|
||||
timeAgoOneMinuteAgo: '1 minute ago',
|
||||
timeAgoOneMinuteFromNow: '1 minute from now',
|
||||
@@ -74,7 +73,6 @@
|
||||
timeAgoNextCentury: 'next century',
|
||||
timeAgoCenturies: 'centuries',
|
||||
|
||||
|
||||
timeAgo : function(value){
|
||||
|
||||
var time_formats = [
|
||||
|
||||
Reference in New Issue
Block a user