diff options
30 files changed, 96 insertions, 102 deletions
@@ -7,9 +7,9 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-03-27 22:38+0100\n" -"PO-Revision-Date: 2008-03-28 08:26+0200\n" -"Last-Translator: seqizz <seqizz@gmail.com>\n" +"POT-Creation-Date: 2008-04-09 00:53+0200\n" +"PO-Revision-Date: 2008-04-10 22:08+0200\n" +"Last-Translator: Gürkan gür <seqizz@gmail.com>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,13 +19,13 @@ msgstr "" #: portato/gui/templates/MainWindow.glade:190 #: portato/gui/templates/MainWindow.glade:282 msgid "Emerge _Paused" -msgstr "Yarım kalmış emerge'ye de_vam et" +msgstr "Son kesilen işleme de_vam et" #: portato/gui/templates/popups.glade:19 #: portato/gui/templates/MainWindow.glade:198 #: portato/gui/templates/MainWindow.glade:264 msgid "_Kill Emerge" -msgstr "Emerge'yi _Durdur" +msgstr "İşlemi _Durdur" #: portato/gui/templates/popups.glade:37 #: portato/gui/templates/MainWindow.glade:68 @@ -166,7 +166,7 @@ msgstr "<b>Sekme Seçenekleri</b>" #: portato/gui/templates/PreferenceWindow.glade:721 msgid "Show slots in the version list" -msgstr "" +msgstr "Sürüm listesinde depo numaralarını göster" #: portato/gui/templates/PreferenceWindow.glade:732 msgid "<b>Package Options</b>" @@ -278,7 +278,7 @@ msgstr "_Bayrakları Kaydet" #: portato/gui/templates/MainWindow.glade:221 #: portato/gui/templates/MainWindow.glade:1167 -#: portato/gui/windows/main.py:846 +#: portato/gui/windows/main.py:852 msgid "Queue" msgstr "Kuyruk" @@ -288,8 +288,8 @@ msgstr "Oneshot" #: portato/gui/templates/MainWindow.glade:240 #: portato/gui/templates/MainWindow.glade:1192 -#: portato/gui/windows/main.py:1159 -#: portato/gui/windows/main.py:1161 +#: portato/gui/windows/main.py:1165 +#: portato/gui/windows/main.py:1167 msgid "Console" msgstr "Konsol" @@ -341,28 +341,28 @@ msgid "<b>Use Flags:</b>" msgstr "<b>Use Bayrakları:</b>" #: portato/gui/templates/MainWindow.glade:656 -#: portato/gui/windows/main.py:518 -#: portato/gui/windows/main.py:521 -#: portato/gui/windows/main.py:581 -#: portato/gui/windows/main.py:585 +#: portato/gui/windows/main.py:524 +#: portato/gui/windows/main.py:527 +#: portato/gui/windows/main.py:587 +#: portato/gui/windows/main.py:591 msgid "Testing" msgstr "Test Sürümü" #: portato/gui/templates/MainWindow.glade:689 -#: portato/gui/windows/main.py:501 -#: portato/gui/windows/main.py:504 #: portato/gui/windows/main.py:507 -#: portato/gui/windows/main.py:608 -#: portato/gui/windows/main.py:612 -#: portato/gui/windows/main.py:619 -#: portato/gui/windows/main.py:623 +#: portato/gui/windows/main.py:510 +#: portato/gui/windows/main.py:513 +#: portato/gui/windows/main.py:614 +#: portato/gui/windows/main.py:618 +#: portato/gui/windows/main.py:625 +#: portato/gui/windows/main.py:629 msgid "Masked" msgstr "Maskelenmiş" #: portato/gui/templates/MainWindow.glade:708 -#: portato/gui/windows/main.py:338 +#: portato/gui/windows/main.py:344 msgid "Installed" -msgstr "Kurulmuş" +msgstr "Sistemde kurulu" #: portato/gui/templates/MainWindow.glade:726 msgid "<b>Homepage:</b>" @@ -378,7 +378,7 @@ msgstr "<b>Tanım:</b>" #: portato/gui/templates/MainWindow.glade:824 msgid "<span foreground='red'><b>MISSING KEYWORD</b></span>" -msgstr "<span foreground='red'><b>ANAHTAR EKSİK</b></span>" +msgstr "<span foreground='red'><b>packages.keyword'e eklenmeli</b></span>" #: portato/gui/templates/MainWindow.glade:839 msgid "<b>Installed, but not in portage anymore</b>" @@ -398,7 +398,7 @@ msgstr "Bağımlılıklar" #: portato/gui/templates/MainWindow.glade:984 msgid "Ebuild" -msgstr "" +msgstr "Ebuild" #: portato/gui/templates/MainWindow.glade:1011 msgid "Changelog" @@ -456,7 +456,7 @@ msgstr "Hata Kodu: %d" #: portato/plugins/resume_loop.py:30 msgid "Resume-loop called while process is still running!" -msgstr "" +msgstr "Devam et çağrısı, işlem devam ederken geldi!" #: portato/plugins/etc_proposals.py:25 msgid "Cannot start etc-proposals. Not root!" @@ -483,7 +483,7 @@ msgid "Show Details" msgstr "Ayrıntıları Göster" #: portato/gui/exception_handling.py:72 -#: portato/gui/exception_handling.py:118 +#: portato/gui/exception_handling.py:135 #, python-format msgid "" "Exception in thread \"%(thread)s\":\n" @@ -494,7 +494,7 @@ msgstr "" msgid "Save traceback..." msgstr "Geribeslemeyi kaydet..." -#: portato/gui/exception_handling.py:120 +#: portato/gui/exception_handling.py:137 #, python-format msgid "" "Exception:\n" @@ -596,16 +596,18 @@ msgid "" "This is the updates queue. You cannot remove single elements.\n" "Do you want to clear the whole queue instead?" msgstr "" +"Bu güncelleştirme kuyruğu. Sadece bir öğeyi kaldıramazsınız.\n" +"Bütün kuyruktakileri kaldırmak ister misiniz?" #: portato/gui/dialogs.py:79 msgid "Do you really want to clear the whole queue?" msgstr "Geçerli kuyruğu temizlemek istiyor musunuz?" #: portato/gui/windows/update.py:47 -#: portato/gui/windows/main.py:337 +#: portato/gui/windows/main.py:343 #: portato/gui/windows/plugin.py:24 msgid "Enabled" -msgstr "Etkinleştirildi" +msgstr "Etkin" #: portato/gui/windows/update.py:48 msgid "Package" @@ -622,117 +624,121 @@ msgstr "<tanım yok>" #: portato/gui/windows/main.py:198 msgid "The first homepage part does not start with 'http' or 'ftp'." -msgstr "" +msgstr "Anasayfa 'http' veya 'ftp' ile başlamıyor." #: portato/gui/windows/main.py:202 msgid "Blank inside homepage." msgstr "" -#: portato/gui/windows/main.py:244 +#: portato/gui/windows/main.py:243 #, python-format msgid "If '%s' is disabled" msgstr "Eğer '%s' pasifse" -#: portato/gui/windows/main.py:246 +#: portato/gui/windows/main.py:245 #, python-format msgid "If '%s' is enabled" -msgstr "Eğer '%s' etkinse" +msgstr "Eğer '%s' USE bayrağı etkinse" -#: portato/gui/windows/main.py:254 +#: portato/gui/windows/main.py:253 msgid "One of the following" -msgstr "" +msgstr "Ardındakilerden birisi" -#: portato/gui/windows/main.py:258 +#: portato/gui/windows/main.py:257 msgid "All of the following" -msgstr "" +msgstr "Ardındakilerin hepsi" -#: portato/gui/windows/main.py:298 +#: portato/gui/windows/main.py:280 +msgid "Can't display dependencies: This package has an unsupported dependency string." +msgstr "Bağımlılıklar gösterilemiyor: Bu paket desteklenmeyen bir bağımlılık listesine sahip." + +#: portato/gui/windows/main.py:304 msgid "This is an expanded use flag and cannot be selected" msgstr "Bu genişletilmiş bir bayrak, seçilemez" -#: portato/gui/windows/main.py:339 +#: portato/gui/windows/main.py:345 msgid "Flag" msgstr "Bayrak" -#: portato/gui/windows/main.py:340 +#: portato/gui/windows/main.py:346 msgid "Description" msgstr "Tanım" -#: portato/gui/windows/main.py:351 +#: portato/gui/windows/main.py:357 msgid "Versions" msgstr "Sürümler" -#: portato/gui/windows/main.py:354 +#: portato/gui/windows/main.py:360 msgid "Slot" -msgstr "" +msgstr "Depo" -#: portato/gui/windows/main.py:448 +#: portato/gui/windows/main.py:454 #, python-format msgid "Package could not be found: %s" msgstr "Paket bulunamadı: %s" -#: portato/gui/windows/main.py:510 -#: portato/gui/windows/main.py:610 +#: portato/gui/windows/main.py:516 +#: portato/gui/windows/main.py:616 msgid "Masked by user" msgstr "Kullanıcı tarafından maskelendi" -#: portato/gui/windows/main.py:693 +#: portato/gui/windows/main.py:699 msgid "Loading Config" msgstr "Ayarlar Yükleniyor" -#: portato/gui/windows/main.py:705 +#: portato/gui/windows/main.py:711 msgid "Creating Database" msgstr "Veritabanı Oluşturuluyor" -#: portato/gui/windows/main.py:710 +#: portato/gui/windows/main.py:716 msgid "Loading Plugins" msgstr "Eklentiler Yükleniyor" -#: portato/gui/windows/main.py:723 +#: portato/gui/windows/main.py:729 msgid "Building frontend" msgstr "Arayüz oluşturuluyor" -#: portato/gui/windows/main.py:766 +#: portato/gui/windows/main.py:772 #: portato/gui/views.py:115 #, python-format msgid "Error: %s" msgstr "Hata: %s" -#: portato/gui/windows/main.py:805 +#: portato/gui/windows/main.py:811 msgid "Restoring Session" msgstr "Oturum Başlatılıyor" -#: portato/gui/windows/main.py:814 +#: portato/gui/windows/main.py:820 msgid "Finishing startup" msgstr "Açılış tamamlanıyor" -#: portato/gui/windows/main.py:849 +#: portato/gui/windows/main.py:855 msgid "Options" msgstr "Seçenekler" -#: portato/gui/windows/main.py:861 +#: portato/gui/windows/main.py:867 msgid "Categories" msgstr "Kategoriler" -#: portato/gui/windows/main.py:897 +#: portato/gui/windows/main.py:903 msgid "Packages" msgstr "Paketler" -#: portato/gui/windows/main.py:965 +#: portato/gui/windows/main.py:971 #, python-format msgid "Translating session from version %d to %d." msgstr "" -#: portato/gui/windows/main.py:968 +#: portato/gui/windows/main.py:974 #, python-format msgid "Cannot translate session from version %d to %d." msgstr "" -#: portato/gui/windows/main.py:1290 +#: portato/gui/windows/main.py:1296 msgid "use flags" msgstr "use bayrakları" -#: portato/gui/windows/main.py:1301 +#: portato/gui/windows/main.py:1307 msgid "masking keywords" msgstr "maskeleme anahtarları" @@ -797,23 +803,23 @@ msgstr "" msgid "Current session format is newer than this version supports." msgstr "" -#: portato/gui/utils.py:116 +#: portato/gui/utils.py:135 msgid "ALL" msgstr "TÜMÜ" -#: portato/gui/utils.py:192 +#: portato/gui/utils.py:222 #, python-format msgid "Catched KeyError => %s seems not to be an available category. Have you played with rsync-excludes?" -msgstr "" +msgstr "Catched KeyError => %s geçerli bir kategoride görünmüyor. rsync-excludes değerleri ile mi oynadınız?" -#: portato/gui/utils.py:248 +#: portato/gui/utils.py:283 #, python-format msgid "Error while compiling search expression: '%s'." msgstr "" #: portato/gui/views.py:70 msgid "Package is not installed" -msgstr "Paket kurulmadı" +msgstr "Paket kurulu değil" #: portato/gui/views.py:87 #, python-format @@ -826,8 +832,8 @@ msgid "No %(old)s language file installed. Disable highlighting." msgstr "" #: portato/gui/__init__.py:22 -msgid "Loading Portage" -msgstr "Portage Yükleniyor" +msgid "Loading Backend" +msgstr "Portato Yükleniyor" #: portato/backend/catapult/package.py:99 #: portato/backend/portage/package.py:132 @@ -843,7 +849,7 @@ msgstr "Maskelemede çelişen değerler: %s" #: portato/backend/portage/system.py:333 #, python-format msgid "No best match for %s. It seems not to be in the tree anymore." -msgstr "" +msgstr "%s için iyi bir eşleşme bulunamadı. Artık portage ağacında olmayacak gibi görünüyor." #: portato/backend/portage/system.py:403 #, python-format @@ -853,7 +859,7 @@ msgstr "Kurulmamış bir bağımlılık bulundu: %s." #: portato/backend/portage/system.py:445 #, python-format msgid "Bug? No best match could be found for '%(package)s'. Needed by: '%(cpv)s'." -msgstr "" +msgstr "Hata? '%(package)s' için iyi bir eşlenme bulunamadı. Ancak pakede '%(cpv)s' tarafından ihtiyaç duyuluyor." #: portato/plugin.py:298 #: portato/plugin.py:304 @@ -913,15 +919,15 @@ msgstr "Geçersiz bağımlılık listesi" #: portato.py:42 msgid "validates the given plugin xml instead of launching Portato" -msgstr "" +msgstr "Portato'yu başlatmaz, verilen eklenti xml dosyasını tanıtır" #: portato.py:45 msgid "do not fork off as root" -msgstr "" +msgstr "root hakları olmadan başla" #: portato.py:45 msgid "-L is deprecated" -msgstr "" +msgstr "-L kullanılmıyor" #: portato.py:55 #, python-format @@ -936,3 +942,7 @@ msgstr "Geçerli değil. Şemaya uymuyor." msgid "Validation succeeded." msgstr "Geçerli." +#: portato.py:67 +msgid "Starting Portato" +msgstr "Portato başlatılıyor" + @@ -24,9 +24,7 @@ from portato.constants import VERSION, XSD_LOCATION, LOCALE_DIR, APP, SU_COMMAND def main (): # set gettext stuff locale.setlocale(locale.LC_ALL, '') - gettext.bindtextdomain(APP, LOCALE_DIR) - gettext.textdomain(APP) - _ = gettext.lgettext + gettext.install(APP, LOCALE_DIR, unicode = True) # build the parser desc = "Portato - A Portage GUI." diff --git a/portato/backend/catapult/package.py b/portato/backend/catapult/package.py index ea5cdda..2e4f471 100644 --- a/portato/backend/catapult/package.py +++ b/portato/backend/catapult/package.py @@ -22,7 +22,6 @@ import dbus import catapult import os.path -from gettext import lgettext as _ class CatapultPackage(Package): diff --git a/portato/backend/catapult/system.py b/portato/backend/catapult/system.py index 7584d13..3a3bac5 100644 --- a/portato/backend/catapult/system.py +++ b/portato/backend/catapult/system.py @@ -13,7 +13,6 @@ from __future__ import absolute_import import re, os -from gettext import lgettext as _ from threading import Event import dbus import catapult diff --git a/portato/backend/flags.py b/portato/backend/flags.py index 163a4f7..d388e08 100644 --- a/portato/backend/flags.py +++ b/portato/backend/flags.py @@ -15,7 +15,6 @@ from __future__ import absolute_import, with_statement import os import os.path from subprocess import Popen, PIPE # needed for grep -from gettext import lgettext as _ from . import system, is_package from ..helper import debug, error, unique_array diff --git a/portato/backend/portage/package.py b/portato/backend/portage/package.py index 767df5b..591afd6 100644 --- a/portato/backend/portage/package.py +++ b/portato/backend/portage/package.py @@ -21,7 +21,6 @@ from ...helper import debug, error, unique_array import portage, portage_dep import os.path -from gettext import lgettext as _ class PortagePackage (Package): """This is a class abstracting a normal package which can be installed for the portage-system.""" diff --git a/portato/backend/portage/system.py b/portato/backend/portage/system.py index 13ec76e..ae17d75 100644 --- a/portato/backend/portage/system.py +++ b/portato/backend/portage/system.py @@ -13,7 +13,6 @@ from __future__ import absolute_import import re, os -from gettext import lgettext as _ import portage from .package import PortagePackage diff --git a/portato/config_parser.py b/portato/config_parser.py index ee838b2..1383d69 100644 --- a/portato/config_parser.py +++ b/portato/config_parser.py @@ -44,7 +44,6 @@ from __future__ import absolute_import, with_statement __docformat__ = "restructuredtext" import re -from gettext import lgettext as _ from threading import Lock from .helper import debug, error diff --git a/portato/gui/__init__.py b/portato/gui/__init__.py index ba7bb3e..20bcba6 100644 --- a/portato/gui/__init__.py +++ b/portato/gui/__init__.py @@ -12,7 +12,6 @@ from __future__ import absolute_import -from ..helper import _ from .. import get_listener from .exception_handling import register_ex_handler diff --git a/portato/gui/dialogs.py b/portato/gui/dialogs.py index 1beb6be..0313cae 100644 --- a/portato/gui/dialogs.py +++ b/portato/gui/dialogs.py @@ -11,7 +11,7 @@ # Written by René 'Necoro' Neumann <necoro@necoro.net> import gtk -from ..helper import _, error +from ..helper import error def queue_not_empty_dialog(): dialog = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_QUESTION, gtk.BUTTONS_NONE, _("There are some packages in the emerge queue and/or an emerge process is running.\nDo you really want to quit?")) diff --git a/portato/gui/exception_handling.py b/portato/gui/exception_handling.py index 33e58ab..d8ff7ba 100644 --- a/portato/gui/exception_handling.py +++ b/portato/gui/exception_handling.py @@ -19,7 +19,7 @@ import sys, traceback from threading import Thread from StringIO import StringIO -from ..helper import _, debug, error +from ..helper import debug, error from .dialogs import file_chooser_dialog, io_ex_dialog class GtkThread (Thread): diff --git a/portato/gui/queue.py b/portato/gui/queue.py index 40b765d..f203920 100644 --- a/portato/gui/queue.py +++ b/portato/gui/queue.py @@ -20,7 +20,7 @@ from subprocess import Popen # some backend things from .. import backend, plugin from ..backend import flags, system -from ..helper import _, debug, info, send_signal_to_group, unique_array +from ..helper import debug, info, send_signal_to_group, unique_array from ..waiting_queue import WaitingQueue from .updater import Updater diff --git a/portato/gui/session.py b/portato/gui/session.py index e356fbd..a37cd85 100644 --- a/portato/gui/session.py +++ b/portato/gui/session.py @@ -10,7 +10,7 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> -from ..helper import _, debug +from ..helper import debug # the current version for saved sessions # change this, whenever the change is incompatible with previous versions diff --git a/portato/gui/updater.py b/portato/gui/updater.py index d6087ee..f293fbc 100644 --- a/portato/gui/updater.py +++ b/portato/gui/updater.py @@ -15,7 +15,7 @@ from __future__ import absolute_import from ..backend import system import threading, subprocess, time -from ..helper import _, debug, error +from ..helper import debug, error class Updater (object): """ diff --git a/portato/gui/utils.py b/portato/gui/utils.py index a6bd800..151ec22 100644 --- a/portato/gui/utils.py +++ b/portato/gui/utils.py @@ -21,7 +21,7 @@ from functools import wraps # some backend things from ..backend import flags, system, set_system -from ..helper import _, debug, info, set_log_level +from ..helper import debug, info, set_log_level from ..constants import USE_CATAPULT # parser diff --git a/portato/gui/views.py b/portato/gui/views.py index 41e6ae5..bd98ad8 100644 --- a/portato/gui/views.py +++ b/portato/gui/views.py @@ -17,7 +17,7 @@ import pango import gtksourceview2 import logging -from ..helper import _, warning +from ..helper import warning class LazyView (object): def __init__ (self): diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py index 14a0181..32b6660 100644 --- a/portato/gui/windows/main.py +++ b/portato/gui/windows/main.py @@ -23,7 +23,7 @@ import itertools as itt # our backend stuff from ...backend import flags, system # must be the first to avoid circular deps from ... import get_listener, plugin, dependency -from ...helper import debug, warning, error, info, unique_array, N_, _ +from ...helper import debug, warning, error, info, unique_array from ...session import Session from ...constants import CONFIG_LOCATION, VERSION, APP_ICON from ...backend.exceptions import PackageNotFoundException, BlockedException diff --git a/portato/gui/windows/plugin.py b/portato/gui/windows/plugin.py index 672bff5..fb9446e 100644 --- a/portato/gui/windows/plugin.py +++ b/portato/gui/windows/plugin.py @@ -15,7 +15,7 @@ from __future__ import absolute_import import gtk from .basic import AbstractDialog -from ...helper import _, debug +from ...helper import debug class PluginWindow (AbstractDialog): diff --git a/portato/gui/windows/preference.py b/portato/gui/windows/preference.py index 41db921..991e7b3 100644 --- a/portato/gui/windows/preference.py +++ b/portato/gui/windows/preference.py @@ -16,7 +16,7 @@ import gtk from .basic import AbstractDialog from ..dialogs import io_ex_dialog -from ...helper import _, debug +from ...helper import debug class PreferenceWindow (AbstractDialog): """Window displaying some preferences.""" diff --git a/portato/gui/windows/search.py b/portato/gui/windows/search.py index 6e34a0e..e776dd1 100644 --- a/portato/gui/windows/search.py +++ b/portato/gui/windows/search.py @@ -14,7 +14,7 @@ from __future__ import absolute_import import gtk from .basic import AbstractDialog -from ...helper import _, debug +from ...helper import debug class SearchWindow (AbstractDialog): """A window showing the results of a search process.""" diff --git a/portato/gui/windows/splash.py b/portato/gui/windows/splash.py index 52c2543..df19a9b 100644 --- a/portato/gui/windows/splash.py +++ b/portato/gui/windows/splash.py @@ -15,7 +15,6 @@ from __future__ import absolute_import import gtk from .basic import Window -from ...helper import _ from ...constants import VERSION, APP_ICON class SplashScreen (Window): diff --git a/portato/gui/windows/update.py b/portato/gui/windows/update.py index 8e4fad1..e369c49 100644 --- a/portato/gui/windows/update.py +++ b/portato/gui/windows/update.py @@ -17,7 +17,7 @@ from .basic import AbstractDialog from ..dialogs import unmask_dialog, blocked_dialog from ...backend import system from ...backend.exceptions import PackageNotFoundException, BlockedException -from ...helper import _, debug +from ...helper import debug class UpdateWindow (AbstractDialog): diff --git a/portato/gui/wrapper.py b/portato/gui/wrapper.py index 8be3b6a..2c492d4 100644 --- a/portato/gui/wrapper.py +++ b/portato/gui/wrapper.py @@ -13,7 +13,7 @@ from __future__ import absolute_import import vte -from ..helper import _,debug +from ..helper import debug class GtkTree (object): """The implementation of the abstract tree.""" diff --git a/portato/helper.py b/portato/helper.py index 331bf9a..31e25d9 100644 --- a/portato/helper.py +++ b/portato/helper.py @@ -16,7 +16,6 @@ Some nice functions used in the program. from __future__ import absolute_import import os, signal, logging, grp -from gettext import lgettext as _ debug = logging.getLogger("portatoLogger").debug info = logging.getLogger("portatoLogger").info diff --git a/portato/plistener.py b/portato/plistener.py index 848e71e..1a5197a 100644 --- a/portato/plistener.py +++ b/portato/plistener.py @@ -14,7 +14,6 @@ from __future__ import absolute_import import os from subprocess import Popen -from gettext import lgettext as _ try: import pynotify diff --git a/portato/plugin.py b/portato/plugin.py index 08e651b..bf9dc91 100644 --- a/portato/plugin.py +++ b/portato/plugin.py @@ -17,7 +17,6 @@ from __future__ import absolute_import import os, os.path from xml.dom.minidom import parse from lxml import etree -from gettext import lgettext as _ from .constants import PLUGIN_DIR, XSD_LOCATION from .helper import debug, info, warning, error, flatten diff --git a/portato/plugins/etc_proposals.py b/portato/plugins/etc_proposals.py index 62605c8..d5f707f 100644 --- a/portato/plugins/etc_proposals.py +++ b/portato/plugins/etc_proposals.py @@ -14,7 +14,6 @@ from portato.helper import error import os from subprocess import Popen -from gettext import lgettext as _ PROG=["/usr/sbin/etc-proposals"] diff --git a/portato/plugins/notify.py b/portato/plugins/notify.py index 8bb0a87..78812b3 100644 --- a/portato/plugins/notify.py +++ b/portato/plugins/notify.py @@ -1,4 +1,3 @@ -from gettext import lgettext as _ import pynotify from portato import get_listener diff --git a/portato/plugins/resume_loop.py b/portato/plugins/resume_loop.py index c4191a8..e4531d0 100644 --- a/portato/plugins/resume_loop.py +++ b/portato/plugins/resume_loop.py @@ -12,7 +12,6 @@ import pty, time from subprocess import Popen, STDOUT -from gettext import lgettext as _ from portato.backend import system from portato.helper import debug, warning diff --git a/portato/session.py b/portato/session.py index 636e00a..6abd899 100644 --- a/portato/session.py +++ b/portato/session.py @@ -16,7 +16,7 @@ import os, os.path from .config_parser import ConfigParser from .constants import SESSION_DIR -from .helper import _,debug, info +from .helper import debug, info class Session (object): """ |