Skip to content

Commit 312d6f1

Browse files
authored
Update weather-cal.js
1 parent fdc523b commit 312d6f1

1 file changed

Lines changed: 10 additions & 13 deletions

File tree

‎weather-cal.js‎

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Variables used by Scriptable.
2-
// These must be at the very top of the file. Do not edit.
3-
// icon-color: pink; icon-glyph: magic;
41
/*
52
* SETUP
63
* Use this section to set up the widget.
@@ -14,7 +11,7 @@ const apiKey = ""
1411
const lockLocation = true
1512

1613
// Set to imperial for Fahrenheit, or metric for Celsius
17-
const units = "metric"
14+
const units = "imperial"
1815

1916
// The size of the widget preview in the app.
2017
const widgetPreview = "large"
@@ -26,17 +23,17 @@ const imageBackground = true
2623
const forceImageUpdate = false
2724

2825
// Set locale and locale strings
29-
const locale = "pt"
26+
const locale = "en"
3027

3128
const localeString = {
3229

33-
"goodnightStr" : function() { return "Boa noite." },
34-
"goodmorningStr" : function() { return "Bom dia." },
35-
    "goodafternoonStr" : function() { return "Boa tarde." },
36-
    "goodeveningStr" : function() { return "Boa tarde." },
37-
    "nexthourStr" : function() { return "Próxima hora" },
38-
    "tomorrowStr" : function() { return "Amanhã" },
39-
"noEventMessage" : function() {return "Aproveite o resto do dia." }
30+
"goodnightStr" : function() { return "Good night." },
31+
"goodmorningStr" : function() { return "Good morning." },
32+
    "goodafternoonStr" : function() { return "Good afternoon." },
33+
    "goodeveningStr" : function() { return "Good evening." },
34+
    "nexthourStr" : function() { return "Next hour" },
35+
    "tomorrowStr" : function() { return "Tomorrow" },
36+
"noEventMessage" : function() {return "Enjoy the rest of your day." }
4037

4138
}
4239

@@ -900,4 +897,4 @@ function center(x) { currentAlignment = alignCenter }
900897
// This function doesn't need to do anything.
901898
function end(x) { return }
902899

903-
Script.complete()
900+
Script.complete()

0 commit comments

Comments
 (0)