Merge pull request #14 from g-Off/github-ci Create swift.yml
Merge pull request #14 from g-Off/github-ci
Create swift.yml
macOS command line tool for manipulating and validating strings files
Sort a table by key:
stringray sort /path/to/base.lproj/Table.strings
Move strings where the keys prefix matches a given string (or strings with multiple -p args passed)
-p
stringray move /path/to/original.lproj/Table.strings /path/to/new.lproj/Table.strings -p cells.title
Rename string keys where the prefix matches a given string (-p arg) with the replacement key prefix string (-r arg)
-r
stringray rename /path/to/original.lproj/Table.strings -p cells.title -r labels.title
Lint a strings table or list the lint rules:
stringray lint -i /path/to/original.lproj/Table.strings stringray lint -l
If you have Homebrew installed then the tool is available via brew install g-Off/tools/stringray
brew install g-Off/tools/stringray
Use make to build or make xcode to generate the Xcode project.
make
make xcode
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
stringray
macOS command line tool for manipulating and validating strings files
Usage
Sort a table by key:
Move strings where the keys prefix matches a given string (or strings with multiple
-p
args passed)Rename string keys where the prefix matches a given string (
-p
arg) with the replacement key prefix string (-r
arg)Lint a strings table or list the lint rules:
Installing
If you have Homebrew installed then the tool is available via
brew install g-Off/tools/stringray
Building
Use
make
to build ormake xcode
to generate the Xcode project.