-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Finish ToDo in localizationParameterMustIncludeAString #11784
Comments
It needs to be We just support That should be checked. Nothing more.
Note that I tried to use The other solution for localization is to use Kilt. However, this does NOT solve the issue of string concatenation. We also do not want that concatenation, because we want to have the strings literally in the source code. Paramters by We also do NOT want to switch to the syntax of MessageFormat You can write an ADR if you want 😅 |
We worked in the DevCall to a more refined comment. Hope, that helps. Implemented at #11820 |
Is your suggestion for improvement related to a problem? Please describe.
Localization.lang
parameter in repo now, only got string begin with ".Localization.lang(var + "test")
orLocalization.lang(var1 + "test" + var2)
in repo, do I need to cover them when I finish the ToDo?Localization.lang
would useLocalization.lang(var + "test")
andLocalization.lang(var1 + "test" + var2)
Describe the solution you'd like
Localization.lang
by addStringUtils.countMatches(e.getKey(), "\"") >= 2
just fix comment without code change, such as delete the ToDo comment and add the link to https://devdocs.jabref.org/code-howtos/localization.html
fix the code by delete
e.getKey().endsWith("\"")
The text was updated successfully, but these errors were encountered: