german language to menu
This commit is contained in:
parent
f6623c7a62
commit
59aba8d9be
|
@ -37,7 +37,7 @@
|
|||
<ConfirmationsSetting value="0" id="Add" />
|
||||
<ConfirmationsSetting value="0" id="Remove" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
|
|
@ -141,6 +141,11 @@ public class MainActivity extends AppCompatActivity {
|
|||
recreate();
|
||||
break;
|
||||
}
|
||||
case R.id.de_lang: {
|
||||
LocaleHelper.setLocale(this, "de");
|
||||
recreate();
|
||||
break;
|
||||
}
|
||||
case R.id.nav_export: {
|
||||
ImportExportPrefs.exportSharedPreferences(this);
|
||||
break;
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
<item
|
||||
android:id="@+id/cs_lang"
|
||||
android:title="@string/cs_lang" />
|
||||
<item
|
||||
android:id="@+id/de_lang"
|
||||
android:title="@string/de_lang" />
|
||||
<item
|
||||
android:id="@+id/nav_exit"
|
||||
android:title="@string/nav_exit" />
|
||||
|
|
|
@ -206,4 +206,5 @@
|
|||
<string name="export_to">Exportovat nastavení do</string>
|
||||
<string name="nav_export">Exportovat nastavení</string>
|
||||
<string name="nav_import">Importovat nastavení</string>
|
||||
<string name="de_lang">Němčina</string>
|
||||
</resources>
|
|
@ -214,5 +214,6 @@
|
|||
<string name="filenotfound">File not found</string>
|
||||
<string name="nav_export">Export settings</string>
|
||||
<string name="nav_import">Import settings</string>
|
||||
<string name="de_lang">German language</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue