From 751da9fb452600b8754a4897685063d78c9ff57b Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Mon, 4 Dec 2017 16:30:02 -0800 Subject: [PATCH] Add translations for Splatfest results --- src/js/components/splatoon/SplatfestResultsBox.vue | 10 ++++++---- src/js/components/splatoon/SplatfestResultsRow.vue | 4 ++-- src/locale/de.json | 9 ++++++++- src/locale/en.json | 9 ++++++++- src/locale/es-MX.json | 9 ++++++++- src/locale/es.json | 9 ++++++++- src/locale/fr-CA.json | 9 ++++++++- src/locale/fr.json | 9 ++++++++- src/locale/it.json | 9 ++++++++- src/locale/ja.json | 9 ++++++++- src/locale/nl.json | 9 ++++++++- src/locale/ru.json | 9 ++++++++- 12 files changed, 88 insertions(+), 16 deletions(-) diff --git a/src/js/components/splatoon/SplatfestResultsBox.vue b/src/js/components/splatoon/SplatfestResultsBox.vue index b46aeae..a0f9aa7 100644 --- a/src/js/components/splatoon/SplatfestResultsBox.vue +++ b/src/js/components/splatoon/SplatfestResultsBox.vue @@ -3,7 +3,9 @@
-
Results
+
+ {{ $t('splatfest.results.title') }} +
@@ -22,9 +24,9 @@
- - - + + +
diff --git a/src/js/components/splatoon/SplatfestResultsRow.vue b/src/js/components/splatoon/SplatfestResultsRow.vue index 96a8053..aaecca4 100644 --- a/src/js/components/splatoon/SplatfestResultsRow.vue +++ b/src/js/components/splatoon/SplatfestResultsRow.vue @@ -3,7 +3,7 @@
-
{{ rates.alpha }}%
+
{{ rates.alpha }}{{ $t('splatfest.results.%') }}
@@ -14,7 +14,7 @@
-
{{ rates.bravo }}%
+
{{ rates.bravo }}{{ $t('splatfest.results.%') }}
diff --git a/src/locale/de.json b/src/locale/de.json index 5314832..f221652 100644 --- a/src/locale/de.json +++ b/src/locale/de.json @@ -25,7 +25,14 @@ "recent": "Splatfest", "title": "Splatfest", "upcoming": "Splatfest", - "results_in": "Ergebnisse in {time}" + "results_in": "Ergebnisse in {time}", + "results": { + "title": "Ergebnis", + "votes": "Stimmen", + "solo": "Solo", + "team": "Team", + "%": " %" + } }, "splatnet_gear": { "button": "TentaWorld", diff --git a/src/locale/en.json b/src/locale/en.json index c56005a..6fab509 100644 --- a/src/locale/en.json +++ b/src/locale/en.json @@ -25,7 +25,14 @@ "recent": "Recent Splatfest", "title": "Splatfest", "upcoming": "Upcoming Splatfest", - "results_in": "results in {time}" + "results_in": "results in {time}", + "results": { + "title": "Results!", + "votes": "Votes", + "solo": "Solo", + "team": "Team", + "%": "%" + } }, "splatnet_gear": { "button": "SplatNet Gear", diff --git a/src/locale/es-MX.json b/src/locale/es-MX.json index 026fd26..b5b31c2 100644 --- a/src/locale/es-MX.json +++ b/src/locale/es-MX.json @@ -25,7 +25,14 @@ "recent": "Festival", "title": "Festival", "upcoming": "Festival", - "results_in": "resultados en {time}" + "results_in": "resultados en {time}", + "results": { + "title": "Resultados", + "votes": "Votos", + "solo": "Individual", + "team": "En equipo", + "%": " %" + } }, "splatnet_gear": { "button": "Tienda SplatNet", diff --git a/src/locale/es.json b/src/locale/es.json index c172ca8..0d1832f 100644 --- a/src/locale/es.json +++ b/src/locale/es.json @@ -25,7 +25,14 @@ "recent": "Festival", "title": "Festival", "upcoming": "Festival", - "results_in": "resultados en {time}" + "results_in": "resultados en {time}", + "results": { + "title": "¡Resultados!", + "votes": "Votos", + "solo": "Individual", + "team": "En equipo", + "%": " %" + } }, "splatnet_gear": { "button": "Tentatienda", diff --git a/src/locale/fr-CA.json b/src/locale/fr-CA.json index 2845409..8a83b46 100644 --- a/src/locale/fr-CA.json +++ b/src/locale/fr-CA.json @@ -25,7 +25,14 @@ "recent": "Festival", "title": "Festival", "upcoming": "Festival", - "results_in": "résultats en {time}" + "results_in": "résultats en {time}", + "results": { + "title": "Résultats!", + "votes": "Votes", + "solo": "Solo", + "team": "Équipes", + "%": " %" + } }, "splatnet_gear": { "button": "Boutique SplatNet", diff --git a/src/locale/fr.json b/src/locale/fr.json index 6d95357..1ecf5f9 100644 --- a/src/locale/fr.json +++ b/src/locale/fr.json @@ -25,7 +25,14 @@ "recent": "Festival", "title": "Festival", "upcoming": "Festival", - "results_in": "résultats en {time}" + "results_in": "résultats en {time}", + "results": { + "title": "Résultats !", + "votes": "Votes", + "solo": "Solo", + "team": "Équipes", + "%": " %" + } }, "splatnet_gear": { "button": "Céphalochic", diff --git a/src/locale/it.json b/src/locale/it.json index a77126e..40388db 100644 --- a/src/locale/it.json +++ b/src/locale/it.json @@ -25,7 +25,14 @@ "recent": "Festival", "title": "Festival", "upcoming": "Festival", - "results_in": "risultati in {time}" + "results_in": "risultati in {time}", + "results": { + "title": "Risultati!", + "votes": "Voti", + "solo": "In solitaria", + "team": "In squadra", + "%": "%" + } }, "splatnet_gear": { "button": "Calama-zone", diff --git a/src/locale/ja.json b/src/locale/ja.json index 1315933..9174dd5 100644 --- a/src/locale/ja.json +++ b/src/locale/ja.json @@ -25,7 +25,14 @@ "recent": "フェス", "title": "フェス", "upcoming": "フェス", - "results_in": "結果発表 {time}" + "results_in": "結果発表 {time}", + "results": { + "title": "結果発表!", + "votes": "得票率", + "solo": "ソロ", + "team": "チーム", + "%": "%" + } }, "splatnet_gear": { "button": "ゲソタウン", diff --git a/src/locale/nl.json b/src/locale/nl.json index 7bcef3c..8ce9397 100644 --- a/src/locale/nl.json +++ b/src/locale/nl.json @@ -25,7 +25,14 @@ "recent": "Splatfest", "title": "Splatfest", "upcoming": "Splatfest", - "results_in": "resultaten in {time}" + "results_in": "resultaten in {time}", + "results": { + "title": "Resultaten!", + "votes": "Stemmen", + "solo": "Solo", + "team": "Team", + "%": "%" + } }, "splatnet_gear": { "button": "Tentashop", diff --git a/src/locale/ru.json b/src/locale/ru.json index 65832ec..23328d7 100644 --- a/src/locale/ru.json +++ b/src/locale/ru.json @@ -25,7 +25,14 @@ "recent": "Сплатфест", "title": "Сплатфест", "upcoming": "Сплатфест", - "results_in": "результаты за {time}" + "results_in": "результаты за {time}", + "results": { + "title": "Итоги!", + "votes": "Симпатии", + "solo": "«Соло»", + "team": "«Команда»", + "%": "%" + } }, "splatnet_gear": { "button": "«Щупозон»",