Opened 13 years ago
Closed 11 years ago
#18714 closed enhancement (fixed)
terms_updated_messages filter
Reported by: | johnbillion | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Taxonomy | Keywords: | has-patch 3.4-early |
Focuses: | Cc: |
Description
In the same vein as #18710 we should add a terms_updated_messages
filter for the term management screen. Messages are currently hardcoded as 'Item added', 'Items deleted', etc.
Attachments (3)
Change History (16)
#2
@
13 years ago
- Keywords 3.4-early added
- Milestone changed from Awaiting Review to Future Release
- Owner set to nacin
- Status changed from new to accepted
#6
follow-up:
↓ 7
@
11 years ago
- Cc pavelevap@… added
- Resolution fixed deleted
- Status changed from closed to reopened
We should make difference between "Category" and "Link category". Everytime we use "Link category", for example "Add New Link Category", "New Link Category Name", etc. So, there is different context for "Category" and "Link category" and we should preserve this context also for these messages (even if there will be more strings).
#7
in reply to:
↑ 6
@
11 years ago
Replying to pavelevap:
We should make difference between "Category" and "Link category". Everytime we use "Link category", for example "Add New Link Category", "New Link Category Name", etc. So, there is different context for "Category" and "Link category" and we should preserve this context also for these messages (even if there will be more strings).
Is it truly necessary? This used to be "Item", with no context at all. And, Links are deprecated in core. Not sure it is worth the effort of translators to translate the new strings, despite there only being a half dozen and pretty short.
#8
@
11 years ago
I guess I'd prefer to leave [25144] as is. A link category is still a category, and the "Link Categories" screen header provides the context, so it doesn't look like there'll be much confusion.
#9
@
11 years ago
Unfortunately "Item" was better in this case for example for our translation. We are using different meanings for "Category" (Rubrika) and "Link category" (Kategorie odkazů). General word "Item" was better than wrong string. Only other solution for us is combine all these different strings into one, but it is not relevant, because original strings also differ...
Links are deprecated, but still used. When they are removed from core, we can remove also translation.
I suggest reverting back to "Item" or making it right (with Link category context).
#10
@
11 years ago
What about some general strings: "%s added" (and using singular name for taxonomy)? It would be usefull also for custom taxonomies?
#11
@
11 years ago
We tend to avoid post type and taxonomy names in generic strings, as noted in ticket:17609:3 and ticket:19099:1.
Let's go back to "Item" for link categories then: 18714.2.diff.
Patch which introduces a
term_updated_messages
filter.Plugin usage: