Also extract strings from the OS X default menu

Originally committed to SVN as r6838.
This commit is contained in:
Thomas Goyne 2012-05-23 03:38:34 +00:00
parent 24cd2bbdf9
commit b9154a79c1
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ find ../src ../src/command -name \*.cpp -o -name \*.h \
sed '/"text"/!d;s/^.*"text" : \("[^"]\+"\).*$/default_menu.json|0|\1/' ../src/libresrc/default_menu.json \
| maybe_append
sed '/"text"/!d;s/^.*"text" : \("[^"]\+"\).*$/default_menu.json|0|\1/' ../src/libresrc/osx/default_menu.json \
| maybe_append
grep '"[A-Za-z ]\+" : {' -n ../src/libresrc/default_hotkey.json \
| sed 's/^\([0-9]\+:\).*\("[^"]\+"\).*$/default_hotkey.json|\1|\2/' \
| maybe_append