You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BUG] lib/workspace/presentation/settings/widgets/theme_upload/theme_upload_button.dart:32:15: Error: The getter 'LocaleKeys' isn't defined for the class 'ThemeUploadButton'.
#5496
Open
lucasjinreal opened this issue
Jun 8, 2024
· 2 comments
lib/workspace/presentation/settings/widgets/theme_upload/theme_confirm_delete_dialog.dart:49:17: Error: The getter 'LocaleKeys' isn't defined for the class 'ThemeConfirmDeleteDialog'.
- 'ThemeConfirmDeleteDialog' is from 'package:appflowy/workspace/presentation/settings/widgets/theme_upload/theme_confirm_delete_dialog.dart' ('lib/workspace/presentation/settings/widgets/theme_upload/theme_confirm_delete_dialog.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'LocaleKeys'.
LocaleKeys.button_cancel.tr(),
^^^^^^^^^^
lib/workspace/presentation/settings/widgets/theme_upload/theme_upload_button.dart:32:15: Error: The getter 'LocaleKeys' isn't defined for the class 'ThemeUploadButton'.
- 'ThemeUploadButton' is from 'package:appflowy/workspace/presentation/settings/widgets/theme_upload/theme_upload_button.dart' ('lib/workspace/presentation/settings/widgets/theme_upload/theme_upload_button.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'LocaleKeys'.
LocaleKeys.settings_appearance_themeUpload_button.tr(),
^^^^^^^^^^
lib/workspace/presentation/settings/widgets/theme_upload/theme_upload_learn_more_button.dart:30:15: Error: The getter 'LocaleKeys' isn't defined for the class 'ThemeUploadLearnMoreButton'.
- 'ThemeUploadLearnMoreButton' is from 'package:appflowy/workspace/presentation/settings/widgets/theme_upload/theme_upload_learn_more_button.dart' ('lib/workspace/presentation/settings/widgets/theme_upload/theme_upload_learn_more_button.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'LocaleKeys'.
LocaleKeys.document_plugins_autoGeneratorLearnMore.tr(),
^^^^^^^^^^
lib/workspace/presentation/settings/widgets/theme_upload/theme_upload_learn_more_button.dart:44:25: Error: The getter 'LocaleKeys' isn't defined for the class 'ThemeUploadLearnMoreButton'.
- 'ThemeUploadLearnMoreButton' is from 'package:appflowy/workspace/presentation/settings/widgets/theme_upload/theme_upload_learn_more_button.dart' ('lib/workspace/presentation/settings/widgets/theme_upload/theme_upload_learn_more_button.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'LocaleKeys'.
LocaleKeys
The text was updated successfully, but these errors were encountered:
These errors appear when you haven't run the script to generate code for language keys. It's run as part of other scripts such as AF-Desktop: Clean and rebuild all.
The script is run like this
sh .\scripts\code_generation\language_files\generate_language_files
Notice that build_runner can fail, and in that case you would receive this error as well, if you didn't look at the output of the build command.
The text was updated successfully, but these errors were encountered: