diff options
author | Danny Baumann <dannybaumann@web.de> | 2016-02-05 13:22:56 +0100 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2016-02-05 13:24:09 +0100 |
commit | 4891622972d196770bb7aab5f5157ecf97713ce7 (patch) | |
tree | 0c298de76ce729048f3795708d8e6efdf5cca274 /main | |
parent | 6b269d931319667d327c5a8f69bd1c2a877babe3 (diff) |
Extract another hardcoded string.
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/fragments/ShowConfigFragment.java | 4 | ||||
-rwxr-xr-x | main/src/main/res/values/strings.xml | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/fragments/ShowConfigFragment.java b/main/src/main/java/de/blinkt/openvpn/fragments/ShowConfigFragment.java index 09b83bab..bc763a9d 100644 --- a/main/src/main/java/de/blinkt/openvpn/fragments/ShowConfigFragment.java +++ b/main/src/main/java/de/blinkt/openvpn/fragments/ShowConfigFragment.java @@ -84,7 +84,7 @@ public class ShowConfigFragment extends Fragment { shareIntent.putExtra(Intent.EXTRA_TEXT, configtext); shareIntent.putExtra(Intent.EXTRA_SUBJECT, getString(R.string.export_config_title)); shareIntent.setType("text/plain"); - startActivity(Intent.createChooser(shareIntent, "Export Configfile")); + startActivity(Intent.createChooser(shareIntent, getString(R.string.export_config_chooser_title))); } @Override @@ -117,4 +117,4 @@ public class ShowConfigFragment extends Fragment { startGenConfig(vp, mConfigView); } } -}
\ No newline at end of file +} diff --git a/main/src/main/res/values/strings.xml b/main/src/main/res/values/strings.xml index f88fbb8f..c41a0759 100755 --- a/main/src/main/res/values/strings.xml +++ b/main/src/main/res/values/strings.xml @@ -399,4 +399,5 @@ <string name="pw_request_dialog_title">Need %1$s</string> <string name="pw_request_dialog_prompt">Please enter the password for profile %1$s</string> <string name="menu_use_inline_data">Use inline data</string> + <string name="export_config_chooser_title">Export configuration file</string> </resources> |