Bug 675790 - The title of the android file chooser is not i18n ready

This commit is contained in:
Fabrice Desré 2011-08-01 18:17:14 -07:00
parent 3ee5bd65a5
commit 0bdcde7529
3 changed files with 5 additions and 1 deletions

View File

@ -668,7 +668,7 @@ abstract public class GeckoApp
intent.setType(aMimeType);
GeckoApp.this.
startActivityForResult(
Intent.createChooser(intent,"choose a file"),
Intent.createChooser(intent, getString(R.string.choose_file)),
FILE_PICKER_REQUEST);
String filePickerResult = "";
try {

View File

@ -19,3 +19,5 @@
<!ENTITY launcher_shortcuts_title "&brandShortName; Web Apps">
<!ENTITY launcher_shortcuts_empty "No web apps were found">
<!ENTITY choose_file "Choose File">

View File

@ -24,4 +24,6 @@
<string name="launcher_shortcuts_title">&launcher_shortcuts_title;</string>
<string name="launcher_shortcuts_empty">&launcher_shortcuts_empty;</string>
<string name="choose_file">&choose_file;</string>
</resources>