From 8fe2c512c229398771017164fa5db0d1a700bacb Mon Sep 17 00:00:00 2001 From: namedkitten Date: Wed, 6 May 2020 05:13:45 +0100 Subject: [PATCH] Update language stuff. --- DOCS.md | 16 +++++++++------- src/qml/Utils/translations.js | 6 ++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/DOCS.md b/DOCS.md index ee53bae..fab5654 100644 --- a/DOCS.md +++ b/DOCS.md @@ -5,13 +5,15 @@ A YouTube-like video player based on Qt, QML and libmpv. - On linux the config file will be located at `~/.config/KittehPlayer/KittehPlayer.conf` ## Supported Languages -- `english` -- `french` -- `spanish` -- `german` -- `italian` -- `russian` -- `norweigan` +- `english` English +- `spanish` Español +- `german` Deutsch +- `french` Française +- `italian` Italiano +- `russian` Русский +- `norwegian` Norwegian +- `telugu` తెలుగు +- Left = config value; Right = language name - If your language isn't listed above then please either contact me (details at bottom of readme) or make a PR with the translations which are located in the file `src/qml/translations.js`. ## MPV Config diff --git a/src/qml/Utils/translations.js b/src/qml/Utils/translations.js index 67f38e8..24eb918 100644 --- a/src/qml/Utils/translations.js +++ b/src/qml/Utils/translations.js @@ -6,8 +6,7 @@ var languages = { "italian": "Italiano", "russian": "Русский", "norwegian": "Norwegian", - "telugu": "తెలుగు" - + "telugu": "తెలుగు", } var translations = { @@ -327,7 +326,7 @@ var translations = { TOGGLE_ALWAYS_ON_TOP: "Alltid Øverst", DISABLE_TRACK: "Skru Av Spor" }, - : { + telugu: { OPEN_FILE: "ఫైల్ తెరువు", URL_FILE_PATH: "లింకు / ఫైల్ ఉన్న ప్రదేశం", FILE_MENU: "ఫైల్ మెనూ", @@ -346,7 +345,6 @@ var translations = { BACKWARD_FRAME: "ఫ్రేము వెనక్కి", FORWARD_FRAME: "ఫ్రేము ముందుకి", AUDIO: "ఆడియో మెనూ", - CYCLE_AUDIO_TRACK: "ఆడియో ట్రాక్ ని సైకిల్ చేయి", INCREASE_VOLUME: "ధ్వని పెంచు", DECREASE_VOLUME: "ధ్వని తగ్గించు", MUTE_VOLUME: "మ్యూట్ చేయి",