diff --git a/gramps/gui/editors/editplacename.py b/gramps/gui/editors/editplacename.py index 4591052e3..fc70367f3 100644 --- a/gramps/gui/editors/editplacename.py +++ b/gramps/gui/editors/editplacename.py @@ -38,12 +38,16 @@ from ..dialog import ErrorDialog from gramps.gen.errors import ValidationError from gramps.gen.const import GRAMPS_LOCALE as glocale _ = glocale.translation.gettext +from gramps.gen.const import URL_MANUAL_PAGE #------------------------------------------------------------------------- # # Constants # #------------------------------------------------------------------------- +WIKI_HELP_PAGE = _('%s_-_Entering_and_editing_data:_detailed_-_part_2') % URL_MANUAL_PAGE +WIKI_HELP_SEC = _('Place_Name_Editor_dialog') + ISO_CODES = ( 'aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av', 'ay', 'az', 'ba', 'be', 'bg', 'bh', 'bi', 'bm', 'bn', 'bo', 'br', 'bs', @@ -121,7 +125,8 @@ class EditPlaceName(EditSecondary): return ValidationError(_("Invalid ISO code")) def _connect_signals(self): - self.define_help_button(self.top.get_object('help')) + self.define_help_button(self.top.get_object('help'), + WIKI_HELP_PAGE, WIKI_HELP_SEC) self.define_cancel_button(self.top.get_object('cancel')) self.define_ok_button(self.top.get_object('ok'),self.save)