diff --git a/plugins/date/lang/en.hdf b/plugins/date/lang/en.hdf index df00df5..9c7ee37 100644 --- a/plugins/date/lang/en.hdf +++ b/plugins/date/lang/en.hdf @@ -22,9 +22,11 @@ Text.Months { 12 = December } -SuccessMessage.DateChanged { - Title = Date changed - Text = The date was changed successfully. +SuccessMessage { + DateChanged { + Title = Date changed + Text = The date was changed successfully. + } } WarningMessage { diff --git a/plugins/plugin_manager/gtk-ok_nuvola.png b/plugins/plugin_manager/gtk-ok_nuvola.png new file mode 100644 index 0000000..b89792c Binary files /dev/null and b/plugins/plugin_manager/gtk-ok_nuvola.png differ diff --git a/plugins/plugin_manager/gtk-stop_nuvola.png b/plugins/plugin_manager/gtk-stop_nuvola.png new file mode 100644 index 0000000..788a2fd Binary files /dev/null and b/plugins/plugin_manager/gtk-stop_nuvola.png differ diff --git a/plugins/plugin_manager/lang/en.hdf b/plugins/plugin_manager/lang/en.hdf index c1c7856..26542d4 100644 --- a/plugins/plugin_manager/lang/en.hdf +++ b/plugins/plugin_manager/lang/en.hdf @@ -10,6 +10,8 @@ Text { PluginRank = Priority PluginEnabled = Enabled? RequestsAuth = Requires admin? - VolumePlugins = Volume plugins - SystemPlugins = System plugins + VolumePlugin = Volume + SystemPlugin = System + MenuPlugin = Menu + PluginTypes = Type of plugin } diff --git a/plugins/plugin_manager/plugin_list.cs b/plugins/plugin_manager/plugin_list.cs index 7449f3e..93206e5 100644 --- a/plugins/plugin_manager/plugin_list.cs +++ b/plugins/plugin_manager/plugin_list.cs @@ -2,13 +2,18 @@ @@ -19,46 +24,37 @@ -

-

+ + + + + + + + + + - + + + - -
X-X-X- checked="checked" /> checked="checked" />

- - -

-

- - - - - - - - - - - - - -
checked="checked" />checked="checked" />

+ +

-

diff --git a/plugins/volume_mount/lang/en.hdf b/plugins/volume_mount/lang/en.hdf index c2805b0..d490880 100644 --- a/plugins/volume_mount/lang/en.hdf +++ b/plugins/volume_mount/lang/en.hdf @@ -30,7 +30,7 @@ SuccessMessage { WarningMessage { MountFailed { Title = Activation failed - Text = The encrypted filesystem could not be activated. Probably the given password was wrong. Please try again. + Text = The volume could not be activated for some reason. Sorry! } MountCryptoFailed { @@ -38,9 +38,16 @@ WarningMessage { Text = Maybe you entered the wrong password? } + InvalidContainerType { + Title = Unknown format + Text = The type of this volume ist not known. Maybe you want to initialize itfirst? + Link.Text = Format volume + Link.Rel = format_fs + } + UmountFailed { Title = Deactivation failed - Text = The encrypted filesystem could not be deactivated. Probably some files are still in use. Close all unclean programs (for example that widely used word processor). In case of emergency just shut down the CryptoBox! + Text = The volume could not be deactivated. Probably some files are still in use. In case of emergency just shut down the CryptoBox! } IsAlreadyMounted { diff --git a/plugins/volume_mount/volume_mount.py b/plugins/volume_mount/volume_mount.py index 4fc3922..9d3cbf4 100644 --- a/plugins/volume_mount/volume_mount.py +++ b/plugins/volume_mount/volume_mount.py @@ -40,8 +40,9 @@ class volume_mount(CryptoBoxPlugin.CryptoBoxPlugin): self.cbox.log.info("the device (%s) is already mounted" % self.device) return "volume_status" if self.container.getType() != self.container.Types["plain"]: - ## not a plain container - fail silently + ## not a plain container self.cbox.log.info("plugin 'volume_mount' - invalid container type") + self.hdf["Data.Warning"] = "Plugins.volume_mount.InvalidContainerType" return "volume_status" try: self.container.mount() @@ -94,7 +95,7 @@ class volume_mount(CryptoBoxPlugin.CryptoBoxPlugin): try: self.container.umount() except CBUmountError, errMsg: - self.hdf["Data.Warning"] = "InvalidType" + self.hdf["Data.Warning"] = "UmountFailed" self.cbox.log.warn("could not umount the volume (%s): %s" % (self.device, errMsg)) return "volume_status" self.cbox.log.info("successfully unmounted the container: %s" % self.device) diff --git a/plugins/volume_mount/volume_umount.cs b/plugins/volume_mount/volume_umount.cs index 6002510..457badf 100644 --- a/plugins/volume_mount/volume_umount.cs +++ b/plugins/volume_mount/volume_umount.cs @@ -5,6 +5,6 @@

-

+