[Android] res: Don't hardcode please wait

Edward Wang git at videolan.org
Wed Aug 22 04:24:57 CEST 2012


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Tue Aug 21 22:21:10 2012 -0400| [a778d429b5d84775c7ce275ee37fa91052ed4cda] | committer: Edward Wang

res: Don't hardcode please wait

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=a778d429b5d84775c7ce275ee37fa91052ed4cda
---

 vlc-android/res/values/strings.xml                    |    1 +
 vlc-android/src/org/videolan/vlc/VLCCallbackTask.java |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index e04402b..74db932 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -62,6 +62,7 @@
     <string name="directory">Directory</string>
     <string name="directories">Directories</string>
     <string name="loading">Loading…</string>
+    <string name="please_wait">Please wait…</string>
     <string name="nomedia">No media files found, please transfer files to your device or adjust your preferences.</string>
     <string name="mediafiles">Media files</string>
     <string name="notavailable">not available</string>
diff --git a/vlc-android/src/org/videolan/vlc/VLCCallbackTask.java b/vlc-android/src/org/videolan/vlc/VLCCallbackTask.java
index 92623b7..47a6de0 100644
--- a/vlc-android/src/org/videolan/vlc/VLCCallbackTask.java
+++ b/vlc-android/src/org/videolan/vlc/VLCCallbackTask.java
@@ -51,7 +51,7 @@ public abstract class VLCCallbackTask extends AsyncTask<Void, Void, Void> {
             dialog = ProgressDialog.show(
                     context,
                     context.getApplicationContext().getString(R.string.loading),
-                    "Please wait...", true);
+                    context.getApplicationContext().getString(R.string.please_wait), true);
             dialog.setCancelable(true);
         }
         super.onPreExecute();



More information about the Android mailing list