Updated text

pull/174/head
M66B 5 years ago
parent 615cd71f98
commit e8d2d08f9a

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

@ -730,13 +730,19 @@ public class HtmlHelper {
document.normalise(); 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() document.body()
.appendElement("p") .appendElement("p")
.appendElement("big") .appendElement("big")
.appendElement("a") .appendElement("a")
.attr("href", "more:") .attr("href", "full:")
.text(context.getString(R.string.title_show_more)); .text(context.getString(R.string.title_show_full));
}
return document; return document;
} }

@ -694,7 +694,8 @@
<string name="title_no_format">The originally received message will be included</string> <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_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_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_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_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> <string name="title_raw_saved">Raw message saved</string>

Loading…
Cancel
Save