Apply patch from LP: #316755 to generate the .desktop file from the translated strings
This commit is contained in:
parent
9f17fc0790
commit
857e9eaea0
@ -1,16 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Terminator
|
||||
Comment=Multiple terminals in one window
|
||||
Comment[be]=Meerdere terminals in een venster
|
||||
Comment[be@latin]=Meerdere terminals in een venster
|
||||
Comment[en_CA]=Multiple terminals in one window
|
||||
Comment[en_GB]=Multiple terminals in one window
|
||||
Comment[es]=Multiples terminales en una ventana
|
||||
Comment[fr]=Plusieurs terminaux dans une fenêtre
|
||||
TryExec=terminator
|
||||
Exec=terminator
|
||||
Icon=terminator
|
||||
Type=Application
|
||||
Categories=GNOME;GTK;Utility;TerminalEmulator;
|
||||
StartupNotify=true
|
||||
X-Ubuntu-Gettext-Domain=terminator
|
10
data/terminator.desktop.in
Normal file
10
data/terminator.desktop.in
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
_Name=Terminator
|
||||
_Comment=Multiple terminals in one window
|
||||
TryExec=terminator
|
||||
Exec=terminator
|
||||
Icon=terminator
|
||||
Type=Application
|
||||
Categories=GNOME;GTK;Utility;TerminalEmulator;
|
||||
StartupNotify=true
|
||||
X-Ubuntu-Gettext-Domain=terminator
|
13
po/POTFILES.in
Normal file
13
po/POTFILES.in
Normal file
@ -0,0 +1,13 @@
|
||||
# List of source files containing translatable strings.
|
||||
# Please keep this file sorted alphabetically.
|
||||
#
|
||||
[encoding: UTF-8]
|
||||
build/lib/terminatorlib/config.py
|
||||
build/lib/terminatorlib/encoding.py
|
||||
build/lib/terminatorlib/terminator.py
|
||||
build/lib/terminatorlib/terminatorterm.py
|
||||
data/terminator.desktop.in
|
||||
terminatorlib/config.py
|
||||
terminatorlib/encoding.py
|
||||
terminatorlib/terminator.py
|
||||
terminatorlib/terminatorterm.py
|
7
setup.py
7
setup.py
@ -56,6 +56,13 @@ class BuildData(build):
|
||||
error("Error: %s" % str(e))
|
||||
sys.exit(1)
|
||||
|
||||
TOP_BUILDDIR='.'
|
||||
INTLTOOL_MERGE='intltool-merge'
|
||||
desktop_in='data/terminator.desktop.in'
|
||||
desktop_data='data/terminator.desktop'
|
||||
os.system ("C_ALL=C " + INTLTOOL_MERGE + " -d -u -c " + TOP_BUILDDIR +
|
||||
"/po/.intltool-merge-cache " + TOP_BUILDDIR + "/po " +
|
||||
desktop_in + " " + desktop_data)
|
||||
|
||||
class Uninstall(Command):
|
||||
description = "Attempt an uninstall from an install --record file"
|
||||
|
Loading…
Reference in New Issue
Block a user