refined system messages

This commit is contained in:
B. Petersen
2019-01-16 00:29:26 +01:00
parent 77889ac2d6
commit ef02f5a667
2 changed files with 7 additions and 1 deletions
+5 -1
View File
@@ -397,10 +397,14 @@
<string name="systemmsg_group_image_deleted">Group image deleted.</string>
<string name="systemmsg_member_added">Member %1$s added.</string>
<string name="systemmsg_member_removed">Member %1$s removed.</string>
<string name="systemmsg_group_left">Group left.</string>
<string name="systemmsg_group_left">%1$s left this group.</string>
<string name="systemmsg_read_receipt_subject">Read receipt</string>
<string name="systemmsg_read_receipt_body">This is a read receipt for the message \"%1$s\".\n\nIt means that message was displayed on the recipient\'s device, not necessarily that the content was read.</string>
<string name="systemmsg_cannot_decrypt">This message cannot be decrypted.\n\n• It might already help to simply reply to this message and ask the sender to send the message again.\n\n• In case you re-installed Delta Chat or another email program on this or another device you may want to send an Autocrypt Setup Message from there.</string>
<!-- Translators: %1$s will be replaced by sth. as "member xy added" (trailing full-stop removed). %2$s will be replaced by the name/addr of the person who did this action. -->
<string name="systemmsg_action_by_me">%1$s by me.</string>
<!-- Translators: %1$s will be replaced by sth. as "member xy added" (trailing full-stop removed). -->
<string name="systemmsg_action_by_user">%1$s by %2$s.</string>
<!-- screen lock -->
@@ -646,6 +646,8 @@ public class ApplicationDcContext extends DcContext {
case 50: s = context.getString(R.string.chat_self_talk_subtitle); break;
case 60: s = context.getString(R.string.login_error_cannot_login); break;
case 61: s = context.getString(R.string.login_error_server_response); break;
case 62: s = context.getString(R.string.systemmsg_action_by_user); break;
case 63: s = context.getString(R.string.systemmsg_action_by_me); break;
default: s = null; break;
}
return stringToData(s);