changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r18739: LJSUP-8202 (Variable with Time Zone for ...

Committer: ailyin
LJSUP-8202 (Variable with Time Zone for translation system)
U   trunk/htdocs/manage/profile/index.bml
U   trunk/htdocs/manage/profile/index.bml.text
Modified: trunk/htdocs/manage/profile/index.bml
===================================================================
--- trunk/htdocs/manage/profile/index.bml	2011-03-30 07:14:09 UTC (rev 18738)
+++ trunk/htdocs/manage/profile/index.bml	2011-03-30 08:29:06 UTC (rev 18739)
@@ -600,7 +600,9 @@
                 $ret .= LJ::html_select({ 'name' => 'sms_interval_end',
                                                   'selected' => $end || 1, },
                                                   @sms_time);
-                $ret .= " " . BML::ml(".fn.smsinterval.localtime");
+                $ret .= " " . BML::ml(".fn.smsinterval.localtime2", {
+                    'timezone' => $u->prop('timezone'),
+                });
 
                 $ret .= '</div>';
 

Modified: trunk/htdocs/manage/profile/index.bml.text
===================================================================
--- trunk/htdocs/manage/profile/index.bml.text	2011-03-30 07:14:09 UTC (rev 18738)
+++ trunk/htdocs/manage/profile/index.bml.text	2011-03-30 08:29:06 UTC (rev 18739)
@@ -183,6 +183,8 @@
 
 .fn.smsinterval.localtime=you local timezone.
 
+.fn.smsinterval.localtime2=you local timezone ([[timezone]]).
+
 .fn.zip=ZIP Code
 
 .friendof=Show other users who have friended you, but you have not friended

Tags: andy, bml, livejournal, text
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