Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/mathPres/MathCAT/localization.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def getLanguages() -> tuple[list[str], list[str]]:
This method scans the language folders and adds entries for each language and its
regional dialects. Language folders use ISO 639-1 codes and regional variants use ISO 3166-1 alpha-2 codes.

It also adds a special "Use Voice's Language (Auto)" option at the beginning.
It also adds a special "Automatic (Use Voice's Language)" option at the beginning.

:return: A pair of lists with the first list containing the contents of the
language selection combo box, and the second list containing the corresponding
Expand Down Expand Up @@ -277,7 +277,7 @@ def addRegionalLanguages(subDir: str, language: str) -> list[str]:

# Translators: menu item -- use the language of the voice chosen in the NVDA speech settings dialog
# "Auto" == "Automatic" -- other items in menu are "English (en)", etc., so this matches that style
languageOptions.append(pgettext("math", "Use Voice's Language (Auto)"))
languageOptions.append(pgettext("math", "Automatic (Use Voice's Language)"))
languageCodes.append("Auto")
# populate the available language names in the dialog
# the implemented languages are in folders named using the relevant ISO 639-1
Expand Down
2 changes: 1 addition & 1 deletion source/mathPres/MathCAT/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class DecimalSeparatorOption(DisplayStringStrEnum):
def _displayStringLabels(self) -> dict["DecimalSeparatorOption", str]:
return {
# Translators: options for decimal separator -- "Auto" = automatically pick the choice based on the language
self.AUTO: pgettext("math", "Auto"),
self.AUTO: pgettext("math", "Automatic"),
# options for decimal separator -- use "." (and use ", " for block separators)
self.DOT: ".",
# options for decimal separator -- use "," (and use ". " for block separators)
Expand Down
Loading