Avoid string concatenation in t() calls - it breaks the language scanner.
This commit is contained in:
parent
ea015d7ded
commit
e7ababf870
|
@ -30,8 +30,7 @@ class tag_albums_event_Core {
|
||||||
// tell the user to install it if it isn't.
|
// tell the user to install it if it isn't.
|
||||||
if (!module::is_active("tag") || in_array("tag", $changes->deactivate)) {
|
if (!module::is_active("tag") || in_array("tag", $changes->deactivate)) {
|
||||||
site_status::warning(
|
site_status::warning(
|
||||||
t("The Tag Albums module requires the Tags module. " .
|
t("The Tag Albums module requires the Tags module. <a href=\"%url\">Activate the Tags module now</a>",
|
||||||
"<a href=\"%url\">Activate the Tags module now</a>",
|
|
||||||
array("url" => url::site("admin/modules"))),
|
array("url" => url::site("admin/modules"))),
|
||||||
"tag_albums_needs_tag");
|
"tag_albums_needs_tag");
|
||||||
} else {
|
} else {
|
||||||
|
|
Reference in New Issue
Block a user