We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d7d60e commit e025391Copy full SHA for e025391
apps/alarm/alarm.js
@@ -22,9 +22,10 @@ function showAlarm(alarm) {
22
var buzzCount = 10;
23
if (alarm.msg)
24
msg += "\n"+alarm.msg;
25
+ const ok = locale.translate("Ok");
26
E.showPrompt(msg,{
27
title:"ALARM!"/*LANG*/,
- buttons : {"Sleep"/*LANG*/:true,locale.translate("Ok"):false} // default is sleep so it'll come back in 10 mins
28
+ buttons : {"Sleep"/*LANG*/:true,ok:false} // default is sleep so it'll come back in 10 mins
29
}).then(function(sleep) {
30
buzzCount = 0;
31
if (sleep) {
0 commit comments