mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 21:30:30 +01:00
feat: closes #7952, translate widget-settings
This commit is contained in:
@@ -18,5 +18,13 @@
|
||||
"alert.update-success": "Successfully updated 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 />
|
||||
<label>Title</label>
|
||||
<input type="text" class="form-control" name="title" placeholder="Title (only shown on some containers)" /><br />
|
||||
<label>[[admin/extend/widgets:title]]</label>
|
||||
<input type="text" class="form-control" name="title" placeholder="[[admin/extend/widgets:title.placeholder]]" /><br />
|
||||
|
||||
<label>Container</label>
|
||||
<textarea rows="4" class="form-control container-html" name="container" placeholder="Drag and drop a container or enter HTML here."></textarea>
|
||||
<label>[[admin/extend/widgets:container]]</label>
|
||||
<textarea rows="4" class="form-control container-html" name="container" placeholder="[[admin/extend/widgets:container.placeholder]]"></textarea>
|
||||
|
||||
<br/>
|
||||
<div class="row">
|
||||
<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">
|
||||
<!-- BEGIN groups -->
|
||||
<option value="{groups.displayName}">{groups.displayName}</option>
|
||||
@@ -16,7 +16,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<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">
|
||||
<!-- BEGIN groups -->
|
||||
<option value="{groups.displayName}">{groups.displayName}</option>
|
||||
@@ -26,5 +26,5 @@
|
||||
</div>
|
||||
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user