Fix translation

pull/2442/head
Marco H 2023-01-04 08:15:41 +01:00
parent 5707962f62
commit 6358325ec4
1 changed files with 2 additions and 2 deletions

View File

@ -104,8 +104,8 @@ function handleStepGoalNotification() {
const now = new Date(Date.now()).toISOString().split('T')[0]; // yyyy-mm-dd
if (!settings.stepGoalNotificationDate || settings.stepGoalNotificationDate < now) { // notification not yet shown today?
Bangle.buzz(200, 0.5);
/*LANG*/E.showPrompt("You reached your daily goal of " + settings.stepGoal + " steps!", {
/*LANG*/title: "Step goal reached!",
E.showPrompt(/*LANG*/"You reached your daily goal of " + settings.stepGoal + " steps!", {
title: /*LANG*/"Step goal reached!",
buttons: { "Ok": 1}
}).then(function (v) {
load();