X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fmodules%2Fenc_setup.mod;h=bee872410814d860b0d5190b490de93c1bdc2028;hp=5311303891b82fdc786214e73de200d832d9f0b5;hb=a8380e75f951c6915dba43505e94df50af6ea3cb;hpb=d112ed5aeee62953707e7042a1edc8e8c2b6a968 diff --git a/plugins/squirrelspell/modules/enc_setup.mod b/plugins/squirrelspell/modules/enc_setup.mod index 53113038..bee87241 100644 --- a/plugins/squirrelspell/modules/enc_setup.mod +++ b/plugins/squirrelspell/modules/enc_setup.mod @@ -18,6 +18,19 @@ global $SQSPELL_CRYPTO; +/** + * Set up some i18n'able wrappers for javascript. + */ +$msg = ""; + $words=sqspell_getWords(); /** * When getting the user dictionary, the SQSPELL_CRYPTO flag will be @@ -30,7 +43,7 @@ if ($SQSPELL_CRYPTO){ * Unfortunately, the following text needs to be all on one line, * unless someone fixes xgettext. ;( */ - $msg = + $msg .= _("
Your personal dictionary is currently encrypted. This helps protect your privacy in case the web-mail system gets compromized and your personal dictionary ends up stolen. It is currently encrypted with the password you use to access your mailbox, making it hard for anyone to see what is stored in your personal dictionary.
ATTENTION: If you forget your password, your personal dictionary will become unaccessible, since it can no longer be decrypted. If you change your mailbox password, SquirrelSpell will recognize it and prompt you for your old password in order to re-encrypt the dictionary with a new key.
") . '