Loading res/values/cm_strings.xml +3 −0 Original line number Diff line number Diff line Loading @@ -17,4 +17,7 @@ <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- Text indicating the time a media item was recorded in details window [CHAR LIMIT=14] --> <string name="record_time">Record time</string> <!-- Used in toast message when more than one picture is selected [CHAR LIMIT=50] --> <string name="select_one_picture">Please select one picture</string> </resources> No newline at end of file src/com/android/gallery3d/gadget/WidgetConfigure.java +1 −1 Original line number Diff line number Diff line Loading @@ -150,7 +150,7 @@ public class WidgetConfigure extends Activity { int widgetHeight = Math.round(height * scale); if (data.getData() != null && data.getData().toString().contains("/video/media")) { Toast.makeText(this, "Please select one picture", Toast.LENGTH_LONG).show(); Toast.makeText(this, R.string.select_one_picture, Toast.LENGTH_LONG).show(); Intent request = new Intent(this, DialogPicker.class) .setAction(Intent.ACTION_GET_CONTENT) .setType("image/*"); Loading Loading
res/values/cm_strings.xml +3 −0 Original line number Diff line number Diff line Loading @@ -17,4 +17,7 @@ <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <!-- Text indicating the time a media item was recorded in details window [CHAR LIMIT=14] --> <string name="record_time">Record time</string> <!-- Used in toast message when more than one picture is selected [CHAR LIMIT=50] --> <string name="select_one_picture">Please select one picture</string> </resources> No newline at end of file
src/com/android/gallery3d/gadget/WidgetConfigure.java +1 −1 Original line number Diff line number Diff line Loading @@ -150,7 +150,7 @@ public class WidgetConfigure extends Activity { int widgetHeight = Math.round(height * scale); if (data.getData() != null && data.getData().toString().contains("/video/media")) { Toast.makeText(this, "Please select one picture", Toast.LENGTH_LONG).show(); Toast.makeText(this, R.string.select_one_picture, Toast.LENGTH_LONG).show(); Intent request = new Intent(this, DialogPicker.class) .setAction(Intent.ACTION_GET_CONTENT) .setType("image/*"); Loading