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:
Andrew Chen 2012-12-23 14:10:05 -08:00
parent e123d378f4
commit 5188fc37e5

View file

@ -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 -->