Skip to content
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

Multiple annotations found #7

Open
GoogleCodeExporter opened this issue Jun 14, 2015 · 1 comment
Open

Multiple annotations found #7

GoogleCodeExporter opened this issue Jun 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. While compiling, some string value get "Multiple substitutions specified in 
non-positional format" errors


What version of the product are you using? On what operating system?
SDK 2.3

Please provide any additional information below.
see https://groups.google.com/d/topic/android-developers/AX2S3Zh6hoI/discussion

should add "n$" right after the '%' character

ex.
<string name="msgYouHaveASTS">You have %1$d appointment(s)\n..and %2$d 
task(s)</string>

Original issue reported on code.google.com by b95505017 on 22 Jan 2011 at 3:09

@GoogleCodeExporter
Copy link
Author

or you can also use formatted="false".
I did that instead. Here's the patch.

Original comment by [email protected] on 23 Feb 2011 at 8:10

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant