From 30ed99f901982391982cfeec9b919a6c28a995be Mon Sep 17 00:00:00 2001 From: age Date: Tue, 6 Mar 2007 09:40:29 +0000 Subject: [PATCH] * fixed corrput language file * warning message gives a hint * removed TODO --- plugins/volume_chpasswd/language.hdf | 3 ++- plugins/volume_chpasswd/volume_chpasswd.py | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/volume_chpasswd/language.hdf b/plugins/volume_chpasswd/language.hdf index 777042e..8ad890f 100644 --- a/plugins/volume_chpasswd/language.hdf +++ b/plugins/volume_chpasswd/language.hdf @@ -19,6 +19,7 @@ AdviceMessage { Text = This volume is not encrypted. If you want to turn on encryption, then you have to format the volume. Beware: this will erase all data from this volume. Link.Text = Format this volume Link.Rel = volume_format_fs + } } @@ -33,6 +34,6 @@ SuccessMessage { WarningMessage { PasswordChange { Title = Could not change password - Text = The password of this volume could not be changed - sorry! + Text = The password of this volume could not be changed - sorry! Maybe you mistyped your current password? } } diff --git a/plugins/volume_chpasswd/volume_chpasswd.py b/plugins/volume_chpasswd/volume_chpasswd.py index 2fb4505..148133d 100644 --- a/plugins/volume_chpasswd/volume_chpasswd.py +++ b/plugins/volume_chpasswd/volume_chpasswd.py @@ -46,7 +46,10 @@ class volume_chpasswd(cryptobox.plugins.base.CryptoBoxPlugin): def get_status(self): - return "TODO" + """chpasswd doesn't give any useful status information, other + than True + """ + return True def is_useful(self, device):