Testato / ancal

Automatically exported from code.google.com/p/ancal
0 stars 1 forks source link

Multiple annotations found #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
or you can also use formatted="false".
I did that instead. Here's the patch.

Original comment by maca...@gmail.com on 23 Feb 2011 at 8:10

Attachments: