mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
internationalization.md: Add information about Plugin.xml i18n verification inspection
This commit is contained in:
parent
be2b356bd3
commit
4ca5977a58
@ -79,6 +79,8 @@ In [Gradle-based plugin](developing_plugins.md#gradle-plugin) project sources, m
|
||||
|
||||
A corresponding [bundle class](#message-bundle-class) should be used to access the strings from the code.
|
||||
|
||||
> Enable <control>Plugin DevKit | Plugin descriptor | Plugin.xml i18n verification</control> inspection for reporting hardcoded texts in [plugin descriptor files](plugin_configuration_file.md).
|
||||
|
||||
### Message Bundle Class
|
||||
|
||||
The recommended approach to create a bundle class is to delegate getting messages to [`DynamicBundle`](%gh-ic%/platform/core-api/src/com/intellij/DynamicBundle.java), e.g.:
|
||||
|
Loading…
x
Reference in New Issue
Block a user