From d9923f140070fe3674fcfb73990f33693c5d02de Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Sun, 18 Nov 2018 13:13:26 +0000 Subject: [PATCH] [Translations] Added english update translation. --- src/qml/MainMenu.qml | 2 +- src/qml/translations.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/qml/MainMenu.qml b/src/qml/MainMenu.qml index 027435c..41c6f7f 100644 --- a/src/qml/MainMenu.qml +++ b/src/qml/MainMenu.qml @@ -218,7 +218,7 @@ MenuBar { shortcut: keybinds.quit } Action { - text: "Update" + text: translate.getTranslation("UPDATE", i18n.language) onTriggered: player.updateAppImage() } } diff --git a/src/qml/translations.js b/src/qml/translations.js index 4b7d409..f54829a 100644 --- a/src/qml/translations.js +++ b/src/qml/translations.js @@ -41,7 +41,8 @@ var translations = { TITLE: "Title", TOGGLE_ALWAYS_ON_TOP: "Toggle Always On Top", DISABLE_TRACK: "Disable Track", - AUDIO_DEVICES: "Audio Devices" + AUDIO_DEVICES: "Audio Devices", + UPDATE: "Update" }, spanish: { SAVE_SCREENSHOT: "Guardar captura en",