Signed-off-by: Balint Erdosi <erdosib@gmail.com>
master
Balint Erdosi 2020-12-22 00:58:53 +01:00
parent 294a4d34c9
commit 180a7bc7ec
No known key found for this signature in database
GPG Key ID: B59A02D9670A915E
19 changed files with 210 additions and 75 deletions

View File

@ -1,4 +1,4 @@
# Authors # Authors
* Loic Blot: <loic.blot@unix-experience.fr> * Loic Blot: <loic.blot@unix-experience.fr>
* e-alfred

View File

@ -1,55 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<database>
<name>*dbname*</name>
<create>true</create>
<overwrite>false</overwrite>
<charset>utf8</charset>
<table>
<name>*dbprefix*weather_city</name>
<declaration>
<field>
<name>id</name>
<type>integer</type>
<notnull>true</notnull>
<length>10</length>
<autoincrement>1</autoincrement>
<primary>true</primary>
</field>
<field>
<name>name</name>
<type>text</type>
<notnull>true</notnull>
<length>255</length>
</field>
<field>
<name>user_id</name>
<type>text</type>
<notnull>true</notnull>
<length>255</length>
</field>
</declaration>
</table>
<table>
<name>*dbprefix*weather_config</name>
<declaration>
<field>
<name>user</name>
<type>text</type>
<notnull>true</notnull>
<length>255</length>
</field>
<field>
<name>key</name>
<type>text</type>
<notnull>true</notnull>
<length>255</length>
</field>
<field>
<name>value</name>
<type>text</type>
<notnull>false</notnull>
<length>10240</length>
</field>
</declaration>
</table>
</database>

View File

@ -4,14 +4,14 @@
<id>weather</id> <id>weather</id>
<name>Weather</name> <name>Weather</name>
<description>Watch the weather directly on your Nextcloud.</description> <description>Watch the weather directly on your Nextcloud.</description>
<version>1.7.3</version> <version>1.7.4</version>
<licence>AGPL</licence> <licence>AGPL</licence>
<author>Loic Blot</author> <author>Loic Blot</author>
<category>tools</category> <category>tools</category>
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png</screenshot> <screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png</screenshot>
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png</screenshot> <screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png</screenshot>
<dependencies> <dependencies>
<nextcloud min-version="16" max-version="19"/> <nextcloud min-version="17" max-version="20"/>
</dependencies> </dependencies>
<website>https://github.com/nextcloud/weather</website> <website>https://github.com/nextcloud/weather</website>
<bugs>https://github.com/nextcloud/weather/issues</bugs> <bugs>https://github.com/nextcloud/weather/issues</bugs>

View File

@ -48,6 +48,6 @@
} }
})(); })();
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function () {
OCA.Weather.Admin.initialize(); OCA.Weather.Admin.initialize();
}); });

View File

@ -15,7 +15,7 @@ OC.L10N.register(
"North-West" : "Nord-oest", "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.", "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.", "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!", "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.", "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.", "This city is already registered for your account." : "Ja heu registrat aquesta ciutat en el vostre compte.",

View File

@ -13,7 +13,7 @@
"North-West" : "Nord-oest", "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.", "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.", "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!", "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.", "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.", "This city is already registered for your account." : "Ja heu registrat aquesta ciutat en el vostre compte.",

View File

@ -29,8 +29,8 @@ OC.L10N.register(
"Saturday" : "Samstag", "Saturday" : "Samstag",
"Sunday" : "Sonntag", "Sunday" : "Sonntag",
"Watch the weather directly on your Nextcloud." : "Sieh den Wetterbericht direkt in Deiner Nextcloud", "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 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 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", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel",
"Save" : "Speichern", "Save" : "Speichern",
"Add a city" : "Eine Stadt hinzufügen", "Add a city" : "Eine Stadt hinzufügen",

View File

@ -27,8 +27,8 @@
"Saturday" : "Samstag", "Saturday" : "Samstag",
"Sunday" : "Sonntag", "Sunday" : "Sonntag",
"Watch the weather directly on your Nextcloud." : "Sieh den Wetterbericht direkt in Deiner Nextcloud", "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 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 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", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel",
"Save" : "Speichern", "Save" : "Speichern",
"Add a city" : "Eine Stadt hinzufügen", "Add a city" : "Eine Stadt hinzufügen",

View File

@ -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", "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!", "Empty city name!" : "Leerer Städtename!",
"Failed to add city. Please contact your administrator" : "Konnte Stadt nicht hinzufügen. Bitte kontaktieren Sie den Administrator", "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 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", "Failed to set home. Please contact your administrator" : "Konnte Zuhause nicht setzen. Bitte kontaktieren Sie den Administrator",
"Monday" : "Montag", "Monday" : "Montag",
@ -29,8 +29,8 @@ OC.L10N.register(
"Saturday" : "Samstag", "Saturday" : "Samstag",
"Sunday" : "Sonntag", "Sunday" : "Sonntag",
"Watch the weather directly on your Nextcloud." : "Sehen Sie den Wetterbericht direkt in Ihrer Nextcloud", "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 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 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", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel",
"Save" : "Speichern", "Save" : "Speichern",
"Add a city" : "Eine Stadt hinzufügen", "Add a city" : "Eine Stadt hinzufügen",

View File

@ -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", "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!", "Empty city name!" : "Leerer Städtename!",
"Failed to add city. Please contact your administrator" : "Konnte Stadt nicht hinzufügen. Bitte kontaktieren Sie den Administrator", "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 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", "Failed to set home. Please contact your administrator" : "Konnte Zuhause nicht setzen. Bitte kontaktieren Sie den Administrator",
"Monday" : "Montag", "Monday" : "Montag",
@ -27,8 +27,8 @@
"Saturday" : "Samstag", "Saturday" : "Samstag",
"Sunday" : "Sonntag", "Sunday" : "Sonntag",
"Watch the weather directly on your Nextcloud." : "Sehen Sie den Wetterbericht direkt in Ihrer Nextcloud", "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 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 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", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel",
"Save" : "Speichern", "Save" : "Speichern",
"Add a city" : "Eine Stadt hinzufügen", "Add a city" : "Eine Stadt hinzufügen",

View File

@ -11,7 +11,9 @@ OC.L10N.register(
"South-West" : "Lounas", "South-West" : "Lounas",
"West" : "Länsi", "West" : "Länsi",
"North-West" : "Luode", "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.", "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!", "Empty city name!" : "Tyhjä kaupungin nimi!",
"Failed to add city. Please contact your administrator" : "Kaupungin lisääminen epäonnistui. Ota yhteyttä järjestelmänvalvojaan", "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.", "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", "Saturday" : "Lauantai",
"Sunday" : "Sunnuntai", "Sunday" : "Sunnuntai",
"Watch the weather directly on your Nextcloud." : "Seuraa säätä suoraan Nextcloudista.", "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.", "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", "OpenWeatherMap API Key" : "OpenWeatherMapin API-avain",
"Save" : "Tallenna", "Save" : "Tallenna",
@ -47,7 +50,7 @@ OC.L10N.register(
"Sunset" : "Auringonlasku", "Sunset" : "Auringonlasku",
"Date" : "Päiväys", "Date" : "Päiväys",
"Perceptible Temperature" : "Aistittava lämpötila", "Perceptible Temperature" : "Aistittava lämpötila",
"Updating widget…" : "Päivitetään widgettiä…", "Updating widget…" : "Päivitetään pienoissovellusta…",
"Temperature" : "Lämpötila" "Temperature" : "Lämpötila"
}, },
"nplurals=2; plural=(n != 1);"); "nplurals=2; plural=(n != 1);");

View File

@ -9,7 +9,9 @@
"South-West" : "Lounas", "South-West" : "Lounas",
"West" : "Länsi", "West" : "Länsi",
"North-West" : "Luode", "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.", "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!", "Empty city name!" : "Tyhjä kaupungin nimi!",
"Failed to add city. Please contact your administrator" : "Kaupungin lisääminen epäonnistui. Ota yhteyttä järjestelmänvalvojaan", "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.", "This city is already registered for your account." : "Tämä kaupunki on jo rekisteröity tilillesi.",
@ -22,6 +24,7 @@
"Saturday" : "Lauantai", "Saturday" : "Lauantai",
"Sunday" : "Sunnuntai", "Sunday" : "Sunnuntai",
"Watch the weather directly on your Nextcloud." : "Seuraa säätä suoraan Nextcloudista.", "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.", "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", "OpenWeatherMap API Key" : "OpenWeatherMapin API-avain",
"Save" : "Tallenna", "Save" : "Tallenna",
@ -45,7 +48,7 @@
"Sunset" : "Auringonlasku", "Sunset" : "Auringonlasku",
"Date" : "Päiväys", "Date" : "Päiväys",
"Perceptible Temperature" : "Aistittava lämpötila", "Perceptible Temperature" : "Aistittava lämpötila",
"Updating widget…" : "Päivitetään widgettiä…", "Updating widget…" : "Päivitetään pienoissovellusta…",
"Temperature" : "Lämpötila" "Temperature" : "Lämpötila"
},"pluralForm" :"nplurals=2; plural=(n != 1);" },"pluralForm" :"nplurals=2; plural=(n != 1);"
} }

