This commit is contained in:
Chris Jones 2008-01-05 00:54:54 +00:00
commit ef9014ec0c
4 changed files with 128 additions and 31 deletions

78
po/nl.pot Normal file
View File

@ -0,0 +1,78 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Thomas Meire <blackskad@gmail.com>, 2008.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-01-03 09:22+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Thomas Meire <blackskad@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: terminator:42
msgid ""
"You need to install the python bindings for gobject, gnome, gtk, gconf and "
"pango to run Terminator."
msgstr ""
"Je moet de python-bindingen installeren voor gobject, gnome, gtk, gconf en"
"pango om Terminator te kunnen uitvoeren."
#: terminator:51
msgid ""
"You need to install python bindings for libvte (\"python-vte\" in debian/"
"ubuntu)"
msgstr ""
"Je moet de python-bindingen installeren voor libvte (\"python-vte\" in debian/"
"ubuntu)"
#: terminator:315
msgid "_Open Link"
msgstr "_Open Koppeling"
#: terminator:316
msgid "_Copy Link Address"
msgstr "Kopieer Koppeling Adres"
#: terminator:322
msgid "_Send Mail To..."
msgstr "_Stuur Email Naar..."
#: terminator:323
msgid "_Copy Email Address"
msgstr "Kopieer Email Adres"
#: terminator:348
msgid "Show scrollbar"
msgstr "Toon schijfbalk"
#: terminator:356
msgid "Split H_orizontally"
msgstr "Splits H_orizontaal"
#: terminator:360
msgid "Split V_ertically"
msgstr "Splits V_erticaal"
#: terminator:422
msgid "Close?"
msgstr "Sluiten?"
#: terminator:427
msgid "<big><b>Close all terminals?</b></big>"
msgstr "<big><b>Sluit alle terminals?</b></big>"
#: terminator:430
#, python-format
msgid ""
"This window has %s terminals open. Closing the window will also close all "
"terminals."
msgstr ""
"Dit venster heeft %s terminals open. Als je dit venster sluit, worden alle"
"terminals ook gesloten"

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: 2007-12-29 02:52+0000\n" "POT-Creation-Date: 2008-01-03 09:22+0100\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"
@ -16,23 +16,35 @@ 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"
#: terminator:307 #: terminator:42
msgid "_Open Link" msgid ""
"You need to install the python bindings for gobject, gnome, gtk, gconf and "
"pango to run Terminator."
msgstr "" msgstr ""
#: terminator:308 #: terminator:51
msgid "_Copy Link Address" msgid ""
msgstr "" "You need to install python bindings for libvte (\"python-vte\" in debian/"
"ubuntu)"
#: terminator:314
msgid "_Send Mail To..."
msgstr "" msgstr ""
#: terminator:315 #: terminator:315
msgid "_Open Link"
msgstr ""
#: terminator:316
msgid "_Copy Link Address"
msgstr ""
#: terminator:322
msgid "_Send Mail To..."
msgstr ""
#: terminator:323
msgid "_Copy Email Address" msgid "_Copy Email Address"
msgstr "" msgstr ""
#: terminator:340 #: terminator:348
msgid "Show scrollbar" msgid "Show scrollbar"
msgstr "" msgstr ""
@ -44,15 +56,15 @@ msgstr ""
msgid "Split V_ertically" msgid "Split V_ertically"
msgstr "" msgstr ""
#: terminator:414 #: terminator:422
msgid "Close?" msgid "Close?"
msgstr "" msgstr ""
#: terminator:419 #: terminator:427
msgid "<big><b>Close all terminals?</b></big>" msgid "<big><b>Close all terminals?</b></big>"
msgstr "" msgstr ""
#: terminator:422 #: terminator:430
#, python-format #, python-format
msgid "" msgid ""
"This window has %s terminals open. Closing the window will also close all " "This window has %s terminals open. Closing the window will also close all "

View File

@ -25,24 +25,32 @@ Usage: terminator [OPTION] ...
-p, --profile=PROFILE Take settings from gnome-terminal profile PROFILE -p, --profile=PROFILE Take settings from gnome-terminal profile PROFILE
""" """
import os # import standard python libs
import os, sys, string, time, getopt, math
import gettext
gettext.install ('terminator')
# import unix-lib
import pwd import pwd
import sys
import string # import gtk/gnome libs
import gobject # check just in case anyone runs it on a non-gnome system.
import gtk try:
import gobject, gtk, gnome, gconf, pango
except:
print >> sys.stderr, _("You need to install the python bindings for " \
"gobject, gnome, gtk, gconf and pango to run Terminator.")
sys.exit(1)
# import vte-bindings
try: try:
import vte import vte
except: except:
print '''You need to install python bindings for libvte ("python-vte" in debian/ubuntu)''' error = gtk.MessageDialog (None, gtk.DIALOG_MODAL, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK,
_('You need to install python bindings for libvte ("python-vte" in debian/ubuntu)'))
error.run()
sys.exit (1) sys.exit (1)
import gconf
import pango
import gnome
import time
import getopt
import math
import gettext
class TerminatorTerm: class TerminatorTerm:
@ -631,7 +639,6 @@ if __name__ == '__main__':
if opt in ("-p", "--profile"): if opt in ("-p", "--profile"):
profile = arg profile = arg
gettext.install ('terminator')
term = Terminator (profile) term = Terminator (profile)
# Set the Terminator in fullscreen state or maximize it. # Set the Terminator in fullscreen state or maximize it.

View File

@ -5,8 +5,8 @@ Name[am]=
Name[ar]= Name[ar]=
Name[as]= Name[as]=
Name[az]= Name[az]=
Name[be]= Name[be]=Terminator
Name[be@latin]= Name[be@latin]=Terminator
Name[bg]= Name[bg]=
Name[bn]= Name[bn]=
Name[bn_IN]= Name[bn_IN]=
@ -80,8 +80,8 @@ Name[zh_TW]=
Comment=Multiple terminals in one window Comment=Multiple terminals in one window
Comment[ar]= Comment[ar]=
Comment[as]= Comment[as]=
Comment[be]= Comment[be]=Meerdere terminals in een venster
Comment[be@latin]= Comment[be@latin]=Meerdere terminals in een venster
Comment[bg]= Comment[bg]=
Comment[bn]= Comment[bn]=
Comment[bn_IN]= Comment[bn_IN]=