Commit 63db69e0 authored by Jan Smolka's avatar Jan Smolka

MOD: extract further string resources and add localization

parent d9efb025
......@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
tools:context=".CampaignActivity">
<item android:id="@+id/action_add_campaign"
android:title="Add Campaign"
android:title="@string/add_campaign"
android:icon="@android:drawable/ic_menu_add"
app:showAsAction="always"/>
</menu>
......@@ -3,19 +3,19 @@
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.eyecreate.miceandmystics.miceandmystics.CampaignDetailsActivity">
<item android:id="@+id/action_add_character"
android:title="Add Character"
android:title="@string/add_character"
android:icon="@android:drawable/ic_menu_add"
app:showAsAction="always"/>
<item android:id="@+id/action_add_player"
android:title="Add Player"
android:title="@string/add_player"
android:icon="@mipmap/ic_menu_invite"
app:showAsAction="ifRoom"/>
<item android:id="@+id/action_add_party_achievement"
android:title="Add Achievment"
android:title="@string/add_achievement"
android:icon="@mipmap/ic_menu_star"
app:showAsAction="always"/>
<item android:id="@+id/action_manage_players"
android:title="Manage Players"
android:title="@string/manage_players"
android:icon="@mipmap/ic_menu_friendslist"
app:showAsAction="ifRoom"/>
</menu>
......@@ -2,9 +2,9 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item android:id="@+id/action_add_ability"
android:title="Add Ability"
android:title="@string/add_ability"
app:showAsAction="never"/>
<item android:id="@+id/action_add_item"
android:title="Add Held Item"
android:title="@string/add_held_item"
app:showAsAction="never"/>
</menu>
\ No newline at end of file
......@@ -2,7 +2,7 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item android:id="@+id/action_add_player"
android:title="Add Player"
android:title="@string/add_player"
android:icon="@mipmap/ic_menu_invite"
app:showAsAction="always"/>
</menu>
\ No newline at end of file
......@@ -97,6 +97,13 @@
<string name="remove_ability_confirm">"Soll diese Fähigkeit entfernt werden: "</string>
<string name="remove_item_confirm">"Soll dieser Gegenstand entfernt werden: "</string>
<string name="remove_achievement_confirm">"Soll dieser Gruppenerfolg entfernt werden: "</string>
<string name="add_campaign">Kampagne hinzufügen</string>
<string name="add_character">Character hinzufügen</string>
<string name="add_player">Spieler hinzufügen</string>
<string name="add_achievement">Gruppenerfolg hinzufügen</string>
<string name="manage_players">Spieler verwalten</string>
<string name="add_ability">Fähigkeit hinzufügen</string>
<string name="add_held_item">Gegenstand hinzufügen</string>
</resources>
......@@ -63,7 +63,7 @@
<string name="ability_energyrush">Energy Rush</string>
<!-- UI text -->
<string name="dialog_confirm">Ok</string>
<string name="dialog_confirm">OK</string>
<string name="dialog_add">Add</string>
<string name="dialog_create">Create</string>
<string name="dialog_yes">Yes</string>
......@@ -97,6 +97,13 @@
<string name="remove_ability_confirm">"Do you want to remove ability: "</string>
<string name="remove_item_confirm">"Do you want to remove item: "</string>
<string name="remove_achievement_confirm">"Do you want to remove achievement: "</string>
<string name="add_campaign">Add Campaign</string>
<string name="add_character">Add Character</string>
<string name="add_player">Add Player</string>
<string name="add_achievement">Add Achievement</string>
<string name="manage_players">Manage Players</string>
<string name="add_ability">Add Ability</string>
<string name="add_held_item">Add Held Item</string>
</resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment