mirror of https://github.com/oxen-io/session-ios
parent
0a64022748
commit
d8be0b5d22
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
|
||||
function usage() {
|
||||
cat <<EOS
|
||||
Extracts string from target file to new.strings
|
||||
|
||||
$0 <filename.m>
|
||||
|
||||
e.g.
|
||||
|
||||
$0 path/to/my/ClassName.m
|
||||
EOS
|
||||
}
|
||||
|
||||
TARGET=$1
|
||||
if [[ -z $TARGET ]]
|
||||
then
|
||||
echo "Can't proceed without target"
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
OUTPUT_DIR=new_strings
|
||||
mkdir -p "${OUTPUT_DIR}"
|
||||
genstrings -o "${OUTPUT_DIR}" "${TARGET}"
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue