Skip to content

Commit db3de4b

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

20 files changed

+214
-9
lines changed

assets/l10n/app_en.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,10 @@
11471147
"allChannelsPageTitle": {"type": "String", "example": "All channels"}
11481148
}
11491149
},
1150+
"shareChooseAccountLabel": "Choose an account",
1151+
"@shareChooseAccountLabel": {
1152+
"description": "Label for the page about selecting an account to share content received from other apps."
1153+
},
11501154
"mainMenuMyProfile": "My profile",
11511155
"@mainMenuMyProfile": {
11521156
"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
@@ -1689,6 +1689,12 @@ abstract class ZulipLocalizations {
16891689
/// **'Try going to <z-link>{allChannelsPageTitle}</z-link> and joining some of them.'**
16901690
String channelsEmptyPlaceholderMessage(String allChannelsPageTitle);
16911691

1692+
/// Label for the page about selecting an account to share content received from other apps.
1693+
///
1694+
/// In en, this message translates to:
1695+
/// **'Choose an account'**
1696+
String get shareChooseAccountLabel;
1697+
16921698
/// Label for main-menu button leading to the user's own profile.
16931699
///
16941700
/// 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
@@ -960,6 +960,9 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
960960
return 'Try going to <z-link>$allChannelsPageTitle</z-link> and joining some of them.';
961961
}
962962

963+
@override
964+
String get shareChooseAccountLabel => 'Choose an account';
965+
963966
@override
964967
String get mainMenuMyProfile => 'My profile';
965968

lib/generated/l10n/zulip_localizations_de.dart

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

982+
@override
983+
String get shareChooseAccountLabel => 'Choose an account';
984+
982985
@override
983986
String get mainMenuMyProfile => 'Mein Profil';
984987

lib/generated/l10n/zulip_localizations_el.dart

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

963+
@override
964+
String get shareChooseAccountLabel => 'Choose an account';
965+
963966
@override
964967
String get mainMenuMyProfile => 'My profile';
965968

lib/generated/l10n/zulip_localizations_en.dart

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

963+
@override
964+
String get shareChooseAccountLabel => 'Choose an account';
965+
963966
@override
964967
String get mainMenuMyProfile => 'My profile';
965968

lib/generated/l10n/zulip_localizations_es.dart

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

963+
@override
964+
String get shareChooseAccountLabel => 'Choose an account';
965+
963966
@override
964967
String get mainMenuMyProfile => 'My profile';
965968

lib/generated/l10n/zulip_localizations_fr.dart

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

979+
@override
980+
String get shareChooseAccountLabel => 'Choose an account';
981+
979982
@override
980983
String get mainMenuMyProfile => 'Mon profil';
981984

lib/generated/l10n/zulip_localizations_he.dart

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

963+
@override
964+
String get shareChooseAccountLabel => 'Choose an account';
965+
963966
@override
964967
String get mainMenuMyProfile => 'My profile';
965968

lib/generated/l10n/zulip_localizations_hu.dart

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

963+
@override
964+
String get shareChooseAccountLabel => 'Choose an account';
965+
963966
@override
964967
String get mainMenuMyProfile => 'My profile';
965968

0 commit comments

Comments
 (0)