Refactored the weather-forecast web component and cleaned up main project.
This commit is contained in:
@@ -117,6 +117,7 @@ export class ResourceService {
|
||||
'label_yesterday' : 'Gestern',
|
||||
'label_today' : 'Heute',
|
||||
'label_tomorrow' : 'Morgen',
|
||||
|
||||
'city_code_dialog_title': 'Wettervorhersagen einbetten',
|
||||
'city_code_dialog_stylesheet': 'Das Stylesheet verlinken.',
|
||||
'city_code_dialog_scripts': 'Die Skripte einbetten.',
|
||||
@@ -125,6 +126,13 @@ export class ResourceService {
|
||||
'city_code_dialog_example': 'Beispiel',
|
||||
'city_code_dialog_default_lang': 'Standard: lang-code="de"',
|
||||
|
||||
'web_comp_err_title': 'Fehler',
|
||||
'web_comp_err_no_city_id': 'Das Attribut "city-id" darf nicht leer sein!',
|
||||
'web_comp_err_fetch_city': 'Dienst momentan nicht erreichbar! Stadt kann nicht abgerufen werden.',
|
||||
'web_comp_err_fetch_forecast': 'Dienst momentan nicht erreichbar! Wettervorhersage kann nicht abgerufen werden.',
|
||||
'web_comp_footer_computed': 'Vorhersage berechnet vom ',
|
||||
'web_comp_footer_provided': ' und bereitgestellt von ',
|
||||
|
||||
'station_title': 'Station',
|
||||
'station_latest_report' : 'Letzte Messung',
|
||||
|
||||
@@ -545,6 +553,7 @@ export class ResourceService {
|
||||
'label_yesterday' : 'Yesterday',
|
||||
'label_today' : 'Today',
|
||||
'label_tomorrow' : 'Tomorrow',
|
||||
|
||||
'city_code_dialog_title': 'Embed Weather Forecasts',
|
||||
'city_code_dialog_stylesheet': 'Link the stylesheet.',
|
||||
'city_code_dialog_scripts': 'Embed the scripts.',
|
||||
@@ -553,6 +562,13 @@ export class ResourceService {
|
||||
'city_code_dialog_example': 'Example',
|
||||
'city_code_dialog_default_lang': 'Default: lang-code="de"',
|
||||
|
||||
'web_comp_err_title': 'Error',
|
||||
'web_comp_err_no_city_id': 'The Attribute "city-id" must not be empty!',
|
||||
'web_comp_err_fetch_city': 'Service currently not available! Cannot fetch city data.',
|
||||
'web_comp_err_fetch_forecast': 'Service currently not available! Cannot fetch any forecast data.',
|
||||
'web_comp_footer_computed': 'Forecast computed by ',
|
||||
'web_comp_footer_provided': ' and provided by ',
|
||||
|
||||
'station_title': 'Station',
|
||||
'station_latest_report' : 'Latest Measurement',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user