Skip to content

Commit 2244fe8

Browse files
committed
Updated translation of add block page
1 parent 234a297 commit 2244fe8

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

resources/lang/en/messages.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,8 @@
313313
'Toggle Dropdown' => 'Toggle Dropdown+',
314314
'Cancel' => 'Cancel+',
315315
'Save and Add More' => 'Save and Add More+',
316-
'editlink.description.1-5' => 'The "Custom" button allows you to add a custom link, where the text on the button is determined with the link title set above.+',
317-
'editlink.description.2-5' => 'The "Custom_website" button functions similar to the Custom button, with the addition of a function that requests the favicon from the chosen URL and uses it as the button icon.+',
318-
'editlink.description.3-5' => '',
319-
'editlink.description.4-5' => 'The "Space" button will be replaced with an empty space, so buttons could be visually separated into groups. Entering a number between 1-10 in the title section will change the empty space"s distance.+',
320-
'editlink.description.5-5' => 'The "Heading" button will be replaced with a sub-heading, where the title defines the text on that heading.+',
316+
'Click to change link blocks' => 'Click to change link blocks+',
317+
'Click for a list of available link blocks' => 'Click for a list of available link blocks+',
321318

322319

323320
/*

resources/views/studio/edit-link.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
<div class="form-group col-lg-8 flex justify-around">
2929
{{-- <label class='font-weight-bold'>{{__('messages.Blocks')}}</label> --}}
3030
<div class="btn-group shadow m-2">
31-
<button type="button" id='btnLinkType' class="btn btn-primary rounded-pill" title='Click to change link blocks' data-toggle="modal" data-target="#SelectLinkType">{{__('messages.Select Block')}}
31+
<button type="button" id='btnLinkType' class="btn btn-primary rounded-pill" title='{{__('messages.Click to change link blocks')}}' data-toggle="modal" data-target="#SelectLinkType">{{__('messages.Select Block')}}
3232
<span class="btn-inner">
3333
<i class="bi bi-window-plus"></i>
3434
</span>
35-
</button>{{infoIcon('Click for a list of available link blocks')}}
35+
</button>{{infoIcon(__('messages.Click for a list of available link blocks'))}}
3636

3737

3838

@@ -108,7 +108,7 @@ function submitFormWithParam(paramValue) {
108108

109109
<!-- Modal -->
110110
<style>.modal-title{color:#000!important;}</style>
111-
<x-modal title="{{__('Select Block')}}" id="SelectLinkType">
111+
<x-modal title="{{__('messages.Select Block')}}" id="SelectLinkType">
112112

113113
<div class="d-flex flex-row flex-wrap p-3">
114114

0 commit comments

Comments
 (0)