#1066 closed defect (bug) (fixed)
Non-working Gettext entries (9)
Reported by: | sakis | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | 1.5.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
There are many non working gettext entries in admin control panel. These ones are declared as gettext tags but translated messages never appear.
svn 2423 and latest pot (2005-03-06 10:09-0600)
also tested using parsed from source pot.
- wp-admin/post.php - line 727
<?php _e('<h3>WordPress bookmarklet</h3>
<p>You can drag the following link to your links bar or add it to your bookmarks and when you "Press it" it will open up a popup window with information and a link to the site you’re currently browsing so you can make a quick post about it. Try it out:</p>') ?>
<p>
- wp-admin/categories.php - line 157
<p><?php printf(('<strong>Note:</strong><br />
Deleting a category does not delete posts from that category, it will just
set them back to the default category <strong>%s</strong>.'), get_catname(1)) ?>
</p>
- wp-admin/link-categories.php - line 446
<?php printf(('<p>Deleting a link category does not delete links from that category.<br />
It will just set them back to the default category <b>%s</b>.'), get_linkcatname(1)) ?>
</p>
- wp-admin/link-import.php - line 31 and line 35 (both messages)
<li><?php _e('Go to <a href="http://www.blogrolling.com">Blogrolling.com</a>
and sign in. Once you’ve done that, click on <strong>Get Code</strong>, and then
look for the <strong><abbr title="Outline Processor Markup Language">OPML</abbr>
code</strong>') ?>.</li>
<li><?php _e('Or go to <a href="http://blo.gs">Blo.gs</a> and sign in. Once you’ve done
that in the \'Welcome Back\' box on the right, click on <strong>share</strong>, and then
look for the <strong><abbr title="Outline Processor Markup Language">OPML</abbr>
link</strong> (favorites.opml).') ?></li>
- wp-admin/link-manager.php - line 684 ('Visit' title)
echo "<td><a href=\"$link->link_url\" title=\"" . sprintf(('Visit %s'), $link->link_name) . "\">$short_url</a></td>";
- wp-admin/admin-functions.php - line 965 ('Visit plugin homepage' title)
$plugin = ("<a href='{$plugin_uri[1]}' title='Visit plugin homepage'>{$plugin}</a>");
- wp-admin/admin-functions.php - line 971 ('Visit author homepage' title)
$author = ("<a href='{$author_uri[1]}' title='Visit author homepage'>{$author_name[1]}</a>");
- wp-admin/functions.php - line 1398 ('Visit theme homepage' title)
$theme = ("<a href='{$theme_uri[1]}' title='Visit theme homepage'>{$theme}</a>");
- wp-admin/functions.php - line 1484 ('Visit author homepage' title)
$author = ("<a href='{$author_uri[1]}' title='Visit author homepage'>{$author_name[1]}</a>");
I've never had a problem with the multiline strings not showing up localised. Could this be something to do with different line endings? (e.g. .pot created with Unix line endings, .po created with Windows line endings, so the strings don't match?)
The other missing entries are duplicates of http://mosquito.wordpress.org/view.php?id=1033 (I'm attaching a patch there).