From 4bd3900d9ca157b46d717f46baa1686ee223b37f Mon Sep 17 00:00:00 2001 From: Randy Ramos Date: Thu, 3 Aug 2017 16:59:22 -0400 Subject: [PATCH] Changed "http" to "https" on API URLs and related sites --- README.md | 2 +- data/metadata.json.in | 2 +- data/weather-settings.ui | 12 ++++++------ gnome-shell-extension-openweather.spec | 4 ++-- po/ar.po | 4 ++-- po/bg.po | 4 ++-- po/ca.po | 4 ++-- po/cs.po | 4 ++-- po/da.po | 2 +- po/de.po | 4 ++-- po/el.po | 2 +- po/es.po | 4 ++-- po/eu.po | 4 ++-- po/fi.po | 2 +- po/fr.po | 2 +- po/gnome-shell-extension-openweather.pot | 2 +- po/he.po | 2 +- po/hu.po | 4 ++-- po/id.po | 2 +- po/it.po | 2 +- po/ja.po | 2 +- po/lt.po | 2 +- po/nb.po | 2 +- po/nl.po | 2 +- po/pl.po | 4 ++-- po/pt.po | 4 ++-- po/pt_BR.po | 4 ++-- po/ro.po | 2 +- po/ru.po | 4 ++-- po/sk.po | 4 ++-- po/sr.po | 2 +- po/sr@latin.po | 2 +- po/sv.po | 2 +- po/uk.po | 2 +- po/vi.po | 2 +- po/zh_CN.po | 4 ++-- po/zh_TW.po | 4 ++-- src/extension.js | 2 +- src/openweathermap_org.js | 2 +- 39 files changed, 60 insertions(+), 60 deletions(-) diff --git a/README.md b/README.md index 43c8d3e..d37eb02 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ Launch *gnome-shell-extension-prefs* (reachable also through the *OpenWeather Se You can also use *dconf-editor* or *gsettings* to configure the extension through the command line. -On [OpenWeatherMap](https://openweathermap.org/) you can either use the extensions default-key or register to get a [personal API key](http://openweathermap.org/appid). This key has to be added in the preferences dialog. Don't forget to switch the a appropriate switch in the dialog to "off" in this case. +On [OpenWeatherMap](https://openweathermap.org/) you can either use the extensions default-key or register to get a [personal API key](https://openweathermap.org/appid). This key has to be added in the preferences dialog. Don't forget to switch the a appropriate switch in the dialog to "off" in this case. To use [Dark Sky](https://darksky.net) you also need to [register](https://darksky.net/dev/register) and get an API key. With this key you can make 1000 requests per day for free. This should be enough for this extension in any normal use case. Do not add billing information, otherwise you might have to pay for the weather-data if something went wrong ! diff --git a/data/metadata.json.in b/data/metadata.json.in index d75de18..c7e6129 100644 --- a/data/metadata.json.in +++ b/data/metadata.json.in @@ -1,7 +1,7 @@ { "uuid": "@uuid@", "name": "OpenWeather", -"description": "Weather extension to display weather information from https://openweathermap.org/ or https://darksky.net for almost all locations in the world.\nFor openweathermap.org, you can either use the extensions default-key or register at http://openweathermap.org/appid and set the appropriate switch in the preferences dialog to \"off\".\nFor Dark Sky you have to register at https://darksky.net/dev/register and get a personal API-key.\n\nSince version 29 this extensions uses coordinates to store the locations and makes the names editable to support multiple weather-providers!\nIf you update from versions prior to 29 to 29 or greater (with darksky.net - support) you have to recreate your locations.", +"description": "Weather extension to display weather information from https://openweathermap.org/ or https://darksky.net for almost all locations in the world.\nFor openweathermap.org, you can either use the extensions default-key or register at https://openweathermap.org/appid and set the appropriate switch in the preferences dialog to \"off\".\nFor Dark Sky you have to register at https://darksky.net/dev/register and get a personal API-key.\n\nSince version 29 this extensions uses coordinates to store the locations and makes the names editable to support multiple weather-providers!\nIf you update from versions prior to 29 to 29 or greater (with darksky.net - support) you have to recreate your locations.", "shell-version": [ "3.14", "3.16", "3.18", "3.20", "3.22", "3.24" ], "localedir": "@LOCALEDIR@", "url": "@url@", diff --git a/data/weather-settings.ui b/data/weather-settings.ui index 2e5945e..2dfad90 100644 --- a/data/weather-settings.ui +++ b/data/weather-settings.ui @@ -91,8 +91,8 @@ 5 Extensions default weather provider - http://openweathermap.org - http://darksky.net + https://openweathermap.org + https://darksky.net @@ -259,8 +259,8 @@ 0 Extensions default weather provider - http://openweathermap.org - http://darksky.net + https://openweathermap.org + https://darksky.net @@ -490,8 +490,8 @@ True False - http://openweathermap.org - http://darksky.net + https://openweathermap.org + https://darksky.net diff --git a/gnome-shell-extension-openweather.spec b/gnome-shell-extension-openweather.spec index 6f88910..bb5700b 100644 --- a/gnome-shell-extension-openweather.spec +++ b/gnome-shell-extension-openweather.spec @@ -24,7 +24,7 @@ Requires: gnome-shell >= 3.14.0 %description gnome-shell-extension-openweather is an extension to display weather information -from http://openweathermap.org/ or http://darksky.net for (almost) all locations +from https://openweathermap.org/ or https://darksky.net for (almost) all locations of the world in GNOME Shell. Be aware, that system-wide installed gnome-shell-extensions are disabled by default and have to be enable by the user(s), if they get installed the first @@ -188,5 +188,5 @@ fi * Sat Jul 25 2015 Jens Lody - 1-0.1.20150725.git377244c - Initial package for Fedora of the weather-extension fork using - http://openweathermap.org or http://forecast.io. + https://openweathermap.org or https://forecast.io. diff --git a/po/ar.po b/po/ar.po index faa9031..eb249a2 100644 --- a/po/ar.po +++ b/po/ar.po @@ -29,12 +29,12 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "لا يعمل openweathermap.org بدون مفتاح استخدام للخدمة.\n" "إما أن تختار استخدام مفتاح الامتداد المبدئي في نافذة التفضيلات أو تسجل في " -"http://openweathermap.org/appid و تلصق المفتاح الشخصي في نافذة التفضيلات." +"https://openweathermap.org/appid و تلصق المفتاح الشخصي في نافذة التفضيلات." #: src/extension.js:442 msgid "" diff --git a/po/bg.po b/po/bg.po index 9f27bda..e74e71a 100644 --- a/po/bg.po +++ b/po/bg.po @@ -28,12 +28,12 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Оpenweathermap.org изисква API ключ.\n" "Конфигурирайте да разширението да използва ключа по подразбиране, или се " -"регистрирайте на http://openweathermap.org/appid и поставете своя персонален " +"регистрирайте на https://openweathermap.org/appid и поставете своя персонален " "ключ в конфигурацията." #: src/extension.js:442 diff --git a/po/ca.po b/po/ca.po index f867099..b3f906e 100644 --- a/po/ca.po +++ b/po/ca.po @@ -27,12 +27,12 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org no funciona sense una clau API.\n" "Utilitza la clau per defecte de l'extensió al diàleg de preferències o " -"registra't a http://openweahermap.org/appid i enganxa la teva clau personal " +"registra't a https://openweahermap.org/appid i enganxa la teva clau personal " "al diàleg de preferències." #: src/extension.js:442 diff --git a/po/cs.po b/po/cs.po index 8dad167..3f1950e 100644 --- a/po/cs.po +++ b/po/cs.po @@ -30,12 +30,12 @@ msgstr "…" msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Zdroj Openweathermap.org nefunguje bez API klíče.\n" "Buď zapněte v nastavení přepínač pro výchozí klíč rozšíření, nebo se " -"registrujte na http://openweathermap.org/appid a vložte váš osobní klíč do " +"registrujte na https://openweathermap.org/appid a vložte váš osobní klíč do " "příslušného pole v dialogu nastavení." #: src/extension.js:442 diff --git a/po/da.po b/po/da.po index d0a0ac9..14b7275 100644 --- a/po/da.po +++ b/po/da.po @@ -26,7 +26,7 @@ msgstr "" msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/de.po b/po/de.po index 2601153..9728620 100644 --- a/po/de.po +++ b/po/de.po @@ -27,12 +27,12 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org kann nicht ohne einen api-key genutzt werden.\n" "Entweder den Schalter zur Benutzung des Standard API-keys in Einstellungs-" -"Dialog auf an schalten oder auf http://openweathermap.org/appid anmelden und " +"Dialog auf an schalten oder auf https://openweathermap.org/appid anmelden und " "den persönlichen Schlüssel in den Dialog kopieren." #: src/extension.js:442 diff --git a/po/el.po b/po/el.po index 2b9a3db..b7a0af2 100644 --- a/po/el.po +++ b/po/el.po @@ -26,7 +26,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/es.po b/po/es.po index b04a5f7..967dc7f 100644 --- a/po/es.po +++ b/po/es.po @@ -28,12 +28,12 @@ msgstr "…" msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org no funcionará sin una clave de API.\n" "Active la opción para usar la clave predeterminada de la extensión, o bien, " -"regístrese en http://openweathermap.org/appid y pegue su clave personal en " +"regístrese en https://openweathermap.org/appid y pegue su clave personal en " "la ventana de preferencias." #: src/extension.js:442 diff --git a/po/eu.po b/po/eu.po index 207431f..1a0fe22 100644 --- a/po/eu.po +++ b/po/eu.po @@ -27,12 +27,12 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org ez dabil API gakorik ez baduzu.\n" "Ezarri hedapenaren gako lehenetsia hobespenen leihoan edo erregistratu " -"http://openweathermap.org/appid gunean eta itsatsi bertako zure gako " +"https://openweathermap.org/appid gunean eta itsatsi bertako zure gako " "pertsonala hobespenen leihoan." #: src/extension.js:442 diff --git a/po/fi.po b/po/fi.po index 0436bf1..9d76c08 100644 --- a/po/fi.po +++ b/po/fi.po @@ -28,7 +28,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/fr.po b/po/fr.po index ff7726c..cf4ec7e 100644 --- a/po/fr.po +++ b/po/fr.po @@ -30,7 +30,7 @@ msgstr "…" msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org ne fonctionne pas sans une clef d’API.\n" diff --git a/po/gnome-shell-extension-openweather.pot b/po/gnome-shell-extension-openweather.pot index bc60c1b..4aa25bd 100644 --- a/po/gnome-shell-extension-openweather.pot +++ b/po/gnome-shell-extension-openweather.pot @@ -27,7 +27,7 @@ msgstr "" msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/he.po b/po/he.po index 04d92a5..774c174 100644 --- a/po/he.po +++ b/po/he.po @@ -28,7 +28,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/hu.po b/po/hu.po index 3c07553..a6768b5 100644 --- a/po/hu.po +++ b/po/hu.po @@ -27,12 +27,12 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Az Openweathermap.org nem működik api-kulcs nélkül.\n" "Vagy az alkalmazás beépített api-kulcsának használatát kapcsolja be a " -"beállításokban, vagy regisztráljon az http://openweathermap.org/appid " +"beállításokban, vagy regisztráljon az https://openweathermap.org/appid " "oldalon és másolja be a személyes kulcsát." #: src/extension.js:442 diff --git a/po/id.po b/po/id.po index 9c947a3..2d08055 100644 --- a/po/id.po +++ b/po/id.po @@ -27,7 +27,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/it.po b/po/it.po index 0fccdd2..520a6f0 100644 --- a/po/it.po +++ b/po/it.po @@ -27,7 +27,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org non funziona senza una API key. \n" diff --git a/po/ja.po b/po/ja.po index cd11f84..a89dbc3 100644 --- a/po/ja.po +++ b/po/ja.po @@ -29,7 +29,7 @@ msgstr "" msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/lt.po b/po/lt.po index 46400c4..147d06e 100644 --- a/po/lt.po +++ b/po/lt.po @@ -27,7 +27,7 @@ msgstr "" msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/nb.po b/po/nb.po index 7fad8bd..5d2e857 100644 --- a/po/nb.po +++ b/po/nb.po @@ -25,7 +25,7 @@ msgstr "…" msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/nl.po b/po/nl.po index a1a07d0..79509b5 100644 --- a/po/nl.po +++ b/po/nl.po @@ -27,7 +27,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org werkt niet zonder een api-key.\n" diff --git a/po/pl.po b/po/pl.po index de4b1e5..313747b 100644 --- a/po/pl.po +++ b/po/pl.po @@ -31,12 +31,12 @@ msgstr "…" msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Serwis openweathermap.org nie działa bez klucza API.\n" "Proszę włączyć używanie domyślnego klucza rozszerzenia w oknie preferencji " -"lub zarejestrować się na stronie http://openweathermap.org/appid i wkleić " +"lub zarejestrować się na stronie https://openweathermap.org/appid i wkleić " "osobisty klucz w oknie preferencji." #: src/extension.js:442 diff --git a/po/pt.po b/po/pt.po index f738d6e..27e10e1 100644 --- a/po/pt.po +++ b/po/pt.po @@ -29,12 +29,12 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org não funciona sem uma chave de API.\n" "Ligue a opção para usar a chave padrão de extensões nas preferências ou " -"registe-se em http://openweathermap.org/appid e copie a sua chave pessoal " +"registe-se em https://openweathermap.org/appid e copie a sua chave pessoal " "para as configurações." #: src/extension.js:442 diff --git a/po/pt_BR.po b/po/pt_BR.po index 7fcd1dd..8565f2e 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -29,12 +29,12 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org não funciona sem uma api-key.\n" "Ou configure para usar a chave padrão da extensões nas preferências ou " -"registar-se em http://openweathermap.org/appid e cole sua chave pessoal na " +"registar-se em https://openweathermap.org/appid e cole sua chave pessoal na " "tela de preferências." #: src/extension.js:442 diff --git a/po/ro.po b/po/ro.po index 691d61c..421b8f3 100644 --- a/po/ro.po +++ b/po/ro.po @@ -31,7 +31,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/ru.po b/po/ru.po index 0b4df7f..dc167e2 100644 --- a/po/ru.po +++ b/po/ru.po @@ -31,12 +31,12 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org не работает без API ключа.\n" "В диалоге настроек либо включите использование ключа дополнения, либо " -"зарегистрируйтесь на http://openweathermap.org/appid и вставьте персональный " +"зарегистрируйтесь на https://openweathermap.org/appid и вставьте персональный " "ключ в диалоге настроек." #: src/extension.js:442 diff --git a/po/sk.po b/po/sk.po index f7c7877..1bb866a 100644 --- a/po/sk.po +++ b/po/sk.po @@ -27,12 +27,12 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Služba openweathermap.org nefunguje bez kľúča api-key.\n" "Buď zapnite prepínač v nastaveniach na použitie predvoleného kľúča " -"rozšírenia, alebo sa zaregistrujte na adrese http://openweathermap.org/appid " +"rozšírenia, alebo sa zaregistrujte na adrese https://openweathermap.org/appid " "a vložte váš súkromný kľúč do dialógového okna nastavení." #: src/extension.js:442 diff --git a/po/sr.po b/po/sr.po index 88de8a3..2f963cd 100644 --- a/po/sr.po +++ b/po/sr.po @@ -28,7 +28,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/sr@latin.po b/po/sr@latin.po index a1a686b..3b961d6 100644 --- a/po/sr@latin.po +++ b/po/sr@latin.po @@ -28,7 +28,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/sv.po b/po/sv.po index 29633f1..8f00cb4 100644 --- a/po/sv.po +++ b/po/sv.po @@ -25,7 +25,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/uk.po b/po/uk.po index 1759476..89998d6 100644 --- a/po/uk.po +++ b/po/uk.po @@ -25,7 +25,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/vi.po b/po/vi.po index cd87314..e2b4acf 100644 --- a/po/vi.po +++ b/po/vi.po @@ -26,7 +26,7 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index 28ba9dd..4bad783 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -30,11 +30,11 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org 在没有 API 密钥的情况下无法工作。\n" -"请开启使用扩展的默认密钥,或者到 http://openweathermap.org/appid 注册,并将您" +"请开启使用扩展的默认密钥,或者到 https://openweathermap.org/appid 注册,并将您" "的个人密钥粘贴到选项对话框中。" #: src/extension.js:442 diff --git a/po/zh_TW.po b/po/zh_TW.po index d55dbb7..39ba4a8 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -29,11 +29,11 @@ msgstr "..." msgid "" "Openweathermap.org does not work without an api-key.\n" "Either set the switch to use the extensions default key in the preferences " -"dialog to on or register at http://openweathermap.org/appid and paste your " +"dialog to on or register at https://openweathermap.org/appid and paste your " "personal key into the preferences dialog." msgstr "" "Openweathermap.org 在沒有 API 密鑰的情況下無法工作。\n" -"請開啓使用擴展的默認密鑰,或者到 http://openweathermap.org/appid 註冊,並將您" +"請開啓使用擴展的默認密鑰,或者到 https://openweathermap.org/appid 註冊,並將您" "的個人密鑰粘貼到選項對話框中。" #: src/extension.js:442 diff --git a/src/extension.js b/src/extension.js index 67befa3..f8ece4a 100644 --- a/src/extension.js +++ b/src/extension.js @@ -387,7 +387,7 @@ const OpenweatherMenuButton = new Lang.Class({ this.weatherProvider = "OpenWeatherMap"; if (this._appid.toString().trim() === '') - Main.notify("Openweather", _("Openweathermap.org does not work without an api-key.\nEither set the switch to use the extensions default key in the preferences dialog to on or register at http://openweathermap.org/appid and paste your personal key into the preferences dialog.")); + Main.notify("Openweather", _("Openweathermap.org does not work without an api-key.\nEither set the switch to use the extensions default key in the preferences dialog to on or register at https://openweathermap.org/appid and paste your personal key into the preferences dialog.")); }, diff --git a/src/openweathermap_org.js b/src/openweathermap_org.js index 3087941..0fc844f 100644 --- a/src/openweathermap_org.js +++ b/src/openweathermap_org.js @@ -45,7 +45,7 @@ const _ = Gettext.gettext; const ngettext = Gettext.ngettext; const OPENWEATHER_URL_HOST = 'api.openweathermap.org'; -const OPENWEATHER_URL_BASE = 'http://' + OPENWEATHER_URL_HOST + '/data/2.5/'; +const OPENWEATHER_URL_BASE = 'https://' + OPENWEATHER_URL_HOST + '/data/2.5/'; const OPENWEATHER_URL_CURRENT = OPENWEATHER_URL_BASE + 'weather'; const OPENWEATHER_URL_FORECAST = OPENWEATHER_URL_BASE + 'forecast/daily';