Skip to content

Commit 4d46cfb

Browse files
author
MritunjayTiwari14
committed
home: Add icons label on main navigation bar.
Labeled the Navigation Bar for each Icon by zulip_localizations, nav bar touch logic replaced IconButton to GestureDetector, which visually decreases reponse time.
1 parent cc2b97e commit 4d46cfb

17 files changed

+193
-22
lines changed

assets/l10n/app_en.arb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,6 +1243,18 @@
12431243
"@wildcardMentionTopicDescription": {
12441244
"description": "Description for \"@topic\" wildcard-mention autocomplete options when writing a channel message."
12451245
},
1246+
"navBarFeedLabel": "Combined feed",
1247+
"@navBarFeedLabel": {
1248+
"description": "Label for the Feed button on the bottom navigation bar."
1249+
},
1250+
"navBarDmLabel": "DMs",
1251+
"@navBarDmLabel": {
1252+
"description": "Label for the Direct Messages button on the bottom navigation bar."
1253+
},
1254+
"navBarMenuLabel": "Menu",
1255+
"@navBarMenuLabel": {
1256+
"description": "Label for the Menu button on the bottom navigation bar."
1257+
},
12461258
"messageIsEditedLabel": "EDITED",
12471259
"@messageIsEditedLabel": {
12481260
"description": "Label for an edited message. (Use ALL CAPS for cased alphabets: Latin, Greek, Cyrillic, etc.)"

lib/generated/l10n/zulip_localizations.dart

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,24 @@ abstract class ZulipLocalizations {
18091809
/// **'Notify topic'**
18101810
String get wildcardMentionTopicDescription;
18111811

1812+
/// Label for the Feed button on the bottom navigation bar.
1813+
///
1814+
/// In en, this message translates to:
1815+
/// **'Combined feed'**
1816+
String get navBarFeedLabel;
1817+
1818+
/// Label for the Direct Messages button on the bottom navigation bar.
1819+
///
1820+
/// In en, this message translates to:
1821+
/// **'DMs'**
1822+
String get navBarDmLabel;
1823+
1824+
/// Label for the Menu button on the bottom navigation bar.
1825+
///
1826+
/// In en, this message translates to:
1827+
/// **'Menu'**
1828+
String get navBarMenuLabel;
1829+
18121830
/// Label for an edited message. (Use ALL CAPS for cased alphabets: Latin, Greek, Cyrillic, etc.)
18131831
///
18141832
/// In en, this message translates to:

lib/generated/l10n/zulip_localizations_ar.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,15 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
10371037
@override
10381038
String get wildcardMentionTopicDescription => 'إخطار الموضوع';
10391039

1040+
@override
1041+
String get navBarFeedLabel => 'Combined feed';
1042+
1043+
@override
1044+
String get navBarDmLabel => 'DMs';
1045+
1046+
@override
1047+
String get navBarMenuLabel => 'Menu';
1048+
10401049
@override
10411050
String get messageIsEditedLabel => 'EDITED';
10421051

lib/generated/l10n/zulip_localizations_de.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,15 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
10601060
@override
10611061
String get wildcardMentionTopicDescription => 'Thema benachrichtigen';
10621062

1063+
@override
1064+
String get navBarFeedLabel => 'Combined feed';
1065+
1066+
@override
1067+
String get navBarDmLabel => 'DMs';
1068+
1069+
@override
1070+
String get navBarMenuLabel => 'Menu';
1071+
10631072
@override
10641073
String get messageIsEditedLabel => 'BEARBEITET';
10651074

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,15 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
10371037
@override
10381038
String get wildcardMentionTopicDescription => 'Notify topic';
10391039

1040+
@override
1041+
String get navBarFeedLabel => 'Combined feed';
1042+
1043+
@override
1044+
String get navBarDmLabel => 'DMs';
1045+
1046+
@override
1047+
String get navBarMenuLabel => 'Menu';
1048+
10401049
@override
10411050
String get messageIsEditedLabel => 'EDITED';
10421051

lib/generated/l10n/zulip_localizations_fr.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,15 @@ class ZulipLocalizationsFr extends ZulipLocalizations {
10511051
@override
10521052
String get wildcardMentionTopicDescription => 'Notify topic';
10531053

1054+
@override
1055+
String get navBarFeedLabel => 'Combined feed';
1056+
1057+
@override
1058+
String get navBarDmLabel => 'DMs';
1059+
1060+
@override
1061+
String get navBarMenuLabel => 'Menu';
1062+
10541063
@override
10551064
String get messageIsEditedLabel => 'EDITED';
10561065

lib/generated/l10n/zulip_localizations_it.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,15 @@ class ZulipLocalizationsIt extends ZulipLocalizations {
10521052
@override
10531053
String get wildcardMentionTopicDescription => 'Notifica argomento';
10541054

1055+
@override
1056+
String get navBarFeedLabel => 'Combined feed';
1057+
1058+
@override
1059+
String get navBarDmLabel => 'DMs';
1060+
1061+
@override
1062+
String get navBarMenuLabel => 'Menu';
1063+
10551064
@override
10561065
String get messageIsEditedLabel => 'MODIFICATO';
10571066

lib/generated/l10n/zulip_localizations_ja.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,15 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
10161016
@override
10171017
String get wildcardMentionTopicDescription => 'トピック参加者に通知';
10181018

1019+
@override
1020+
String get navBarFeedLabel => 'Combined feed';
1021+
1022+
@override
1023+
String get navBarDmLabel => 'DMs';
1024+
1025+
@override
1026+
String get navBarMenuLabel => 'Menu';
1027+
10191028
@override
10201029
String get messageIsEditedLabel => '編集済み';
10211030

lib/generated/l10n/zulip_localizations_nb.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,15 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
10371037
@override
10381038
String get wildcardMentionTopicDescription => 'Notify topic';
10391039

1040+
@override
1041+
String get navBarFeedLabel => 'Combined feed';
1042+
1043+
@override
1044+
String get navBarDmLabel => 'DMs';
1045+
1046+
@override
1047+
String get navBarMenuLabel => 'Menu';
1048+
10401049
@override
10411050
String get messageIsEditedLabel => 'EDITED';
10421051

lib/generated/l10n/zulip_localizations_pl.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,6 +1052,15 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
10521052
@override
10531053
String get wildcardMentionTopicDescription => 'Powiadom w wątku';
10541054

1055+
@override
1056+
String get navBarFeedLabel => 'Combined feed';
1057+
1058+
@override
1059+
String get navBarDmLabel => 'DMs';
1060+
1061+
@override
1062+
String get navBarMenuLabel => 'Menu';
1063+
10551064
@override
10561065
String get messageIsEditedLabel => 'ZMIENIONO';
10571066

0 commit comments

Comments
 (0)