Skip to content

Commit 76a1447

Browse files
committed
l10n: add transcriptions for local time
1 parent 21ef1da commit 76a1447

20 files changed

+171
-5
lines changed

assets/l10n/app_ar.arb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,12 @@
77
"wildcardMentionChannelDescription": "إخطار القناة",
88
"wildcardMentionStreamDescription": "إخطار الدفق",
99
"wildcardMentionAllDmDescription": "إخطار المستلمين",
10-
"wildcardMentionTopicDescription": "إخطار الموضوع"
10+
"wildcardMentionTopicDescription": "إخطار الموضوع",
11+
"userLocalTime": "{userTime} الوقت المحلي",
12+
"@userLocalTime": {
13+
"description": "Current time in the user's timezone",
14+
"placeholders": {
15+
"userTime": {"type": "DateTime", "format": "jm"}
16+
}
17+
}
1118
}

assets/l10n/app_de.arb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
{}
1+
{
2+
"userLocalTime": "{userTime} Ortszeit",
3+
"@userLocalTime": {
4+
"description": "Current time in the user's timezone",
5+
"placeholders": {
6+
"userTime": {"type": "DateTime", "format": "jm"}
7+
}
8+
}
9+
}

assets/l10n/app_en.arb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,5 +1006,12 @@
10061006
"zulipAppTitle": "Zulip",
10071007
"@zulipAppTitle": {
10081008
"description": "The name of Zulip. This should be either 'Zulip' or a transliteration."
1009+
},
1010+
"userLocalTime": "{userTime} local time",
1011+
"@userLocalTime": {
1012+
"description": "Current time in the user's timezone",
1013+
"placeholders": {
1014+
"userTime": {"type": "DateTime", "format": "jm"}
1015+
}
10091016
}
10101017
}

assets/l10n/app_ja.arb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,12 @@
1616
"userRoleGuest": "ゲスト",
1717
"@userRoleGuest": {},
1818
"userRoleUnknown": "不明",
19-
"@userRoleUnknown": {}
19+
"@userRoleUnknown": {},
20+
"userLocalTime": "現地時間 {userTime}",
21+
"@userLocalTime": {
22+
"description": "Current time in the user's timezone",
23+
"placeholders": {
24+
"userTime": {"type": "DateTime", "format": "jm"}
25+
}
26+
}
2027
}

assets/l10n/app_pl.arb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,5 +1076,12 @@
10761076
"actionSheetOptionListOfTopics": "Lista wątków",
10771077
"@actionSheetOptionListOfTopics": {
10781078
"description": "Label for navigating to a channel's topic-list page."
1079+
},
1080+
"userLocalTime": "{userTime} czas lokalny",
1081+
"@userLocalTime": {
1082+
"description": "Current time in the user's timezone",
1083+
"placeholders": {
1084+
"userTime": {"type": "DateTime", "format": "jm"}
1085+
}
10791086
}
10801087
}

assets/l10n/app_ru.arb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,5 +1068,12 @@
10681068
"discardDraftForEditConfirmationDialogMessage": "При изменении сообщения текст из поля для редактирования удаляется.",
10691069
"@discardDraftForEditConfirmationDialogMessage": {
10701070
"description": "Message for a confirmation dialog for discarding message text that was typed into the compose box."
1071+
},
1072+
"userLocalTime": "{userTime} местное время",
1073+
"@userLocalTime": {
1074+
"description": "Current time in the user's timezone",
1075+
"placeholders": {
1076+
"userTime": {"type": "DateTime", "format": "jm"}
1077+
}
10711078
}
10721079
}

assets/l10n/app_uk.arb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,5 +1006,12 @@
10061006
"emojiReactionsMore": "більше",
10071007
"@emojiReactionsMore": {
10081008
"description": "Label for a button opening the emoji picker."
1009+
},
1010+
"userLocalTime": "{userTime} місцевий час",
1011+
"@userLocalTime": {
1012+
"description": "Current time in the user's timezone",
1013+
"placeholders": {
1014+
"userTime": {"type": "DateTime", "format": "jm"}
1015+
}
10091016
}
10101017
}

assets/l10n/app_zh_Hans_CN.arb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
{
2-
"settingsPageTitle": "设置"
2+
"settingsPageTitle": "设置",
3+
"userLocalTime": "{userTime} 当地时间",
4+
"@userLocalTime": {
5+
"description": "Current time in the user's timezone",
6+
"placeholders": {
7+
"userTime": {"type": "DateTime", "format": "jm"}
8+
}
9+
}
310
}

assets/l10n/app_zh_Hant_TW.arb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
{
2-
"settingsPageTitle": "設定"
2+
"settingsPageTitle": "設定",
3+
"userLocalTime": "{userTime} 本地時間",
4+
"@userLocalTime": {
5+
"description": "Current time in the user's timezone",
6+
"placeholders": {
7+
"userTime": {"type": "DateTime", "format": "jm"}
8+
}
9+
}
310
}

lib/generated/l10n/zulip_localizations.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,6 +1498,12 @@ abstract class ZulipLocalizations {
14981498
/// In en, this message translates to:
14991499
/// **'Zulip'**
15001500
String get zulipAppTitle;
1501+
1502+
/// Current time in the user's timezone
1503+
///
1504+
/// In en, this message translates to:
1505+
/// **'{userTime} local time'**
1506+
String userLocalTime(DateTime userTime);
15011507
}
15021508

15031509
class _ZulipLocalizationsDelegate

0 commit comments

Comments
 (0)