recorder - autotranslate more strings
parent
6522e0311d
commit
db38c19701
|
|
@ -23,3 +23,4 @@
|
||||||
0.17: Use default Bangle formatter for booleans
|
0.17: Use default Bangle formatter for booleans
|
||||||
0.18: Improve widget load speed, allow currently recording track to be plotted in openstmap
|
0.18: Improve widget load speed, allow currently recording track to be plotted in openstmap
|
||||||
0.19: Fix track plotting code
|
0.19: Fix track plotting code
|
||||||
|
0.20: Automatic translation of some more strings.
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ function showMainMenu() {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
E.showMenu();
|
E.showMenu();
|
||||||
WIDGETS["recorder"].setRecording(v).then(function() {
|
WIDGETS["recorder"].setRecording(v).then(function() {
|
||||||
print("Complete");
|
print(/*LANG*/"Complete");
|
||||||
loadSettings();
|
loadSettings();
|
||||||
print(settings.recording);
|
print(settings.recording);
|
||||||
showMainMenu();
|
showMainMenu();
|
||||||
|
|
@ -96,7 +96,7 @@ function showMainMenu() {
|
||||||
};
|
};
|
||||||
var recorders = WIDGETS["recorder"].getRecorders();
|
var recorders = WIDGETS["recorder"].getRecorders();
|
||||||
Object.keys(recorders).forEach(id=>{
|
Object.keys(recorders).forEach(id=>{
|
||||||
mainmenu["Log "+recorders[id]().name] = menuRecord(id);
|
mainmenu[/*LANG*/"Log "+recorders[id]().name] = menuRecord(id);
|
||||||
});
|
});
|
||||||
delete recorders;
|
delete recorders;
|
||||||
return E.showMenu(mainmenu);
|
return E.showMenu(mainmenu);
|
||||||
|
|
@ -404,7 +404,7 @@ function viewTrack(filename, info) {
|
||||||
title: title,
|
title: title,
|
||||||
miny: min,
|
miny: min,
|
||||||
maxy: max,
|
maxy: max,
|
||||||
xlabel : x=>Math.round(x*dur/(60*infn.length))+" min" // minutes
|
xlabel : x=>Math.round(x*dur/(60*infn.length))+/*LANG*/" min" // minutes
|
||||||
});
|
});
|
||||||
g.setFont("6x8",2);
|
g.setFont("6x8",2);
|
||||||
g.setFontAlign(0,0,3);
|
g.setFontAlign(0,0,3);
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "recorder",
|
"id": "recorder",
|
||||||
"name": "Recorder",
|
"name": "Recorder",
|
||||||
"shortName": "Recorder",
|
"shortName": "Recorder",
|
||||||
"version": "0.19",
|
"version": "0.20",
|
||||||
"description": "Record GPS position, heart rate and more in the background, then download to your PC.",
|
"description": "Record GPS position, heart rate and more in the background, then download to your PC.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "tool,outdoors,gps,widget",
|
"tags": "tool,outdoors,gps,widget",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue