Updated translations, provided by the #! community. These have been

completed by:

	arl - German
	Hanna Pietikäinen - Finnish
	benji - French
	Alon Horn - Hebrew
	papparonny - Norwegian
This commit is contained in:
2009-01-26 19:32:03 +00:00
parent 72dcbe4f31
commit 648b5e23fc
20 changed files with 553 additions and 488 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -60,7 +60,7 @@ class OpenboxLogout():
# Start logger and gettext/i18n
self.logger = logging.getLogger('OpenboxLogout')
gettext.install('openboxlogout', '%s/locale' % self.determine_path(), unicode=1)
gettext.install('oblogout', '%s/locale' % self.determine_path(), unicode=1)
# Start dbus interface
bus = dbus.SystemBus()
@@ -111,8 +111,8 @@ class OpenboxLogout():
self.window.add(self.mainpanel)
for button in self.button_list:
self.add_button(button, self.buttonpanel)
self.add_button(button, self.buttonpanel)
if self.rendered_effects == True:
self.logger.debug("Stepping though render path")
w = gtk.gdk.get_default_root_window()
@@ -147,6 +147,9 @@ class OpenboxLogout():
self.window.set_app_paintable(True)
self.window.resize(gtk.gdk.screen_width(), gtk.gdk.screen_height())
self.window.realize()
print self.buttonpanel.get_allocation().width
if pixmap:
self.window.window.set_back_pixmap(pixmap, False)
self.window.move(0,0)

View File

@@ -0,0 +1,99 @@
# German translation for oblogout
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the oblogout package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: oblogout\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-01-17 23:39+0000\n"
"PO-Revision-Date: 2009-01-26 13:49+0000\n"
"Last-Translator: arl <Unknown>\n"
"Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-01-26 15:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: openboxlogout.py:209
#, python-format
msgid "Button %s is not a valid button name, removing"
msgstr "%s ist keine gültige Beschriftung, entferne die Beschriftung"
#: openboxlogout.py:218
msgid "Can't Hibernate, disabling button"
msgstr "Hibernate ist nicht möglich, diese Funktion wird deaktiviert"
#: openboxlogout.py:222
msgid "Can't Safe Suspend, disabling button"
msgstr ""
"Kann nicht in den \"Safe Suspend\"-Modus wechseln, diese Funktion wird "
"deaktiviert."
#: openboxlogout.py:214
msgid "Can't Suspend, disabling button"
msgstr ""
"Kann nicht in den \"Suspend\"-Modus wechseln, diese Funktion wird deaktiviert"
#: openboxlogout.py:187
#, python-format
msgid "Color %s is not a valid color, defaulting to black"
msgstr ""
"Die Farbe %s ist keine gültige Farbe. Verwende die Standardfarbe schwarz"
#: openboxlogout.py:226
msgid "No valid buttons found, resetting to defaults"
msgstr ""
"Es wurden keine gültigen Schaltflächen gefunden, setze die Einstellung auf "
"den Standardwert zurück"
#: openboxlogout.py:54
msgid "Openbox Logout"
msgstr "Openbox Logout"
#: openboxlogout.py:142
msgid "Unable to determin the module path, exiting..."
msgstr "Der Mudolpfad konnte nicht gefunden werden, breche ab"
#: openboxlogout.py:154
#, python-format
msgid "Unable to find config file %s"
msgstr "Kann die Konfigurationsdatei %s nicht finden"
#: openboxlogout.py:192
msgid "cancel"
msgstr "abbrechen"
#: openboxlogout.py:192
msgid "hibernate"
msgstr "Ruhezustand"
#: openboxlogout.py:192
msgid "lock"
msgstr "sperren"
#: openboxlogout.py:192
msgid "logout"
msgstr "abmelden"
#: openboxlogout.py:192
msgid "restart"
msgstr "Neustart"
#: openboxlogout.py:192
msgid "safesuspend"
msgstr "sicherer Suspend"
#: openboxlogout.py:192
msgid "shutdown"
msgstr "Herunterfahren"
#: openboxlogout.py:192
msgid "suspend"
msgstr "Ruhezustand"
#: openboxlogout.py:192
msgid "switch"
msgstr "wechseln"

View File

@@ -1,28 +1,47 @@
# English (United Kingdom) translation for oblogout
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the oblogout package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: oblogout\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-01-17 23:39+0000\n"
"PO-Revision-Date: 2009-01-26 12:52+0000\n"
"Last-Translator: Andrew Williams <andy@tensixtyone.com>\n"
"Language-Team: English (United Kingdom) <en_GB@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-01-26 15:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: openboxlogout.py:209
#, python-format
msgid "Button %s is not a valid button name, removing"
msgstr "Button %s is not a valid button name, removing"
msgstr "Button %s is not a valid button name, Removing."
#: openboxlogout.py:218
msgid "Can't Hibernate, disabling button"
msgstr "Can't Hibernate, disabling button"
msgstr "Can't Hibernate, Disabling button."
#: openboxlogout.py:222
msgid "Can't Safe Suspend, disabling button"
msgstr "Can't Safe Suspend, disabling button"
msgstr "Can't Safe Suspend, Disabling button."
#: openboxlogout.py:214
msgid "Can't Suspend, disabling button"
msgstr "Can't Suspend, disabling button"
msgstr "Can't Suspend, Disabling button."
#: openboxlogout.py:187
#, python-format
msgid "Color %s is not a valid color, defaulting to black"
msgstr "Color %s is not a valid color, defaulting to black"
msgstr "Color %s is not a valid color, Defaulting to black."
#: openboxlogout.py:226
msgid "No valid buttons found, resetting to defaults"
msgstr "No valid buttons found, resetting to defaults"
msgstr "No valid buttons found, Resetting to defaults."
#: openboxlogout.py:54
msgid "Openbox Logout"
@@ -30,7 +49,7 @@ msgstr "Openbox Logout"
#: openboxlogout.py:142
msgid "Unable to determin the module path, exiting..."
msgstr "Unable to determin the module path, exiting..."
msgstr "Unable to determine the module path, Exiting."
#: openboxlogout.py:154
#, python-format
@@ -51,7 +70,7 @@ msgstr "Lock"
#: openboxlogout.py:192
msgid "logout"
msgstr "Logout"
msgstr "Log-out"
#: openboxlogout.py:192
msgid "restart"
@@ -71,4 +90,4 @@ msgstr "Suspend"
#: openboxlogout.py:192
msgid "switch"
msgstr "Switch User"
msgstr "Switch"

View File

@@ -1,74 +1,93 @@
# Finnish translation for oblogout
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the oblogout package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: oblogout\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-01-17 23:39+0000\n"
"PO-Revision-Date: 2009-01-26 14:54+0000\n"
"Last-Translator: Hanna Pietikäinen <hannapie@online.de>\n"
"Language-Team: Finnish <fi@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-01-26 15:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: openboxlogout.py:209
#, python-format
msgid "Button %s is not a valid button name, removing"
msgstr "Button %s is not a valid button name, removing"
msgstr ""
#: openboxlogout.py:218
msgid "Can't Hibernate, disabling button"
msgstr "Can't Hibernate, disabling button"
msgstr ""
#: openboxlogout.py:222
msgid "Can't Safe Suspend, disabling button"
msgstr "Can't Safe Suspend, disabling button"
msgstr ""
#: openboxlogout.py:214
msgid "Can't Suspend, disabling button"
msgstr "Can't Suspend, disabling button"
msgstr ""
#: openboxlogout.py:187
#, python-format
msgid "Color %s is not a valid color, defaulting to black"
msgstr "Color %s is not a valid color, defaulting to black"
msgstr ""
#: openboxlogout.py:226
msgid "No valid buttons found, resetting to defaults"
msgstr "No valid buttons found, resetting to defaults"
msgstr ""
#: openboxlogout.py:54
msgid "Openbox Logout"
msgstr "Openbox Logout"
msgstr ""
#: openboxlogout.py:142
msgid "Unable to determin the module path, exiting..."
msgstr "Unable to determin the module path, exiting..."
msgstr ""
#: openboxlogout.py:154
#, python-format
msgid "Unable to find config file %s"
msgstr "Unable to find config file %s"
msgstr ""
#: openboxlogout.py:192
msgid "cancel"
msgstr "Cancel"
msgstr ""
#: openboxlogout.py:192
msgid "hibernate"
msgstr "Hibernate"
msgstr "Lepotila"
#: openboxlogout.py:192
msgid "lock"
msgstr "Lock"
msgstr "Lukitse"
#: openboxlogout.py:192
msgid "logout"
msgstr "Logout"
msgstr "Kirjaudu ulos"
#: openboxlogout.py:192
msgid "restart"
msgstr "Restart"
msgstr "Uudelleenkäynnistä"
#: openboxlogout.py:192
msgid "safesuspend"
msgstr "Safe Suspend"
msgstr ""
#: openboxlogout.py:192
msgid "shutdown"
msgstr "Shutdown"
msgstr "Sammuta"
#: openboxlogout.py:192
msgid "suspend"
msgstr "Suspend"
msgstr "Keskeytä"
#: openboxlogout.py:192
msgid "switch"
msgstr "Switch User"
msgstr "Vaihda"

View File

@@ -0,0 +1,93 @@
# French translation for oblogout
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the oblogout package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: oblogout\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-01-17 23:39+0000\n"
"PO-Revision-Date: 2009-01-26 14:36+0000\n"
"Last-Translator: benji <Unknown>\n"
"Language-Team: French <fr@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-01-26 15:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: openboxlogout.py:209
#, python-format
msgid "Button %s is not a valid button name, removing"
msgstr "Le nom du bouton %s n'est pas valide, suppression"
#: openboxlogout.py:218
msgid "Can't Hibernate, disabling button"
msgstr "Impossible de mettre en hibernation, désactivation du bouton"
#: openboxlogout.py:222
msgid "Can't Safe Suspend, disabling button"
msgstr "Impossible de mettre en veille sécurisée, désactivation du bouton"
#: openboxlogout.py:214
msgid "Can't Suspend, disabling button"
msgstr "Impossible de mettre en veille prolongée, désactivation du bouton"
#: openboxlogout.py:187
#, python-format
msgid "Color %s is not a valid color, defaulting to black"
msgstr "La couleur %s n'est pas valide, la couleur par défaut est noir"
#: openboxlogout.py:226
msgid "No valid buttons found, resetting to defaults"
msgstr "Aucun bouton valide trouvé, réinitialisation des valeurs par défaut"
#: openboxlogout.py:54
msgid "Openbox Logout"
msgstr "OpenBox Déconnexion"
#: openboxlogout.py:142
msgid "Unable to determin the module path, exiting..."
msgstr "Impossible de déterminer le chemin du module, arrêt..."
#: openboxlogout.py:154
#, python-format
msgid "Unable to find config file %s"
msgstr "Impossible de trouver le fichier de configuration %s"
#: openboxlogout.py:192
msgid "cancel"
msgstr "Annuler"
#: openboxlogout.py:192
msgid "hibernate"
msgstr "Mise en hibernation"
#: openboxlogout.py:192
msgid "lock"
msgstr "Verrouiller"
#: openboxlogout.py:192
msgid "logout"
msgstr "Déconnexion"
#: openboxlogout.py:192
msgid "restart"
msgstr "Redémarrer"
#: openboxlogout.py:192
msgid "safesuspend"
msgstr ""
#: openboxlogout.py:192
msgid "shutdown"
msgstr "Arrêt"
#: openboxlogout.py:192
msgid "suspend"
msgstr "Mise en veille prolongée"
#: openboxlogout.py:192
msgid "switch"
msgstr "Changer d'utilisateur"

