android - autotranslate some strings
parent
7a236dd9d3
commit
67071d3722
|
|
@ -17,3 +17,4 @@
|
||||||
0.17: Now kick off Calendar sync as soon as connected to Gadgetbridge
|
0.17: Now kick off Calendar sync as soon as connected to Gadgetbridge
|
||||||
0.18: Use new message library
|
0.18: Use new message library
|
||||||
If connected to Gadgetbridge, allow GPS forwarding from phone (Gadgetbridge code still not merged)
|
If connected to Gadgetbridge, allow GPS forwarding from phone (Gadgetbridge code still not merged)
|
||||||
|
0.19: Add automatic translation for a couple of strings.
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@
|
||||||
t:event.cmd=="incoming"?"add":"remove",
|
t:event.cmd=="incoming"?"add":"remove",
|
||||||
id:"call", src:"Phone",
|
id:"call", src:"Phone",
|
||||||
positive:true, negative:true,
|
positive:true, negative:true,
|
||||||
title:event.name||"Call", body:"Incoming call\n"+event.number});
|
title:event.name||/*LANG*/"Call", body:/*LANG*/"Incoming call\n"+event.number});
|
||||||
require("messages").pushMessage(event);
|
require("messages").pushMessage(event);
|
||||||
},
|
},
|
||||||
"alarm" : function() {
|
"alarm" : function() {
|
||||||
|
|
@ -148,7 +148,7 @@
|
||||||
Bangle.http = (url,options)=>{
|
Bangle.http = (url,options)=>{
|
||||||
options = options||{};
|
options = options||{};
|
||||||
if (!NRF.getSecurityStatus().connected)
|
if (!NRF.getSecurityStatus().connected)
|
||||||
return Promise.reject("Not connected to Bluetooth");
|
return Promise.reject(/*LANG*/"Not connected to Bluetooth");
|
||||||
if (Bangle.httpRequest === undefined)
|
if (Bangle.httpRequest === undefined)
|
||||||
Bangle.httpRequest={};
|
Bangle.httpRequest={};
|
||||||
if (options.id === undefined) {
|
if (options.id === undefined) {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "android",
|
"id": "android",
|
||||||
"name": "Android Integration",
|
"name": "Android Integration",
|
||||||
"shortName": "Android",
|
"shortName": "Android",
|
||||||
"version": "0.18",
|
"version": "0.19",
|
||||||
"description": "Display notifications/music/etc sent from the Gadgetbridge app on Android. This replaces the old 'Gadgetbridge' Bangle.js widget.",
|
"description": "Display notifications/music/etc sent from the Gadgetbridge app on Android. This replaces the old 'Gadgetbridge' Bangle.js widget.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "tool,system,messages,notifications,gadgetbridge",
|
"tags": "tool,system,messages,notifications,gadgetbridge",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue