Skip to content

Commit 4e5d5f9

Browse files
home: Show current organization's name and logo atop main menu
Fixes: #1037
1 parent faf4545 commit 4e5d5f9

17 files changed

+161
-20
lines changed

assets/l10n/app_en.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
"@switchAccountButton": {
4444
"description": "Label for main-menu button leading to the choose-account page."
4545
},
46+
"organizationsButton": "Organizations",
47+
"@organizationsButton": {
48+
"description": "Label for main-menu header button leading to the choose-account page."
49+
},
4650
"tryAnotherAccountMessage": "Your account at {url} is taking a while to load.",
4751
"@tryAnotherAccountMessage": {
4852
"description": "Message that appears on the loading screen after waiting for some time.",

lib/generated/l10n/zulip_localizations.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,12 @@ abstract class ZulipLocalizations {
197197
/// **'Switch account'**
198198
String get switchAccountButton;
199199

200+
/// Label for main-menu header button leading to the choose-account page.
201+
///
202+
/// In en, this message translates to:
203+
/// **'Organizations'**
204+
String get organizationsButton;
205+
200206
/// Message that appears on the loading screen after waiting for some time.
201207
///
202208
/// In en, this message translates to:

lib/generated/l10n/zulip_localizations_ar.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
4343
@override
4444
String get switchAccountButton => 'تبديل الحساب';
4545

46+
@override
47+
String get organizationsButton => 'Organizations';
48+
4649
@override
4750
String tryAnotherAccountMessage(Object url) {
4851
return 'Your account at $url is taking a while to load.';

lib/generated/l10n/zulip_localizations_de.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
4343
@override
4444
String get switchAccountButton => 'Konto wechseln';
4545

46+
@override
47+
String get organizationsButton => 'Organizations';
48+
4649
@override
4750
String tryAnotherAccountMessage(Object url) {
4851
return 'Dein Account bei $url benötigt einige Zeit zum Laden.';

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
4343
@override
4444
String get switchAccountButton => 'Switch account';
4545

46+
@override
47+
String get organizationsButton => 'Organizations';
48+
4649
@override
4750
String tryAnotherAccountMessage(Object url) {
4851
return 'Your account at $url is taking a while to load.';

lib/generated/l10n/zulip_localizations_fr.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ class ZulipLocalizationsFr extends ZulipLocalizations {
4444
@override
4545
String get switchAccountButton => 'Changer de compte';
4646

47+
@override
48+
String get organizationsButton => 'Organizations';
49+
4750
@override
4851
String tryAnotherAccountMessage(Object url) {
4952
return 'Votre compte à $url prend du temps à se charger.';

lib/generated/l10n/zulip_localizations_it.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class ZulipLocalizationsIt extends ZulipLocalizations {
4343
@override
4444
String get switchAccountButton => 'Cambia account';
4545

46+
@override
47+
String get organizationsButton => 'Organizations';
48+
4649
@override
4750
String tryAnotherAccountMessage(Object url) {
4851
return 'Il caricamento dell\'account su $url sta richiedendo un po\' di tempo.';

lib/generated/l10n/zulip_localizations_ja.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
4242
@override
4343
String get switchAccountButton => 'アカウントを切り替える';
4444

45+
@override
46+
String get organizationsButton => 'Organizations';
47+
4548
@override
4649
String tryAnotherAccountMessage(Object url) {
4750
return '$url のアカウントの読み込みに時間がかかっています。';

lib/generated/l10n/zulip_localizations_nb.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
4343
@override
4444
String get switchAccountButton => 'Switch account';
4545

46+
@override
47+
String get organizationsButton => 'Organizations';
48+
4649
@override
4750
String tryAnotherAccountMessage(Object url) {
4851
return 'Your account at $url is taking a while to load.';

lib/generated/l10n/zulip_localizations_pl.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
4343
@override
4444
String get switchAccountButton => 'Przełącz konto';
4545

46+
@override
47+
String get organizationsButton => 'Organizations';
48+
4649
@override
4750
String tryAnotherAccountMessage(Object url) {
4851
return 'Twoje konto na $url wymaga jeszcze chwili na załadowanie.';

0 commit comments

Comments
 (0)