Created
February 16, 2009 15:52
-
-
Save telesma/65221 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Script: Date.German.js | |
Date messages for German. Thanks Frank Rossi. | |
License: | |
MIT-style license. | |
*/ | |
MooTools.lang.set('DE', 'Date', { | |
months: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'], | |
days: ['Sontag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'], | |
//culture's date order: MM/DD/YYYY | |
dateOrder: [ 'date', 'month', 'year', '.'], | |
AM: 'vormittags', | |
PM: 'nachmittags', | |
/* Date.Extras */ | |
getOrdinal: function(dayOfMonth){ | |
//1st, 2nd, 3rd, etc. | |
return (dayOfMonth > 3 && dayOfMonth < 21) ? 'th' : ['th', 'st', 'nd', 'rd', 'th'][Math.min(dayOfMonth % 10, 4)]; | |
}, | |
lessThanMinuteAgo: 'Vor weniger als einer Minute', | |
minuteAgo: 'Vor ungefähr einer Minute', | |
minutesAgo: 'Vor {delta} Minuten', | |
hourAgo: 'Vor ungefähr einer Stunde', | |
hoursAgo: 'Vor ungefähr {delta} Stunden', | |
dayAgo: 'Vor einem Tag', | |
daysAgo: 'Vor {delta} Tagen', | |
lessThanMinuteUntil: 'Von jetzt an weniger als eine Minute', | |
minuteUntil: 'Noch ungefähr eine Minute', | |
minutesUntil: 'Noch {delta} Minuten', | |
hourUntil: 'Noch ungefähr eine Stunde', | |
hoursUntil: 'Noch ungefähr {delta} Stunden', | |
dayUntil: 'Noch einen Tag', | |
daysUntil: 'Noch {delta} Tage' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment