(trunk-1654) Workaround intltools inability to cope with files that have no extension, using temporary

symlinks when generating terminator.pot, so that reomtinator actually gets added now
This commit is contained in:
Stephen Boddy 2015-09-19 17:34:19 +02:00
parent 773be8dd13
commit 28a003361b
3 changed files with 66 additions and 3 deletions

View File

@ -2,8 +2,8 @@
# Please keep this file sorted alphabetically. # Please keep this file sorted alphabetically.
# #
[encoding: UTF-8] [encoding: UTF-8]
remotinator remotinator.py
terminator terminator.py
data/terminator.desktop.in data/terminator.desktop.in
data/terminator.appdata.xml.in data/terminator.appdata.xml.in
terminatorlib/borg.py terminatorlib/borg.py

View File

@ -1,3 +1,11 @@
#!/bin/sh #!/bin/sh
# Stupid workaround for intltools not handling extensionless files
ln -s terminator ../terminator.py
ln -s remotinator ../remotinator.py
# Make translation files # Make translation files
intltool-update -g terminator -o terminator.pot -p intltool-update -g terminator -o terminator.pot -p
# Cleanup after stupid workaround
rm ../terminator.py
rm ../remotinator.py

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-19 05:34+0200\n" "POT-Creation-Date: 2015-09-19 17:33+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,6 +17,61 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#. Command uuid req. Description
#: ../remotinator.py:38
msgid "Open a new window"
msgstr ""
#: ../remotinator.py:39
msgid "Open a new tab"
msgstr ""
#: ../remotinator.py:40
msgid "Split the current terminal horizontally"
msgstr ""
#: ../remotinator.py:41
msgid "Split the current terminal vertically"
msgstr ""
#: ../remotinator.py:42
msgid "Get a list of all terminals"
msgstr ""
#: ../remotinator.py:43
msgid "Get the UUID of a parent window"
msgstr ""
#: ../remotinator.py:44
msgid "Get the title of a parent window"
msgstr ""
#: ../remotinator.py:45
msgid "Get the UUID of a parent tab"
msgstr ""
#: ../remotinator.py:46
msgid "Get the title of a parent tab"
msgstr ""
#: ../remotinator.py:63
#, python-format
msgid ""
"Run one of the following Terminator DBus commands:\n"
"\n"
"%s"
msgstr ""
#: ../remotinator.py:64
msgid ""
"* These entries require either TERMINATOR_UUID environment var,\n"
" or the --uuid option must be used."
msgstr ""
#: ../remotinator.py:66
msgid "Terminal UUID for when not in env var TERMINATOR_UUID"
msgstr ""
#: ../data/terminator.desktop.in.h:1 ../data/terminator.appdata.xml.in.h:1 #: ../data/terminator.desktop.in.h:1 ../data/terminator.appdata.xml.in.h:1
#: ../terminatorlib/plugins/activitywatch.py:82 #: ../terminatorlib/plugins/activitywatch.py:82
#: ../terminatorlib/plugins/activitywatch.py:161 #: ../terminatorlib/plugins/activitywatch.py:161