Glad to see Views move into CORE dir :)
For short translatable strings like "View", has several meanings.
eg.
1. this is a module name
2. (= see) a common word in file manager UI
some words like: "Left / Center / Right"
it can be different meanings in layout / WYSIWGE editor
Strings worth to add translation context:
- view / views
- order
- left / center /right
- Weight
- tr
- (more.., add your suggestion here)
Attached a list of simple word t() translations.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | core-add-context-to-minmax-translation-in-views-filters-1821410-8-D8.patch | 1.39 KB | roi |
| #7 | core-add-context-to-minmax-translation-in-views-filters-1821410-7-D8.patch | 1.41 KB | roi |
| single_word_list.txt | 3.11 KB | droplet |
Comments
Comment #7
roi commentedHere's for min/max on numeric filters
Comment #8
roi commentedComment #15
lendudeGoing through old issues.
We shouldn't just go through Views and start adding contexts now, since that would invalidate all existing translations, so issues like #2033587: Add t() context to align "Left / Right / Center" string. are much better, since that gives a clear indication as to why it should be added.
Closing this for now, if you think this is still something that needs to be done, and in this scope (ie the whole Views module), please feel free to reopen this.