Skip to content

Commit 84e14ee

Browse files
authored
Minor consistency fixes in MathCAT preferences (#19440)
Minor follow-up of #19227.
1 parent 5151869 commit 84e14ee

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

source/mathPres/MathCAT/localization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def getLanguages() -> tuple[list[str], list[str]]:
248248
This method scans the language folders and adds entries for each language and its
249249
regional dialects. Language folders use ISO 639-1 codes and regional variants use ISO 3166-1 alpha-2 codes.
250250
251-
It also adds a special "Use Voice's Language (Auto)" option at the beginning.
251+
It also adds a special "Automatic (Use Voice's Language)" option at the beginning.
252252
253253
:return: A pair of lists with the first list containing the contents of the
254254
language selection combo box, and the second list containing the corresponding
@@ -277,7 +277,7 @@ def addRegionalLanguages(subDir: str, language: str) -> list[str]:
277277

278278
# Translators: menu item -- use the language of the voice chosen in the NVDA speech settings dialog
279279
# "Auto" == "Automatic" -- other items in menu are "English (en)", etc., so this matches that style
280-
languageOptions.append(pgettext("math", "Use Voice's Language (Auto)"))
280+
languageOptions.append(pgettext("math", "Automatic (Use Voice's Language)"))
281281
languageCodes.append("Auto")
282282
# populate the available language names in the dialog
283283
# the implemented languages are in folders named using the relevant ISO 639-1

source/mathPres/MathCAT/preferences.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class DecimalSeparatorOption(DisplayStringStrEnum):
4545
def _displayStringLabels(self) -> dict["DecimalSeparatorOption", str]:
4646
return {
4747
# Translators: options for decimal separator -- "Auto" = automatically pick the choice based on the language
48-
self.AUTO: pgettext("math", "Auto"),
48+
self.AUTO: pgettext("math", "Automatic"),
4949
# options for decimal separator -- use "." (and use ", " for block separators)
5050
self.DOT: ".",
5151
# options for decimal separator -- use "," (and use ". " for block separators)

0 commit comments

Comments
 (0)