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