2323LEFT_TO_RIGHT_EMBEDDING = "\u202a "
2424"""Character often found in translator comments."""
2525
26+ # Translators: The name of a category of NVDA commands.
27+ categorySCRCAT_POEDIT = _ ("Poedit" )
2628
2729class _WindowControlIdOffset (IntEnum ):
2830 """Window control ID's are not static, however, the order of ids stays the same.
@@ -146,6 +148,7 @@ def _reportControlScriptHelper(self, obj: Window, description: str):
146148 "Reports any notes for translators. If pressed twice, presents the notes in browse mode" ,
147149 ),
148150 gesture = "kb:control+shift+a" ,
151+ category = categorySCRCAT_POEDIT ,
149152 speakOnDemand = True ,
150153 )
151154 def script_reportAutoCommentsWindow (self , gesture ):
@@ -172,6 +175,7 @@ def _get__commentObj(self) -> Window | None:
172175 "If pressed twice, presents the comment in browse mode" ,
173176 ),
174177 gesture = "kb:control+shift+c" ,
178+ category = categorySCRCAT_POEDIT ,
175179 speakOnDemand = True ,
176180 )
177181 def script_reportCommentsWindow (self , gesture ):
@@ -197,6 +201,7 @@ def _get__oldSourceTextObj(self) -> Window | None:
197201 "Reports the old source text, if any. If pressed twice, presents the text in browse mode" ,
198202 ),
199203 gesture = "kb:control+shift+o" ,
204+ category = categorySCRCAT_POEDIT ,
200205 speakOnDemand = True ,
201206 )
202207 def script_reportOldSourceText (self , gesture ):
@@ -220,6 +225,7 @@ def _get__translationWarningObj(self) -> Window | None:
220225 "Reports a translation warning, if any. If pressed twice, presents the warning in browse mode" ,
221226 ),
222227 gesture = "kb:control+shift+w" ,
228+ category = categorySCRCAT_POEDIT ,
223229 speakOnDemand = True ,
224230 )
225231 def script_reportTranslationWarning (self , gesture ):
0 commit comments