summaryrefslogtreecommitdiff
path: root/modules/organize/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-08-29 20:04:02 -0700
committerBharat Mediratta <bharat@menalto.com>2010-08-29 20:04:02 -0700
commit2c717b18d36f8d4ae6b7b94beeb0fd99a2984c9a (patch)
treec08eda385608910260da281d561a1a06b6d66c63 /modules/organize/helpers
parent0879a26e1c5a326c51064c412234b3fa540ed5a5 (diff)
Don't concatenate two strings together as an argument for t() or t2();
the l10n_scanner cannot parse it properly and drops those from the localization list. Fixes ticket #1284.
Diffstat (limited to 'modules/organize/helpers')
-rw-r--r--modules/organize/helpers/organize_event.php3
-rw-r--r--modules/organize/helpers/organize_installer.php3
2 files changed, 2 insertions, 4 deletions
diff --git a/modules/organize/helpers/organize_event.php b/modules/organize/helpers/organize_event.php
index 1593d30e..2f997600 100644
--- a/modules/organize/helpers/organize_event.php
+++ b/modules/organize/helpers/organize_event.php
@@ -61,8 +61,7 @@ class organize_event_Core {
static function module_change($changes) {
if (!module::is_active("rest") || in_array("rest", $changes->deactivate)) {
site_status::warning(
- t("The Organize module requires the Rest module. " .
- "<a href=\"%url\">Activate the Rest module now</a>",
+ t("The Organize module requires the Rest module. <a href=\"%url\">Activate the Rest module now</a>",
array("url" => html::mark_clean(url::site("admin/modules")))),
"organize_needs_rest");
} else {
diff --git a/modules/organize/helpers/organize_installer.php b/modules/organize/helpers/organize_installer.php
index 12d8147f..2faa598b 100644
--- a/modules/organize/helpers/organize_installer.php
+++ b/modules/organize/helpers/organize_installer.php
@@ -30,8 +30,7 @@ class organize_installer {
if ($version == 1) {
if (!module::is_active("rest")) {
site_status::warning(
- t("The Organize module requires the Rest module. " .
- "<a href=\"%url\">Activate the Rest module now</a>",
+ t("The Organize module requires the Rest module. <a href=\"%url\">Activate the Rest module now</a>",
array("url" => html::mark_clean(url::site("admin/modules")))),
"organize_needs_rest");
}