Mobile/Fennec/Android/CommonTips: Difference between revisions

m
Line 66: Line 66:


# Find the relevant <tt>&lt;string&gt;</tt> element in <tt>mobile/android/base/strings.xml.in</tt>.
# Find the relevant <tt>&lt;string&gt;</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>&lt;string&gt;&amp;string_entity&semi;&lt;string&gt;</tt>; the string entity is ''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>&lt;string&gt;&amp;string_entity;&lt;string&gt;</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''.
Confirmed users
355

edits