Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid string concatenation in t() calls - it breaks the language scan…

…ner.
  • Loading branch information...
commit e7ababf8709a48a174e343ff5624c30a02f72f99 1 parent ea015d7
@bharat bharat authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 3.0/modules/tag_albums/helpers/tag_albums_event.php
View
5 3.0/modules/tag_albums/helpers/tag_albums_event.php
@@ -30,8 +30,7 @@ static function module_change($changes) {
// tell the user to install it if it isn't.
if (!module::is_active("tag") || in_array("tag", $changes->deactivate)) {
site_status::warning(
- t("The Tag Albums module requires the Tags module. " .
- "<a href=\"%url\">Activate the Tags module now</a>",
+ t("The Tag Albums module requires the Tags module. <a href=\"%url\">Activate the Tags module now</a>",
array("url" => url::site("admin/modules"))),
"tag_albums_needs_tag");
} else {
@@ -76,7 +75,7 @@ static function item_edit_form($item, $form) {
$tags_album_group = $form->edit_item->group("tags_album_group");
$tags_album_group->dropdown("tags_album_type")
->options(
- array("OR" => t("Display items that contain ANY of the following tags:"),
+ array("OR" => t("Display items that contain ANY of the following tags:"),
"AND" => t("Display items that contain ALL of the following tags:")))
->selected($tag_album_type);
$tags_album_group->input("tag_albums")

0 comments on commit e7ababf

Please sign in to comment.
Something went wrong with that request. Please try again.