Closed (fixed)
Project:
Workbench Access
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2012 at 13:57 UTC
Updated:
6 Jun 2012 at 19:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
hass commentedAnd please don't be "lazy" writing strings...
Bad example:
Editorial sections updatedGood example:
Editorial sections have been updated.Comment #2
hass commentedCannot guess what this means in the context it is used. Sentence is tooo short.
Comment #3
dave reidPatch please since we're "lazy"
Comment #4
hass commentedDon't take it personally, please. It's only to say - Write long strings that are self explainatory, please. I'm sure I cannot as I have no idea what the strings mean and you know best your own logics.
Comment #5
hass commentedCan someone explain with some other words what "Exhibits" means, please?
Comment #6
hass commentedContext sensitive issue:
In German the type need to be uppercase first. This is not possible with this type of implementation. No idea what the possible types are. I also strongly suggest to use
%typefor placeholders to show the placeholders with<em>Editor</em>.Comment #7
agentrickardExhibits == a display of items, as in a museum, or a collection of such displays.
I do not understand comment 6. I think the complaint is that the placeholder name is unclear. It is the "name of the section." So you want %section_name here?
And that value should already be uppercase, if needed, since it is actually a Term name or Menu Link title.
Comment #8
agentrickardRe: #1. In English, those two verb tenses are nearly identical, and the longer form is not needed. It is, in fact, introducing useless words that make messages less clear.
Do we have general standards about such verb formations?
And, when calling out errors, please give references to file and line number if you're not going to patch.
Comment #9
hass commentedPatch attached.
Comment #10
hass commented@agentrickard:
%section_namewould make the content clearer, but cannot solve the issue.In German the translation in the UI is
Zuordnung zu Redaktionsbereichen nach editor, but it need to beZuordnung zu Redaktionsbereichen nach <em>Editor</em>. The "editor" string is a context sensitive translation issue as it's not in the translators hand to capitalize the word correctly. This bug is not fixed with patch in #9.or
Zuordnung zu Redaktionsbereichen nach roleshould beZuordnung zu Redaktionsbereichen nach Rolle. Here I'm also not able to translate the word roleComment #11
agentrickardRight, sorry, I misread my own code out of context. %type is appropriate. The possible values are "Editor" and "Role".
So we have to rewrite the heading to make it easier to translate? What kind of context would suffice here?
Comment #12
hass commented#1 is a core rule, that have been made the standard some years ago... but don't ask for refrence links please... :-)
Comment #13
agentrickardI have no problem with these proposed changes except this one:
If we're going to expand that, we should make it more explicit. But I also do not see any place in the UI where this text is used.
We should probably bring it in line with the phrase used for ['user/%user/sections'].
Comment #14
agentrickardIf #1 is a core rule, we need to document it. Sounds like it needs to go (at least as a placeholder page) in one of these places:
https://drupal.org/coding-standards
https://drupal.org/node/303984
Comment #15
agentrickardOr, perhaps https://drupal.org/node/322729 See the issue at #1487798: Document style preferences for translatable text
Comment #16
hass commentedThe easiest and savest solution you can implement is:
Editorial assignments by EditorandEditorial assignments by Role.I know it's static, but this is the only way that really works. I found one more...
Comment #17
hass commentedNo problem, feel free to change it. I only tried to make it more explainatory, but was also not sure how it would be the best and used something from the page the link points to... :-)
Comment #18
drupalmonkey commentedRe-rolled the patch against latest 7.x-1.x branch..
Added an if statement to help with the context issues with the placeholders.
Comment #19
hass commentedThere are a number of lines that are missing compared to my patch!?
Comment #20
drupalmonkey commentedargh. That's my bad, hass. Re-rolled patch again.
Comment #21
hass commentedComment #22
agentrickardCommitted with the following minor changes:
* Removed capitalization of Editor and Role on the settings overview pages. This change brings that text in line with the per-section settings pages.
* Removed unwanted period in h2 area.
* Standardized use of "account" instead of "user" in admin links.
Comment #23
agentrickardCommit:
949faba..87a2d32