-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
formatted=false #4
Comments
Fixed the formatted false. /home/peaches/build/rom_wip/apks/framework-res/res/values-zh-rCN/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? Its because the
should be
If the attribute comes back true, when inserting text into XML. Check for the value. If so, replace all % with incremental x$ so % becomes %1$ next, |
Need to look at references. Adding to remember. |
Fixed. Testing time. |
For some reason, @null isn't passing this.
|
Maybe you can use the below code to format % to %n$ brut.androlib.res.data.value.ResScalarValue
|
Thanks. I will test with it. |
Sorry, I miss a function, there is already a function to do that import brut.androlib.res.xml.ResXmlEncoders; public String encodeAsResXmlValue() throws AndrolibException { |
Merged your fix in, still some issues with with positional formatting. Will investigate more. |
was being run by not working. Also, plurals/arrays never run this. Even though theres true xlif data in there. We need to add counter to fix the $1 $2 issue.
Small counter per node. Reset once done.
The text was updated successfully, but these errors were encountered: