From cbfef09c8145be74bc7c659dfb437b9ac72f74ed Mon Sep 17 00:00:00 2001 From: Philipp Crocoll Date: Wed, 1 Apr 2015 21:26:46 +0200 Subject: [PATCH] allow localization for "Copy to clipboard" string --- .../EntryActivityClasses/CopyToClipboardPopupMenuIcon.cs | 3 +-- src/keepass2android/Resources/values/strings.xml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keepass2android/EntryActivityClasses/CopyToClipboardPopupMenuIcon.cs b/src/keepass2android/EntryActivityClasses/CopyToClipboardPopupMenuIcon.cs index 5084cfa6..96d3120e 100644 --- a/src/keepass2android/EntryActivityClasses/CopyToClipboardPopupMenuIcon.cs +++ b/src/keepass2android/EntryActivityClasses/CopyToClipboardPopupMenuIcon.cs @@ -27,8 +27,7 @@ namespace keepass2android } public string Text { - //TODO localize - get { return "Copy to clipboard"; } + get { return _context.Resources.GetString(Resource.String.copy_to_clipboard); } } diff --git a/src/keepass2android/Resources/values/strings.xml b/src/keepass2android/Resources/values/strings.xml index d9a73540..29c1ccbe 100644 --- a/src/keepass2android/Resources/values/strings.xml +++ b/src/keepass2android/Resources/values/strings.xml @@ -68,6 +68,7 @@ Digits Keepass2Android comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under the conditions of the GPL version 2 or later. \u2026 + Copy to clipboard Enter database filename Accessed