Localized title for contextual action bar
authorTobias Brunner <tobias@strongswan.org>
Thu, 9 Aug 2012 10:26:48 +0000 (12:26 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Aug 2012 09:18:52 +0000 (11:18 +0200)
src/frontends/android/res/values-de/strings.xml
src/frontends/android/res/values/strings.xml
src/frontends/android/src/org/strongswan/android/ui/VpnProfileListFragment.java

index 7299acf..ed44564 100644 (file)
@@ -27,6 +27,7 @@
     <string name="add_profile">Profil hinzufügen</string>
     <string name="edit_profile">Bearbeiten</string>
     <string name="delete_profile">Löschen</string>
+    <string name="select_profiles">Profile auswählen</string>
     <string name="profiles_deleted">Ausgewählte Profile gelöscht</string>
     <string name="no_profile_selected">Kein Profil ausgewählt</string>
     <string name="one_profile_selected">Ein Profil ausgewählt</string>
index 04e0926..0dad642 100644 (file)
@@ -27,6 +27,7 @@
     <string name="add_profile">Add VPN profile</string>
     <string name="edit_profile">Edit</string>
     <string name="delete_profile">Delete</string>
+    <string name="select_profiles">Select profiles</string>
     <string name="profiles_deleted">Selected profiles deleted</string>
     <string name="no_profile_selected">No profile selected</string>
     <string name="one_profile_selected">One profile selected</string>
index be0a900..1052558 100644 (file)
@@ -191,7 +191,7 @@ public class VpnProfileListFragment extends Fragment
                        inflater.inflate(R.menu.profile_list_context, menu);
                        mEditProfile = menu.findItem(R.id.edit_profile);
                        mSelected = new HashSet<Integer>();
-                       mode.setTitle("Select Profiles");
+                       mode.setTitle(R.string.select_profiles);
                        return true;
                }