create new translation branch for v0.4
This commit is contained in:
parent
9b4e353af7
commit
0a1d2a2e00
795 changed files with 134715 additions and 0 deletions
60
translation-base-v0.4/plugins/disks/disks.cs
Normal file
60
translation-base-v0.4/plugins/disks/disks.cs
Normal file
|
@ -0,0 +1,60 @@
|
|||
<?cs # $Id$ ?>
|
||||
|
||||
<?cs call:handle_messages() ?>
|
||||
|
||||
<?cs if:Data.activeDisksCount >= 1 ?>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<?cs call:show_plugin_icon() ?>
|
||||
<?cs var:html_escape(Lang.Plugins.disks.Active) ?>
|
||||
</legend>
|
||||
<?cs call:show_help(Lang.Plugins.disks.Help.Active) ?>
|
||||
<?cs loop: index = #0, subcount(Data.Disks[index])-1, #1 ?>
|
||||
<?cs if Data.Disks[index].active == 1 ?>
|
||||
<?cs call:show_volume(Data.Disks[index]) ?>
|
||||
<?cs /if ?>
|
||||
<?cs /loop ?>
|
||||
</fieldset>
|
||||
<?cs /if ?>
|
||||
|
||||
<fieldset>
|
||||
<legend>
|
||||
<?cs call:show_plugin_icon() ?>
|
||||
<?cs var:html_escape(Lang.Plugins.disks.Title) ?>
|
||||
</legend>
|
||||
<?cs call:show_help(Lang.Plugins.disks.Help.Disks) ?>
|
||||
<?cs if:subcount(Data.Disks) == 0 ?>
|
||||
<?cs call:hint("Plugins.disks.NoDisksAvailable") ?>
|
||||
<?cs else ?>
|
||||
<?cs # we use "loop" instead of "each" to keep the order of the disks ?>
|
||||
<?cs loop: index = #0, subcount(Data.Disks)-1, #1 ?>
|
||||
<?cs if Data.Disks[index].active == 0 ?>
|
||||
<?cs call:show_volume(Data.Disks[index]) ?>
|
||||
<?cs /if ?>
|
||||
<?cs /loop ?>
|
||||
<?cs /if ?>
|
||||
</fieldset>
|
||||
|
||||
<!-- display this symbol legend if help is enabled -->
|
||||
<?cs if:Settings.Help ?>
|
||||
<fieldset>
|
||||
<legend>
|
||||
<?cs call:show_plugin_icon() ?>
|
||||
<?cs var:html_escape(Lang.Plugins.disks.Legend) ?>
|
||||
</legend>
|
||||
<?cs call:show_help(Lang.Plugins.disks.Help.Legend) ?>
|
||||
<!-- this legend is hard coded - FIXME: why should it be hard coded? [l] -->
|
||||
<br />
|
||||
<p class="legend">
|
||||
<b>unencrypted</b> volumes:<br />
|
||||
<img src="cryptobox-misc/volume_passive_plain.gif" alt="disk_symbol" /> - deactivated
|
||||
<img src="cryptobox-misc/volume_active_plain.gif" alt="disk_symbol" /> - activated
|
||||
</p>
|
||||
<p class="legend">
|
||||
<b>encrypted</b> volumes:<br />
|
||||
<img src="cryptobox-misc/volume_passive_crypto.gif" alt="disk_symbol" /> - deactivated
|
||||
<img src="cryptobox-misc/volume_active_crypto.gif" alt="disk_symbol" /> - activated
|
||||
</p>
|
||||
|
||||
</fieldset>
|
||||
<?cs /if ?>
|
Loading…
Add table
Add a link
Reference in a new issue