From 180a7bc7ec547029950c5f1ec6d820876c4534e0 Mon Sep 17 00:00:00 2001 From: Balint Erdosi Date: Tue, 22 Dec 2020 00:58:53 +0100 Subject: [PATCH] sync Signed-off-by: Balint Erdosi --- AUTHORS.md | 2 +- appinfo/database.xml | 55 ------------- appinfo/info.xml | 4 +- js/admin.js | 2 +- l10n/ca.js | 2 +- l10n/ca.json | 2 +- l10n/de.js | 4 +- l10n/de.json | 4 +- l10n/de_DE.js | 6 +- l10n/de_DE.json | 6 +- l10n/fi.js | 5 +- l10n/fi.json | 5 +- l10n/mk.js | 44 ++++++++++- l10n/mk.json | 44 ++++++++++- l10n/sl.js | 5 ++ l10n/sl.json | 5 ++ l10n/sv.js | 6 ++ l10n/sv.json | 6 ++ .../Version010703Date20201101235744.php | 78 +++++++++++++++++++ 19 files changed, 210 insertions(+), 75 deletions(-) delete mode 100755 appinfo/database.xml create mode 100644 lib/Migration/Version010703Date20201101235744.php diff --git a/AUTHORS.md b/AUTHORS.md index 0e57606..9aec29b 100755 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -1,4 +1,4 @@ # Authors * Loic Blot: - +* e-alfred diff --git a/appinfo/database.xml b/appinfo/database.xml deleted file mode 100755 index 33c2458..0000000 --- a/appinfo/database.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - *dbname* - true - false - utf8 - - *dbprefix*weather_city - - - id - integer - true - 10 - 1 - true - - - name - text - true - 255 - - - user_id - text - true - 255 - - -
- - *dbprefix*weather_config - - - user - text - true - 255 - - - key - text - true - 255 - - - value - text - false - 10240 - - -
-
diff --git a/appinfo/info.xml b/appinfo/info.xml index 218e7bc..c142a10 100755 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -4,14 +4,14 @@ weather Weather Watch the weather directly on your Nextcloud. - 1.7.3 + 1.7.4 AGPL Loic Blot tools https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png - + https://github.com/nextcloud/weather https://github.com/nextcloud/weather/issues diff --git a/js/admin.js b/js/admin.js index 975cbf9..5d57466 100755 --- a/js/admin.js +++ b/js/admin.js @@ -48,6 +48,6 @@ } })(); -$(document).ready(function() { +window.addEventListener('DOMContentLoaded', function () { OCA.Weather.Admin.initialize(); }); diff --git a/l10n/ca.js b/l10n/ca.js index efced6a..b2e2289 100755 --- a/l10n/ca.js +++ b/l10n/ca.js @@ -15,7 +15,7 @@ OC.L10N.register( "North-West" : "Nord-oest", "Failed to get city weather informations. Please contact your administrator" : "No s'ha pogut obtenir la informació del temps de la ciutat. Poseu-vos en contacte amb l'administrador.", "No city with this name found." : "No s'ha trobat cap ciutat amb aquest nom.", - "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "La vostra clau de l'API d'OpenWeatherMap no és vàlida. Poseu-vos en contacte amb l'administrador per a configurar una clau vàlida a la secció Paràmetres addicionals a Administració.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "La vostra clau de l'API d'OpenWeatherMap no és vàlida. Poseu-vos en contacte amb l'administrador per a configurar una clau vàlida a la secció «Paràmetres addicionals» a «Administració».", "Empty city name!" : "El nom de la ciutat està buit!", "Failed to add city. Please contact your administrator" : "No s'ha pogut afegir la ciutat. Poseu-vos en contacte amb l'administrador.", "This city is already registered for your account." : "Ja heu registrat aquesta ciutat en el vostre compte.", diff --git a/l10n/ca.json b/l10n/ca.json index 4dca89e..33086a9 100755 --- a/l10n/ca.json +++ b/l10n/ca.json @@ -13,7 +13,7 @@ "North-West" : "Nord-oest", "Failed to get city weather informations. Please contact your administrator" : "No s'ha pogut obtenir la informació del temps de la ciutat. Poseu-vos en contacte amb l'administrador.", "No city with this name found." : "No s'ha trobat cap ciutat amb aquest nom.", - "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "La vostra clau de l'API d'OpenWeatherMap no és vàlida. Poseu-vos en contacte amb l'administrador per a configurar una clau vàlida a la secció Paràmetres addicionals a Administració.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "La vostra clau de l'API d'OpenWeatherMap no és vàlida. Poseu-vos en contacte amb l'administrador per a configurar una clau vàlida a la secció «Paràmetres addicionals» a «Administració».", "Empty city name!" : "El nom de la ciutat està buit!", "Failed to add city. Please contact your administrator" : "No s'ha pogut afegir la ciutat. Poseu-vos en contacte amb l'administrador.", "This city is already registered for your account." : "Ja heu registrat aquesta ciutat en el vostre compte.", diff --git a/l10n/de.js b/l10n/de.js index 82abf3d..e3831d9 100755 --- a/l10n/de.js +++ b/l10n/de.js @@ -29,8 +29,8 @@ OC.L10N.register( "Saturday" : "Samstag", "Sunday" : "Sonntag", "Watch the weather directly on your Nextcloud." : "Sieh den Wetterbericht direkt in Deiner Nextcloud", - "Please make sure you select cities in the Weather app." : "Bitte sicherstellen dass Du Städte in der Wetter-App ausgewählt hast.", - "Please make sure you select a home city in the Weather app." : "Bitte Sicherstellen, dass Du eine Heimatstadt in der Wetter-App ausgewählt hast.", + "Please make sure you select cities in the Weather app." : "Bitte sicherstellen, dass Du Städte in der Wetter-App ausgewählt hast.", + "Please make sure you select a home city in the Weather app." : "Bitte sicherstellen, dass Du eine Heimatstadt in der Wetter-App ausgewählt hast.", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel", "Save" : "Speichern", "Add a city" : "Eine Stadt hinzufügen", diff --git a/l10n/de.json b/l10n/de.json index fec36f5..60f5563 100755 --- a/l10n/de.json +++ b/l10n/de.json @@ -27,8 +27,8 @@ "Saturday" : "Samstag", "Sunday" : "Sonntag", "Watch the weather directly on your Nextcloud." : "Sieh den Wetterbericht direkt in Deiner Nextcloud", - "Please make sure you select cities in the Weather app." : "Bitte sicherstellen dass Du Städte in der Wetter-App ausgewählt hast.", - "Please make sure you select a home city in the Weather app." : "Bitte Sicherstellen, dass Du eine Heimatstadt in der Wetter-App ausgewählt hast.", + "Please make sure you select cities in the Weather app." : "Bitte sicherstellen, dass Du Städte in der Wetter-App ausgewählt hast.", + "Please make sure you select a home city in the Weather app." : "Bitte sicherstellen, dass Du eine Heimatstadt in der Wetter-App ausgewählt hast.", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel", "Save" : "Speichern", "Add a city" : "Eine Stadt hinzufügen", diff --git a/l10n/de_DE.js b/l10n/de_DE.js index 7d9947c..0b46262 100755 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -18,7 +18,7 @@ OC.L10N.register( "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Ihr OpenWeatherMap-API-Schlüssel ist ungültig. Bitten Sie Ihren Administrator, einen gültigen API-Schlüssel unter Einstellungen / Zusätzliche Einstellungen zu konfigurieren", "Empty city name!" : "Leerer Städtename!", "Failed to add city. Please contact your administrator" : "Konnte Stadt nicht hinzufügen. Bitte kontaktieren Sie den Administrator", - "This city is already registered for your account." : "Diese Stadt ist bereits für Ihre Konto registriert.", + "This city is already registered for your account." : "Diese Stadt ist bereits für Ihr Konto registriert.", "Failed to remove city. Please contact your administrator" : "Konnte Stadt nicht löschen. Bitte kontaktieren Sie den Administrator", "Failed to set home. Please contact your administrator" : "Konnte Zuhause nicht setzen. Bitte kontaktieren Sie den Administrator", "Monday" : "Montag", @@ -29,8 +29,8 @@ OC.L10N.register( "Saturday" : "Samstag", "Sunday" : "Sonntag", "Watch the weather directly on your Nextcloud." : "Sehen Sie den Wetterbericht direkt in Ihrer Nextcloud", - "Please make sure you select cities in the Weather app." : "Bitte sicherstellen dass Sie Städte in der Wetter-App ausgewählt haben.", - "Please make sure you select a home city in the Weather app." : "Bitte Sicherstellen, dass Sie eine Heimatstadt in der Wetter-App ausgewählt haben.", + "Please make sure you select cities in the Weather app." : "Bitte sicherstellen, dass Sie Städte in der Wetter-App ausgewählt haben.", + "Please make sure you select a home city in the Weather app." : "Bitte sicherstellen, dass Sie eine Heimatstadt in der Wetter-App ausgewählt haben.", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel", "Save" : "Speichern", "Add a city" : "Eine Stadt hinzufügen", diff --git a/l10n/de_DE.json b/l10n/de_DE.json index 1e2e385..2796e87 100755 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -16,7 +16,7 @@ "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Ihr OpenWeatherMap-API-Schlüssel ist ungültig. Bitten Sie Ihren Administrator, einen gültigen API-Schlüssel unter Einstellungen / Zusätzliche Einstellungen zu konfigurieren", "Empty city name!" : "Leerer Städtename!", "Failed to add city. Please contact your administrator" : "Konnte Stadt nicht hinzufügen. Bitte kontaktieren Sie den Administrator", - "This city is already registered for your account." : "Diese Stadt ist bereits für Ihre Konto registriert.", + "This city is already registered for your account." : "Diese Stadt ist bereits für Ihr Konto registriert.", "Failed to remove city. Please contact your administrator" : "Konnte Stadt nicht löschen. Bitte kontaktieren Sie den Administrator", "Failed to set home. Please contact your administrator" : "Konnte Zuhause nicht setzen. Bitte kontaktieren Sie den Administrator", "Monday" : "Montag", @@ -27,8 +27,8 @@ "Saturday" : "Samstag", "Sunday" : "Sonntag", "Watch the weather directly on your Nextcloud." : "Sehen Sie den Wetterbericht direkt in Ihrer Nextcloud", - "Please make sure you select cities in the Weather app." : "Bitte sicherstellen dass Sie Städte in der Wetter-App ausgewählt haben.", - "Please make sure you select a home city in the Weather app." : "Bitte Sicherstellen, dass Sie eine Heimatstadt in der Wetter-App ausgewählt haben.", + "Please make sure you select cities in the Weather app." : "Bitte sicherstellen, dass Sie Städte in der Wetter-App ausgewählt haben.", + "Please make sure you select a home city in the Weather app." : "Bitte sicherstellen, dass Sie eine Heimatstadt in der Wetter-App ausgewählt haben.", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel", "Save" : "Speichern", "Add a city" : "Eine Stadt hinzufügen", diff --git a/l10n/fi.js b/l10n/fi.js index a38018f..6db6c0b 100755 --- a/l10n/fi.js +++ b/l10n/fi.js @@ -11,7 +11,9 @@ OC.L10N.register( "South-West" : "Lounas", "West" : "Länsi", "North-West" : "Luode", + "Failed to get city weather informations. Please contact your administrator" : "Kaupungin säätietojen haku epäonnistui. Ota yhteys ylläpitäjään", "No city with this name found." : "Tällä nimellä ei löytynyt kaupunkia.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "OpenWeatherMap API-avaimesi ei ole kelvollinen. Ota yhteys ylläpitäjään kelvollisen API-keyn asettamiseksi.", "Empty city name!" : "Tyhjä kaupungin nimi!", "Failed to add city. Please contact your administrator" : "Kaupungin lisääminen epäonnistui. Ota yhteyttä järjestelmänvalvojaan", "This city is already registered for your account." : "Tämä kaupunki on jo rekisteröity tilillesi.", @@ -24,6 +26,7 @@ OC.L10N.register( "Saturday" : "Lauantai", "Sunday" : "Sunnuntai", "Watch the weather directly on your Nextcloud." : "Seuraa säätä suoraan Nextcloudista.", + "Please make sure you select cities in the Weather app." : "Valitse kaupungit Weather-sovelluksessa.", "Please make sure you select a home city in the Weather app." : "Varmista että sääsovelluksessa on asetettu kotikaupunki.", "OpenWeatherMap API Key" : "OpenWeatherMapin API-avain", "Save" : "Tallenna", @@ -47,7 +50,7 @@ OC.L10N.register( "Sunset" : "Auringonlasku", "Date" : "Päiväys", "Perceptible Temperature" : "Aistittava lämpötila", - "Updating widget…" : "Päivitetään widgettiä…", + "Updating widget…" : "Päivitetään pienoissovellusta…", "Temperature" : "Lämpötila" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/fi.json b/l10n/fi.json index fc803e7..f505bdc 100755 --- a/l10n/fi.json +++ b/l10n/fi.json @@ -9,7 +9,9 @@ "South-West" : "Lounas", "West" : "Länsi", "North-West" : "Luode", + "Failed to get city weather informations. Please contact your administrator" : "Kaupungin säätietojen haku epäonnistui. Ota yhteys ylläpitäjään", "No city with this name found." : "Tällä nimellä ei löytynyt kaupunkia.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "OpenWeatherMap API-avaimesi ei ole kelvollinen. Ota yhteys ylläpitäjään kelvollisen API-keyn asettamiseksi.", "Empty city name!" : "Tyhjä kaupungin nimi!", "Failed to add city. Please contact your administrator" : "Kaupungin lisääminen epäonnistui. Ota yhteyttä järjestelmänvalvojaan", "This city is already registered for your account." : "Tämä kaupunki on jo rekisteröity tilillesi.", @@ -22,6 +24,7 @@ "Saturday" : "Lauantai", "Sunday" : "Sunnuntai", "Watch the weather directly on your Nextcloud." : "Seuraa säätä suoraan Nextcloudista.", + "Please make sure you select cities in the Weather app." : "Valitse kaupungit Weather-sovelluksessa.", "Please make sure you select a home city in the Weather app." : "Varmista että sääsovelluksessa on asetettu kotikaupunki.", "OpenWeatherMap API Key" : "OpenWeatherMapin API-avain", "Save" : "Tallenna", @@ -45,7 +48,7 @@ "Sunset" : "Auringonlasku", "Date" : "Päiväys", "Perceptible Temperature" : "Aistittava lämpötila", - "Updating widget…" : "Päivitetään widgettiä…", + "Updating widget…" : "Päivitetään pienoissovellusta…", "Temperature" : "Lämpötila" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/mk.js b/l10n/mk.js index aa034a0..4186ac7 100755 --- a/l10n/mk.js +++ b/l10n/mk.js @@ -1,6 +1,26 @@ OC.L10N.register( "weather", { + "Weather" : "Времето", + "Fatal Error: please check your nextcloud.log and send a bug report here: https://github.com/nextcloud/weather/issues" : "Фатална грешка: Проверете во nextcloud.log и испратете извештај на: https://github.com/nextcloud/weather/issues", + "Failed to set metric. Please contact your administrator" : "Неуспешно поставување на мерните единици. Контактирајте администратор", + "This metric is not known." : "Мерните еднини не се познати", + "North" : "Север", + "North-East" : "Североисток", + "East" : "Исток", + "South-East" : "Југоисток", + "South" : "Југ", + "South-West" : "Југозапад", + "West" : "Запад", + "North-West" : "Северозапад", + "Failed to get city weather informations. Please contact your administrator" : "Неуспешно преземање на информациите за временската прогноза. Контактирајте администратор", + "No city with this name found." : "Не е пронајден град со тоа име.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Вашиот OpenWeatherMap API клуч не е валиден. Контактирајте администратор за да постави валиден API клуч", + "Empty city name!" : "Името на градот е празно!", + "Failed to add city. Please contact your administrator" : "Неуспешно додавање на град. Контактирајте администратор", + "This city is already registered for your account." : "Градот е веќе додаден во вашата сметка.", + "Failed to remove city. Please contact your administrator" : "Неуспешно одстранување на град. Контактирајте администратор", + "Failed to set home. Please contact your administrator" : "Неуспешно поставување на домашна локација. Контактирајте администратор", "Monday" : "Понеделник", "Tuesday" : "Вторник", "Wednesday" : "Среда", @@ -8,10 +28,32 @@ OC.L10N.register( "Friday" : "Петок", "Saturday" : "Сабота", "Sunday" : "Недела", + "Watch the weather directly on your Nextcloud." : "Гледајте ја временската прогноза дирекно во вашата сметка.", + "Please make sure you select cities in the Weather app." : "Изберете градови во апликацијата.", + "Please make sure you select a home city in the Weather app." : "Поставете домашен град во апликацијата.", + "OpenWeatherMap API Key" : "OpenWeatherMap API клуч", "Save" : "Зачувај", + "Add a city" : "Додади град", + "Add city" : "Додади град", + "City name" : "Име на градот", "Add" : "Додади", "Cancel" : "Откажи", "Settings" : "Параметри", - "Date" : "Date" + "Metric" : "Мерни единици", + "Click here to get an API key" : "Кликни овде за да преземеш API клуч", + "Current Temperature" : "Моментална температура", + "Feelslike Temperature" : "Се чувствува како", + "Minimum Temperature" : "Минимална температура", + "Maximum Temperature" : "Максимална температура", + "Pressure" : "Притисок", + "Humidity" : "Влажност", + "Cloudiness" : "Облачност", + "Wind" : "Ветер", + "Sunrise" : "Изгрејсонце", + "Sunset" : "Зајдисонце", + "Date" : "Датум", + "Perceptible Temperature" : "Се осеќа", + "Updating widget…" : "Ажурирање на графичката контрола…", + "Temperature" : "Температура" }, "nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"); diff --git a/l10n/mk.json b/l10n/mk.json index 6a97cca..c583dc6 100755 --- a/l10n/mk.json +++ b/l10n/mk.json @@ -1,4 +1,24 @@ { "translations": { + "Weather" : "Времето", + "Fatal Error: please check your nextcloud.log and send a bug report here: https://github.com/nextcloud/weather/issues" : "Фатална грешка: Проверете во nextcloud.log и испратете извештај на: https://github.com/nextcloud/weather/issues", + "Failed to set metric. Please contact your administrator" : "Неуспешно поставување на мерните единици. Контактирајте администратор", + "This metric is not known." : "Мерните еднини не се познати", + "North" : "Север", + "North-East" : "Североисток", + "East" : "Исток", + "South-East" : "Југоисток", + "South" : "Југ", + "South-West" : "Југозапад", + "West" : "Запад", + "North-West" : "Северозапад", + "Failed to get city weather informations. Please contact your administrator" : "Неуспешно преземање на информациите за временската прогноза. Контактирајте администратор", + "No city with this name found." : "Не е пронајден град со тоа име.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Вашиот OpenWeatherMap API клуч не е валиден. Контактирајте администратор за да постави валиден API клуч", + "Empty city name!" : "Името на градот е празно!", + "Failed to add city. Please contact your administrator" : "Неуспешно додавање на град. Контактирајте администратор", + "This city is already registered for your account." : "Градот е веќе додаден во вашата сметка.", + "Failed to remove city. Please contact your administrator" : "Неуспешно одстранување на град. Контактирајте администратор", + "Failed to set home. Please contact your administrator" : "Неуспешно поставување на домашна локација. Контактирајте администратор", "Monday" : "Понеделник", "Tuesday" : "Вторник", "Wednesday" : "Среда", @@ -6,10 +26,32 @@ "Friday" : "Петок", "Saturday" : "Сабота", "Sunday" : "Недела", + "Watch the weather directly on your Nextcloud." : "Гледајте ја временската прогноза дирекно во вашата сметка.", + "Please make sure you select cities in the Weather app." : "Изберете градови во апликацијата.", + "Please make sure you select a home city in the Weather app." : "Поставете домашен град во апликацијата.", + "OpenWeatherMap API Key" : "OpenWeatherMap API клуч", "Save" : "Зачувај", + "Add a city" : "Додади град", + "Add city" : "Додади град", + "City name" : "Име на градот", "Add" : "Додади", "Cancel" : "Откажи", "Settings" : "Параметри", - "Date" : "Date" + "Metric" : "Мерни единици", + "Click here to get an API key" : "Кликни овде за да преземеш API клуч", + "Current Temperature" : "Моментална температура", + "Feelslike Temperature" : "Се чувствува како", + "Minimum Temperature" : "Минимална температура", + "Maximum Temperature" : "Максимална температура", + "Pressure" : "Притисок", + "Humidity" : "Влажност", + "Cloudiness" : "Облачност", + "Wind" : "Ветер", + "Sunrise" : "Изгрејсонце", + "Sunset" : "Зајдисонце", + "Date" : "Датум", + "Perceptible Temperature" : "Се осеќа", + "Updating widget…" : "Ажурирање на графичката контрола…", + "Temperature" : "Температура" },"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;" } \ No newline at end of file diff --git a/l10n/sl.js b/l10n/sl.js index 528dbe4..da357b9 100755 --- a/l10n/sl.js +++ b/l10n/sl.js @@ -41,6 +41,10 @@ OC.L10N.register( "Settings" : "Nastavitve", "Metric" : "Metrični prikaz", "Click here to get an API key" : "Klikni tukaj, da dobiš API ključ", + "Current Temperature" : "Trenutna temperatura", + "Feelslike Temperature" : "Občutek temperature", + "Minimum Temperature" : "Najmanjša temperatura", + "Maximum Temperature" : "Največja temperatura", "Pressure" : "Zračni tlak", "Humidity" : "Vlažnost zraka", "Cloudiness" : "Oblačnost", @@ -48,6 +52,7 @@ OC.L10N.register( "Sunrise" : "Sončni vzhod", "Sunset" : "Sončni zahod", "Date" : "Datum", + "Perceptible Temperature" : "Zaznana temperatura", "Updating widget…" : "Poteka posodabljanje gradnika ...", "Temperature" : "Temperatura" }, diff --git a/l10n/sl.json b/l10n/sl.json index dd3c971..a09a0d5 100755 --- a/l10n/sl.json +++ b/l10n/sl.json @@ -39,6 +39,10 @@ "Settings" : "Nastavitve", "Metric" : "Metrični prikaz", "Click here to get an API key" : "Klikni tukaj, da dobiš API ključ", + "Current Temperature" : "Trenutna temperatura", + "Feelslike Temperature" : "Občutek temperature", + "Minimum Temperature" : "Najmanjša temperatura", + "Maximum Temperature" : "Največja temperatura", "Pressure" : "Zračni tlak", "Humidity" : "Vlažnost zraka", "Cloudiness" : "Oblačnost", @@ -46,6 +50,7 @@ "Sunrise" : "Sončni vzhod", "Sunset" : "Sončni zahod", "Date" : "Datum", + "Perceptible Temperature" : "Zaznana temperatura", "Updating widget…" : "Poteka posodabljanje gradnika ...", "Temperature" : "Temperatura" },"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);" diff --git a/l10n/sv.js b/l10n/sv.js index cb9c944..4e4bffb 100755 --- a/l10n/sv.js +++ b/l10n/sv.js @@ -16,6 +16,7 @@ OC.L10N.register( "Failed to get city weather informations. Please contact your administrator" : "Det gick inte att få information om stadens väder. Vänligen kontakta din administratör", "No city with this name found." : "Ingen stad med det här namnet hittades.", "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Din OpenWeatherMap API-nyckel är ogiltig. Kontakta din administratör för att konfigurera en giltig API-nyckel i Administrationens ytterligare inställningar", + "Empty city name!" : "Tomt stadsnamn!", "Failed to add city. Please contact your administrator" : "Det gick inte att lägga till stad. Vänligen kontakta din administratör", "This city is already registered for your account." : "Den här staden är redan registrerad för ditt konto.", "Failed to remove city. Please contact your administrator" : "Det gick inte att ta bort staden. Vänligen kontakta din administratör", @@ -40,6 +41,10 @@ OC.L10N.register( "Settings" : "Inställningar", "Metric" : "Mätsystem", "Click here to get an API key" : "Klicka här för att få en API nyckel", + "Current Temperature" : "Nuvarande temperatur", + "Feelslike Temperature" : "Känns som temperatur", + "Minimum Temperature" : "Lägsta temperatur", + "Maximum Temperature" : "Högsta temperatur", "Pressure" : "Tryck", "Humidity" : "Fuktighet", "Cloudiness" : "Molnighet", @@ -47,6 +52,7 @@ OC.L10N.register( "Sunrise" : "Soluppgång", "Sunset" : "Solnedgång", "Date" : "Datum", + "Perceptible Temperature" : "Märkbar temperatur", "Updating widget…" : "Uppdaterar gränssnittskomponent...", "Temperature" : "Temperatur" }, diff --git a/l10n/sv.json b/l10n/sv.json index f7c345d..1c00fbb 100755 --- a/l10n/sv.json +++ b/l10n/sv.json @@ -14,6 +14,7 @@ "Failed to get city weather informations. Please contact your administrator" : "Det gick inte att få information om stadens väder. Vänligen kontakta din administratör", "No city with this name found." : "Ingen stad med det här namnet hittades.", "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Din OpenWeatherMap API-nyckel är ogiltig. Kontakta din administratör för att konfigurera en giltig API-nyckel i Administrationens ytterligare inställningar", + "Empty city name!" : "Tomt stadsnamn!", "Failed to add city. Please contact your administrator" : "Det gick inte att lägga till stad. Vänligen kontakta din administratör", "This city is already registered for your account." : "Den här staden är redan registrerad för ditt konto.", "Failed to remove city. Please contact your administrator" : "Det gick inte att ta bort staden. Vänligen kontakta din administratör", @@ -38,6 +39,10 @@ "Settings" : "Inställningar", "Metric" : "Mätsystem", "Click here to get an API key" : "Klicka här för att få en API nyckel", + "Current Temperature" : "Nuvarande temperatur", + "Feelslike Temperature" : "Känns som temperatur", + "Minimum Temperature" : "Lägsta temperatur", + "Maximum Temperature" : "Högsta temperatur", "Pressure" : "Tryck", "Humidity" : "Fuktighet", "Cloudiness" : "Molnighet", @@ -45,6 +50,7 @@ "Sunrise" : "Soluppgång", "Sunset" : "Solnedgång", "Date" : "Datum", + "Perceptible Temperature" : "Märkbar temperatur", "Updating widget…" : "Uppdaterar gränssnittskomponent...", "Temperature" : "Temperatur" },"pluralForm" :"nplurals=2; plural=(n != 1);" diff --git a/lib/Migration/Version010703Date20201101235744.php b/lib/Migration/Version010703Date20201101235744.php new file mode 100644 index 0000000..d225ed4 --- /dev/null +++ b/lib/Migration/Version010703Date20201101235744.php @@ -0,0 +1,78 @@ +hasTable('weather_city')) { + $table = $schema->createTable('weather_city'); + $table->addColumn('id', 'bigint', [ + 'autoincrement' => true, + 'notnull' => true, + 'length' => 10, + ]); + $table->addColumn('name', 'string', [ + 'notnull' => true, + 'length' => 255, + ]); + $table->addColumn('user_id', 'string', [ + 'notnull' => true, + 'length' => 255, + ]); + $table->setPrimaryKey(['id']); + } + + if (!$schema->hasTable('weather_config')) { + $table = $schema->createTable('weather_config'); + $table->addColumn('user', 'string', [ + 'notnull' => true, + 'length' => 255, + ]); + $table->addColumn('key', 'string', [ + 'notnull' => true, + 'length' => 255, + ]); + $table->addColumn('value', 'string', [ + 'notnull' => false, + 'length' => 10240, + ]); + } + return $schema; + } + + /** + * @param IOutput $output + * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` + * @param array $options + */ + public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options) { + } +}