From 28a003361b2c01a8cbdf62e3aea17ee9b4597016 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Sat, 19 Sep 2015 17:34:19 +0200 Subject: [PATCH] (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 --- po/POTFILES.in | 4 ++-- po/genpot.sh | 8 +++++++ po/terminator.pot | 57 ++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 66 insertions(+), 3 deletions(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index 578ddac9..3fa96475 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -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 diff --git a/po/genpot.sh b/po/genpot.sh index f9aa8300..49016777 100755 --- a/po/genpot.sh +++ b/po/genpot.sh @@ -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 diff --git a/po/terminator.pot b/po/terminator.pot index b6ba98a7..ea65ef1a 100644 --- a/po/terminator.pot +++ b/po/terminator.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\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" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \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