aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.js8
-rw-r--r--static/timeago-de.json10
-rw-r--r--static/timeago-et.json10
-rw-r--r--static/timeago-fi.json10
-rw-r--r--static/timeago-fr.json10
-rw-r--r--static/timeago-hu.json10
-rw-r--r--static/timeago-it.json10
7 files changed, 1 insertions, 67 deletions
diff --git a/src/main.js b/src/main.js
index a387b444..9e0b9e7c 100644
--- a/src/main.js
+++ b/src/main.js
@@ -30,15 +30,9 @@ const currentLocale = (window.navigator.language || 'en').split('-')[0]
Vue.use(Vuex)
Vue.use(VueRouter)
Vue.use(VueTimeago, {
- locale: currentLocale,
+ locale: currentLocale === 'ja' ? 'ja' : 'en',
locales: {
'en': require('../static/timeago-en.json'),
- 'fi': require('../static/timeago-fi.json'),
- 'de': require('../static/timeago-de.json'),
- 'et': require('../static/timeago-et.json'),
- 'hu': require('../static/timeago-hu.json'),
- 'it': require('../static/timeago-it.json'),
- 'fr': require('../static/timeago-fr.json'),
'ja': require('../static/timeago-ja.json')
}
})
diff --git a/static/timeago-de.json b/static/timeago-de.json
deleted file mode 100644
index da5766a0..00000000
--- a/static/timeago-de.json
+++ /dev/null
@@ -1,10 +0,0 @@
-[
- "jetzt gerade",
- ["vor %s Sekunde", "vor %s Sekunden"],
- ["vor %s Minute", "vor %s Minuten"],
- ["vor %s Stunde", "vor %s Stunden"],
- ["vor %s Tag", "vor %s Tagen"],
- ["vor %s Woche", "vor %s Wochen"],
- ["vor %s Monat", "vor %s Monaten"],
- ["vor %s Jahr", "vor %s Jahren"]
-]
diff --git a/static/timeago-et.json b/static/timeago-et.json
deleted file mode 100644
index 68b405ed..00000000
--- a/static/timeago-et.json
+++ /dev/null
@@ -1,10 +0,0 @@
-[
- "praegu",
- ["%s sekund tagasi", "%s sekundit tagasi"],
- ["%s minut tagasi", "%s minutit tagasi"],
- ["%s tund tagasi", "%s tundi tagasi"],
- ["%s päev tagasi", "%s päeva tagasi"],
- ["%s nädal tagasi", "%s nädalat tagasi"],
- ["%s kuu tagasi", "%s kuud tagasi"],
- ["%s aasta tagasi", "%s aastat tagasi"]
-]
diff --git a/static/timeago-fi.json b/static/timeago-fi.json
deleted file mode 100644
index 066588c0..00000000
--- a/static/timeago-fi.json
+++ /dev/null
@@ -1,10 +0,0 @@
-[
- "juuri nyt",
- ["%s sekunti sitten", "%s sekuntia sitten"],
- ["%s minuutti sitten", "%s minuuttia sitten"],
- ["%s tunti sitten", "%s tuntia sitten"],
- ["%s päivä sitten", "%s päivää sitten"],
- ["%s viikko sitten", "%s viikkoa sitten"],
- ["%s kuukausi sitten", "%s kuukautta sitten"],
- ["%s vuosi sitten", "%s vuotta sitten"]
-]
diff --git a/static/timeago-fr.json b/static/timeago-fr.json
deleted file mode 100644
index 95c4a409..00000000
--- a/static/timeago-fr.json
+++ /dev/null
@@ -1,10 +0,0 @@
-[
- "à l'instant",
- ["il y a %s seconde", "il y a %s secondes"],
- ["il y a %s minute", "il y a %s minutes"],
- ["il y a %s heure", "il y a %s heures"],
- ["il y a %s jour", "il y a %s jours"],
- ["il y a %s semaine", "il y a %s semaines"],
- ["il y a %s mois", "il y a %s mois"],
- ["il y a %s an", "il y a %s ans"]
-]
diff --git a/static/timeago-hu.json b/static/timeago-hu.json
deleted file mode 100644
index 2e6e405d..00000000
--- a/static/timeago-hu.json
+++ /dev/null
@@ -1,10 +0,0 @@
-[
- "pont most",
- "%s másodperce",
- "%s perce",
- "%s órája",
- "%s napja",
- "%s hete",
- "%s hónapja",
- "%s éve"
-]
diff --git a/static/timeago-it.json b/static/timeago-it.json
deleted file mode 100644
index 39b4cd11..00000000
--- a/static/timeago-it.json
+++ /dev/null
@@ -1,10 +0,0 @@
-[
- "adesso",
- ["%s secondo fa", "%s secondi fa"],
- ["%s minuto fa", "%s minuti fa"],
- ["%s ora fa", "%s ore fa"],
- ["%s giorno fa", "%s giorni fa"],
- ["%s settimana fa", "%s settimane fa"],
- ["%s mese fa", "%s mesi fa"],
- ["%s anno fa", "%s anni fa"]
-]