Added automatic charset option

This commit is contained in:
M66B 2022-06-11 08:21:09 +02:00
parent 3adde38a53
commit d4b8911e1f
2 changed files with 4 additions and 0 deletions

View File

@ -6084,6 +6084,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
protected void onExecuted(Bundle args, SortedMap<String, Charset> charsets) {
PopupMenuLifecycle popupMenu = new PopupMenuLifecycle(context, powner, ibMore);
popupMenu.getMenu().add(Menu.NONE, 0, 0, R.string.title_charset_auto)
.setIntent(new Intent().putExtra("charset", (String) null));
int order = 0;
for (String name : charsets.keySet()) {
order++;

View File

@ -1473,6 +1473,7 @@
<string name="title_thread_info" translatable="false">Thread info</string>
<string name="title_resync">Resync</string>
<string name="title_charset">Encoding</string>
<string name="title_charset_auto">Automatic</string>
<string name="title_alternative_text">Show plain text</string>
<string name="title_alternative_html">Show HTML</string>
<string name="title_no_openpgp">OpenKeychain not found</string>