Use absolute path, instead of relative path of the translation string 
to bring it into the proper scope.

        Patch by fu. 

diffs (12 lines):

diff -r 4894aa8bbd98 -r 4954905b7319 cgi-bin/DW/Controller/Misc.pm
--- a/cgi-bin/DW/Controller/Misc.pm     Thu Aug 19 19:52:24 2010 -0500
+++ b/cgi-bin/DW/Controller/Misc.pm     Fri Aug 20 14:25:23 2010 +0800
@@ -34,7 +34,7 @@ sub whereami_handler {
     return $rv unless $ok;
 
     my $vars = { %$rv,
-        cluster_name => $LJ::CLUSTER_NAME{$rv->{u}->clusterid} || 
LJ::Lang::ml( '.cluster.unknown' ),
+        cluster_name => $LJ::CLUSTER_NAME{$rv->{u}->clusterid} || 
LJ::Lang::ml( '/misc/whereami.tt.cluster.unknown' ),
     };
 
     return DW::Template->render_template( 'misc/whereami.tt', $vars );
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to