Updates to documentation. A few tidying up changes.
This commit is contained in:
@ -20,22 +20,15 @@ class command:
|
||||
pass
|
||||
|
||||
def get_description(self):
|
||||
return _("presents the date")
|
||||
return _("Test vim 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 vim search operations
|
||||
test_message = _("Vim 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):
|
||||
|
Reference in New Issue
Block a user