View File

@ -1,6 +1,26 @@
OC.L10N.register( OC.L10N.register(
"weather", "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" : "Понеделник", "Monday" : "Понеделник",
"Tuesday" : "Вторник", "Tuesday" : "Вторник",
"Wednesday" : "Среда", "Wednesday" : "Среда",
@ -8,10 +28,32 @@ OC.L10N.register(
"Friday" : "Петок", "Friday" : "Петок",
"Saturday" : "Сабота", "Saturday" : "Сабота",
"Sunday" : "Недела", "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" : "Зачувај", "Save" : "Зачувај",
"Add a city" : "Додади град",
"Add city" : "Додади град",
"City name" : "Име на градот",
"Add" : "Додади", "Add" : "Додади",
"Cancel" : "Откажи", "Cancel" : "Откажи",
"Settings" : "Параметри", "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;"); "nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;");

View File

@ -1,4 +1,24 @@
{ "translations": { { "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" : "Понеделник", "Monday" : "Понеделник",
"Tuesday" : "Вторник", "Tuesday" : "Вторник",
"Wednesday" : "Среда", "Wednesday" : "Среда",
@ -6,10 +26,32 @@
"Friday" : "Петок", "Friday" : "Петок",
"Saturday" : "Сабота", "Saturday" : "Сабота",
"Sunday" : "Недела", "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" : "Зачувај", "Save" : "Зачувај",
"Add a city" : "Додади град",
"Add city" : "Додади град",
"City name" : "Име на градот",
"Add" : "Додади", "Add" : "Додади",
"Cancel" : "Откажи", "Cancel" : "Откажи",
"Settings" : "Параметри", "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;" },"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"
} }

View File

@ -41,6 +41,10 @@ OC.L10N.register(
"Settings" : "Nastavitve", "Settings" : "Nastavitve",
"Metric" : "Metrični prikaz", "Metric" : "Metrični prikaz",
"Click here to get an API key" : "Klikni tukaj, da dobiš API ključ", "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", "Pressure" : "Zračni tlak",
"Humidity" : "Vlažnost zraka", "Humidity" : "Vlažnost zraka",
"Cloudiness" : "Oblačnost", "Cloudiness" : "Oblačnost",
@ -48,6 +52,7 @@ OC.L10N.register(
"Sunrise" : "Sončni vzhod", "Sunrise" : "Sončni vzhod",
"Sunset" : "Sončni zahod", "Sunset" : "Sončni zahod",
"Date" : "Datum", "Date" : "Datum",
"Perceptible Temperature" : "Zaznana temperatura",
"Updating widget…" : "Poteka posodabljanje gradnika ...", "Updating widget…" : "Poteka posodabljanje gradnika ...",
"Temperature" : "Temperatura" "Temperature" : "Temperatura"
}, },

View File

@ -39,6 +39,10 @@
"Settings" : "Nastavitve", "Settings" : "Nastavitve",
"Metric" : "Metrični prikaz", "Metric" : "Metrični prikaz",
"Click here to get an API key" : "Klikni tukaj, da dobiš API ključ", "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", "Pressure" : "Zračni tlak",
"Humidity" : "Vlažnost zraka", "Humidity" : "Vlažnost zraka",
"Cloudiness" : "Oblačnost", "Cloudiness" : "Oblačnost",
@ -46,6 +50,7 @@
"Sunrise" : "Sončni vzhod", "Sunrise" : "Sončni vzhod",
"Sunset" : "Sončni zahod", "Sunset" : "Sončni zahod",
"Date" : "Datum", "Date" : "Datum",
"Perceptible Temperature" : "Zaznana temperatura",
"Updating widget…" : "Poteka posodabljanje gradnika ...", "Updating widget…" : "Poteka posodabljanje gradnika ...",
"Temperature" : "Temperatura" "Temperature" : "Temperatura"
},"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);" },"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"

