fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-06-10 10:48 am

[dw-free] translation string key for crosspost footer is too long

[commit: http://hg.dwscoalition.org/dw-free/rev/88262a5cf66e]

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

Rename the translation string.

Patch by [personal profile] fu.

Files modified:
  • bin/upgrading/en.dat
  • cgi-bin/DW/Setting/XPostAccounts.pm
--------------------------------------------------------------------------------
diff -r e70d0cbd7897 -r 88262a5cf66e bin/upgrading/en.dat
--- a/bin/upgrading/en.dat	Thu Jun 10 18:52:09 2010 +0800
+++ b/bin/upgrading/en.dat	Thu Jun 10 18:54:44 2010 +0800
@@ -2866,7 +2866,7 @@ setting.xpost.option.footer.vars.reply_u
 setting.xpost.option.footer.vars.reply_url=link to the reply form on the original post
 setting.xpost.option.footer.vars.comment_url=link to view the comments on the original post
 setting.xpost.option.footer.vars.comment_image=image tag that dynamically displays the comment count on the original post
-setting.xpost.option.footer.vars.comment_image.alttext=comment count unavailable
+setting.xpost.option.footer.vars.comment_image.alt=comment count unavailable
 
 setting.xpost.option.footer.when=Add the footer to the post on the other site:
 
diff -r e70d0cbd7897 -r 88262a5cf66e cgi-bin/DW/Setting/XPostAccounts.pm
--- a/cgi-bin/DW/Setting/XPostAccounts.pm	Thu Jun 10 18:52:09 2010 +0800
+++ b/cgi-bin/DW/Setting/XPostAccounts.pm	Thu Jun 10 18:54:44 2010 +0800
@@ -153,7 +153,7 @@ sub option {
     $ret .= "<div id='preview_section' style='display: none;'>" . $class->ml('setting.xpost.preview') . "\n";
 
     my $baseurl = $LJ::SITEROOT;
-    my $alttext = $class->ml('setting.xpost.option.footer.vars.comment_image.alttext');
+    my $alttext = $class->ml('setting.xpost.option.footer.vars.comment_image.alt');
     my $default_comment = $class->ml('xpost.redirect.comment', { postlink => "%%url%%" });
     
     # the javascript.  we have to do some special magic to get the lengths
--------------------------------------------------------------------------------