Just a suggestion: Could we change the word "posts" to "items" in the line "There are currently no posts in this category." (located in category.inc). The word "items" is more generic, and can be used for products, video, or articles (not just posts).

CommentFileSizeAuthor
#4 category.posts-items.inc.patch717 bytesbdragon
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marcoBauli’s picture

Joshua, i think you can use the local.module to translate almost any string into what you need if it properly uses t().

You might want to look at http://drupal.org/node/24593

JoshLangner’s picture

There are several reasons that using a module, especially this one, will not work:

1. First and formost, changing "post" to "item" to make it more generic is logical. Generalization is the very essence of the Drupal CMS.

2. It's a small change.

3. I said "please."

4. local.module creates a serious performance hit.

5. I don't need local.module.

JonathanDStopchick’s picture

I know you should really have something extra to contribute, but I have to say this.

3. I said "please."

Best reason ever...

bdragon’s picture

Status: Active » Needs review
FileSize
717 bytes

+1 on this change, even though it is so minor.
Patch attached against DRUPAL-4-7. Please review and change issue status to RTBC if found correct.

Jaza’s picture

Title: EXTREMELY SIMPLE: Suggestion to change the word "posts" to "items" in category.inc » Change the word "posts" to "items" in category.inc

The wording of this message has been copied directly from the taxonomy_render_nodes() function in the core taxonomy module:

There are currently no posts in this category.

The category module tries to be consistent with the core taxonomy module (and the book module) wherever possible. I see no reason why this message should be worded differently in the category module to the way it's worded in core. I also, personally, don't see what's wrong with the word "posts": this is the standard word used throughout Drupal, to describe "nodes" in text that is displayed to end-users.

Please file an issue against Drupal core to have the wording changed. The category module will only have this change committed AFTER an equivalent change has been committed to core.

PS: Also removed unnecessary wording from the title of this issue.

bdragon’s picture

Status: Needs review » Closed (won't fix)