wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18427: LJSV-1383. Remove hardcoded text "please...

Committer: gprochaev
LJSV-1383. Remove hardcoded text "please wait"

U   trunk/bin/upgrading/en.dat
U   trunk/cgi-bin/LJ/Widget/ThemeNav.pm
Modified: trunk/bin/upgrading/en.dat
===================================================================
--- trunk/bin/upgrading/en.dat	2011-03-01 20:48:04 UTC (rev 18426)
+++ trunk/bin/upgrading/en.dat	2011-03-02 03:19:12 UTC (rev 18427)
@@ -7317,6 +7317,8 @@
 widget.themenav.filteravailable|staleness=1
 widget.themenav.filteravailable=Only show themes available to me
 
+widget.themenav.please_wait=Please wait...
+
 widget.themenav.switchtos1|staleness=1
 widget.themenav.switchtos1=Switch to old style system (S1)
 

Modified: trunk/cgi-bin/LJ/Widget/ThemeNav.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/ThemeNav.pm	2011-03-01 20:48:04 UTC (rev 18426)
+++ trunk/cgi-bin/LJ/Widget/ThemeNav.pm	2011-03-02 03:19:12 UTC (rev 18427)
@@ -256,6 +256,7 @@
 }
 
 sub js {
+    my $please_wait = LJ::Lang::ml('widget.themenav.please_wait');
     q [
         initWidget: function () {
             var self = this;
@@ -357,8 +358,8 @@
             if (key == "search") {
                 $("search_btn").disabled = true;
             } else if (key == "page" || key == "show") {
-                $("paging_msg_area_top").innerHTML = "<em>Please wait...</em>";
-                $("paging_msg_area_bottom").innerHTML = "<em>Please wait...</em>";
+                $("paging_msg_area_top").innerHTML = "<em>].$please_wait.q[</em>";
+                $("paging_msg_area_bottom").innerHTML = "<em>].$please_wait.q[</em>";
             } else {
                 Customize.cursorHourglass(evt);
             }

Tags: dat, livejournal, pm, wisest-owl
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