App::ZFSCurses::Text - Translate UI texts and messages.
Version 1.210.
Create an instance of App::ZFSCurses::Text.
Return the text title.
Return the text title in the datasets view.
Return the top label text in the dataset screen.
Return the top label text in the snapshot screen.
Return the top label text in the properties screen.
Return the footer text. This method expects (sometimes) a text about the F1 key.
Return the exit dialog text.
Return the text when destroying an object.
Return the text about the F1 key. This method is given to the footer method depending on the screen displayed to the user.
Return the text when a property is not selected.
Return the text when a snapshot is not selected.
Return the text when a dataset is not selected.
Return the text label displayed in the change properties screen.
Return the text when a property has been changed.
Return the text when an error occured while changing a property.
Return the text when no help has been found for a property.
Return the text when the zfs command hasn't been found.
Return the text when zfscurses is run without root privileges.
Return the text when a property is read only.
Read 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.
Return the help_messages hash.
Patrice Clement <monsieurp at cpan.org>
This software is copyright (c) 2020 by Patrice Clement.
This is free software, licensed under the (three-clause) BSD License.
See the LICENSE file.
To install App::ZFSCurses, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::ZFSCurses
CPAN shell
perl -MCPAN -e shell install App::ZFSCurses
For more information on module installation, please visit the detailed CPAN module installation guide.