From 6bc48b709359a6e65a363982853d193be6f66fc9 Mon Sep 17 00:00:00 2001
From: Robert Allerstorfer <roball@405360.no-reply.drupal.org>
Date: Sat, 16 May 2015 12:21:04 +0200
Subject: [PATCH] Issue #2488930: Fix Interface text translatability warning in
 token help

---
 webform.tokens.inc | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/webform.tokens.inc b/webform.tokens.inc
index 658177b..536af3b 100644
--- a/webform.tokens.inc
+++ b/webform.tokens.inc
@@ -62,15 +62,16 @@ function webform_token_info() {
     'description' => t("Webform tokens related to the submission's Edit URL."),
     'type' => 'url',
   );
+  $description_submission_values = '<div>' . t('Webform tokens from submitted data. Replace the "?" with the "field key", including any parent field keys separated by colons.');
+  $description_submission_values .= ' ' . t('You can append:') . '</div><ul><li>' . t('the question key for just that one question (grid components).') . '</li><li>';
+  $description_submission_values .= t('the option key for just that one option (grid and select components).') . '</li><li>"<code>:nolabel</code>" ';
+  $description_submission_values .= t('for the value without the label (the default).') . '</li><li>"<code>:label</code>" ';
+  $description_submission_values .= t('for just the label.') . '</li><li>"<code>:withlabel</code>" ';
+  $description_submission_values .= t('for both the label and value together.') . '</li><li>"<code>:key</code>" ';
+  $description_submission_values .= t('for just the key in a key|label pair (grid and select components).') . '</li></ul>';
   $info['tokens']['submission']['values'] = array(
     'name' => t('Webform submission values'),
-    'description' => t('<div>Webform tokens from submitted data. Replace the "?" with the "field key", including any parent field keys separated by colons. You can append:</div><ul>' .
-                       '<li>the question key for just that one question (grid components).</li>' .
-                       '<li>the option key for just that one option (grid and select components).' .
-                       '<li>":nolabel" for the value without the label (the default)</li>' .
-                       '<li>":label" for just the label.</li>' .
-                       '<li>":withlabel" for both the label and value together.</li>' .
-                       '<li>":key" for just the key in a key|label pair (grid and select components).</li></ul>'),
+    'description' => $description_submission_values,
     'dynamic' => TRUE,
   );
 
-- 
1.9.5

