[wp-trac] [WordPress Trac] #10005: Some strings need "no HTML
entities" translator comments
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 2 10:19:50 GMT 2009
#10005: Some strings need "no HTML entities" translator comments
-------------------------+--------------------------------------------------
Reporter: xibe | Owner: nbachiyski
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: i18n | Version: 2.7.1
Severity: minor | Keywords:
-------------------------+--------------------------------------------------
I've been putting a specific set of custom comments in my PO for some time
now, and since WP is now able to handle translator comments very
graciously, I think it would be nice to switch them over there.
The following strings need to have an indication warning translators
against the inclusion of HTML entities within their translation, because
of where the strings are user (RSS feeds, e-mail...). For instance,
"Protected Comments: " should be translated to "Commentaires
protégés : ", but since it is used in feeds, it breaks them...
Suggestions comment: "Do not add HTML entities ( , etc): used in
[context]".
Here they are (sorry, raw list out of my PO file).
Used in feeds:
- "Comments on: %s", wp-includes/feed-atom-comments.php:19 and wp-
includes/feed-rss2-comments.php:22
- "By: %s", wp-includes/feed-atom-comments.php:56 and wp-includes/feed-
rss2-comments.php:48
- "Protected Comments: Please enter your password to view comments.",
wp-includes/feed-rss2-comments.php:56
Used in e-mail:
- "Your new WordPress blog has been successfully set up at: ...", wp-
admin/includes/upgrade.php:229
- "New comment on your post #%1$s \"%2$s\"", wp-
includes/pluggable.php:968
- "Author : %1$s (IP: %2$s , %3$s)", wp-includes/pluggable.php:970 and
wp-includes/pluggable.php:1072
- "E-mail : %s", wp-includes/pluggable.php:971 and wp-
includes/pluggable.php:1073
- "URL : %s", wp-includes/pluggable.php:972, wp-
includes/pluggable.php:983, wp-includes/pluggable.php:993, wp-
includes/pluggable.php:1059, wp-includes/pluggable.php:1066 and wp-
includes/pluggable.php:1074
- "Whois : http://ws.arin.net/cgi-bin/whois.pl?queryinput=%s" and wp-
includes/pluggable.php:973 and wp-includes/pluggable.php:1075
- "Comment: ", wp-includes/pluggable.php:974 and wp-
includes/pluggable.php:1076
- "You can see all comments on this post here: ", wp-
includes/pluggable.php:975
- "[%1$s] Comment: \"%2$s\"", wp-includes/pluggable.php:977
- "New trackback on your post #%1$s \"%2$s\"", wp-
includes/pluggable.php:980
- "Website: %1$s (IP: %2$s , %3$s)", wp-includes/pluggable.php:982 and
wp-includes/pluggable.php:992
- "Excerpt: ", wp-includes/pluggable.php:984 and wp-
includes/pluggable.php:994
- "You can see all trackbacks on this post here: ", wp-
includes/pluggable.php:985
- "[%1$s] Trackback: \"%2$s\"", wp-includes/pluggable.php:987
- "New pingback on your post #%1$s \"%2$s\"", wp-
includes/pluggable.php:990
- "You can see all pingbacks on this post here: ", wp-
includes/pluggable.php:995
- "[%1$s] Pingback: \"%2$s\"", wp-includes/pluggable.php:997
- "Delete it: %s", wp-includes/pluggable.php:1000 and wp-
includes/pluggable.php:1081
- "Spam it: %s", wp-includes/pluggable.php:1001 and wp-
includes/pluggable.php:1082
- "A new trackback on the post #%1$s \"%2$s\" is waiting for your
approval", wp-includes/pluggable.php:1056
- "Website : %1$s (IP: %2$s , %3$s)", wp-includes/pluggable.php:1058 and
wp-includes/pluggable.php:1065
- "Trackback excerpt: ", wp-includes/pluggable.php:1060
- "A new pingback on the post #%1$s \"%2$s\" is waiting for your
approval", wp-includes/pluggable.php:1063
- "Pingback excerpt: ", wp-includes/pluggable.php:1067
- "A new comment on the post #%1$s \"%2$s\" is waiting for your
approval", wp-includes/pluggable.php:1070
- "Approve it: %s", wp-includes/pluggable.php:1080
- "Currently %s comment is waiting for approval. Please visit the
moderation panel:", wp-includes/pluggable.php:1084
- "[%1$s] Please moderate: \"%2$s\"", wp-includes/pluggable.php:1088
- "Password Lost and Changed for user: %s", wp-
includes/pluggable.php:1114
- "[%s] Password Lost/Changed", wp-includes/pluggable.php:1115
- "New user registration on your blog %s:", wp-
includes/pluggable.php:1135
- "Username: %s", wp-includes/pluggable.php:1136, wp-
includes/pluggable.php:1144
- "E-mail: %s", wp-includes/pluggable.php:1137
- "[%s] New User Registration", wp-includes/pluggable.php:1139
- "Password: %s", wp-includes/pluggable.php:1145
- "[%s] Your username and password", wp-includes/pluggable.php:1148
Used in visual editor (entities break it):
- "Edit Image", wp-includes/js/tinymce/langs/wp-langs.php:421
- "Delete Image", wp-includes/js/tinymce/langs/wp-langs.php:422
Used in an alert() message:
- "Enter a word to look up:", wp-includes/script-loader.php:76
Obviously these were marked for my locale's need, I think all the strings
pertaining to these context should be properly commented about this.
Hopefully it is not too late (and is quick enough) for inclusion with 2.8.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10005>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list