diff --git a/apply_for_role.module b/apply_for_role.module
index 5644f02..cd4640f 100644
--- a/apply_for_role.module
+++ b/apply_for_role.module
@@ -524,10 +524,24 @@ function apply_for_role_process_applications($user, $applications) {
   }
 
   if (!empty($received)) {
-    drupal_set_message(t('%message %roles', array('%message' => format_plural(count($received), t('Your application was received for the following role:'), t('Your applications were received for the following roles:')), '%roles' => implode(', ', $received))));
+    drupal_set_message(
+      format_plural(
+        count($received),
+        'Your application was received for the following role:',
+        'Your applications were received for the following roles:',
+        array('%roles' => implode(', ', $received))
+      )
+    );
   }
   if (!empty($not_received)) {
-    drupal_set_message(t('%message %roles', array('%message' => format_plural(count($not_received), t('There was a problem processing your application for the following role:'), t('There was a problem processing your applications for the following roles:')), '%roles' => implode(', ', $not_received))), 'error');
+    drupal_set_message(
+      format_plural(
+        count($not_received),
+        'There was a problem processing your application for the following role:',
+        'There was a problem processing your applications for the following roles:',
+        array('%roles' => implode(', ', $not_received))
+      ), 'error'
+    );
   }
 }
 
