Make WordPress Core

Opened 20 years ago

Closed 18 years ago

Last modified 18 years ago

#1066 closed defect (bug) (fixed)

Non-working Gettext entries (9)

Reported by: sakis's profile sakis Owned by: ryan's profile 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.

  1. 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&#8217;re currently browsing so you can make a quick post about it. Try it out:</p>') ?>
<p>

  1. 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>


  1. 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>


  1. 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&#8217;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&#8217;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>

  1. 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>";

  1. wp-admin/admin-functions.php - line 965 ('Visit plugin homepage' title)

$plugin = ("<a href='{$plugin_uri[1]}' title='Visit plugin homepage'>{$plugin}</a>");

  1. 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>");

  1. wp-admin/functions.php - line 1398 ('Visit theme homepage' title)

$theme = ("<a href='{$theme_uri[1]}' title='Visit theme homepage'>{$theme}</a>");

  1. wp-admin/functions.php - line 1484 ('Visit author homepage' title)

$author = ("<a href='{$author_uri[1]}' title='Visit author homepage'>{$author_name[1]}</a>");

Change History (7)

#1 @sakis
20 years ago

  • Patch set to No

#2 @ryan
20 years ago

  • Owner changed from anonymous to rboren
  • Status changed from new to assigned

#3 @anonymousbugger
20 years ago

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).

#5 @ryan
19 years ago

  • Milestone set to 2.0

#6 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

#7 @(none)
18 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.