Skip to content

Commit

Permalink
Merge pull request #39 from Stzyxh/dev
Browse files Browse the repository at this point in the history
add german translation
  • Loading branch information
davidtakac authored May 9, 2024
2 parents f11cc4e + cfb17be commit 277f6ad
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ android {
versionName = "1.3.0"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
resourceConfigurations.addAll(listOf("en", "fr", "hr", "vi", "zh-rCN"))
resourceConfigurations.addAll(listOf("en", "fr", "hr", "vi", "zh-rCN", "de"))
}

buildTypes {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/com/davidtakac/bura/common/Locale.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ private val supportedLocales = listOf(
Locale.forLanguageTag("hr"),
Locale.forLanguageTag("vi"),
Locale("zh", "CN"),
Locale.forLanguageTag("de"),
)

private fun appLocale(context: Context): Locale {
Expand Down
221 changes: 221 additions & 0 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
<!--
~ Copyright 2024 David Takač
~
~ This file is part of Bura.
~
~ Bura is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
~
~ Bura is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License along with Bura. If not, see <https://www.gnu.org/licenses/>.
-->

<resources>
<string name="app_name">Bura</string>
<string name="general_error_failed_to_download">Der Download der Vorhersage ist fehlgeschlagen. Stellen Sie eine Internetverbindung her und versuchen Sie es erneut.</string>
<string name="general_error_outdated">Ihre Vorhersagedaten sind abgelaufen. Verbinden Sie sich mit dem Internet und versuchen Sie es erneut.</string>
<string name="general_error_no_selected_place">Kein ausgewählter Ort.</string>
<string name="general_btn_try_again">Erneut versuchen</string>
<string name="general_btn_select_place">Ort auswählen</string>
<string name="general_btn_dialog_confirm">OK</string>
<string name="general_btn_dialog_cancel">Abbrechen</string>

<string name="credit_weather">Wetterdaten von Open-Meteo.com</string>
<string name="credit_geocoding">Geokodierungsdaten von Open-Meteo.com</string>

<string name="place_picker_hint_search">Orte durchsuchen…</string>
<string name="place_picker_title_saved_places">Gespeicherte Orte</string>
<string name="place_picker_title_search_results">Suchergebnisse</string>
<string name="place_picker_error_no_internet">Sie scheinen offline zu sein. Verbinden Sie sich mit dem Internet und versuchen Sie es erneut.</string>
<string name="place_picker_error_value_no_results_for">Keine Ergebnisse für \"%s\".</string>
<string name="place_picker_error_no_saved_places">Keine gespeicherte Orte. </string>
<string name="delete_place_value">%s löschen?</string>
<string name="delete_place_description">Dabei werden auch die zwischengespeicherten Prognosedaten gelöscht.</string>

<string name="cond_screen_title">Bedingungen</string>
<string name="cond_screen_pop">Niederschlagswahrscheinlichkeit</string>
<string name="cond_screen_precip">Gesamtniederschlag</string>
<string name="cond_screen_temp_unit_celsius">Celsius (°C)</string>
<string name="cond_screen_temp_unit_fahrenheit">Fahrenheit (°F)</string>
<string name="cond_screen_precip_value_in_last_hours">Letzte %s Stunden</string>
<string name="cond_screen_precip_value_in_next_hours">Nächste %s Stunden</string>

<string name="settings_screen_title">Einstellungen</string>
<string name="settings_screen_title_units">Einheiten</string>
<string name="settings_screen_title_temp_unit">Temperatur</string>
<string name="settings_screen_label_temp_unit_celsius">Grad Celsius</string>
<string name="settings_screen_label_temp_unit_fahrenheit">Grad Fahrenheit</string>
<string name="settings_screen_title_wind_unit">Wind</string>
<string name="settings_screen_label_wind_unit_mps">Meter pro Sekunde</string>
<string name="settings_screen_label_wind_unit_kph">Kilometer pro Stunde</string>
<string name="settings_screen_label_wind_unit_mph">Meilen pro Stunde</string>
<string name="settings_screen_label_wind_unit_kn">Knoten</string>
<string name="settings_screen_title_precip_unit">Niederschlag</string>
<string name="settings_screen_title_rain_unit">Regen</string>
<string name="settings_screen_title_showers_unit">Schauer</string>
<string name="settings_screen_title_snow_unit">Schnee</string>
<string name="settings_screen_label_precip_unit_mm">Millimeter</string>
<string name="settings_screen_label_precip_unit_cm">Zentimeter</string>
<string name="settings_screen_label_precip_unit_in">Zoll</string>
<string name="settings_screen_title_pressure_unit">Druck</string>
<string name="settings_screen_label_pressure_unit_hpa">Hectopascal</string>
<string name="settings_screen_label_pressure_unit_inhg">Zoll Quecksilber</string>
<string name="settings_screen_label_pressure_unit_mmhg">Millimeter von Quecksilber</string>
<string name="settings_screen_title_vis_unit">Sichtbarkeit</string>
<string name="settings_screen_label_vis_unit_km">Kilometer</string>
<string name="settings_screen_label_vis_unit_mi">Meilen</string>
<string name="settings_screen_label_vis_unit_m">Meter</string>
<string name="settings_screen_label_vis_unit_ft">Feet</string>
<string name="settings_screen_title_appearance">Erscheinungsbild</string>
<string name="settings_screen_title_theme">Thema</string>
<string name="settings_screen_label_dark">Dunkel</string>
<string name="settings_screen_label_light">Hell</string>
<string name="settings_screen_label_follow_system">System folgen</string>

<string name="date_time_now">Jetzt</string>
<string name="date_time_today">Heute</string>
<string name="date_time_pattern_hour">HH</string>
<string name="date_time_pattern_hour_minute">HH:mm</string>
<string name="date_time_pattern_dow">E</string>
<string name="date_time_pattern_dow_hour_minute">E, HH:mm</string>

<string name="precip_mixed">Niederschlag</string>
<string name="precip_rain">Regen</string>
<string name="precip_showers">Schauer</string>
<string name="precip_snow">Schnee</string>
<string name="precip_value_in_last_hours">In den letzten %sh</string>
<string name="precip_value_showers_in_next_hours">%1$s Schauer werden in den nächsten %2$sh erwartet.</string>
<string name="precip_value_rain_in_next_hours">%1$s Regen erwartet in den nächsten %2$sh.</string>
<string name="precip_value_snow_in_next_hours">%1$s Schnee wird in den nächsten %2$sh erwartet.</string>
<string name="precip_value_mixed_in_next_hours">%1$s wird in der nächsten %2$sh erwartet.</string>
<string name="precip_value_showers_on_day">Der nächste erwartete Schauer ist %1$s am %2$s.</string>
<string name="precip_value_rain_on_day">Der nächste erwartete Regen ist %1$s am %2$s.</string>
<string name="precip_value_snow_on_day">Der nächste erwartete Schnee ist %1$s am %2$s.</string>
<string name="precip_value_mixed_on_day">Der nächste erwartete Zeitpunkt ist %1$s am %2$s.</string>
<string name="precip_value_none_in_next_days">Keine erwartet in den nächsten %sd.</string>
<string name="precip_unit_mm">mm</string>
<string name="precip_value_mm">%s mm</string>
<string name="precip_unit_cm">cm</string>
<string name="precip_value_cm">%s cm</string>
<string name="precip_unit_in">″</string>
<string name="precip_value_in">%s″</string>

<string name="pop_value_percent">%s%%</string>

<string name="pressure">Druck</string>
<string name="pressure_trend_falling">Fallend</string>
<string name="pressure_trend_steady">Konstant</string>
<string name="pressure_trend_rising">Steigend</string>
<string name="pressure_value_average">Durchschnittswert: %s</string>
<string name="pressure_unit_hpa">hPa</string>
<string name="pressure_value_hpa">%s hPa</string>
<string name="pressure_unit_inhg">inHg</string>
<string name="pressure_value_inhg">%s inHg</string>
<string name="pressure_unit_mmhg">mmHg</string>
<string name="pressure_value_mmhg">%s mmHg</string>

<string name="humidity">Luftfeuchtigkeit</string>
<string name="humidity_value_percent">%s%%</string>

<string name="sunrise">Sonnenaufgang</string>
<string name="sunset">Sonnenuntergang</string>
<string name="sunrise_value">Sonnenaufgang: %s</string>
<string name="sunset_value">Sonnenuntergang: %s</string>
<string name="sunrise_not_today">Heute kein Sonnenaufgang.</string>
<string name="sunset_not_today">Heute kein Sonnenuntergang.</string>
<string name="sunrise_value_more_than_days_away">&gt; %sd</string>
<string name="sunrise_value_more_than_hours_away">&gt; %sh</string>
<string name="sunset_value_more_than_days_away">&gt; %sd</string>
<string name="sunset_value_more_than_hours_away">&gt; %sh</string>

<string name="temp_value_degree">%s°</string>
<string name="dew_point_value_right_now">Der Taupunkt liegt im Moment bei %s.</string>
<string name="feels_like">Fühlt sich an wie</string>
<string name="feels_like_value">Fühlt sich an wie %s</string>
<string name="feels_like_value_actual">Tatsächlich %s</string>
<string name="feels_like_cooler_than_actual">Durch den Wind fühlt es sich kühler an.</string>
<string name="feels_like_colder_than_actual">Der Wind lässt es kälter werden.</string>
<string name="feels_like_warmer_than_actual">Durch die Feuchtigkeit fühlt es sich wärmer an.</string>
<string name="feels_like_hotter_than_actual">Durch die Luftfeuchtigkeit fühlt es sich noch heißer an.</string>
<string name="feels_like_similar_to_actual">Ähnlich wie die tatsächliche Temperatur.</string>

<string name="uv_index">UV-Index</string>
<string name="uv_index_risk_low">Niedrig</string>
<string name="uv_index_risk_moderate">Mäßig</string>
<string name="uv_index_risk_high">Hoch</string>
<string name="uv_index_risk_very_high">Sehr hoch</string>
<string name="uv_index_risk_extreme">Extrem</string>
<string name="uv_index_protection_value_from_until">Verwenden Sie Sonnenschutz von %1$s bis %2$s.</string>
<string name="uv_index_protection_value_from">Verwenden Sie Sonnenschutz ab %s.</string>
<string name="uv_index_protection_value_until">Verwenden Sie Sonnenschutz bis %s.</string>
<string name="uv_index_protection_value_until_end_of_day">Benutzen Sie den Rest des Tages Sonnenschutz.</string>
<string name="uv_index_protection_value_none">Niedrig für den Rest des Tages.</string>

<string name="vis">Sichbarkeit</string>
<string name="vis_unit_m">m</string>
<string name="vis_value_m">%s m</string>
<string name="vis_unit_ft">ft</string>
<string name="vis_value_ft">%s ft</string>
<string name="vis_unit_km">km</string>
<string name="vis_value_km">%s km</string>
<string name="vis_unit_mi">mi</string>
<string name="vis_value_mi">%s mi</string>
<string name="vis_description_perfect">Völlig klare Sicht.</string>
<string name="vis_description_clear">Freie Sicht.</string>
<string name="vis_description_fair">Ziemlich klare Sicht.</string>
<string name="vis_description_low">Eingeschränkte Sicht.</string>
<string name="vis_description_very_low">Stark eingeschränkte Sicht.</string>

<string name="wind_label">Wind</string>
<string name="wind_bft_0">Ruhig</string>
<string name="wind_bft_1">Leichte Luft</string>
<string name="wind_bft_2">Leichte Brise</string>
<string name="wind_bft_3">Sanfte Brise</string>
<string name="wind_bft_4">Mäßige Brise</string>
<string name="wind_bft_5">Frische Brise</string>
<string name="wind_bft_6">Starke Brise</string>
<string name="wind_bft_7">Beinahe-Sturm</string>
<string name="wind_bft_8">Frischer Sturm</string>
<string name="wind_bft_9">Starker Sturm</string>
<string name="wind_bft_10">Ganzer Sturm</string>
<string name="wind_bft_11">Gewaltsamer Sturm</string>
<string name="wind_bft_12">Wirbelsturm</string>
<string name="wind_value_gusts_at">Böen um %s.</string>
<string name="wind_unit_mps">m/s</string>
<string name="wind_value_mps">%s m/s</string>
<string name="wind_unit_kph">km/h</string>
<string name="wind_value_kph">%s km/h</string>
<string name="wind_unit_kn">kn</string>
<string name="wind_value_kn">%s kn</string>
<string name="wind_unit_mph">mi/h</string>
<string name="wind_value_mph">%s mi/h</string>

<string name="wmo_0">Klar</string>
<string name="wmo_1">Meistens klar</string>
<string name="wmo_2">Teilweise bewölkt</string>
<string name="wmo_3">Bedeckt</string>
<string name="wmo_45">Nebel</string>
<string name="wmo_48">Ablagerung von Reifnebel</string>
<string name="wmo_51">Leichter Nieselregen</string>
<string name="wmo_53">Nieselregen</string>
<string name="wmo_55">Dichter Nieselregen</string>
<string name="wmo_56">Leichter gefrierender Nieselregen</string>
<string name="wmo_57">Dichter gefrierender Nieselregen</string>
<string name="wmo_61">Leichter Regen</string>
<string name="wmo_63">Regen</string>
<string name="wmo_65">Starker Regen</string>
<string name="wmo_66">Leichter gefrierender Regen</string>
<string name="wmo_67">Starker gefrierender Regen</string>
<string name="wmo_71">Leichter Schneefall</string>
<string name="wmo_73">Schneefall</string>
<string name="wmo_75">Starker Schneefall</string>
<string name="wmo_77">Schneekörner</string>
<string name="wmo_80">Leichte Schauer</string>
<string name="wmo_81">Schauer</string>
<string name="wmo_82">Heftige Schauer</string>
<string name="wmo_85">Leichte Schneeschauer</string>
<string name="wmo_86">Starke Schneeschauer</string>
<string name="wmo_95">Gewitter</string>
<string name="wmo_96">Gewitter mit leichtem Hagel</string>
<string name="wmo_99">Gewitter mit schwerem Hagel</string>
</resources>
1 change: 1 addition & 0 deletions app/src/main/res/xml/locales_config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
<locale android:name="hr"/>
<locale android:name="vi"/>
<locale android:name="zh-CN"/>
<locale android:name="de"/>
</locale-config>

0 comments on commit 277f6ad

Please sign in to comment.