From 374f62535f07572ac945d08c65de73d2b127d2da Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 9 Aug 2012 12:26:48 +0200 Subject: [PATCH] Localized title for contextual action bar --- src/frontends/android/res/values-de/strings.xml | 1 + src/frontends/android/res/values/strings.xml | 1 + .../src/org/strongswan/android/ui/VpnProfileListFragment.java | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontends/android/res/values-de/strings.xml b/src/frontends/android/res/values-de/strings.xml index 7299acfaf3..ed4456497d 100644 --- a/src/frontends/android/res/values-de/strings.xml +++ b/src/frontends/android/res/values-de/strings.xml @@ -27,6 +27,7 @@ Profil hinzufügen Bearbeiten Löschen + Profile auswählen Ausgewählte Profile gelöscht Kein Profil ausgewählt Ein Profil ausgewählt diff --git a/src/frontends/android/res/values/strings.xml b/src/frontends/android/res/values/strings.xml index 04e09265ec..0dad642339 100644 --- a/src/frontends/android/res/values/strings.xml +++ b/src/frontends/android/res/values/strings.xml @@ -27,6 +27,7 @@ Add VPN profile Edit Delete + Select profiles Selected profiles deleted No profile selected One profile selected diff --git a/src/frontends/android/src/org/strongswan/android/ui/VpnProfileListFragment.java b/src/frontends/android/src/org/strongswan/android/ui/VpnProfileListFragment.java index be0a9004e9..1052558f23 100644 --- a/src/frontends/android/src/org/strongswan/android/ui/VpnProfileListFragment.java +++ b/src/frontends/android/src/org/strongswan/android/ui/VpnProfileListFragment.java @@ -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(); - mode.setTitle("Select Profiles"); + mode.setTitle(R.string.select_profiles); return true; } -- 2.47.2