feat: closes #7952, translate widget-settings

v1.18.x
Baris Usakli 5 years ago
parent 554e67116f
commit 990508a533

@ -18,5 +18,13 @@
"alert.update-success": "Successfully updated widgets", "alert.update-success": "Successfully updated widgets",
"alert.clone-success": "Successfully cloned widgets", "alert.clone-success": "Successfully cloned widgets",
"error.select-clone": "Please select a page to clone from" "error.select-clone": "Please select a page to clone from",
"title": "Title",
"title.placeholder": "Title (only shown on some containers)",
"container": "Container",
"container.placeholder": "Drag and drop a container or enter HTML here.",
"show-to-groups": "Show to groups",
"hide-from-groups": "Hide from groups",
"hide-on-mobile": "Hide on mobile"
} }

@ -1,14 +1,14 @@
<br /> <br />
<label>Title</label> <label>[[admin/extend/widgets:title]]</label>
<input type="text" class="form-control" name="title" placeholder="Title (only shown on some containers)" /><br /> <input type="text" class="form-control" name="title" placeholder="[[admin/extend/widgets:title.placeholder]]" /><br />
<label>Container</label> <label>[[admin/extend/widgets:container]]</label>
<textarea rows="4" class="form-control container-html" name="container" placeholder="Drag and drop a container or enter HTML here."></textarea> <textarea rows="4" class="form-control container-html" name="container" placeholder="[[admin/extend/widgets:container.placeholder]]"></textarea>
<br/> <br/>
<div class="row"> <div class="row">
<div class="col-lg-6"> <div class="col-lg-6">
<label>Show to groups</label> <label>[[admin/extend/widgets:show-to-groups]]</label>
<select name="groups" class="form-control" multiple size="10"> <select name="groups" class="form-control" multiple size="10">
<!-- BEGIN groups --> <!-- BEGIN groups -->
<option value="{groups.displayName}">{groups.displayName}</option> <option value="{groups.displayName}">{groups.displayName}</option>
@ -16,7 +16,7 @@
</select> </select>
</div> </div>
<div class="col-lg-6"> <div class="col-lg-6">
<label>Hide from groups</label> <label>[[admin/extend/widgets:hide-from-groups]]</label>
<select name="groups" class="form-control" multiple size="10"> <select name="groups" class="form-control" multiple size="10">
<!-- BEGIN groups --> <!-- BEGIN groups -->
<option value="{groups.displayName}">{groups.displayName}</option> <option value="{groups.displayName}">{groups.displayName}</option>
@ -26,5 +26,5 @@
</div> </div>
<div class="checkbox"> <div class="checkbox">
<label><input name="hide-mobile" type="checkbox"> Hide on mobile</input></label> <label><input name="hide-mobile" type="checkbox"> [[admin/extend/widgets:hide-on-mobile]]</input></label>
</div> </div>

Loading…
Cancel
Save