From 55fd5a0dcb935373e9772780ece5ed48812e363e Mon Sep 17 00:00:00 2001 From: HardiReady Date: Tue, 2 Oct 2018 14:31:26 +0200 Subject: [PATCH] Add i18n for stats fraction/scoreboard/overview --- static/src/app/app.component.html | 2 +- static/src/app/shared.module.ts | 2 +- .../campaign-navigation.component.html | 6 +- .../campaign-player-detail.component.html | 8 +-- .../campaign-player-detail.component.ts | 16 +++++- .../overview/campaign-overview.component.html | 6 +- static/src/app/statistic/stats.component.ts | 21 ++++--- static/src/app/statistic/stats.module.ts | 36 +++++++++++- .../fraction-stats.component.html | 2 +- .../fraction-stats.component.ts | 35 +++++++----- .../war/war-list/war-item.component.html | 7 ++- .../war/war-list/war-list.component.html | 14 ++--- .../war/war-list/war-list.component.ts | 32 ++++++++--- static/src/assets/i18n/{ => app}/de.json | 0 static/src/assets/i18n/{ => app}/en.json | 0 static/src/assets/i18n/statistics/de.json | 57 +++++++++++++++++++ static/src/assets/i18n/statistics/en.json | 3 + 17 files changed, 187 insertions(+), 60 deletions(-) rename static/src/assets/i18n/{ => app}/de.json (100%) rename static/src/assets/i18n/{ => app}/en.json (100%) create mode 100644 static/src/assets/i18n/statistics/de.json create mode 100644 static/src/assets/i18n/statistics/en.json diff --git a/static/src/app/app.component.html b/static/src/app/app.component.html index 90299a2..0b1739d 100644 --- a/static/src/app/app.component.html +++ b/static/src/app/app.component.html @@ -30,7 +30,7 @@ class="dropdown">