Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[ljcom] r12414: LJSV-2354: Language for text_tags is not...

Committer: esavintcev
LJSV-2354: Language for text_tags is not applying in some styles
U   trunk/bin/upgrading/s2layers/component/layout.s2
U   trunk/bin/upgrading/s2layers/voxhtml/layout.s2
Modified: trunk/bin/upgrading/s2layers/component/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/component/layout.s2	2012-08-03 12:15:55 UTC (rev 12413)
+++ trunk/bin/upgrading/s2layers/component/layout.s2	2012-08-03 13:57:13 UTC (rev 12414)
@@ -325,6 +325,7 @@
         note = "The text that appears in the navigation component or header when the user can navigate back.";
     }
 
+    property use text_tags_section_header;
     property use text_meta_mood;
     property use text_meta_music;
     property use text_meta_location;
@@ -2120,7 +2121,9 @@
             $link = $this->get_link($k);
             if(defined $link) {
                 $icon = $link_images{$k};
-                if ($icon != "") { print "<a href=\"$link.url\"><img src=\"$icon\" border=\"0\" alt=\"$link.caption\" title=\"$link.caption\" vspace=\"2\" /></a><br />"; }
+                if ($icon != "") {
+                    print "<a href=\"$link.url\"><img src=\"$icon\" border=\"0\" alt=\"$link.caption\" title=\"$link.caption\" vspace=\"2\" /></a><br />";
+                }
             }
             $icon = "";
             $link->print_raw();
@@ -2247,7 +2250,7 @@
                             if (size $e.tags or size $e.metadata) { print "<p>"; }
                             if ($e.tags) {
                                 var int tcount = 0;
-                                "<strong>Tags:</strong> ";
+                                "<strong>$*text_tags_section_header: </strong> ";
                                 foreach var Tag t ($e.tags) {
                                     """<a rel="tag" href="$t.url">$t.name</a>""";
                                     $tcount++;

Modified: trunk/bin/upgrading/s2layers/voxhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2012-08-03 12:15:55 UTC (rev 12413)
+++ trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2012-08-03 13:57:13 UTC (rev 12414)
@@ -530,7 +530,6 @@
     property use text_syndicate;
 	set text_syndicate = "Syndicate";
     property use text_tags_section_header;
-	set text_tags_section_header = "Tags";
 
     property use text_post_comment;
     property use text_read_comments;
@@ -611,9 +610,6 @@
     set sticky_subject = "Sticky Post";
     set sticky_post = "";
     set text_comments = "Comments";
-    set text_meta_location = "Location";
-    set text_meta_mood = "Mood";
-    set text_meta_music = "Music";
     set text_meta_groups = "Groups";
     set text_website_default_name = "Website";
     
@@ -2205,7 +2201,7 @@
 
     if ((size($.tags) > 0) and ($*tags_aware)) {
         var int tcount = 0;
-        """<div class="asset-tags"><h4 class="asset-tags-header page-header-4">Tags:</h4>\n<ul class="asset-tags-list">\n """;
+        """<div class="asset-tags"><h4 class="asset-tags-header page-header-4">$*text_tags_section_header:</h4>\n<ul class="asset-tags-list">\n """;
         foreach var Tag t ($this.tags) {
             """<li class="item"><a rel="tag" href="$t.url">$t.name</a>""";
             $tcount++;

Tags: esavintcev, ljcom, s2, savintsev_egor
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