diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2015-09-11 16:56:31 +0000 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2015-09-11 18:32:49 +0000 |
commit | a952540aeba688b10eb1ecd1194c95610ba7f350 (patch) | |
tree | cb842a4c040f59d33d29834eb2f19a1cb8eb6d68 /android/source/src | |
parent | 315ca033c696a6d7339a4c3f2fc617e01d80fcb8 (diff) |
Android: i18-ize some strings
Change-Id: I35d0ef7976d6dcca65f3335ff9175c799faa99fe
Diffstat (limited to 'android/source/src')
-rw-r--r-- | android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java b/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java index 255c4744ea39..c7fb3427bbec 100644 --- a/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java +++ b/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java @@ -258,7 +258,7 @@ public class LibreOfficeMainActivity extends ActionBarActivity { private void saveDocument() { final long lastModified = mInputFile.lastModified(); final Activity activity = LibreOfficeMainActivity.this; - Toast.makeText(this, "Saving the document...", Toast.LENGTH_SHORT).show(); + Toast.makeText(this, R.string.message_saving, Toast.LENGTH_SHORT).show(); // local save LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:Save")); @@ -287,8 +287,8 @@ public class LibreOfficeMainActivity extends ActionBarActivity { @Override protected void onPostExecute(Void param) { - Toast.makeText(activity, "Save complete", Toast.LENGTH_SHORT) - .show(); + Toast.makeText(activity, R.string.message_saved, + Toast.LENGTH_SHORT).show(); } }; // Delay the call to document provider save operation and check the @@ -312,7 +312,7 @@ public class LibreOfficeMainActivity extends ActionBarActivity { // 20 seconds later, the local file has not changed, // maybe there were no changes at all Toast.makeText(activity, - "Save incomplete. Were there any changes?", + R.string.message_save_incomplete, Toast.LENGTH_LONG).show(); } } |