Skip to content

Commit 955d505

Browse files
share: Support switching accounts
Co-Authored-By: Chris Bobbe <[email protected]> Fixes: #1779
1 parent 91126ef commit 955d505

20 files changed

+191
-9
lines changed

assets/l10n/app_en.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,6 +1216,10 @@
12161216
"allChannelsPageTitle": {"type": "String", "example": "All channels"}
12171217
}
12181218
},
1219+
"shareChooseAccountLabel": "Choose an account",
1220+
"@shareChooseAccountLabel": {
1221+
"description": "Label for the page about selecting an account to share content received from other apps."
1222+
},
12191223
"mainMenuMyProfile": "My profile",
12201224
"@mainMenuMyProfile": {
12211225
"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
@@ -1779,6 +1779,12 @@ abstract class ZulipLocalizations {
17791779
/// **'Try going to <z-link>{allChannelsPageTitle}</z-link> and joining some of them.'**
17801780
String channelsEmptyPlaceholderMessage(String allChannelsPageTitle);
17811781

1782+
/// Label for the page about selecting an account to share content received from other apps.
1783+
///
1784+
/// In en, this message translates to:
1785+
/// **'Choose an account'**
1786+
String get shareChooseAccountLabel;
1787+
17821788
/// Label for main-menu button leading to the user's own profile.
17831789
///
17841790
/// 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
@@ -1022,6 +1022,9 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
10221022
return 'Try going to <z-link>$allChannelsPageTitle</z-link> and joining some of them.';
10231023
}
10241024

1025+
@override
1026+
String get shareChooseAccountLabel => 'Choose an account';
1027+
10251028
@override
10261029
String get mainMenuMyProfile => 'My profile';
10271030

lib/generated/l10n/zulip_localizations_de.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,9 @@ class ZulipLocalizationsDe 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 => 'Mein Profil';
10461049

lib/generated/l10n/zulip_localizations_el.dart

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

1025+
@override
1026+
String get shareChooseAccountLabel => 'Choose an account';
1027+
10251028
@override
10261029
String get mainMenuMyProfile => 'My profile';
10271030

lib/generated/l10n/zulip_localizations_en.dart

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

1025+
@override
1026+
String get shareChooseAccountLabel => 'Choose an account';
1027+
10251028
@override
10261029
String get mainMenuMyProfile => 'My profile';
10271030

lib/generated/l10n/zulip_localizations_es.dart

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

1025+
@override
1026+
String get shareChooseAccountLabel => 'Choose an account';
1027+
10251028
@override
10261029
String get mainMenuMyProfile => 'My profile';
10271030

lib/generated/l10n/zulip_localizations_fr.dart

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

1041+
@override
1042+
String get shareChooseAccountLabel => 'Choose an account';
1043+
10411044
@override
10421045
String get mainMenuMyProfile => 'Mon profil';
10431046

lib/generated/l10n/zulip_localizations_he.dart

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

1025+
@override
1026+
String get shareChooseAccountLabel => 'Choose an account';
1027+
10251028
@override
10261029
String get mainMenuMyProfile => 'My profile';
10271030

lib/generated/l10n/zulip_localizations_hu.dart

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

1025+
@override
1026+
String get shareChooseAccountLabel => 'Choose an account';
1027+
10251028
@override
10261029
String get mainMenuMyProfile => 'My profile';
10271030

0 commit comments

Comments
 (0)