From efc5565b915defe7ecb50655d1759987dbcc4fde Mon Sep 17 00:00:00 2001 From: cketti Date: Mon, 7 Apr 2014 20:24:01 +0200 Subject: [PATCH] Extract hardcoded string from layout --- res/layout/message_view_openpgp_layout.xml | 4 ++-- res/values/strings.xml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/res/layout/message_view_openpgp_layout.xml b/res/layout/message_view_openpgp_layout.xml index 76dd8376b..6f87b6d46 100644 --- a/res/layout/message_view_openpgp_layout.xml +++ b/res/layout/message_view_openpgp_layout.xml @@ -62,7 +62,7 @@ android:layout_toRightOf="@+id/openpgp_signature_layout_image" android:ellipsize="end" android:paddingLeft="5dip" - android:text="User Id" + android:text="@string/openpgp_user_id" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="?android:textColorPrimaryInverse" /> @@ -88,4 +88,4 @@ android:padding="4dp" android:visibility="gone" /> - \ No newline at end of file + diff --git a/res/values/strings.xml b/res/values/strings.xml index bc0e7b274..452e61659 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1155,5 +1155,6 @@ Please submit bug reports, contribute new features and ask questions at Successful decryption but missing public key Lookup missing key OpenPGP Error: + User Id