Extracted hardcoded english text to language files

Closes #3822
This commit is contained in:
Dan Brown 2022-11-10 13:30:48 +00:00
parent d520d6cab8
commit 4c75358abd
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
5 changed files with 7 additions and 4 deletions

View file

@ -10,7 +10,7 @@ function register(editor, url) {
parentNode.insertBefore(hrElem, cNode);
});
editor.ui.registry.addButton('hr', {
editor.ui.registry.addButton('customhr', {
icon: 'horizontal-rule',
tooltip: 'Insert horizontal line',
onAction() {

View file

@ -36,7 +36,7 @@ function registerPrimaryToolbarGroups(editor) {
editor.ui.registry.addGroupToolbarButton('insertoverflow', {
icon: 'more-drawer',
tooltip: 'More',
items: 'hr codeeditor drawio media details'
items: 'customhr codeeditor drawio media details'
});
}

View file

@ -144,9 +144,11 @@ return [
'url' => 'URL',
'text_to_display' => 'Text to display',
'title' => 'Title',
'open_link' => 'Open link in...',
'open_link' => 'Open link',
'open_link_in' => 'Open link in...',
'open_link_current' => 'Current window',
'open_link_new' => 'New window',
'remove_link' => 'Remove link',
'insert_collapsible' => 'Insert collapsible block',
'collapsible_unwrap' => 'Unwrap',
'edit_label' => 'Edit label',

View file

@ -50,6 +50,7 @@ return [
'permissions_role_everyone_else' => 'Everyone Else',
'permissions_role_everyone_else_desc' => 'Set permissions for all roles not specifically overridden.',
'permissions_role_override' => 'Override permissions for role',
'permissions_inherit_defaults' => 'Inherit defaults',
// Search
'search_results' => 'Search Results',

View file

@ -25,7 +25,7 @@ $inheriting - Boolean if the current row should be marked as inheriting default
<div class="px-l flex-container-row items-center" refs="entity-permissions@everyone-inherit">
@include('form.custom-checkbox', [
'name' => 'entity-permissions-inherit',
'label' => 'Inherit defaults',
'label' => trans('entities.permissions_inherit_defaults'),
'value' => 'true',
'checked' => $inheriting
])