Closed Bug 548161 Opened 16 years ago Closed 16 years ago

Don't add new strings to the theme for 0.75

Categories

(Websites Graveyard :: opentochoice.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Unassigned)

Details

(Keywords: l12y)

Attachments

(1 file)

Trying to give some feedback early on. Wherever possible, please use the default WP messages for new string additions. This will allow us to make use of the official wordpress MO files we already have in wp-content/languages For a complete list of such messages, please consult http://svn.automattic.com/wordpress-i18n/pot/tags/2.9.2/wordpress.pot Attached is an sample patch. It changes "no comments" (which doesn't exist in wordpress.pot) to "No Comments" (which does). You can use CSS to style the letter down to lowercase. For the "read full article" link. We can either use a default string like "More..." or "(more...)" or a string that we have in the 'choice' context: "Read the rest of this entry »"
This has been fixed in stage. Please check it out.
I saw a couple of commits to SVN related to this, but either of them was my patch :) I'm looking at http://viewvc.svn.mozilla.org/vc/projects/choice/trunk/wp-content/themes/mozilla_choice/index.php?revision=63186&view=markup This is good: <?php _e('Read the rest of this entry &raquo;','choice'); ?> But, this is not (but almost): <div class="comment-count"><a title="<?php comments_number(__('No Comments','choice'),__('1 Comment','choice'),__('% Comments','choice')); ?>" href="<?php the_permalink() ?>"><strong><?php comments_number(__('No Comments','choice'),__('1 Comment','choice'),__('% Comments','choice')); ?></strong></a></div> I think we should really leverage existing (official) Wordpress translations that we have in wp-content/languages. The code above uses custom strings for comments and puts them in the 'choice' context. They will show up in WPML and localizers will have to translate them. So I'd suggest we remove the 'choice' context and just use plain __('% Comments').
(In reply to comment #2) This has been implemented in r63216
Yep, thanks Javier. :)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: