[ocrfeeder] Make translators for about dialog dependent from the translation
- From: Joaquim Manuel Pereira Rocha <jrocha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ocrfeeder] Make translators for about dialog dependent from the translation
- Date: Tue, 9 Mar 2010 12:53:25 +0000 (UTC)
commit 29a871e926d51cfe4fe95d6af4010ccb4261839c
Author: Claudio Saavedra <csaavedra igalia com>
Date: Tue Mar 9 13:53:43 2010 +0100
Make translators for about dialog dependent from the translation
studio/widgetPresenter.py | 5 +----
util/constants.py | 10 ----------
2 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/studio/widgetPresenter.py b/studio/widgetPresenter.py
index bacaa19..77c48e7 100644
--- a/studio/widgetPresenter.py
+++ b/studio/widgetPresenter.py
@@ -1224,10 +1224,7 @@ class CustomAboutDialog(gtk.AboutDialog):
self.set_license(GPL_STATEMENT)
self.set_artists(OCRFEEDER_STUDIO_ARTISTS)
self.set_comments(_(OCRFEEDER_STUDIO_COMMENTS))
- translator_credits = ''
- for translator in OCRFEEDER_STUDIO_TRANSLATORS:
- translator_credits += translator[0] + ': ' + translator[1] + '\n'
- self.set_translator_credits(translator_credits)
+ self.set_translator_credits(_('translator-credits'))
self.set_icon_from_file(WINDOW_ICON)
def getPopupMenu(menus_info):
diff --git a/util/constants.py b/util/constants.py
index 2b41305..b3b1a97 100644
--- a/util/constants.py
+++ b/util/constants.py
@@ -26,16 +26,6 @@ OCRFEEDER_COMPACT_NAME = 'ocrfeeder'
OCRFEEDER_STUDIO_VERSION = '0.6.1'
OCRFEEDER_STUDIO_AUTHORS = ['Joaquim Rocha <joaquimrocha1 gmail com>']
OCRFEEDER_STUDIO_ARTISTS = ['Joaquim Rocha <joaquimrocha1 gmail com>']
-OCRFEEDER_STUDIO_TRANSLATORS = [('English', 'Joaquim Rocha <joaquimrocha1 gmail com>'),
- ('Portuguese', 'Joaquim Rocha <joaquimrocha1 gmail com>'),
- ('German', 'Renard VoÃ? <renardvoss gmx de>'),
- ('Italian', 'Andrea Grandi <a grandi gmail com>'),
- ('French', 'Philippe Normand <phil base-art net>'),
- ('Galician', 'Xabier RodrÃguez Calvar <xrcalvar igalia com>'),
- ('Spanish', 'Andrés Gómez <agomez igalia com>'),
- ('Simplified Chinese', 'å??洪德 (Hongde Liu) <enginespot gmail com>'),
- ('Swedish', 'Daniel Nylander <po danielnylander se>'),
- ]
OCRFEEDER_COPYRIGHT = 'Copyright © 2008-2010 Joaquim Rocha\n' \
'Copyright © 2009-2010 Igalia, SL'
OCRFEEDER_WEBSITE = 'http://live.gnome.org/OCRFeeder'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]