Multiple substitutions specified in non-positional format

Multiple substitutions specified in non-positional format;did you mean to add the formatted=”false” attribute?
Wiktionary, WiktionarySimple
location C:\documents\WiktionarySimple\res\values\strings.xml
Issue:

 
    <string name="template_user_agent">"%s/%s (Linux; Android)"</string>
    <string name="template_wotd_title">"Wiktionary:Word of the day/%s %s"</string>
    <string name="template_define_url">"http://en.wiktionary.org/wiki/%s"</string>

Solution:

   <string name="template_user_agent" translatable="false">"%1$s/%2$s (Linux; Android)"</string>
    <string name="template_wotd_title">"Wiktionary:Word of the day/%1$s %2$s"</string>
    <string name="template_define_url" translatable="false">"http://en.wiktionary.org/wiki/%s"</string>
This entry was posted in Bugs, warnings, errors, Uncategorized and tagged , . Bookmark the permalink.


Comments are closed.



5,912 views