parent
294a4d34c9
commit
180a7bc7ec
|
@ -1,4 +1,4 @@
|
|||
# Authors
|
||||
|
||||
* Loic Blot: <loic.blot@unix-experience.fr>
|
||||
|
||||
* e-alfred
|
||||
|
|
|
@ -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>
|
|
@ -4,14 +4,14 @@
|
|||
<id>weather</id>
|
||||
<name>Weather</name>
|
||||
<description>Watch the weather directly on your Nextcloud.</description>
|
||||
<version>1.7.3</version>
|
||||
<version>1.7.4</version>
|
||||
<licence>AGPL</licence>
|
||||
<author>Loic Blot</author>
|
||||
<category>tools</category>
|
||||
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png</screenshot>
|
||||
<screenshot>https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png</screenshot>
|
||||
<dependencies>
|
||||
<nextcloud min-version="16" max-version="19"/>
|
||||
<nextcloud min-version="17" max-version="20"/>
|
||||
</dependencies>
|
||||
<website>https://github.com/nextcloud/weather</website>
|
||||
<bugs>https://github.com/nextcloud/weather/issues</bugs>
|
||||
|
|
|
@ -48,6 +48,6 @@
|
|||
}
|
||||
})();
|
||||
|
||||
$(document).ready(function() {
|
||||
window.addEventListener('DOMContentLoaded', function () {
|
||||
OCA.Weather.Admin.initialize();
|
||||
});
|
||||
|
|
|
@ -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.",
|
||||
|
|
|
@ -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.",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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);");
|
||||
|
|
|
@ -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);"
|
||||
}
|
44
l10n/mk.js
44
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;");
|
||||
|
|
44
l10n/mk.json
44
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;"
|
||||
}
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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);"
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -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);"
|
||||
|
|
|
@ -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) {
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue