An error occurred while fetching the assigned milestone of the selected merge_request.
2838547: Remove default colon behind inline labels.
1 unresolved thread
1 unresolved thread
Closes #2838547
Merge request reports
Activity
Filter activity
added 1 commit
- b6436ee7 - 2838547: Add translatable colon through php.
- Resolved by Nayana Ramakrishnan
1408 1408 // readers. 1409 1409 $variables['label'] = $element['#title']; 1410 1410 1411 // Append translatable ':' after label if inline label 1412 // display is selected. 1413 if ($variables['label_display'] == 'inline') { 1414 $variables['label'] = t('@label_inline:', ['@label_inline' => $variables['label']]); need a string context, we can use "Field label"
Edited by Théodore BiadalaDo we really need context here? I would have thought the @variable name should give the context.
Would add as much context without using the translation context system.
Please register or sign in to reply