Confirmed users
355
edits
Nalexander (talk | contribs) |
Nalexander (talk | contribs) |
||
Line 66: | Line 66: | ||
# Find the relevant <tt><string></tt> element in <tt>mobile/android/base/strings.xml.in</tt>. | # Find the relevant <tt><string></tt> element in <tt>mobile/android/base/strings.xml.in</tt>. | ||
# Find the underlying English ''string entity'' in <tt>mobile/android/base/locales/en-US/android_strings.dtd</tt>. Usually, you'll see <tt><string>&string_entity | # Find the underlying English ''string entity'' in <tt>mobile/android/base/locales/en-US/android_strings.dtd</tt>. Usually, you'll see <tt><string>&string_entity;<string></tt>; the string entity is ''string_entity''. | ||
# If your change is just fixing a typo (spelling error, capitalization, whitespace), just update the <tt>android_strings.dtd</tt>. | # If your change is just fixing a typo (spelling error, capitalization, whitespace), just update the <tt>android_strings.dtd</tt>. | ||
# If you are ''really'' changing the string, you '''also need to change the entity name'''. It's traditional to add or increment a trailing integer, like ''string_entity2''. | # If you are ''really'' changing the string, you '''also need to change the entity name'''. It's traditional to add or increment a trailing integer, like ''string_entity2''. |