From b9154a79c170a3e7eccc23e49135ea759e967f98 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 23 May 2012 03:38:34 +0000 Subject: [PATCH] Also extract strings from the OS X default menu Originally committed to SVN as r6838. --- aegisub/po/make_pot.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aegisub/po/make_pot.sh b/aegisub/po/make_pot.sh index f4cdeedc3..ec1cb3f77 100755 --- a/aegisub/po/make_pot.sh +++ b/aegisub/po/make_pot.sh @@ -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