style(brand): 统一三语与双平台 YMB 展示名

This commit is contained in:
Zhou Weidong committed 2026-11-17 09:59:05 +08:00
1 parent 52e1883862
commit bcf2dfe02a
13 files changed
+33 -30

No files matched your search

+3 -3
View File
@@ -22,7 +22,7 @@ void main() {
test('should_use_ymb_when_resolving_each_app_locale', () async {
for (final locale in AppLocalizations.supportedLocales) {
final l10n = await AppLocalizations.delegate.load(locale);
expect(l10n.appName, 'ymb');
expect(l10n.appName, 'YMB');
}
});
@@ -118,11 +118,11 @@ void main() {
final manifest = File(
'android/app/src/main/AndroidManifest.xml',
).readAsStringSync();
expect(manifest, contains('android:label="ymb"'));
expect(manifest, contains('android:label="YMB"'));
final plist = File('ios/Runner/Info.plist').readAsStringSync();
expect(
RegExp(
r'<key>CFBundleDisplayName</key>\s*<string>ymb</string>',
r'<key>CFBundleDisplayName</key>\s*<string>YMB</string>',
).hasMatch(plist),
isTrue,
);