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:26:49 +02:00
parent c45eda235d
commit 5b5ca89823
3 changed files with 66 additions and 3 deletions

View File

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

View File

@ -1,3 +1,11 @@
#!/bin/sh
# Stupid workaround for intltools not handling extensionless files
ln -s terminator ../terminator.py
ln -s remotinator ../remotinator.py
# Make translation files
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 ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-19 05:33+0200\n"
"POT-Creation-Date: 2015-09-19 17:24+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,6 +17,61 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\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
#: ../terminatorlib/plugins/activitywatch.py:82
#: ../terminatorlib/plugins/activitywatch.py:161