One-liner to clean up translations.
We shouldn't have to write the same one-liner over and over again.
This commit is contained in:
parent
e123d378f4
commit
5188fc37e5
1 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,13 @@
|
|||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- === App-specific strings ============================================================= -->
|
||||
|
||||
<!--
|
||||
When removing strings from the main file, please cleanup the translations.
|
||||
|
||||
This doesn't work on multiline strings, nor strings with the NEW tag.
|
||||
find . -name strings.xml | xargs perl -pi -e's!^\s+<string name="string_name_here".+?</string>\s*\z!!'
|
||||
-->
|
||||
|
||||
<!-- This should make it easier for forks to change the branding -->
|
||||
|
||||
<!-- Used in AndroidManifest.xml -->
|
||||
|
|
Loading…
Reference in a new issue