umadevik / andnav

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

Formated strings in res/values/sting....xml #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installation of Eclipse 3.6.2 classis & Android SDK
2. Download via SVN the project.
3. Compilation failed beause of  formatted="false" missing in the XML tag.

What is the expected output? What do you see instead?
I get nearly 100 errors compiling the project.

What version of the product are you using? On what operating system?
SVN, no idea which version. Eclipse 3.6.2 classic, Android SDK 

Please provide any additional information below.
Do the following:
Original string:
<string name="dlg_preloader_rect_message">Preload %d Maptiles for visible 
Rectangle?\n\nExpected size: %s</string>

Changed string:
<string name="dlg_preloader_rect_message" formatted="false">Preload %d Maptiles 
for visible Rectangle?\n\nExpected size: %s</string>

Original issue reported on code.google.com by thomas1....@googlemail.com on 15 Jun 2011 at 10:01

GoogleCodeExporter commented 9 years ago
A better change would be to format the strings properly:

<string name="dlg_preloader_rect_message">Preload %1$d Maptiles for visible 
Rectangle?\n\nExpected size: %2$s</string>

Original comment by neilboyd on 15 Jun 2011 at 9:13