Skip to content

Instantly share code, notes, and snippets.

@fullo
Forked from caillou/gist:1446583
Created December 8, 2011 09:51
Show Gist options
  • Save fullo/1446596 to your computer and use it in GitHub Desktop.
Save fullo/1446596 to your computer and use it in GitHub Desktop.
Translation for relativeDate of moment.js
{
de : {
today: "heute um %time",
tomorrow: 'morgen um %time',
next: '%weekday um %time',
yesterday: 'gestern um %time',
last: 'letzten %weekday um %time'
},
it: {
today: 'Oggi alle %time',
tomorrow: 'Domani alle %time',
next: '%weekday alle %time',
yesterday: 'Ieri alle %time',
last: 'lo scorso %weekday alle %time'
},
en: {
today: 'Today at %time',
tomorrow: 'Tomorrow at %time',
next: '%weekday at %time', // e.g. Friday at 13:45
yesterday: 'Yesterday at %time',
last: 'last %weekday at %time' // e.g. last Sunday at 13:45
},
en-GB : {
today: 'Today at %time',
tomorrow: 'Tomorrow at %time',
next: '%weekday at %time', // e.g. Friday at 13:45
yesterday: 'Yesterday at %time',
last: 'last %weekday at %time' // e.g. last Sunday at 13:45
},
es : {
today: 'hoi a las %time',
tomorrow: 'mañana a las %time',
next: '%weekday a las %time',
yesterday: 'ayer a las %time',
last: 'el %weekday pasado a las %time'
},
fr : {
today: "ajourd'hui à %time",
tomorrow: 'demain à %time',
next: '%weekday à %time',
yesterday: 'hier à %time',
last: '%weekday denier à %time'
},
it : {
today: '',
tomorrow: '',
next: '',
yesterday: '',
last: ''
},
kr : {
today: '',
tomorrow: '',
next: '',
yesterday: '',
last: ''
},
nb : {
today: '',
tomorrow: '',
next: '',
yesterday: '',
last: ''
},
nl : {
today: '',
tomorrow: '',
next: '',
yesterday: '',
last: ''
},
pl : {
today: '',
tomorrow: '',
next: '',
yesterday: '',
last: ''
},
pt : {
today: '',
tomorrow: '',
next: '',
yesterday: '',
last: ''
},
ru : {
today: '',
tomorrow: '',
next: '',
yesterday: '',
last: ''
},
sv : {
today: '',
tomorrow: '',
next: '',
yesterday: '',
last: ''
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment