token-import: extract string resources

This commit is contained in:
Vincent Breitmoser
2017-09-05 03:22:11 +02:00
parent e9efc07b74
commit 050aed1ef5
2 changed files with 20 additions and 11 deletions

View File

@@ -22,7 +22,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:text="Gathering information for Security Token…"
android:text="@string/token_status_title"
style="?android:textAppearanceMedium"/>
<LinearLayout
@@ -66,7 +66,7 @@
android:layout_height="wrap_content"
android:minHeight="?listPreferredItemHeight"
android:gravity="center_vertical"
android:text="Key not found!"
android:text="@string/token_status_not_found"
style="?android:textAppearanceLarge"
/>
@@ -78,7 +78,7 @@
android:drawableStart="@drawable/ic_repeat_grey_24dp"
android:drawablePadding="12dp"
android:textColor="@color/card_view_button"
android:text="Retry Search"
android:text="@string/token_status_retry"
style="?borderlessButtonStyle"
/>
@@ -90,7 +90,7 @@
android:drawableStart="@drawable/ic_folder_grey_24dp"
android:drawablePadding="12dp"
android:textColor="@color/card_view_button"
android:text="Load from File"
android:text="@string/token_status_load_from_file"
style="?borderlessButtonStyle"
/>
@@ -102,7 +102,7 @@
android:drawableStart="@drawable/ic_bomb_24dp"
android:drawablePadding="12dp"
android:textColor="@color/android_red_dark"
android:text="Reset Security Token"
android:text="@string/token_status_reset"
style="?borderlessButtonStyle"
/>
@@ -119,7 +119,7 @@
android:layout_height="wrap_content"
android:minHeight="?listPreferredItemHeight"
android:gravity="center_vertical"
android:text="Key found!"
android:text="@string/token_status_key_found"
style="?android:textAppearanceLarge"
/>
@@ -131,7 +131,7 @@
android:drawableStart="@drawable/ic_key_plus_grey600_24dp"
android:drawablePadding="12dp"
android:textColor="@color/card_view_button"
android:text="Import"
android:text="@string/token_status_import"
style="?borderlessButtonStyle"
/>
@@ -143,7 +143,7 @@
android:drawableStart="@drawable/ic_bomb_24dp"
android:drawablePadding="12dp"
android:textColor="@color/android_red_dark"
android:text="Reset Security Token"
android:text="@string/token_status_reset"
style="?borderlessButtonStyle"
/>
@@ -160,7 +160,7 @@
android:layout_height="wrap_content"
android:minHeight="?listPreferredItemHeight"
android:gravity="center_vertical"
android:text="Ready for use!"
android:text="@string/token_status_token_ok"
style="?android:textAppearanceLarge"
/>
@@ -172,7 +172,7 @@
android:drawableStart="@drawable/ic_vpn_key_grey_24dp"
android:drawablePadding="12dp"
android:textColor="@color/card_view_button"
android:text="View Key"
android:text="@string/token_status_view_key"
style="?borderlessButtonStyle"
/>
@@ -184,7 +184,7 @@
android:drawableStart="@drawable/ic_bomb_24dp"
android:drawablePadding="12dp"
android:textColor="@color/android_red_dark"
android:text="Reset Security Token"
android:text="@string/token_status_reset"
style="?borderlessButtonStyle"
/>

View File

@@ -1928,5 +1928,14 @@
<string name="token_reset_confirm_title">Reset Security Token?</string>
<string name="token_reset_confirm_message">This will irrecoverably delete the key stored on this Security Token. You will no longer be able to use this key for decryption! Are you sure?</string>
<string name="token_reset_confirm_ok">Reset</string>
<string name="token_status_title">Gathering information for Security Token…</string>
<string name="token_status_not_found">Key not found!</string>
<string name="token_status_retry">Retry Search</string>
<string name="token_status_load_from_file">Load from File</string>
<string name="token_status_reset">Reset Security Token</string>
<string name="token_status_key_found">Key found!</string>
<string name="token_status_import">Import</string>
<string name="token_status_token_ok">Ready for use!</string>
<string name="token_status_view_key">View Key</string>
</resources>