minor extra language translations

pull/1318/head
Gordon Williams 2022-01-19 11:49:59 +00:00
parent bb8c291755
commit e56d75eb88
3 changed files with 8 additions and 8 deletions

View File

@ -280,7 +280,7 @@ function showMessage(msgid) {
showMessageSettings(msg);
}},
{ type:"v", fillx:1, c: [
{type:"txt", font:fontSmall, label:msg.src||"Message", bgCol:colBg, fillx:1, pad:2, halign:1 },
{type:"txt", font:fontSmall, label:msg.src||/*LANG*/"Message", bgCol:colBg, fillx:1, pad:2, halign:1 },
title?{type:"txt", font:titleFont, label:title, bgCol:colBg, fillx:1, pad:2 }:{},
]},
]},

View File

@ -12,12 +12,12 @@
require('Storage').writeJSON("messages.settings.json", settings);
}
var vibPatterns = ["Off", ".", "-", "--", "-.-", "---"];
var vibPatterns = [/*LANG*/"Off", ".", "-", "--", "-.-", "---"];
var currentVib = settings().vibrate;
var mainmenu = {
"" : { "title" : "Messages" },
"" : { "title" : /*LANG*/"Messages" },
"< Back" : back,
'Vibrate': {
/*LANG*/'Vibrate': {
value: Math.max(0,vibPatterns.indexOf(settings().vibrate)),
min: 0, max: vibPatterns.length,
format: v => vibPatterns[v]||"Off",
@ -25,16 +25,16 @@
updateSetting("vibrate", vibPatterns[v]);
}
},
'Repeat': {
/*LANG*/'Repeat': {
value: settings().repeat,
min: 2, max: 10,
format: v => v+"s",
onchange: v => updateSetting("repeat", v)
},
'Unread timer': {
/*LANG*/'Unread timer': {
value: settings().unreadTimeout,
min: 0, max: 240, step : 10,
format: v => v?v+"s":"Off",
format: v => v?v+"s":/*LANG*/"Off",
onchange: v => updateSetting("unreadTimeout", v)
},
};

View File

@ -221,7 +221,7 @@ function showThemeMenu() {
m.draw();
}
var m = E.showMenu({
'':{title:'Theme'},
'':{title:/*LANG*/'Theme'},
'< Back': ()=>showSystemMenu(),
/*LANG*/'Dark BW': ()=>{
upd({