From 54a157edee162d5123f7750d88493dd9429799d0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Sun, 5 Oct 2003 17:34:36 +0000 Subject: [PATCH] - Fixed translation problem with comment module. Patch by Gobar. --- modules/comment.module | 4 ++-- modules/comment/comment.module | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/comment.module b/modules/comment.module index 7c3265c9325c..e0f4cce9d79e 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -1278,7 +1278,7 @@ function comment_mode_form($mode) { $modes = _comment_get_modes(); foreach ($modes as $key => $value) { - $options .= " <option value=\"$key\"". ($mode == $key ? " selected=\"selected\"" : "") .">". t($value) ."</option>\n"; + $options .= " <option value=\"$key\"". ($mode == $key ? " selected=\"selected\"" : "") .">$value</option>\n"; } return "<select name=\"mode\">$options</select>\n"; @@ -1288,7 +1288,7 @@ function comment_order_form($order) { $order = _comment_get_orders(); foreach ($order as $key=>$value) { - $options .= " <option value=\"$key\"". ($order == $key ? " selected=\"selected\"" : "") .">". t($value) ."</option>\n"; + $options .= " <option value=\"$key\"". ($order == $key ? " selected=\"selected\"" : "") .">$value</option>\n"; } return "<select name=\"order\">$options</select>\n"; diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 7c3265c9325c..e0f4cce9d79e 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1278,7 +1278,7 @@ function comment_mode_form($mode) { $modes = _comment_get_modes(); foreach ($modes as $key => $value) { - $options .= " <option value=\"$key\"". ($mode == $key ? " selected=\"selected\"" : "") .">". t($value) ."</option>\n"; + $options .= " <option value=\"$key\"". ($mode == $key ? " selected=\"selected\"" : "") .">$value</option>\n"; } return "<select name=\"mode\">$options</select>\n"; @@ -1288,7 +1288,7 @@ function comment_order_form($order) { $order = _comment_get_orders(); foreach ($order as $key=>$value) { - $options .= " <option value=\"$key\"". ($order == $key ? " selected=\"selected\"" : "") .">". t($value) ."</option>\n"; + $options .= " <option value=\"$key\"". ($order == $key ? " selected=\"selected\"" : "") .">$value</option>\n"; } return "<select name=\"order\">$options</select>\n"; -- GitLab