From d0f8f72f7fc97765279d5d48a70c0ca6df340e4d Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Thu, 20 Sep 2018 16:47:39 -0400 Subject: [PATCH] Add translations for new Splatfest results --- src/web/components/splatoon/SplatfestResultsRow.vue | 9 ++++----- src/web/locale/de.json | 5 ++++- src/web/locale/en.json | 2 +- src/web/locale/es-MX.json | 5 ++++- src/web/locale/es.json | 5 ++++- src/web/locale/fr-CA.json | 5 ++++- src/web/locale/fr.json | 5 ++++- src/web/locale/it.json | 5 ++++- src/web/locale/ja.json | 5 ++++- src/web/locale/nl.json | 5 ++++- src/web/locale/ru.json | 5 ++++- 11 files changed, 41 insertions(+), 15 deletions(-) diff --git a/src/web/components/splatoon/SplatfestResultsRow.vue b/src/web/components/splatoon/SplatfestResultsRow.vue index cb1a27c..b8b73fa 100644 --- a/src/web/components/splatoon/SplatfestResultsRow.vue +++ b/src/web/components/splatoon/SplatfestResultsRow.vue @@ -8,7 +8,8 @@
{{ rates.alpha | wholePercent }}.{{ rates.alpha | partialPercent }}{{ $t('splatfest.results.%') }}
- {{ averages.alpha | average }} + {{ $t('splatfest.results.average') }} + {{ averages.alpha }}
@@ -25,7 +26,8 @@
{{ rates.bravo | wholePercent }}.{{ rates.bravo | partialPercent }}{{ $t('splatfest.results.%') }}
- {{ averages.bravo | average }} + {{ $t('splatfest.results.average') }} + {{ averages.bravo }}
@@ -69,9 +71,6 @@ export default { partialPercent(value) { return value.toString().slice(-2); }, - average(average) { - return Vue.i18n.translate('splatfest.results.average', { average }); - }, }, methods: { resultTitle(team) { diff --git a/src/web/locale/de.json b/src/web/locale/de.json index b2e59d1..4e57a5d 100644 --- a/src/web/locale/de.json +++ b/src/web/locale/de.json @@ -31,7 +31,10 @@ "vote": "Stimmen", "solo": "Solo", "team": "Team", - "%": " %" + "%": " %", + "regular": "Standard", + "challenge": "Profi", + "average": "Durchschnitt" }, "team_name_wins": "Team {team} hat gewonnen!", "previous": "Bisherige Splatfeste" diff --git a/src/web/locale/en.json b/src/web/locale/en.json index b77dba8..cd17d50 100644 --- a/src/web/locale/en.json +++ b/src/web/locale/en.json @@ -33,7 +33,7 @@ "team": "Team", "regular": "Normal", "challenge": "Challenge", - "average": "Average {average}", + "average": "Average", "%": "%" }, "team_name_wins": "Team {team} wins!", diff --git a/src/web/locale/es-MX.json b/src/web/locale/es-MX.json index 65be4b4..56e5fea 100644 --- a/src/web/locale/es-MX.json +++ b/src/web/locale/es-MX.json @@ -31,7 +31,10 @@ "vote": "Votos", "solo": "Individual", "team": "En equipo", - "%": " %" + "%": " %", + "regular": "Normal", + "challenge": "Desafío", + "average": "Media:" }, "team_name_wins": "¡Gana el Equipo {team}!", "previous": "Festivales" diff --git a/src/web/locale/es.json b/src/web/locale/es.json index d34fa99..950327d 100644 --- a/src/web/locale/es.json +++ b/src/web/locale/es.json @@ -31,7 +31,10 @@ "vote": "Votos", "solo": "Individual", "team": "En equipo", - "%": " %" + "%": " %", + "regular": "Normal", + "challenge": "Desafío", + "average": "Media:" }, "team_name_wins": "¡Gana el equipo {team}!", "previous": "Festivales anteriores" diff --git a/src/web/locale/fr-CA.json b/src/web/locale/fr-CA.json index 5eeb86d..d69e986 100644 --- a/src/web/locale/fr-CA.json +++ b/src/web/locale/fr-CA.json @@ -31,7 +31,10 @@ "vote": "Votes", "solo": "Solo", "team": "Équipes", - "%": " %" + "%": " %", + "regular": "Normal", + "challenge": "Défi", + "average": "Moyenne :" }, "team_name_wins": "Victoire de l'équipe {team}!", "previous": "Festivals terminés" diff --git a/src/web/locale/fr.json b/src/web/locale/fr.json index 6f9d61f..5805051 100644 --- a/src/web/locale/fr.json +++ b/src/web/locale/fr.json @@ -31,7 +31,10 @@ "vote": "Votes", "solo": "Solo", "team": "Équipes", - "%": " %" + "%": " %", + "regular": "Normal", + "challenge": "Défi", + "average": "Moyenne :" }, "team_name_wins": "Victoire de l'équipe {team} !", "previous": "Festivals terminés" diff --git a/src/web/locale/it.json b/src/web/locale/it.json index 1e683a9..588a61e 100644 --- a/src/web/locale/it.json +++ b/src/web/locale/it.json @@ -31,7 +31,10 @@ "vote": "Voti", "solo": "In solitaria", "team": "In squadra", - "%": "%" + "%": "%", + "regular": "Normale", + "challenge": "Sfida", + "average": "Media:" }, "team_name_wins": "Vince la squadra {team}!", "previous": "Festival terminati" diff --git a/src/web/locale/ja.json b/src/web/locale/ja.json index 31c14e2..d552358 100644 --- a/src/web/locale/ja.json +++ b/src/web/locale/ja.json @@ -31,7 +31,10 @@ "vote": "得票率", "solo": "ソロ", "team": "チーム", - "%": "%" + "%": "%", + "regular": "レギュラー", + "challenge": "チャレンジ", + "average": "へいきん" }, "team_name_wins": "{team}チームの勝利!", "previous": "これまでのフェス" diff --git a/src/web/locale/nl.json b/src/web/locale/nl.json index 5887f36..f33903a 100644 --- a/src/web/locale/nl.json +++ b/src/web/locale/nl.json @@ -31,7 +31,10 @@ "vote": "Stemmen", "solo": "Solo", "team": "Team", - "%": "%" + "%": "%", + "regular": "Standaard", + "challenge": "Pro", + "average": "Gemiddelde" }, "team_name_wins": "Overwinning voor team {team}!", "previous": "Vorige Splatfests" diff --git a/src/web/locale/ru.json b/src/web/locale/ru.json index 03bf27c..c463f0e 100644 --- a/src/web/locale/ru.json +++ b/src/web/locale/ru.json @@ -31,7 +31,10 @@ "vote": "Симпатии", "solo": "«Соло»", "team": "«Команда»", - "%": "%" + "%": "%", + "regular": "Обычный", + "challenge": "Сложный", + "average": "В среднем:" }, "team_name_wins": "Победа — {team}!", "previous": "История"