move comment lines higher, to keep out of gramps.pot
The problem is that "nearby" comments are put into the gramps.pot template, to aid the translator, but these comments are referring to an untranslated string, which then confuses the translator, who wonders if the string flagged for translation should be translated after all. The solution is to move the comment futher away, so it is no longer "nearby" the translated string. http://gramps.1791082.n4.nabble.com/Fw-Translation-question-td4676138.html
This commit is contained in:
parent
c6d4eee407
commit
f1b5e5eb07
@ -457,7 +457,9 @@ class AsciiDocOptions(DocOptions):
|
|||||||
"""
|
"""
|
||||||
Add options to the document menu for the AsciiDoc docgen.
|
Add options to the document menu for the AsciiDoc docgen.
|
||||||
"""
|
"""
|
||||||
category_name = 'Document Options' # internal name: don't translate
|
|
||||||
|
# next line for internal use only, never will be in UI: don't translate
|
||||||
|
category_name = 'Document Options'
|
||||||
|
|
||||||
linechars = NumberOption(_('Characters per line'), 72, 20, 9999)
|
linechars = NumberOption(_('Characters per line'), 72, 20, 9999)
|
||||||
linechars.set_help(_("The number of characters per line"))
|
linechars.set_help(_("The number of characters per line"))
|
||||||
|
@ -334,7 +334,9 @@ class SvgDrawDocOptions(DocOptions):
|
|||||||
"""
|
"""
|
||||||
Add options to the document menu for the docgen.
|
Add options to the document menu for the docgen.
|
||||||
"""
|
"""
|
||||||
category_name = 'Document Options' # internal name: don't translate
|
|
||||||
|
# next line for internal use only, never will be in UI: don't translate
|
||||||
|
category_name = 'Document Options'
|
||||||
|
|
||||||
background = EnumeratedListOption(_('SVG background color'),
|
background = EnumeratedListOption(_('SVG background color'),
|
||||||
'transparent')
|
'transparent')
|
||||||
|
Loading…
Reference in New Issue
Block a user