Refactoring push helper

This commit is contained in:
Christian Pauly 2020-05-07 11:13:54 +02:00
commit 11a260d7e2
4 changed files with 40 additions and 13 deletions

View file

@ -1166,6 +1166,13 @@
"unreadEvents": {}
}
},
"unreadChats": "{unreadCount} ungelesene Unterhaltungen",
"@unreadChats": {
"type": "text",
"placeholders": {
"unreadCount": {}
}
},
"unreadMessagesInChats": "{unreadEvents} ungelesene Nachrichten in {unreadChats} Chats",
"@unreadMessagesInChats": {
"type": "text",

View file

@ -1,5 +1,5 @@
{
"@@last_modified": "2020-05-07T07:52:19.301540",
"@@last_modified": "2020-05-07T11:13:43.051811",
"About": "About",
"@About": {
"type": "text",
@ -785,6 +785,11 @@
"type": "text",
"placeholders": {}
},
"Open app to read messages": "Open app to read messages",
"@Open app to read messages": {
"type": "text",
"placeholders": {}
},
"Open camera": "Open camera",
"@Open camera": {
"type": "text",
@ -1164,6 +1169,13 @@
"type": {}
}
},
"unreadChats": "{unreadCount} unread chats",
"@unreadChats": {
"type": "text",
"placeholders": {
"unreadCount": {}
}
},
"unreadMessages": "{unreadEvents} unread messages",
"@unreadMessages": {
"type": "text",

View file

@ -490,6 +490,8 @@ class L10n extends MatrixLocalizations {
String get oopsSomethingWentWrong =>
Intl.message("Oops something went wrong...");
String get openAppToReadMessages => Intl.message('Open app to read messages');
String get openCamera => Intl.message('Open camera');
String get optionalGroupName => Intl.message("(Optional) Group name");
@ -705,6 +707,12 @@ class L10n extends MatrixLocalizations {
args: [type],
);
String unreadChats(String unreadCount) => Intl.message(
"$unreadCount unread chats",
name: "unreadChats",
args: [unreadCount],
);
String unreadMessages(String unreadEvents) => Intl.message(
"$unreadEvents unread messages",
name: "unreadMessages",