Skip to content

Invalid argument exception in String.convertName if the name consist of more than 3 part (contains more than 2 underline) #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ndevev opened this issue Nov 18, 2021 · 0 comments

Comments

@ndevev
Copy link

ndevev commented Nov 18, 2021

I run this (with i18n: ^3.4.0):
flutter pub run build_runner build --delete-conflicting-outputs --verbose
and get this error :
[SEVERE] i18n:yamlBasedBuilder on lib/utils/localization/appLocalization.i18n.yaml:

Invalid argument(s):
package:i18n/src/i18n_impl.dart 21:7 FirstUpper.convertName
package:i18n/src/i18n_impl.dart 185:33 renderTranslation.
dart:_internal CastMap.forEach
package:i18n/src/i18n_impl.dart 180:35 renderTranslation
package:i18n/src/i18n_impl.dart 82:5 generateDartContentFromYaml
package:i18n/builder.dart 22:23 YamlBasedBuilder.build

The argument was "Location_permission_disabled_screenAppLocalization".
It is from appLocalization.i18n.yaml :
location_permission_disabled_screen:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant