Index: aes.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/aes/aes.module,v
retrieving revision 1.1.2.1.2.1
diff -u -r1.1.2.1.2.1 aes.module
--- aes.module	12 Oct 2009 17:11:10 -0000	1.1.2.1.2.1
+++ aes.module	21 Jul 2010 15:20:59 -0000
@@ -86,14 +86,14 @@
  }
  else if ($phpsec_load_result == -1) {
   //missing set_include_path
-  $phpseclib_error_msg = " <span style=\"color:#f00;\">Warning: phpseclib was found but can't be loaded since this sever doesn't allow setting the PHP include path.</span>";
+  $phpseclib_error_msg = t(" <span style=\"color:#f00;\">Warning: phpseclib was found but can't be loaded since this sever doesn't allow setting the PHP include path.</span>");
  }
  else if ($phpsec_load_result == -2) {
   //couldn't find phpseclib - don't output anything since this is perfectly normal if using mcrypt
  }
  else if ($phpsec_load_result == -3) {
   //found phpseclib, but couldn't read its files
-  $phpseclib_error_msg = " <span style=\"color:#f00;\">Warning: phpseclib was found but couldn't be read, check permissions.</span>";
+  $phpseclib_error_msg = t(" <span style=\"color:#f00;\">Warning: phpseclib was found but couldn't be read, check permissions.</span>");
  }
  
  if (file_exists(variable_get("aes_key_path", "")) && is_writable(variable_get("aes_key_path", "")) == false && variable_get("aes_key_storage_method", "") == "File") {
@@ -117,20 +117,20 @@
  
  $encryption_implementations = array();
  if ($phpsec_loaded) {
-  $encryption_implementations["phpseclib"] = "PHP Secure Communications Library (phpseclib)";
+  $encryption_implementations["phpseclib"] = t("PHP Secure Communications Library (phpseclib)");
  }
  if (extension_loaded("mcrypt")) {
-  $encryption_implementations["mcrypt"] = "Mcrypt extension";
+  $encryption_implementations["mcrypt"] = t("Mcrypt extension");
  }
- 
+
  if (!empty($encryption_implementations["mcrypt"]) && !empty($encryption_implementations["phpseclib"])) {
-  $implementations_description = "The Mcrypt implementation is the (only) implementation this module used until support for phpseclib was added. The Mcrypt implementation is faster than phpseclib and also lets you define the cipher to be used, other than that, the two implementations are equivalent.";
+  $implementations_description = t("The Mcrypt implementation is the (only) implementation this module used until support for phpseclib was added. The Mcrypt implementation is faster than phpseclib and also lets you define the cipher to be used, other than that, the two implementations are equivalent.");
  }
  else if (!empty($encryption_implementations["mcrypt"]) && empty($encryption_implementations["phpseclib"])) {
-  $implementations_description = "The Mcrypt extension is the only installed implementation.".$phpseclib_error_msg;
+  $implementations_description = t("The Mcrypt extension is the only installed implementation.!error", array('!error' => $phpseclib_error_msg));
  }
  else if (empty($encryption_implementations["mcrypt"]) && !empty($encryption_implementations["phpseclib"])) {
-  $implementations_description = "PHP Secure Communications Library is the only installed implementation.";
+  $implementations_description = t("PHP Secure Communications Library is the only installed implementation.");
  }
  
  if (empty($encryption_implementations)) {

