Remove We're sorry in intl file

This commit is contained in:
dab246
2025-11-20 14:51:03 +07:00
committed by Dat H. Pham
parent 7e55f68ff3
commit f526b39fae
3 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -2597,13 +2597,13 @@
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"noEmailInYourCurrentFolder": "We're sorry, there are no emails in your current folder", "noEmailInYourCurrentFolder": "There are no emails in your current folder",
"@noEmailInYourCurrentFolder": { "@noEmailInYourCurrentFolder": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
"placeholders": {} "placeholders": {}
}, },
"noEmailMatchYourCurrentFilter": "We're sorry, there are no emails that match your current filter.", "noEmailMatchYourCurrentFilter": "There are no emails that match your current filter.",
"@noEmailMatchYourCurrentFilter": { "@noEmailMatchYourCurrentFilter": {
"type": "text", "type": "text",
"placeholders_order": [], "placeholders_order": [],
+1 -1
View File
@@ -1,5 +1,5 @@
{ {
"@@last_modified": "2025-11-18T16:44:44.341535", "@@last_modified": "2025-11-20T14:48:58.635692",
"initializing_data": "Initializing data...", "initializing_data": "Initializing data...",
"@initializing_data": { "@initializing_data": {
"type": "text", "type": "text",
@@ -5,6 +5,7 @@ import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:tmail_ui_user/features/thread/presentation/widgets/empty_emails_widget.dart'; import 'package:tmail_ui_user/features/thread/presentation/widgets/empty_emails_widget.dart';
import 'package:tmail_ui_user/main/localizations/app_localizations.dart';
import 'package:tmail_ui_user/main/localizations/app_localizations_delegate.dart'; import 'package:tmail_ui_user/main/localizations/app_localizations_delegate.dart';
import 'package:tmail_ui_user/main/localizations/localization_service.dart'; import 'package:tmail_ui_user/main/localizations/localization_service.dart';
@@ -83,7 +84,8 @@ void main() {
final emptyEmailMessageWidget = tester.widget<Text>(emptyEmailMessageWidgetFinder); final emptyEmailMessageWidget = tester.widget<Text>(emptyEmailMessageWidgetFinder);
expect( expect(
emptyEmailMessageWidget.data, emptyEmailMessageWidget.data,
'We\'re sorry, there are no emails that match your current filter.'); AppLocalizations().noEmailMatchYourCurrentFilter,
);
}); });
testWidgets( testWidgets(