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 sets
|
||||
from gettext import gettext as _
|
||||
from Utils import strip_context as __
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -1287,7 +1288,7 @@ class HasNameOf(Rule):
|
||||
labels = [ _('Given name:'),
|
||||
_('Family name:'),
|
||||
_('Suffix:'),
|
||||
_('Title:')]
|
||||
__('person|Title:')]
|
||||
name = _('People with the <name>')
|
||||
description = _("Matches people with a specified (partial) name")
|
||||
category = _('General filters')
|
||||
|
@ -27,6 +27,7 @@
|
||||
import os
|
||||
import time
|
||||
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.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'),_('Footer'),self.footer_entry)
|
||||
|
||||
|
@ -30,6 +30,7 @@ Timeline report
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from gettext import gettext as _
|
||||
from Utils import strip_context as __
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -453,7 +454,7 @@ class TimeLineOptions(ReportOptions.ReportOptions):
|
||||
else:
|
||||
self.title_box.set_text(dialog.get_header(dialog.person.get_primary_name().get_name()))
|
||||
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):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user