#2489 Abbreviations are sometimes hard to translate

svn: r11293
This commit is contained in:
Benny Malengier 2008-11-12 09:50:50 +00:00
parent 504ab1f240
commit a8b72a6eff
3 changed files with 8 additions and 5 deletions

View File

@ -25,7 +25,7 @@
# Standard python modules
#
#-------------------------------------------------------------------------
from gettext import gettext as _
from TransUtils import sgettext as _
#-------------------------------------------------------------------------
#
@ -80,6 +80,8 @@ class EditMediaRef(EditReference):
self.top.get_widget('title'),
_('Media Reference Editor'))
self.define_warn_box(self.top.get_widget("warn_box"))
self.top.get_widget("label427").set_text(_("Y coordinate|Y"))
self.top.get_widget("label428").set_text(_("Y coordinate|Y"))
tblref = self.top.get_widget('table50')
notebook = self.top.get_widget('notebook_ref')

View File

@ -31,7 +31,7 @@ Paragraph/Font style editor
# Python modules
#
#------------------------------------------------------------------------
from gettext import gettext as _
from TransUtils import sgettext as _
import logging
log = logging.getLogger(".")
@ -204,6 +204,7 @@ class StyleEditor:
ManagedWindow.set_titles( self.window,
self.top.get_widget('title'),
_('Style editor'))
self.top.get_widget("label6").set_text(_("point size|pt"))
titles = [(_('Paragraph'), 0, 130)]
self.plist = ListModel.ListModel(self.top.get_widget("ptree"), titles,

View File

@ -3079,7 +3079,7 @@
<child>
<widget class="GtkLabel" id="label6">
<property name="visible">True</property>
<property name="label" translatable="yes">pt</property>
<property name="label" translatable="yes">point size|pt</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
@ -4630,7 +4630,7 @@
<child>
<widget class="GtkLabel" id="label428">
<property name="visible">True</property>
<property name="label" translatable="yes">Y</property>
<property name="label" translatable="yes">Y coordinate|Y</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@ -4862,7 +4862,7 @@
<child>
<widget class="GtkLabel" id="label427">
<property name="visible">True</property>
<property name="label" translatable="yes">Y</property>
<property name="label" translatable="yes">Y coordinate|Y</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>