Updates to documentation. A few tidying up changes.

This commit is contained in:
Storm Dragon
2025-07-09 18:31:58 -04:00
parent 6876995d4c
commit 5a14804d11
10 changed files with 304 additions and 62 deletions

View File

@ -20,22 +20,15 @@ class command:
pass
def get_description(self):
return _("presents the date")
return _("Test mc search functionality")
def run(self):
date_format = self.env["runtime"]["SettingsManager"].get_setting(
"general", "date_format"
)
# get the time formatted
date_string = datetime.datetime.strftime(
datetime.datetime.now(), date_format
)
# present the time via speak and braile, there is no soundicon,
# interrupt the current speech
# Test command for mc search operations
test_message = _("MC search test: This demonstrates search functionality")
# present the test message
self.env["runtime"]["OutputManager"].present_text(
date_string, sound_icon="", interrupt=True
test_message, sound_icon="", interrupt=True
)
def set_callback(self, callback):