OpenPGP Encryption dialog: Internationalise title and fix for dark theme (#2768)

This commit is contained in:
Philip 2017-09-14 01:39:47 +01:00 committed by GitHub
parent 7c248b47cf
commit 6121486211
4 changed files with 6 additions and 2 deletions

View file

@ -32,7 +32,7 @@
android:layout_marginLeft="6dp" android:layout_marginLeft="6dp"
android:layout_marginRight="6dp" android:layout_marginRight="6dp"
android:textAppearance="?android:textAppearanceMedium" android:textAppearance="?android:textAppearanceMedium"
android:text="OpenPGP Encryption" android:text="@string/openpgp_encryption"
/> />
</LinearLayout> </LinearLayout>
@ -63,7 +63,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:src="@drawable/ic_action_next_message_light" android:src="?attr/iconActionNextStatus"
/> />
<ImageView <ImageView

View file

@ -12,6 +12,7 @@
<attr name="iconActionDelete" format="reference" /> <attr name="iconActionDelete" format="reference" />
<attr name="iconActionMove" format="reference" /> <attr name="iconActionMove" format="reference" />
<attr name="iconActionCopy" format="reference" /> <attr name="iconActionCopy" format="reference" />
<attr name="iconActionNextStatus" format="reference" />
<attr name="iconActionNextMessage" format="reference" /> <attr name="iconActionNextMessage" format="reference" />
<attr name="iconActionPreviousMessage" format="reference" /> <attr name="iconActionPreviousMessage" format="reference" />
<attr name="iconActionRefresh" format="reference" /> <attr name="iconActionRefresh" format="reference" />

View file

@ -1257,4 +1257,5 @@ Please submit bug reports, contribute new features and ask questions at
<string name="openpgp_enabled_error_gotit">Got it</string> <string name="openpgp_enabled_error_gotit">Got it</string>
<string name="openpgp_enabled_error_back">Back</string> <string name="openpgp_enabled_error_back">Back</string>
<string name="openpgp_enabled_error_disable">Disable Encryption</string> <string name="openpgp_enabled_error_disable">Disable Encryption</string>
<string name="openpgp_encryption">OpenPGP Encryption</string>
</resources> </resources>

View file

@ -20,6 +20,7 @@
<item name="iconActionDelete">@drawable/ic_action_delete_light</item> <item name="iconActionDelete">@drawable/ic_action_delete_light</item>
<item name="iconActionMove">@drawable/ic_action_move_light</item> <item name="iconActionMove">@drawable/ic_action_move_light</item>
<item name="iconActionCopy">@drawable/ic_action_copy_light</item> <item name="iconActionCopy">@drawable/ic_action_copy_light</item>
<item name="iconActionNextStatus">@drawable/ic_action_next_message_light</item>
<item name="iconActionNextMessage">@drawable/ic_action_next_message_light</item> <item name="iconActionNextMessage">@drawable/ic_action_next_message_light</item>
<item name="iconActionPreviousMessage">@drawable/ic_action_previous_message_light</item> <item name="iconActionPreviousMessage">@drawable/ic_action_previous_message_light</item>
<item name="iconActionRefresh">@drawable/ic_action_refresh_light</item> <item name="iconActionRefresh">@drawable/ic_action_refresh_light</item>
@ -85,6 +86,7 @@
<item name="iconActionDelete">@drawable/ic_action_delete_dark</item> <item name="iconActionDelete">@drawable/ic_action_delete_dark</item>
<item name="iconActionMove">@drawable/ic_action_move_dark</item> <item name="iconActionMove">@drawable/ic_action_move_dark</item>
<item name="iconActionCopy">@drawable/ic_action_copy_dark</item> <item name="iconActionCopy">@drawable/ic_action_copy_dark</item>
<item name="iconActionNextStatus">@drawable/ic_action_next_message_dark</item>
<item name="iconActionNextMessage">@drawable/ic_action_next_message_dark</item> <item name="iconActionNextMessage">@drawable/ic_action_next_message_dark</item>
<item name="iconActionPreviousMessage">@drawable/ic_action_previous_message_dark</item> <item name="iconActionPreviousMessage">@drawable/ic_action_previous_message_dark</item>
<item name="iconActionRefresh">@drawable/ic_action_refresh_dark</item> <item name="iconActionRefresh">@drawable/ic_action_refresh_dark</item>