diff --git a/apps/gbmusic/ChangeLog b/apps/gbmusic/ChangeLog index 90e5ed857..0275542fb 100644 --- a/apps/gbmusic/ChangeLog +++ b/apps/gbmusic/ChangeLog @@ -10,4 +10,5 @@ 0.10: Simplify touch events Remove date+time 0.11: Use default Bangle formatter for booleans -0.12: Issue newline before GB commands (solves issue with console.log and ignored commands) \ No newline at end of file +0.12: Issue newline before GB commands (solves issue with console.log and ignored commands) +0.13: Upgrade to new translation system diff --git a/apps/gbmusic/metadata.json b/apps/gbmusic/metadata.json index 0c73548cb..0024a1708 100644 --- a/apps/gbmusic/metadata.json +++ b/apps/gbmusic/metadata.json @@ -2,7 +2,7 @@ "id": "gbmusic", "name": "Gadgetbridge Music Controls", "shortName": "Music Controls", - "version": "0.12", + "version": "0.13", "description": "Control the music on your Gadgetbridge-connected phone", "icon": "icon.png", "screenshots": [{"url":"screenshot_v1_d.png"},{"url":"screenshot_v1_l.png"}, diff --git a/apps/gbmusic/settings.js b/apps/gbmusic/settings.js index 6619eab1c..9b8d35be9 100644 --- a/apps/gbmusic/settings.js +++ b/apps/gbmusic/settings.js @@ -3,8 +3,7 @@ */ (function(back) { const SETTINGS_FILE = "gbmusic.json", - storage = require("Storage"), - translate = require("locale").translate; + storage = require("Storage"); // initialize with default settings... let s = { @@ -28,12 +27,12 @@ let menu = { "": {"title": "Music Control"}, }; - menu[translate("< Back")] = back; - menu[translate("Auto start")] = { + menu["< Back"] = back; + menu[/*LANG*/"Auto start"] = { value: !!s.autoStart, onchange: save("autoStart"), }; - menu[translate("Simple button")] = { + menu[/*LANG*/"Simple button"] = { value: !!s.simpleButton, onchange: save("simpleButton"), };