Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[livejournal] r19167: LJSUP-8904: There is no variable for but...

Committer: dnikolaev
LJSUP-8904: There is no variable for button "Select" at add.bml/edit.bml pages

U   trunk/htdocs/friends/add.bml
U   trunk/htdocs/friends/add.bml.text
Modified: trunk/htdocs/friends/add.bml
===================================================================
--- trunk/htdocs/friends/add.bml	2011-05-30 06:50:17 UTC (rev 19166)
+++ trunk/htdocs/friends/add.bml	2011-05-30 07:15:40 UTC (rev 19167)
@@ -297,7 +297,7 @@
      {
          my $not_last = scalar(@$friend_tags_list);
          foreach (@$friend_tags_list) {
-             $body .= '<li><span><a target="_blank" href="#">' . LJ::ehtml($_) . '</a> ' . (exists $user_tags_map->{$_} ? $user_tags_map->{$_} : '(-)') . '<i title="Remove tag from list" class="i-pending-close"></i></span>' . (--$not_last ? '<b>,</b>' : '') . '</li>';
+             $body .= '<li><span><a target="_blank" href="#">' . LJ::ehtml($_) . '</a> ' . (exists $user_tags_map->{$_} ? $user_tags_map->{$_} : '(-)') . '<i title="' . $ML{'.tags.cross.tooltip'} . '" class="i-pending-close"></i></span>' . (--$not_last ? '<b>,</b>' : '') . '</li>';
              $friend_tags_map->{$_} = 1;
          }
      }
@@ -314,7 +314,7 @@
          my @tags = sort grep { !$friend_tags_map->{$_} } keys %$user_tags_map;
          my $not_last = scalar(@tags);
          foreach my $tag (@tags) {
-             $body .= '<li><span><a target="_blank" href="#">' . LJ::ehtml($tag) . '</a> ' . (exists $user_tags_map->{$tag} ? $user_tags_map->{$tag} : '(-)') . '<i title="Remove tag from list" class="i-pending-close"></i></span>' . (--$not_last ? '<b>,</b>' : '') . '</li>';
+             $body .= '<li><span><a target="_blank" href="#">' . LJ::ehtml($tag) . '</a> ' . $user_tags_map->{$tag} . '<i title="' . $ML{'.tags.cross.tooltip'} . '" class="i-pending-close"></i></span>' . (--$not_last ? '<b>,</b>' : '') . '</li>';
          }
      }
 
@@ -329,7 +329,7 @@
                    <a href="#">${tagName}</a>
                    (-)
                    {{if hasCloseButton }}
-                   <i title="Remove tag from list" class="i-pending-close" ></i>
+                   <i title="' . $ML{'.tags.cross.tooltip'} . '" class="i-pending-close" ></i>
                    {{/if}}
            </span>
            </li>

Modified: trunk/htdocs/friends/add.bml.text
===================================================================
--- trunk/htdocs/friends/add.bml.text	2011-05-30 06:50:17 UTC (rev 19166)
+++ trunk/htdocs/friends/add.bml.text	2011-05-30 07:15:40 UTC (rev 19167)
@@ -116,6 +116,8 @@
 
 .tags.button.select=Select
 
+.tags.cross.tooltip=Remove tag from list
+
 .tags.input.tag=Input tag
 
 .tags.including=Including selected tags

Tags: bml, livejournal, text, wildkin
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments