[caribou] Fix Bug 638207. Import i18n.py to make the setting window translatable.
- From: Eitan Isaacson <eitani src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [caribou] Fix Bug 638207. Import i18n.py to make the setting window translatable.
- Date: Tue, 28 Dec 2010 20:25:15 +0000 (UTC)
commit 81c48ed06da9938b2c1fe7b942d1cc782a6f497d
Author: Jiro Matsuzawa <matsuzawa jr gmail com>
Date: Wed Dec 29 04:08:01 2010 +0900
Fix Bug 638207. Import i18n.py to make the setting window translatable.
caribou/common/settings.py | 1 +
caribou/ui/i18n.py.in | 2 --
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/caribou/common/settings.py b/caribou/common/settings.py
index a3ffffc..6f08774 100644
--- a/caribou/common/settings.py
+++ b/caribou/common/settings.py
@@ -2,6 +2,7 @@ import os
from setting_types import *
from gettext import gettext as _
import caribou.common.const as const
+import caribou.ui.i18n
import xml.dom.minidom
try:
diff --git a/caribou/ui/i18n.py.in b/caribou/ui/i18n.py.in
index 067283a..bf7ad0f 100644
--- a/caribou/ui/i18n.py.in
+++ b/caribou/ui/i18n.py.in
@@ -2,8 +2,6 @@ import gettext
from gettext import gettext as _
import os
-print 'initialized i18n'
-
def C_(ctx, s):
"""Provide qualified translatable strings via context.
(copied from Orca)"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]