View File

@ -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", "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.", "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", "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", "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.", "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", "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", "Settings" : "Inställningar",
"Metric" : "Mätsystem", "Metric" : "Mätsystem",
"Click here to get an API key" : "Klicka här för att få en API nyckel", "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", "Pressure" : "Tryck",
"Humidity" : "Fuktighet", "Humidity" : "Fuktighet",
"Cloudiness" : "Molnighet", "Cloudiness" : "Molnighet",
@ -47,6 +52,7 @@ OC.L10N.register(
"Sunrise" : "Soluppgång", "Sunrise" : "Soluppgång",
"Sunset" : "Solnedgång", "Sunset" : "Solnedgång",
"Date" : "Datum", "Date" : "Datum",
"Perceptible Temperature" : "Märkbar temperatur",
"Updating widget…" : "Uppdaterar gränssnittskomponent...", "Updating widget…" : "Uppdaterar gränssnittskomponent...",
"Temperature" : "Temperatur" "Temperature" : "Temperatur"
}, },

View File

@ -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", "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.", "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", "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", "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.", "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", "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", "Settings" : "Inställningar",
"Metric" : "Mätsystem", "Metric" : "Mätsystem",
"Click here to get an API key" : "Klicka här för att få en API nyckel", "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", "Pressure" : "Tryck",
"Humidity" : "Fuktighet", "Humidity" : "Fuktighet",
"Cloudiness" : "Molnighet", "Cloudiness" : "Molnighet",
@ -45,6 +50,7 @@
"Sunrise" : "Soluppgång", "Sunrise" : "Soluppgång",
"Sunset" : "Solnedgång", "Sunset" : "Solnedgång",
"Date" : "Datum", "Date" : "Datum",
"Perceptible Temperature" : "Märkbar temperatur",
"Updating widget…" : "Uppdaterar gränssnittskomponent...", "Updating widget…" : "Uppdaterar gränssnittskomponent...",
"Temperature" : "Temperatur" "Temperature" : "Temperatur"
},"pluralForm" :"nplurals=2; plural=(n != 1);" },"pluralForm" :"nplurals=2; plural=(n != 1);"

View File

@ -0,0 +1,78 @@
<?php
declare(strict_types=1);
namespace OCA\Weather\Migration;
use Closure;
use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
/**
* Auto-generated migration step: Please modify to your needs!
*/
class Version010703Date20201101235744 extends SimpleMigrationStep {
/**
* @param IOutput $output
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
* @param array $options
*/
public function preSchemaChange(IOutput $output, Closure $schemaClosure, array $options) {
}
/**
* @param IOutput $output
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
* @param array $options
* @return null|ISchemaWrapper
*/
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) {
/** @var ISchemaWrapper $schema */
$schema = $schemaClosure();
if (!$schema->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) {
}
}