Skip to content

Commit 6fd5a6b

Browse files
share: Support switching accounts
Co-Authored-By: Chris Bobbe <[email protected]> Fixes: #1779
1 parent 4eaa3a7 commit 6fd5a6b

21 files changed

+199
-9
lines changed

assets/l10n/app_en.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,10 @@
12201220
"allChannelsPageTitle": {"type": "String", "example": "All channels"}
12211221
}
12221222
},
1223+
"shareChooseAccountLabel": "Choose an account",
1224+
"@shareChooseAccountLabel": {
1225+
"description": "Label for the page about selecting an account to share content received from other apps."
1226+
},
12231227
"mainMenuMyProfile": "My profile",
12241228
"@mainMenuMyProfile": {
12251229
"description": "Label for main-menu button leading to the user's own profile."

lib/generated/l10n/zulip_localizations.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,6 +1787,12 @@ abstract class ZulipLocalizations {
17871787
/// **'Try going to <z-link>{allChannelsPageTitle}</z-link> and joining some of them.'**
17881788
String channelsEmptyPlaceholderMessage(String allChannelsPageTitle);
17891789

1790+
/// Label for the page about selecting an account to share content received from other apps.
1791+
///
1792+
/// In en, this message translates to:
1793+
/// **'Choose an account'**
1794+
String get shareChooseAccountLabel;
1795+
17901796
/// Label for main-menu button leading to the user's own profile.
17911797
///
17921798
/// 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
@@ -1025,6 +1025,9 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
10251025
return 'Try going to <z-link>$allChannelsPageTitle</z-link> and joining some of them.';
10261026
}
10271027

1028+
@override
1029+
String get shareChooseAccountLabel => 'Choose an account';
1030+
10281031
@override
10291032
String get mainMenuMyProfile => 'My profile';
10301033

lib/generated/l10n/zulip_localizations_de.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,9 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
10501050
return 'Versuche, nach <z-link>$allChannelsPageTitle</z-link> zu gehen und einigen davon beizutreten.';
10511051
}
10521052

1053+
@override
1054+
String get shareChooseAccountLabel => 'Choose an account';
1055+
10531056
@override
10541057
String get mainMenuMyProfile => 'Mein Profil';
10551058

lib/generated/l10n/zulip_localizations_el.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,9 @@ class ZulipLocalizationsEl extends ZulipLocalizations {
10251025
return 'Try going to <z-link>$allChannelsPageTitle</z-link> and joining some of them.';
10261026
}
10271027

1028+
@override
1029+
String get shareChooseAccountLabel => 'Choose an account';
1030+
10281031
@override
10291032
String get mainMenuMyProfile => 'My profile';
10301033

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,9 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
10251025
return 'Try going to <z-link>$allChannelsPageTitle</z-link> and joining some of them.';
10261026
}
10271027

1028+
@override
1029+
String get shareChooseAccountLabel => 'Choose an account';
1030+
10281031
@override
10291032
String get mainMenuMyProfile => 'My profile';
10301033

lib/generated/l10n/zulip_localizations_es.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,9 @@ class ZulipLocalizationsEs extends ZulipLocalizations {
10251025
return 'Try going to <z-link>$allChannelsPageTitle</z-link> and joining some of them.';
10261026
}
10271027

1028+
@override
1029+
String get shareChooseAccountLabel => 'Choose an account';
1030+
10281031
@override
10291032
String get mainMenuMyProfile => 'My profile';
10301033

lib/generated/l10n/zulip_localizations_fr.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,9 @@ class ZulipLocalizationsFr extends ZulipLocalizations {
10411041
return 'Try going to <z-link>$allChannelsPageTitle</z-link> and joining some of them.';
10421042
}
10431043

1044+
@override
1045+
String get shareChooseAccountLabel => 'Choose an account';
1046+
10441047
@override
10451048
String get mainMenuMyProfile => 'Mon profil';
10461049

lib/generated/l10n/zulip_localizations_he.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,9 @@ class ZulipLocalizationsHe extends ZulipLocalizations {
10251025
return 'Try going to <z-link>$allChannelsPageTitle</z-link> and joining some of them.';
10261026
}
10271027

1028+
@override
1029+
String get shareChooseAccountLabel => 'Choose an account';
1030+
10281031
@override
10291032
String get mainMenuMyProfile => 'My profile';
10301033

lib/generated/l10n/zulip_localizations_hu.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,6 +1025,9 @@ class ZulipLocalizationsHu extends ZulipLocalizations {
10251025
return 'Try going to <z-link>$allChannelsPageTitle</z-link> and joining some of them.';
10261026
}
10271027

1028+
@override
1029+
String get shareChooseAccountLabel => 'Choose an account';
1030+
10281031
@override
10291032
String get mainMenuMyProfile => 'My profile';
10301033

0 commit comments

Comments
 (0)