Skip to content

Commit d6a7ac8

Browse files
committed
feat: Add demo verification code message
- Added localization keys - Added english translation - Added arabic translation
1 parent 9181c3c commit d6a7ac8

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

lib/l10n/app_localizations.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,6 +1381,12 @@ abstract class AppLocalizations {
13811381
/// In en, this message translates to:
13821382
/// **'Start following categories to see them here.'**
13831383
String get followedCategoriesEmptySubheadline;
1384+
1385+
/// Message shown in demo mode to provide the verification code
1386+
///
1387+
/// In en, this message translates to:
1388+
/// **'Demo Mode: Use code {code}'**
1389+
String demoVerificationCodeMessage(String code);
13841390
}
13851391

13861392
class _AppLocalizationsDelegate

lib/l10n/app_localizations_ar.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,4 +705,9 @@ class AppLocalizationsAr extends AppLocalizations {
705705
@override
706706
String get followedCategoriesEmptySubheadline =>
707707
'Start following categories to see them here.';
708+
709+
@override
710+
String demoVerificationCodeMessage(String code) {
711+
return 'وضع العرض التوضيحي: استخدم الرمز $code';
712+
}
708713
}

lib/l10n/app_localizations_en.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,4 +707,9 @@ class AppLocalizationsEn extends AppLocalizations {
707707
@override
708708
String get followedCategoriesEmptySubheadline =>
709709
'Start following categories to see them here.';
710+
711+
@override
712+
String demoVerificationCodeMessage(String code) {
713+
return 'Demo Mode: Use code $code';
714+
}
710715
}

0 commit comments

Comments
 (0)