From cb5cef30745ca7307af05a1db8740b39105d3e4e Mon Sep 17 00:00:00 2001 From: devfake Date: Wed, 30 Nov 2016 12:42:41 +0100 Subject: [PATCH] add translations for update --- client/app/components/Content/Settings.vue | 8 ++++---- client/resources/languages/ar.json | 6 +++++- client/resources/languages/da.json | 6 +++++- client/resources/languages/de.json | 6 +++++- client/resources/languages/el.json | 6 +++++- client/resources/languages/en.json | 6 +++++- client/resources/languages/fr.json | 6 +++++- client/resources/languages/nl.json | 6 +++++- 8 files changed, 39 insertions(+), 11 deletions(-) diff --git a/client/app/components/Content/Settings.vue b/client/app/components/Content/Settings.vue index b116150..6fec717 100644 --- a/client/app/components/Content/Settings.vue +++ b/client/app/components/Content/Settings.vue @@ -2,10 +2,10 @@
- Current version: {{ version }} + {{ lang('current version') }} {{ version }} {{ updateMessage }} - There is a new update for flox! + {{ lang('new update') }}
@@ -88,10 +88,10 @@ updateMessage() { if(this.isUpdate === false) { - return 'Nothing to update'; + return this.lang('no update'); } - return 'Checking for updates...'; + return this.lang('checking update'); } }, diff --git a/client/resources/languages/ar.json b/client/resources/languages/ar.json index 570bd29..9666a71 100644 --- a/client/resources/languages/ar.json +++ b/client/resources/languages/ar.json @@ -37,5 +37,9 @@ "display date": "عرض التاريخ", "success import": "تم استراد الأفلام بناجاح", "import warn": "سيتم استبدال جميع الأفلام. تأكد من أنك قد قدمت نسخة احتياطية!", - "genre message": "لتحديث نسخة قديمة من flox" + "genre message": "لتحديث نسخة قديمة من flox", + "current version": "النسخة الحالية:", + "new update": "هناك تحديثا جديدا لflox!", + "no update": "لا شيء لتحديث", + "checking update": "البحث عن تحديثات..." } diff --git a/client/resources/languages/da.json b/client/resources/languages/da.json index 0859285..dc68bd1 100644 --- a/client/resources/languages/da.json +++ b/client/resources/languages/da.json @@ -37,5 +37,9 @@ "display date": "Vis dato", "success import": "Film succesfuldt importeret", "import warn": "Alle film vil blive erstattet. Vær sikker på du laver en sikkerhedskopi!", - "genre message": "Til at opdatere en gammel version af flox" + "genre message": "Til at opdatere en gammel version af flox", + "current version": "Nuværende version:", + "new update": "Der er en ny opdatering til flox!", + "no update": "Intet at opdatere", + "checking update": "Kontrollerer for opdateringer ..." } diff --git a/client/resources/languages/de.json b/client/resources/languages/de.json index 5cab61b..c53e98b 100644 --- a/client/resources/languages/de.json +++ b/client/resources/languages/de.json @@ -37,5 +37,9 @@ "display date": "Datum anzeigen", "success import": "Filme wurden erfolgreich importiert", "import warn": "Durch den Import werden alle Filme ersetzt. Erstelle vorher ein Backup!", - "genre message": "Um eine alte Version von Flox zu aktualisieren" + "genre message": "Um eine alte Version von Flox zu aktualisieren", + "current version": "Aktuelle Version:", + "new update": "Ein neues Update ist vorhanden", + "no update": "Kein Update vorhanden", + "checking update": "Suche nach Updates..." } diff --git a/client/resources/languages/el.json b/client/resources/languages/el.json index c5d3a55..d88858f 100644 --- a/client/resources/languages/el.json +++ b/client/resources/languages/el.json @@ -37,5 +37,9 @@ "display date": "Εμφάνιση ημερομηνίας", "success import": "Επιτυχής εισαγωγή ταινιών", "import warn": "Όλες οι ταινίες θα αντικατασταθούν. Σιγουρέψου ότι έχεις κρατήσει αντίγραφο ασφαλείας!", - "genre message": "Για να αναβαθμίσεις μία παλιά έκδοση του flox" + "genre message": "Για να αναβαθμίσεις μία παλιά έκδοση του flox", + "current version": "Τρέχουσα έκδοση:", + "new update": "Υπάρχει μια νέα ενημερωμένη έκδοση για Flox!", + "no update": "Τίποτα για να ενημερώσετε", + "checking update": "Έλεγχος για ενημερώσεις ..." } diff --git a/client/resources/languages/en.json b/client/resources/languages/en.json index 8ee2c9d..bc8a813 100644 --- a/client/resources/languages/en.json +++ b/client/resources/languages/en.json @@ -37,5 +37,9 @@ "display date": "Display date", "success import": "Movies successful imported", "import warn": "All movies will be replaced. Be sure you have made an backup!", - "genre message": "For updating an old version of flox" + "genre message": "For updating an old version of flox", + "current version": "Current version:", + "new update": "There is a new update for flox!", + "no update": "Nothing to update", + "checking update": "Checking for updates..." } \ No newline at end of file diff --git a/client/resources/languages/fr.json b/client/resources/languages/fr.json index 776c5a0..2a19453 100644 --- a/client/resources/languages/fr.json +++ b/client/resources/languages/fr.json @@ -37,5 +37,9 @@ "display date": "Afficher date", "success import": "Films importés avec succès", "import warn": "Tous les films seront remplacés. Il est recommandé de faire une sauvegarde avant de continuer", - "genre message": "Pour actualiser une ancienne version de Flox" + "genre message": "Pour actualiser une ancienne version de Flox", + "current version": "Version actuelle:", + "new update": "Il existe une nouvelle mise à jour pour flox!", + "no update": "Rien à mettre à jour", + "checking update": "Vérification des mises à jour ..." } \ No newline at end of file diff --git a/client/resources/languages/nl.json b/client/resources/languages/nl.json index dc33cc5..227c318 100644 --- a/client/resources/languages/nl.json +++ b/client/resources/languages/nl.json @@ -37,5 +37,9 @@ "display date": "Weergeef datum", "success import": "Films successful geïmporteerd", "import warn": "Alle films worden vervangen. Zorg dat je een backup hebt!", - "genre message": "Om een oude versie van Flox te updaten" + "genre message": "Om een oude versie van Flox te updaten", + "current version": "Huidige versie:", + "new update": "Er is een nieuwe update voor Flox!", + "no update": "Niets te actualiseren", + "checking update": "Controleren op updates ..." }