mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 00:02:05 -05:00
50 lines
1.7 KiB
JavaScript
50 lines
1.7 KiB
JavaScript
// moment.js language configuration
|
|
// language : estonian (et)
|
|
// author : Henry Kehlmann : https://github.com/madhenry
|
|
|
|
function translateSeconds(number, withoutSuffix, key, isFuture) {
|
|
return (isFuture || withoutSuffix) ? 'paari sekundi' : 'paar sekundit';
|
|
}
|
|
|
|
require('../moment').lang('et', {
|
|
months : "jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),
|
|
monthsShort : "jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),
|
|
weekdays : "pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),
|
|
weekdaysShort : "P_E_T_K_N_R_L".split("_"),
|
|
weekdaysMin : "P_E_T_K_N_R_L".split("_"),
|
|
longDateFormat : {
|
|
LT : "H:mm",
|
|
L : "DD.MM.YYYY",
|
|
LL : "D. MMMM YYYY",
|
|
LLL : "D. MMMM YYYY LT",
|
|
LLLL : "dddd, D. MMMM YYYY LT"
|
|
},
|
|
calendar : {
|
|
sameDay : '[Täna,] LT',
|
|
nextDay : '[Homme,] LT',
|
|
nextWeek : '[Järgmine] dddd LT',
|
|
lastDay : '[Eile,] LT',
|
|
lastWeek : '[Eelmine] dddd LT',
|
|
sameElse : 'L'
|
|
},
|
|
relativeTime : {
|
|
future : "%s pärast",
|
|
past : "%s tagasi",
|
|
s : translateSeconds,
|
|
m : "minut",
|
|
mm : "%d minutit",
|
|
h : "tund",
|
|
hh : "%d tundi",
|
|
d : "päev",
|
|
dd : "%d päeva",
|
|
M : "kuu",
|
|
MM : "%d kuud",
|
|
y : "aasta",
|
|
yy : "%d aastat"
|
|
},
|
|
ordinal : '%d.',
|
|
week : {
|
|
dow : 1, // Monday is the first day of the week.
|
|
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
}
|
|
});
|