Fix translations domains to point to new toolkit

This commit is contained in:
Daniel Narvaez 2013-09-11 16:02:47 +02:00
parent b83ddaefaf
commit d12a1d5131
6 changed files with 7 additions and 7 deletions

View File

@ -83,7 +83,7 @@ from sugar3.graphics.icon import Icon
from sugar3.datastore import datastore
from gi.repository import SugarExt
_ = lambda msg: gettext.dgettext('sugar-toolkit', msg)
_ = lambda msg: gettext.dgettext('sugar-toolkit-gtk3', msg)
SCOPE_PRIVATE = 'private'
SCOPE_INVITE_ONLY = 'invite' # shouldn't be shown in UI, it's implicit

View File

@ -33,7 +33,7 @@ from sugar3.graphics import style
from sugar3.graphics.palettemenu import PaletteMenuBox
_ = lambda msg: gettext.dgettext('sugar-toolkit', msg)
_ = lambda msg: gettext.dgettext('sugar-toolkit-gtk3', msg)
def _create_activity_icon(metadata):

View File

@ -56,7 +56,7 @@ from sugar3.graphics import style
from sugar3.graphics.icon import Icon
_ = lambda msg: gettext.dgettext('sugar-toolkit', msg)
_ = lambda msg: gettext.dgettext('sugar-toolkit-gtk3', msg)
class Alert(Gtk.EventBox):

View File

@ -29,7 +29,7 @@ from sugar3.graphics.icon import Icon
from sugar3.graphics.palette import Palette, ToolInvoker, WidgetInvoker
_ = lambda msg: gettext.dgettext('sugar-toolkit', msg)
_ = lambda msg: gettext.dgettext('sugar-toolkit-gtk3', msg)
def get_svg_color_string(color):

View File

@ -31,7 +31,7 @@ from gi.repository import Gio
from gi.repository import SugarExt
_ = lambda msg: gettext.dgettext('sugar-base', msg)
_ = lambda msg: gettext.dgettext('sugar-toolkit-gtk3', msg)
GENERIC_TYPE_TEXT = 'Text'
GENERIC_TYPE_IMAGE = 'Image'

View File

@ -31,7 +31,7 @@ import logging
import atexit
_ = lambda msg: gettext.dgettext('sugar-toolkit', msg)
_ = lambda msg: gettext.dgettext('sugar-toolkit-gtk3', msg)
def printable_hash(in_hash):
@ -270,7 +270,7 @@ def timestamp_to_elapsed_string(timestamp, max_levels=2):
if key in _i18n_timestamps_cache:
time_period += _i18n_timestamps_cache[key]
else:
tmp = gettext.dngettext('sugar-toolkit',
tmp = gettext.dngettext('sugar-toolkit-gtk3',
name_singular,
name_plural,
elapsed_units)