* updated plugin documentation
* added titles for disk & shutdown
This commit is contained in:
parent
2911fcea64
commit
4ecc7bacbf
5 changed files with 12 additions and 12 deletions
|
@ -1,7 +1,6 @@
|
|||
<?cs # $Id$ ?>
|
||||
|
||||
<h1><?cs var:html_escape(Lang.Plugins.disks.Title.Disks) ?></h1>
|
||||
|
||||
<?cs call:show_plugin_title() ?>
|
||||
<?cs call:handle_messages() ?>
|
||||
|
||||
<?cs if:subcount(Data.Disks) == 0 ?>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Name = Disk overview
|
||||
Link = Disks
|
||||
|
||||
Title.Disks = Available disks
|
||||
Title = Available disks
|
||||
|
||||
AdviceMessage {
|
||||
NoDisksAvailable {
|
||||
|
|
|
@ -70,11 +70,11 @@ Language file structure:
|
|||
|
||||
|
||||
Clearsilver template:
|
||||
- heading:
|
||||
- non-volume plugins: "<h1>"
|
||||
- volume plugins: "<?cs var:plugin_heading ?>" (very important - otherwise
|
||||
embedding of plugins breaks (see 'volume_properties'))
|
||||
- for a nice title & icon insert: '<?cs call:show_plugin_title()
|
||||
?>' at the top of the template
|
||||
- define the displayed title with 'Title' in the language file
|
||||
- the title should be followd by '<?cs call:handle_messages() ?>'
|
||||
this will display important messages
|
||||
- usually you should supply some helpful information afterwards (only displayed
|
||||
if the user enabled inline-help before):
|
||||
"<?cs call:show_help(Lang.Plugins.PLUGINNAME.Help.Text) ?>"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<?cs # $Id$ ?>
|
||||
|
||||
<h1><?cs var:html_escape(Lang.Plugins.shutdown.Title.Shutdown) ?></h1>
|
||||
|
||||
<?cs call:show_plugin_title() ?>
|
||||
<?cs call:handle_messages() ?>
|
||||
|
||||
<?cs call:show_help(Lang.Plugins.shutdown.Help.Shutdown) ?>
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
Name = Shutdown or reboot the computer
|
||||
Link = Shutdown
|
||||
|
||||
Title.Shutdown = Shutdown computer
|
||||
Title.ProgressShutdown = The CryptoBox is shutting down
|
||||
Title.ProgressReboot = The CryptoBox is rebooting
|
||||
Title = Shutdown computer
|
||||
Title {
|
||||
ProgressShutdown = The CryptoBox is shutting down
|
||||
ProgressReboot = The CryptoBox is rebooting
|
||||
}
|
||||
|
||||
Button.Shutdown = Poweroff
|
||||
Button.Reboot = Reboot
|
||||
|
|
Loading…
Reference in a new issue