Exporting Android Text with non positional arguments leads to lint warning #2392
Labels
enhancement
New feature or request
for-superday
Tolgee SuperDay is a step part hiring process when candidate work on real task
hacktoberfest
Describe the bug
Tolgee exports strings for Android in a way that they are reported by android lint.
This is only visible when running the build command and not directly in Android Studio.
To Reproduce
Steps to reproduce the behavior:
{0} um {1}
Multiple substitutions specified in non-positional format of string resource string/at_with_placeholder. Did you mean to add the formatted="false" attribute?
Expected behavior
Tolgee exports should not lead to a lint warning.
Possible solutions (i would prefer if you can choose which one to use while exporting, like a selection box where you can either choose: use
non-positional arguments with formatted="false"
oruse positional arguments
.Also allow to set it when exporting it via rest.
If the decision is to not make this selectable then use positional arguments for android because hiding warnings is always worse than fix them in the first place.
The text was updated successfully, but these errors were encountered: