Adds menuBarMenuLabel, and removes unneeded key localizations (#102100)
When I added localizations for shortcut keys, I added some that actually can't be shortcut keys, so I'm removing them again. These are mostly Japanese-specific keys that don't even appear on modern keyboards for the most part. Also, added menuBarMenuLabel for an accessibility label for menu bar menus. I modified the code for the localization generation scripts to add a --remove-undefined flag that will remove any localizations that don't appear in the canonical locale.
This commit is contained in:
@@ -742,6 +742,7 @@ Future<void> verifyInternationalizations(String workingDirectory, String dartExe
|
||||
<String>[
|
||||
path.join('dev', 'tools', 'localization', 'bin', 'gen_localizations.dart'),
|
||||
'--material',
|
||||
'--remove-undefined',
|
||||
],
|
||||
workingDirectory: workingDirectory,
|
||||
);
|
||||
@@ -750,6 +751,7 @@ Future<void> verifyInternationalizations(String workingDirectory, String dartExe
|
||||
<String>[
|
||||
path.join('dev', 'tools', 'localization', 'bin', 'gen_localizations.dart'),
|
||||
'--cupertino',
|
||||
'--remove-undefined',
|
||||
],
|
||||
workingDirectory: workingDirectory,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user