View File

@@ -0,0 +1,93 @@
# Hebrew translation for oblogout
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the oblogout package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: oblogout\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-01-17 23:39+0000\n"
"PO-Revision-Date: 2009-01-26 14:56+0000\n"
"Last-Translator: Alon Horn <salonh@t2.technion.ac.il>\n"
"Language-Team: Hebrew <he@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-01-26 15:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: openboxlogout.py:209
#, python-format
msgid "Button %s is not a valid button name, removing"
msgstr "הכפתור %s אינו חוקי. מסיר."
#: openboxlogout.py:218
msgid "Can't Hibernate, disabling button"
msgstr "לא יכול לעבור למצב שינה. מכבה את הכפתור."
#: openboxlogout.py:222
msgid "Can't Safe Suspend, disabling button"
msgstr "לא יכול לעבור למצב השהיה בטוחה. מכבה את הכפתור."
#: openboxlogout.py:214
msgid "Can't Suspend, disabling button"
msgstr "לא יכול לעבור למצב השהיה. מכבה את הכפתור."
#: openboxlogout.py:187
#, python-format
msgid "Color %s is not a valid color, defaulting to black"
msgstr "הצבע %s אינו חוקי. משתמש בברירת המחדל שחור."
#: openboxlogout.py:226
msgid "No valid buttons found, resetting to defaults"
msgstr "לא נמצאו כפתורים חוקיים. מאתחל לברירות המחדל."
#: openboxlogout.py:54
msgid "Openbox Logout"
msgstr "יציאה מ Openbox"
#: openboxlogout.py:142
msgid "Unable to determin the module path, exiting..."
msgstr "לא מצליח לקבוע את הנתיב למודול. יוצא..."
#: openboxlogout.py:154
#, python-format
msgid "Unable to find config file %s"
msgstr "לא מצליח למצוא את קובץ התצורה %s"
#: openboxlogout.py:192
msgid "cancel"
msgstr "ביטול"
#: openboxlogout.py:192
msgid "hibernate"
msgstr "מצב שינה"
#: openboxlogout.py:192
msgid "lock"
msgstr "נעילה"
#: openboxlogout.py:192
msgid "logout"
msgstr "התנתק"
#: openboxlogout.py:192
msgid "restart"
msgstr "הפעלה מחדש"
#: openboxlogout.py:192
msgid "safesuspend"
msgstr "השהיה בטוחה"
#: openboxlogout.py:192
msgid "shutdown"
msgstr "כיבוי"
#: openboxlogout.py:192
msgid "suspend"
msgstr "המתנה"
#: openboxlogout.py:192
msgid "switch"
msgstr "החלף"

View File

