Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r20275: LJSV-1821 (translation variables not par...

Committer: ailyin
LJSV-1821 (translation variables not parsing on notification emails or notification page)
U   trunk/bin/upgrading/deadphrases.dat
U   trunk/bin/upgrading/en.dat
U   trunk/cgi-bin/LJ/Event/OfficialPost.pm
Modified: trunk/bin/upgrading/deadphrases.dat
===================================================================
--- trunk/bin/upgrading/deadphrases.dat	2011-10-11 07:08:43 UTC (rev 20274)
+++ trunk/bin/upgrading/deadphrases.dat	2011-10-11 07:13:31 UTC (rev 20275)
@@ -592,3 +592,5 @@
 general widget.customizetheme.linkslist.manage
 
 general widget.customizetheme.linkslist
+
+general event.officialpost

Modified: trunk/bin/upgrading/en.dat
===================================================================
--- trunk/bin/upgrading/en.dat	2011-10-11 07:08:43 UTC (rev 20274)
+++ trunk/bin/upgrading/en.dat	2011-10-11 07:13:31 UTC (rev 20275)
@@ -2559,8 +2559,7 @@
 event.journal_new_entry.user|staleness=1
 event.journal_new_entry.user=[[user]] posts a new entry.
 
-event.officialpost|staleness=1
-event.officialpost=[[sitename]] makes a new [[openlink]]announcement[[closelink]].
+event.officialpost2=[[sitename]] makes a new announcement.
 
 event.poll_vote.id|staleness=1
 event.poll_vote.id=Someone votes in poll #[[pollid]]

Modified: trunk/cgi-bin/LJ/Event/OfficialPost.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/OfficialPost.pm	2011-10-11 07:08:43 UTC (rev 20274)
+++ trunk/cgi-bin/LJ/Event/OfficialPost.pm	2011-10-11 07:13:31 UTC (rev 20275)
@@ -172,7 +172,10 @@
 
 sub subscription_as_html {
     my ($class, $subscr) = @_;
-    return LJ::Lang::ml('event.officialpost', { sitename => $LJ::SITENAME }); # $LJ::SITENAME makes a new announcement
+
+    # $LJ::SITENAME makes a new announcement
+    return LJ::Lang::ml( 'event.officialpost2',
+        { 'sitename' => $LJ::SITENAME } );
 }
 
 sub is_tracking { 0 }

Tags: ailyin, andy, dat, livejournal, pm
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