Various fixes to user-visible strings

The change includes various fixes:
- removal of trailing whitespaces;
- consistent usage of the final dot (instead of a question mark);
- fix a few acronyms (uppercase when needed, correct spelling).
This commit is contained in:
Luigi Toscano
2021-05-21 00:10:33 +02:00
committed by Nick Hall
parent 1423662e33
commit fe2cd4caa6
9 changed files with 11 additions and 11 deletions

View File

@ -235,7 +235,7 @@ You can set these values via the Geography View by searching the place, or via a
<object class="ValidatableMaskedEntry" id="latlon_entry"> <object class="ValidatableMaskedEntry" id="latlon_entry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Field used to paste info from a web page like google, openstreetmap, ... </property> <property name="tooltip_text" translatable="yes">Field used to paste info from a web page like Google, OpenStreetMap...</property>
<property name="hexpand">True</property> <property name="hexpand">True</property>
<property name="invisible_char">●</property> <property name="invisible_char">●</property>
</object> </object>

View File

@ -373,7 +373,7 @@
<object class="ValidatableMaskedEntry" id="latlon_entry"> <object class="ValidatableMaskedEntry" id="latlon_entry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Field used to paste info from a web page like google, openstreetmap, ... </property> <property name="tooltip_text" translatable="yes">Field used to paste info from a web page like Google, OpenStreetMap...</property>
<property name="hexpand">True</property> <property name="hexpand">True</property>
<property name="invisible_char">●</property> <property name="invisible_char">●</property>
</object> </object>

View File

@ -963,7 +963,7 @@ class AncestorTreeOptions(MenuReportOptions):
repldisp = TextOption( repldisp = TextOption(
_("Replace Display Format:\n'Replace this'/' with this'"), _("Replace Display Format:\n'Replace this'/' with this'"),
[]) [])
repldisp.set_help(_("i.e.\nUnited States of America/U.S.A")) repldisp.set_help(_("i.e.\nUnited States of America/U.S.A."))
menu.add_option(category_name, "replace_list", repldisp) menu.add_option(category_name, "replace_list", repldisp)
# TODO this code is never used and so I conclude it is for future use # TODO this code is never used and so I conclude it is for future use

View File

@ -1696,7 +1696,7 @@ class DescendTreeOptions(MenuReportOptions):
repldisp = TextOption( repldisp = TextOption(
_("Replace Display Format:\n'Replace this'/' with this'"), _("Replace Display Format:\n'Replace this'/' with this'"),
[]) [])
repldisp.set_help(_("i.e.\nUnited States of America/U.S.A")) repldisp.set_help(_("i.e.\nUnited States of America/U.S.A."))
menu.add_option(category_name, "replace_list", repldisp) menu.add_option(category_name, "replace_list", repldisp)
self.usenote = BooleanOption(_('Include a note'), False) self.usenote = BooleanOption(_('Include a note'), False)

View File

@ -15,7 +15,7 @@
<col id="0" translatable="yes">ANSEL</col> <col id="0" translatable="yes">ANSEL</col>
</row> </row>
<row> <row>
<col id="0" translatable="yes">ANSI (iso-8859-1)</col> <col id="0" translatable="yes">ANSI (ISO-8859-1)</col>
</row> </row>
<row> <row>
<col id="0" translatable="yes">ASCII</col> <col id="0" translatable="yes">ASCII</col>

View File

@ -2129,13 +2129,13 @@ class NavWebOptions(MenuReportOptions):
birthorder = BooleanOption( birthorder = BooleanOption(
_('Sort all children in birth order'), False) _('Sort all children in birth order'), False)
birthorder.set_help( birthorder.set_help(
_('Whether to display children in birth order or in entry order?')) _('Whether to display children in birth order or in entry order.'))
addopt("birthorder", birthorder) addopt("birthorder", birthorder)
coordinates = BooleanOption( coordinates = BooleanOption(
_('Do we display coordinates in the places list?'), False) _('Do we display coordinates in the places list?'), False)
coordinates.set_help( coordinates.set_help(
_('Whether to display latitude/longitude in the places list?')) _('Whether to display latitude/longitude in the places list.'))
addopt("coordinates", coordinates) addopt("coordinates", coordinates)
reference_sort = BooleanOption( reference_sort = BooleanOption(
@ -2200,7 +2200,7 @@ class NavWebOptions(MenuReportOptions):
headernote = NoteOption(_('HTML user header')) headernote = NoteOption(_('HTML user header'))
headernote.set_help(_("A note to be used as the page header" headernote.set_help(_("A note to be used as the page header"
" or a php code to insert.")) " or a PHP code to insert."))
addopt("headernote", headernote) addopt("headernote", headernote)
footernote = NoteOption(_('HTML user footer')) footernote = NoteOption(_('HTML user footer'))