@@ -0,0 +1,93 @@
# Norwegian Bokmal translation for oblogout
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the oblogout package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: oblogout\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-01-17 23:39+0000\n"
"PO-Revision-Date: 2009-01-26 12:51+0000\n"
"Last-Translator: papparonny <ronny@olufsen.org>\n"
"Language-Team: Norwegian Bokmal <nb@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-01-26 15:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: openboxlogout.py:209
#, python-format
msgid "Button %s is not a valid button name, removing"
msgstr "Knapp %s er ikke et gyldig knappenavn, fjerner"
#: openboxlogout.py:218
msgid "Can't Hibernate, disabling button"
msgstr "Kan ikke gå i dvale, utelukker knapp"
#: openboxlogout.py:222
msgid "Can't Safe Suspend, disabling button"
msgstr "Trygg standby umulig, utelukker knapp"
#: openboxlogout.py:214
msgid "Can't Suspend, disabling button"
msgstr "Standby umulig, utelukker knapp"
#: openboxlogout.py:187
#, python-format
msgid "Color %s is not a valid color, defaulting to black"
msgstr "Farge %s er ikke en gyldig farge, bruker svart"
#: openboxlogout.py:226
msgid "No valid buttons found, resetting to defaults"
msgstr "Ingen gyldige knapper funnet, bruker standard"
#: openboxlogout.py:54
msgid "Openbox Logout"
msgstr "Openbox Logout"
#: openboxlogout.py:142
msgid "Unable to determin the module path, exiting..."
msgstr "Fant ikke stien til modulen, avslutter..."
#: openboxlogout.py:154
#, python-format
msgid "Unable to find config file %s"
msgstr "Fant ikke config-fil %s"
#: openboxlogout.py:192
msgid "cancel"
msgstr "avbryt"
#: openboxlogout.py:192
msgid "hibernate"
msgstr "gå i dvalemodus"
#: openboxlogout.py:192
msgid "lock"
msgstr "lås"
#: openboxlogout.py:192
msgid "logout"
msgstr "logg ut"
#: openboxlogout.py:192
msgid "restart"
msgstr "omstart"
#: openboxlogout.py:192
msgid "safesuspend"
msgstr "trygg standby"
#: openboxlogout.py:192
msgid "shutdown"
msgstr "slå av"
#: openboxlogout.py:192
msgid "suspend"
msgstr "standby"
#: openboxlogout.py:192
msgid "switch"
msgstr "bytt"

View File

@@ -0,0 +1,93 @@
# Norwegian Nynorsk translation for oblogout
# Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
# This file is distributed under the same license as the oblogout package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
#
msgid ""
msgstr ""
"Project-Id-Version: oblogout\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-01-17 23:39+0000\n"
"PO-Revision-Date: 2009-01-26 13:22+0000\n"
"Last-Translator: papparonny <ronny@olufsen.org>\n"
"Language-Team: Norwegian Nynorsk <nn@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2009-01-26 15:52+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#: openboxlogout.py:209
#, python-format
msgid "Button %s is not a valid button name, removing"
msgstr "Knapp %s er ikkje eit gyldig knappenamn, fjernar"
#: openboxlogout.py:218
msgid "Can't Hibernate, disabling button"
msgstr "Kan ikkje gå i dvale, utelukkar knapp"
#: openboxlogout.py:222
msgid "Can't Safe Suspend, disabling button"
msgstr "Trygg kvile umogleg, utelukkar knapp"
#: openboxlogout.py:214
msgid "Can't Suspend, disabling button"
msgstr "Kvile umogleg, utelukkar knapp"
#: openboxlogout.py:187
#, python-format
msgid "Color %s is not a valid color, defaulting to black"
msgstr "Farge %s er ikkje ein gyldig farge, brukar svart"
#: openboxlogout.py:226
msgid "No valid buttons found, resetting to defaults"
msgstr "Ingen gyldige knappar funne, brukar standard"
#: openboxlogout.py:54
msgid "Openbox Logout"
msgstr "Openbox Utlogging"
#: openboxlogout.py:142
msgid "Unable to determin the module path, exiting..."
msgstr "Fann ikkje stien til modula, avsluttar..."
#: openboxlogout.py:154
#, python-format
msgid "Unable to find config file %s"
msgstr "Fann ikke config-fil %s"
#: openboxlogout.py:192
msgid "cancel"
msgstr "avbryt"
#: openboxlogout.py:192
msgid "hibernate"
msgstr "dvalemodus"
#: openboxlogout.py:192
msgid "lock"
msgstr "lås"
#: openboxlogout.py:192
msgid "logout"
msgstr "logg ut"
#: openboxlogout.py:192
msgid "restart"
msgstr "omstart"
#: openboxlogout.py:192
msgid "safesuspend"
msgstr "trygg kvile"
#: openboxlogout.py:192
msgid "shutdown"
msgstr "slå av"
#: openboxlogout.py:192
msgid "suspend"
msgstr "kvilemodus"
#: openboxlogout.py:192
msgid "switch"
msgstr "Byt"