feat(flutter): 优化登录页与底部导航
This commit is contained in:
1 parent
e52d81881c
commit
e609e3ad8d
12 files changed
+702
-189
No files matched your search
@@ -45,4 +45,13 @@ void main() {
|
||||
expect(l10n.episodeProgress(2, 10), contains('2'));
|
||||
expect(l10n.episodeProgress(2, 10), contains('10'));
|
||||
});
|
||||
|
||||
test('should_keep_auth_ui_copy_in_all_supported_locales', () async {
|
||||
for (final locale in const [Locale('en'), Locale('zh'), Locale('id')]) {
|
||||
final l10n = await AppLocalizations.delegate.load(locale);
|
||||
expect(l10n.authBrandTagline, isNotEmpty);
|
||||
expect(l10n.showPassword, isNotEmpty);
|
||||
expect(l10n.hidePassword, isNotEmpty);
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user