summaryrefslogtreecommitdiff
path: root/createpot.sh
blob: dae69f94641d86f906507715dcad09c47acea32f (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# Create the .pot file
# Thanks to porthole for inspiration ;)

xgettext -k_ -kN_ -L glade -o i18n/messages.pot $(find -name "*.ui")
xgettext -k_ -kN_ -j --from-code=UTF-8 -o i18n/messages.pot $(find -name "*.py")
'>2015-09-30emacs: Guard against "%" in message stringSvend Sorensen1-5/+5 The output of pass may contain "%", which will cause `message` to throw the error: "Not enough arguments for format string". For example, `pass rename foo bar` outputs: [master c33f7a9] Rename foo to bar. 1 file changed, 0 insertions(+), 0 deletions(-) rename foo.gpg => bar.gpg (100%) 2015-07-24passmenu: Space to tabsChris Down1-2/+2 It seems this file doesn't use spaces any more. 2015-07-24passmenu: Only pass first line to xdotoolChris Down1-1/+3 In 87ec1489fa98, I forgot that some people like to store more than one line in their password files. We should only pass the first line to xdotool. 2015-07-24passmenu: Read from stdin when using xdotool to type passwordChris Down1-1/+1 This works around a bug in xdotool parsing when encountering quotes, see https://github.com/jordansissel/xdotool/issues/72. Thanks to Gerd Wachsmuth for the report. 2015-05-26emacs: Make `password-store-password-length' customizableNicolas Petton1-3/+10