afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-05-17 12:56 pm

[dw-free] English-strip /update

[commit: http://hg.dwscoalition.org/dw-free/rev/9799d4d90f66]

http://bugs.dwscoalition.org/show_bug.cgi?id=383

Strip "View Thumbnails"

Patch by [personal profile] wyntarvox.

Files modified:
  • htdocs/js/entry.js
  • htdocs/update.bml
  • htdocs/update.bml.text
--------------------------------------------------------------------------------
diff -r 7563440a8814 -r 9799d4d90f66 htdocs/js/entry.js
--- a/htdocs/js/entry.js	Sun May 17 12:48:38 2009 +0000
+++ b/htdocs/js/entry.js	Sun May 17 12:56:24 2009 +0000
@@ -173,7 +173,7 @@ function defaultDate() {
 
 function insertViewThumbs() {
     var lj_userpicselect = $('lj_userpicselect');
-    lj_userpicselect.innerHTML = 'View Thumbnails';
+    lj_userpicselect.innerHTML = ml.viewthumbnails_link;
 }
 
 function mood_preview() {
diff -r 7563440a8814 -r 9799d4d90f66 htdocs/update.bml
--- a/htdocs/update.bml	Sun May 17 12:48:38 2009 +0000
+++ b/htdocs/update.bml	Sun May 17 12:56:24 2009 +0000
@@ -603,6 +603,14 @@ head<=
     </script>^;
 
     $ret .= (! $LJ::REQ_HEAD_HAS{'chalresp_js'}++) ? $LJ::COMMON_CODE{'chalresp_js'} : "";
+
+    $ret .= <<HEAD;
+<script type="text/javascript">
+    var ml = new Object();
+    ml.viewthumbnails_link = "$ML{'.link.view_thumbnails'}";
+</script>
+HEAD
+
     return $ret;
 }
 _code?>
diff -r 7563440a8814 -r 9799d4d90f66 htdocs/update.bml.text
--- a/htdocs/update.bml.text	Sun May 17 12:48:38 2009 +0000
+++ b/htdocs/update.bml.text	Sun May 17 12:56:24 2009 +0000
@@ -50,6 +50,8 @@
 .htmlokay.rich=(HTML okay; by default, newlines will be auto-formatted to <tt>&lt;br&gt;</tt> - or, use the <a [[opts]]>rich text</a> mode.)
 
 .htmlokay.rte_nosupport=(Sorry, your browser does not currently support the rich text environment.)
+
+.link.view_thumbnails=View Thumbnails
 
 .localtime=Local time:
 
--------------------------------------------------------------------------------