Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Both "Context" and "Behavior" of the perspective tabs are not translatable text.
Proposed resolution
Make them translatable.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#6 | interdiff-3033026-2-6.txt | 2.03 KB | johnchque |
#6 | perspective_tabs-3033026-6.patch | 2.15 KB | johnchque |
| |||
#2 | perspective_tabs-3033026-2.patch | 1.09 KB | johnchque |
|
Comments
Comment #2
johnchqueAdding t to the tabs text.
Comment #3
BerdirThanks.
Comment #4
BerdirLets add 'paragraphs' or maybe 'paragraphs widget' as translation context, so these specific instances of Content and Behaviors can be translated differently here.
There are existing translations for those and they might not make sense for our UI.
Comment #5
BerdirI think just paragraphs as context is fine, maybe we should also add it in other places where we use Behaviors, e.g. the paragraphs type settings form? not sure.
Comment #6
johnchqueThis should be fine, there are no other usages of the word Behavior in the module.
Comment #7
BerdirLooks good.
Comment #8
miro_dietikerCommitted. :-)