diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-04-12 13:56:37 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-04-16 16:37:13 +0100 |
commit | 4349a0a7605acc2c3aa6ce9e309a3c1dfea26912 (patch) | |
tree | 4256ff95f8888bc65c81cf7c3099df781d4df8ef /android/src/com/artifex/mupdfdemo | |
parent | 26be38721211566a159e20af9b71c410f9faacd8 (diff) | |
download | mupdf-4349a0a7605acc2c3aa6ce9e309a3c1dfea26912.tar.xz |
android: More string cleanups.
Diffstat (limited to 'android/src/com/artifex/mupdfdemo')
-rw-r--r-- | android/src/com/artifex/mupdfdemo/ChoosePDFActivity.java | 2 | ||||
-rw-r--r-- | android/src/com/artifex/mupdfdemo/MuPDFPageView.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/android/src/com/artifex/mupdfdemo/ChoosePDFActivity.java b/android/src/com/artifex/mupdfdemo/ChoosePDFActivity.java index c7b8ef2e..8b8bde8e 100644 --- a/android/src/com/artifex/mupdfdemo/ChoosePDFActivity.java +++ b/android/src/com/artifex/mupdfdemo/ChoosePDFActivity.java @@ -114,7 +114,7 @@ public class ChoosePDFActivity extends ListActivity { adapter.clear(); if (mParent != null) - adapter.add(new ChoosePDFItem(ChoosePDFItem.Type.PARENT, getString(R.string._up_one_level_))); + adapter.add(new ChoosePDFItem(ChoosePDFItem.Type.PARENT, getString(R.string.parent_directory))); for (File f : mDirs) adapter.add(new ChoosePDFItem(ChoosePDFItem.Type.DIR, f.getName())); for (File f : mFiles) diff --git a/android/src/com/artifex/mupdfdemo/MuPDFPageView.java b/android/src/com/artifex/mupdfdemo/MuPDFPageView.java index b4d816ac..043b90ab 100644 --- a/android/src/com/artifex/mupdfdemo/MuPDFPageView.java +++ b/android/src/com/artifex/mupdfdemo/MuPDFPageView.java @@ -81,7 +81,7 @@ public class MuPDFPageView extends PageView implements MuPDFView { super(c, parentSize); mCore = core; mTextEntryBuilder = new AlertDialog.Builder(c); - mTextEntryBuilder.setTitle("MuPDF: "+getContext().getString(R.string.fill_out_text_field)); + mTextEntryBuilder.setTitle(getContext().getString(R.string.fill_out_text_field)); LayoutInflater inflater = (LayoutInflater)c.getSystemService(Context.LAYOUT_INFLATER_SERVICE); mEditText = (EditText)inflater.inflate(R.layout.textentry, null); mTextEntryBuilder.setView(mEditText); @@ -111,7 +111,7 @@ public class MuPDFPageView extends PageView implements MuPDFView { mTextEntry = mTextEntryBuilder.create(); mChoiceEntryBuilder = new AlertDialog.Builder(c); - mChoiceEntryBuilder.setTitle("MuPDF: "+getContext().getString(R.string.choose_value)); + mChoiceEntryBuilder.setTitle(getContext().getString(R.string.choose_value)); } public LinkInfo hitLink(float x, float y) { |