add localization context to 'Title' for Finnish
svn: r5100
This commit is contained in:
parent
b42c617c3f
commit
c1ebc886ab
@ -39,6 +39,7 @@ from xml.sax import make_parser,handler,SAXParseException
|
|||||||
import os
|
import os
|
||||||
import sets
|
import sets
|
||||||
from gettext import gettext as _
|
from gettext import gettext as _
|
||||||
|
from Utils import strip_context as __
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -1287,7 +1288,7 @@ class HasNameOf(Rule):
|
|||||||
labels = [ _('Given name:'),
|
labels = [ _('Given name:'),
|
||||||
_('Family name:'),
|
_('Family name:'),
|
||||||
_('Suffix:'),
|
_('Suffix:'),
|
||||||
_('Title:')]
|
__('person|Title:')]
|
||||||
name = _('People with the <name>')
|
name = _('People with the <name>')
|
||||||
description = _("Matches people with a specified (partial) name")
|
description = _("Matches people with a specified (partial) name")
|
||||||
category = _('General filters')
|
category = _('General filters')
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
from gettext import gettext as _
|
from gettext import gettext as _
|
||||||
|
from Utils import strip_context as __
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -166,7 +167,7 @@ class SimpleBookTitleOptions(ReportOptions.ReportOptions):
|
|||||||
self.footer_entry = gtk.Entry()
|
self.footer_entry = gtk.Entry()
|
||||||
self.footer_entry.set_text(footer_string)
|
self.footer_entry.set_text(footer_string)
|
||||||
|
|
||||||
dialog.add_frame_option(_('Text'),_('Title'),self.title_entry)
|
dialog.add_frame_option(_('Text'),__('book|Title'),self.title_entry)
|
||||||
dialog.add_frame_option(_('Text'),_('Subtitle'),self.subtitle_entry)
|
dialog.add_frame_option(_('Text'),_('Subtitle'),self.subtitle_entry)
|
||||||
dialog.add_frame_option(_('Text'),_('Footer'),self.footer_entry)
|
dialog.add_frame_option(_('Text'),_('Footer'),self.footer_entry)
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ Timeline report
|
|||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
from gettext import gettext as _
|
from gettext import gettext as _
|
||||||
|
from Utils import strip_context as __
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -453,7 +454,7 @@ class TimeLineOptions(ReportOptions.ReportOptions):
|
|||||||
else:
|
else:
|
||||||
self.title_box.set_text(dialog.get_header(dialog.person.get_primary_name().get_name()))
|
self.title_box.set_text(dialog.get_header(dialog.person.get_primary_name().get_name()))
|
||||||
self.title_box.show()
|
self.title_box.show()
|
||||||
dialog.add_option(_('Title'),self.title_box)
|
dialog.add_option(__('report|Title'),self.title_box)
|
||||||
|
|
||||||
def parse_user_options(self,dialog):
|
def parse_user_options(self,dialog):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user