diff --git a/includes/encrypt.encrypt.inc b/includes/encrypt.encrypt.inc
index 87cf9ee..bdbbd51 100644
--- a/includes/encrypt.encrypt.inc
+++ b/includes/encrypt.encrypt.inc
@@ -98,7 +98,7 @@ function _encrypt_decrypt($op = 'encrypt', $text = '', $options = array(), $meth
 
   // Get the encryption key from the default key provider.
   $key = encrypt_get_key_from_key_provider($key_provider, $provider_settings);
-  if(!$key){
+  if (!$key) {
     drupal_set_message(t('The key from %key_provider could not be retrieved.', array('%key_provider' => $key_provider)), 'error');
     throw new Exception('Key not found');
   }
diff --git a/plugins/key_providers/drupal_variable.inc b/plugins/key_providers/drupal_variable.inc
index 0b7368c..0362e4b 100644
--- a/plugins/key_providers/drupal_variable.inc
+++ b/plugins/key_providers/drupal_variable.inc
@@ -28,7 +28,7 @@ function encrypt_get_encrypt_drupal_variable_key() {
   $key = variable_get('encrypt_drupal_variable_key', NULL);
   if (empty($key)) {
     watchdog('encrypt', 'You need to set the encrypt_drupal_variable_key variable, preferably in $conf in your settings.php.', array(), WATCHDOG_EMERGENCY);
-    drupal_set_message("Encryption settings are insufficient. See your site log for more information.", 'error');
+    drupal_set_message(t("Encryption settings are insufficient. See your site log for more information."), 'error');
   }
   return $key;
 }
