To make this work correctly across multiple locales, you should use the following syntax:
$1%s $2%s On Mon, Dec 6, 2010 at 11:47 AM, Streets Of Boston <[email protected]>wrote: > When this string is in my strings.xml > > <string name="home_activity_header_name">%s %s</string> > > I get this error when compiling the source-code: > "error: Multiple substitutions specified in non-positional format; did > you mean to add the formatted="false" attribute" > > I just upgraded to the newest tools (v 8.0.0) and downloaded the > latest SDK (2.3). > I compile under apil-leverl 8 and i tried compiling under api-level 9. > > Why does this error suddenly appear? > Is there a way to get rid of it? > > Thanks! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Romain Guy Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

