How to find duplicate keys in localizable.strings files automatically?

后端 未结 3 1278
误落风尘
误落风尘 2021-02-04 10:41

When using localizable.strings with many entries in your XCode project you sooner or later may use a key more than once. Is it possible to let XCode find that case and issue a w

3条回答
  •  独厮守ぢ
    2021-02-04 11:18

    cut -d'=' -f1 Localizable.strings | sort | uniq -d

    You looking phrases separated by equal sign, not a first word in each string.

提交回复
热议问题