Skip to content

Commit 48cbe52

Browse files
committed
Adding some translator messages -- testing whether this is correct
1 parent a3739ea commit 48cbe52

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

addon/globalPlugins/MathCAT/MathCAT.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ def reportFocus(self):
192192
speech.speak(ConvertSSMLTextForNVDA(text, self._language))
193193
except Exception as e:
194194
log.error(e)
195+
# Translators: this message shows up in log file
195196
speech.speakMessage(_("Error in starting navigation of math: see NVDA error log for details"))
196197

197198

@@ -205,6 +206,7 @@ def getBrailleRegions(self, review: bool = False):
205206
region.rawText = libmathcat.GetBraille("")
206207
except Exception as e:
207208
log.error(e)
209+
# Translators: this message shows up in log file
208210
speech.speakMessage(_("Error in brailling math: see NVDA error log for details"))
209211
region.rawText = ""
210212

@@ -246,6 +248,7 @@ def script_navigate(self, gesture: KeyboardInputGesture):
246248
braille.handler.update()
247249
except Exception as e:
248250
log.error(e)
251+
# Translators: this message shows up in log file
249252
speech.speakMessage(_("Error in navigating math: see NVDA error log for details"))
250253

251254

@@ -268,6 +271,7 @@ def script_rawdataToClip(self, gesture: KeyboardInputGesture):
268271
ui.message(_("copy"))
269272
except Exception as e:
270273
log.error(e)
274+
# Translators: this message shows up in log file
271275
speech.speakMessage(_("unable to copy math: see NVDA error log for details"))
272276

273277

0 commit comments

Comments
 (0)