|
NAMEApp::ZFSCurses::Text - Translate UI texts and messages.VERSIONVersion 1.210.METHODSnewCreate an instance of App::ZFSCurses::Text.titleReturn the text title.title_datasetsReturn the text title in the datasets view.title_snapshotsReturn the text title in the datasets view.top_label_datasetsReturn the top label text in the dataset screen.top_label_snapshotsReturn the top label text in the snapshot screen.top_label_propertiesReturn the top label text in the properties screen.footerReturn the footer text. This method expects (sometimes) a text about the F1 key.exit_dialogReturn the exit dialog text.destroy_confirmationReturn the text when destroying an object.f1_helpReturn the text about the F1 key. This method is given to the footer method depending on the screen displayed to the user.select_propertyReturn the text when a property is not selected.select_snapshotReturn the text when a snapshot is not selected.select_datasetReturn the text when a dataset is not selected.change_propertyReturn the text label displayed in the change properties screen.ok_propertyReturn the text when a property has been changed.error_propertyReturn the text when an error occured while changing a property.no_help_foundReturn the text when no help has been found for a property.no_zfs_command_foundReturn the text when the zfs command hasn't been found.non_root_userReturn the text when zfscurses is run without root privileges.property_read_onlyReturn the text when a property is read only.fill_help_messagesRead the __DATA__ handle and fill the help_messages hash with property definitions. The __DATA__ handle is filled with lines that look like this:aclinherit%aclinherit is a property that is about ... The idea is to split the line on the % part and then fill the hash with the property and its definition. The hash is then called upon when the F1 key is pressed to display to the user what a property is about. This method is called automatically after instantiating this class. help_messagesReturn the help_messages hash.AUTHORPatrice Clement <monsieurp at cpan.org>LICENSE AND COPYRIGHTThis software is copyright (c) 2020 by Patrice Clement.This is free software, licensed under the (three-clause) BSD License. See the LICENSE file.
Visit the GSP FreeBSD Man Page Interface. |