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

后端 未结 3 1340
误落风尘
误落风尘 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:01

    more Filename.strings | tr -d ' ' | sort | uniq -d | grep -v '^$'
    

提交回复
热议问题