Commit 21d10083 authored by Bruno Coudoin's avatar Bruno Coudoin

Merge of trunk 3242 Windows issue. Translation was broken in all python

	Merge of trunk 3242
	Windows issue. Translation was broken in all python modules.
	Now use the gcompris gettext instead of the python one.


svn path=/branches/gcomprixogoo/; revision=3244
parent 5e331c1c
......@@ -25,7 +25,7 @@ import gcompris.admin
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# Database
#from pysqlite2 import dbapi2 as sqlite
......
......@@ -20,7 +20,7 @@
import gtk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# Database
from pysqlite2 import dbapi2 as sqlite
......
......@@ -24,7 +24,7 @@ import gcompris.skin
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# Database
from pysqlite2 import dbapi2 as sqlite
......
......@@ -20,7 +20,7 @@
import gtk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
import group_user_list
......
......@@ -24,7 +24,7 @@ import gcompris.skin
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# Database
from pysqlite2 import dbapi2 as sqlite
......
......@@ -24,7 +24,7 @@ import gcompris.skin
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
import constants
......
......@@ -25,7 +25,7 @@ import gcompris.bonus
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# Database
from pysqlite2 import dbapi2 as sqlite
......
......@@ -25,7 +25,7 @@ import gcompris.utils
import gcompris.skin
import gtk
import gtk.gdk
from gettext import gettext as _
from gcompris import gcompris_gettext as _
class Module:
"""GCompris Administrative Module"""
......
......@@ -24,7 +24,7 @@ import gcompris.skin
import gcompris.admin
import gtk
import gtk.gdk
from gettext import gettext as _
from gcompris import gcompris_gettext as _
import sys;
# Database
......
......@@ -23,7 +23,7 @@ import gcompris.utils
import gcompris.skin
import gtk
import gtk.gdk
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# Database
from pysqlite2 import dbapi2 as sqlite
......
......@@ -23,7 +23,7 @@ import gcompris.utils
import gcompris.skin
import gtk
import gtk.gdk
from gettext import gettext as _
from gcompris import gcompris_gettext as _
import module
import profile_list
......
......@@ -24,7 +24,7 @@ import gcompris.skin
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# Database
from pysqlite2 import dbapi2 as sqlite
......
......@@ -24,7 +24,7 @@ import gcompris.skin
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# Database
from pysqlite2 import dbapi2 as sqlite
......
......@@ -20,7 +20,8 @@
import gtk
import gobject
from gettext import gettext as _
import gcompris
from gcompris import gcompris_gettext as _
import profile_group_list
......
......@@ -24,7 +24,7 @@ import gcompris.skin
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
import constants
......
......@@ -24,7 +24,7 @@ import gcompris.skin
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# Database
from pysqlite2 import dbapi2 as sqlite
......
......@@ -20,7 +20,8 @@
import gtk
import gobject
from gettext import gettext as _
import gcompris
from gcompris import gcompris_gettext as _
# Database
from pysqlite2 import dbapi2 as sqlite
......
......@@ -23,7 +23,7 @@ import gcompris.skin
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# Database
from pysqlite2 import dbapi2 as sqlite
......
......@@ -25,7 +25,7 @@ import gcompris.admin
import gtk
import gtk.gdk
import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
import glob
......
......@@ -23,7 +23,7 @@ import gcompris.utils
import gcompris.skin
import gtk
import gtk.gdk
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# To add a panel, add a python module in the admin subdir
# This module must have a start() and end() function
......
......@@ -23,7 +23,7 @@
# in parameters of graphicals object between shots?
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# PythonTest Board module
import gobject
import goocanvas
......
......@@ -9,7 +9,7 @@ import gcompris.bonus
import gcompris.sound
import gtk
import gtk.gdk
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# ----------------------------------------
# Hit left shift and right shift together to send the ball straight
......
......@@ -16,9 +16,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
from gettext import gettext as _
import goocanvas
import gcompris
from gcompris import gcompris_gettext as _
import gcompris.utils
import gcompris.bonus
import gcompris.skin
......
......@@ -33,7 +33,7 @@ import gcompris.anim
import gtk
import gtk.gdk
import cairo
from gettext import gettext as _
from gcompris import gcompris_gettext as _
from connect4p import rules
from connect4p import human
......
......@@ -29,7 +29,7 @@ import gtk
import gtk.gdk
import random
import math
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# ----------------------------------------
#
......
......@@ -34,7 +34,7 @@ import gtk
import gtk.gdk
import random
import math
from gettext import gettext as _
from gcompris import gcompris_gettext as _
class Number:
def __init__(self, text, good):
......
......@@ -24,7 +24,7 @@ import gcompris.admin
import gtk
import gtk.gdk
import pango
from gettext import gettext as _
from gcompris import gcompris_gettext as _
import math
......
......@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
from gettext import gettext as _
from gcompris import gcompris_gettext as _
# PythonTest Board module
import goocanvas
import gcompris
......
......@@ -26,7 +26,7 @@ import gtk.gdk
import random
import math
import time
from gettext import gettext as _
from gcompris import gcompris_gettext as _
class Boat:
"""The Boat Class"""
......
......@@ -26,7 +26,7 @@ import gobject
import gtk
import gtk.gdk
import random
from gettext import gettext as _
from gcompris import gcompris_gettext as _
class Gcompris_sudoku:
"""Sudoku game"""
......
......@@ -31,7 +31,7 @@ import pango
import platform
#import gobject
from gettext import gettext as _
from gcompris import gcompris_gettext as _
pid = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment