[Android] Extract string resource

Geoffrey Métais git at videolan.org
Fri Feb 26 14:59:56 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb 26 11:59:04 2016 +0100| [e547ebc85997869f45bbfbd7a0efff06a7cb1ac4] | committer: Geoffrey Métais

Extract string resource

> https://code.videolan.org/videolan/vlc-android/commit/e547ebc85997869f45bbfbd7a0efff06a7cb1ac4
---

 vlc-android/res/layout/vlc_login_dialog.xml | 2 +-
 vlc-android/res/values/strings.xml          | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/vlc_login_dialog.xml b/vlc-android/res/layout/vlc_login_dialog.xml
index 0cc59fb..cef2d74 100644
--- a/vlc-android/res/layout/vlc_login_dialog.xml
+++ b/vlc-android/res/layout/vlc_login_dialog.xml
@@ -54,7 +54,7 @@
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_below="@+id/password_container"
-            android:text="store"
+            android:text="@string/store_password"
             android:layout_alignParentLeft="true"
             android:layout_margin="5dp"
             android:visibility="@{dialog.asksStore() ? View.VISIBLE : View.GONE}"/>
diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index 7b97b83..1680b63 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -595,6 +595,7 @@
     <string name="network_favorites">Network favorites</string>
     <string name="network_shared_folders">Shared folders</string>
     <string name="encryption_warning">Warning, encryption is not available for this Android version, password will be stored in a private space but not encrypted</string>
+    <string name="store_password">Remember password</string>
 
     <string-array name="chroma_formats" translatable="false">
         <item>RGB 32-bit</item>



More information about the Android mailing list