Updated text

This commit is contained in:
M66B 2020-02-11 10:11:32 +01:00
parent 615cd71f98
commit e8d2d08f9a
3 changed files with 12 additions and 5 deletions

View File

@ -3472,7 +3472,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
Log.unexpectedError(parentFragment.getParentFragmentManager(), ex);
}
} else {
if ("more".equals(uri.getScheme())) {
if ("full".equals(uri.getScheme())) {
TupleMessageEx message = getMessage();
if (message != null)
onShow(message, true);

View File

@ -730,13 +730,19 @@ public class HtmlHelper {
document.normalise();
}
if (length > MAX_TEXT_SIZE)
if (length > MAX_TEXT_SIZE) {
document.body()
.appendElement("p")
.appendElement("em")
.text(context.getString(R.string.title_too_large));
document.body()
.appendElement("p")
.appendElement("big")
.appendElement("a")
.attr("href", "more:")
.text(context.getString(R.string.title_show_more));
.attr("href", "full:")
.text(context.getString(R.string.title_show_full));
}
return document;
}

View File

@ -694,7 +694,8 @@
<string name="title_no_format">The originally received message will be included</string>
<string name="title_no_image">Image could not be decoded</string>
<string name="title_no_search">Search on server is not available for this account</string>
<string name="title_show_more">Show more &#8230;</string>
<string name="title_too_large">Message too large to completely reformat</string>
<string name="title_show_full">Show full message</string>
<string name="title_unused_inline">Unused inline images will be removed on send</string>
<string name="title_accross_remark">Messages moved across accounts will be downloaded again resulting in extra data usage</string>
<string name="title_raw_saved">Raw message saved</string>