diff options
author | SammysHP <sven@sammyshp.de> | 2012-04-27 09:27:43 +0200 |
---|---|---|
committer | SammysHP <sven@sammyshp.de> | 2012-04-27 09:27:43 +0200 |
commit | f24830a8aea75717d8151c009539991c036bcbc5 (patch) | |
tree | d3b15082e913db33357ebe357035be7412ae4f6a /main | |
parent | cfdca4e9d09ba1a496d682850dc893c397c895c4 (diff) | |
download | cgeo-f24830a8aea75717d8151c009539991c036bcbc5.zip cgeo-f24830a8aea75717d8151c009539991c036bcbc5.tar.gz cgeo-f24830a8aea75717d8151c009539991c036bcbc5.tar.bz2 |
New: Verbose copy
Diffstat (limited to 'main')
-rw-r--r-- | main/res/values-de/strings.xml | 2 | ||||
-rw-r--r-- | main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | main/src/cgeo/geocaching/CacheDetailActivity.java | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/main/res/values-de/strings.xml b/main/res/values-de/strings.xml index 3a1b26f..95f414a 100644 --- a/main/res/values-de/strings.xml +++ b/main/res/values-de/strings.xml @@ -926,4 +926,6 @@ <item quantity="one">vor einer Minute</item> <item quantity="other">vor %d Minuten</item> </plurals> + + <string name="clipboard_copy_ok">In Zwischenablage kopiert</string> </resources> diff --git a/main/res/values/strings.xml b/main/res/values/strings.xml index dcb5283..ca15692 100644 --- a/main/res/values/strings.xml +++ b/main/res/values/strings.xml @@ -962,6 +962,8 @@ <item quantity="one">one Minute ago</item> <item quantity="other">%d Minutes ago</item> </plurals> + + <string name="clipboard_copy_ok">Copied to clipboard</string> <!-- ====== please, do not translate (and include in translation) things below this line ====== --> diff --git a/main/src/cgeo/geocaching/CacheDetailActivity.java b/main/src/cgeo/geocaching/CacheDetailActivity.java index 6b5199c..01d57f3 100644 --- a/main/src/cgeo/geocaching/CacheDetailActivity.java +++ b/main/src/cgeo/geocaching/CacheDetailActivity.java @@ -470,6 +470,7 @@ public class CacheDetailActivity extends AbstractActivity { switch (index) { case MENU_FIELD_COPY: ClipboardUtils.copyToClipboard(clickedItemText); + showToast(res.getString(R.string.clipboard_copy_ok)); return true; case MENU_FIELD_TRANSLATE: TranslationUtils.startActivityTranslate(this, Locale.getDefault().getLanguage(), clickedItemText.toString()); |