yokcel (yokcel) wrote in changelog,
yokcel
yokcel
changelog

[ljcom] r13074: LJSUP-14295: Need add translate for some...

Committer: ybuhvalova
LJSUP-14295: Need add translate for some variables in Expressive
U   trunk/bin/upgrading/s2layers/voxhtml/layout.s2
U   trunk/bin/upgrading/s2layers-local.dat
Modified: trunk/bin/upgrading/s2layers/voxhtml/layout.s2
===================================================================
--- trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2012-12-25 11:09:57 UTC (rev 13073)
+++ trunk/bin/upgrading/s2layers/voxhtml/layout.s2	2012-12-25 12:00:30 UTC (rev 13074)
@@ -5,6 +5,8 @@
 layerinfo des = "Vox's standard HTML structure for blogs, to be styled with CSS.";
 
 
+propgroup presentation {
+
 #These are properties for sponsored styles
     property bool sponsored_style {
         des = "Sponsored style";
@@ -47,9 +49,8 @@
         noui = 1;
         }
         set sponsor_logourl = "";
-        
-        
-propgroup presentation {
+                
+
     # This property is now set in a theme layer, but the default is Bloom Blue
     property string base_theme {
         des = "Base Theme";
@@ -73,6 +74,12 @@
     set theme_designer = "chasethestars";
     set theme_designer_type = "ljuser";
 
+    property string designedby_text {
+        des = "Text 'Designed by'";
+        noui = 1;
+        }
+    set designedby_text = "Designed by";
+
     property string layout_type {
         des = "Layout Type";
         values = "3CL|Three Column (Content on left)|3CM|Three column (Content in middle)|2CR|Two column(Sidebar on Right)|2CL|Two column(Sidebar on Left)";
@@ -1035,7 +1042,7 @@
 
     if ($type == "ljuser") {
         var UserLite u = UserLite($designer);
-        return "<div class=\"asset-name-hover\">Designed by "+$u->ljuser()+"</div>";
+        return "<div class=\"asset-name-hover\">$*designedby_text "+$u->ljuser()+"</div>";
     } elseif ($type == "outside") {
         if ($designer == "piximix") {
             return "<a href=\"http://www.piximix.com\"><img src=\"$*IMGDIR/$theme"+"_by_piximix.gif\" width=\"160\" height=\"30\" border=\"0\" /></a>";
@@ -1043,7 +1050,7 @@
             return """<!-- Design by LjGetStyle - Unique design for your Live Journal, Themes for your Live Journal Blog -->
             <a href="http://ljgetstyle.com/" class="ljgetstyle-logo" title="LjGetStyle - Unique design for your Live Journal" target="_blank"></a>""";
         } elseif ($designers{$designer}) {
-            return "<div class=\"asset-name-hover\">Designed by <a href=\"$designers{$designer}\" target=\"_blank\">$designer</a></div>";
+            return "<div class=\"asset-name-hover\">$*designedby_text <a href=\"$designers{$designer}\" target=\"_blank\">$designer</a></div>";
         }
     }
 
@@ -1948,7 +1955,7 @@
         println """<div class="stream-footer">""";
         println """<p class="prevnext">""";
         println $skiplinks;
-        print """ | <a href="#home">Back to Top</a>""";
+        print """ | <a href="#home">$*text_totop</a>""";
         println "</p>";
         println "</div>";
     }
@@ -2455,7 +2462,7 @@
     if ($e.metadata{"poster_ip"} != "") {
         "(" + $e.metadata{"poster_ip"} + ") ";
     }
-    """wrote:</span><br />""";
+    """</span><br />""";
     var string datetime = lang_posted_by_date_and_time($e, true, true, true);
     """<div class="comment-date"><abbr class="datetime">$datetime</abbr></div>""";
 

Modified: trunk/bin/upgrading/s2layers-local.dat
===================================================================
--- trunk/bin/upgrading/s2layers-local.dat	2012-12-25 11:09:57 UTC (rev 13073)
+++ trunk/bin/upgrading/s2layers-local.dat	2012-12-25 12:00:30 UTC (rev 13074)
@@ -44,6 +44,7 @@
 unearthed/themes        theme+          unearthed/layout
 
 voxhtml/layout          layout          core1
+voxhtml/ru		        i18n            voxhtml/layout
 voxhtml/themes          theme+          voxhtml/layout
 
 voxseasonal/layout      layout(voxhtml/layout)  core1

Tags: dat, ljcom, s2, ybuhvalova, yokcel
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