Skip to content

Commit c3996fc

Browse files
login: Clarify semantic label for orDivider
Fixes #1961.
1 parent 1699aa5 commit c3996fc

20 files changed

+76
-12
lines changed

assets/l10n/app_en.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,10 @@
763763
"@loginMethodDivider": {
764764
"description": "Text on the divider between the username/password form and the third-party login options. Uppercase (for languages with letter case)."
765765
},
766+
"loginMethodDividerSemanticLabel": "Log-in alternatives",
767+
"@loginMethodDividerSemanticLabel": {
768+
"description": "Semantic label for OrDivider in login page."
769+
},
766770
"signInWithFoo": "Sign in with {method}",
767771
"@signInWithFoo": {
768772
"description": "Button to use {method} to sign in to the app.",

lib/generated/l10n/zulip_localizations.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,6 +1179,12 @@ abstract class ZulipLocalizations {
11791179
/// **'OR'**
11801180
String get loginMethodDivider;
11811181

1182+
/// Semantic label for OrDivider in login page.
1183+
///
1184+
/// In en, this message translates to:
1185+
/// **'Log-in alternatives'**
1186+
String get loginMethodDividerSemanticLabel;
1187+
11821188
/// Button to use {method} to sign in to the app.
11831189
///
11841190
/// 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
@@ -628,6 +628,9 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
628628
@override
629629
String get loginMethodDivider => 'OR';
630630

631+
@override
632+
String get loginMethodDividerSemanticLabel => 'Log-in alternatives';
633+
631634
@override
632635
String signInWithFoo(String method) {
633636
return 'Sign in with $method';

lib/generated/l10n/zulip_localizations_de.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,9 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
647647
@override
648648
String get loginMethodDivider => 'ODER';
649649

650+
@override
651+
String get loginMethodDividerSemanticLabel => 'Log-in alternatives';
652+
650653
@override
651654
String signInWithFoo(String method) {
652655
return 'Anmelden mit $method';

lib/generated/l10n/zulip_localizations_el.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,9 @@ class ZulipLocalizationsEl extends ZulipLocalizations {
628628
@override
629629
String get loginMethodDivider => 'OR';
630630

631+
@override
632+
String get loginMethodDividerSemanticLabel => 'Log-in alternatives';
633+
631634
@override
632635
String signInWithFoo(String method) {
633636
return 'Sign in with $method';

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,9 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
628628
@override
629629
String get loginMethodDivider => 'OR';
630630

631+
@override
632+
String get loginMethodDividerSemanticLabel => 'Log-in alternatives';
633+
631634
@override
632635
String signInWithFoo(String method) {
633636
return 'Sign in with $method';

lib/generated/l10n/zulip_localizations_es.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,9 @@ class ZulipLocalizationsEs extends ZulipLocalizations {
628628
@override
629629
String get loginMethodDivider => 'OR';
630630

631+
@override
632+
String get loginMethodDividerSemanticLabel => 'Log-in alternatives';
633+
631634
@override
632635
String signInWithFoo(String method) {
633636
return 'Sign in with $method';

lib/generated/l10n/zulip_localizations_fr.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,9 @@ class ZulipLocalizationsFr extends ZulipLocalizations {
644644
@override
645645
String get loginMethodDivider => 'OR';
646646

647+
@override
648+
String get loginMethodDividerSemanticLabel => 'Log-in alternatives';
649+
647650
@override
648651
String signInWithFoo(String method) {
649652
return 'Sign in with $method';

lib/generated/l10n/zulip_localizations_he.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,9 @@ class ZulipLocalizationsHe extends ZulipLocalizations {
628628
@override
629629
String get loginMethodDivider => 'OR';
630630

631+
@override
632+
String get loginMethodDividerSemanticLabel => 'Log-in alternatives';
633+
631634
@override
632635
String signInWithFoo(String method) {
633636
return 'Sign in with $method';

lib/generated/l10n/zulip_localizations_hu.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,9 @@ class ZulipLocalizationsHu extends ZulipLocalizations {
628628
@override
629629
String get loginMethodDivider => 'OR';
630630

631+
@override
632+
String get loginMethodDividerSemanticLabel => 'Log-in alternatives';
633+
631634
@override
632635
String signInWithFoo(String method) {
633636
return 'Sign in with $method';

0 commit comments

Comments
 (0)