\ No newline at end of file
diff --git a/server/plugins/graker/photoalbums/controllers/albums/_relation_toolbar.htm b/server/plugins/graker/photoalbums/controllers/albums/_relation_toolbar.htm
new file mode 100644
index 0000000..9a0dfc2
--- /dev/null
+++ b/server/plugins/graker/photoalbums/controllers/albums/_relation_toolbar.htm
@@ -0,0 +1,53 @@
+
+
+
\ No newline at end of file
diff --git a/server/plugins/graker/photoalbums/controllers/albums/update.htm b/server/plugins/graker/photoalbums/controllers/albums/update.htm
new file mode 100644
index 0000000..48bb5e5
--- /dev/null
+++ b/server/plugins/graker/photoalbums/controllers/albums/update.htm
@@ -0,0 +1,60 @@
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/graker/photoalbums/controllers/photos/_list_toolbar.htm b/server/plugins/graker/photoalbums/controllers/photos/_list_toolbar.htm
new file mode 100644
index 0000000..5c3952a
--- /dev/null
+++ b/server/plugins/graker/photoalbums/controllers/photos/_list_toolbar.htm
@@ -0,0 +1,7 @@
+
\ No newline at end of file
diff --git a/server/plugins/graker/photoalbums/controllers/photos/config_form.yaml b/server/plugins/graker/photoalbums/controllers/photos/config_form.yaml
new file mode 100644
index 0000000..c0d4c5f
--- /dev/null
+++ b/server/plugins/graker/photoalbums/controllers/photos/config_form.yaml
@@ -0,0 +1,31 @@
+# ===================================
+# Form Behavior Config
+# ===================================
+
+# Record name
+name: graker.photoalbums::lang.plugin.photo
+
+# Model Form Field configuration
+form: $/graker/photoalbums/models/photo/fields.yaml
+
+# Model Class name
+modelClass: Graker\PhotoAlbums\Models\Photo
+
+# Default redirect location
+defaultRedirect: graker/photoalbums/photos
+
+# Create page
+create:
+ title: graker.photoalbums::lang.plugin.create_photo
+ redirect: graker/photoalbums/photos/update/:id
+ redirectClose: graker/photoalbums/photos
+
+# Update page
+update:
+ title: graker.photoalbums::lang.plugin.edit_photo
+ redirect: graker/photoalbums/photos
+ redirectClose: graker/photoalbums/photos
+
+# Preview page
+preview:
+ title: graker.photoalbums::lang.plugin.preview_photo
\ No newline at end of file
diff --git a/server/plugins/graker/photoalbums/controllers/photos/config_list.yaml b/server/plugins/graker/photoalbums/controllers/photos/config_list.yaml
new file mode 100644
index 0000000..10dc71d
--- /dev/null
+++ b/server/plugins/graker/photoalbums/controllers/photos/config_list.yaml
@@ -0,0 +1,36 @@
+# ===================================
+# List Behavior Config
+# ===================================
+
+# Model List Column configuration
+list: $/graker/photoalbums/models/photo/columns.yaml
+
+# Model Class name
+modelClass: Graker\PhotoAlbums\Models\Photo
+
+# List Title
+title: graker.photoalbums::lang.plugin.manage_photos
+
+# Link URL for each record
+recordUrl: graker/photoalbums/photos/update/:id
+
+# Message to display if the list is empty
+noRecordsMessage: backend::lang.list.no_records
+
+# Records to display per page
+recordsPerPage: 20
+
+# Displays the list column set up button
+showSetup: true
+
+# Displays the sorting link on each column
+showSorting: true
+
+# Toolbar widget configuration
+toolbar:
+ # Partial for toolbar buttons
+ buttons: list_toolbar
+
+ # Search widget configuration
+ search:
+ prompt: backend::lang.list.search_prompt
diff --git a/server/plugins/graker/photoalbums/controllers/photos/create.htm b/server/plugins/graker/photoalbums/controllers/photos/create.htm
new file mode 100644
index 0000000..2552f54
--- /dev/null
+++ b/server/plugins/graker/photoalbums/controllers/photos/create.htm
@@ -0,0 +1,48 @@
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/graker/photoalbums/controllers/photos/update.htm b/server/plugins/graker/photoalbums/controllers/photos/update.htm
new file mode 100644
index 0000000..2a77e41
--- /dev/null
+++ b/server/plugins/graker/photoalbums/controllers/photos/update.htm
@@ -0,0 +1,56 @@
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/graker/photoalbums/controllers/reorder/_records.htm b/server/plugins/graker/photoalbums/controllers/reorder/_records.htm
new file mode 100644
index 0000000..02e57ed
--- /dev/null
+++ b/server/plugins/graker/photoalbums/controllers/reorder/_records.htm
@@ -0,0 +1,11 @@
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/graker/photoalbums/controllers/upload/_form.htm b/server/plugins/graker/photoalbums/controllers/upload/_form.htm
new file mode 100644
index 0000000..22d53b0
--- /dev/null
+++ b/server/plugins/graker/photoalbums/controllers/upload/_form.htm
@@ -0,0 +1,51 @@
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/behaviors/indexversionsoperations/partials/_version-hint-block.htm b/server/plugins/rainlab/builder/behaviors/indexversionsoperations/partials/_version-hint-block.htm
new file mode 100644
index 0000000..03bf8c0
--- /dev/null
+++ b/server/plugins/rainlab/builder/behaviors/indexversionsoperations/partials/_version-hint-block.htm
@@ -0,0 +1,28 @@
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/formcontroller/templates/preview.htm.tpl b/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/formcontroller/templates/preview.htm.tpl
new file mode 100644
index 0000000..46fef44
--- /dev/null
+++ b/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/formcontroller/templates/preview.htm.tpl
@@ -0,0 +1,22 @@
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/formcontroller/templates/update.htm.tpl b/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/formcontroller/templates/update.htm.tpl
new file mode 100644
index 0000000..77f3a5e
--- /dev/null
+++ b/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/formcontroller/templates/update.htm.tpl
@@ -0,0 +1,54 @@
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/listcontroller/templates/_list_toolbar.htm.tpl b/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/listcontroller/templates/_list_toolbar.htm.tpl
new file mode 100644
index 0000000..b2296d6
--- /dev/null
+++ b/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/listcontroller/templates/_list_toolbar.htm.tpl
@@ -0,0 +1,23 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/reordercontroller/templates/reorder.htm.tpl b/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/reordercontroller/templates/reorder.htm.tpl
new file mode 100644
index 0000000..ef28059
--- /dev/null
+++ b/server/plugins/rainlab/builder/classes/standardbehaviorsregistry/reordercontroller/templates/reorder.htm.tpl
@@ -0,0 +1,8 @@
+
+
diff --git a/server/plugins/rainlab/builder/formwidgets/controllerbuilder/partials/_body.htm b/server/plugins/rainlab/builder/formwidgets/controllerbuilder/partials/_body.htm
new file mode 100644
index 0000000..ad34004
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/controllerbuilder/partials/_body.htm
@@ -0,0 +1,10 @@
+
+
+
+ = $this->makePartial('buildingarea') ?>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/controllerbuilder/partials/_buildingarea.htm b/server/plugins/rainlab/builder/formwidgets/controllerbuilder/partials/_buildingarea.htm
new file mode 100644
index 0000000..5fae3d5
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/controllerbuilder/partials/_buildingarea.htm
@@ -0,0 +1,11 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.controlpalette.js b/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.controlpalette.js
new file mode 100644
index 0000000..f5c9ec6
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.controlpalette.js
@@ -0,0 +1,263 @@
+/*
+ * Manages the control palette loading and displaying
+ */
++function ($) { "use strict";
+
+ var Base = $.oc.foundation.base,
+ BaseProto = Base.prototype
+
+ var ControlPalette = function() {
+ Base.call(this)
+
+ this.controlPaletteMarkup = null
+ this.popoverMarkup = null
+ this.containerMarkup = null
+ this.$popoverContainer = null
+ }
+
+ ControlPalette.prototype = Object.create(BaseProto)
+ ControlPalette.prototype.constructor = ControlPalette
+
+ // INTERNAL METHODS
+ // ============================
+
+ ControlPalette.prototype.loadControlPalette = function(element, controlId) {
+ if (this.controlPaletteMarkup === null) {
+ var data = {
+ controlId: controlId
+ }
+
+ $.oc.stripeLoadIndicator.show()
+ $(element).request('onModelFormLoadControlPalette', {
+ data: data
+ }).done(
+ this.proxy(this.controlPaletteMarkupLoaded)
+ ).always(function(){
+ $.oc.stripeLoadIndicator.hide()
+ })
+ }
+ else {
+ this.showControlPalette(controlId, true)
+ }
+ }
+
+ ControlPalette.prototype.controlPaletteMarkupLoaded = function(responseData) {
+ this.controlPaletteMarkup = responseData.markup
+
+ this.showControlPalette(responseData.controlId)
+ }
+
+ ControlPalette.prototype.getControlById = function(controlId) {
+ return document.body.querySelector('li[data-builder-control-id="'+controlId+'"]')
+ }
+
+ ControlPalette.prototype.showControlPalette = function(controlId, initControls) {
+ if (this.getContainerPreference()) {
+ this.showControlPalletteInContainer(controlId, initControls)
+ }
+ else {
+ this.showControlPalletteInPopup(controlId, initControls)
+ }
+ }
+
+ ControlPalette.prototype.assignControlIdToTemplate = function(template, controlId) {
+ return template.replace('%c', controlId)
+ }
+
+ ControlPalette.prototype.markPlaceholderPaletteOpen = function(control) {
+ $(control).addClass('control-palette-open')
+ }
+
+ ControlPalette.prototype.markPlaceholderPaletteNotOpen = function(control) {
+ $(control).removeClass('control-palette-open')
+ }
+
+ ControlPalette.prototype.getContainerPreference = function() {
+ return $.oc.inspector.manager.getContainerPreference()
+ }
+
+ ControlPalette.prototype.setContainerPreference = function(value) {
+ return $.oc.inspector.manager.setContainerPreference(value)
+ }
+
+ ControlPalette.prototype.addControl = function(ev) {
+ var $target = $(ev.currentTarget),
+ controlId = $target.closest('[data-control-palette-controlid]').attr('data-control-palette-controlid')
+
+ ev.preventDefault()
+ ev.stopPropagation()
+
+ if (!controlId) {
+ return false;
+ }
+
+ var control = this.getControlById(controlId)
+ if (!control) {
+ return false
+ }
+
+ if ($(control).hasClass('loading-control')) {
+ return false
+ }
+
+ $target.trigger('close.oc.popover')
+
+ var promise = $.oc.builder.formbuilder.controller.addControlFromControlPalette(controlId,
+ $target.data('builderControlType'),
+ $target.data('builderControlName'))
+
+ promise.done(function() {
+ $.oc.inspector.manager.createInspector(control)
+ $(control).trigger('change') // Set modified state for the form
+ })
+
+ return false
+ }
+
+ //
+ // Popover wrapper
+ //
+
+ ControlPalette.prototype.showControlPalletteInPopup = function(controlId, initControls) {
+ var control = this.getControlById(controlId)
+
+ if (!control) {
+ return
+ }
+
+ var $control = $(control)
+
+ $control.ocPopover({
+ content: this.assignControlIdToTemplate(this.getPopoverMarkup(), controlId),
+ highlightModalTarget: true,
+ modal: true,
+ placement: 'below',
+ containerClass: 'control-inspector',
+ offset: 15,
+ width: 400
+ })
+
+ var $popoverContainer = $control.data('oc.popover').$container
+
+ if (initControls) {
+ // Initialize the scrollpad control in the popup only when the
+ // popup is created from the cached markup string
+ $popoverContainer.trigger('render')
+ }
+ }
+
+ ControlPalette.prototype.getPopoverMarkup = function() {
+ if (this.popoverMarkup !== null) {
+ return this.popoverMarkup
+ }
+
+ var outerMarkup = $('script[data-template=control-palette-popover]').html()
+
+ this.popoverMarkup = outerMarkup.replace('%s', this.controlPaletteMarkup)
+
+ return this.popoverMarkup
+ }
+
+ ControlPalette.prototype.dockToContainer = function(ev) {
+ var $popoverBody = $(ev.target).closest('.control-popover'),
+ $controlIdContainer = $popoverBody.find('[data-control-palette-controlid]'),
+ controlId = $controlIdContainer.attr('data-control-palette-controlid'),
+ control = this.getControlById(controlId)
+
+ $popoverBody.trigger('close.oc.popover')
+
+ this.setContainerPreference(true)
+
+ if (control) {
+ this.loadControlPalette($(control), controlId)
+ }
+ }
+
+ //
+ // Container wrapper
+ //
+
+ ControlPalette.prototype.showControlPalletteInContainer = function(controlId, initControls) {
+ var control = this.getControlById(controlId)
+
+ if (!control) {
+ return
+ }
+
+ var inspectorManager = $.oc.inspector.manager,
+ $container = inspectorManager.getContainerElement($(control))
+
+ // If the container is already in use, apply values to the inspectable elements
+ if (!inspectorManager.applyValuesFromContainer($container) || !inspectorManager.containerHidingAllowed($container)) {
+ return
+ }
+
+ // Dispose existing Inspector
+ $.oc.foundation.controlUtils.disposeControls($container.get(0))
+
+ this.markPlaceholderPaletteOpen(control)
+
+ var template = this.assignControlIdToTemplate(this.getContainerMarkup(), controlId)
+ $container.append(template)
+
+ $container.find('[data-control-palette-controlid]').one('dispose-control', this.proxy(this.onRemovePaletteFromContainer))
+
+ if (initControls) {
+ // Initialize the scrollpad control in the container only when the
+ // palette is created from the cached markup string
+ $container.trigger('render')
+ }
+ }
+
+ ControlPalette.prototype.onRemovePaletteFromContainer = function(ev) {
+ this.removePaletteFromContainer($(ev.target))
+ }
+
+ ControlPalette.prototype.removePaletteFromContainer = function($container) {
+ var controlId = $container.attr('data-control-palette-controlid'),
+ control = this.getControlById(controlId)
+
+ if (control) {
+ this.markPlaceholderPaletteNotOpen(control)
+ }
+
+ var $parent = $container.parent()
+ $container.remove()
+ $parent.html('')
+ }
+
+ ControlPalette.prototype.getContainerMarkup = function() {
+ if (this.containerMarkup !== null) {
+ return this.containerMarkup
+ }
+
+ var outerMarkup = $('script[data-template=control-palette-container]').html()
+
+ this.containerMarkup = outerMarkup.replace('%s', this.controlPaletteMarkup)
+
+ return this.containerMarkup
+ }
+
+ ControlPalette.prototype.closeInContainer = function(ev) {
+ this.removePaletteFromContainer($(ev.target).closest('[data-control-palette-controlid]'))
+ }
+
+ ControlPalette.prototype.undockFromContainer = function(ev) {
+ var $container = $(ev.target).closest('[data-control-palette-controlid]'),
+ controlId = $container.attr('data-control-palette-controlid'),
+ control = this.getControlById(controlId)
+
+ this.removePaletteFromContainer($container)
+ this.setContainerPreference(false)
+
+ if (control) {
+ this.loadControlPalette($(control), controlId)
+ }
+ }
+
+ $(document).ready(function(){
+ // There is a single instance of the control palette manager.
+ $.oc.builder.formbuilder.controlPalette = new ControlPalette()
+ })
+
+}(window.jQuery);
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.domtopropertyjson.js b/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.domtopropertyjson.js
new file mode 100644
index 0000000..21998d3
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.domtopropertyjson.js
@@ -0,0 +1,330 @@
+/*
+ * Converts control properties from DOM elements to JSON format.
+ */
++function ($) { "use strict";
+
+ if ($.oc.builder === undefined)
+ $.oc.builder = {}
+
+ if ($.oc.builder.formbuilder === undefined)
+ $.oc.builder.formbuilder = {}
+
+ function getControlPropertyValues(item) {
+ for (var i=0, len=item.children.length; i 0 && properties['oc.commentPosition'] == 'above') {
+ properties['commentAbove'] = properties['oc.comment']
+
+ if (properties['comment'] !== undefined) {
+ delete properties['comment']
+ }
+
+ delete properties['oc.comment']
+ delete properties['oc.commentPosition']
+ }
+
+ if (String(properties['oc.comment']).length > 0 && properties['oc.commentPosition'] == 'below') {
+ properties['comment'] = properties['oc.comment']
+
+ if (properties['comentAbove'] !== undefined) {
+ delete properties['comentAbove']
+ }
+
+ delete properties['oc.comment']
+ delete properties['oc.commentPosition']
+ }
+
+ if (properties['oc.comment'] !== undefined) {
+ if (String(properties['oc.comment']).length > 0) {
+ properties['comment'] = properties['oc.comment']
+ }
+
+ delete properties['oc.comment']
+ }
+ }
+
+ function parseControlControlContainer(control) {
+ var children = control.children,
+ result = {}
+
+ for (var i=0, len=children.length; i 0) {
+ if (objectHasProperties(controls)) {
+ if (result[listName].fields === undefined) {
+ result[listName].fields = {}
+ }
+
+ result[listName].fields = $.extend(result[listName].fields, controls)
+ }
+ }
+ else {
+ if (objectHasProperties(controls)) {
+ if (result.fields === undefined) {
+ result.fields = {}
+ }
+
+ result.fields = $.extend(result.fields, controls)
+ }
+ }
+ }
+
+ function containerToJson(container) {
+ var containerElements = container.children,
+ result = {}
+
+ for (var i=0, len=containerElements.length; i li.control'),
+ result = []
+
+ for (var i=controls.length-1; i>=0; i--) {
+ var properties = getControlPropertyValues(controls[i])
+
+ if (typeof properties !== 'object') {
+ continue
+ }
+
+ if (properties['oc.fieldName'] === undefined) {
+ continue
+ }
+
+ var name = properties['oc.fieldName']
+
+ if (result.indexOf(name) === -1) {
+ result.push(name)
+ }
+ }
+
+ result.sort()
+
+ return result
+ }
+
+
+ $.oc.builder.formbuilder.domToPropertyJson = DomToJson
+
+}(window.jQuery);
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.js b/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.js
new file mode 100644
index 0000000..229a087
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.js
@@ -0,0 +1,801 @@
+/*
+ * Form Builder widget class.
+ *
+ * There is only a single instance of the Form Builder class and it handles
+ * as many form builder user interfaces as needed.
+ *
+ */
++function ($) { "use strict";
+
+ var Base = $.oc.foundation.base,
+ BaseProto = Base.prototype
+
+ var FormBuilder = function() {
+ Base.call(this)
+
+ this.placeholderIdIndex = 0
+ this.updateControlBodyTimer = null
+
+ this.init()
+ }
+
+ FormBuilder.prototype = Object.create(BaseProto)
+ FormBuilder.prototype.constructor = FormBuilder
+
+ // INTERNAL METHODS
+ // ============================
+
+ FormBuilder.prototype.init = function() {
+ this.registerHandlers()
+ }
+
+ FormBuilder.prototype.registerHandlers = function() {
+ document.addEventListener('dragstart', this.proxy(this.onDragStart))
+ document.addEventListener('dragover', this.proxy(this.onDragOver))
+ document.addEventListener('dragenter', this.proxy(this.onDragEnter))
+ document.addEventListener('dragleave', this.proxy(this.onDragLeave))
+ document.addEventListener('drop', this.proxy(this.onDragDrop), false);
+
+ $(document).on('change', '.builder-control-list > li.control', this.proxy(this.onControlChange))
+ $(document).on('click', '.builder-control-list > li.control div[data-builder-remove-control]', this.proxy(this.onRemoveControl))
+ $(document).on('click', '.builder-control-list > li.placeholder', this.proxy(this.onPlaceholderClick))
+ $(document).on('showing.oc.inspector', '.builder-control-list > li.control', this.proxy(this.onInspectorShowing))
+ $(document).on('livechange', '.builder-control-list > li.control', this.proxy(this.onControlLiveChange))
+ $(document).on('autocompleteitems.oc.inspector', '.builder-control-list > li.control', this.proxy(this.onAutocompleteItems))
+ $(document).on('dropdownoptions.oc.inspector', '.builder-control-list > li.control', this.proxy(this.onDropdownOptions))
+ }
+
+ FormBuilder.prototype.getControlId = function(li) {
+ if (li.hasAttribute('data-builder-control-id')) {
+ return li.getAttribute('data-builder-control-id')
+ }
+
+ this.placeholderIdIndex++
+ li.setAttribute('data-builder-control-id', this.placeholderIdIndex)
+
+ return this.placeholderIdIndex
+ }
+
+ // PROPERTY HELPERS
+ // ============================
+
+ FormBuilder.prototype.getControlProperties = function(li) {
+ var children = li.children
+
+ for (var i=children.length-1; i>=0; i--) {
+ var element = children[i]
+
+ if (element.tagName === 'INPUT' && element.hasAttribute('data-inspector-values')) {
+ return $.parseJSON(element.value)
+ }
+ }
+
+ throw new Error('Inspector values element is not found in control.')
+ }
+
+ FormBuilder.prototype.setControlProperties = function(li, propertiesObj) {
+ var propertiesStr = JSON.stringify(propertiesObj),
+ valuesInput = li.querySelector('[data-inspector-values]')
+
+ valuesInput.value = propertiesStr
+ }
+
+ FormBuilder.prototype.loadModelFields = function(control, callback) {
+ var $form = $(this.findForm(control)),
+ pluginCode = $.oc.builder.indexController.getFormPluginCode($form),
+ modelClass = $form.find('input[name=model_class]').val()
+
+ $.oc.builder.dataRegistry.get($form, pluginCode, 'model-columns', modelClass, function(response){
+ callback({
+ options: $.oc.builder.indexController.dataToInspectorArray(response)
+ })
+ })
+ }
+
+ FormBuilder.prototype.getContainerFieldNames = function(control, callback) {
+ var controlWrapper = this.findRootControlWrapper(control),
+ fieldNames = $.oc.builder.formbuilder.domToPropertyJson.getAllControlNames(controlWrapper),
+ options = []
+
+ options.push({
+ title: '---',
+ value: ''
+ })
+
+ for (var i=0, len=fieldNames.length; i=0; i--) {
+ var value = String(valueInputs[i].value)
+
+ if (value.length === 0) {
+ continue
+ }
+
+ var properties = $.parseJSON(value)
+
+ if (properties['oc.fieldName'] == fieldName) {
+ return true
+ }
+ }
+
+ return false
+ }
+
+ // FLOW MANAGEMENT
+ // ============================
+
+ FormBuilder.prototype.reflow = function(li, listElement) {
+ if (!li && !listElement) {
+ throw new Error('Invalid call of the reflow method. Either li or list parameter should be not empty.')
+ }
+
+ var list = listElement ? listElement : li.parentNode,
+ items = list.children,
+ prevSpan = null
+
+ for (var i=0, len = items.length; i < len; i++) {
+ var item = items[i],
+ itemSpan = item.getAttribute('data-builder-span')
+
+ if ($.oc.foundation.element.hasClass(item, 'clear-row')) {
+ continue
+ }
+
+ if (itemSpan == 'auto') {
+ $.oc.foundation.element.removeClass(item, 'span-left')
+ $.oc.foundation.element.removeClass(item, 'span-full')
+ $.oc.foundation.element.removeClass(item, 'span-right')
+
+ if (prevSpan == 'left') {
+ $.oc.foundation.element.addClass(item, 'span-right')
+ prevSpan = 'right'
+ }
+ else {
+ if (!$.oc.foundation.element.hasClass(item, 'placeholder')) {
+ $.oc.foundation.element.addClass(item, 'span-left')
+ }
+ else {
+ $.oc.foundation.element.addClass(item, 'span-full')
+ }
+
+ prevSpan = 'left'
+ }
+ }
+ else {
+ $.oc.foundation.element.removeClass(item, 'span-left')
+ $.oc.foundation.element.removeClass(item, 'span-full')
+ $.oc.foundation.element.removeClass(item, 'span-right')
+ $.oc.foundation.element.addClass(item, 'span-' + itemSpan)
+
+ prevSpan = itemSpan
+ }
+ }
+ }
+
+ FormBuilder.prototype.setControlSpanFromProperties = function(li, properties) {
+ if (properties.span === undefined) {
+ return
+ }
+
+ li.setAttribute('data-builder-span', properties.span)
+ this.reflow(li)
+ }
+
+ FormBuilder.prototype.appendClearRowElement = function(li) {
+ li.insertAdjacentHTML('afterend', '');
+ }
+
+ FormBuilder.prototype.patchControlSpan = function(li, span) {
+ li.setAttribute('data-builder-span', span)
+
+ var properties = this.getControlProperties(li)
+ properties.span = span
+ this.setControlProperties(li, properties)
+ }
+
+ // DRAG AND DROP
+ // ============================
+
+ FormBuilder.prototype.targetIsPlaceholder = function(ev) {
+ if (!ev.target.getAttribute) {
+ return false // In Gecko ev.target could be a text node
+ }
+
+ return ev.target.getAttribute('data-builder-placeholder')
+ }
+
+ FormBuilder.prototype.dataTransferContains = function(ev, element) {
+ if (ev.dataTransfer.types.indexOf !== undefined){
+ return ev.dataTransfer.types.indexOf(element) >= 0
+ }
+
+ return ev.dataTransfer.types.contains(element)
+ }
+
+ FormBuilder.prototype.sourceIsContainer = function(ev) {
+ return this.dataTransferContains(ev, 'builder/source/container')
+ }
+
+ FormBuilder.prototype.startDragFromContainer = function(ev) {
+ ev.dataTransfer.effectAllowed = 'move'
+
+ var controlId = this.getControlId(ev.target)
+ ev.dataTransfer.setData('builder/source/container', 'true')
+ ev.dataTransfer.setData('builder/control/id', controlId)
+ ev.dataTransfer.setData(controlId, controlId)
+ }
+
+ FormBuilder.prototype.dropTargetIsChildOf = function(target, ev) {
+ var current = target
+
+ while (current) {
+ if (this.elementIsControl(current) && this.dataTransferContains(ev, this.getControlId(current))) {
+ return true
+ }
+
+ current = current.parentNode
+ }
+
+ return false
+ }
+
+ FormBuilder.prototype.dropFromContainerToPlaceholderOrControl = function(ev, targetControl) {
+ var targetElement = targetControl ? targetControl : ev.target
+
+ $.oc.foundation.event.stop(ev)
+ this.stopHighlightingTargets(targetElement)
+
+ var controlId = ev.dataTransfer.getData('builder/control/id'),
+ originalControl = document.body.querySelector('li[data-builder-control-id="'+controlId+'"]')
+
+ if (!originalControl) {
+ return
+ }
+
+ var isSameList = originalControl.parentNode === targetElement.parentNode,
+ originalList = originalControl.parentNode,
+ $originalClearRow = $(originalControl).next()
+
+ targetElement.parentNode.insertBefore(originalControl, targetElement)
+
+ this.appendClearRowElement(originalControl)
+ if ($originalClearRow.hasClass('clear-row')) {
+ $originalClearRow.remove()
+ }
+
+ if (!$.oc.foundation.element.hasClass(originalControl, 'inspector-open')) {
+ this.patchControlSpan(originalControl, 'auto')
+ }
+
+ this.reflow(targetElement)
+
+ if (!isSameList) {
+ this.reflow(null, originalList)
+ }
+
+ $(targetElement).closest('form').trigger('change')
+ }
+
+ FormBuilder.prototype.elementContainsPoint = function(point, element) {
+ var elementPosition = $.oc.foundation.element.absolutePosition(element),
+ elementRight = elementPosition.left + element.offsetWidth,
+ elementBottom = elementPosition.top + element.offsetHeight
+
+ return point.x >= elementPosition.left && point.x <= elementRight
+ && point.y >= elementPosition.top && point.y <= elementBottom
+ }
+
+ FormBuilder.prototype.stopHighlightingTargets = function(target, excludeTarget) {
+ var rootWrapper = this.findRootControlWrapper(target),
+ controls = rootWrapper.querySelectorAll('li.control.drag-over')
+
+ for (var i=controls.length-1; i>= 0; i--) {
+ if (!excludeTarget || target !== controls[i]) {
+ $.oc.foundation.element.removeClass(controls[i], 'drag-over')
+ }
+ }
+ }
+
+ // UPDATING CONTROLS
+ // ============================
+
+ FormBuilder.prototype.startUpdateControlBody = function(controlId) {
+ this.clearUpdateControlBodyTimer()
+
+ var self = this
+ this.updateControlBodyTimer = window.setTimeout(function(){
+ self.updateControlBody(controlId)
+ }, 300)
+ }
+
+ FormBuilder.prototype.clearUpdateControlBodyTimer = function() {
+ if (this.updateControlBodyTimer === null) {
+ return
+ }
+
+ clearTimeout(this.updateControlBodyTimer)
+ this.updateControlBodyTimer = null
+ }
+
+ FormBuilder.prototype.updateControlBody = function(controlId) {
+ var control = document.body.querySelector('li[data-builder-control-id="'+controlId+'"]')
+ if (!control) {
+ return
+ }
+
+ this.clearUpdateControlBodyTimer()
+
+ var rootWrapper = this.findRootControlWrapper(control),
+ controls = rootWrapper.querySelectorAll('li.control.updating-control')
+
+ for (var i=controls.length-1; i>=0; i--) {
+ $.oc.foundation.element.removeClass(controls[i], 'updating-control')
+ }
+
+ $.oc.foundation.element.addClass(control, 'updating-control')
+
+ var controlType = control.getAttribute('data-control-type'),
+ properties = this.getControlProperties(control),
+ data = {
+ controlType: controlType,
+ controlId: controlId,
+ properties: properties
+ }
+
+ $(control).request('onModelFormRenderControlBody', {
+ data: data
+ }).done(
+ this.proxy(this.controlBodyMarkupLoaded)
+ ).always(function(){
+ $.oc.foundation.element.removeClass(control, 'updating-control')
+ })
+ }
+
+ FormBuilder.prototype.controlBodyMarkupLoaded = function(responseData) {
+ var li = document.body.querySelector('li[data-builder-control-id="'+responseData.controlId+'"]')
+ if (!li) {
+ return
+ }
+
+ var wrapper = li.querySelector('.control-wrapper')
+
+ wrapper.innerHTML = responseData.markup
+ }
+
+ // ADDING CONTROLS
+ // ============================
+
+ FormBuilder.prototype.generateFieldName = function(controlType, placeholder) {
+ var controlContainer = this.findControlContainer(placeholder)
+
+ if (!controlContainer) {
+ throw new Error('Cannot find control container for a placeholder.')
+ }
+
+ // Replace any banned characters
+ controlType = controlType.replace(/[^a-zA-Z0-9_\[\]]/g, '')
+
+ var counter = 1,
+ fieldName = controlType + counter
+
+ while (this.fieldNameExistsInContainer(controlContainer, fieldName)) {
+ counter ++
+ fieldName = controlType + counter
+ }
+
+ return fieldName
+ }
+
+ FormBuilder.prototype.addControlToPlaceholder = function(placeholder, controlType, controlName, noNewPlaceholder) {
+ // Duplicate the placeholder and place it after
+ // the existing one
+ if (!noNewPlaceholder) {
+ var newPlaceholder = $(placeholder.outerHTML)
+
+ newPlaceholder.removeAttr('data-builder-control-id')
+ newPlaceholder.removeClass('control-palette-open')
+
+ placeholder.insertAdjacentHTML('afterend', newPlaceholder.get(0).outerHTML)
+ }
+
+ // Create the clear-row element after the current placeholder
+ this.appendClearRowElement(placeholder)
+
+ // Replace the placeholder class with control
+ // loading indicator
+ $.oc.foundation.element.removeClass(placeholder, 'placeholder')
+ $.oc.foundation.element.addClass(placeholder, 'loading-control')
+ $.oc.foundation.element.removeClass(placeholder, 'control-palette-open')
+ placeholder.innerHTML = ''
+ placeholder.removeAttribute('data-builder-placeholder')
+
+ var fieldName = this.generateFieldName(controlType, placeholder)
+
+ // Send request to the server to load the
+ // control markup, Inspector data schema, inspector title, etc.
+ var data = {
+ controlType: controlType,
+ controlId: this.getControlId(placeholder),
+ properties: {
+ 'label': controlName,
+ 'span': 'auto',
+ 'oc.fieldName': fieldName
+ }
+ }
+ this.reflow(placeholder)
+
+ return $(placeholder).request('onModelFormRenderControlWrapper', {
+ data: data
+ }).done(this.proxy(this.controlWrapperMarkupLoaded))
+ }
+
+ FormBuilder.prototype.controlWrapperMarkupLoaded = function(responseData) {
+ var placeholder = document.body.querySelector('li[data-builder-control-id="'+responseData.controlId+'"]')
+ if (!placeholder) {
+ return
+ }
+
+ placeholder.setAttribute('draggable', true)
+ placeholder.setAttribute('data-inspectable', true)
+ placeholder.setAttribute('data-control-type', responseData.type)
+
+ placeholder.setAttribute('data-inspector-title', responseData.controlTitle)
+ placeholder.setAttribute('data-inspector-description', responseData.description)
+
+ placeholder.innerHTML = responseData.markup
+ $.oc.foundation.element.removeClass(placeholder, 'loading-control')
+ }
+
+ FormBuilder.prototype.displayControlPaletteForPlaceholder = function(element) {
+ $.oc.builder.formbuilder.controlPalette.loadControlPalette(element, this.getControlId(element))
+ }
+
+ FormBuilder.prototype.addControlFromControlPalette = function(placeholderId, controlType, controlName) {
+ var placeholder = document.body.querySelector('li[data-builder-control-id="'+placeholderId+'"]')
+ if (!placeholder) {
+ return
+ }
+
+ return this.addControlToPlaceholder(placeholder, controlType, controlName)
+ }
+
+ // REMOVING CONTROLS
+ // ============================
+
+ FormBuilder.prototype.removeControl = function($control) {
+ if ($control.hasClass('inspector-open')) {
+ var $inspectorContainer = this.findInspectorContainer($control)
+ $.oc.foundation.controlUtils.disposeControls($inspectorContainer.get(0))
+ }
+
+ var $nextControl = $control.next() // Even if the removed element was alone, there's always a placeholder element
+ $control.remove()
+
+ this.reflow($nextControl.get(0))
+ $nextControl.trigger('change')
+ }
+
+ // DOM HELPERS
+ // ============================
+
+ FormBuilder.prototype.findControlContainer = function(element) {
+ var current = element
+
+ while (current) {
+ if (current.hasAttribute && current.hasAttribute('data-control-container') ) {
+ return current
+ }
+
+ current = current.parentNode
+ }
+
+ return null
+ }
+
+ FormBuilder.prototype.findForm = function(element) {
+ var current = element
+
+ while (current) {
+ if (current.tagName === 'FORM') {
+ return current
+ }
+
+ current = current.parentNode
+ }
+
+ return null
+ }
+
+ FormBuilder.prototype.findControlList = function(element) {
+ var current = element
+
+ while (current) {
+ if (current.hasAttribute('data-control-list')) {
+ return current
+ }
+
+ current = current.parentNode
+ }
+
+ throw new Error('Cannot find control list for an element.')
+ }
+
+ FormBuilder.prototype.findPlaceholder = function(controlList) {
+ var children = controlList.children
+
+ for (var i=children.length-1; i>=0; i--) {
+ var element = children[i]
+
+ if (element.tagName === 'LI' && $.oc.foundation.element.hasClass(element, 'placeholder')) {
+ return element
+ }
+ }
+
+ throw new Error('Cannot find placeholder in a control list.')
+ }
+
+ FormBuilder.prototype.findRootControlWrapper = function(control) {
+ var current = control
+
+ while (current) {
+ if (current.hasAttribute('data-root-control-wrapper')) {
+ return current
+ }
+
+ current = current.parentNode
+ }
+
+ throw new Error('Cannot find root control wrapper.')
+ }
+
+ FormBuilder.prototype.findInspectorContainer = function($element) {
+ var $containerRoot = $element.closest('[data-inspector-container]')
+
+ return $containerRoot.find('.inspector-container')
+ }
+
+ FormBuilder.prototype.elementIsControl = function(element) {
+ return element.tagName === 'LI' && element.hasAttribute('data-control-type') && $.oc.foundation.element.hasClass(element, 'control')
+ }
+
+ FormBuilder.prototype.getClosestControl = function(element) {
+ var current = element
+
+ while (current) {
+ if (this.elementIsControl(current)) {
+ return current
+ }
+
+ current = current.parentNode
+ }
+
+ return null
+ }
+
+ // EVENT HANDLERS
+ // ============================
+
+ FormBuilder.prototype.onDragStart = function(ev) {
+ if (this.elementIsControl(ev.target)) {
+ this.startDragFromContainer(ev)
+
+ return
+ }
+ }
+
+ FormBuilder.prototype.onDragOver = function(ev) {
+ var targetLi = ev.target
+
+ if (ev.target.tagName !== 'LI') {
+ targetLi = this.getClosestControl(ev.target)
+ }
+
+ if (!targetLi || targetLi.tagName != 'LI') {
+ return
+ }
+
+ var sourceIsContainer = this.sourceIsContainer(ev),
+ elementIsControl = this.elementIsControl(targetLi)
+
+ if ((this.targetIsPlaceholder(ev) || elementIsControl) && sourceIsContainer) {
+ // Do not allow dropping controls to themselves or their
+ // children controls.
+ if (sourceIsContainer && elementIsControl && this.dropTargetIsChildOf(targetLi, ev)) {
+ return false
+ }
+
+ // Dragging from container over a placeholder or another control.
+ // Allow the drop.
+ $.oc.foundation.event.stop(ev)
+ ev.dataTransfer.dropEffect = 'move'
+ return
+ }
+ }
+
+ FormBuilder.prototype.onDragEnter = function(ev) {
+ var targetLi = ev.target
+
+ if (ev.target.tagName !== 'LI') {
+ targetLi = this.getClosestControl(ev.target)
+ }
+
+ if (!targetLi || targetLi.tagName != 'LI') {
+ return
+ }
+
+ var sourceIsContainer = this.sourceIsContainer(ev)
+
+ if (this.targetIsPlaceholder(ev) && sourceIsContainer) {
+ // Do not allow dropping controls to themselves or their
+ // children controls.
+ if (sourceIsContainer && this.dropTargetIsChildOf(ev.target, ev)) {
+ this.stopHighlightingTargets(ev.target, true)
+ return
+ }
+
+ // Dragging from a container over a placeholder.
+ // Highlight the placeholder.
+ $.oc.foundation.element.addClass(ev.target, 'drag-over')
+ return
+ }
+
+ var elementIsControl = this.elementIsControl(targetLi)
+
+ if (elementIsControl && sourceIsContainer) {
+ // Do not allow dropping controls to themselves or their
+ // children controls.
+ if (sourceIsContainer && elementIsControl && this.dropTargetIsChildOf(targetLi, ev)) {
+ this.stopHighlightingTargets(targetLi, true)
+ return
+ }
+
+ // Dragging from a container over another control.
+ // Highlight the other control.
+ $.oc.foundation.element.addClass(targetLi, 'drag-over')
+
+ this.stopHighlightingTargets(targetLi, true)
+
+ return
+ }
+ }
+
+ FormBuilder.prototype.onDragLeave = function(ev) {
+ var targetLi = ev.target
+
+ if (ev.target.tagName !== 'LI') {
+ targetLi = this.getClosestControl(ev.target)
+ }
+
+ if (!targetLi || targetLi.tagName != 'LI') {
+ return
+ }
+
+ if (this.targetIsPlaceholder(ev) && this.sourceIsContainer(ev)) {
+ // Dragging from a container over a placeholder.
+ // Stop highlighting the placeholder.
+ this.stopHighlightingTargets(ev.target)
+
+ return
+ }
+
+ if (this.elementIsControl(targetLi) && this.sourceIsContainer(ev)) {
+ // Dragging from a container over another control.
+ // Stop highlighting the other control.
+ var mousePosition = $.oc.foundation.event.pageCoordinates(ev)
+
+ if (!this.elementContainsPoint(mousePosition, targetLi)) {
+ this.stopHighlightingTargets(targetLi)
+ }
+ }
+ }
+
+ FormBuilder.prototype.onDragDrop = function(ev) {
+ var targetLi = ev.target
+
+ if (ev.target.tagName !== 'LI') {
+ targetLi = this.getClosestControl(ev.target)
+ }
+
+ if (!targetLi || targetLi.tagName != 'LI') {
+ return
+ }
+
+ var elementIsControl = this.elementIsControl(targetLi),
+ sourceIsContainer = this.sourceIsContainer(ev)
+
+ if ((elementIsControl || this.targetIsPlaceholder(ev)) && sourceIsContainer) {
+ this.stopHighlightingTargets(targetLi)
+
+ if (this.dropTargetIsChildOf(targetLi, ev)) {
+ return
+ }
+
+ // Dropped from a container to a placeholder or another control.
+ // Stop highlighting the placeholder, move the control.
+ this.dropFromContainerToPlaceholderOrControl(ev, targetLi)
+ return
+ }
+ }
+
+ FormBuilder.prototype.onControlChange = function(ev) {
+ // Control has changed (with Inspector) -
+ // update the control markup with AJAX
+
+ var li = ev.currentTarget,
+ properties = this.getControlProperties(li)
+
+ this.setControlSpanFromProperties(li, properties)
+ this.updateControlBody(this.getControlId(li))
+
+ ev.stopPropagation()
+ return false
+ }
+
+ FormBuilder.prototype.onControlLiveChange = function(ev) {
+ $(this.findForm(ev.currentTarget)).trigger('change') // Set modified state for the form
+
+ var li = ev.currentTarget,
+ propertiesParsed = this.getControlProperties(li)
+
+ this.setControlSpanFromProperties(li, propertiesParsed)
+ this.startUpdateControlBody(this.getControlId(li))
+
+ ev.stopPropagation()
+ return false
+ }
+
+ FormBuilder.prototype.onAutocompleteItems = function(ev, data) {
+ if (data.propertyDefinition.fillFrom === 'model-fields') {
+ ev.preventDefault()
+ this.loadModelFields(ev.target, data.callback)
+ }
+ }
+
+ FormBuilder.prototype.onDropdownOptions = function(ev, data) {
+ if (data.propertyDefinition.fillFrom === 'form-controls') {
+ this.getContainerFieldNames(ev.target, data.callback)
+ ev.preventDefault()
+ }
+ }
+
+ FormBuilder.prototype.onRemoveControl = function(ev) {
+ this.removeControl($(ev.target).closest('li.control'))
+
+ ev.preventDefault()
+ ev.stopPropagation()
+
+ return false
+ }
+
+ FormBuilder.prototype.onInspectorShowing = function(ev) {
+ if ($(ev.target).find('input[data-non-inspectable-control]').length > 0) {
+ ev.preventDefault()
+ return false
+ }
+ }
+
+ FormBuilder.prototype.onPlaceholderClick = function(ev) {
+ this.displayControlPaletteForPlaceholder(ev.target)
+ ev.stopPropagation()
+ ev.preventDefault()
+ return false;
+ }
+
+ $(document).ready(function(){
+ // There is a single instance of the form builder. All operations
+ // are stateless, so instance properties or DOM references are not needed.
+ $.oc.builder.formbuilder.controller = new FormBuilder()
+ })
+
+}(window.jQuery);
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.tabs.js b/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.tabs.js
new file mode 100644
index 0000000..cb498b8
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.tabs.js
@@ -0,0 +1,286 @@
+/*
+ * Manages tabs in the form builder area.
+ */
++function ($) { "use strict";
+
+ var Base = $.oc.foundation.base,
+ BaseProto = Base.prototype
+
+ var TabManager = function() {
+ Base.call(this)
+
+ this.init()
+ }
+
+ TabManager.prototype = Object.create(BaseProto)
+ TabManager.prototype.constructor = TabManager
+
+ // INTERNAL METHODS
+ // ============================
+
+ TabManager.prototype.init = function() {
+ this.registerHandlers()
+ }
+
+ TabManager.prototype.registerHandlers = function() {
+ var $layoutBody = $('#layout-body')
+
+ $layoutBody.on('click', 'li[data-builder-new-tab]', this.proxy(this.onNewTabClick))
+ $layoutBody.on('click', 'div[data-builder-tab]', this.proxy(this.onTabClick))
+ $layoutBody.on('click', 'div[data-builder-close-tab]', this.proxy(this.onTabCloseClick))
+ $layoutBody.on('change livechange', 'ul.tabs > li div.inspector-trigger.tab-control', this.proxy(this.onTabChange))
+ $layoutBody.on('hiding.oc.inspector', 'ul.tabs > li div.inspector-trigger.tab-control', this.proxy(this.onTabInspectorHiding))
+ }
+
+ TabManager.prototype.getTabList = function($tabControl) {
+ return $tabControl.find('> ul.tabs')
+ }
+
+ TabManager.prototype.getPanelList = function($tabControl) {
+ return $tabControl.find('> ul.panels')
+ }
+
+ TabManager.prototype.findTabControl = function($tab) {
+ return $tab.closest('div.tabs')
+ }
+
+ TabManager.prototype.findTabPanel = function($tab) {
+ var $tabControl = this.findTabControl($tab),
+ tabIndex = $tab.index()
+
+ return this.getPanelList($tabControl).find(' > li').eq(tabIndex)
+ }
+
+ TabManager.prototype.findPanelTab = function($panel) {
+ var $tabControl = this.findTabControl($panel),
+ tabIndex = $panel.index()
+
+ return this.getTabList($tabControl).find(' > li').eq(tabIndex)
+ }
+
+ TabManager.prototype.findTabPanel = function($tab) {
+ var $tabControl = this.findTabControl($tab),
+ tabIndex = $tab.index()
+
+ return this.getPanelList($tabControl).find(' > li').eq(tabIndex)
+ }
+
+ TabManager.prototype.findTabForm = function(tab) {
+ return $(tab).closest('form')
+ }
+
+ TabManager.prototype.getGlobalTabsProperties = function(tabsContainer) {
+ var properties = $(tabsContainer).find('.inspector-trigger.tab-control.global [data-inspector-values]').val()
+
+ if (properties.length == 0) {
+ properties = '{}'
+ }
+
+ return $.parseJSON(properties)
+ }
+
+ /*
+ * Returns tab title an element belongs to
+ */
+ TabManager.prototype.getElementTabTitle = function(element) {
+ var $panel = $(element).closest('li.tab-panel'),
+ $tab = this.findPanelTab($panel),
+ properties = $tab.find('[data-inspector-values]').val(),
+ propertiesParsed = $.parseJSON(properties)
+
+ return propertiesParsed.title
+ }
+
+ TabManager.prototype.tabHasControls = function($tab) {
+ return this.findTabPanel($tab).find('ul[data-control-list] li.control:not(.placeholder)').length > 0
+ }
+
+ TabManager.prototype.tabNameExists = function($tabList, name, $ignoreTab) {
+ var tabs = $tabList.get(0).children
+
+ for (var i=0, len = tabs.length; i li[data-builder-new-tab]')
+
+ $('[data-tab-title]', $newTab).text(tabName)
+
+ $newTab.insertBefore($newTabControl)
+ this.getPanelList($tabControl).append(panelTemplate)
+
+ this.gotoTab($newTab)
+ }
+
+ TabManager.prototype.gotoTab = function($tab) {
+ var tabIndex = $tab.index(),
+ $tabControl = this.findTabControl($tab),
+ $tabList = this.getTabList($tabControl),
+ $panelList = this.getPanelList($tabControl)
+
+ $('> li', $tabList).removeClass('active')
+ $tab.addClass('active')
+
+ $('> li', $panelList).removeClass('active')
+ $('> li', $panelList).eq(tabIndex).addClass('active')
+ }
+
+ TabManager.prototype.findInspectorContainer = function($element) {
+ var $containerRoot = $element.closest('[data-inspector-container]')
+
+ return $containerRoot.find('.inspector-container')
+ }
+
+ TabManager.prototype.closeTabInspectors = function($tab, $tabPanel) {
+ if ($tab.find('.inspector-open').length === 0 && $tabPanel.find('.inspector-open').length === 0) {
+ return
+ }
+
+ var $inspectorContainer = this.findInspectorContainer($tab)
+
+ $.oc.foundation.controlUtils.disposeControls($inspectorContainer.get(0))
+ }
+
+ TabManager.prototype.closeTabControlPalette = function($tab, $tabPanel) {
+ if ($tabPanel.find('.control-palette-open').length === 0) {
+ return
+ }
+
+ var $inspectorContainer = this.findInspectorContainer($tab)
+
+ $.oc.foundation.controlUtils.disposeControls($inspectorContainer.get(0))
+ }
+
+ TabManager.prototype.closeTab = function($tab) {
+ var $tabControl = this.findTabControl($tab)
+
+ if (this.tabHasControls($tab)) {
+ if (!confirm($tabControl.data('tabCloseConfirmation'))) {
+ return
+ }
+
+ $tab.trigger('change')
+ }
+
+ var $prevTab = $tab.prev(),
+ $nextTab = $tab.next(),
+ $tabPanel = this.findTabPanel($tab)
+
+ this.closeTabInspectors($tab, $tabPanel)
+ this.closeTabControlPalette($tab, $tabPanel)
+
+ $tab.remove()
+ $tabPanel.remove()
+
+ if ($prevTab.length > 0) {
+ this.gotoTab($prevTab)
+ }
+ else {
+ if ($nextTab.length > 0 && !$nextTab.hasClass('new-tab')) {
+ this.gotoTab($nextTab)
+ }
+ else {
+ this.createNewTab($tabControl)
+ }
+ }
+ }
+
+ TabManager.prototype.updateTabProperties = function($tab) {
+ var properties = $tab.find('[data-inspector-values]').val(),
+ propertiesParsed = $.parseJSON(properties),
+ $form = this.findTabForm($tab),
+ pluginCode = $form.find('input[name=plugin_code]').val()
+
+ $tab.find('[data-tab-title]').attr('data-localization-key', propertiesParsed.title)
+
+ $.oc.builder.dataRegistry.getLocalizationString($form, pluginCode, propertiesParsed.title, function(title){
+ $tab.find('[data-tab-title]').text(title)
+ })
+ }
+
+ // EVENT HANDLERS
+ // ============================
+
+ TabManager.prototype.onNewTabClick = function(ev) {
+ this.createNewTab($(ev.currentTarget).closest('div.tabs'))
+
+ ev.stopPropagation()
+ ev.preventDefault()
+
+ return false
+ }
+
+ TabManager.prototype.onTabClick = function(ev) {
+ this.gotoTab($(ev.currentTarget).closest('li'))
+
+ ev.stopPropagation()
+ ev.preventDefault()
+
+ return false
+ }
+
+ TabManager.prototype.onTabCloseClick = function(ev) {
+ this.closeTab($(ev.currentTarget).closest('li'))
+
+ ev.stopPropagation()
+ ev.preventDefault()
+
+ return false
+ }
+
+ TabManager.prototype.onTabChange = function(ev) {
+ this.updateTabProperties($(ev.currentTarget).closest('li'))
+ }
+
+ TabManager.prototype.onTabInspectorHiding = function(ev, data) {
+ var $tab = $(ev.currentTarget).closest('li'),
+ $tabControl = this.findTabControl($tab),
+ $tabList = this.getTabList($tabControl)
+
+ if (this.tabNameExists($tabList, data.values.title, $tab)) {
+ alert($tabControl.data('tabAlreadyExists'))
+
+ ev.preventDefault()
+ }
+ }
+
+ $(document).ready(function(){
+ // There is a single instance of the tabs manager.
+ $.oc.builder.formbuilder.tabManager = new TabManager()
+ })
+
+}(window.jQuery);
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_body.htm b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_body.htm
new file mode 100644
index 0000000..c6bd2b8
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_body.htm
@@ -0,0 +1,34 @@
+
+
+
+ = $this->makePartial('buildingarea') ?>
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_buildingarea.htm b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_buildingarea.htm
new file mode 100644
index 0000000..a15e7a0
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_buildingarea.htm
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlbody.htm b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlbody.htm
new file mode 100644
index 0000000..1dfe6c9
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlbody.htm
@@ -0,0 +1,26 @@
+
+ getPropertyValue($properties, 'label');
+ $comment = $this->getPropertyValue($properties, 'oc.comment');
+
+ // Note - the label and comment elements should not have whitespace in the markup.
+ ?>
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlcontainer.htm b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlcontainer.htm
new file mode 100644
index 0000000..eca3d0a
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlcontainer.htm
@@ -0,0 +1,26 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controllist.htm b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controllist.htm
new file mode 100644
index 0000000..97d3b6a
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controllist.htm
@@ -0,0 +1,40 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlpalette.htm b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlpalette.htm
new file mode 100644
index 0000000..05559ab
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlpalette.htm
@@ -0,0 +1,33 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlwrapper.htm b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlwrapper.htm
new file mode 100644
index 0000000..9256feb
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_controlwrapper.htm
@@ -0,0 +1,14 @@
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_tab.htm b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_tab.htm
new file mode 100644
index 0000000..140ed71
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_tab.htm
@@ -0,0 +1,22 @@
+
+
+
+ = e(trans($title)) ?>
+
+
+
+
+
+
+
+
+
+
+
+
×
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_tabpanel.htm b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_tabpanel.htm
new file mode 100644
index 0000000..7c2d65c
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_tabpanel.htm
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_tabs.htm b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_tabs.htm
new file mode 100644
index 0000000..016b28a
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/formbuilder/partials/_tabs.htm
@@ -0,0 +1,66 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_mainmenuitem.htm b/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_mainmenuitem.htm
new file mode 100644
index 0000000..529d122
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_mainmenuitem.htm
@@ -0,0 +1,17 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_mainmenuitems.htm b/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_mainmenuitems.htm
new file mode 100644
index 0000000..5661380
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_mainmenuitems.htm
@@ -0,0 +1,15 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_submenuitem.htm b/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_submenuitem.htm
new file mode 100644
index 0000000..673b4d4
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_submenuitem.htm
@@ -0,0 +1,15 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_submenuitems.htm b/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_submenuitems.htm
new file mode 100644
index 0000000..24ee8b5
--- /dev/null
+++ b/server/plugins/rainlab/builder/formwidgets/menueditor/partials/_submenuitems.htm
@@ -0,0 +1,17 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/lang/cs/lang.php b/server/plugins/rainlab/builder/lang/cs/lang.php
new file mode 100644
index 0000000..ef74158
--- /dev/null
+++ b/server/plugins/rainlab/builder/lang/cs/lang.php
@@ -0,0 +1,637 @@
+ [
+ 'name' => 'Builder',
+ 'description' => 'Poskytuje vizuální nástroj pro tvorbu October pluginů.',
+ 'add' => 'Vytvořit plugin',
+ 'no_records' => 'Žádný plugin nenalezen',
+ 'no_description' => 'Bez popisu',
+ 'no_name' => 'Bez jména',
+ 'search' => 'Vyhledávání...',
+ 'filter_description' => 'Zobrazit všechny pluginy, nebo pouze vaše.',
+ 'settings' => 'Nastavení',
+ 'entity_name' => 'Plugin',
+ 'field_name' => 'Název',
+ 'field_author' => 'Autor',
+ 'field_description' => 'Popis',
+ 'field_icon' => 'Ikona pluginu',
+ 'field_plugin_namespace' => 'Jmenný prostor pluginu',
+ 'field_author_namespace' => 'Jmenný prostor autora',
+ 'field_namespace_description' => 'Jmenný prostor může obsahovat pouze znaky, číslice a měl by začínat písmenem. Například Blog.',
+ 'field_author_namespace_description' => 'Zadaný jmenný prostor nebude možno přes Builder poté změnit. Příklad jmenného prostoru: JohnSmith.',
+ 'tab_general' => 'Základní parametry',
+ 'tab_description' => 'Popis',
+ 'field_homepage' => 'Domovská URL pluginu',
+ 'no_description' => 'Tento plugin nemá žádný popisek',
+ 'error_settings_not_editable' => 'Nastavení tohoto pluginu nelze přes Builder měnit, protože nemá soubor plugin.yaml.',
+ 'update_hint' => 'Překlad názvu a popisku můžete měnit v menu Lokalizace.',
+ 'manage_plugins' => 'Tvorba a úprava pluginů.',
+ ],
+ 'author_name' => [
+ 'title' => 'Jméno autora',
+ 'description' => 'Výchozí jméno autora pro nově vytvořené pluginy. Toto jméno však můžete změnit při vytváření nového pluginu, nebo poté v editaci.',
+ ],
+ 'author_namespace' => [
+ 'title' => 'Jmenný prostor autora',
+ 'description' => 'Pokud budete chtít plugin umístit na stránkách OctoberCMS, jmenný prostor by se měl být pro všechny vaše pluginy shodný. Více detailů najdete v dokumentaci publikace pluginů.',
+ ],
+ 'database' => [
+ 'menu_label' => 'Databáze',
+ 'no_records' => 'Žádné tabulky nebyly nalezeny',
+ 'search' => 'Vyhledávání...',
+ 'confirmation_delete_multiple' => 'Opravdu chcete odstranit vybrané tabulky?',
+ 'field_name' => 'Název databázové tabulky',
+ 'tab_columns' => 'Sloupce',
+ 'column_name_name' => 'Sloupec',
+ 'column_name_required' => 'Zadejte prosím název sloupce',
+ 'column_name_type' => 'Typ',
+ 'column_type_required' => 'Vyberte prosím typ sloupce',
+ 'column_name_length' => 'Délka',
+ 'column_validation_length' => "Délka by měla být zadaná číselně, nebo zadaná jako číslo a přesnost (10,2) pro desetinná čísla. Mezery nejsou povolené.",
+ 'column_validation_title' => 'V názvu sloupce mohou být pouze čísla, malá písmena a podtržítko.',
+ 'column_name_unsigned' => 'Bez znaménka',
+ 'column_name_nullable' => 'Nulový',
+ 'column_auto_increment' => 'AUTOINCR',
+ 'column_default' => 'Výchozí',
+ 'column_auto_primary_key' => 'PK',
+ 'tab_new_table' => 'Nová tabulka',
+ 'btn_add_column' => 'Přidat sloupec',
+ 'btn_delete_column' => 'Smazat sloupec',
+ 'confirm_delete' => 'Opravdu chcete smazat tuto tabulku?',
+ 'error_enum_not_supported' => 'Tabulka obsahuje sloupce s typem "enum" které Builder aktuálně nepodporuje.',
+ 'error_table_name_invalid_prefix' => "Název tabulky by měl začínat prefixem pluginu: ':prefix'.",
+ 'error_table_name_invalid_characters' => 'Formát názvu tabulky není správný, měl by obsahovat pouze písmena, číslice a nebo podtržítka. Název by měl začínat písmenem a neměl by obsahovat mezery.',
+ 'error_table_duplicate_column' => "Takový název sloupce již existuje: ':column'.",
+ 'error_table_auto_increment_in_compound_pk' => 'An auto-increment column cannot be a part of a compound primary key.',
+ 'error_table_mutliple_auto_increment' => 'Tabulka nemůže obsahovat více sloupců s auto-increment vlastností.',
+ 'error_table_auto_increment_non_integer' => 'Auto-increment sloupec by měl mít číselný typ.',
+ 'error_table_decimal_length' => "Zápis délky pro typ :type by měl být ve formátu '10,2', bez mezer.",
+ 'error_table_length' => 'Zápis délky pro typ :type by měl být zadaný jako číslo.',
+ 'error_unsigned_type_not_int' => "Chyba ve sloupci ':column'. Přiznak 'bez znaménka' můžete použít pouze pro číselné typy.",
+ 'error_integer_default_value' => "Chybná výchozí hodnota pro číselný sloupec ':column'. Povolené formáty jsou '10', '-10'.",
+ 'error_decimal_default_value' => "Chybná výchozí hodnota pro desetinný sloupec ':column'. Povolené formáty jsou '1.00', '-1.00'.",
+ 'error_boolean_default_value' => "Chybná výchozí hodnota pro pravdivostní sloupec ':column'. Povolené hodnoty jsou '0' and '1'.",
+ 'error_unsigned_negative_value' => "Výchozí hodnota pro sloupec bez znaménka ':column' nemůže být záporná.",
+ 'error_table_already_exists' => "Tabulka ':name' již v databázi existuje.",
+ ],
+ 'model' => [
+ 'menu_label' => 'Modely',
+ 'entity_name' => 'Model',
+ 'no_records' => 'Žádný model nebyl nalezen',
+ 'search' => 'Vyhledávání...',
+ 'add' => 'Přidat...',
+ 'forms' => 'Formuláře',
+ 'lists' => 'Listování',
+ 'field_class_name' => 'Název třídy',
+ 'field_database_table' => 'Databazová tabulka',
+ 'error_class_name_exists' => 'Soubor modelu pro tuto třídu již existuje: :path',
+ 'add_form' => 'Přidat formulář',
+ 'add_list' => 'Přidat listování',
+ ],
+ 'form' => [
+ 'saved'=> 'Formulář byl úspěšně uložen.',
+ 'confirm_delete' => 'Opravdu chcete smazat tento formulář?',
+ 'tab_new_form' => 'Nový formulář',
+ 'property_label_title' => 'Popisek',
+ 'property_label_required' => 'Zadejte prosím popisek pole.',
+ 'property_span_title' => 'Zarovnání',
+ 'property_comment_title' => 'Komentář',
+ 'property_comment_above_title' => 'Komentář nad',
+ 'property_default_title' => 'Výchozí',
+ 'property_checked_default_title' => 'Ve výchozím stavu zaškrtnuto',
+ 'property_css_class_title' => 'CSS třída',
+ 'property_css_class_description' => 'Volitelná CSS třída která se přiřadí ke kontejneru pole.',
+ 'property_disabled_title' => 'Neaktivní',
+ 'property_hidden_title' => 'Skrytý',
+ 'property_required_title' => 'Povinný',
+ 'property_field_name_title' => 'Název pole',
+ 'property_placeholder_title' => 'Zástupný text',
+ 'property_default_from_title' => 'Default from',
+ 'property_stretch_title' => 'Stretch',
+ 'property_stretch_description' => 'Definuje jestli se toto pole zmenší tak, aby se vešlo to rodičovského prvku na výšku.',
+ 'property_context_title' => 'Kontext',
+ 'property_context_description' => 'Definuje jaký kontext bude zobrazen při zobrazení tohoto pole.',
+ 'property_context_create' => 'Vytvořit',
+ 'property_context_update' => 'Upravit',
+ 'property_context_preview' => 'Náhled',
+ 'property_dependson_title' => 'Závisí na',
+ 'property_trigger_action' => 'Akce',
+ 'property_trigger_show' => 'Zobrazit',
+ 'property_trigger_hide' => 'Schovat',
+ 'property_trigger_enable' => 'Aktivní',
+ 'property_trigger_disable' => 'Neaktivní',
+ 'property_trigger_empty' => 'Prázdný',
+ 'property_trigger_field' => 'Pole',
+ 'property_trigger_field_description' => 'Defines the other field name that will trigger the action.',
+ 'property_trigger_condition' => 'Podmínka',
+ 'property_trigger_condition_description' => 'Determines the condition the specified field should satisfy for the condition to be considered "true". Supported values: checked, unchecked, value[somevalue].',
+ 'property_trigger_condition_checked' => 'Zaškrtnuté',
+ 'property_trigger_condition_unchecked' => 'Nezaškrtnuté',
+ 'property_trigger_condition_somevalue' => 'value[enter-the-value-here]',
+ 'property_preset_title' => 'Preset',
+ 'property_preset_description' => 'Allows the field value to be initially set by the value of another field, converted using the input preset converter.',
+ 'property_preset_field' => 'Pole',
+ 'property_preset_field_description' => 'Defines the other field name to source the value from.',
+ 'property_preset_type' => 'Typ',
+ 'property_preset_type_description' => 'Specifies the conversion type',
+ 'property_attributes_title' => 'Atributy',
+ 'property_attributes_description' => 'Custom HTML attributes to add to the form field element.',
+ 'property_container_attributes_title' => 'Kontejnér atributů',
+ 'property_container_attributes_description' => 'Custom HTML attributes to add to the form field container element.',
+ 'property_group_advanced' => 'Pokročilé',
+ 'property_dependson_description' => 'A list of other field names this field depends on, when the other fields are modified, this field will update. One field per line.',
+ 'property_trigger_title' => 'Trigger',
+ 'property_trigger_description' => 'Allows to change elements attributes such as visibility or value, based on another elements\' state.',
+ 'property_default_from_description' => 'Takes the default value from the value of another field.',
+ 'property_field_name_required' => 'Název pole je povinný',
+ 'property_field_name_regex' => 'Název pole může obsahovat pouze písmena, číslice, podtržítka, pomlčky a hranaté závorky.',
+ 'property_attributes_size' => 'Velikost',
+ 'property_attributes_size_tiny' => 'Nejmenší',
+ 'property_attributes_size_small' => 'Malý',
+ 'property_attributes_size_large' => 'Normální',
+ 'property_attributes_size_huge' => 'Veliký',
+ 'property_attributes_size_giant' => 'Obrovský',
+ 'property_comment_position' => 'Zobrazit komentář',
+ 'property_comment_position_above' => 'Nad prvkem',
+ 'property_comment_position_below' => 'Pod prvkem',
+ 'property_hint_path' => 'Hint partial path',
+ 'property_hint_path_description' => 'Path to a partial file that contains the hint text. Use the $ symbol to refer the plugins root directory, for example: $/acme/blog/partials/_hint.htm',
+ 'property_hint_path_required' => 'Please enter the hint partial path',
+ 'property_partial_path' => 'Cesta k dílčímu souboru',
+ 'property_partial_path_description' => 'Path to a partial file. Use the $ symbol to refer the plugins root directory, for example: $/acme/blog/partials/_partial.htm',
+ 'property_partial_path_required' => 'Prosím zadejte cestu k dílčímu souboru',
+ 'property_code_language' => 'Jazyk',
+ 'property_code_theme' => 'Téma',
+ 'property_theme_use_default' => 'Použít výchozí téma',
+ 'property_group_code_editor' => 'Editor kódu',
+ 'property_gutter' => 'Výplň',
+ 'property_gutter_show' => 'Viditelný',
+ 'property_gutter_hide' => 'Skrytý',
+ 'property_wordwrap' => 'Word wrap',
+ 'property_wordwrap_wrap' => 'Wrap',
+ 'property_wordwrap_nowrap' => 'Don\'t wrap',
+ 'property_fontsize' => 'Velikost písma',
+ 'property_codefolding' => 'Code folding',
+ 'property_codefolding_manual' => 'Manual',
+ 'property_codefolding_markbegin' => 'Mark begin',
+ 'property_codefolding_markbeginend' => 'Mark begin and end',
+ 'property_autoclosing' => 'Automatické zavírání',
+ 'property_enabled' => 'Aktivní',
+ 'property_disabled' => 'Neaktivní',
+ 'property_soft_tabs' => 'Soft tabs',
+ 'property_tab_size' => 'Velikost záložky',
+ 'property_readonly' => 'Pouze pro čtení',
+ 'property_use_default' => 'Use default settings',
+ 'property_options' => 'Volby',
+ 'property_prompt' => 'Prompt',
+ 'property_prompt_description' => 'Text to display for the create button.',
+ 'property_prompt_default' => 'Přidat nový prvek',
+ 'property_available_colors' => 'Dostupné barvy',
+ 'property_available_colors_description' => 'List of available colors in hex format (#FF0000). Leave empty for the default color set. Enter one value per line.',
+ 'property_datepicker_mode' => 'Mód',
+ 'property_datepicker_mode_date' => 'Datum',
+ 'property_datepicker_mode_datetime' => 'Datum a čas',
+ 'property_datepicker_mode_time' => 'Čas',
+ 'property_datepicker_min_date' => 'Min datum',
+ 'property_datepicker_min_date_description' => 'The minimum/earliest date that can be selected. Leave empty for the default value (2000-01-01).',
+ 'property_datepicker_max_date' => 'Max datum',
+ 'property_datepicker_max_date_description' => 'The maximum/latest date that can be selected. Leave empty for the default value (2020-12-31).',
+ 'property_datepicker_date_invalid_format' => 'Invalid date format. Use format YYYY-MM-DD.',
+ 'property_markdown_mode' => 'Mód',
+ 'property_markdown_mode_split' => 'Rozdělit',
+ 'property_markdown_mode_tab' => 'Záložka',
+ 'property_fileupload_mode' => 'Mód',
+ 'property_fileupload_mode_file' => 'Soubor',
+ 'property_fileupload_mode_image' => 'Obrázek',
+ 'property_group_fileupload' => 'Nahrávání obrázků',
+ 'property_fileupload_prompt' => 'Prompt',
+ 'property_fileupload_prompt_description' => 'Text to display for the upload button, applies to File mode only, optional.',
+ 'property_fileupload_image_width' => 'Šířka obrázku',
+ 'property_fileupload_image_width_description' => 'Optional parameter - images will be resized to this width. Applies to Image mode only.',
+ 'property_fileupload_invalid_dimension' => 'Invalid dimension value - please enter a number.',
+ 'property_fileupload_image_height' => 'Výška obrázku',
+ 'property_fileupload_image_height_description' => 'Optional parameter - images will be resized to this height. Applies to Image mode only.',
+ 'property_fileupload_file_types' => 'Typy souborů',
+ 'property_fileupload_file_types_description' => 'Optional comma separated list of file extensions that are accepted by the uploader. Eg: zip,txt',
+ 'property_fileupload_mime_types' => 'MIME typy',
+ 'property_fileupload_mime_types_description' => 'Optional comma separated list of MIME types that are accepted by the uploader, either as file extensions or fully qualified names. Eg: bin,txt',
+ 'property_fileupload_use_caption' => 'Použít popisek',
+ 'property_fileupload_use_caption_description' => 'Allows a title and description to be set for the file.',
+ 'property_fileupload_thumb_options' => 'Volby náhledu',
+ 'property_fileupload_thumb_options_description' => 'Manages options for the automatically generated thumbnails. Applies only for the Image mode.',
+ 'property_fileupload_thumb_mode' => 'Mód',
+ 'property_fileupload_thumb_auto' => 'Auto',
+ 'property_fileupload_thumb_exact' => 'Přesně',
+ 'property_fileupload_thumb_portrait' => 'Portrét',
+ 'property_fileupload_thumb_landscape' => 'Krajina',
+ 'property_fileupload_thumb_crop' => 'Crop',
+ 'property_fileupload_thumb_extension' => 'Přípona souboru',
+ 'property_name_from' => 'Name column',
+ 'property_name_from_description' => 'Relation column name to use for displaying a name.',
+ 'property_description_from' => 'Description column',
+ 'property_description_from_description' => 'Relation column name to use for displaying a description.',
+ 'property_recordfinder_prompt' => 'Prompt',
+ 'property_recordfinder_prompt_description' => 'Text to display when there is no record selected. The %s character represents the search icon. Leave empty for the default prompt.',
+ 'property_recordfinder_list' => 'List configuration',
+ 'property_recordfinder_list_description' => 'A reference to a list column definition file. Use the $ symbol to refer the plugins root directory, for example: $/acme/blog/lists/_list.yaml',
+ 'property_recordfinder_list_required' => 'Please provide a path to the list YAML file',
+ 'property_group_recordfinder' => 'Record finder',
+ 'property_mediafinder_mode' => 'Mód',
+ 'property_mediafinder_mode_file' => 'Soubor',
+ 'property_mediafinder_mode_image' => 'Obrázek',
+ 'property_mediafinder_prompt' => 'Prompt',
+ 'property_mediafinder_prompt_description' => 'Text to display when there is no item selected. The %s character represents the media manager icon. Leave empty for the default prompt.',
+ 'property_group_relation' => 'Relace',
+ 'property_relation_prompt' => 'Prompt',
+ 'property_relation_prompt_description' => 'Text to display when there is no available selections.',
+ 'control_group_standard' => 'Standardní',
+ 'control_group_widgets' => 'Widgets',
+ 'click_to_add_control' => 'Přidat prvek',
+ 'loading' => 'Načítám...',
+ 'control_text' => 'Text',
+ 'control_text_description' => 'Single line text box',
+ 'control_password' => 'Heslo',
+ 'control_password_description' => 'Single line password text field',
+ 'control_checkbox' => 'Checkbox',
+ 'control_checkbox_description' => 'Single checkbox',
+ 'control_switch' => 'Přepínač',
+ 'control_switch_description' => 'Single switchbox, an alternative for checkbox',
+ 'control_textarea' => 'Víceřádkové textové pole',
+ 'control_textarea_description' => 'Multiline text box with controllable height',
+ 'control_dropdown' => 'Dropdown',
+ 'control_dropdown_description' => 'Dropdown list with static or dynamic options',
+ 'control_unknown' => 'Unknown control type: :type',
+ 'control_repeater' => 'Repeater',
+ 'control_repeater_description' => 'Outputs a repeating set of form controls',
+ 'control_number' => 'Číslo',
+ 'control_number_description' => 'Single line text box that takes numbers only',
+ 'control_hint' => 'Hint',
+ 'control_hint_description' => 'Outputs a partial contents in a box that can be hidden by the user',
+ 'control_partial' => 'Partial',
+ 'control_partial_description' => 'Outputs a partial contents',
+ 'control_section' => 'Sekce',
+ 'control_section_description' => 'Displays a form section with heading and subheading',
+ 'control_radio' => 'Radio list',
+ 'control_radio_description' => 'A list of radio options, where only one item can be selected at a time',
+ 'control_radio_option_1' => 'Volba 1',
+ 'control_radio_option_2' => 'Volba 2',
+ 'control_checkboxlist' => 'Checkbox list',
+ 'control_checkboxlist_description' => 'A list of checkboxes, where multiple items can be selected',
+ 'control_codeeditor' => 'Editor kódu',
+ 'control_codeeditor_description' => 'Plaintext editor for formatted code or markup',
+ 'control_colorpicker' => 'Výběr barvy',
+ 'control_colorpicker_description' => 'A field for selecting a hexadecimal color value',
+ 'control_datepicker' => 'Výběr data',
+ 'control_datepicker_description' => 'Text field used for selecting date and times',
+ 'control_richeditor' => 'Rich editor',
+ 'control_richeditor_description' => 'Visual editor for rich formatted text, also known as a WYSIWYG editor',
+ 'control_markdown' => 'Markdown editor',
+ 'control_markdown_description' => 'Basic editor for Markdown formatted text',
+ 'control_fileupload' => 'Nahrávání souborů',
+ 'control_fileupload_description' => 'File uploader for images or regular files',
+ 'control_recordfinder' => 'Record finder',
+ 'control_recordfinder_description' => 'Field with details of a related record with the record search feature',
+ 'control_mediafinder' => 'Media finder',
+ 'control_mediafinder_description' => 'Field for selecting an item from the Media Manager library',
+ 'control_relation' => 'Relace',
+ 'control_relation_description' => 'Displays either a dropdown or checkbox list for selecting a related record',
+ 'error_file_name_required' => 'Please enter the form file name.',
+ 'error_file_name_invalid' => 'The file name can contain only Latin letters, digits, underscores, dots and hashes.',
+ 'span_left' => 'Doleva',
+ 'span_right' => 'Doprava',
+ 'span_full' => 'Plná šířka',
+ 'span_auto' => 'Automaticky',
+ 'empty_tab' => 'Prázdná záložka',
+ 'confirm_close_tab' => 'The tab contains controls which will be deleted. Continue?',
+ 'tab' => 'Form tab',
+ 'tab_title' => 'Název',
+ 'controls' => 'Prvky formuláře',
+ 'property_tab_title_required' => 'Název záložky je povinný.',
+ 'tabs_primary' => 'Primární záložka',
+ 'tabs_secondary' => 'Vedlejší záložka',
+ 'tab_stretch' => 'Stretch',
+ 'tab_stretch_description' => 'Specifies if this tabs container stretches to fit the parent height.',
+ 'tab_css_class' => 'CSS třída',
+ 'tab_css_class_description' => 'Přiřadí CSS třídu kontejneru záložky.',
+ 'tab_name_template' => 'Záložka %s',
+ 'tab_already_exists' => 'Záložka s tímto názvem již existuje.'
+ ],
+ 'list' => [
+ 'tab_new_list' => 'Nový list',
+ 'saved'=> 'List byl úspěšně uložen.',
+ 'confirm_delete' => 'Opravdu chcete smazat tento list?',
+ 'tab_columns' => 'Sloupce',
+ 'btn_add_column' => 'Přidat sloupec',
+ 'btn_delete_column' => 'Smazat sloupec',
+ 'column_dbfield_label' => 'Field',
+ 'column_dbfield_required' => 'Please enter the model field',
+ 'column_name_label' => 'Popisek',
+ 'column_label_required' => 'Zadejte prosím popisek sloupce',
+ 'column_type_label' => 'Type',
+ 'column_type_required' => 'Zadejte prosím typ sloupce',
+ 'column_type_text' => 'Text',
+ 'column_type_number' => 'Číslo',
+ 'column_type_switch' => 'Switch',
+ 'column_type_datetime' => 'Datum a čas',
+ 'column_type_date' => 'Datum',
+ 'column_type_time' => 'Čas',
+ 'column_type_timesince' => 'Čas od',
+ 'column_type_timetense' => 'Čas do',
+ 'column_type_select' => 'Select',
+ 'column_type_partial' => 'Partial',
+ 'column_label_default' => 'Výchozí',
+ 'column_label_searchable' => 'Vyhledávání',
+ 'column_label_sortable' => 'Řazení',
+ 'column_label_invisible' => 'Neviditelný',
+ 'column_label_select' => 'Výběr',
+ 'column_label_relation' => 'Relace',
+ 'column_label_css_class' => 'CSS class',
+ 'column_label_width' => 'Šířka',
+ 'column_label_path' => 'Cesta',
+ 'column_label_format' => 'Formát',
+ 'column_label_value_from' => 'Hodnota od',
+ 'error_duplicate_column' => "Duplicitní pole sloupce: ':column'."
+ ],
+ 'controller' => [
+ 'menu_label' => 'Kontroléry',
+ 'no_records' => 'Žádné kontrolery nebyly nalezeny',
+ 'controller' => 'Kontrolér',
+ 'behaviors' => 'Chování',
+ 'new_controller' => 'Nový kontrolér',
+ 'error_controller_has_no_behaviors' => 'The controller doesn\'t have configurable behaviors.',
+ 'error_invalid_yaml_configuration' => 'Error loading behavior configuration file: :file',
+ 'behavior_form_controller' => 'Možnost vytvářet a měnit záznamy',
+ 'behavior_form_controller_description' => 'Přidá možnost vytvářet a měnit záznamy pomocí formulářů. Toto chování vytvoří tři pohledy pro tvorbu položky, úpravu a náhled.',
+ 'property_behavior_form_placeholder' => '--vyberte formulář--',
+ 'property_behavior_form_name' => 'Název',
+ 'property_behavior_form_name_description' => 'The name of the object being managed by this form',
+ 'property_behavior_form_name_required' => 'Please enter the form name',
+ 'property_behavior_form_file' => 'Form configuration',
+ 'property_behavior_form_file_description' => 'Reference to a form field definition file',
+ 'property_behavior_form_file_required' => 'Please enter a path to the form configuration file',
+ 'property_behavior_form_model_class' => 'Modelová třída',
+ 'property_behavior_form_model_class_description' => 'A model class name, the form data is loaded and saved against this model.',
+ 'property_behavior_form_model_class_required' => 'Please select a model class',
+ 'property_behavior_form_default_redirect' => 'Výchozí přesměrování',
+ 'property_behavior_form_default_redirect_description' => 'A page to redirect to by default when the form is saved or cancelled.',
+ 'property_behavior_form_create' => 'Create record page',
+ 'property_behavior_form_redirect' => 'Přesměrování',
+ 'property_behavior_form_redirect_description' => 'A page to redirect to when a record is created.',
+ 'property_behavior_form_redirect_close' => 'Close redirect',
+ 'property_behavior_form_redirect_close_description' => 'A page to redirect to when a record is created and the close post variable is sent with the request.',
+ 'property_behavior_form_flash_save' => 'Save flash message',
+ 'property_behavior_form_flash_save_description' => 'Flash message to display when record is saved.',
+ 'property_behavior_form_page_title' => 'Page title',
+ 'property_behavior_form_update' => 'Update record page',
+ 'property_behavior_form_update_redirect' => 'Přesměrování',
+ 'property_behavior_form_create_redirect_description' => 'A page to redirect to when a record is saved.',
+ 'property_behavior_form_flash_delete' => 'Delete flash message',
+ 'property_behavior_form_flash_delete_description' => 'Flash message to display when record is deleted.',
+ 'property_behavior_form_preview' => 'Preview record page',
+ 'behavior_list_controller' => 'Možnost listování záznamy',
+ 'behavior_list_controller_description' => 'Vytvoří tabulku s řazením a vyhledávání s možností definovat odkaz na detail jednotlivého záznamu. Chování automaticky vytvoří akci kontroléru "index".',
+ 'property_behavior_list_title' => 'List title',
+ 'property_behavior_list_title_required' => 'Please enter the list title',
+ 'property_behavior_list_placeholder' => '--select list--',
+ 'property_behavior_list_model_class' => 'Modelová třída',
+ 'property_behavior_list_model_class_description' => 'A model class name, the list data is loaded from this model.',
+ 'property_behavior_form_model_class_placeholder' => '--select model--',
+ 'property_behavior_list_model_class_required' => 'Please select a model class',
+ 'property_behavior_list_model_placeholder' => '--select model--',
+ 'property_behavior_list_file' => 'List configuration file',
+ 'property_behavior_list_file_description' => 'Reference to a list definition file',
+ 'property_behavior_list_file_required' => 'Please enter a path to the list configuration file',
+ 'property_behavior_list_record_url' => 'Record URL',
+ 'property_behavior_list_record_url_description' => 'Link each list record to another page. Eg: users/update:id. The :id part is replaced with the record identifier.',
+ 'property_behavior_list_no_records_message' => 'No records message',
+ 'property_behavior_list_no_records_message_description' => 'A message to display when no records are found',
+ 'property_behavior_list_recs_per_page' => 'Records per page',
+ 'property_behavior_list_recs_per_page_description' => 'Records to display per page, use 0 for no pages. Default: 0',
+ 'property_behavior_list_recs_per_page_regex' => 'Records per page should be an integer value',
+ 'property_behavior_list_show_setup' => 'Show setup button',
+ 'property_behavior_list_show_sorting' => 'Show sorting',
+ 'property_behavior_list_default_sort' => 'Default sorting',
+ 'property_behavior_form_ds_column' => 'Column',
+ 'property_behavior_form_ds_direction' => 'Direction',
+ 'property_behavior_form_ds_asc' => 'Ascending',
+ 'property_behavior_form_ds_desc' => 'Descending',
+ 'property_behavior_list_show_checkboxes' => 'Show checkboxes',
+ 'property_behavior_list_onclick' => 'On click handler',
+ 'property_behavior_list_onclick_description' => 'Custom JavaScript code to execute when clicking on a record.',
+ 'property_behavior_list_show_tree' => 'Show tree',
+ 'property_behavior_list_show_tree_description' => 'Displays a tree hierarchy for parent/child records.',
+ 'property_behavior_list_tree_expanded' => 'Tree expanded',
+ 'property_behavior_list_tree_expanded_description' => 'Determines if tree nodes should be expanded by default.',
+ 'property_behavior_list_toolbar' => 'Toolbar',
+ 'property_behavior_list_toolbar_buttons' => 'Buttons partial',
+ 'property_behavior_list_toolbar_buttons_description' => 'Reference to a controller partial file with the toolbar buttons. Eg: list_toolbar',
+ 'property_behavior_list_search' => 'Search',
+ 'property_behavior_list_search_prompt' => 'Search prompt',
+ 'property_behavior_list_filter' => 'Filter configuration',
+ 'error_controller_not_found' => 'Original controller file is not found.',
+ 'error_invalid_config_file_name' => 'The behavior :class configuration file name (:file) contains invalid characters and cannot be loaded.',
+ 'error_file_not_yaml' => 'The behavior :class configuration file (:file) is not a YAML file. Only YAML configuration files are supported.',
+ 'saved' => 'Kontrolér byl úspěšně uložen.',
+ 'controller_name' => 'Název kontroléru',
+ 'controller_name_description' => 'Název kontroléru definuje název třídy a URL kontroléru v administraci. Použijte prosím standardní pojmenování PHP tříd - první symbol je velkým písmenem a zbytek normálně, například: Categories, Posts, Products.',
+ 'base_model_class' => 'Rodičovská třída',
+ 'base_model_class_description' => 'Vyberte třídu modelu ze které bude tento kontrolér dědit. Chování kontroléru můžete nastavit později.',
+ 'base_model_class_placeholder' => '--vyberte model--',
+ 'controller_behaviors' => 'Chování',
+ 'controller_behaviors_description' => 'Vyberte chování, které má kontrolér implementovat. Builder automaticky vytvoří požadované soubory.',
+ 'controller_permissions' => 'Oprávnění',
+ 'controller_permissions_description' => 'Vyberte uživatelská práva potřebná pro tento kontrolér. Práva můžete nastavit v sekci Oprávnění v levém menu. Toto nastavení můžete později změnit v PHP skriptu.',
+ 'controller_permissions_no_permissions' => 'Plugin nemá vytvořena žádná oprávnění.',
+ 'menu_item' => 'Aktivní položka menu',
+ 'menu_item_description' => 'Vyberte položku menu, která bude aktivní pro tento kontrolér. Toto nastavení můžete kdykoli změnit v PHP skriptu.',
+ 'menu_item_placeholder' => '--vyberte položku menu--',
+ 'error_unknown_behavior' => 'Třída chování :class není registrovaná v knihovně všech chování.',
+ 'error_behavior_view_conflict' => 'The selected behaviors provide conflicting views (:view) and cannot be used together in a controller.',
+ 'error_behavior_config_conflict' => 'The selected behaviors provide conflicting configuration files (:file) and cannot be used together in a controller.',
+ 'error_behavior_view_file_not_found' => 'View template :view of the behavior :class cannot be found.',
+ 'error_behavior_config_file_not_found' => 'Configuration template :file of the behavior :class cannot be found.',
+ 'error_controller_exists' => 'Controller file already exists: :file.',
+ 'error_controller_name_invalid' => 'Invalid controller name format. The name can only contain digits and Latin letters. The first symbol should be a capital Latin letter.',
+ 'error_behavior_view_file_exists' => 'Controller view file already exists: :view.',
+ 'error_behavior_config_file_exists' => 'Behavior configuration file already exists: :file.',
+ 'error_save_file' => 'Error saving conroller file: :file',
+ 'error_behavior_requires_base_model' => 'Behavior :behavior requires a base model class to be selected.',
+ 'error_model_doesnt_have_lists' => 'The selected model doesn\'t have any lists. Please create a list first.',
+ 'error_model_doesnt_have_forms' => 'The selected model doesn\'t have any forms. Please create a form first.'
+ ],
+ 'version' => [
+ 'menu_label' => 'Verze',
+ 'no_records' => 'Žádné verze pluginu',
+ 'search' => 'Vyhledávání...',
+ 'tab' => 'Verze',
+ 'saved' => 'Verze byla úspěšně uložena.',
+ 'confirm_delete' => 'Opravdu chcete smazat vybranou verzi?',
+ 'tab_new_version' => 'Nová verze',
+ 'migration' => 'Migraci',
+ 'seeder' => 'Seeder',
+ 'custom' => 'Novou verzi',
+ 'apply_version' => 'Aplikovat tuto verzi',
+ 'applying' => 'Aplikování verze...',
+ 'rollback_version' => 'Vrátit na tuto verzi',
+ 'rolling_back' => 'Vracení zpět...',
+ 'applied' => 'Verze byla úspěšně aplikována.',
+ 'rolled_back' => 'Verze byla úspěšně vrácena zpět.',
+ 'hint_save_unapplied' => 'Byla uložena neaplikovaná verze. Neaplikované verze mohou být automaticky aplikovány po přihlášení do administrace jakýmkoli uživatelem a nebo pokud je databázová tabulka uložena v sekci Databáze.',
+ 'hint_rollback' => 'Vracení verze zpět rovněž vrátí zpět všechny novější verze. Neaplikované verze mohou být automaticky aplikovány po přihlášení do administrace jakýmkoli uživatelem a nebo pokud je databázová tabulka uložena v sekci Databáze.',
+ 'hint_apply' => 'Vracení verze zpět rovněž vrátí zpět všechny starší neaplikované verze.',
+ 'dont_show_again' => 'Znovu nezobrazovat',
+ 'save_unapplied_version' => 'Uložit neaplikovanou verzi'
+ ],
+ 'menu' => [
+ 'menu_label' => 'Menu administrace',
+ 'tab' => 'Menu',
+ 'items' => 'Položky menu',
+ 'saved' => 'Menu byla úspěšně uložena.',
+ 'add_main_menu_item' => 'Přidat položku menu',
+ 'new_menu_item' => 'Položka menu',
+ 'add_side_menu_item' => 'Přidat pod-položku',
+ 'side_menu_item' => 'Side menu item',
+ 'property_label' => 'Popisek',
+ 'property_label_required' => 'Zadejte prosím popisek položky menu.',
+ 'property_url_required' => 'Zadejte prosím URL položky menu.',
+ 'property_url' => 'URL',
+ 'property_icon' => 'Ikona',
+ 'property_icon_required' => 'Vyberte prosím ikonu',
+ 'property_permissions' => 'Oprávnění',
+ 'property_order' => 'Pořadí',
+ 'property_order_invalid' => 'Zadejte prosím pořadí položky menu jako číslo.',
+ 'property_order_description' => 'Pořadí položek určuje jejich posloupnost v menu. Pokud není pořadí zadáno, automaticky se umístí položka nakonec. Výchozí hodnoty pořadí jsou násobky 100.',
+ 'property_attributes' => 'HTML attributy',
+ 'property_code' => 'Kód',
+ 'property_code_invalid' => 'Kód položky může obsahovat pouze písmena a číslice',
+ 'property_code_required' => 'Zadejte prosím kód položky menu.',
+ 'error_duplicate_main_menu_code' => "Kód položky hlavního menu je duplicitní: ':code'.",
+ 'error_duplicate_side_menu_code' => "Kód položky postranního menu je duplicitní: ':code'.",
+ ],
+ 'localization' => [
+ 'menu_label' => 'Lokalizace',
+ 'language' => 'Zkratka jazyka',
+ 'strings' => 'Řetězce',
+ 'confirm_delete' => 'Opravdu chcete smazat soubor s překladem?',
+ 'tab_new_language' => 'Nový jazyk',
+ 'no_records' => 'Žádné jazyky nenalezeny',
+ 'saved' => 'Soubor s překladem byl úspěšně uložen.',
+ 'error_cant_load_file' => 'Nepodařilo se načíst požadovaný soubor protože neexistuje.',
+ 'error_bad_localization_file_contents' => 'Nepodařilo se načíst požadovaný soubor. Soubory s překladem mohou obsahovat pouze pole definující překlady řetězců.',
+ 'error_file_not_array' => 'Nepodařilo se načíst požadovaný soubor. Překladový soubor musí vrátit pole.',
+ 'save_error' => "Chyba ukládání souboru ':name'. Zkontrolujte prosím práva k zápisu.",
+ 'error_delete_file' => 'Chyba mazání překladového souboru.',
+ 'add_missing_strings' => 'Přidat chybějící řetězce',
+ 'copy' => 'Kopírovat',
+ 'add_missing_strings_label' => 'Vyberte jazyk ze kterého se zkopírují chybějící řetězce',
+ 'no_languages_to_copy_from' => 'Nejsou definovány žádné jazyky ze kterých bychom mohli zkopírovat řetězce.',
+ 'new_string_warning' => 'Nový řetězec nebo sekce',
+ 'structure_mismatch' => 'Struktura zdrojového jazykového souboru neodpovídá struktuře editovaného souboru. Některé nezávislé řetězce v editovaném souboru odpovídají sekcím ve zdrojovém souboru (nebo naopak) a nemohou být automaticky sloučeny.',
+ 'create_string' => 'Vytvořit nový řetězec',
+ 'string_key_label' => 'Klíč řetězce',
+ 'string_key_comment' => 'Zadejte klíč řetězce s použitím tečky jako oddělovače, například: plugin.search. Řetězec bude vytvořen ve výchozím jazykovém souboru pluginu.',
+ 'string_value' => 'Hodnota řetězce',
+ 'string_key_is_empty' => 'Musíte vyplnit klíč řetězce',
+ 'string_value_is_empty' => 'Musíte vyplnit hodnotu řetězce',
+ 'string_key_exists' => 'Takový klíč řetězce již existuje',
+ ],
+ 'permission' => [
+ 'menu_label' => 'Oprávnění',
+ 'tab' => 'Oprávnění',
+ 'form_tab_permissions' => 'Oprávnění',
+ 'btn_add_permission' => 'Přidat oprávnění',
+ 'btn_delete_permission' => 'Smazat oprávnění',
+ 'column_permission_label' => 'Kód oprávnění',
+ 'column_permission_required' => 'Zadejte prosím kód oprávnění',
+ 'column_tab_label' => 'Název záložky',
+ 'column_tab_required' => 'Zadejte prosím název záložky oprávnění',
+ 'column_label_label' => 'Popisek',
+ 'column_label_required' => 'Zadejte prosím popisek oprávnění',
+ 'saved' => 'Oprávnění bylo úspěšně uloženo.',
+ 'error_duplicate_code' => "Kód oprávnění je duplicitní: ':code'.",
+ ],
+ 'yaml' => [
+ 'save_error' => "Chyba ukládání souboru ':name'. Zkontrolujte prosím práva k zápisu.",
+ ],
+ 'common' => [
+ 'error_file_exists' => "Soubor již existuje: ':path'.",
+ 'field_icon_description' => 'October používá ikony Font Autumn: http://octobercms.com/docs/ui/icon',
+ 'destination_dir_not_exists' => "Cílový adresář neexistuje: ':path'.",
+ 'error_make_dir' => "Chyba vytváření adresáře: ':name'.",
+ 'error_dir_exists' => "Adresář již existuje: ':path'.",
+ 'template_not_found' => "Soubor šablony nebyl nalezen: ':name'.",
+ 'error_generating_file' => "Chyba vytváření souboru: ':path'.",
+ 'error_loading_template' => "Chyba načtení souboru šablony: ':name'.",
+ 'select_plugin_first' => 'Nejdříve vyberte plugin. Pro zobrazení všech pluginů klikněte na symbol > na vrchu levého menu.',
+ 'plugin_not_selected' => 'Není vybrán žádný plugin',
+ 'add' => 'Přidat',
+ ],
+ 'migration' => [
+ 'entity_name' => 'Migrace',
+ 'error_version_invalid' => 'The version should be specified in format 1.0.1',
+ 'field_version' => 'Verze',
+ 'field_description' => 'Popis migrace',
+ 'field_code' => 'Kód migrace',
+ 'field_code_comment' => 'Kód migrace je pouze pro čtení a slouží pouze pro náhled. Vlastní migraci můžete vytvořit v sekci Verze v levém menu.',
+ 'save_and_apply' => 'Uložit a aplikovat',
+ 'error_version_exists' => 'Tato verze migrace již existuje.',
+ 'error_script_filename_invalid' => 'The migration script file name can contain only Latin letters, digits and underscores. The name should start with a Latin letter and could not contain spaces.',
+ 'error_cannot_change_version_number' => 'Cannot change version number for an applied version.',
+ 'error_file_must_define_class' => 'Migration code should define a migration or seeder class. Leave the code field blank if you only want to update the version number.',
+ 'error_file_must_define_namespace' => 'Migration code should define a namespace. Leave the code field blank if you only want to update the version number.',
+ 'no_changes_to_save' => 'Žádné změny k uložení.',
+ 'error_namespace_mismatch' => "Migrační kód by měl používat jmenný prostor pluginu: :namespace",
+ 'error_migration_file_exists' => "Migrační soubor :file již existuje. Zadejte prosím jiný název třídy.",
+ 'error_cant_delete_applied' => 'This version has already been applied and cannot be deleted. Please rollback the version first.',
+ ],
+ 'components' => [
+ 'list_title' => 'Record list',
+ 'list_description' => 'Displays a list of records for a selected model',
+ 'list_page_number' => 'Číslo stránky',
+ 'list_page_number_description' => 'This value is used to determine what page the user is on.',
+ 'list_records_per_page' => 'Records per page',
+ 'list_records_per_page_description' => 'Number of records to display on a single page. Leave empty to disable pagination.',
+ 'list_records_per_page_validation' => 'Invalid format of the records per page value. The value should be a number.',
+ 'list_no_records' => 'No records message',
+ 'list_no_records_description' => 'Message to display in the list in case if there are no records. Used in the default component\'s partial.',
+ 'list_no_records_default' => 'Žádné záznamy nebyly nalezeny',
+ 'list_sort_column' => 'Sort by column',
+ 'list_sort_column_description' => 'Model column the records should be ordered by',
+ 'list_sort_direction' => 'Směr',
+ 'list_display_column' => 'Display column',
+ 'list_display_column_description' => 'Column to display in the list. Used in the default component\'s partial.',
+ 'list_display_column_required' => 'Please select a display column.',
+ 'list_details_page' => 'Details page',
+ 'list_details_page_description' => 'Page to display record details.',
+ 'list_details_page_no' => '--no details page--',
+ 'list_sorting' => 'Řazení',
+ 'list_pagination' => 'Stránkování',
+ 'list_order_direction_asc' => 'Vzestupně',
+ 'list_order_direction_desc' => 'Sestupně',
+ 'list_model' => 'Modelová třída',
+ 'list_scope' => 'Scope',
+ 'list_scope_description' => 'Optional model scope to fetch the records',
+ 'list_scope_default' => '--select a scope, optional--',
+ 'list_details_page_link' => 'Link to the details page',
+ 'list_details_key_column' => 'Details key column',
+ 'list_details_key_column_description' => 'Model column to use as a record identifier in the details page links.',
+ 'list_details_url_parameter' => 'URL parameter name',
+ 'list_details_url_parameter_description' => 'Name of the details page URL parameter which takes the record identifier.',
+ 'details_title' => 'Record details',
+ 'details_description' => 'Displays record details for a selected model',
+ 'details_model' => 'Modelová třída',
+ 'details_identifier_value' => 'Identifier value',
+ 'details_identifier_value_description' => 'Identifier value to load the record from the database. Specify a fixed value or URL parameter name.',
+ 'details_identifier_value_required' => 'The identifier value is required',
+ 'details_key_column' => 'Key column',
+ 'details_key_column_description' => 'Model column to use as a record identifier for fetching the record from the database.',
+ 'details_key_column_required' => 'The key column name is required',
+ 'details_display_column' => 'Display column',
+ 'details_display_column_description' => 'Model column to display on the details page. Used in the default component\'s partial.',
+ 'details_display_column_required' => 'Please select a display column.',
+ 'details_not_found_message' => 'Not found message',
+ 'details_not_found_message_description' => 'Message to display if the record is not found. Used in the default component\'s partial.',
+ 'details_not_found_message_default' => 'Záznam nebyl nalezen',
+ ]
+];
diff --git a/server/plugins/rainlab/builder/lang/en/lang.php b/server/plugins/rainlab/builder/lang/en/lang.php
new file mode 100644
index 0000000..6512294
--- /dev/null
+++ b/server/plugins/rainlab/builder/lang/en/lang.php
@@ -0,0 +1,684 @@
+ [
+ 'name' => 'Builder',
+ 'description' => 'Provides visual tools for building October plugins.',
+ 'add' => 'Create plugin',
+ 'no_records' => 'No plugins found',
+ 'no_name' => 'No name',
+ 'search' => 'Search...',
+ 'filter_description' => 'Display all plugins or only your plugins.',
+ 'settings' => 'Settings',
+ 'entity_name' => 'Plugin',
+ 'field_name' => 'Name',
+ 'field_author' => 'Author',
+ 'field_description' => 'Description',
+ 'field_icon' => 'Plugin icon',
+ 'field_plugin_namespace' => 'Plugin namespace',
+ 'field_author_namespace' => 'Author namespace',
+ 'field_namespace_description' => 'Namespace can contain only Latin letters and digits and should start with a Latin letter. Example plugin namespace: Blog',
+ 'field_author_namespace_description' => 'You cannot change the namespaces with Builder after you create the plugin. Example author namespace: JohnSmith',
+ 'tab_general' => 'General parameters',
+ 'tab_description' => 'Description',
+ 'field_homepage' => 'Plugin homepage URL',
+ 'no_description' => 'No description provided for this plugin',
+ 'error_settings_not_editable' => 'Settings of this plugin cannot be edited with Builder.',
+ 'update_hint' => 'You can edit localized plugin\'s name and description on the Localization tab.',
+ 'manage_plugins' => 'Create and edit plugins',
+ ],
+ 'author_name' => [
+ 'title' => 'Author name',
+ 'description' => 'Default author name to use for your new plugins. The author name is not fixed - you can change it in the plugins configuration at any time.',
+ ],
+ 'author_namespace' => [
+ 'title' => 'Author namespace',
+ 'description' => 'If you develop for the Marketplace, the namespace should match the author code and cannot be changed. Refer to the documentation for details.',
+ ],
+ 'database' => [
+ 'menu_label' => 'Database',
+ 'no_records' => 'No tables found',
+ 'search' => 'Search...',
+ 'confirmation_delete_multiple' => 'Delete the selected tables?',
+ 'field_name' => 'Table name',
+ 'tab_columns' => 'Columns',
+ 'column_name_name' => 'Column',
+ 'column_name_required' => 'Please provide the column name',
+ 'column_name_type' => 'Type',
+ 'column_type_required' => 'Please select the column type',
+ 'column_name_length' => 'Length',
+ 'column_validation_length' => 'The Length value should be integer or specified as precision and scale (10,2) for decimal columns. Spaces are not allowed in the length column.',
+ 'column_validation_title' => 'Only digits, lower-case Latin letters and underscores are allowed in column names',
+ 'column_name_unsigned' => 'Unsigned',
+ 'column_name_nullable' => 'Nullable',
+ 'column_auto_increment' => 'AUTOINCR',
+ 'column_default' => 'Default',
+ 'column_auto_primary_key' => 'PK',
+ 'tab_new_table' => 'New table',
+ 'btn_add_column' => 'Add column',
+ 'btn_delete_column' => 'Delete column',
+ 'btn_add_timestamps' => 'Add timestamps',
+ 'btn_add_soft_deleting' => 'Add soft deleting support',
+ 'timestamps_exist' => 'created_at and deleted_at columns already exist in the table.',
+ 'soft_deleting_exist' => 'deleted_at column already exists in the table.',
+ 'confirm_delete' => 'Delete the table?',
+ 'error_enum_not_supported' => 'The table contains column(s) with type "enum" which is not currently supported by the Builder.',
+ 'error_table_name_invalid_prefix' => "Table name should start with the plugin prefix: ':prefix'.",
+ 'error_table_name_invalid_characters' => 'Invalid table name. Table names should contain only Latin letters, digits and underscores. Names should start with a Latin letter and could not contain spaces.',
+ 'error_table_duplicate_column' => "Duplicate column name: ':column'.",
+ 'error_table_auto_increment_in_compound_pk' => 'An auto-increment column cannot be a part of a compound primary key.',
+ 'error_table_mutliple_auto_increment' => 'The table cannot contain multiple auto-increment columns.',
+ 'error_table_auto_increment_non_integer' => 'Auto-increment columns should have integer type.',
+ 'error_table_decimal_length' => "The Length parameter for :type type should be in format '10,2', without spaces.",
+ 'error_table_length' => 'The Length parameter for :type type should be specified as integer.',
+ 'error_unsigned_type_not_int' => "Error in the ':column' column. The Unsigned flag can be applied only to integer type columns.",
+ 'error_integer_default_value' => "Invalid default value for the integer column ':column'. The allowed formats are '10', '-10'.",
+ 'error_decimal_default_value' => "Invalid default value for the decimal or double column ':column'. The allowed formats are '1.00', '-1.00'.",
+ 'error_boolean_default_value' => "Invalid default value for the boolean column ':column'. The allowed values are '0' and '1'.",
+ 'error_unsigned_negative_value' => "The default value for the unsigned column ':column' can't be negative.",
+ 'error_table_already_exists' => "The table ':name' already exists in the database.",
+ 'error_table_name_too_long' => "The table name should not be longer than 64 characters.",
+ 'error_column_name_too_long' => "The column name ':column' is too long. Column names should not be longer than 64 characters."
+ ],
+ 'model' => [
+ 'menu_label' => 'Models',
+ 'entity_name' => 'Model',
+ 'no_records' => 'No models found',
+ 'search' => 'Search...',
+ 'add' => 'Add...',
+ 'forms' => 'Forms',
+ 'lists' => 'Lists',
+ 'field_class_name' => 'Class name',
+ 'field_database_table' => 'Database table',
+ 'field_add_timestamps' => 'Add timestamp support',
+ 'field_add_timestamps_description' => 'The database table must have created_at and updated_at columns.',
+ 'field_add_soft_deleting' => 'Add soft deleting support',
+ 'field_add_soft_deleting_description' => 'The database table must have deleted_at column.',
+ 'error_class_name_exists' => 'Model file already exists for the specified class name: :path',
+ 'error_timestamp_columns_must_exist' => 'The database table must have created_at and updated_at columns.',
+ 'error_deleted_at_column_must_exist' => 'The database table must have deleted_at column.',
+ 'add_form' => 'Add form',
+ 'add_list' => 'Add list',
+ ],
+ 'form' => [
+ 'saved' => 'Form saved',
+ 'confirm_delete' => 'Delete the form?',
+ 'tab_new_form' => 'New form',
+ 'property_label_title' => 'Label',
+ 'property_label_required' => 'Please specify the control label.',
+ 'property_span_title' => 'Span',
+ 'property_comment_title' => 'Comment',
+ 'property_comment_above_title' => 'Comment above',
+ 'property_default_title' => 'Default',
+ 'property_checked_default_title' => 'Checked by default',
+ 'property_css_class_title' => 'CSS class',
+ 'property_css_class_description' => 'Optional CSS class to assign to the field container.',
+ 'property_disabled_title' => 'Disabled',
+ 'property_hidden_title' => 'Hidden',
+ 'property_required_title' => 'Required',
+ 'property_field_name_title' => 'Field name',
+ 'property_placeholder_title' => 'Placeholder',
+ 'property_default_from_title' => 'Default from',
+ 'property_stretch_title' => 'Stretch',
+ 'property_stretch_description' => 'Specifies if this field stretches to fit the parent height.',
+ 'property_context_title' => 'Context',
+ 'property_context_description' => 'Specifies what form context should be used when displaying the field.',
+ 'property_context_create' => 'Create',
+ 'property_context_update' => 'Update',
+ 'property_context_preview' => 'Preview',
+ 'property_dependson_title' => 'Depends on',
+ 'property_trigger_action' => 'Action',
+ 'property_trigger_show' => 'Show',
+ 'property_trigger_hide' => 'Hide',
+ 'property_trigger_enable' => 'Enable',
+ 'property_trigger_disable' => 'Disable',
+ 'property_trigger_empty' => 'Empty',
+ 'property_trigger_field' => 'Field',
+ 'property_trigger_field_description' => 'Defines the other field name that will trigger the action.',
+ 'property_trigger_condition' => 'Condition',
+ 'property_trigger_condition_description' => 'Determines the condition the specified field should satisfy for the condition to be considered "true". Supported values: checked, unchecked, value[somevalue].',
+ 'property_trigger_condition_checked' => 'Checked',
+ 'property_trigger_condition_unchecked' => 'Unchecked',
+ 'property_trigger_condition_somevalue' => 'value[enter-the-value-here]',
+ 'property_preset_title' => 'Preset',
+ 'property_preset_description' => 'Allows the field value to be initially set by the value of another field, converted using the input preset converter.',
+ 'property_preset_field' => 'Field',
+ 'property_preset_field_description' => 'Defines the other field name to source the value from.',
+ 'property_preset_type' => 'Type',
+ 'property_preset_type_description' => 'Specifies the conversion type',
+ 'property_attributes_title' => 'Attributes',
+ 'property_attributes_description' => 'Custom HTML attributes to add to the form field element.',
+ 'property_container_attributes_title' => 'Container attributes',
+ 'property_container_attributes_description' => 'Custom HTML attributes to add to the form field container element.',
+ 'property_group_advanced' => 'Advanced',
+ 'property_dependson_description' => 'A list of other field names this field depends on, when the other fields are modified, this field will update. One field per line.',
+ 'property_trigger_title' => 'Trigger',
+ 'property_trigger_description' => 'Allows to change elements attributes such as visibility or value, based on another elements\' state.',
+ 'property_default_from_description' => 'Takes the default value from the value of another field.',
+ 'property_field_name_required' => 'The field name is required',
+ 'property_field_name_regex' => 'The field name can contain only Latin letters, digits, underscores, dashes and square brackets.',
+ 'property_attributes_size' => 'Size',
+ 'property_attributes_size_tiny' => 'Tiny',
+ 'property_attributes_size_small' => 'Small',
+ 'property_attributes_size_large' => 'Large',
+ 'property_attributes_size_huge' => 'Huge',
+ 'property_attributes_size_giant' => 'Giant',
+ 'property_comment_position' => 'Comment position',
+ 'property_comment_position_above' => 'Above',
+ 'property_comment_position_below' => 'Below',
+ 'property_hint_path' => 'Hint partial path',
+ 'property_hint_path_description' => 'Path to a partial file that contains the hint text. Use the $ symbol to refer the plugins root directory, for example: $/acme/blog/partials/_hint.htm',
+ 'property_hint_path_required' => 'Please enter the hint partial path',
+ 'property_partial_path' => 'Partial path',
+ 'property_partial_path_description' => 'Path to a partial file. Use the $ symbol to refer the plugins root directory, for example: $/acme/blog/partials/_partial.htm',
+ 'property_partial_path_required' => 'Please enter the partial path',
+ 'property_code_language' => 'Language',
+ 'property_code_theme' => 'Theme',
+ 'property_theme_use_default' => 'Use default theme',
+ 'property_group_code_editor' => 'Code editor',
+ 'property_gutter' => 'Gutter',
+ 'property_gutter_show' => 'Visible',
+ 'property_gutter_hide' => 'Hidden',
+ 'property_wordwrap' => 'Word wrap',
+ 'property_wordwrap_wrap' => 'Wrap',
+ 'property_wordwrap_nowrap' => 'Don\'t wrap',
+ 'property_fontsize' => 'Font size',
+ 'property_codefolding' => 'Code folding',
+ 'property_codefolding_manual' => 'Manual',
+ 'property_codefolding_markbegin' => 'Mark begin',
+ 'property_codefolding_markbeginend' => 'Mark begin and end',
+ 'property_autoclosing' => 'Auto closing',
+ 'property_enabled' => 'Enabled',
+ 'property_disabled' => 'Disabled',
+ 'property_soft_tabs' => 'Soft tabs',
+ 'property_tab_size' => 'Tab size',
+ 'property_readonly' => 'Read only',
+ 'property_use_default' => 'Use default settings',
+ 'property_options' => 'Options',
+ 'property_prompt' => 'Prompt',
+ 'property_prompt_description' => 'Text to display for the create button.',
+ 'property_prompt_default' => 'Add new item',
+ 'property_available_colors' => 'Available colors',
+ 'property_available_colors_description' => 'List of available colors in hex format (#FF0000). Leave empty for the default color set. Enter one value per line.',
+ 'property_datepicker_mode' => 'Mode',
+ 'property_datepicker_mode_date' => 'Date',
+ 'property_datepicker_mode_datetime' => 'Date and time',
+ 'property_datepicker_mode_time' => 'Time',
+ 'property_datepicker_min_date' => 'Min date',
+ 'property_datepicker_min_date_description' => 'The minimum/earliest date that can be selected. Leave empty for the default value (2000-01-01).',
+ 'property_datepicker_max_date' => 'Max date',
+ 'property_datepicker_max_date_description' => 'The maximum/latest date that can be selected. Leave empty for the default value (2020-12-31).',
+ 'property_datepicker_date_invalid_format' => 'Invalid date format. Use format YYYY-MM-DD.',
+ 'property_datepicker_year_range' => 'Year range',
+ 'property_datepicker_year_range_description' => 'Number of years either side (eg 10) or array of upper/lower range (eg [1900,2015]). Leave empty for the default value (10).',
+ 'property_datepicker_year_range_invalid_format' => 'Invalid year range format. Use number (eg "10") or array of upper/lower range (eg "[1900,2015]")',
+ 'property_markdown_mode' => 'Mode',
+ 'property_markdown_mode_split' => 'Split',
+ 'property_markdown_mode_tab' => 'Tab',
+ 'property_fileupload_mode' => 'Mode',
+ 'property_fileupload_mode_file' => 'File',
+ 'property_fileupload_mode_image' => 'Image',
+ 'property_group_fileupload' => 'File upload',
+ 'property_fileupload_prompt' => 'Prompt',
+ 'property_fileupload_prompt_description' => 'Text to display for the upload button, applies to File mode only, optional.',
+ 'property_fileupload_image_width' => 'Image width',
+ 'property_fileupload_image_width_description' => 'Optional parameter - images will be resized to this width. Applies to Image mode only.',
+ 'property_fileupload_invalid_dimension' => 'Invalid dimension value - please enter a number.',
+ 'property_fileupload_image_height' => 'Image height',
+ 'property_fileupload_image_height_description' => 'Optional parameter - images will be resized to this height. Applies to Image mode only.',
+ 'property_fileupload_file_types' => 'File types',
+ 'property_fileupload_file_types_description' => 'Optional comma separated list of file extensions that are accepted by the uploader. Eg: zip,txt',
+ 'property_fileupload_mime_types' => 'MIME types',
+ 'property_fileupload_mime_types_description' => 'Optional comma separated list of MIME types that are accepted by the uploader, either as file extensions or fully qualified names. Eg: bin,txt',
+ 'property_fileupload_use_caption' => 'Use caption',
+ 'property_fileupload_use_caption_description' => 'Allows a title and description to be set for the file.',
+ 'property_fileupload_thumb_options' => 'Thumbnail options',
+ 'property_fileupload_thumb_options_description' => 'Manages options for the automatically generated thumbnails. Applies only for the Image mode.',
+ 'property_fileupload_thumb_mode' => 'Mode',
+ 'property_fileupload_thumb_auto' => 'Auto',
+ 'property_fileupload_thumb_exact' => 'Exact',
+ 'property_fileupload_thumb_portrait' => 'Portrait',
+ 'property_fileupload_thumb_landscape' => 'Landscape',
+ 'property_fileupload_thumb_crop' => 'Crop',
+ 'property_fileupload_thumb_extension' => 'File extension',
+ 'property_name_from' => 'Name column',
+ 'property_name_from_description' => 'Relation column name to use for displaying a name.',
+ 'property_relation_select' => 'Select',
+ 'property_relation_select_description' => 'CONCAT multiple columns together for displaying a name',
+ 'property_description_from' => 'Description column',
+ 'property_description_from_description' => 'Relation column name to use for displaying a description.',
+ 'property_recordfinder_prompt' => 'Prompt',
+ 'property_recordfinder_prompt_description' => 'Text to display when there is no record selected. The %s character represents the search icon. Leave empty for the default prompt.',
+ 'property_recordfinder_list' => 'List configuration',
+ 'property_recordfinder_list_description' => 'A reference to a list column definition file. Use the $ symbol to refer the plugins root directory, for example: $/acme/blog/lists/_list.yaml',
+ 'property_recordfinder_list_required' => 'Please provide a path to the list YAML file',
+ 'property_group_recordfinder' => 'Record finder',
+ 'property_mediafinder_mode' => 'Mode',
+ 'property_mediafinder_mode_file' => 'File',
+ 'property_mediafinder_mode_image' => 'Image',
+ 'property_mediafinder_prompt' => 'Prompt',
+ 'property_mediafinder_prompt_description' => 'Text to display when there is no item selected. The %s character represents the media manager icon. Leave empty for the default prompt.',
+ 'property_mediafinder_image_width_description' => 'If using image type, the preview image will be displayed to this width, optional.',
+ 'property_mediafinder_image_height_description' => 'If using image type, the preview image will be displayed to this height, optional.',
+ 'property_group_relation' => 'Relation',
+ 'property_relation_prompt' => 'Prompt',
+ 'property_relation_prompt_description' => 'Text to display when there is no available selections.',
+ 'property_empty_option' => 'Empty option',
+ 'property_empty_option_description' => 'The empty option corresponds to the empty selection, but unlike the placeholder it can be reselected.',
+ 'property_max_items' => 'Max items',
+ 'property_max_items_description' => 'Maximum number of items to allow within the repeater.',
+ 'control_group_standard' => 'Standard',
+ 'control_group_widgets' => 'Widgets',
+ 'click_to_add_control' => 'Add control',
+ 'loading' => 'Loading...',
+ 'control_text' => 'Text',
+ 'control_text_description' => 'Single line text box',
+ 'control_password' => 'Password',
+ 'control_password_description' => 'Single line password text field',
+ 'control_checkbox' => 'Checkbox',
+ 'control_checkbox_description' => 'Single checkbox',
+ 'control_switch' => 'Switch',
+ 'control_switch_description' => 'Single switchbox, an alternative for checkbox',
+ 'control_textarea' => 'Text area',
+ 'control_textarea_description' => 'Multiline text box with controllable height',
+ 'control_dropdown' => 'Dropdown',
+ 'control_dropdown_description' => 'Dropdown list with static or dynamic options',
+ 'control_balloon-selector' => 'Balloon Selector',
+ 'control_balloon-selector_description' => 'List where only one item can be selected at a time with static or dynamic options',
+ 'control_unknown' => 'Unknown control type: :type',
+ 'control_repeater' => 'Repeater',
+ 'control_repeater_description' => 'Outputs a repeating set of form controls',
+ 'control_number' => 'Number',
+ 'control_number_description' => 'Single line text box that takes numbers only',
+ 'control_hint' => 'Hint',
+ 'control_hint_description' => 'Outputs a partial contents in a box that can be hidden by the user',
+ 'control_partial' => 'Partial',
+ 'control_partial_description' => 'Outputs a partial contents',
+ 'control_section' => 'Section',
+ 'control_section_description' => 'Displays a form section with heading and subheading',
+ 'control_radio' => 'Radio list',
+ 'control_radio_description' => 'A list of radio options, where only one item can be selected at a time',
+ 'control_radio_option_1' => 'Option 1',
+ 'control_radio_option_2' => 'Option 2',
+ 'control_checkboxlist' => 'Checkbox list',
+ 'control_checkboxlist_description' => 'A list of checkboxes, where multiple items can be selected',
+ 'control_codeeditor' => 'Code editor',
+ 'control_codeeditor_description' => 'Plaintext editor for formatted code or markup',
+ 'control_colorpicker' => 'Color picker',
+ 'control_colorpicker_description' => 'A field for selecting a hexadecimal color value',
+ 'control_datepicker' => 'Date picker',
+ 'control_datepicker_description' => 'Text field used for selecting date and times',
+ 'control_richeditor' => 'Rich editor',
+ 'control_richeditor_description' => 'Visual editor for rich formatted text, also known as a WYSIWYG editor',
+ 'control_markdown' => 'Markdown editor',
+ 'control_markdown_description' => 'Basic editor for Markdown formatted text',
+ 'control_fileupload' => 'File upload',
+ 'control_fileupload_description' => 'File uploader for images or regular files',
+ 'control_recordfinder' => 'Record finder',
+ 'control_recordfinder_description' => 'Field with details of a related record with the record search feature',
+ 'control_mediafinder' => 'Media finder',
+ 'control_mediafinder_description' => 'Field for selecting an item from the Media Manager library',
+ 'control_relation' => 'Relation',
+ 'control_relation_description' => 'Displays either a dropdown or checkbox list for selecting a related record',
+ 'error_file_name_required' => 'Please enter the form file name.',
+ 'error_file_name_invalid' => 'The file name can contain only Latin letters, digits, underscores, dots and hashes.',
+ 'span_left' => 'Left',
+ 'span_right' => 'Right',
+ 'span_full' => 'Full',
+ 'span_auto' => 'Auto',
+ 'empty_tab' => 'Empty tab',
+ 'confirm_close_tab' => 'The tab contains controls which will be deleted. Continue?',
+ 'tab' => 'Form tab',
+ 'tab_title' => 'Title',
+ 'controls' => 'Controls',
+ 'property_tab_title_required' => 'The tab title is required.',
+ 'tabs_primary' => 'Primary tabs',
+ 'tabs_secondary' => 'Secondary tabs',
+ 'tab_stretch' => 'Stretch',
+ 'tab_stretch_description' => 'Specifies if this tabs container stretches to fit the parent height.',
+ 'tab_css_class' => 'CSS class',
+ 'tab_css_class_description' => 'Assigns a CSS class to the tabs container.',
+ 'tab_name_template' => 'Tab %s',
+ 'tab_already_exists' => 'Tab with the specified title already exists.',
+ ],
+ 'list' => [
+ 'tab_new_list' => 'New list',
+ 'saved' => 'List saved',
+ 'confirm_delete' => 'Delete the list?',
+ 'tab_columns' => 'Columns',
+ 'btn_add_column' => 'Add column',
+ 'btn_delete_column' => 'Delete column',
+ 'column_dbfield_label' => 'Field',
+ 'column_dbfield_required' => 'Please enter the model field',
+ 'column_name_label' => 'Label',
+ 'column_label_required' => 'Please provide the column label',
+ 'column_type_label' => 'Type',
+ 'column_type_required' => 'Please provide the column type',
+ 'column_type_text' => 'Text',
+ 'column_type_number' => 'Number',
+ 'column_type_switch' => 'Switch',
+ 'column_type_datetime' => 'Datetime',
+ 'column_type_date' => 'Date',
+ 'column_type_time' => 'Time',
+ 'column_type_timesince' => 'Time since',
+ 'column_type_timetense' => 'Time tense',
+ 'column_type_select' => 'Select',
+ 'column_type_partial' => 'Partial',
+ 'column_label_default' => 'Default',
+ 'column_label_searchable' => 'Search',
+ 'column_label_sortable' => 'Sort',
+ 'column_label_invisible' => 'Invisible',
+ 'column_label_select' => 'Select',
+ 'column_label_relation' => 'Relation',
+ 'column_label_css_class' => 'CSS class',
+ 'column_label_width' => 'Width',
+ 'column_label_path' => 'Path',
+ 'column_label_format' => 'Format',
+ 'column_label_value_from' => 'Value from',
+ 'error_duplicate_column' => "Duplicate column field name: ':column'.",
+ 'btn_add_database_columns' => 'Add database columns',
+ 'all_database_columns_exist' => 'All database columns are already defined in the list'
+ ],
+ 'controller' => [
+ 'menu_label' => 'Controllers',
+ 'no_records' => 'No plugin controllers found',
+ 'controller' => 'Controller',
+ 'behaviors' => 'Behaviors',
+ 'new_controller' => 'New controller',
+ 'error_controller_has_no_behaviors' => 'The controller doesn\'t have configurable behaviors.',
+ 'error_invalid_yaml_configuration' => 'Error loading behavior configuration file: :file',
+ 'behavior_form_controller' => 'Form controller behavior',
+ 'behavior_form_controller_description' => 'Adds form functionality to a back-end page. The behavior provides three pages called Create, Update and Preview.',
+ 'property_behavior_form_placeholder' => '--select form--',
+ 'property_behavior_form_name' => 'Name',
+ 'property_behavior_form_name_description' => 'The name of the object being managed by this form',
+ 'property_behavior_form_name_required' => 'Please enter the form name',
+ 'property_behavior_form_file' => 'Form configuration',
+ 'property_behavior_form_file_description' => 'Reference to a form field definition file',
+ 'property_behavior_form_file_required' => 'Please enter a path to the form configuration file',
+ 'property_behavior_form_model_class' => 'Model class',
+ 'property_behavior_form_model_class_description' => 'A model class name, the form data is loaded and saved against this model.',
+ 'property_behavior_form_model_class_required' => 'Please select a model class',
+ 'property_behavior_form_default_redirect' => 'Default redirect',
+ 'property_behavior_form_default_redirect_description' => 'A page to redirect to by default when the form is saved or cancelled.',
+ 'property_behavior_form_create' => 'Create record page',
+ 'property_behavior_form_redirect' => 'Redirect',
+ 'property_behavior_form_redirect_description' => 'A page to redirect to when a record is created.',
+ 'property_behavior_form_redirect_close' => 'Close redirect',
+ 'property_behavior_form_redirect_close_description' => 'A page to redirect to when a record is created and the close post variable is sent with the request.',
+ 'property_behavior_form_flash_save' => 'Save flash message',
+ 'property_behavior_form_flash_save_description' => 'Flash message to display when record is saved.',
+ 'property_behavior_form_page_title' => 'Page title',
+ 'property_behavior_form_update' => 'Update record page',
+ 'property_behavior_form_update_redirect' => 'Redirect',
+ 'property_behavior_form_create_redirect_description' => 'A page to redirect to when a record is saved.',
+ 'property_behavior_form_flash_delete' => 'Delete flash message',
+ 'property_behavior_form_flash_delete_description' => 'Flash message to display when record is deleted.',
+ 'property_behavior_form_preview' => 'Preview record page',
+ 'behavior_list_controller' => 'List controller behavior',
+ 'behavior_list_controller_description' => 'Provides the sortable and searchable list with optional links on its records. The behavior automatically creates the controller action "index".',
+ 'property_behavior_list_title' => 'List title',
+ 'property_behavior_list_title_required' => 'Please enter the list title',
+ 'property_behavior_list_placeholder' => '--select list--',
+ 'property_behavior_list_model_class' => 'Model class',
+ 'property_behavior_list_model_class_description' => 'A model class name, the list data is loaded from this model.',
+ 'property_behavior_form_model_class_placeholder' => '--select model--',
+ 'property_behavior_list_model_class_required' => 'Please select a model class',
+ 'property_behavior_list_model_placeholder' => '--select model--',
+ 'property_behavior_list_file' => 'List configuration file',
+ 'property_behavior_list_file_description' => 'Reference to a list definition file',
+ 'property_behavior_list_file_required' => 'Please enter a path to the list configuration file',
+ 'property_behavior_list_record_url' => 'Record URL',
+ 'property_behavior_list_record_url_description' => 'Link each list record to another page. Eg: users/update:id. The :id part is replaced with the record identifier.',
+ 'property_behavior_list_no_records_message' => 'No records message',
+ 'property_behavior_list_no_records_message_description' => 'A message to display when no records are found',
+ 'property_behavior_list_recs_per_page' => 'Records per page',
+ 'property_behavior_list_recs_per_page_description' => 'Records to display per page, use 0 for no pages. Default: 0',
+ 'property_behavior_list_recs_per_page_regex' => 'Records per page should be an integer value',
+ 'property_behavior_list_show_setup' => 'Show setup button',
+ 'property_behavior_list_show_sorting' => 'Show sorting',
+ 'property_behavior_list_default_sort' => 'Default sorting',
+ 'property_behavior_form_ds_column' => 'Column',
+ 'property_behavior_form_ds_direction' => 'Direction',
+ 'property_behavior_form_ds_asc' => 'Ascending',
+ 'property_behavior_form_ds_desc' => 'Descending',
+ 'property_behavior_list_show_checkboxes' => 'Show checkboxes',
+ 'property_behavior_list_onclick' => 'On click handler',
+ 'property_behavior_list_onclick_description' => 'Custom JavaScript code to execute when clicking on a record.',
+ 'property_behavior_list_show_tree' => 'Show tree',
+ 'property_behavior_list_show_tree_description' => 'Displays a tree hierarchy for parent/child records.',
+ 'property_behavior_list_tree_expanded' => 'Tree expanded',
+ 'property_behavior_list_tree_expanded_description' => 'Determines if tree nodes should be expanded by default.',
+ 'property_behavior_list_toolbar' => 'Toolbar',
+ 'property_behavior_list_toolbar_buttons' => 'Buttons partial',
+ 'property_behavior_list_toolbar_buttons_description' => 'Reference to a controller partial file with the toolbar buttons. Eg: list_toolbar',
+ 'property_behavior_list_search' => 'Search',
+ 'property_behavior_list_search_prompt' => 'Search prompt',
+ 'property_behavior_list_filter' => 'Filter configuration',
+ 'behavior_reorder_controller' => 'Reorder controller behavior',
+ 'behavior_reorder_controller_description' => 'Provides features for sorting and reordering on its records. The behavior automatically creates the controller action "reorder".',
+ 'property_behavior_reorder_title' => 'Reorder title',
+ 'property_behavior_reorder_title_required' => 'Please enter the reorder title',
+ 'property_behavior_reorder_name_from' => 'Attribute name',
+ 'property_behavior_reorder_name_from_description' => 'Model\'s attribute that should be used as a label for each record.',
+ 'property_behavior_reorder_name_from_required' => 'Please enter the attribute name',
+ 'property_behavior_reorder_model_class' => 'Model class',
+ 'property_behavior_reorder_model_class_description' => 'A model class name, the reorder data is loaded from this model.',
+ 'property_behavior_reorder_model_class_placeholder' => '--select model--',
+ 'property_behavior_reorder_model_class_required' => 'Please select a model class',
+ 'property_behavior_reorder_model_placeholder' => '--select model--',
+ 'property_behavior_reorder_toolbar' => 'Toolbar',
+ 'property_behavior_reorder_toolbar_buttons' => 'Buttons partial',
+ 'property_behavior_reorder_toolbar_buttons_description' => 'Reference to a controller partial file with the toolbar buttons. Eg: reorder_toolbar',
+ 'error_controller_not_found' => 'Original controller file is not found.',
+ 'error_invalid_config_file_name' => 'The behavior :class configuration file name (:file) contains invalid characters and cannot be loaded.',
+ 'error_file_not_yaml' => 'The behavior :class configuration file (:file) is not a YAML file. Only YAML configuration files are supported.',
+ 'saved' => 'Controller saved',
+ 'controller_name' => 'Controller name',
+ 'controller_name_description' => 'Controller name defines the class name and URL of the controller\'s back-end pages. Standard PHP variable naming conventions apply. The first symbol should be a capital Latin letter. Examples: Categories, Posts, Products.',
+ 'base_model_class' => 'Base model class',
+ 'base_model_class_description' => 'Select a model class to use as a base model in behaviors that require or support models. You can configure the behaviors later.',
+ 'base_model_class_placeholder' => '--select model--',
+ 'controller_behaviors' => 'Behaviors',
+ 'controller_behaviors_description' => 'Select behaviors the controller should implement. Builder will create view files required for the behaviors automatically.',
+ 'controller_permissions' => 'Permissions',
+ 'controller_permissions_description' => 'Select user permissions that can access the controller views. Permissions can be defined on the Permissions tab of the Builder. You can change this option in the controller PHP script later.',
+ 'controller_permissions_no_permissions' => 'The plugin doesn\'t define any permissions.',
+ 'menu_item' => 'Active menu item',
+ 'menu_item_description' => 'Select a menu item to make active for the controller pages. You can change this option in the controller PHP script later.',
+ 'menu_item_placeholder' => '--select menu item--',
+ 'error_unknown_behavior' => 'The behavior class :class is not registered in the behavior library.',
+ 'error_behavior_view_conflict' => 'The selected behaviors provide conflicting views (:view) and cannot be used together in a controller.',
+ 'error_behavior_config_conflict' => 'The selected behaviors provide conflicting configuration files (:file) and cannot be used together in a controller.',
+ 'error_behavior_view_file_not_found' => 'View template :view of the behavior :class cannot be found.',
+ 'error_behavior_config_file_not_found' => 'Configuration template :file of the behavior :class cannot be found.',
+ 'error_controller_exists' => 'Controller file already exists: :file.',
+ 'error_controller_name_invalid' => 'Invalid controller name format. The name can only contain digits and Latin letters. The first symbol should be a capital Latin letter.',
+ 'error_behavior_view_file_exists' => 'Controller view file already exists: :view.',
+ 'error_behavior_config_file_exists' => 'Behavior configuration file already exists: :file.',
+ 'error_save_file' => 'Error saving conroller file: :file',
+ 'error_behavior_requires_base_model' => 'Behavior :behavior requires a base model class to be selected.',
+ 'error_model_doesnt_have_lists' => 'The selected model doesn\'t have any lists. Please create a list first.',
+ 'error_model_doesnt_have_forms' => 'The selected model doesn\'t have any forms. Please create a form first.',
+ ],
+ 'version' => [
+ 'menu_label' => 'Versions',
+ 'no_records' => 'No plugin versions found',
+ 'search' => 'Search...',
+ 'tab' => 'Versions',
+ 'saved' => 'Version saved',
+ 'confirm_delete' => 'Delete the version?',
+ 'tab_new_version' => 'New version',
+ 'migration' => 'Migration',
+ 'seeder' => 'Seeder',
+ 'custom' => 'Increase the version number',
+ 'apply_version' => 'Apply version',
+ 'applying' => 'Applying...',
+ 'rollback_version' => 'Rollback version',
+ 'rolling_back' => 'Rolling back...',
+ 'applied' => 'Version applied',
+ 'rolled_back' => 'Version rolled back',
+ 'hint_save_unapplied' => 'You saved an unapplied version. Unapplied versions could be automatically applied when you or another user logs into the back-end or when a database table is saved in the Database section of the Builder.',
+ 'hint_rollback' => 'Rolling back a version will also roll back all versions newer than this version. Please note that unapplied versions could be automatically applied by the system when you or another user logs into the back-end or when a database table is saved in the Database section of the Builder.',
+ 'hint_apply' => 'Applying a version will also apply all older unapplied versions of the plugin.',
+ 'dont_show_again' => 'Don\'t show again',
+ 'save_unapplied_version' => 'Save unapplied version',
+ ],
+ 'menu' => [
+ 'menu_label' => 'Backend Menu',
+ 'tab' => 'Menus',
+ 'items' => 'Menu items',
+ 'saved' => 'Menus saved',
+ 'add_main_menu_item' => 'Add main menu item',
+ 'new_menu_item' => 'Menu Item',
+ 'add_side_menu_item' => 'Add sub-item',
+ 'side_menu_item' => 'Side menu item',
+ 'property_label' => 'Label',
+ 'property_label_required' => 'Please enter the menu item labels.',
+ 'property_url_required' => 'Please enter the menu item URL',
+ 'property_url' => 'URL',
+ 'property_icon' => 'Icon',
+ 'property_icon_required' => 'Please select an icon',
+ 'property_permissions' => 'Permissions',
+ 'property_order' => 'Order',
+ 'property_order_invalid' => 'Please enter the menu item order as integer value.',
+ 'property_order_description' => 'Menu item order manages its position in the menu. If the order is not provided, the item will be placed to the end of the menu. The default order values have the increment of 100.',
+ 'property_attributes' => 'HTML attributes',
+ 'property_code' => 'Code',
+ 'property_code_invalid' => 'The code should contain only Latin letter and digits',
+ 'property_code_required' => 'Please enter the menu item code.',
+ 'error_duplicate_main_menu_code' => "Duplicate main menu item code: ':code'.",
+ 'error_duplicate_side_menu_code' => "Duplicate side menu item code: ':code'.",
+ ],
+ 'localization' => [
+ 'menu_label' => 'Localization',
+ 'language' => 'Language',
+ 'strings' => 'Strings',
+ 'confirm_delete' => 'Delete the language?',
+ 'tab_new_language' => 'New language',
+ 'no_records' => 'No languages found',
+ 'saved' => 'Language file saved',
+ 'error_cant_load_file' => 'Cannot load the requested language file - file not found.',
+ 'error_bad_localization_file_contents' => 'Cannot load the requested language file. Language files can only contain array definitions and strings.',
+ 'error_file_not_array' => 'Cannot load the requested language file. Language files should return an array.',
+ 'save_error' => "Error saving file ':name'. Please check write permissions.",
+ 'error_delete_file' => 'Error deleting localization file.',
+ 'add_missing_strings' => 'Add missing strings',
+ 'copy' => 'Copy',
+ 'add_missing_strings_label' => 'Select language to copy missing strings from',
+ 'no_languages_to_copy_from' => 'There are no other languages to copy strings from.',
+ 'new_string_warning' => 'New string or section',
+ 'structure_mismatch' => 'The structure of the source language file doesn\'t match the structure of the file being edited. Some individual strings in the edited file correspond to sections in the source file (or vice versa) and cannot be merged automatically.',
+ 'create_string' => 'Create new string',
+ 'string_key_label' => 'String key',
+ 'string_key_comment' => 'Enter the string key using period as a section separator. For example: plugin.search. The string will be created in the plugin\'s default language localization file.',
+ 'string_value' => 'String value',
+ 'string_key_is_empty' => 'String key should not be empty',
+ 'string_key_is_a_string' => ':key is a string and cannot contain other strings.',
+ 'string_value_is_empty' => 'String value should not be empty',
+ 'string_key_exists' => 'The string key already exists',
+ ],
+ 'permission' => [
+ 'menu_label' => 'Permissions',
+ 'tab' => 'Permissions',
+ 'form_tab_permissions' => 'Permissions',
+ 'btn_add_permission' => 'Add permission',
+ 'btn_delete_permission' => 'Delete permission',
+ 'column_permission_label' => 'Permission code',
+ 'column_permission_required' => 'Please enter the permission code',
+ 'column_tab_label' => 'Tab title',
+ 'column_tab_required' => 'Please enter the permission tab title',
+ 'column_label_label' => 'Label',
+ 'column_label_required' => 'Please enter the permission label',
+ 'saved' => 'Permissions saved',
+ 'error_duplicate_code' => "Duplicate permission code: ':code'.",
+ ],
+ 'yaml' => [
+ 'save_error' => "Error saving file ':name'. Please check write permissions.",
+ ],
+ 'common' => [
+ 'error_file_exists' => "File already exists: ':path'.",
+ 'field_icon_description' => 'October uses Font Autumn icons: http://octobercms.com/docs/ui/icon',
+ 'destination_dir_not_exists' => "The destination directory doesn't exist: ':path'.",
+ 'error_make_dir' => "Error creating directory: ':name'.",
+ 'error_dir_exists' => "Directory already exists: ':path'.",
+ 'template_not_found' => "Template file is not found: ':name'.",
+ 'error_generating_file' => "Error generating file: ':path'.",
+ 'error_loading_template' => "Error loading template file: ':name'.",
+ 'select_plugin_first' => 'Please select a plugin first. To see the plugin list click the > icon on the left sidebar.',
+ 'plugin_not_selected' => 'Plugin is not selected',
+ 'add' => 'Add',
+ ],
+ 'migration' => [
+ 'entity_name' => 'Migration',
+ 'error_version_invalid' => 'The version should be specified in format 1.0.1',
+ 'field_version' => 'Version',
+ 'field_description' => 'Description',
+ 'field_code' => 'Code',
+ 'field_code_comment' => 'The migration code is read-only and for the preview purpose only. You can create custom migrations manually in the Versions section of the Builder.',
+ 'save_and_apply' => 'Save & Apply',
+ 'error_version_exists' => 'The migration version already exists.',
+ 'error_script_filename_invalid' => 'The migration script file name can contain only Latin letters, digits and underscores. The name should start with a Latin letter and could not contain spaces.',
+ 'error_cannot_change_version_number' => 'Cannot change version number for an applied version.',
+ 'error_file_must_define_class' => 'Migration code should define a migration or seeder class. Leave the code field blank if you only want to update the version number.',
+ 'error_file_must_define_namespace' => 'Migration code should define a namespace. Leave the code field blank if you only want to update the version number.',
+ 'no_changes_to_save' => 'There are no changes to save.',
+ 'error_namespace_mismatch' => "The migration code should use the plugin namespace: :namespace",
+ 'error_migration_file_exists' => "Migration file :file already exists. Please use another class name.",
+ 'error_cant_delete_applied' => 'This version has already been applied and cannot be deleted. Please rollback the version first.',
+ ],
+ 'components' => [
+ 'list_title' => 'Record list',
+ 'list_description' => 'Displays a list of records for a selected model',
+ 'list_page_number' => 'Page number',
+ 'list_page_number_description' => 'This value is used to determine what page the user is on.',
+ 'list_records_per_page' => 'Records per page',
+ 'list_records_per_page_description' => 'Number of records to display on a single page. Leave empty to disable pagination.',
+ 'list_records_per_page_validation' => 'Invalid format of the records per page value. The value should be a number.',
+ 'list_no_records' => 'No records message',
+ 'list_no_records_description' => 'Message to display in the list in case if there are no records. Used in the default component\'s partial.',
+ 'list_no_records_default' => 'No records found',
+ 'list_sort_column' => 'Sort by column',
+ 'list_sort_column_description' => 'Model column the records should be ordered by',
+ 'list_sort_direction' => 'Direction',
+ 'list_display_column' => 'Display column',
+ 'list_display_column_description' => 'Column to display in the list. Used in the default component\'s partial.',
+ 'list_display_column_required' => 'Please select a display column.',
+ 'list_details_page' => 'Details page',
+ 'list_details_page_description' => 'Page to display record details.',
+ 'list_details_page_no' => '--no details page--',
+ 'list_sorting' => 'Sorting',
+ 'list_pagination' => 'Pagination',
+ 'list_order_direction_asc' => 'Ascending',
+ 'list_order_direction_desc' => 'Descending',
+ 'list_model' => 'Model class',
+ 'list_scope' => 'Scope',
+ 'list_scope_description' => 'Optional model scope to fetch the records',
+ 'list_scope_default' => '--select a scope, optional--',
+ 'list_scope_value' => 'Scope value',
+ 'list_scope_value_description' => 'Optional value to pass to the model scope',
+ 'list_details_page_link' => 'Link to the details page',
+ 'list_details_key_column' => 'Details key column',
+ 'list_details_key_column_description' => 'Model column to use as a record identifier in the details page links.',
+ 'list_details_url_parameter' => 'URL parameter name',
+ 'list_details_url_parameter_description' => 'Name of the details page URL parameter which takes the record identifier.',
+ 'details_title' => 'Record details',
+ 'details_description' => 'Displays record details for a selected model',
+ 'details_model' => 'Model class',
+ 'details_identifier_value' => 'Identifier value',
+ 'details_identifier_value_description' => 'Identifier value to load the record from the database. Specify a fixed value or URL parameter name.',
+ 'details_identifier_value_required' => 'The identifier value is required',
+ 'details_key_column' => 'Key column',
+ 'details_key_column_description' => 'Model column to use as a record identifier for fetching the record from the database.',
+ 'details_key_column_required' => 'The key column name is required',
+ 'details_display_column' => 'Display column',
+ 'details_display_column_description' => 'Model column to display on the details page. Used in the default component\'s partial.',
+ 'details_display_column_required' => 'Please select a display column.',
+ 'details_not_found_message' => 'Not found message',
+ 'details_not_found_message_description' => 'Message to display if the record is not found. Used in the default component\'s partial.',
+ 'details_not_found_message_default' => 'Record not found',
+ ],
+ 'validation' => [
+ 'reserved' => ':attribute cannot be a PHP reserved keyword'
+ ]
+];
diff --git a/server/plugins/rainlab/builder/lang/es/lang.php b/server/plugins/rainlab/builder/lang/es/lang.php
new file mode 100644
index 0000000..3cc6b83
--- /dev/null
+++ b/server/plugins/rainlab/builder/lang/es/lang.php
@@ -0,0 +1,653 @@
+ [
+ 'name' => 'Builder',
+ 'description' => 'Proporciona herramientas visuales para la construcción de plugins de October.',
+ 'add' => 'Crear plugin',
+ 'no_records' => 'No se encuentran plugins',
+ 'no_name' => 'Sin nombre',
+ 'search' => 'Buscar...',
+ 'filter_description' => 'Mostrar todos los plugins o sólo tus plugins.',
+ 'settings' => 'Configuración',
+ 'entity_name' => 'Plugin',
+ 'field_name' => 'Nombre',
+ 'field_author' => 'Autor',
+ 'field_description' => 'Descripción',
+ 'field_icon' => 'Icono plugin',
+ 'field_plugin_namespace' => 'Espacio de nombres de plugin',
+ 'field_author_namespace' => 'Espacio de nombres de autor',
+ 'field_namespace_description' => 'Namespace can contain only Latin letters and digits and should start with a Latin letter. Example plugin namespace: Blog',
+ 'field_author_namespace_description' => 'You cannot change the namespaces with Builder after you create the plugin. Example author namespace: JohnSmith',
+ 'tab_general' => 'Parametros generales',
+ 'tab_description' => 'Descripción',
+ 'field_homepage' => 'Plugin homepage URL',
+ 'no_description' => 'No hay descripción proporcionada para este plugin',
+ 'error_settings_not_editable' => 'Configuración de este plugin no se pueden editar con el Builder.',
+ 'update_hint' => 'Puedes editar el nombre de plugins y descripción localizada en la pestaña de localizaciones.',
+ 'manage_plugins' => 'Crear y editar plugins',
+ ],
+ 'author_name' => [
+ 'title' => 'Nombre del autor',
+ 'description' => 'Por defecto el nombre del autor a utilizar para sus nuevos plugins. El nombre del autor no es fijo - se puede cambiar en la configuración de los plugins en cualquier momento.',
+ ],
+ 'author_namespace' => [
+ 'title' => 'Espacio de nombres',
+ 'description' => 'Si desarrolla para el Marketplace, el espacio de nombres debe coincidir con el código de autor y no puede ser cambiado. Consulte la documentación para más detalles.',
+ ],
+ 'database' => [
+ 'menu_label' => 'Base de datos',
+ 'no_records' => 'Tablas no encontradas',
+ 'search' => 'Buscar...',
+ 'confirmation_delete_multiple' => '¿Eliminar las tablas seleccionadas?',
+ 'field_name' => 'Nombre de la tabla',
+ 'tab_columns' => 'Columnas',
+ 'column_name_name' => 'Columna',
+ 'column_name_required' => 'Please provide the column name',
+ 'column_name_type' => 'Tipo',
+ 'column_type_required' => 'Please select the column type',
+ 'column_name_length' => 'Length',
+ 'column_validation_length' => 'The Length value should be integer or specified as precision and scale (10,2) for decimal columns. Spaces are not allowed in the length column.',
+ 'column_validation_title' => 'Only digits, lower-case Latin letters and underscores are allowed in column names',
+ 'column_name_unsigned' => 'Unsigned',
+ 'column_name_nullable' => 'Nullable',
+ 'column_auto_increment' => 'AUTOINCR',
+ 'column_default' => 'Default',
+ 'column_auto_primary_key' => 'PK',
+ 'tab_new_table' => 'Nueva tabla',
+ 'btn_add_column' => 'Añadir columna',
+ 'btn_delete_column' => 'Borrar columna',
+ 'confirm_delete' => '¿Borrar la tabla?',
+ 'error_enum_not_supported' => 'The table contains column(s) with type "enum" which is not currently supported by the Builder.',
+ 'error_table_name_invalid_prefix' => "Table name should start with the plugin prefix: ':prefix'.",
+ 'error_table_name_invalid_characters' => 'Invalid table name. Table names should contain only Latin letters, digits and underscores. Names should start with a Latin letter and could not contain spaces.',
+ 'error_table_duplicate_column' => "Duplicate column name: ':column'.",
+ 'error_table_auto_increment_in_compound_pk' => 'An auto-increment column cannot be a part of a compound primary key.',
+ 'error_table_mutliple_auto_increment' => 'The table cannot contain multiple auto-increment columns.',
+ 'error_table_auto_increment_non_integer' => 'Auto-increment columns should have integer type.',
+ 'error_table_decimal_length' => "The Length parameter for :type type should be in format '10,2', without spaces.",
+ 'error_table_length' => 'The Length parameter for :type type should be specified as integer.',
+ 'error_unsigned_type_not_int' => "Error in the ':column' column. The Unsigned flag can be applied only to integer type columns.",
+ 'error_integer_default_value' => "Invalid default value for the integer column ':column'. The allowed formats are '10', '-10'.",
+ 'error_decimal_default_value' => "Invalid default value for the decimal or double column ':column'. The allowed formats are '1.00', '-1.00'.",
+ 'error_boolean_default_value' => "Invalid default value for the boolean column ':column'. The allowed values are '0' and '1'.",
+ 'error_unsigned_negative_value' => "The default value for the unsigned column ':column' can't be negative.",
+ 'error_table_already_exists' => "La tabla ':name' ya existe en la base de datos.",
+ ],
+ 'model' => [
+ 'menu_label' => 'Modelos',
+ 'entity_name' => 'Modelo',
+ 'no_records' => 'Modelos no encontrados',
+ 'search' => 'Buscar...',
+ 'add' => 'Añadir...',
+ 'forms' => 'Formularios',
+ 'lists' => 'Listas',
+ 'field_class_name' => 'Nombre Clase',
+ 'field_database_table' => 'Tabla de base de datos',
+ 'error_class_name_exists' => 'Ya existe el archivo modelo para el nombre de clase especificado: :path',
+ 'add_form' => 'Añadir formulario',
+ 'add_list' => 'Añadir lista',
+ ],
+ 'form' => [
+ 'saved' => 'Formulario salvado',
+ 'confirm_delete' => '¿Borrar el formulario?',
+ 'tab_new_form' => 'Nuevo formulario',
+ 'property_label_title' => 'Etiqueta',
+ 'property_label_required' => 'Please specify the control label.',
+ 'property_span_title' => 'Span',
+ 'property_comment_title' => 'Commentario',
+ 'property_comment_above_title' => 'Comment above',
+ 'property_default_title' => 'Default',
+ 'property_checked_default_title' => 'Checked by default',
+ 'property_css_class_title' => 'CSS class',
+ 'property_css_class_description' => 'Optional CSS class to assign to the field container.',
+ 'property_disabled_title' => 'Disabled',
+ 'property_hidden_title' => 'Hidden',
+ 'property_required_title' => 'Required',
+ 'property_field_name_title' => 'Field name',
+ 'property_placeholder_title' => 'Placeholder',
+ 'property_default_from_title' => 'Default from',
+ 'property_stretch_title' => 'Stretch',
+ 'property_stretch_description' => 'Specifies if this field stretches to fit the parent height.',
+ 'property_context_title' => 'Context',
+ 'property_context_description' => 'Specifies what form context should be used when displaying the field.',
+ 'property_context_create' => 'Create',
+ 'property_context_update' => 'Update',
+ 'property_context_preview' => 'Preview',
+ 'property_dependson_title' => 'Depends on',
+ 'property_trigger_action' => 'Action',
+ 'property_trigger_show' => 'Show',
+ 'property_trigger_hide' => 'Hide',
+ 'property_trigger_enable' => 'Enable',
+ 'property_trigger_disable' => 'Disable',
+ 'property_trigger_empty' => 'Empty',
+ 'property_trigger_field' => 'Field',
+ 'property_trigger_field_description' => 'Defines the other field name that will trigger the action.',
+ 'property_trigger_condition' => 'Condition',
+ 'property_trigger_condition_description' => 'Determines the condition the specified field should satisfy for the condition to be considered "true". Supported values: checked, unchecked, value[somevalue].',
+ 'property_trigger_condition_checked' => 'Checked',
+ 'property_trigger_condition_unchecked' => 'Unchecked',
+ 'property_trigger_condition_somevalue' => 'value[enter-the-value-here]',
+ 'property_preset_title' => 'Preset',
+ 'property_preset_description' => 'Allows the field value to be initially set by the value of another field, converted using the input preset converter.',
+ 'property_preset_field' => 'Field',
+ 'property_preset_field_description' => 'Defines the other field name to source the value from.',
+ 'property_preset_type' => 'Type',
+ 'property_preset_type_description' => 'Specifies the conversion type',
+ 'property_attributes_title' => 'Attributes',
+ 'property_attributes_description' => 'Custom HTML attributes to add to the form field element.',
+ 'property_container_attributes_title' => 'Container attributes',
+ 'property_container_attributes_description' => 'Custom HTML attributes to add to the form field container element.',
+ 'property_group_advanced' => 'Advanced',
+ 'property_dependson_description' => 'A list of other field names this field depends on, when the other fields are modified, this field will update. One field per line.',
+ 'property_trigger_title' => 'Trigger',
+ 'property_trigger_description' => 'Allows to change elements attributes such as visibility or value, based on another elements\' state.',
+ 'property_default_from_description' => 'Takes the default value from the value of another field.',
+ 'property_field_name_required' => 'The field name is required',
+ 'property_field_name_regex' => 'The field name can contain only Latin letters, digits, underscores, dashes and square brackets.',
+ 'property_attributes_size' => 'Size',
+ 'property_attributes_size_tiny' => 'Tiny',
+ 'property_attributes_size_small' => 'Small',
+ 'property_attributes_size_large' => 'Large',
+ 'property_attributes_size_huge' => 'Huge',
+ 'property_attributes_size_giant' => 'Giant',
+ 'property_comment_position' => 'Comment position',
+ 'property_comment_position_above' => 'Above',
+ 'property_comment_position_below' => 'Below',
+ 'property_hint_path' => 'Hint partial path',
+ 'property_hint_path_description' => 'Path to a partial file that contains the hint text. Use the $ symbol to refer the plugins root directory, for example: $/acme/blog/partials/_hint.htm',
+ 'property_hint_path_required' => 'Please enter the hint partial path',
+ 'property_partial_path' => 'Partial path',
+ 'property_partial_path_description' => 'Path to a partial file. Use the $ symbol to refer the plugins root directory, for example: $/acme/blog/partials/_partial.htm',
+ 'property_partial_path_required' => 'Please enter the partial path',
+ 'property_code_language' => 'Language',
+ 'property_code_theme' => 'Theme',
+ 'property_theme_use_default' => 'Use default theme',
+ 'property_group_code_editor' => 'Code editor',
+ 'property_gutter' => 'Gutter',
+ 'property_gutter_show' => 'Visible',
+ 'property_gutter_hide' => 'Hidden',
+ 'property_wordwrap' => 'Word wrap',
+ 'property_wordwrap_wrap' => 'Wrap',
+ 'property_wordwrap_nowrap' => 'Don\'t wrap',
+ 'property_fontsize' => 'Font size',
+ 'property_codefolding' => 'Code folding',
+ 'property_codefolding_manual' => 'Manual',
+ 'property_codefolding_markbegin' => 'Mark begin',
+ 'property_codefolding_markbeginend' => 'Mark begin and end',
+ 'property_autoclosing' => 'Auto closing',
+ 'property_enabled' => 'Enabled',
+ 'property_disabled' => 'Disabled',
+ 'property_soft_tabs' => 'Soft tabs',
+ 'property_tab_size' => 'Tab size',
+ 'property_readonly' => 'Read only',
+ 'property_use_default' => 'Use default settings',
+ 'property_options' => 'Opciones',
+ 'property_prompt' => 'Prompt',
+ 'property_prompt_description' => 'Text to display for the create button.',
+ 'property_prompt_default' => 'Add new item',
+ 'property_available_colors' => 'Available colors',
+ 'property_available_colors_description' => 'List of available colors in hex format (#FF0000). Leave empty for the default color set. Enter one value per line.',
+ 'property_datepicker_mode' => 'Mode',
+ 'property_datepicker_mode_date' => 'Date',
+ 'property_datepicker_mode_datetime' => 'Date and time',
+ 'property_datepicker_mode_time' => 'Time',
+ 'property_datepicker_min_date' => 'Min date',
+ 'property_datepicker_min_date_description' => 'The minimum/earliest date that can be selected. Leave empty for the default value (2000-01-01).',
+ 'property_datepicker_max_date' => 'Max date',
+ 'property_datepicker_max_date_description' => 'The maximum/latest date that can be selected. Leave empty for the default value (2020-12-31).',
+ 'property_datepicker_date_invalid_format' => 'Invalid date format. Use format YYYY-MM-DD.',
+ 'property_markdown_mode' => 'Mode',
+ 'property_markdown_mode_split' => 'Split',
+ 'property_markdown_mode_tab' => 'Tab',
+ 'property_fileupload_mode' => 'Mode',
+ 'property_fileupload_mode_file' => 'File',
+ 'property_fileupload_mode_image' => 'Imagen',
+ 'property_group_fileupload' => 'File upload',
+ 'property_fileupload_prompt' => 'Prompt',
+ 'property_fileupload_prompt_description' => 'Text to display for the upload button, applies to File mode only, optional.',
+ 'property_fileupload_image_width' => 'Image width',
+ 'property_fileupload_image_width_description' => 'Optional parameter - images will be resized to this width. Applies to Image mode only.',
+ 'property_fileupload_invalid_dimension' => 'Invalid dimension value - please enter a number.',
+ 'property_fileupload_image_height' => 'Image height',
+ 'property_fileupload_image_height_description' => 'Optional parameter - images will be resized to this height. Applies to Image mode only.',
+ 'property_fileupload_file_types' => 'File types',
+ 'property_fileupload_file_types_description' => 'Optional comma separated list of file extensions that are accepted by the uploader. Eg: zip,txt',
+ 'property_fileupload_mime_types' => 'MIME types',
+ 'property_fileupload_mime_types_description' => 'Optional comma separated list of MIME types that are accepted by the uploader, either as file extensions or fully qualified names. Eg: bin,txt',
+ 'property_fileupload_use_caption' => 'Use caption',
+ 'property_fileupload_use_caption_description' => 'Allows a title and description to be set for the file.',
+ 'property_fileupload_thumb_options' => 'Thumbnail options',
+ 'property_fileupload_thumb_options_description' => 'Manages options for the automatically generated thumbnails. Applies only for the Image mode.',
+ 'property_fileupload_thumb_mode' => 'Mode',
+ 'property_fileupload_thumb_auto' => 'Auto',
+ 'property_fileupload_thumb_exact' => 'Exact',
+ 'property_fileupload_thumb_portrait' => 'Portrait',
+ 'property_fileupload_thumb_landscape' => 'Landscape',
+ 'property_fileupload_thumb_crop' => 'Crop',
+ 'property_fileupload_thumb_extension' => 'File extension',
+ 'property_name_from' => 'Name column',
+ 'property_name_from_description' => 'Relation column name to use for displaying a name.',
+ 'property_relation_select' => 'Select',
+ 'property_relation_select_description' => 'CONCAT multiple columns together for displaying a name',
+ 'property_description_from' => 'Description column',
+ 'property_description_from_description' => 'Relation column name to use for displaying a description.',
+ 'property_recordfinder_prompt' => 'Prompt',
+ 'property_recordfinder_prompt_description' => 'Text to display when there is no record selected. The %s character represents the search icon. Leave empty for the default prompt.',
+ 'property_recordfinder_list' => 'List configuration',
+ 'property_recordfinder_list_description' => 'A reference to a list column definition file. Use the $ symbol to refer the plugins root directory, for example: $/acme/blog/lists/_list.yaml',
+ 'property_recordfinder_list_required' => 'Please provide a path to the list YAML file',
+ 'property_group_recordfinder' => 'Record finder',
+ 'property_mediafinder_mode' => 'Mode',
+ 'property_mediafinder_mode_file' => 'File',
+ 'property_mediafinder_mode_image' => 'Image',
+ 'property_mediafinder_prompt' => 'Prompt',
+ 'property_mediafinder_prompt_description' => 'Text to display when there is no item selected. The %s character represents the media manager icon. Leave empty for the default prompt.',
+ 'property_group_relation' => 'Relation',
+ 'property_relation_prompt' => 'Prompt',
+ 'property_relation_prompt_description' => 'Text to display when there is no available selections.',
+ 'control_group_standard' => 'Standard',
+ 'control_group_widgets' => 'Widgets',
+ 'click_to_add_control' => 'Add control',
+ 'loading' => 'Cargando...',
+ 'control_text' => 'Texto',
+ 'control_text_description' => 'Single line text box',
+ 'control_password' => 'Contraseña',
+ 'control_password_description' => 'Single line password text field',
+ 'control_checkbox' => 'Checkbox',
+ 'control_checkbox_description' => 'Single checkbox',
+ 'control_switch' => 'Switch',
+ 'control_switch_description' => 'Single switchbox, an alternative for checkbox',
+ 'control_textarea' => 'Text area',
+ 'control_textarea_description' => 'Multiline text box with controllable height',
+ 'control_dropdown' => 'Dropdown',
+ 'control_dropdown_description' => 'Dropdown list with static or dynamic options',
+ 'control_unknown' => 'Unknown control type: :type',
+ 'control_repeater' => 'Repeater',
+ 'control_repeater_description' => 'Outputs a repeating set of form controls',
+ 'control_number' => 'Number',
+ 'control_number_description' => 'Single line text box that takes numbers only',
+ 'control_hint' => 'Hint',
+ 'control_hint_description' => 'Outputs a partial contents in a box that can be hidden by the user',
+ 'control_partial' => 'Partial',
+ 'control_partial_description' => 'Outputs a partial contents',
+ 'control_section' => 'Section',
+ 'control_section_description' => 'Displays a form section with heading and subheading',
+ 'control_radio' => 'Radio list',
+ 'control_radio_description' => 'A list of radio options, where only one item can be selected at a time',
+ 'control_radio_option_1' => 'Option 1',
+ 'control_radio_option_2' => 'Option 2',
+ 'control_checkboxlist' => 'Checkbox list',
+ 'control_checkboxlist_description' => 'A list of checkboxes, where multiple items can be selected',
+ 'control_codeeditor' => 'Code editor',
+ 'control_codeeditor_description' => 'Plaintext editor for formatted code or markup',
+ 'control_colorpicker' => 'Color picker',
+ 'control_colorpicker_description' => 'A field for selecting a hexadecimal color value',
+ 'control_datepicker' => 'Date picker',
+ 'control_datepicker_description' => 'Text field used for selecting date and times',
+ 'control_richeditor' => 'Rich editor',
+ 'control_richeditor_description' => 'Visual editor for rich formatted text, also known as a WYSIWYG editor',
+ 'control_markdown' => 'Markdown editor',
+ 'control_markdown_description' => 'Basic editor for Markdown formatted text',
+ 'control_fileupload' => 'File upload',
+ 'control_fileupload_description' => 'File uploader for images or regular files',
+ 'control_recordfinder' => 'Record finder',
+ 'control_recordfinder_description' => 'Field with details of a related record with the record search feature',
+ 'control_mediafinder' => 'Media finder',
+ 'control_mediafinder_description' => 'Field for selecting an item from the Media Manager library',
+ 'control_relation' => 'Relation',
+ 'control_relation_description' => 'Displays either a dropdown or checkbox list for selecting a related record',
+ 'error_file_name_required' => 'Please enter the form file name.',
+ 'error_file_name_invalid' => 'The file name can contain only Latin letters, digits, underscores, dots and hashes.',
+ 'span_left' => 'Left',
+ 'span_right' => 'Right',
+ 'span_full' => 'Full',
+ 'span_auto' => 'Auto',
+ 'empty_tab' => 'Empty tab',
+ 'confirm_close_tab' => 'The tab contains controls which will be deleted. Continue?',
+ 'tab' => 'Form tab',
+ 'tab_title' => 'Title',
+ 'controls' => 'Controls',
+ 'property_tab_title_required' => 'The tab title is required.',
+ 'tabs_primary' => 'Primary tabs',
+ 'tabs_secondary' => 'Secondary tabs',
+ 'tab_stretch' => 'Stretch',
+ 'tab_stretch_description' => 'Specifies if this tabs container stretches to fit the parent height.',
+ 'tab_css_class' => 'CSS class',
+ 'tab_css_class_description' => 'Assigns a CSS class to the tabs container.',
+ 'tab_name_template' => 'Tab %s',
+ 'tab_already_exists' => 'Tab with the specified title already exists.',
+ ],
+ 'list' => [
+ 'tab_new_list' => 'Nueva lista',
+ 'saved' => 'Lista guardada',
+ 'confirm_delete' => '¿Borrar la lista?',
+ 'tab_columns' => 'Columnas',
+ 'btn_add_column' => 'Añadir columna',
+ 'btn_delete_column' => 'Borrar columna',
+ 'column_dbfield_label' => 'Campo',
+ 'column_dbfield_required' => 'Por favor proporcione el campo del modelo',
+ 'column_name_label' => 'Etiqueta',
+ 'column_label_required' => 'Por favor proporcione la etiqueta de columna',
+ 'column_type_label' => 'Tipo',
+ 'column_type_required' => 'Por favor indique el tipo de columna',
+ 'column_type_text' => 'Texto',
+ 'column_type_number' => 'Numero',
+ 'column_type_switch' => 'Switch',
+ 'column_type_datetime' => 'Datetime',
+ 'column_type_date' => 'Fecha',
+ 'column_type_time' => 'Hora',
+ 'column_type_timesince' => 'Tine since',
+ 'column_type_timetense' => 'Tine tense',
+ 'column_type_select' => 'Select',
+ 'column_type_partial' => 'Partial',
+ 'column_label_default' => 'Default',
+ 'column_label_searchable' => 'Buscable',
+ 'column_label_sortable' => 'Ordenable',
+ 'column_label_invisible' => 'Invisible',
+ 'column_label_select' => 'Select',
+ 'column_label_relation' => 'Relation',
+ 'column_label_css_class' => 'CSS class',
+ 'column_label_width' => 'Width',
+ 'column_label_path' => 'Path',
+ 'column_label_format' => 'Format',
+ 'column_label_value_from' => 'Value from',
+ 'error_duplicate_column' => "Duplicate column field name: ':column'.",
+ ],
+ 'controller' => [
+ 'menu_label' => 'Controladores',
+ 'no_records' => 'No se encuentran controladores del plugin',
+ 'controller' => 'Controlador',
+ 'behaviors' => 'Comportamientos',
+ 'new_controller' => 'Nuevo controlador',
+ 'error_controller_has_no_behaviors' => 'The controller doesn\'t have configurable behaviors.',
+ 'error_invalid_yaml_configuration' => 'Error loading behavior configuration file: :file',
+ 'behavior_form_controller' => 'Form controller behavior',
+ 'behavior_form_controller_description' => 'Adds form functionality to a back-end page. The behavior provides three pages called Create, Update and Preview.',
+ 'property_behavior_form_placeholder' => '--select form--',
+ 'property_behavior_form_name' => 'Nombre',
+ 'property_behavior_form_name_description' => 'The name of the object being managed by this form',
+ 'property_behavior_form_name_required' => 'Please enter the form name',
+ 'property_behavior_form_file' => 'Form configuration',
+ 'property_behavior_form_file_description' => 'Reference to a form field definition file',
+ 'property_behavior_form_file_required' => 'Please enter a path to the form configuration file',
+ 'property_behavior_form_model_class' => 'Model class',
+ 'property_behavior_form_model_class_description' => 'A model class name, the form data is loaded and saved against this model.',
+ 'property_behavior_form_model_class_required' => 'Please select a model class',
+ 'property_behavior_form_default_redirect' => 'Default redirect',
+ 'property_behavior_form_default_redirect_description' => 'A page to redirect to by default when the form is saved or cancelled.',
+ 'property_behavior_form_create' => 'Create record page',
+ 'property_behavior_form_redirect' => 'Redirect',
+ 'property_behavior_form_redirect_description' => 'A page to redirect to when a record is created.',
+ 'property_behavior_form_redirect_close' => 'Close redirect',
+ 'property_behavior_form_redirect_close_description' => 'A page to redirect to when a record is created and the close post variable is sent with the request.',
+ 'property_behavior_form_flash_save' => 'Save flash message',
+ 'property_behavior_form_flash_save_description' => 'Flash message to display when record is saved.',
+ 'property_behavior_form_page_title' => 'Page title',
+ 'property_behavior_form_update' => 'Update record page',
+ 'property_behavior_form_update_redirect' => 'Redirect',
+ 'property_behavior_form_create_redirect_description' => 'A page to redirect to when a record is saved.',
+ 'property_behavior_form_flash_delete' => 'Delete flash message',
+ 'property_behavior_form_flash_delete_description' => 'Flash message to display when record is deleted.',
+ 'property_behavior_form_preview' => 'Preview record page',
+ 'behavior_list_controller' => 'List controller behavior',
+ 'behavior_list_controller_description' => 'Provides the sortable and searchable list with optional links on its records. The behavior automatically creates the controller action "index".',
+ 'property_behavior_list_title' => 'List title',
+ 'property_behavior_list_title_required' => 'Please enter the list title',
+ 'property_behavior_list_placeholder' => '--select list--',
+ 'property_behavior_list_model_class' => 'Model class',
+ 'property_behavior_list_model_class_description' => 'A model class name, the list data is loaded from this model.',
+ 'property_behavior_form_model_class_placeholder' => '--select model--',
+ 'property_behavior_list_model_class_required' => 'Please select a model class',
+ 'property_behavior_list_model_placeholder' => '--select model--',
+ 'property_behavior_list_file' => 'List configuration file',
+ 'property_behavior_list_file_description' => 'Reference to a list definition file',
+ 'property_behavior_list_file_required' => 'Please enter a path to the list configuration file',
+ 'property_behavior_list_record_url' => 'Record URL',
+ 'property_behavior_list_record_url_description' => 'Link each list record to another page. Eg: users/update:id. The :id part is replaced with the record identifier.',
+ 'property_behavior_list_no_records_message' => 'No records message',
+ 'property_behavior_list_no_records_message_description' => 'A message to display when no records are found',
+ 'property_behavior_list_recs_per_page' => 'Records per page',
+ 'property_behavior_list_recs_per_page_description' => 'Records to display per page, use 0 for no pages. Default: 0',
+ 'property_behavior_list_recs_per_page_regex' => 'Records per page should be an integer value',
+ 'property_behavior_list_show_setup' => 'Show setup button',
+ 'property_behavior_list_show_sorting' => 'Show sorting',
+ 'property_behavior_list_default_sort' => 'Default sorting',
+ 'property_behavior_form_ds_column' => 'Columna',
+ 'property_behavior_form_ds_direction' => 'Direction',
+ 'property_behavior_form_ds_asc' => 'Ascending',
+ 'property_behavior_form_ds_desc' => 'Descending',
+ 'property_behavior_list_show_checkboxes' => 'Show checkboxes',
+ 'property_behavior_list_onclick' => 'On click handler',
+ 'property_behavior_list_onclick_description' => 'Custom JavaScript code to execute when clicking on a record.',
+ 'property_behavior_list_show_tree' => 'Show tree',
+ 'property_behavior_list_show_tree_description' => 'Displays a tree hierarchy for parent/child records.',
+ 'property_behavior_list_tree_expanded' => 'Tree expanded',
+ 'property_behavior_list_tree_expanded_description' => 'Determines if tree nodes should be expanded by default.',
+ 'property_behavior_list_toolbar' => 'Toolbar',
+ 'property_behavior_list_toolbar_buttons' => 'Buttons partial',
+ 'property_behavior_list_toolbar_buttons_description' => 'Reference to a controller partial file with the toolbar buttons. Eg: list_toolbar',
+ 'property_behavior_list_search' => 'Buscar',
+ 'property_behavior_list_search_prompt' => 'Search prompt',
+ 'property_behavior_list_filter' => 'Filter configuration',
+ 'behavior_reorder_controller' => 'Reorder controller behavior',
+ 'behavior_reorder_controller_description' => 'Provides features for sorting and reordering on its records. The behavior automatically creates the controller action "reorder".',
+ 'property_behavior_reorder_title' => 'Reorder title',
+ 'property_behavior_reorder_title_required' => 'Please enter the reorder title',
+ 'property_behavior_reorder_name_from' => 'Attribute name',
+ 'property_behavior_reorder_name_from_description' => 'Model\'s attribute that should be used as a label for each record.',
+ 'property_behavior_reorder_name_from_required' => 'Please enter the attribute name',
+ 'property_behavior_reorder_model_class' => 'Model class',
+ 'property_behavior_reorder_model_class_description' => 'A model class name, the reorder data is loaded from this model.',
+ 'property_behavior_reorder_model_class_placeholder' => '--select model--',
+ 'property_behavior_reorder_model_class_required' => 'Please select a model class',
+ 'property_behavior_reorder_model_placeholder' => '--select model--',
+ 'property_behavior_reorder_toolbar' => 'Toolbar',
+ 'property_behavior_reorder_toolbar_buttons' => 'Buttons partial',
+ 'property_behavior_reorder_toolbar_buttons_description' => 'Reference to a controller partial file with the toolbar buttons. Eg: reorder_toolbar',
+ 'error_controller_not_found' => 'Original controller file is not found.',
+ 'error_invalid_config_file_name' => 'The behavior :class configuration file name (:file) contains invalid characters and cannot be loaded.',
+ 'error_file_not_yaml' => 'The behavior :class configuration file (:file) is not a YAML file. Only YAML configuration files are supported.',
+ 'saved' => 'Controller saved',
+ 'controller_name' => 'Controller name',
+ 'controller_name_description' => 'Controller name defines the class name and URL of the controller\'s back-end pages. Standard PHP variable naming conventions apply. The first symbol should be a capital Latin letter. Examples: Categories, Posts, Products.',
+ 'base_model_class' => 'Base model class',
+ 'base_model_class_description' => 'Select a model class to use as a base model in behaviors that require or support models. You can configure the behaviors later.',
+ 'base_model_class_placeholder' => '--select model--',
+ 'controller_behaviors' => 'Behaviors',
+ 'controller_behaviors_description' => 'Select behaviors the controller should implement. Builder will create view files required for the behaviors automatically.',
+ 'controller_permissions' => 'Permisos',
+ 'controller_permissions_description' => 'Select user permissions that can access the controller views. Permissions can be defined on the Permissions tab of the Builder. You can change this option in the controller PHP script later.',
+ 'controller_permissions_no_permissions' => 'The plugin doesn\'t define any permissions.',
+ 'menu_item' => 'Active menu item',
+ 'menu_item_description' => 'Select a menu item to make active for the controller pages. You can change this option in the controller PHP script later.',
+ 'menu_item_placeholder' => '--select menu item--',
+ 'error_unknown_behavior' => 'The behavior class :class is not registered in the behavior library.',
+ 'error_behavior_view_conflict' => 'The selected behaviors provide conflicting views (:view) and cannot be used together in a controller.',
+ 'error_behavior_config_conflict' => 'The selected behaviors provide conflicting configuration files (:file) and cannot be used together in a controller.',
+ 'error_behavior_view_file_not_found' => 'View template :view of the behavior :class cannot be found.',
+ 'error_behavior_config_file_not_found' => 'Configuration template :file of the behavior :class cannot be found.',
+ 'error_controller_exists' => 'Controller file already exists: :file.',
+ 'error_controller_name_invalid' => 'Invalid controller name format. The name can only contain digits and Latin letters. The first symbol should be a capital Latin letter.',
+ 'error_behavior_view_file_exists' => 'Controller view file already exists: :view.',
+ 'error_behavior_config_file_exists' => 'Behavior configuration file already exists: :file.',
+ 'error_save_file' => 'Error saving conroller file: :file',
+ 'error_behavior_requires_base_model' => 'Behavior :behavior requires a base model class to be selected.',
+ 'error_model_doesnt_have_lists' => 'The selected model doesn\'t have any lists. Please create a list first.',
+ 'error_model_doesnt_have_forms' => 'The selected model doesn\'t have any forms. Please create a form first.',
+ ],
+ 'version' => [
+ 'menu_label' => 'Versiones',
+ 'no_records' => 'Versiones del plugin no encontradas',
+ 'search' => 'Buscar...',
+ 'tab' => 'Versiones',
+ 'saved' => 'Versión salvada',
+ 'confirm_delete' => '¿Borrar esta versión?',
+ 'tab_new_version' => 'Nueva versión',
+ 'migration' => 'Migración',
+ 'seeder' => 'Seeder',
+ 'custom' => 'Increase the verison number',
+ 'apply_version' => 'Apply version',
+ 'applying' => 'Applying...',
+ 'rollback_version' => 'Rollback versión',
+ 'rolling_back' => 'Rolling back...',
+ 'applied' => 'Version applied',
+ 'rolled_back' => 'Version rolled back',
+ 'hint_save_unapplied' => 'You saved an unapplied version. Unapplied versions could be automatically applied when you or another user logs into the back-end or when a database table is saved in the Database section of the Builder.',
+ 'hint_rollback' => 'Rolling back a version will also roll back all versions newer than this version. Please note that unapplied versions could be automatically applied by the system when you or another user logs into the back-end or when a database table is saved in the Database section of the Builder.',
+ 'hint_apply' => 'Applying a version will also apply all older unapplied versions of the plugin.',
+ 'dont_show_again' => 'Don\'t show again',
+ 'save_unapplied_version' => 'Save unapplied version',
+ ],
+ 'menu' => [
+ 'menu_label' => 'Backend Menu',
+ 'tab' => 'Menus',
+ 'items' => 'Menu items',
+ 'saved' => 'Menus saved',
+ 'add_main_menu_item' => 'Add main menu item',
+ 'new_menu_item' => 'Menu Item',
+ 'add_side_menu_item' => 'Add sub-item',
+ 'side_menu_item' => 'Side menu item',
+ 'property_label' => 'Etiqueta',
+ 'property_label_required' => 'Please enter the menu item labels.',
+ 'property_url_required' => 'Please enter the menu item URL',
+ 'property_url' => 'URL',
+ 'property_icon' => 'Icono',
+ 'property_icon_required' => 'Please select an icon',
+ 'property_permissions' => 'Permissions',
+ 'property_order' => 'Order',
+ 'property_order_invalid' => 'Please enter the menu item order as integer value.',
+ 'property_order_description' => 'Menu item order manages its position in the menu. If the order is not provided, the item will be placed to the end of the menu. The default order values have the increment of 100.',
+ 'property_attributes' => 'HTML attributes',
+ 'property_code' => 'Code',
+ 'property_code_invalid' => 'The code should contain only Latin letter and digits',
+ 'property_code_required' => 'Please enter the menu item code.',
+ 'error_duplicate_main_menu_code' => "Duplicate main menu item code: ':code'.",
+ 'error_duplicate_side_menu_code' => "Duplicate side menu item code: ':code'.",
+ ],
+ 'localization' => [
+ 'menu_label' => 'Localización',
+ 'language' => 'Lenguaje',
+ 'strings' => 'Cadenas',
+ 'confirm_delete' => '¿Borrar el lenguaje?',
+ 'tab_new_language' => 'Nuevo lenguaje',
+ 'no_records' => 'Lenguajes no encontrados',
+ 'saved' => 'Archivo de lenguaje guardado',
+ 'error_cant_load_file' => 'Cannot load the requested language file - file not found.',
+ 'error_bad_localization_file_contents' => 'Cannot load the requested language file. Language files can only contain array definitions and strings.',
+ 'error_file_not_array' => 'Cannot load the requested language file. Language files should return an array.',
+ 'save_error' => "Error saving file ':name'. Please check write permissions.",
+ 'error_delete_file' => 'Error deleting localization file.',
+ 'add_missing_strings' => 'Añadir cadenas que faltan',
+ 'copy' => 'Copiar',
+ 'add_missing_strings_label' => 'Select language to copy missing strings from',
+ 'no_languages_to_copy_from' => 'There are no other languages to copy strings from.',
+ 'new_string_warning' => 'Nueva cadena o sección',
+ 'structure_mismatch' => 'The structure of the source language file doesn\'t match the structure of the file being edited. Some individual strings in the edited file correspond to sections in the source file (or vice versa) and cannot be merged automatically.',
+ 'create_string' => 'Create new string',
+ 'string_key_label' => 'String key',
+ 'string_key_comment' => 'Enter the string key using period as a section separator. For example: plugin.search. The string will be created in the plugin\'s default language localization file.',
+ 'string_value' => 'String value',
+ 'string_key_is_empty' => 'String key should not be empty',
+ 'string_value_is_empty' => 'String value should not be empty',
+ 'string_key_exists' => 'The string key already exists',
+ ],
+ 'permission' => [
+ 'menu_label' => 'Permisos',
+ 'tab' => 'Permisos',
+ 'form_tab_permissions' => 'Permisos',
+ 'btn_add_permission' => 'Añadir permisos',
+ 'btn_delete_permission' => 'Borrar permisos',
+ 'column_permission_label' => 'Permission code',
+ 'column_permission_required' => 'Please enter the permission code',
+ 'column_tab_label' => 'Titulo pestaña',
+ 'column_tab_required' => 'Por favor introduzca el permiso de el título de la pestaña',
+ 'column_label_label' => 'Etiqueta',
+ 'column_label_required' => 'Por favor introduzca permiso de etiqueta',
+ 'saved' => 'Permisos guardados',
+ 'error_duplicate_code' => "Duplicate permission code: ':code'.",
+ ],
+ 'yaml' => [
+ 'save_error' => "Error al guardar el archivo ':name'. Consulte permisos de escritura.",
+ ],
+ 'common' => [
+ 'error_file_exists' => "El archivo ya existe: ':path'.",
+ 'field_icon_description' => 'October usa Font Autumn icons: http://octobercms.com/docs/ui/icon',
+ 'destination_dir_not_exists' => "El directorio de destino no existe: ':path'.",
+ 'error_make_dir' => "Error al crear directorio: ':name'.",
+ 'error_dir_exists' => "El directorio ya existe!: ':path'.",
+ 'template_not_found' => "Archivo de plantilla no encuentrado: ':name'.",
+ 'error_generating_file' => "Error al generar el archivo: ':path'.",
+ 'error_loading_template' => "Error al cargar el archivo plantilla: ':name'.",
+ 'select_plugin_first' => 'Seleccione primero un plugin. Para ver la lista de plugin, haga clic en el icono > en la barra lateral izquierda.',
+ 'plugin_not_selected' => 'Plugin no seleccionado',
+ 'add' => 'Añadir',
+ ],
+ 'migration' => [
+ 'entity_name' => 'Migración',
+ 'error_version_invalid' => 'The version should be specified in format 1.0.1',
+ 'field_version' => 'Versión',
+ 'field_description' => 'Descripción',
+ 'field_code' => 'Code',
+ 'field_code_comment' => 'The migration code is read-only and for the preview purpose only. You can create custom migrations manually in the Versions section of the Builder.',
+ 'save_and_apply' => 'Salvar y Aplicar',
+ 'error_version_exists' => 'The migration version already exists.',
+ 'error_script_filename_invalid' => 'The migration script file name can contain only Latin letters, digits and underscores. The name should start with a Latin letter and could not contain spaces.',
+ 'error_cannot_change_version_number' => 'Cannot change version number for an applied version.',
+ 'error_file_must_define_class' => 'Migration code should define a migration or seeder class. Leave the code field blank if you only want to update the version number.',
+ 'error_file_must_define_namespace' => 'Migration code should define a namespace. Leave the code field blank if you only want to update the version number.',
+ 'no_changes_to_save' => 'No hay cambios que salvar.',
+ 'error_namespace_mismatch' => "The migration code should use the plugin namespace: :namespace",
+ 'error_migration_file_exists' => "Migration file :file already exists. Please use another class name.",
+ 'error_cant_delete_applied' => 'This version has already been applied and cannot be deleted. Please rollback the version first.',
+ ],
+ 'components' => [
+ 'list_title' => 'Record list',
+ 'list_description' => 'Displays a list of records for a selected model',
+ 'list_page_number' => 'Page number',
+ 'list_page_number_description' => 'This value is used to determine what page the user is on.',
+ 'list_records_per_page' => 'Records per page',
+ 'list_records_per_page_description' => 'Number of records to display on a single page. Leave empty to disable pagination.',
+ 'list_records_per_page_validation' => 'Invalid format of the records per page value. The value should be a number.',
+ 'list_no_records' => 'No records message',
+ 'list_no_records_description' => 'Message to display in the list in case if there are no records. Used in the default component\'s partial.',
+ 'list_no_records_default' => 'No records found',
+ 'list_sort_column' => 'Sort by column',
+ 'list_sort_column_description' => 'Model column the records should be ordered by',
+ 'list_sort_direction' => 'Direction',
+ 'list_display_column' => 'Display column',
+ 'list_display_column_description' => 'Column to display in the list. Used in the default component\'s partial.',
+ 'list_display_column_required' => 'Please select a display column.',
+ 'list_details_page' => 'Details page',
+ 'list_details_page_description' => 'Page to display record details.',
+ 'list_details_page_no' => '--no details page--',
+ 'list_sorting' => 'Sorting',
+ 'list_pagination' => 'Paginación',
+ 'list_order_direction_asc' => 'Ascending',
+ 'list_order_direction_desc' => 'Descending',
+ 'list_model' => 'Model class',
+ 'list_scope' => 'Scope',
+ 'list_scope_description' => 'Optional model scope to fetch the records',
+ 'list_scope_default' => '--select a scope, optional--',
+ 'list_details_page_link' => 'Link to the details page',
+ 'list_details_key_column' => 'Details key column',
+ 'list_details_key_column_description' => 'Model column to use as a record identifier in the details page links.',
+ 'list_details_url_parameter' => 'URL parameter name',
+ 'list_details_url_parameter_description' => 'Name of the details page URL parameter which takes the record identifier.',
+ 'details_title' => 'Record details',
+ 'details_description' => 'Displays record details for a selected model',
+ 'details_model' => 'Model class',
+ 'details_identifier_value' => 'Identifier value',
+ 'details_identifier_value_description' => 'Identifier value to load the record from the database. Specify a fixed value or URL parameter name.',
+ 'details_identifier_value_required' => 'The identifier value is required',
+ 'details_key_column' => 'Key column',
+ 'details_key_column_description' => 'Model column to use as a record identifier for fetching the record from the database.',
+ 'details_key_column_required' => 'The key column name is required',
+ 'details_display_column' => 'Display column',
+ 'details_display_column_description' => 'Model column to display on the details page. Used in the default component\'s partial.',
+ 'details_display_column_required' => 'Please select a display column.',
+ 'details_not_found_message' => 'Not found message',
+ 'details_not_found_message_description' => 'Message to display if the record is not found. Used in the default component\'s partial.',
+ 'details_not_found_message_default' => 'Record not found',
+ ],
+];
diff --git a/server/plugins/rainlab/builder/lang/fa/lang.php b/server/plugins/rainlab/builder/lang/fa/lang.php
new file mode 100644
index 0000000..d82ed8d
--- /dev/null
+++ b/server/plugins/rainlab/builder/lang/fa/lang.php
@@ -0,0 +1,638 @@
+ [
+ 'name' => 'افزونه ساز',
+ 'description' => 'ساخت افزونه های اکتبر به صورت دیداری',
+ 'add' => 'ایجاد افزونه',
+ 'no_records' => 'افزونه ای یافت نشد',
+ 'no_description' => 'بدون توضیح',
+ 'no_name' => 'بدون نام',
+ 'search' => 'جستجو...',
+ 'filter_description' => 'نمایش تمام افزونه ها و یا افزونه های نوشته شده توسط شما',
+ 'settings' => 'تنظیمات',
+ 'entity_name' => 'افزونه',
+ 'field_name' => 'نام',
+ 'field_author' => 'صاحب امتیاز',
+ 'field_description' => 'توضحات',
+ 'field_icon' => 'آیکن افزونه',
+ 'field_plugin_namespace' => 'نیم اسپیس افزونه',
+ 'field_author_namespace' => 'نیم اسپیس صاحب امتیاز',
+ 'field_namespace_description' => 'نیم اسپیس میتواند شامل حروف لاتین و اعداد باشد و باید با یک حرف لاتین آغاز شود مانند: Blog',
+ 'field_author_namespace_description' => 'امکان تغییر نیم پس از ایجاد آن توسط افزونه ساز وجود ندارد نمونه ای از نیم اسپیس صاحب امتیاز: OctoberFa',
+ 'tab_general' => 'پارامتر های عمومی',
+ 'tab_description' => 'توضیحات',
+ 'field_homepage' => 'آدرس وب افزونه',
+ 'no_description' => 'توضیحی برای این افزونه وارد نشده است',
+ 'error_settings_not_editable' => 'تنظیمات این افزونه توسط افزونه ساز قابل ویرایش نمی باشد.',
+ 'update_hint' => 'امکان ترجمه نام و توضیحات افزونه در بخش ترجمه وجود دارد'
+ ],
+ 'author_name' => [
+ 'title' => 'نام صاحب امتیاز',
+ 'description' => 'نام صاحب امتیاز به هنگام ایجاد افزونه جدید، این نام را همیشه میتوان در تنظیمات افزونه ویرایش کرد.'
+ ],
+ 'author_namespace' => [
+ 'title' => 'نیم اسپیس صاحب امتیاز',
+ 'description' => 'اگر شما در فروشگاه افزونه ها حساب کاربری دارید این گزینه باید با نیم اسپیس آن حساب یکی باشد.'
+ ],
+ 'database' => [
+ 'menu_label' => 'پایگاه داده',
+ 'no_records' => 'جدولی یافت نشد',
+ 'search' => 'جستجو...',
+ 'confirmation_delete_multiple' => 'آیا از حذف جدول های انتخاب شده اطمینان دارید؟',
+ 'field_name' => 'نام جدول',
+ 'tab_columns' => 'ستون ها',
+ 'column_name_name' => 'ستون',
+ 'column_name_required' => 'لطفا نام ستون را وارد نمایید',
+ 'column_name_type' => 'نوع',
+ 'column_type_required' => 'لطفا نوع ستون را وارد نمایید',
+ 'column_name_length' => 'طول',
+ 'column_validation_length' => 'مقدار این گزینه باید یک عدد صحیح بوده و برای داده های اعشاری در بازه 2 تا 10 باشد.',
+ 'column_validation_title' => 'این گزینه باید فقط شامل اعداد، حروف لاتین و خط زیر باشد.',
+ 'column_name_unsigned' => 'بدون علامت',
+ 'column_name_nullable' => 'nullable',
+ 'column_auto_increment' => 'افزایشی خودکار',
+ 'column_default' => 'پیشفرض',
+ 'column_auto_primary_key' => 'PK',
+ 'tab_new_table' => 'جدول جدید',
+ 'btn_add_column' => 'افزودن ستون',
+ 'btn_delete_column' => 'حذف ستون',
+ 'confirm_delete' => 'آیا از حذف ان جدول اطمینان دارید؟',
+ 'error_enum_not_supported' => 'جدول حاوی ستون(ها) ای با نوع enum می باشد که در حال حاظر توسط افزونه ساز پشتیبانی نمیشود.',
+ 'error_table_name_invalid_prefix' => 'نام جدول باید با پیشوند افزونه \':prefix\' آغاز شود. ',
+ 'error_table_name_invalid_characters' => 'نام جدول صحیح نمی باشد. نام جدول میتواند حاوی حروف لاتین، اعداد و خط زیر باشد و باید با حرف لاتین شروع شود. همچنین نام جدول نمیتواند شامل فاصله باشد.',
+ 'error_table_duplicate_column' => 'نام ستون \':column\' تکراری می باشد.',
+ 'error_table_auto_increment_in_compound_pk' => 'ستون افزایشی خودکار نمیتواند بخشی از کلید اصلی مرکب باشد',
+ 'error_table_mutliple_auto_increment' => 'جدول فقط میتواند شامل یک ستون افزایشی باشد.',
+ 'error_table_auto_increment_non_integer' => 'نوع ستون افزایشی باید عدد صحیح (integer) باشد.',
+ 'error_table_decimal_length' => "طول نوع :type باید در قالب '10,2' بدون فاصله باشد.",
+ 'error_table_length' => 'طول نوع :type باید یک عدد صحیح باشد.',
+ 'error_unsigned_type_not_int' => "خطا در ایجاد ستون ':column'، فقط ستون هایی از نوع عدد صحیح میتوانند نشانه بدون علامت داشته باشند.",
+ 'error_integer_default_value' => "مقدار پیشفرض وارد شده برای ستون ':column' باید یک مقدار صحیح باشد.",
+ 'error_decimal_default_value' => "مقدار پیشفرض وارد شده برای ستون ':column' باید یک عدد اعشاری باشد.",
+ 'error_boolean_default_value' => "مقدار پیشفرض ستون ':column' باید 0 ویا 1 باشد",
+ 'error_unsigned_negative_value' => "مقدار پیشفرض ستون ':column' باید یک عدد صحیح مثبت باشد.",
+ 'error_table_already_exists' => "نام جدول ':name' تکراری می باشد."
+ ],
+ 'model' => [
+ 'menu_label' => 'مدل ها',
+ 'entity_name' => 'مدل',
+ 'no_records' => 'مدلی یافت نشد',
+ 'search' => 'جستجو...',
+ 'add' => 'افزودن...',
+ 'forms' => 'فرم ها',
+ 'lists' => 'لیست ها',
+ 'field_class_name' => 'نام کلاس',
+ 'field_database_table' => 'نام پایگاه داده',
+ 'error_class_name_exists' => 'نام مدل برای کلاس وارد شده :path تکاریست',
+ 'add_form' => 'فرم جدید',
+ 'add_list' => 'لیست جدید',
+ ],
+ 'form' => [
+ 'saved'=> 'فرم با موفقیت ذخیره شد.',
+ 'confirm_delete' => 'آیا از حذف این فرم اطمینان دارید؟',
+ 'tab_new_form' => 'فرم جدید',
+ 'property_label_title' => 'برچسب',
+ 'property_label_required' => 'لطفا برچسب را وارد نمایید',
+ 'property_span_title' => 'موقعیت',
+ 'property_comment_title' => 'توضیح',
+ 'property_comment_above_title' => 'توضیح بالا',
+ 'property_default_title' => 'پیشفرض',
+ 'property_checked_default_title' => 'انتخاب شده (پیشفرض)',
+ 'property_css_class_title' => 'کلاس CSS',
+ 'property_css_class_description' => 'کلاس CSS اختیاری جهت والد فیلد',
+ 'property_disabled_title' => 'غیر فعال',
+ 'property_hidden_title' => 'مخفی',
+ 'property_required_title' => 'اجباری',
+ 'property_field_name_title' => 'نام فیلد',
+ 'property_placeholder_title' => 'پیش نوشته (Placeholder)',
+ 'property_default_from_title' => 'فرم پیشفرض',
+ 'property_stretch_title' => 'کامل',
+ 'property_stretch_description' => 'اگر میخواهید طول فیلد درون والد خود کامل باشد این گزینه را انتخاب نمایید.',
+ 'property_context_title' => 'بخش',
+ 'property_context_description' => 'مشخص کننده نمایش فیلد در حالت های فرم',
+ 'property_context_create' => 'ایجاد',
+ 'property_context_update' => 'به روز رسانی',
+ 'property_context_preview' => 'پیش نمایش',
+ 'property_dependson_title' => 'وابستگی',
+ 'property_trigger_action' => 'عمل',
+ 'property_trigger_show' => 'نمایش',
+ 'property_trigger_hide' => 'عدم نمایش',
+ 'property_trigger_enable' => 'فعال',
+ 'property_trigger_disable' => 'غیر فعال',
+ 'property_trigger_empty' => 'خالی',
+ 'property_trigger_field' => 'فیلد',
+ 'property_trigger_field_description' => 'نام فیلدی را که عمل را اجرا میکند وارد نمایید',
+ 'property_trigger_condition' => 'شرط',
+ 'property_trigger_condition_description' => 'شرطی که در صورت درستی عمل انجام میشود. مقادیر پشتیبانی شده این فیلد: checked، unchecked، value[somevalue].',
+ 'property_trigger_condition_checked' => 'Checked',
+ 'property_trigger_condition_unchecked' => 'Unchecked',
+ 'property_trigger_condition_somevalue' => 'value[enter-the-value-here]',
+ 'property_preset_title' => 'از پیش تایین شده',
+ 'property_preset_description' => 'این امکان را میدهد که نام فیلد توسط فیلد دیگری مقدار دهی شده و با مبدل از پیش تعریف شده ای تبدیل شود.',
+ 'property_preset_field' => 'فیلد',
+ 'property_preset_field_description' => 'فیلد منبعی که مقدار از آن گرفته میشود را وارد نمایید.',
+ 'property_preset_type' => 'نوع',
+ 'property_preset_type_description' => 'مشخص کردن نوع تبدیل',
+ 'property_attributes_title' => 'ویژگی ها',
+ 'property_attributes_description' => 'ویژگی های HTML ای را که میخواهید به فیلد بدهید را وارد نمایید',
+ 'property_container_attributes_title' => 'ویژگی های والد',
+ 'property_container_attributes_description' => 'ویژگی های HTML ای که والد فیلد باید داشته باشد را وارد نمایید.',
+ 'property_group_advanced' => 'پیشرفته',
+ 'property_dependson_description' => 'فیلد های دیگری را که این فیلد به آنها وابسته می باشد و به هنگام تغییر آن ها این فیلد نیز تغییر پیدا میکند را وارد نمایید. هر فیلد در یک خط تعریف می شود.',
+ 'property_trigger_title' => 'عکس العمل',
+ 'property_trigger_description' => 'به فیلد این اجاره را میدهد که با تغییر فیلد دیگری ویژگی های خود را مانند حالت نمایش و مقدار خود کنترل نماید',
+ 'property_default_from_description' => 'مقدار پیشفرض را از مقدار فیلد دیگری بگیر.',
+ 'property_field_name_required' => 'ورود نام فیلد اجباریست',
+ 'property_field_name_regex' => 'نام فیلد میتواند شامل حروف لاتین، اعداد، خط زیر، خط تیره و کروشه باشد.',
+ 'property_attributes_size' => 'اندازه',
+ 'property_attributes_size_tiny' => 'خیلی کوچک',
+ 'property_attributes_size_small' => 'کوچک',
+ 'property_attributes_size_large' => 'متوسط',
+ 'property_attributes_size_huge' => 'بزرک',
+ 'property_attributes_size_giant' => 'خیلی بزرگ',
+ 'property_comment_position' => 'محل قرارگیری توضیح',
+ 'property_comment_position_above' => 'قبل',
+ 'property_comment_position_below' => 'بعد',
+ 'property_hint_path' => 'آدرس فایل بخش راهنما',
+ 'property_hint_path_description' => 'آدرس فایل بخشی که شامل متن راهنما می باشد. علامت $ به پوشه افزونه ها اشاره میکند برای مثال: $/acme/blog/partials/_hint.htm',
+ 'property_hint_path_required' => 'لطفا مسیر بخش راهنما را وارد نمایید.',
+ 'property_partial_path' => 'مسیر بخش',
+ 'property_partial_path_description' => 'مسیر فال مربوط به بخش را وارد نمایید. علامت $ به پوشه پلاگین ها اشاره میکند برای مثال: $/acme/blog/partials/_hint.htm',
+ 'property_partial_path_required' => 'لطفا مسیر فایل بخش را وارد نمایید.',
+ 'property_code_language' => 'زبان',
+ 'property_code_theme' => 'قالب',
+ 'property_theme_use_default' => 'استفاده از قالب پیشفرض',
+ 'property_group_code_editor' => 'ویرایشگر کد',
+ 'property_gutter' => 'شیار',
+ 'property_gutter_show' => 'قابل مشاهده',
+ 'property_gutter_hide' => 'مخقی',
+ 'property_wordwrap' => 'Word wrap',
+ 'property_wordwrap_wrap' => 'Wrap',
+ 'property_wordwrap_nowrap' => 'Don\'t wrap',
+ 'property_fontsize' => 'اندازه فونت',
+ 'property_codefolding' => 'Code folding',
+ 'property_codefolding_manual' => 'دستی',
+ 'property_codefolding_markbegin' => 'علامت گذازی آغاز',
+ 'property_codefolding_markbeginend' => 'علامت گذاری آغاز و پایان',
+ 'property_autoclosing' => 'بستن خودکار',
+ 'property_enabled' => 'فعال',
+ 'property_disabled' => 'غیر فعال',
+ 'property_soft_tabs' => 'استفاده از فاصله به جای Tab',
+ 'property_tab_size' => 'اندازه Tab',
+ 'property_readonly' => 'فقط خواندنی',
+ 'property_use_default' => 'استفاده از تنظیمات پیشفرض',
+ 'property_options' => 'گزینه ها',
+ 'property_prompt' => 'متن',
+ 'property_prompt_description' => 'متن نمایش داده شده برای دکمه ایجاد',
+ 'property_prompt_default' => 'افزودن گزینه جدید',
+ 'property_available_colors' => 'رنگ های موجود',
+ 'property_available_colors_description' => 'لیست رنگ های موجود در قالب هگزادسیمال (#FF0000). برای استفاده از رنگ های پیشفرض این گزینه را خالی رها کنید. در هر خط یک رنگ وارد نمایید.',
+ 'property_datepicker_mode' => 'نحوه نمایش',
+ 'property_datepicker_mode_date' => 'تاریخ',
+ 'property_datepicker_mode_datetime' => 'تاریخ و ساعت',
+ 'property_datepicker_mode_time' => 'ساعت',
+ 'property_datepicker_min_date' => 'کمترین تاریخ',
+ 'property_datepicker_min_date_description' => 'کمترین تاریخی که میتوان انتخاب کرد. برای مقدار پیشفرض این گزینه را خالی بگذارید.',
+ 'property_datepicker_max_date' => 'بیشترین تاریخ',
+ 'property_datepicker_max_date_description' => 'بیشترین تاریخی که میتوان انتخاب کرد. برای استفاده از مقدار پیشفرض این گزینه را خالی بگذارید.',
+ 'property_datepicker_date_invalid_format' => 'قالب تاریخ صحیح نمی باشد. مثال: YYYY-MM-DD',
+ 'property_markdown_mode' => 'نحوه نمایش',
+ 'property_markdown_mode_split' => 'پنجره کنار هم',
+ 'property_markdown_mode_tab' => 'Tab',
+ 'property_fileupload_mode' => 'نحوه نمایش',
+ 'property_fileupload_mode_file' => 'فایل',
+ 'property_fileupload_mode_image' => 'تصویر',
+ 'property_group_fileupload' => 'ارسال فایل',
+ 'property_fileupload_prompt' => 'متن',
+ 'property_fileupload_prompt_description' => 'گزینه اختیاری جهت متن دکمه ارسال که در حالت فایل مورد استفاده قرار می گیرد.',
+ 'property_fileupload_image_width' => 'عرض تصویر',
+ 'property_fileupload_image_width_description' => 'گزینه اختیاری جهت تغییر اندازه عرض تصویر که فقط در حالت تصویر مورد استفاده قرار میگیرد.',
+ 'property_fileupload_invalid_dimension' => 'مقدار وارد شده صحیح نیست. لطفا یک عدد وارد نمایید',
+ 'property_fileupload_image_height' => 'طول تصویر',
+ 'property_fileupload_image_height_description' => 'گزینه اختیاری جهت تغییر اندازه طول تصویر که فقط در حالت تصویر مورد استفاده قرار میگیرد.',
+ 'property_fileupload_file_types' => 'نوع فایل ها',
+ 'property_fileupload_file_types_description' => 'گزینه اختیاری جهت تایین پسوند فایل های ارسالی که با کاما از هم جدا شنده اند برای مثال: zip,txt',
+ 'property_fileupload_mime_types' => 'MIME types',
+ 'property_fileupload_mime_types_description' => 'لیست اختیاری از MIME Type های مجاز جهت ارسال فایل که با کاما از هم جدا شده اند برای مثال: bin,txt',
+ 'property_fileupload_use_caption' => 'از عنوان استفاده شود',
+ 'property_fileupload_use_caption_description' => 'اجازه ورود عنوان و توضیحات برای فایل ارسالی.',
+ 'property_fileupload_thumb_options' => 'گزینه های تصویر بند انگشتی',
+ 'property_fileupload_thumb_options_description' => 'مدیریت گزینه های تولید خودکار تصویر بند انگشتی که فقط در حالت تصویر مورد استفاده قرار میگیرد.',
+ 'property_fileupload_thumb_mode' => 'حالت نمایش',
+ 'property_fileupload_thumb_auto' => 'خودکار',
+ 'property_fileupload_thumb_exact' => 'دقیقا',
+ 'property_fileupload_thumb_portrait' => 'Portrait',
+ 'property_fileupload_thumb_landscape' => 'Landscape',
+ 'property_fileupload_thumb_crop' => 'Crop',
+ 'property_fileupload_thumb_extension' => 'پسوند فایل',
+ 'property_name_from' => 'نام ستون',
+ 'property_name_from_description' => 'نام ستون ارتباطی جهت نمایش نام.',
+ 'property_description_from' => 'ستون توضیحات',
+ 'property_description_from_description' => 'نام ستون ارتباطی جهت نمایش توضیحات.',
+ 'property_recordfinder_prompt' => 'متن',
+ 'property_recordfinder_prompt_description' => 'متنی که به هنگام نبود هیچ رکوردی به نمایش در می آید. %s بیانگر آیکن جستجو می باشد. جهت استفاده از مقدار پیشفرض این گزینه را خالی رها کنید.',
+ 'property_recordfinder_list' => 'تنظیمات لیست',
+ 'property_recordfinder_list_description' => 'مرجعی برای تعریف ستون های لیست. علامت $ به پوشه افزونه ها اشاره میکند برای مثال: $/acme/blog/lists/_list.yaml',
+ 'property_recordfinder_list_required' => 'لطفا آدرس فایل YAML را وارد نمایید',
+ 'property_group_recordfinder' => 'انتخابگر رکورد',
+ 'property_mediafinder_mode' => 'حالت نمایش',
+ 'property_mediafinder_mode_file' => 'فایل',
+ 'property_mediafinder_mode_image' => 'تصویر',
+ 'property_mediafinder_prompt' => 'متن',
+ 'property_mediafinder_prompt_description' => 'متنی که به هنگام خالی بودن نمایش داده شود. %s به آیکن جستجو اشاره میکند. جهت استفاده از مقدار پیشفرض این گزینه را خالی بگذارید.',
+ 'property_group_relation' => 'ارتباط',
+ 'property_relation_select' => 'تحديد',
+ 'property_relation_select_description' => 'كونكات أعمدة متعددة معا لعرض اسم',
+ 'property_relation_prompt' => 'متن',
+ 'property_relation_prompt_description' => 'متنی که به هنگام موجود نبودن موردی جهت انتخاب نمایش داده میشود.',
+ 'control_group_standard' => 'استاندارد',
+ 'control_group_widgets' => 'ابزارک ها',
+ 'click_to_add_control' => 'افزودن کنترل',
+ 'loading' => 'درحال بارگذاری...',
+ 'control_text' => 'متن',
+ 'control_text_description' => 'ابزار ورود متن تک خطی',
+ 'control_password' => 'کلمه عبور',
+ 'control_password_description' => 'ابزار ورود کلمه عبور',
+ 'control_checkbox' => 'چک باکس',
+ 'control_checkbox_description' => 'یک چک باکس',
+ 'control_switch' => 'سویچ',
+ 'control_switch_description' => 'سوئیچ روشن و خاموش که میتواند جایگزین چک باکس شود.',
+ 'control_textarea' => 'متن چند خطی',
+ 'control_textarea_description' => 'ابزار ورود متن چند خطی',
+ 'control_dropdown' => 'لیست بازشونده',
+ 'control_dropdown_description' => 'لیست بازشونده با موارد مشخص و یا متغیر',
+ 'control_unknown' => 'نوع ابزار :type یافت نشد',
+ 'control_repeater' => 'تکرار کننده',
+ 'control_repeater_description' => 'تکرار کننده مجموعه ای از ابزار ها',
+ 'control_number' => 'عدد',
+ 'control_number_description' => 'ابزار تک خطی جهت ورود عدد.',
+ 'control_hint' => 'هشدار',
+ 'control_hint_description' => 'نشان دهنده یک بخش به عنوان هشدار و یا راهنمایی که میتواند توسط کاربر مخفی شود.',
+ 'control_partial' => 'بخش',
+ 'control_partial_description' => 'نشان دهنده محتوی یک بخش',
+ 'control_section' => 'قسمت',
+ 'control_section_description' => 'نمایش یک قسمت از فرم با عنوان و زیر عنوان',
+ 'control_radio' => 'لیست رادیویی',
+ 'control_radio_description' => 'لیستی از انتخاب گر های رادیویی که در هر لحظه فقط یک مورد میتواند انتخاب شود.',
+ 'control_radio_option_1' => 'گزینه 1',
+ 'control_radio_option_2' => 'گزینه 2',
+ 'control_checkboxlist' => 'لیست چک باکس',
+ 'control_checkboxlist_description' => 'لیستی از چک باکس',
+ 'control_codeeditor' => 'ادیتور کد',
+ 'control_codeeditor_description' => 'ادیتور کد که جهت ورود کد مورد استفاده قرار میگیرد',
+ 'control_colorpicker' => 'انتخابگر رنگ',
+ 'control_colorpicker_description' => 'فیلدی جهت انتخاب کد هگزادسیمال رنگ',
+ 'control_datepicker' => 'انتخابگر تاریخ',
+ 'control_datepicker_description' => 'ابزاری جهت انتخای تاریخ و زمان',
+ 'control_richeditor' => 'ویرایشگر متن',
+ 'control_richeditor_description' => 'ابزاری جهت ویرایش و فرمت بندی متن',
+ 'control_markdown' => 'ویرایشگر مارک داون',
+ 'control_markdown_description' => 'ویرایشگر ابتدایی جهت ورود و ویرایش متن در قالب مارک داون',
+ 'control_fileupload' => 'ارسال فایل',
+ 'control_fileupload_description' => 'ارسال کننده فایل جهت ارسال تصویر و یا فایل',
+ 'control_recordfinder' => 'انتخاب گر موارد',
+ 'control_recordfinder_description' => 'ابزاری جهت انتخاب موارد مرتبط در پایگاه داده با امکان جستجو',
+ 'control_mediafinder' => 'انتخابگر چند رسانه ای',
+ 'control_mediafinder_description' => 'ابزاری جهت انتخاب فایل های چند رسانه ای در ابزار مدیریت چند رسانه ای',
+ 'control_relation' => 'ارتباط',
+ 'control_relation_description' => 'نمایش لیست بازشونده و یا لیست چک باکس جهت انتخاب ارتباطات پایگاه داده',
+ 'error_file_name_required' => 'لطفا نام فایل فرم را وارد نمایید.',
+ 'error_file_name_invalid' => 'نام فایل میتواند شامل حروف لاتین، اعداد، خط زیر، خط تیره و یا نقطه باشد.',
+ 'span_left' => 'چپ',
+ 'span_right' => 'راست',
+ 'span_full' => 'کامل',
+ 'span_auto' => 'خودکار',
+ 'empty_tab' => 'بخش خالی',
+ 'confirm_close_tab' => 'بخش حاوی ابزار هایی می باشد که پاک خواهند شد. آیا میخواهید ادامه دهید؟',
+ 'tab' => 'بخش فرم',
+ 'tab_title' => 'عنوان',
+ 'controls' => 'ابزار ها',
+ 'property_tab_title_required' => 'وارد کردن عنوان بخش اجباریست',
+ 'tabs_primary' => 'بخش اصلی',
+ 'tabs_secondary' => 'بخش ثانویه',
+ 'tab_stretch' => 'کامل',
+ 'tab_stretch_description' => 'مشخص میکند که طول بخش برابر با طول والد خود باشد یا خیر',
+ 'tab_css_class' => 'کلاس CSS',
+ 'tab_css_class_description' => 'مقدار دهی خاصیت کلاس دربرگیرنده ابزار',
+ 'tab_name_template' => 'بخش %s',
+ 'tab_already_exists' => 'بخشی با نام مشخص شده وجود دارد'
+ ],
+ 'list' => [
+ 'tab_new_list' => 'لیست جدید',
+ 'saved'=> 'لیست با موفقیت ذخیره شد.',
+ 'confirm_delete' => 'آیا از حذف این لیست اطمینان دارید؟',
+ 'tab_columns' => 'ستون ها',
+ 'btn_add_column' => 'ستون جدید',
+ 'btn_delete_column' => 'حذف ستون',
+ 'column_dbfield_label' => 'فیلد',
+ 'column_dbfield_required' => 'لطفا فیلد مدل را وارد نمایید',
+ 'column_name_label' => 'عنوان',
+ 'column_label_required' => 'لطفا عنوان ستون را وارد نمایید.',
+ 'column_type_label' => 'نوع',
+ 'column_type_required' => 'لطفا نوع ستون را وارد نمایید.',
+ 'column_type_text' => 'متن',
+ 'column_type_number' => 'عدد',
+ 'column_type_switch' => 'سوییچ',
+ 'column_type_datetime' => 'تاریخ و زمان',
+ 'column_type_date' => 'تاریخ',
+ 'column_type_time' => 'زمان',
+ 'column_type_timesince' => 'تفاوت زمانی',
+ 'column_type_timetense' => 'تفاوت زمانی',
+ 'column_type_select' => 'انتخاب',
+ 'column_type_partial' => 'بخش',
+ 'column_label_default' => 'پیشفرض',
+ 'column_label_searchable' => 'قابلیت جستجو',
+ 'column_label_sortable' => 'قابلیت مرتب سازی',
+ 'column_label_invisible' => 'مخفی',
+ 'column_label_select' => 'انتخاب',
+ 'column_label_relation' => 'ارتباط پایگاه داده',
+ 'column_label_css_class' => 'کلاس CSS',
+ 'column_label_width' => 'عرض',
+ 'column_label_path' => 'مسیر',
+ 'column_label_format' => 'قالب',
+ 'column_label_value_from' => 'مقدار گرفته شده از',
+ 'error_duplicate_column' => "نام ':column' برای ستون تکراری میباشد."
+ ],
+ 'controller' => [
+ 'menu_label' => 'کنترلر ها',
+ 'no_records' => 'کنترلری در افزونه یافت نشد.',
+ 'controller' => 'کنترلر',
+ 'behaviors' => 'کنترل کننده رفتار از پیش تایین شده',
+ 'new_controller' => 'کنترلر جدید',
+ 'error_controller_has_no_behaviors' => 'کنترلر حاوی کنترل کننده رفتار از پیش تایین شده که حاوی تنظیمات باشد ندارد',
+ 'error_invalid_yaml_configuration' => 'خطایی در بارگذاری فایل :file مربوط به تنظیمات کنترل کننده رفتار از پیش تایین شده به وجود آمده است',
+ 'behavior_form_controller' => 'کنترل کننده رفتار از پیش تایین شده فرم',
+ 'behavior_form_controller_description' => 'افزودن امکان مدیریت فرم ها به صفحه مدیریت. این امکان سه صفحه ایجاد، به روزرسانی و پیش نمایش را اضافه میکند.',
+ 'property_behavior_form_placeholder' => '--انتخاب فرم--',
+ 'property_behavior_form_name' => 'نام',
+ 'property_behavior_form_name_description' => 'نام شی ای که توسط فرم مدیریت می شود',
+ 'property_behavior_form_name_required' => 'لطفا نام فرم را وارد نمایید.',
+ 'property_behavior_form_file' => 'تنظیمات فرم',
+ 'property_behavior_form_file_description' => 'به یک فایل تعریف فرم اشاره میکند.',
+ 'property_behavior_form_file_required' => 'لطفا آدرس فایل تنظیمات فرم را وارد نمایید.',
+ 'property_behavior_form_model_class' => 'کلاس مدل',
+ 'property_behavior_form_model_class_description' => 'نام کلاس مدل که داده ها از آن بارگذاری شده و ذخیره می شوند.',
+ 'property_behavior_form_model_class_required' => 'لطفا نام کلاس مدل را وارد نمایید',
+ 'property_behavior_form_default_redirect' => 'مسیر انتقال پیشفرض',
+ 'property_behavior_form_default_redirect_description' => 'آدرس صفحه ای جهت انتقال به هنگامی که فرم ذخیره میشود یا کاربر از ادامه کار انصراف می دهد.',
+ 'property_behavior_form_create' => 'صفحه ایجاد',
+ 'property_behavior_form_redirect' => 'انتقال',
+ 'property_behavior_form_redirect_description' => 'آدرس صفحه ای که به هنگام ایجاد مورد جدید به آن انتقال داده میشود',
+ 'property_behavior_form_redirect_close' => 'انتقال به هنگام خروج',
+ 'property_behavior_form_redirect_close_description' => 'آدرس صفحه ای که به هنگام کلیک دکمه انتقال و خروج به آن انتقال داده می شود.',
+ 'property_behavior_form_flash_save' => 'پیغام نمایش داده شده به هنگام ذخیره',
+ 'property_behavior_form_flash_save_description' => 'پیغامی که به هنگام ذخیره مورد نمایش داده می شود.',
+ 'property_behavior_form_page_title' => 'عنوان صفحه',
+ 'property_behavior_form_update' => 'صفحه ویرایش',
+ 'property_behavior_form_update_redirect' => 'انتقال',
+ 'property_behavior_form_create_redirect_description' => 'صفحه ای که به هنگام ذخیره مورد به آن انتقال داده می شود.',
+ 'property_behavior_form_flash_delete' => 'پیغام حذف',
+ 'property_behavior_form_flash_delete_description' => 'پیغامی که به هنگام حذف نمایش داده میشود.',
+ 'property_behavior_form_preview' => 'صفحه پیش نمایش',
+ 'behavior_list_controller' => 'کنترل کننده رفتار از پیش تایین شده لیست',
+ 'behavior_list_controller_description' => 'امکان نمایش لیستی با قابلیت جستجو و مرتب سازی را به کنترلر اظافه میکند. این امکان صفحه اصلی (index) را در کنترلر ایجاد میکند.',
+ 'property_behavior_list_title' => 'عنوان لیست',
+ 'property_behavior_list_title_required' => 'لطفا عنوان لیست را وارد نمایید',
+ 'property_behavior_list_placeholder' => '--انتخاب لیست--',
+ 'property_behavior_list_model_class' => 'کلاس مدل',
+ 'property_behavior_list_model_class_description' => 'نام کلاس مدلی که اطلاعات لیست از آن بارگذاری میشود.',
+ 'property_behavior_form_model_class_placeholder' => '--انتخاب مدل--',
+ 'property_behavior_list_model_class_required' => 'لطفا کلاس مدل را انتخاب نمایید',
+ 'property_behavior_list_model_placeholder' => '--انتخاب مدل--',
+ 'property_behavior_list_file' => 'فایل تنظیمات لیست',
+ 'property_behavior_list_file_description' => 'به یک فایل تعریف لیست اشاره میکند',
+ 'property_behavior_list_file_required' => 'لطفا مسیر فایل تنظیمات لیست را وارد نمایید.',
+ 'property_behavior_list_record_url' => 'آدرس مورد',
+ 'property_behavior_list_record_url_description' => 'آدرس صفحه هر مورد در لیست که در آن :id به مشخصه لیست اشاره میکند برای مثال: users/update:id',
+ 'property_behavior_list_no_records_message' => 'پیغام خالی بودن لیست',
+ 'property_behavior_list_no_records_message_description' => 'پیغامی که به هنگام خالی بودن لیست به نمایش در می آید.',
+ 'property_behavior_list_recs_per_page' => 'تعداد موارد در هر صفحه',
+ 'property_behavior_list_recs_per_page_description' => 'تعداد موارد در هر صفحه را مشخص میکند برای نمایش تمام موارد در یک صفحه این مقدار را 0 قرار دهید. مقدار پیشفرض: 0',
+ 'property_behavior_list_recs_per_page_regex' => 'مقدار تعداد موارد در هر صفحه باید یک عدد صحیح باشد.',
+ 'property_behavior_list_show_setup' => 'نمایش دکمه تنظیمات',
+ 'property_behavior_list_show_sorting' => 'نمایش مرتب سازی',
+ 'property_behavior_list_default_sort' => 'مرتب سازی پیشفرض',
+ 'property_behavior_form_ds_column' => 'ستون',
+ 'property_behavior_form_ds_direction' => 'جهت مرتب سازی',
+ 'property_behavior_form_ds_asc' => 'صعودی',
+ 'property_behavior_form_ds_desc' => 'نزولی',
+ 'property_behavior_list_show_checkboxes' => 'نمایش چک باکس',
+ 'property_behavior_list_onclick' => 'کنترل کننده کلیک',
+ 'property_behavior_list_onclick_description' => 'کد شخصی سازی شده جاوا اسکریپت به هنگام کلیک هر رکورد.',
+ 'property_behavior_list_show_tree' => 'نمایش درخت وار',
+ 'property_behavior_list_show_tree_description' => 'نمایش درخت وار موارد والد و فرزندی.',
+ 'property_behavior_list_tree_expanded' => 'درخت باز شده',
+ 'property_behavior_list_tree_expanded_description' => 'آیا تمامی موارد درخت به صورت پیشفرض باز باشند؟',
+ 'property_behavior_list_toolbar' => 'نوار ابزار',
+ 'property_behavior_list_toolbar_buttons' => 'بخش دکمه ها',
+ 'property_behavior_list_toolbar_buttons_description' => 'به یک فایل بخش موجود در کنترلر اشاره میکند. به عنوان مثال: list_toolbar',
+ 'property_behavior_list_search' => 'جستجو',
+ 'property_behavior_list_search_prompt' => 'متن جستجو',
+ 'property_behavior_list_filter' => 'تنظیمات فیلتر',
+ 'error_controller_not_found' => 'فایل کنترلر یافت نشد',
+ 'error_invalid_config_file_name' => 'تعریف فایل (:file) مربوط به کنترل کننده از پیش تایین شده :class صحیح نمی باشد.',
+ 'error_file_not_yaml' => 'فایل تنطیمات (:file) مربوط به کنترل کننده از پیش تایین شده باید از نوع YAML باشد.',
+ 'saved' => 'کنترلر با موفقیت ذخیره شدو',
+ 'controller_name' => 'نام کنترلر',
+ 'controller_name_description' => 'نام کنترلر مشخص کننده نام و آدرس آن در صفحه مدیریت می باشد و باید از استاندارد های نامگذاری متغیر در PHP پیروی کند. همچنین نام باید با حرف بزرگ لاتین شروع شود برای مثال: Categories',
+ 'base_model_class' => 'کلاس مدل',
+ 'base_model_class_description' => 'نام کلاس مدلی را که جهت استفاده توسط کنترل کننده های رفتار از پیش تایین شده مورد استفاده قرار میگیرد را وارد نمایید.',
+ 'base_model_class_placeholder' => '--انتخاب مدل--',
+ 'controller_behaviors' => 'کنترل کننده های رفتار از پیش تایین شده',
+ 'controller_behaviors_description' => 'لطفا کنترل کننده های رفتار از پیش تایین شده برای کنترلر را انتخاب نمایید. سازنده فایل های نمایش مربوط به هر یک از آنها را به صورت خودکار ایجاد میکند.',
+ 'controller_permissions' => 'مجوزهای دسترسی',
+ 'controller_permissions_description' => 'مجوز های دسترسی برای هر یک از بخش های کنترلر را وارد نمایید. مجوز ها در بخش مجوز ها قابل تعریف میباشند و شما میتوانید آنها را بعدا در کد PHP ویرایش نمایید.',
+ 'controller_permissions_no_permissions' => 'این افزونه دارای مجوزی نمی باشد.',
+ 'menu_item' => 'منوی فعال',
+ 'menu_item_description' => 'منو ای را که میخواهید به هنگام نمایش صفحه کنترلر فعال شود انتخاب نمایید. این گزینه بعدا در کد PHP کنترلر قابل تغییر می باشد.',
+ 'menu_item_placeholder' => '--انتخاب منو--',
+ 'error_unknown_behavior' => 'کنترل کننده رفتار از پیش تایین شده :class در شی مدیریت این موارد اضافه نشده است.',
+ 'error_behavior_view_conflict' => 'کنترل کننده های رفتار از پیش تایین شده انتخاب شده دارای موارد تداخلی (:view) می باشد و نمیتواند همزمان استفاده شود.',
+ 'error_behavior_config_conflict' => 'کنترل کننده های رفتار انتخاب شده حاوی فایل تنظیمات (:file) تداخلی بود و نمی توانند همزمان استفاده شوند.',
+ 'error_behavior_view_file_not_found' => 'قالب نمایشی :view در کنترل کننده رفتار از پیش تایین شده :class یافت نشد.',
+ 'error_behavior_config_file_not_found' => 'قالب فایل تنظیمات :file در کنترل کننده رفتار از پیش تایین شده :class یافت نشد.',
+ 'error_controller_exists' => 'فایل کنترلر :file قبلا ایجاد شده است.',
+ 'error_controller_name_invalid' => 'نام کنترلر صحیح نمی باشد. نام میتواند شامل حروف لاتین و اعداد بوده و باید با یک حرف بزرگ لاتین شروع شود.',
+ 'error_behavior_view_file_exists' => 'فایل نمایشی کنترلر :view قبلا ایجاد شده است.',
+ 'error_behavior_config_file_exists' => 'فایل تنظیمات :file مربوط به کنترل کننده رفتار از پیش تایین شده قبلا ایجاد شده است.',
+ 'error_save_file' => 'خطا به هنگام ذخیره فایل کنترلر: :file',
+ 'error_behavior_requires_base_model' => 'کنترل کننده رفتار از پیش تایین شده :behavior نیاز به انتخاب شدن کلاس مدل دارد.',
+ 'error_model_doesnt_have_lists' => 'مدل انتخاب شده حاوی لیستی نمی باشد. لطفا یک لیست برای آن ایجاد کنید.',
+ 'error_model_doesnt_have_forms' => 'مدل انتخاب شده حاوی فرمی نمی باشد. لطفا یک فرم برای آن ایجاد کنید.'
+ ],
+ 'version' => [
+ 'menu_label' => 'ویرایش ها',
+ 'no_records' => 'ویرایشی برای افزونه یافت نشد',
+ 'search' => 'جستجو...',
+ 'tab' => 'ویرایش ها',
+ 'saved' => 'ویرایش با موفقیت ذخیره شد.',
+ 'confirm_delete' => 'آیا از حذف این ویرایش اطمینان دارید؟',
+ 'tab_new_version' => 'ویرایش جدید',
+ 'migration' => 'ساختار پایگاه داده',
+ 'seeder' => 'داده های پایگاه داده',
+ 'custom' => 'افزودن عدد ویرایش',
+ 'apply_version' => 'اعمال ویرایش',
+ 'applying' => 'درحال اعمال...',
+ 'rollback_version' => 'عقب گرد ویرایش',
+ 'rolling_back' => 'درحال عقبگرد...',
+ 'applied' => 'ویرایش با موفقیت اعمال شد.',
+ 'rolled_back' => 'ویرایش با موفقیت به عقب بازگشت.',
+ 'hint_save_unapplied' => 'شما یک نسخه اعمال نشده را ذخیره کردید. این نسخه ها به هنگام ورود شما و یا کاربر دیگری و یا ذخیره جدولی در پایگاه داده به صورت خودکار اعمال خواهند شد.',
+ 'hint_rollback' => 'ویرایش های قبلی و بازگشت داده شده به صورت خودکار در هنگام اعمال ویرایش جدید تر، ورود به بخش مدیریت و یا ایجاد و ذخیره جدولی در پایگاه داده به صورت خودکار اعمال خواهند شد.',
+ 'hint_apply' => 'اعمال یک ویرایش تمامی ویرایش های قبلی اعمال نشده را نیز اعمال خواهد کرد',
+ 'dont_show_again' => 'مجددا نمایش نده.',
+ 'save_unapplied_version' => 'ذخیره ویرایش اعمال نشده'
+ ],
+ 'menu' => [
+ 'menu_label' => 'منوی مدیریت',
+ 'tab' => 'منو ها',
+ 'items' => 'موارد منو',
+ 'saved' => 'این منو با موفقیت ذخیره شد.',
+ 'add_main_menu_item' => 'افزودن منوی جدید در ریشه',
+ 'new_menu_item' => 'مورد منو',
+ 'add_side_menu_item' => 'افزودن زیر منو',
+ 'side_menu_item' => 'مورد منوی کناری',
+ 'property_label' => 'عنوان',
+ 'property_label_required' => 'لطفا عنوان منو را وارد نمایید',
+ 'property_url_required' => 'لطفا آدرس منو را وارد نمایید',
+ 'property_url' => 'آدرس',
+ 'property_icon' => 'آیکن',
+ 'property_icon_required' => 'لطفا آیکن منو را وارد نمایید',
+ 'property_permissions' => 'مجوز ها',
+ 'property_order' => 'ترتیب',
+ 'property_order_invalid' => 'مقدار وارد شده برای ترتیب منو باید عدد صحیح باشد.',
+ 'property_order_description' => 'ترتیب منو مشخص کننده ترتیب قرارگیری آن می باشد و اگر وارد نشود منو در انتهای لیست قرار میگیرد. مقدار این مورد بهتر است بیش از عدد 100 باشد.',
+ 'property_attributes' => 'خصوصیات HTML',
+ 'property_code' => 'کد',
+ 'property_code_invalid' => 'کد میتواند حاوی حروف لاتین و اعداد باشد.',
+ 'property_code_required' => 'لطفا کد مربوط به منو را وارد نمایید.',
+ 'error_duplicate_main_menu_code' => "کد ':code' وارد شده برای منوی اصلی تکراریست.",
+ 'error_duplicate_side_menu_code' => "کد ':code' وارد شده برای منوی کناری تکراریست."
+ ],
+ 'localization' => [
+ 'menu_label' => 'بومی سازی',
+ 'language' => 'زبان',
+ 'strings' => 'رشته های متنی',
+ 'confirm_delete' => 'آیا از حذف این زبان اطمینان دارید؟',
+ 'tab_new_language' => 'ربان جدید',
+ 'no_records' => 'زبانی یافت نشد.',
+ 'saved' => 'فایل زبان با موفقیت ذخیره شد.',
+ 'error_cant_load_file' => 'فایل زبان مورد درخواست یافت نشد.',
+ 'error_bad_localization_file_contents' => 'خطا در بارگذاری فایل زبان. فایل زبان میتواند شامل تعریف آرایه و رشته های متنی باشد.',
+ 'error_file_not_array' => 'خطا در بارگذاری فایل زبان. فایل زبان باید یک آرایه بازگرداند/',
+ 'save_error' => "خطا در ذخیره فایل ':name'. لطفا مجوز خای ذخیره فایل را بررسی نمایید.",
+ 'error_delete_file' => 'خطا در حذف فایل زبان.',
+ 'add_missing_strings' => 'افزودن رشته های جدید',
+ 'copy' => 'کپی',
+ 'add_missing_strings_label' => 'زبانی را که حاوی رشته جدید میباشد را انتخاب نمایید.',
+ 'no_languages_to_copy_from' => 'زبان دیگری جهت کپی رشته های جدید موجود نمی باشد.',
+ 'new_string_warning' => 'رشته یا بخش جدید',
+ 'structure_mismatch' => 'ساختار فایل منبع زبان با فایلی که در حال ویرایش می باشد مطابقت ندارد. برخی رشته ها در فایل در حال ویرایش فایل منبع را دچار مشکل میکند و فایل ها به صورت خودکار قابلیت تجمیع ندارند. ',
+ 'create_string' => 'ایجاد رشته متنی جدید',
+ 'string_key_label' => 'کلید رشته متنی',
+ 'string_key_comment' => 'کلید رشته متنی را که از نقطه به عنوان جدا کننده بخش ها استفاده میکند وارد نمایید. به عنوان مثال: plugin.search. رشته متنی در زبان پیشفرض بومی سازی افزونه ذخیره خواهد شد.',
+ 'string_value' => 'مقدار رشته متنی',
+ 'string_key_is_empty' => 'ورود کلید رشته متنی اجباریست.',
+ 'string_value_is_empty' => 'ورود مقدار رشته متنی اجباریست.',
+ 'string_key_exists' => 'کلید رشته وارد شده تکراری می باشد.'
+ ],
+ 'permission' => [
+ 'menu_label' => 'مجوز های دسترسی',
+ 'tab' => 'مجوز های دسترسی',
+ 'form_tab_permissions' => 'مجوز های دسترسی',
+ 'btn_add_permission' => 'مجوز دسترسی جدید',
+ 'btn_delete_permission' => 'حذف مجوز دسترسی',
+ 'column_permission_label' => 'کد مجوز دسترسی',
+ 'column_permission_required' => 'لطفا کد مجوز دسترسی را وارد نمایید',
+ 'column_tab_label' => 'عنوان بخش',
+ 'column_tab_required' => 'لطفا عنوان بخش مجوز دسترسی را وارد نمایید',
+ 'column_label_label' => 'عنوان',
+ 'column_label_required' => 'لطفا عنوان مجوز دسترسی را وارد نمایید.',
+ 'saved' => 'مجوز های دسترسی با موفقیت ذخیره شدند.',
+ 'error_duplicate_code' => "کد وارد شده ':code' برای مجوز دسترسی تکراری می باشد."
+ ],
+ 'yaml' => [
+ 'save_error' => "خطا در ذخیره فایل ':name'. لطفا مجوزهای مربوط به نوشتن بر روی دیسک را بررسی نمایید."
+ ],
+ 'common' => [
+ 'error_file_exists' => "فایل ':path' قبلا ایجاد شده است.",
+ 'field_icon_description' => 'اکتبر از آیکن فونت خود به آدری http://daftspunk.github.io/Font-Autumn استفاده می نماید',
+ 'destination_dir_not_exists' => "پوشه هدف به آدرس ':path' یافت نشد.",
+ 'error_make_dir' => "خطا در ایجاد پوشه به آدرس ':name'",
+ 'error_dir_exists' => "پوشه ':path' قبلا ایجاد شده است.",
+ 'template_not_found' => "فایل قالب ':name' یافت نشد.",
+ 'error_generating_file' => "خطا در تولید فایل ':path'.",
+ 'error_loading_template' => "خطا در بارگذاری قالب ':name'.",
+ 'select_plugin_first' => 'لطفا افزونه ای را انتخاب نمایید. جهت انتخاب افزونه بر روی آیکون > در سمت راست منوی کناری کلیک نمایید.',
+ 'plugin_not_selected' => 'افزونه ای انتخاب نشده است',
+ 'add' => 'افرودن'
+ ],
+ 'migration' => [
+ 'entity_name' => 'ساختار بانک اطلاعاتی',
+ 'error_version_invalid' => 'ویرایش باید در این قالب وارد شود: 1.0.1',
+ 'field_version' => 'ویرایش',
+ 'field_description' => 'توضیحات',
+ 'field_code' => 'کد',
+ 'field_code_comment' => 'کد ساختار بانک اطلاعاتی فقط خواندنی و فقط جهت پیش نمایش می باشد. شما میتوانید ساختار بانک اطلاعاتی سفارشی را به صورت دستی در بخش ویرایش ها ایجاد نمایید.',
+ 'save_and_apply' => 'ذخیره و اعمال',
+ 'error_version_exists' => 'فایل ساختار بانک اطلاعاتی قبلا تعریف شده است.',
+ 'error_script_filename_invalid' => 'نام فایل ساختار بانک اطلاعاتی فقط میتواند حاوی حروف لاتین، اعداد و خط زیر باشد و با یک حرف لاتین بزرگ شروع شود.',
+ 'error_cannot_change_version_number' => 'شماره ویرایش اعمال شده قابل تغییر نمی باشد.',
+ 'error_file_must_define_class' => 'کد ساختار بانک اطلاعاتی باید کلاس migration و یا seeder را تعریف کند. اگر فقط میخواهید فقط نسخه را افزایش دهید کد را خالی بگذارید.',
+ 'error_file_must_define_namespace' => 'ساختار بانک اطلاعاتی باشد شامل نیم اسپیس باشد. اگر فقط میخواهید شماره ویرایش را افزایش دهید کد را خالی بگذارید.',
+ 'no_changes_to_save' => 'تغییراتی جهت ذخیره وجود ندارد.',
+ 'error_namespace_mismatch' => "کد ساختار بانک اطلاعاتی باید از نیم اسپیس افزونه :namespace استفاده نماید.",
+ 'error_migration_file_exists' => "فایل ساختار بانک اطلاعات :file وجود دارد لطفا نام دیگری را وارد نمایید.",
+ 'error_cant_delete_applied' => 'این ویرایش اعمال شده است و شما نمیتوانید آن را حذف کنید لطفا جهت حذف آن ویرایش را به عقب باز گردانید.'
+ ],
+ 'components' => [
+ 'list_title' => 'لیست موارد',
+ 'list_description' => 'نمایش لیستی از موارد مدل انتخاب شده',
+ 'list_page_number' => 'شماره صفحه',
+ 'list_page_number_description' => 'این مقدار جهت تعیین صفحه ای که کاربر در آن می باشد مورد استفاده قرار میگیرد.',
+ 'list_records_per_page' => 'تعداد موارد در هر صفحه',
+ 'list_records_per_page_description' => 'تعداد مواردی که در هر صفحه به نمایش در می آیند. جهت استفاده نکردن از خاصیت چند صفحه ای این مورد را خالی بگذارید.',
+ 'list_records_per_page_validation' => 'مقدار وارد شده در تعداد موارد در هر صفحه باید یک عدد صحیح باشد.',
+ 'list_no_records' => 'پیغام خالی بودن لیست',
+ 'list_no_records_description' => 'پیغامی که به هنگام نبودن موردی جهت نمایش به نمایش در می آید.',
+ 'list_no_records_default' => 'موردی یافت نشد',
+ 'list_sort_column' => 'مرتب سازی بر اساس',
+ 'list_sort_column_description' => 'ستونی که موارد بر اساس آن باید مرتب شوند',
+ 'list_sort_direction' => 'ترتیب مرتب سازی',
+ 'list_display_column' => 'نمایش ستون',
+ 'list_display_column_description' => 'ستونی که در لیست به نمایش در می آید.',
+ 'list_display_column_required' => 'لطفا ستونی را جهت نمایش انتخاب کنید.',
+ 'list_details_page' => 'صفحه جزییات',
+ 'list_details_page_description' => 'صفحه ای جهت نمایش جزییات موارد',
+ 'list_details_page_no' => '--صفحه جزییات موجود نیست--',
+ 'list_sorting' => 'مرتب سازی',
+ 'list_pagination' => 'صفحه بندی',
+ 'list_order_direction_asc' => 'صعودی',
+ 'list_order_direction_desc' => 'نزولی',
+ 'list_model' => 'کلاس مدل',
+ 'list_scope' => 'محدوده',
+ 'list_scope_description' => 'محدوده اختیاری کلاس مدل جهت واکشی موارد',
+ 'list_scope_default' => '--محدوده را انتخاب نمایید، اختیاری--',
+ 'list_details_page_link' => 'آدرس صفحه جزییات',
+ 'list_details_key_column' => 'ستون کلید جزییات',
+ 'list_details_key_column_description' => 'ستونی در مدل به عنوان کلید که مورد جهت نمایش جزییات از طریق آن در پایگاه داده یافت می شود.',
+ 'list_details_url_parameter' => 'پارامتر نام آدرس',
+ 'list_details_url_parameter_description' => 'نام پارامتر آدرس صفحه جزییات که کلید مورد را دریافت میکند.',
+ 'details_title' => 'جزییات مورد',
+ 'details_description' => 'نمایش جزییات مورد از مدل انتخاب شده',
+ 'details_model' => 'کلاس مدل',
+ 'details_identifier_value' => 'مقدار مشخصه',
+ 'details_identifier_value_description' => 'مقدار مشخصه جهت بارگذاری مورد از پایگاه داده. میتواند یک مقدار ثابت و یا پارامتر آدرس باشد.',
+ 'details_identifier_value_required' => 'وارد کردن مقدار مشخصه اجباریست',
+ 'details_key_column' => 'ستون کلید',
+ 'details_key_column_description' => 'ستونی در مدل که به عنوان مشخصه برای واکشی مورد در پایگاه داده مورد استفاده قرار میگیرد.',
+ 'details_key_column_required' => 'وارد کردن ستون کلید اجباریست',
+ 'details_display_column' => 'ستون نمایشی',
+ 'details_display_column_description' => 'ستونی در مدل که جهت نمایش در صفحه جزییات مورد استفاده قرار میگیرد.',
+ 'details_display_column_required' => 'وارد کردن ستون نمایشی اجباریست',
+ 'details_not_found_message' => 'موردی یافت نشد',
+ 'details_not_found_message_description' => 'پیغامی که به هنگام یافت نشدن مورد مورد استفاده قرار میگیرد.',
+ 'details_not_found_message_default' => 'موردی یافت نشد.',
+ ]
+];
diff --git a/server/plugins/rainlab/builder/lang/nl/lang.php b/server/plugins/rainlab/builder/lang/nl/lang.php
new file mode 100644
index 0000000..699c61a
--- /dev/null
+++ b/server/plugins/rainlab/builder/lang/nl/lang.php
@@ -0,0 +1,654 @@
+ [
+ 'name' => 'Builder',
+ 'description' => 'Stelt visuele hulpmiddelen beschikbaar om October plugins te maken.',
+ 'add' => 'Maak plugin',
+ 'no_records' => 'Geen plugins aanwezig',
+ 'no_name' => 'Geen naam',
+ 'search' => 'Zoeken...',
+ 'filter_description' => 'Toon alle plugins of alleen eigen plugins.',
+ 'settings' => 'Instellingen',
+ 'entity_name' => 'Plugin',
+ 'field_name' => 'Naam',
+ 'field_author' => 'Auteur',
+ 'field_description' => 'Omschrijving',
+ 'field_icon' => 'Icoon',
+ 'field_plugin_namespace' => 'Plugin namespace',
+ 'field_author_namespace' => 'Auteur namespace',
+ 'field_namespace_description' => 'Een namespace kan alleen latijnse letters en cijfers bevatten en mag ook alleen met een letter beginnen. Bijvoorbeeld: Blog',
+ 'field_author_namespace_description' => 'Je kan de namespace van een Builder plugin niet meer wijzigen nadat je de plugin hebt gemaakt. Bijvoorbeeld: JohnSmith',
+ 'tab_general' => 'Algemeen',
+ 'tab_description' => 'Details',
+ 'field_homepage' => 'Plugin homepagina URL',
+ 'no_description' => 'Er is geen omschrijving opgegeven voor deze plugin.',
+ 'error_settings_not_editable' => 'De instellingen van deze plugin kunnen niet met Builder worden gewijzigd.',
+ 'update_hint' => 'Je kan de naam en omschrijving van de plugin vertalen in de \'Vertalen\' tab.',
+ ],
+ 'author_name' => [
+ 'title' => 'Auteursnaam',
+ 'description' => 'Dit is de standaard auteursnaam die wordt gebruikt bij het maken van plugins. Deze naam staat niet vast, je kan hem altijd wijzigen in de instellingen van de plugin.',
+ ],
+ 'author_namespace' => [
+ 'title' => 'Auteur namespace',
+ 'description' => 'Als je plugins maakt voor de Marketplace, dan moet de namespace gelijk zijn aan de auteur code en niet gewijzigd worden. Raadpleeg de documentatie voor aanvullende details.',
+ ],
+ 'database' => [
+ 'menu_label' => 'Database',
+ 'no_records' => 'Geen database tabellen aanwezig',
+ 'search' => 'Zoeken...',
+ 'confirmation_delete_multiple' => 'Weet je zeker dat je de geselecteerde tabellen wilt verwijderen?',
+ 'field_name' => 'Tabelnaam',
+ 'tab_columns' => 'Kolommen',
+ 'column_name_name' => 'Kolom',
+ 'column_name_required' => 'Geef kolomnaam op',
+ 'column_name_type' => 'Type',
+ 'column_type_required' => 'Selecteer kolomtype',
+ 'column_name_length' => 'Lengte',
+ 'column_validation_length' => 'Lengte moet een getal zijn of een getal met dicimalen (10,2). Spaties zijn niet toegestaan.',
+ 'column_validation_title' => 'Alleen getallen, kleine letters en underscores zijn toegestaan in kolomnamen',
+ 'column_name_unsigned' => 'Unsigned',
+ 'column_name_nullable' => 'Nullable',
+ 'column_auto_increment' => 'AUTOINCR',
+ 'column_default' => 'Standaardwaarde',
+ 'column_auto_primary_key' => 'PK',
+ 'tab_new_table' => 'Nieuwe tabel',
+ 'btn_add_column' => 'Kolom toevoegen',
+ 'btn_delete_column' => 'Kolom verwijderen',
+ 'confirm_delete' => 'Do you really want to delete the table?',
+ 'error_enum_not_supported' => 'De tabel bevat kolom(men) van het type "enum", deze worden momenteel niet ondersteund door Builder.',
+ 'error_table_name_invalid_prefix' => "De tabelnaam moet starten met de plugin prefix: ':prefix'.",
+ 'error_table_name_invalid_characters' => 'Ongeldige tabelnaam. Tabelnamen mogen alleen latijnse letters, cijfers en underscores bevatten. Tabelnamen moeten beginnen met een letter en mogen geen spaties bevatten.',
+ 'error_table_duplicate_column' => "Kolomnaam bestaat reeds: ':column'.",
+ 'error_table_auto_increment_in_compound_pk' => 'Een `auto-increment` kolom kan geen deel uitmaken van een `compound primary key`.',
+ 'error_table_mutliple_auto_increment' => 'De tabel kan niet meerdere `auto-increment` kolommen bevatten.',
+ 'error_table_auto_increment_non_integer' => 'Auto-increment kolommen moeten van het type `integer` zijn.',
+ 'error_table_decimal_length' => "De lengte voor type `:type` moet voldoen aan het formaat '10,2', zonder spaties.",
+ 'error_table_length' => 'De lengte voor type `:type` moet als een integer worden gespecificeerd.',
+ 'error_unsigned_type_not_int' => "Fout gevonden in kolomdefinitie ':column'. De `unsigned` vlag mag alleen op type `integer` kolommen worden toegepast.",
+ 'error_integer_default_value' => "Ongeldige standaardwaarde voor kolom ':column'. Toegestane waardes zijn '10', '-10'.",
+ 'error_decimal_default_value' => "Ongeldige standaardwaarde voor kolom ':column'. Toegestane waardes zijn '1.00', '-1.00'.",
+ 'error_boolean_default_value' => "Ongeldige standaardwaarde voor kolom ':column'. Toegestane waardes zijn '0' and '1'.",
+ 'error_unsigned_negative_value' => "De standaardwaarde voor de kolom ':column' mag niet negatief zijn.",
+ 'error_table_already_exists' => "De tabel ':name' bestaat reeds in de database.",
+ ],
+ 'model' => [
+ 'menu_label' => 'Models',
+ 'entity_name' => 'Model',
+ 'no_records' => 'Geen models aanwezig',
+ 'search' => 'Zoeken...',
+ 'add' => 'Toevoegen...',
+ 'forms' => 'Formulieren',
+ 'lists' => 'Lijsten',
+ 'field_class_name' => 'Klasse naam',
+ 'field_database_table' => 'Database tabel',
+ 'error_class_name_exists' => 'Model bestand bestaat reeds voor de opgegeven klasse naam: :path',
+ 'add_form' => 'Fomulier toevoegen',
+ 'add_list' => 'Lijst toevoegen',
+ ],
+ 'form' => [
+ 'saved' => 'Het formulier is succesvol opgeslagen.',
+ 'confirm_delete' => 'Weet je zeker dat je het formulier wilt verwijderen?',
+ 'tab_new_form' => 'Nieuw formulier',
+ 'property_label_title' => 'Label',
+ 'property_label_required' => 'Voor waarde voor label in.',
+ 'property_span_title' => 'Uitlijning',
+ 'property_comment_title' => 'Toelichting',
+ 'property_comment_above_title' => 'Toelichting (boven)',
+ 'property_default_title' => 'Standaard',
+ 'property_checked_default_title' => 'Standaard aangevinkt',
+ 'property_css_class_title' => 'CSS klassenaam',
+ 'property_css_class_description' => 'Optionele CSS klassenaam die wordt toegewezen aan het veld element.',
+ 'property_disabled_title' => 'Uitgeschakeld',
+ 'property_hidden_title' => 'Verborgen',
+ 'property_required_title' => 'Verplicht',
+ 'property_field_name_title' => 'Veldnaam',
+ 'property_placeholder_title' => 'Tijdelijke aanduiding',
+ 'property_default_from_title' => 'Waarde van',
+ 'property_stretch_title' => 'Uitrekken',
+ 'property_stretch_description' => 'Geeft aan of dit veld uitrekt naar de breedte van het bovenliggende element.',
+ 'property_context_title' => 'Context',
+ 'property_context_description' => 'Geeft aan welk formulier context gebruikt moet worden om het veld weer te geven.',
+ 'property_context_create' => 'Aanmaken',
+ 'property_context_update' => 'Wijzigen',
+ 'property_context_preview' => 'Voorvertoning',
+ 'property_dependson_title' => 'Afhankelijk van',
+ 'property_trigger_action' => 'Actie',
+ 'property_trigger_show' => 'Weergeven',
+ 'property_trigger_hide' => 'Verbergen',
+ 'property_trigger_enable' => 'Inschakelen',
+ 'property_trigger_disable' => 'Uitschakelen',
+ 'property_trigger_empty' => 'Leeg',
+ 'property_trigger_field' => 'Veld',
+ 'property_trigger_field_description' => 'Geeft het veld aan wat de actie veroorzaakt.',
+ 'property_trigger_condition' => 'Voorwaarde',
+ 'property_trigger_condition_description' => 'Bepaald de voorwaarde waaraan het betreffende veld aan moet voldoen. Ondersteunde waarden: checked, unchecked, value[waarde].',
+ 'property_trigger_condition_checked' => 'Aangevinkt: checked',
+ 'property_trigger_condition_unchecked' => 'Uitgevinkt: unchecked',
+ 'property_trigger_condition_somevalue' => 'Waarde: value[waarde]',
+ 'property_preset_title' => 'Voorinstelling',
+ 'property_preset_description' => 'Zorgt ervoor dat de veldwaarde initieel wordt gevuld met de waarde van een ander veld, al dan niet geconverteerd.',
+ 'property_preset_field' => 'Veld',
+ 'property_preset_field_description' => 'Het veld waarvan de waarde moet overgenomen worden.',
+ 'property_preset_type' => 'Type',
+ 'property_preset_type_description' => 'Conversie type',
+ 'property_attributes_title' => 'Attributen',
+ 'property_attributes_description' => 'Custom HTML attributen die aan het formulier veld moeten worden toegevoegd.',
+ 'property_container_attributes_title' => 'Container attributen',
+ 'property_container_attributes_description' => 'Custom HTML attributen die aan het formulier veld container moeten worden toegevoegd.',
+ 'property_group_advanced' => 'Geavanceerd',
+ 'property_dependson_description' => 'Een lijst van veldnamen waar dit veld van afhankelijk is. Als die velden een andere waarde krijgen, zal dit veld worden bijgewerkt. Een veld per regel.',
+ 'property_trigger_title' => 'Trigger',
+ 'property_trigger_description' => 'Zorgt ervoor dat veld eigenschappen veranderen, zoals bijvoorbeeld zichtbaarheid of waarde, gebaseerd op de staat van een ander veld.',
+ 'property_default_from_description' => 'Neemt de standaardwaarde over van een ander veld.',
+ 'property_field_name_required' => 'Veldnaam is verplicht',
+ 'property_field_name_regex' => 'Veldnaam kan alleen latijnse karakters bevatten of _ - [ ] .',
+ 'property_attributes_size' => 'Grootte',
+ 'property_attributes_size_tiny' => 'Kleiner',
+ 'property_attributes_size_small' => 'Klein',
+ 'property_attributes_size_large' => 'Groter',
+ 'property_attributes_size_huge' => 'Groot',
+ 'property_attributes_size_giant' => 'Grootst',
+ 'property_comment_position' => 'Toelichting positie',
+ 'property_comment_position_above' => 'Boven',
+ 'property_comment_position_below' => 'Beneden',
+ 'property_hint_path' => 'Pad naar hint-sjabloon',
+ 'property_hint_path_description' => 'Pad naar sjabloon bestand die de hint tekst bevat. Gebruik het $ symbool om het hoofdpad van de plugin aan te geven. Voorbeeld: $/acme/blog/partials/_partial.htm',
+ 'property_hint_path_required' => 'Geef het hint-sjabloon pad op',
+ 'property_partial_path' => 'Pad naar sjabloon',
+ 'property_partial_path_description' => 'Pad naar sjabloon bestand. Gebruik het $ symbool om het hoofdpad van de plugin aan te geven. Voorbeeld: $/acme/blog/partials/_partial.htm',
+ 'property_partial_path_required' => 'Geef het sjabloon pad op',
+ 'property_code_language' => 'Taal',
+ 'property_code_theme' => 'Thema',
+ 'property_theme_use_default' => 'Gebruik standaard thema',
+ 'property_group_code_editor' => 'Code editor',
+ 'property_gutter' => 'Goot',
+ 'property_gutter_show' => 'Weergeven',
+ 'property_gutter_hide' => 'Verbergen',
+ 'property_wordwrap' => 'Woordafbreking',
+ 'property_wordwrap_wrap' => 'Afbreken',
+ 'property_wordwrap_nowrap' => 'Niet afbreken',
+ 'property_fontsize' => 'Grootte lettertype',
+ 'property_codefolding' => 'Code inklappen',
+ 'property_codefolding_manual' => 'Handmatig',
+ 'property_codefolding_markbegin' => 'Begin markeren',
+ 'property_codefolding_markbeginend' => 'Begin en einde markeren',
+ 'property_autoclosing' => 'Automatisch sluiten',
+ 'property_enabled' => 'Ingeschakeld',
+ 'property_disabled' => 'Uitgeschakeld',
+ 'property_soft_tabs' => 'Zachte tabs',
+ 'property_tab_size' => 'Tab grootte',
+ 'property_readonly' => 'Alleen-lezen',
+ 'property_use_default' => 'Standaard instelling',
+ 'property_options' => 'Opties',
+ 'property_prompt' => 'Invoer',
+ 'property_prompt_description' => 'Tekst op de toevoegknop.',
+ 'property_prompt_default' => 'Nieuw item',
+ 'property_available_colors' => 'Beschikbare kleuren',
+ 'property_available_colors_description' => 'Lijst van beschikbare kleuren in HEX formaat (#FF0000). Laat leeg voor standaard kleuren set. Een waarde per regel.',
+ 'property_datepicker_mode' => 'Modus',
+ 'property_datepicker_mode_date' => 'Datum',
+ 'property_datepicker_mode_datetime' => 'Datum en tijd',
+ 'property_datepicker_mode_time' => 'Tijd',
+ 'property_datepicker_min_date' => 'Minimale datum',
+ 'property_datepicker_min_date_description' => 'De minimale datum die geselecteerd kan worden. Laat leeg om de standaardwaarde te gebruiken (2000-01-01).',
+ 'property_datepicker_max_date' => 'Maximale datum',
+ 'property_datepicker_max_date_description' => 'De maximale datum die geselecteerd kan worden. Laat leeg om de standaardwaarde te gebruiken (2020-12-31).',
+ 'property_datepicker_date_invalid_format' => 'Ongeldig datum formaat. Gebruik het formaat YYYY-MM-DD.',
+ 'property_markdown_mode' => 'Modus',
+ 'property_markdown_mode_split' => 'Gesplitst',
+ 'property_markdown_mode_tab' => 'Tabblad',
+ 'property_fileupload_mode' => 'Modus',
+ 'property_fileupload_mode_file' => 'Bestand',
+ 'property_fileupload_mode_image' => 'Afbeelding',
+ 'property_group_fileupload' => 'Bestandsupload',
+ 'property_fileupload_prompt' => 'Prompt',
+ 'property_fileupload_prompt_description' => 'Tekst op de upload knop. Alleen van toepassing op bestandsmodus (optioneel).',
+ 'property_fileupload_image_width' => 'Breedte afbeelding',
+ 'property_fileupload_image_width_description' => 'Afbeeldingen zullen geschaald worden naar deze breedte (optioneel).',
+ 'property_fileupload_invalid_dimension' => 'Ongeldige waarde voor breedte/hoogte afbeelding, geef een getal in.',
+ 'property_fileupload_image_height' => 'Hoogte afbeelding',
+ 'property_fileupload_image_height_description' => 'Afbeeldingen zullen geschaald worden naar deze hoogte (optioneel).',
+ 'property_fileupload_file_types' => 'Bestandstypes',
+ 'property_fileupload_file_types_description' => 'Komma gescheiden lijst van toegestane bestandsextenties, bijvoorbeeld: zip,txt (optioneel).',
+ 'property_fileupload_mime_types' => 'MIME typen',
+ 'property_fileupload_mime_types_description' => 'Komma gescheiden lijst van toegestane MIME-typen; bestandsextenties of volledige namen, bijvoorbeeld: zip,txt',
+ 'property_fileupload_use_caption' => 'Gebruik annotatie',
+ 'property_fileupload_use_caption_description' => 'Staat toe dat er een titel en omschrijving kunnen worden opgegeven voor het bestand.',
+ 'property_fileupload_thumb_options' => 'Miniatuurweergave opties',
+ 'property_fileupload_thumb_options_description' => 'Beheer opties voor de automatisch gegenereerde miniatuurweergaven. Alleen van toepassing bij Afbeelding modus.',
+ 'property_fileupload_thumb_mode' => 'Modus',
+ 'property_fileupload_thumb_auto' => 'Automatisch',
+ 'property_fileupload_thumb_exact' => 'Exact',
+ 'property_fileupload_thumb_portrait' => 'Staand',
+ 'property_fileupload_thumb_landscape' => 'Liggend',
+ 'property_fileupload_thumb_crop' => 'Uitsnijden',
+ 'property_fileupload_thumb_extension' => 'Bestandsextentie',
+ 'property_name_from' => 'Kolomnaam',
+ 'property_name_from_description' => 'Gerelateerde kolomnaam die gebruikt moet worden voor het weergeven van een naam.',
+ 'property_description_from' => 'Omschrijving kolom',
+ 'property_description_from_description' => 'Gerelateerde kolomnaam die gebruikt moet worden voor het weergeven van een omschrijving.',
+ 'property_recordfinder_prompt' => 'Prompt',
+ 'property_recordfinder_prompt_description' => 'Text to display when there is no record selected. The %s character represents the search icon. Leave empty for the default prompt.',
+ 'property_recordfinder_list' => 'Lijst configuratie',
+ 'property_recordfinder_list_description' => 'Een referentie naar een lijstkolom definitie bestand. Gebruik het $ symbool om te refereren naar de plugin map, bijvoorbeeld: $/acme/blog/lists/_list.yaml',
+ 'property_recordfinder_list_required' => 'Geef een pad op naar het YAML bestand',
+ 'property_group_recordfinder' => 'Record zoeker',
+ 'property_mediafinder_mode' => 'Modus',
+ 'property_mediafinder_mode_file' => 'Bestand',
+ 'property_mediafinder_mode_image' => 'Afbeelding',
+ 'property_mediafinder_prompt' => 'Prompt',
+ 'property_mediafinder_prompt_description' => 'Tekst om weer te geven als er geen item geselecteerd is. Het karakter %s representeerd het media beheer icoon. Laat leeg voor de standaard prompt.',
+ 'property_group_relation' => 'Relatie',
+ 'property_relation_select' => 'kiezen',
+ 'property_relation_select_description' => 'CONCAT meerdere kolommen samen voor het weergeven van een naam',
+ 'property_relation_prompt' => 'Prompt',
+ 'property_relation_prompt_description' => 'Tekst om weer te geven als er geen selecties beschikbaar zijn.',
+ 'property_max_items' => 'Maximum aantal',
+ 'property_max_items_description' => 'Maximum toegelaten aantal items in de herhaler.',
+ 'control_group_standard' => 'Standaard',
+ 'control_group_widgets' => 'Widgets',
+ 'click_to_add_control' => 'Element toevoegen',
+ 'loading' => 'Bezig met laden...',
+ 'control_text' => 'Tekst',
+ 'control_text_description' => 'Invoerveld voor één regel tekst.',
+ 'control_password' => 'Wachtwoord',
+ 'control_password_description' => 'Invoerveld voor een wachtwoord.',
+ 'control_checkbox' => 'Keuzevakje',
+ 'control_checkbox_description' => 'Enkelvoudig keuzevakje.',
+ 'control_switch' => 'Schakelaar',
+ 'control_switch_description' => 'Enkelvoudige schakelaar, een alternatief voor het keuzevakje.',
+ 'control_textarea' => 'Tekst',
+ 'control_textarea_description' => 'Tekstvak voor meerdere regels met instelbare hoogte.',
+ 'control_dropdown' => 'Selectieveld',
+ 'control_dropdown_description' => 'Een selectie lijst met vaste of dynamische opties.',
+ 'control_unknown' => 'Onbekend element type: :type',
+ 'control_repeater' => 'Herhaler',
+ 'control_repeater_description' => 'Toont een set van herhalende formulier elementen.',
+ 'control_number' => 'Nummer',
+ 'control_number_description' => 'Invoerveld voor een nummer.',
+ 'control_hint' => 'Tip',
+ 'control_hint_description' => 'Toont een tip in een vakje die verborgen kan worden door een gebruiker.',
+ 'control_partial' => 'Partial',
+ 'control_partial_description' => 'Toont inhoud van een zgn. partial.',
+ 'control_section' => 'Sectie',
+ 'control_section_description' => 'Toont een formuliersectie met een kop- en subkoptekst.',
+ 'control_radio' => 'Lijst van invoerrondjes',
+ 'control_radio_description' => 'Een lijst van invoerrondjes, er kan maar één invoerrondje geselecteerd worden.',
+ 'control_radio_option_1' => 'Optie 1',
+ 'control_radio_option_2' => 'Optie 2',
+ 'control_checkboxlist' => 'Lijst van keuzevakjes',
+ 'control_checkboxlist_description' => 'Een lijst van keuzevakjes, er kunnen meerdere keuzevakjes geselecteerd worden.',
+ 'control_codeeditor' => 'Code editor',
+ 'control_codeeditor_description' => 'Een editor voor het bewerken van geformatteerde code of opmaakcode.',
+ 'control_colorpicker' => 'Kleur kiezer',
+ 'control_colorpicker_description' => 'Een veld met de mogelijkheid voor het selecteren van een hexadecimale kleurcode.',
+ 'control_datepicker' => 'Datum kiezer',
+ 'control_datepicker_description' => 'Een veld met de mogelijkheid voor het selecteren van een datum en tijd.',
+ 'control_richeditor' => 'WYSIWYG editor',
+ 'control_richeditor_description' => 'Een editor voor het bewerken van uitgebreide opgemaakte tekst.',
+ 'control_markdown' => 'Markdown editor',
+ 'control_markdown_description' => 'Een editor voor het bewerken van tekst in het Markdown formaat.',
+ 'control_fileupload' => 'Bestand uploader',
+ 'control_fileupload_description' => 'Een bestandsuploader voor afbeeldingen of reguliere bestanden.',
+ 'control_recordfinder' => 'Record veld',
+ 'control_recordfinder_description' => 'Een zoekveld met details van een gerelateerd record.',
+ 'control_mediafinder' => 'Media veld',
+ 'control_mediafinder_description' => 'Een veld die een item uit de Media bibliotheek kan bevatten.',
+ 'control_relation' => 'Relatie',
+ 'control_relation_description' => 'Toont een selectieveld of een lijst van keuzevakjes om een gerelateerd record te selecteren.',
+ 'error_file_name_required' => 'Voer bestandsnaam in van het formulier.',
+ 'error_file_name_invalid' => 'Bestandsnaam kan alleen latijnse karakters, cijfers of een van de volgende tekens bevatten: _ - #',
+ 'span_left' => 'Links',
+ 'span_right' => 'Rechts',
+ 'span_full' => 'Volledige breedte',
+ 'span_auto' => 'Automatisch',
+ 'empty_tab' => 'Leeg tabblad',
+ 'confirm_close_tab' => 'Het tabblad bevat elementen die verwijderd zullen worden. Doorgaan?',
+ 'tab' => 'Formulier tabblad',
+ 'tab_title' => 'Titel',
+ 'controls' => 'Elementen',
+ 'property_tab_title_required' => 'De titel van het tabblad is verplicht.',
+ 'tabs_primary' => 'Primaire tabs',
+ 'tabs_secondary' => 'Secundaire tabs',
+ 'tab_stretch' => 'Uitrekken',
+ 'tab_stretch_description' => 'Met deze optie geef je aan dat de inhoud van het tabblad meerekt naar de hoogte van het bovenliggende element.',
+ 'tab_css_class' => 'CSS class',
+ 'tab_css_class_description' => 'Wijst een CSS class toe aan de inhoud van het tabblad.',
+ 'tab_name_template' => 'Tabblad %s',
+ 'tab_already_exists' => 'Tabblad met opgegeven titel bestaat reeds.',
+ ],
+ 'list' => [
+ 'tab_new_list' => 'Nieuwe lijst',
+ 'saved' => 'De lijst is succesvol opgeslagen.',
+ 'confirm_delete' => 'Weet je zeker dat je de lijst wilt verwijderen?',
+ 'tab_columns' => 'Kolommen',
+ 'btn_add_column' => 'Kolom toevoegen',
+ 'btn_delete_column' => 'Kolom verwijderen',
+ 'column_dbfield_label' => 'Veld',
+ 'column_dbfield_required' => 'Geef Model veld op',
+ 'column_name_label' => 'Label',
+ 'column_label_required' => 'Geef kolom label op',
+ 'column_type_label' => 'Type',
+ 'column_type_required' => 'Geef kolomtype op',
+ 'column_type_text' => 'Tekst',
+ 'column_type_number' => 'Numeriek',
+ 'column_type_switch' => 'Schakelaar',
+ 'column_type_datetime' => 'Datum & Tijd',
+ 'column_type_date' => 'Datum',
+ 'column_type_time' => 'Tijd',
+ 'column_type_timesince' => 'Datum & tijd sinds',
+ 'column_type_timetense' => 'Datum & tijd afgekort',
+ 'column_type_select' => 'Keuze',
+ 'column_type_partial' => 'Partial',
+ 'column_label_default' => 'Standaard',
+ 'column_label_searchable' => 'Zoeken',
+ 'column_label_sortable' => 'Sorteerbaar',
+ 'column_label_invisible' => 'Onzichtbaar',
+ 'column_label_select' => 'Select',
+ 'column_label_relation' => 'Relatie',
+ 'column_label_css_class' => 'CSS class',
+ 'column_label_width' => 'Breedte',
+ 'column_label_path' => 'Pad',
+ 'column_label_format' => 'Formaat',
+ 'column_label_value_from' => 'Waarde van',
+ 'error_duplicate_column' => "Kolom veldnaam bestaat reeds: ':column'.",
+ ],
+ 'controller' => [
+ 'menu_label' => 'Controllers',
+ 'no_records' => 'Geen controllers aanwezig',
+ 'controller' => 'Controller',
+ 'behaviors' => 'Behaviors',
+ 'new_controller' => 'Nieuwe controller',
+ 'error_controller_has_no_behaviors' => 'De controller heeft geen configureerbare behaviors.',
+ 'error_invalid_yaml_configuration' => 'Fout bij laden behavior configuratie bestand: :file',
+ 'behavior_form_controller' => 'Formulier controller behavior',
+ 'behavior_form_controller_description' => 'Voegt formulier functionaliteit toe aan een back-end pagina. Deze behavior bevat drie pagina\'s: Create (aanmaken), Update (wijzigen) en Preview (voorbeeldweergave).',
+ 'property_behavior_form_placeholder' => '-- Selecteer formulier --',
+ 'property_behavior_form_name' => 'Naam',
+ 'property_behavior_form_name_description' => 'De naam van het object wat beheerd wordt door dit formulier.',
+ 'property_behavior_form_name_required' => 'Geef de naam van het formulier op',
+ 'property_behavior_form_file' => 'Formulier configuratie',
+ 'property_behavior_form_file_description' => 'Referentie naar het formulieren veld definitie bestand.',
+ 'property_behavior_form_file_required' => 'Geef het pad op naar het configuratiebestand van het formulier',
+ 'property_behavior_form_model_class' => 'Model class',
+ 'property_behavior_form_model_class_description' => 'Klassenaam van een model, de data van het formulier wordt geladen en opgeslagen met dit model.',
+ 'property_behavior_form_model_class_required' => 'Selecteer een model class',
+ 'property_behavior_form_default_redirect' => 'Standaard redirect',
+ 'property_behavior_form_default_redirect_description' => 'De standaard pagina waarnaar verwezen wordt nadat het formulier is opgeslagen.',
+ 'property_behavior_form_create' => 'Maak record pagina',
+ 'property_behavior_form_redirect' => 'Redirect',
+ 'property_behavior_form_redirect_description' => 'Een pagina waarnaar verwezen wordt wanneer een record is aangemaakt.',
+ 'property_behavior_form_redirect_close' => 'Sluiten redirect',
+ 'property_behavior_form_redirect_close_description' => 'Een pagina waarnaar verwezen wordt wanneer er gekozen is voor \'Opslaan en sluiten\'.',
+ 'property_behavior_form_flash_save' => 'Bericht bij opslaan',
+ 'property_behavior_form_flash_save_description' => 'Bericht om weer te geven nadat een record is opgeslagen.',
+ 'property_behavior_form_page_title' => 'Paginatitel',
+ 'property_behavior_form_update' => 'Record bijwerken pagina',
+ 'property_behavior_form_update_redirect' => 'Redirect',
+ 'property_behavior_form_create_redirect_description' => 'Een pagina waarnaar verwezen wordt als een record wordt opgeslagen.',
+ 'property_behavior_form_flash_delete' => 'Delete flash message',
+ 'property_behavior_form_flash_delete_description' => 'Flash message to display when record is deleted.',
+ 'property_behavior_form_preview' => 'Voorbeeldweergave record pagina',
+ 'behavior_list_controller' => 'Lijst controller behavior',
+ 'behavior_list_controller_description' => 'Stelt een sorteerbare en doorzoekbare lijst beschikbaar. De \'behavior\' maakt de controller action "index" beschikbaar.',
+ 'property_behavior_list_title' => 'Titel lijst',
+ 'property_behavior_list_title_required' => 'Geeft de titel van de lijst op',
+ 'property_behavior_list_placeholder' => '-- Selecteer lijst --',
+ 'property_behavior_list_model_class' => 'Model class',
+ 'property_behavior_list_model_class_description' => 'Klassenaam van een model, de lijst wordt geladen m.b.v. dit model.',
+ 'property_behavior_form_model_class_placeholder' => '-- Selecteer model --',
+ 'property_behavior_list_model_class_required' => 'Selecteer een model class',
+ 'property_behavior_list_model_placeholder' => '-- Selecteer model --',
+ 'property_behavior_list_file' => 'Configuratiebestand lijst',
+ 'property_behavior_list_file_description' => 'Referentie naar een definitiebestand van een lijst.',
+ 'property_behavior_list_file_required' => 'Geeft het pad op naar het configuratiebestand van de lijst',
+ 'property_behavior_list_record_url' => 'Record URL',
+ 'property_behavior_list_record_url_description' => 'Koppel elk record van de lijst aan een andere pagina. Bijv. users/update:id. Het :id gedeelte wordt vervangen met het identificatie nummer van het record.',
+ 'property_behavior_list_no_records_message' => 'Bericht bij geen records',
+ 'property_behavior_list_no_records_message_description' => 'Het bericht wat moet worden weergegeven als er geen records gevonden zijn.',
+ 'property_behavior_list_recs_per_page' => 'Records per pagina',
+ 'property_behavior_list_recs_per_page_description' => 'Aantal records wat weergegeven moet worden per pagina. Geef 0 op om geen paginatie te gebruiken. Standaardwaarde: 0',
+ 'property_behavior_list_recs_per_page_regex' => 'Het aantal records per pagina moet een numerieke waarde zijn',
+ 'property_behavior_list_show_setup' => 'Toon setup knop',
+ 'property_behavior_list_show_sorting' => 'Toon sorteren',
+ 'property_behavior_list_default_sort' => 'Standaard sortering',
+ 'property_behavior_form_ds_column' => 'Kolom',
+ 'property_behavior_form_ds_direction' => 'Richting',
+ 'property_behavior_form_ds_asc' => 'Oplopend',
+ 'property_behavior_form_ds_desc' => 'Aflopend',
+ 'property_behavior_list_show_checkboxes' => 'Toon keuzevakjes',
+ 'property_behavior_list_onclick' => 'Klik handler',
+ 'property_behavior_list_onclick_description' => 'JavaScript code wat uitgevoerd moet worden als er op een record wordt geklikt.',
+ 'property_behavior_list_show_tree' => 'Toon hiërarchie',
+ 'property_behavior_list_show_tree_description' => 'Toont een hiërarchie boom voor ouder/kind-records.',
+ 'property_behavior_list_tree_expanded' => 'Uitgeklapte weergave',
+ 'property_behavior_list_tree_expanded_description' => 'Geeft aan of de hiërarchische boom standaard uitgeklapt moet worden weergegeven.',
+ 'property_behavior_list_toolbar' => 'Toolbar',
+ 'property_behavior_list_toolbar_buttons' => 'Knoppen partial bestand',
+ 'property_behavior_list_toolbar_buttons_description' => 'Referentie naar een partial bestand met de toolbar knoppen. Bijv. list_toolbar',
+ 'property_behavior_list_search' => 'Zoeken',
+ 'property_behavior_list_search_prompt' => 'Zoek prompt',
+ 'property_behavior_list_filter' => 'Filter configuratie',
+ 'behavior_reorder_controller' => 'Reorder controller behavior',
+ 'behavior_reorder_controller_description' => 'Stelt functies beschikbaar voor het sorteren en rangschikken van records. De behavior maakt automatisch de "reorder" controller actie aan.',
+ 'property_behavior_reorder_title' => 'Rangschik titel',
+ 'property_behavior_reorder_title_required' => 'De rangschik titel is verplicht.',
+ 'property_behavior_reorder_name_from' => 'Attribuut naam',
+ 'property_behavior_reorder_name_from_description' => 'Attribuut van het model wat als weergavenaam van het record moet worden gebruikt.',
+ 'property_behavior_reorder_name_from_required' => 'De attribuut naam is verplicht.',
+ 'property_behavior_reorder_model_class' => 'Model class',
+ 'property_behavior_reorder_model_class_description' => 'Model klassenaam, de rangschik data wordt geladen uit dit model.',
+ 'property_behavior_reorder_model_class_placeholder' => '-- Selecteer model --',
+ 'property_behavior_reorder_model_class_required' => 'Selecteer een model class',
+ 'property_behavior_reorder_model_placeholder' => '-- Selecteer model --',
+ 'property_behavior_reorder_toolbar' => 'Toolbar',
+ 'property_behavior_reorder_toolbar_buttons' => 'Knoppen partial bestand',
+ 'property_behavior_reorder_toolbar_buttons_description' => 'Referentie naar een partial bestand met de toolbar knoppen. Bijv. reorder_toolbar',
+ 'error_controller_not_found' => 'Het originele controller bestand kan niet gevonden worden.',
+ 'error_invalid_config_file_name' => 'De bestandsnaam van configuratiebestand :fil) (van behavior :class) bevat ongeldige karakters en kan daarom niet worden geladen.',
+ 'error_file_not_yaml' => 'Het configuratiebestad :file (van behavior :class) is geen YAML-bestand. Alleen YAML-bestanden worden ondersteund.',
+ 'saved' => 'De controller is succesvol opgeslagen.',
+ 'controller_name' => 'Naam controller',
+ 'controller_name_description' => 'De naam van de controller bepaald de uiteindelijk URL waarmee de controller beschikbaar is in de back-end. De standaard PHP conventies zijn van toepassing. Het eerste karakter moet een hoofdletter zijn. Voorbeelden van geldige namen: Categories, Posts of Products.',
+ 'base_model_class' => 'Basis model class',
+ 'base_model_class_description' => 'Selecteer een model class om te gebruiken als basis model in behaviors die models vereisen of ondersteunen. Je kan de behaviors later configureren.',
+ 'base_model_class_placeholder' => '-- Selecteer model --',
+ 'controller_behaviors' => 'Behaviors',
+ 'controller_behaviors_description' => 'Seleteer de behaviors die de controller moet implementeren. De view bestanden, die vereist zijn voor de behaviors, zullen automatisch worden aangemaakt.',
+ 'controller_permissions' => 'Toegangsrechten',
+ 'controller_permissions_description' => 'Selecteer de gebruikersrechten die toegang hebben tot de controller view. Toegangsrechten kunnen aangemaakt worden via het tabblad Toegangsrechten in het linkermenu. Je kunt deze optie ook later aanpassen in de PHP-code van de controller.',
+ 'controller_permissions_no_permissions' => 'De plugin heeft (nog) geen toegangsrechten gedefinieerd.',
+ 'menu_item' => 'Actief menu item',
+ 'menu_item_description' => 'Selecteer een menu item dat geactiveerd moet worden voor de pagina\'s van deze controller. Je kunt deze optie ook later aanpassen in de PHP-code van de controller.',
+ 'menu_item_placeholder' => '-- Selecteer menu item --',
+ 'error_unknown_behavior' => 'De behavior class :class is niet geregistreerd in de behavior bibliotheek.',
+ 'error_behavior_view_conflict' => 'De geselecteerde behaviors leveren conflicterende views (:view) en kunnen daarom niet samen worden gebruikt in een controller.',
+ 'error_behavior_config_conflict' => 'De geselecteerde behaviors leveren conflicterende configuratiebestanden op (:file) en kunnen daarom niet samen worden gebruikt in een controller.',
+ 'error_behavior_view_file_not_found' => 'De view template :view van behavior :class kan niet worden gevonden.',
+ 'error_behavior_config_file_not_found' => 'Het configuratiebestand template :file van behavior :class kan niet worden gevonden.',
+ 'error_controller_exists' => 'Het controller bestand :file bestaat reeds.',
+ 'error_controller_name_invalid' => 'Ongeldigde controllernaam. Voorbeelden van geldige namen: Posts, Categories of Products.',
+ 'error_behavior_view_file_exists' => 'De view :view bestaat reeds voor deze controller.',
+ 'error_behavior_config_file_exists' => 'Het behavior configuratiebestand: file bestaat reeds.',
+ 'error_save_file' => 'Fout bij opslaan van het controller bestand :file.',
+ 'error_behavior_requires_base_model' => 'Er moet een basis model class worden geselecteer voor behavior :behavior.',
+ 'error_model_doesnt_have_lists' => 'Het geselecteerde model heeft geen lijsten. Maak eerst een lijst.',
+ 'error_model_doesnt_have_forms' => 'Het geselecteerde model heeft geen formulieren. Maak eerst een formulier.',
+ ],
+ 'version' => [
+ 'menu_label' => 'Versies',
+ 'no_records' => 'Geen plugin versies aanwezig',
+ 'search' => 'Zoeken...',
+ 'tab' => 'Versies',
+ 'saved' => 'De versie is succesvol opgeslagen.',
+ 'confirm_delete' => 'Weet je zeker dat je deze versie wilt verwijderen?',
+ 'tab_new_version' => 'Nieuwe versie',
+ 'migration' => 'Migratie',
+ 'seeder' => 'Seeder',
+ 'custom' => 'Versienummer ophogen',
+ 'apply_version' => 'Versie toepassen',
+ 'applying' => 'Bezig met toepassen...',
+ 'rollback_version' => 'Versie terugzetten',
+ 'rolling_back' => 'Bezig met terugzerren...',
+ 'applied' => 'De versie is succesvol toegepast.',
+ 'rolled_back' => 'De versie is succesvol teruggezet.',
+ 'hint_save_unapplied' => 'Je hebt een nog niet geactiveerde versie opgeslagen. Niet geactiveerde versies kunnen automatisch worden geactiveerd als jij of een andere gebruiker inlogd op de back-end. Of als een database tabel wordt opgeslagen binnen de Database sectie van de Builder plugin.',
+ 'hint_rollback' => 'Het terugzetten van een versie zal ook alle versies nieuwer dan deze versie terugzetten. Wees je ervan bewust dat niet geactiveerde versies automatisch geactiveerd kunnen worden, als jij of een andere gebruiker inlogd op de back-end. Of als een database tabel wordt opgeslagen binnen de Database sectie van de Builder plugin.',
+ 'hint_apply' => 'Het activeren van een versie zal ook oudere niet geactiveerde versies activeren.',
+ 'dont_show_again' => 'Laat niet meer zien',
+ 'save_unapplied_version' => 'Niet geactiveerde versie opslaan',
+ ],
+ 'menu' => [
+ 'menu_label' => 'Backend menu',
+ 'tab' => 'Menu\'s',
+ 'items' => 'Menu items',
+ 'saved' => 'De menu\'s zijn succesvol opgeslagen.',
+ 'add_main_menu_item' => 'Hoofdmenu item toevoegen',
+ 'new_menu_item' => 'Menu item',
+ 'add_side_menu_item' => 'Sub-item toevoegen',
+ 'side_menu_item' => 'Linker menu item',
+ 'property_label' => 'Label',
+ 'property_label_required' => 'Voer label in van menu item.',
+ 'property_url_required' => 'Voer URL in van menu item.',
+ 'property_url' => 'URL',
+ 'property_icon' => 'Icoon',
+ 'property_icon_required' => 'Selecteer een icoon.',
+ 'property_permissions' => 'Toegangsrechten',
+ 'property_order' => 'Volgorde',
+ 'property_order_invalid' => 'Geef de volgorde aan met een getal.',
+ 'property_order_description' => 'De volgorde bepaalde de positie van het menu item. Als de volgorde niet is opgegeven zal het item aan het einde van het menu worden toegevoegd. De standaardwaarden van de volgordes worden elke keer opgehoogd met 100.',
+ 'property_attributes' => 'HTML attributen',
+ 'property_code' => 'Code',
+ 'property_code_invalid' => 'De code mag alleen bestaan uit letters en cijfers.',
+ 'property_code_required' => 'Geef menu item code op.',
+ 'error_duplicate_main_menu_code' => "Dupliceer hoofdmenu item code: ':code'.",
+ 'error_duplicate_side_menu_code' => "Dupliceer linker menu item code: ':code'.",
+ ],
+ 'localization' => [
+ 'menu_label' => 'Vertalen',
+ 'language' => 'Taal',
+ 'strings' => 'Taallabels',
+ 'confirm_delete' => 'Weet je zeker dat je deze taal wilt verwijderen?',
+ 'tab_new_language' => 'Nieuwe taal',
+ 'no_records' => 'Geen talen aanwezig',
+ 'saved' => 'Het taalbestand is succesvol opgeslagen.',
+ 'error_cant_load_file' => 'Kan het taalbestand niet laden, bestand is niet gevonden.',
+ 'error_bad_localization_file_contents' => 'Kan het taalbestand niet laden. Taalbestanden kunnen alleen array-definities en teksten bevatten.',
+ 'error_file_not_array' => 'Kan het taalbestand niet laden. Taalbestanden moeten een array teruggeven.',
+ 'save_error' => "Fout bij opslaan van bestand ':name'. Controleer schrijfrechten.",
+ 'error_delete_file' => 'Fout bij verwijderen van taalbestand.',
+ 'add_missing_strings' => 'Toevoegen van ontbrekende taallabels.',
+ 'copy' => 'Kopiëren',
+ 'add_missing_strings_label' => 'Selecteer een taal waarvan de taallabels gekopiëerd moeten worden.',
+ 'no_languages_to_copy_from' => 'Er zijn geen andere talen waar de taallabels van gekopiëerd kunnen worden.',
+ 'new_string_warning' => 'Nieuwe taallabel of sectie',
+ 'structure_mismatch' => 'De structuur van het bron taalbestand komt niet overeen met het bestand wat nu wordt gewijzigd. Een aantal taallabels in het gewijzigde bestand corresponderen met secties in het bronbestand (of vice versa) en kunnen daarom niet automatisch worden samengevoegd.',
+ 'create_string' => 'Nieuw taallabel toevoegen',
+ 'string_key_label' => 'Taallabel ID',
+ 'string_key_comment' => 'Geef het taallabel ID op gescheiden met een punt, bijvoorbeeld: plugin.search. De taallabel zal worden aangemaakt in het standaard taalbestand van de plugin.',
+ 'string_value' => 'Taallabel waarde',
+ 'string_key_is_empty' => 'Het taallabel ID mag niet leeg zijn.',
+ 'string_value_is_empty' => 'Taallabel waarde mag niet leeg zijn.',
+ 'string_key_exists' => 'Het taallabel ID bestaat reeds. Geef een ander ID op.',
+ ],
+ 'permission' => [
+ 'menu_label' => 'Toegangsrechten',
+ 'tab' => 'Toegangsrechten',
+ 'form_tab_permissions' => 'Toegangsrechten',
+ 'btn_add_permission' => 'Toegangsrechten toevoegen',
+ 'btn_delete_permission' => 'Toegangsrechten verwijderen',
+ 'column_permission_label' => 'Code',
+ 'column_permission_required' => 'Geef de code op.',
+ 'column_tab_label' => 'Tabblad titel',
+ 'column_tab_required' => 'Geef tabblad titel op.',
+ 'column_label_label' => 'Label',
+ 'column_label_required' => 'Geef een label op.',
+ 'saved' => 'Toegangsrechten zijn succesvol opgeslagen.',
+ 'error_duplicate_code' => "Dupliceer code: ':code'.",
+ ],
+ 'yaml' => [
+ 'save_error' => "Fout bij opslaan bestan ':name'. Controleer schrijfrechten.",
+ ],
+ 'common' => [
+ 'error_file_exists' => "Het bestand bestaat reeds: ':path'.",
+ 'field_icon_description' => 'OctoberCMS gebruikt Font Autumn iconen, zie: http://octobercms.com/docs/ui/icon',
+ 'destination_dir_not_exists' => "De doel directory bestaat niet: ':path'.",
+ 'error_make_dir' => "Fout bij aanmaken van directory: ':name'.",
+ 'error_dir_exists' => "Directory bestaat reeds: ':path'.",
+ 'template_not_found' => "Template-bestand kan niet worden gevonden: ':name'.",
+ 'error_generating_file' => "Fout bij genreren van bestand: ':path'.",
+ 'error_loading_template' => "Fout bij laden van template-bestand: ':name'.",
+ 'select_plugin_first' => 'Selecteer eerst een plugin. Om een lijst van plugins te tonen, klik op het > icoon in de linker zijbalk.',
+ 'plugin_not_selected' => 'Plugin is niet geselecteerd.',
+ 'add' => 'Toevoegen',
+ ],
+ 'migration' => [
+ 'entity_name' => 'Migratie',
+ 'error_version_invalid' => 'Het versienummer moet voldoen aan het formaat 1.0.1',
+ 'field_version' => 'Versie',
+ 'field_description' => 'Omschrijving',
+ 'field_code' => 'Code',
+ 'field_code_comment' => 'De migratie-code in alleen-lezen en alleen voor voorbeeldweergave. Je kan handmatig migraties aanmaken in het Versies onderdeel van Builder.',
+ 'save_and_apply' => 'Opslaan & toepassen',
+ 'error_version_exists' => 'De migratie-versie bestaat reeds.',
+ 'error_script_filename_invalid' => 'De bestandsnaam van de migratie kan alleen letters, getallen en underscores bevatten. De naam moet beginnen met een letter en mag geen spaties bevatten.',
+ 'error_cannot_change_version_number' => 'Kan het versienummer niet aanpassen voor een reeds toegepaste versie.',
+ 'error_file_must_define_class' => 'De migratie code moet een migratie of een seeder class definieren. Laat het code veld leeg als je alleen het versienummer wilt bijwerken.',
+ 'error_file_must_define_namespace' => 'De migratie code moet een namespace definieren. Laat het code veld leeg als je alleen het versienummer wilt bijwerken.',
+ 'no_changes_to_save' => 'Er zijn geen wijzigingen om op te slaan.',
+ 'error_namespace_mismatch' => 'The migratie code moet de plugin namespace :namespace gebruiken.',
+ 'error_migration_file_exists' => 'Het migratie bestand :file bestaat reeds. Gebruik een andere klasse naam.',
+ 'error_cant_delete_applied' => 'Deze versie is reeds toegepast en kan daarom niet worden verwijderd. Ga eerst terug naar deze versie (rollback).',
+ ],
+ 'components' => [
+ 'list_title' => 'Record lijst',
+ 'list_description' => 'Toont een lijst van records voor geselecteerde model.',
+ 'list_page_number' => 'Paginanummer',
+ 'list_page_number_description' => 'De waarde hiervan wordt gebruikt om te bepalen op welke pagina de gebruiker zit.',
+ 'list_records_per_page' => 'Records per pagina',
+ 'list_records_per_page_description' => 'Het aantal records wat per pagina moet worden weergegeven. Laat leeg om paginatie uit te schakelen.',
+ 'list_records_per_page_validation' => 'Ongeldige waarde. Het aantal records per pagina moet worden aangegeven met een nummer.',
+ 'list_no_records' => 'Bericht bij geen records',
+ 'list_no_records_description' => 'Bericht wat moet worden weergegeven als er geen records zijn.',
+ 'list_no_records_default' => 'Geen records gevonden',
+ 'list_sort_column' => 'Sorteer op kolom',
+ 'list_sort_column_description' => 'Kolom van model waarop de records gesorteerd moeten worden.',
+ 'list_sort_direction' => 'Sorteerrichting',
+ 'list_display_column' => 'Weergave kolom',
+ 'list_display_column_description' => 'Kolom die moet worden weergegeven in de lijst.',
+ 'list_display_column_required' => 'Selecteer een weergave kolom.',
+ 'list_details_page' => 'Detailpagina',
+ 'list_details_page_description' => 'Pagina waarop record details worden weergegeven.',
+ 'list_details_page_no' => '-- Geen detailpagina --',
+ 'list_sorting' => 'Sortering',
+ 'list_pagination' => 'Paginatie',
+ 'list_order_direction_asc' => 'Oplopend',
+ 'list_order_direction_desc' => 'Aflopend',
+ 'list_model' => 'Model class',
+ 'list_scope' => 'Scope',
+ 'list_scope_description' => 'Model scope waarin de records moeten worden opgevraagd (optioneel).',
+ 'list_scope_default' => '-- Selecteer een scope (optioneel) --',
+ 'list_details_page_link' => 'Link naar de detailpagina',
+ 'list_details_key_column' => 'Detail sleutelkolom',
+ 'list_details_key_column_description' => 'Model kolom die moet worden gebruikt als record ID in de detailpagina links.',
+ 'list_details_url_parameter' => 'URL parameter naam',
+ 'list_details_url_parameter_description' => 'Naam van de detailpagina URL parameter. De parameter bevat het record ID.',
+ 'details_title' => 'Record details',
+ 'details_description' => 'Toont record details voor een geselecteerd model.',
+ 'details_model' => 'Model class',
+ 'details_identifier_value' => 'ID-waarde',
+ 'details_identifier_value_description' => 'ID-waarde waarmee het record wordt opgevraagd uit de database. Geef een vaste waarde op of een parameter naam voor in de URL.',
+ 'details_identifier_value_required' => 'De ID-waarde mag niet leeg zijn.',
+ 'details_key_column' => 'Sleutelkolom',
+ 'details_key_column_description' => 'De kolom die gebruikt moet worden om het record (met ID-waarde) uit de database te kunnen opvragen.',
+ 'details_key_column_required' => 'De sleutelkolom mag niet leeg zijn.',
+ 'details_display_column' => 'Weergave kolom',
+ 'details_display_column_description' => 'De kolom uit het model die moet worden weergegeven op de detailpagina.',
+ 'details_display_column_required' => 'Selecteer de weergave kolom.',
+ 'details_not_found_message' => 'Bericht voor niet gevonden',
+ 'details_not_found_message_description' => 'Bericht wat moet worden weergegeven als het record niet is gevonden.',
+ 'details_not_found_message_default' => 'Record niet gevonden',
+ ],
+];
diff --git a/server/plugins/rainlab/builder/lang/pt-br/lang.php b/server/plugins/rainlab/builder/lang/pt-br/lang.php
new file mode 100644
index 0000000..95a5e01
--- /dev/null
+++ b/server/plugins/rainlab/builder/lang/pt-br/lang.php
@@ -0,0 +1,679 @@
+ [
+ 'name' => 'Builder',
+ 'description' => 'Provê ferramentas visuais para construir plugins para October CMS.',
+ 'add' => 'Criar plugin',
+ 'no_records' => 'Nenhum plugins encontrado',
+ 'no_name' => 'Sem nome',
+ 'search' => 'Buscar...',
+ 'filter_description' => 'Exibe todos os plugins ou apenas os seus plugins.',
+ 'settings' => 'Configurações',
+ 'entity_name' => 'Plugin',
+ 'field_name' => 'Nome',
+ 'field_author' => 'Autor',
+ 'field_description' => 'Descrição',
+ 'field_icon' => 'Ícone do Plugin',
+ 'field_plugin_namespace' => 'Namespace Plugin',
+ 'field_author_namespace' => 'Namespace Autor',
+ 'field_namespace_description' => 'Namespace pode conter apenas letras latinas, numeros e deve começar com uma letra latina. Exemplo de namespace plugin: Blog',
+ 'field_author_namespace_description' => 'Você não pode alterar o namespace com Builder depois que você criar o plugin. Exemplo de namespace autor: JohnSmith',
+ 'tab_general' => 'Parâmetros gerais',
+ 'tab_description' => 'Descrição',
+ 'field_homepage' => 'URL da homepage do Plugin',
+ 'no_description' => 'Nenhuma descrição informada para este plugin',
+ 'error_settings_not_editable' => 'Configurações deste plugin não podem ser editadas com Builder.',
+ 'update_hint' => 'Você pode editar nome e descrição dos plugins localizados na aba localização.',
+ 'manage_plugins' => 'Criar e editar plugins',
+ ],
+ 'author_name' => [
+ 'title' => 'Nome do autor',
+ 'description' => 'Nome padrão de autor para usar para seus novos plugins. O nome do autor não é fixo - você pode altera-lo nas configurações do plugin a qualquer hora.',
+ ],
+ 'author_namespace' => [
+ 'title' => 'Namespace Autor',
+ 'description' => 'Se você desenvolve para a Marketplace, o namespace deve combinar com o código de autor e não pode ser mudado. Veja a documentação para mais detalhes.',
+ ],
+ 'database' => [
+ 'menu_label' => 'Banco de Dados',
+ 'no_records' => 'Nenhuma tabela encontrada',
+ 'search' => 'Buscar...',
+ 'confirmation_delete_multiple' => 'Deletar as tabelas selecionadas?',
+ 'field_name' => 'Nome da tabela',
+ 'tab_columns' => 'Colunas',
+ 'column_name_name' => 'Coluna',
+ 'column_name_required' => 'Por favor, informe um nome da tabela',
+ 'column_name_type' => 'Tipo',
+ 'column_type_required' => 'Por favor, selecione o tipo da coluna',
+ 'column_name_length' => 'Tamanho',
+ 'column_validation_length' => 'O valor do tamanho deve ser integer ou especificado como precisão e escala (10,2) para colunas decimais. Espaços não são permitidos na coluna tamanho.',
+ 'column_validation_title' => 'Apenas números, letras latinas minusculas e underlines são permitidos nos nomes das colunas',
+ 'column_name_unsigned' => 'Sem assinatura',
+ 'column_name_nullable' => 'Nulo',
+ 'column_auto_increment' => 'AUTOINCR',
+ 'column_default' => 'Padrão',
+ 'column_auto_primary_key' => 'Primary Key',
+ 'tab_new_table' => 'Nova Tabela',
+ 'btn_add_column' => 'Acrescentar coluna',
+ 'btn_delete_column' => 'Deletar coluna',
+ 'btn_add_timestamps' => 'Acrescentar timestamps',
+ 'btn_add_soft_deleting' => 'Acrescentar suporte a soft deleting',
+ 'timestamps_exist' => 'Colunas created_at e deleted_at já existem na tabela.',
+ 'soft_deleting_exist' => 'Coluna deleted_at já existe na tabela.',
+ 'confirm_delete' => 'Deletar a tabela?',
+ 'error_enum_not_supported' => 'A tabela contem coluna(s) com tipo "enum" que não é atualmente suportado pelo Builder.',
+ 'error_table_name_invalid_prefix' => "Nome da tabela deve começar com o prefixo do plugin: ':prefix'.",
+ 'error_table_name_invalid_characters' => 'Nome de tabela inválido. Nomes de tabelas devem conter apenas letras latinas, números e underlines. Nomes devem começar com uma letra latina e não podem conter espaços.',
+ 'error_table_duplicate_column' => "Nome de coluna duplicado: ':column'.",
+ 'error_table_auto_increment_in_compound_pk' => 'Uma coluna auto-increment não pode ser parte de um componente de chave primária.',
+ 'error_table_mutliple_auto_increment' => 'A tabela não pode conter multiplas colunas auto-increment.',
+ 'error_table_auto_increment_non_integer' => 'Colunas auto-increment devem ser do tipo integer.',
+ 'error_table_decimal_length' => "O parâmetro de tamanho para o tipo :type deve ser no formato '10,2', sem espaços.",
+ 'error_table_length' => 'O parâmetro de tamanho para o tipo :type deve ser especificado como integer.',
+ 'error_unsigned_type_not_int' => "Erro na coluna ':column'. A bandeira não assinada só pode ser aplicada a colunas do tipo integer.",
+ 'error_integer_default_value' => "Valor padrão inválido para a coluna integer ':column'. Os formatos permitidos são '10', '-10'.",
+ 'error_decimal_default_value' => "Valor padrão inválido para a coluna decimal ou double ':column'. Os formatos permitodos são '1.00', '-1.00'.",
+ 'error_boolean_default_value' => "Valor padrão inválido para a coluna booleana ':column'. Os valores permitidos são '0' e '1'.",
+ 'error_unsigned_negative_value' => "O valor padrão para a coluna não assinada ':column' não pode ser negativo.",
+ 'error_table_already_exists' => "A tabela ':name' já existe no banco de dados.",
+ 'error_table_name_too_long' => "O nome da tabela não deve ser maior que 64 caracteres.",
+ 'error_column_name_too_long' => "O nome da coluna ':column' é muito longo. Nomes de colunas não podem ser maiores que 64 caracteres."
+ ],
+ 'model' => [
+ 'menu_label' => 'Models',
+ 'entity_name' => 'Model',
+ 'no_records' => 'Nenhum model encontrado',
+ 'search' => 'Buscar...',
+ 'add' => 'Acrescentar...',
+ 'forms' => 'Formulários',
+ 'lists' => 'Listas',
+ 'field_class_name' => 'Nome da classe',
+ 'field_database_table' => 'Nome do Banco de dados',
+ 'field_add_timestamps' => 'Acrescentar suporte a timestamp',
+ 'field_add_timestamps_description' => 'A tabela do banco de dados precisa conter as colunas created_at e updated_at.',
+ 'field_add_soft_deleting' => 'Acrescentar suporte a soft deleting',
+ 'field_add_soft_deleting_description' => 'A tabela do banco de dados precisa conter a coluna deleted_at.',
+ 'error_class_name_exists' => 'Arquivo Model já existe para o nome da classe especificada: :path',
+ 'error_timestamp_columns_must_exist' => 'A tabela do banco de dados precisa conter as colunas created_at e updated_at.',
+ 'error_deleted_at_column_must_exist' => 'A tabela do banco de dados precisa conter a coluna deleted_at.',
+ 'add_form' => 'Acrescentar formulário',
+ 'add_list' => 'Acrescentar lista',
+ ],
+ 'form' => [
+ 'saved' => 'Formulário Salvo',
+ 'confirm_delete' => 'Deletar o formulário?',
+ 'tab_new_form' => 'Novo formulário',
+ 'property_label_title' => 'Título',
+ 'property_label_required' => 'Por favor, especifique o título do control.',
+ 'property_span_title' => 'Span',
+ 'property_comment_title' => 'Comentário',
+ 'property_comment_above_title' => 'Comentário a cima',
+ 'property_default_title' => 'Padrão',
+ 'property_checked_default_title' => 'Marcado por padrão',
+ 'property_css_class_title' => 'Classe CSS',
+ 'property_css_class_description' => 'Classe CSS opcional para assinar o campo container.',
+ 'property_disabled_title' => 'Desabilitado',
+ 'property_hidden_title' => 'Oculto',
+ 'property_required_title' => 'Obrigatório',
+ 'property_field_name_title' => 'Nome do campo',
+ 'property_placeholder_title' => 'Placeholder',
+ 'property_default_from_title' => 'Padrão de',
+ 'property_stretch_title' => 'estender',
+ 'property_stretch_description' => 'Especifica se este campo se estende para se ajustar à altura dos pais.',
+ 'property_context_title' => 'Contexto',
+ 'property_context_description' => 'Especifica que conceito de formulário deve ser usado quando exibir o campo.',
+ 'property_context_create' => 'Criar',
+ 'property_context_update' => 'Atualizar',
+ 'property_context_preview' => 'Preview',
+ 'property_dependson_title' => 'Depende de',
+ 'property_trigger_action' => 'Ação',
+ 'property_trigger_show' => 'Exibir',
+ 'property_trigger_hide' => 'Ocultar',
+ 'property_trigger_enable' => 'Habilitar',
+ 'property_trigger_disable' => 'Desabilitar',
+ 'property_trigger_empty' => 'Vazio',
+ 'property_trigger_field' => 'Campo',
+ 'property_trigger_field_description' => 'Define o outro nome de campo que dispara a ação.',
+ 'property_trigger_condition' => 'Condição',
+ 'property_trigger_condition_description' => 'Determina a condição que especifica o campo deve satisfazer a condição a ser considerada "true".Valores suportados: marcado, não marcado, valor[algumvalor].',
+ 'property_trigger_condition_checked' => 'Marcado',
+ 'property_trigger_condition_unchecked' => 'Não marcado',
+ 'property_trigger_condition_somevalue' => 'valor[digite-o-valor-aqui]',
+ 'property_preset_title' => 'Preconfigurado',
+ 'property_preset_description' => 'Permite o valor do campo a ser inicalmente configurado pelo valor de outro campo, convertido usando a entrada de conversor preconfigurada.',
+ 'property_preset_field' => 'Campo',
+ 'property_preset_field_description' => 'Define o nome do campo pelo valor de fonte de outro campo.',
+ 'property_preset_type' => 'Tipo',
+ 'property_preset_type_description' => 'Especifica o tipo de conversão',
+ 'property_attributes_title' => 'Atributos',
+ 'property_attributes_description' => 'Atributos HTML customizados para acrescentar ao elemento do campo do formulário.',
+ 'property_container_attributes_title' => 'Atributos do container',
+ 'property_container_attributes_description' => 'Atributos HTML customizados para adicionar ao elemento container do campo do formulário.',
+ 'property_group_advanced' => 'Avançado',
+ 'property_dependson_description' => 'Uma lista de outros nomes de campos dos quais este compo depende, quando os outros compos são modificados, este compo será atualizado. Um campo por linha.',
+ 'property_trigger_title' => 'Gatilho (Trigger)',
+ 'property_trigger_description' => 'Permite mudar os atributos do elemento assim como visibilidade ou valor, baseado no estado de outros elementos.',
+ 'property_default_from_description' => 'Pega o valor padrão do valor de outro campo.',
+ 'property_field_name_required' => 'O nome do campo é obrigatório',
+ 'property_field_name_regex' => 'O nome do campo apenas pode conter letras latinas, números, underlines, traços e colchetes.',
+ 'property_attributes_size' => 'Tamanho',
+ 'property_attributes_size_tiny' => 'Minusculo',
+ 'property_attributes_size_small' => 'Pequeno',
+ 'property_attributes_size_large' => 'Largo',
+ 'property_attributes_size_huge' => 'Grande',
+ 'property_attributes_size_giant' => 'Gigante',
+ 'property_comment_position' => 'Posição do Comentário',
+ 'property_comment_position_above' => 'A cima',
+ 'property_comment_position_below' => 'A baixo',
+ 'property_hint_path' => 'Caminho sugerido do partial',
+ 'property_hint_path_description' => 'Caminho para um arquivo partial que contenha o texto sugerido. Use o simbolo $ para referenciar à raiz do diretório, por exemplo: $/acme/blog/partials/_sugestao.htm',
+ 'property_hint_path_required' => 'Por favor, digite a sugestão de caminho para o partial',
+ 'property_partial_path' => 'Caminho para o partial',
+ 'property_partial_path_description' => 'Caminho para um arquivo partial. Use o simbolo $ para referenciar ao diretório raiz dos plugins, por exemplo: $/acme/blog/partials/_partial.htm',
+ 'property_partial_path_required' => 'Por favor, digite o caminho do partial',
+ 'property_code_language' => 'Linguagem',
+ 'property_code_theme' => 'Tema',
+ 'property_theme_use_default' => 'Use o tema padrão',
+ 'property_group_code_editor' => 'Editor de código',
+ 'property_gutter' => 'Gutter',
+ 'property_gutter_show' => 'Visivel',
+ 'property_gutter_hide' => 'Oculto',
+ 'property_wordwrap' => 'Abreviar palavra',
+ 'property_wordwrap_wrap' => 'Abreviar',
+ 'property_wordwrap_nowrap' => 'Não abreviar',
+ 'property_fontsize' => 'Tamanho da fonte',
+ 'property_codefolding' => 'Duplicar código',
+ 'property_codefolding_manual' => 'Manual',
+ 'property_codefolding_markbegin' => 'Marcar início',
+ 'property_codefolding_markbeginend' => 'Marcar início e fim',
+ 'property_autoclosing' => 'Auto encerrar',
+ 'property_enabled' => 'Habilitado',
+ 'property_disabled' => 'Desabilitado',
+ 'property_soft_tabs' => 'Tabelas suaves',
+ 'property_tab_size' => 'tamanho da tabela',
+ 'property_readonly' => 'Somente leitura',
+ 'property_use_default' => 'Usar configurações padrão',
+ 'property_options' => 'Opções',
+ 'property_prompt' => 'Pronto',
+ 'property_prompt_description' => 'Texto a exibir para o botão criar.',
+ 'property_prompt_default' => 'Acrescentar novo item',
+ 'property_available_colors' => 'Cores disponíveis',
+ 'property_available_colors_description' => 'Lista de cores disponíveis no frmato hexadecimal (#FF0000). Deixe em branco para a configuração padrão de cores. Digite um valor por linha.',
+ 'property_datepicker_mode' => 'Modo',
+ 'property_datepicker_mode_date' => 'Data',
+ 'property_datepicker_mode_datetime' => 'Data e hora',
+ 'property_datepicker_mode_time' => 'Hora',
+ 'property_datepicker_min_date' => 'Data mínima',
+ 'property_datepicker_min_date_description' => 'A data minima ou mais proxima que pode ser selecionada. Deixe em branco para o valor padrão (2000-01-01).',
+ 'property_datepicker_max_date' => 'Data máxima',
+ 'property_datepicker_max_date_description' => 'A data máxima ou mais distante que pode ser selecionada. Deixe em branco para o valor padrão (2020-12-31).',
+ 'property_datepicker_date_invalid_format' => 'Formato de data inválido. Use o formato YYYY-MM-DD.',
+ 'property_datepicker_year_range' => 'Alcançe de Anos',
+ 'property_datepicker_year_range_description' => 'Número de anos que cada lado (ex. 10) ou array de alcançe superior/inferior (ex. [1900,2015]). Deixe em branco para o valor padrão (10).',
+ 'property_datepicker_year_range_invalid_format' => 'Formato de alcançe de anos inválido. Use Números (ex. "10") ou array de alcançe superior/inferior (ex. "[1900,2015]")',
+ 'property_markdown_mode' => 'Modo',
+ 'property_markdown_mode_split' => 'Dividir',
+ 'property_markdown_mode_tab' => 'Tabela',
+ 'property_fileupload_mode' => 'Modo',
+ 'property_fileupload_mode_file' => 'Arquivo',
+ 'property_fileupload_mode_image' => 'Imagem',
+ 'property_group_fileupload' => 'Upload de arquivo',
+ 'property_fileupload_prompt' => 'Pronto',
+ 'property_fileupload_prompt_description' => 'Testo para exibir para o botão upload, aplica-se apenas ao modo Arquivos, opcional.',
+ 'property_fileupload_image_width' => 'Largura da imagem',
+ 'property_fileupload_image_width_description' => 'Parametro original - imagens serão redimensionadas para esta largura, aplica-se apenas ao modo Imagem.',
+ 'property_fileupload_invalid_dimension' => 'Valor de dimensão inválido - por favor, digite um número.',
+ 'property_fileupload_image_height' => 'Altura da imagem',
+ 'property_fileupload_image_height_description' => 'Parâmetro opcional - imagens serão redimensionadas para esta altura. Aplica-se apernas ao modo Imagem.',
+ 'property_fileupload_file_types' => 'Tipos de arquivos',
+ 'property_fileupload_file_types_description' => 'Lista opcional separada por virgula das extensões de arquivos que são aceitas pelo uploadre. Ex: zip,txt',
+ 'property_fileupload_mime_types' => 'Tipos MIME',
+ 'property_fileupload_mime_types_description' => 'Lista opcional separada por virgula dos tipos MIME que são aceitas pelo uploader, assim como extensões ou nomes totalmente qualificados. Ex: bin,txt',
+ 'property_fileupload_use_caption' => 'Usar legenda',
+ 'property_fileupload_use_caption_description' => 'Permite um titulo e descrição a serem configurados para o arquivo.',
+ 'property_fileupload_thumb_options' => 'Opções de miniatua',
+ 'property_fileupload_thumb_options_description' => 'Gerencia opções para as miniaturas geradas automaticamente. Aplica-se apenas ao modo imagem.',
+ 'property_fileupload_thumb_mode' => 'Modo',
+ 'property_fileupload_thumb_auto' => 'Automático',
+ 'property_fileupload_thumb_exact' => 'Exato',
+ 'property_fileupload_thumb_portrait' => 'Retrato',
+ 'property_fileupload_thumb_landscape' => 'Paisagem',
+ 'property_fileupload_thumb_crop' => 'Cropar',
+ 'property_fileupload_thumb_extension' => 'Extensão de arquivo',
+ 'property_name_from' => 'Nome da coluna',
+ 'property_name_from_description' => 'Relação de nome de coluna a usar para exibir um nome.',
+ 'property_relation_select' => 'Selecionar',
+ 'property_relation_select_description' => 'CONCATENA multiplas colunas para exibir um nome',
+ 'property_description_from' => 'Coluna Descrição',
+ 'property_description_from_description' => 'Relação de nome de coluna a usar para exibir uma descrição.',
+ 'property_recordfinder_prompt' => 'Pronto',
+ 'property_recordfinder_prompt_description' => 'Texto para exibir quando não há gravação selecionada. O caractere %s representa o ícone buscar. Deixe em branco para o padrão pronto.',
+ 'property_recordfinder_list' => 'Configuração de lista',
+ 'property_recordfinder_list_description' => 'Uma referencia a um arquivo de definições de listas de colunas. Use o simbolo $ para referenciar a raiz de diretório do plugin, por exemplo: $/acme/blog/lists/_lista.yaml',
+ 'property_recordfinder_list_required' => 'Por favor, forneça um caminho para a lista de arquivos YAML',
+ 'property_group_recordfinder' => 'Gravar buscador',
+ 'property_mediafinder_mode' => 'Modo',
+ 'property_mediafinder_mode_file' => 'Arquivo',
+ 'property_mediafinder_mode_image' => 'Imagem',
+ 'property_mediafinder_prompt' => 'Pronto',
+ 'property_mediafinder_prompt_description' => 'Texto a exibir quando não há itens selecionados. O caractere %s representa o ícone gerenciador de mídias. Deixe em branco para o padrão pronto.',
+ 'property_mediafinder_image_width_description' => 'Se estiver usando o tipo imagem, o preview de imagem será exibido nesta largura, opcional.',
+ 'property_mediafinder_image_height_description' => 'Se estiver usando o modo imagem, o preview de imagem será exibido nesta altura, opcional.',
+ 'property_group_relation' => 'Relação',
+ 'property_relation_prompt' => 'Pronto',
+ 'property_relation_prompt_description' => 'Texto a exibir quando não há seleções disponíveis.',
+ 'property_empty_option' => 'Opção Vazia',
+ 'property_empty_option_description' => 'A opção Vazia corresponde a seleção vazia, mas ao contrário do marcador, ele pode ser selecionado novamente.',
+ 'property_max_items' => 'Maximo de itens',
+ 'property_max_items_description' => 'Número maximo de itens a permitir com o repetidor.',
+ 'control_group_standard' => 'Comum',
+ 'control_group_widgets' => 'Widgets',
+ 'click_to_add_control' => 'Acrescentar control',
+ 'loading' => 'carregando...',
+ 'control_text' => 'Texto',
+ 'control_text_description' => 'Caixa de texto único',
+ 'control_password' => 'Senha',
+ 'control_password_description' => 'Campo de texto para senha de linha única',
+ 'control_checkbox' => 'Checkbox',
+ 'control_checkbox_description' => 'Único checkbox',
+ 'control_switch' => 'Switch',
+ 'control_switch_description' => 'Switchbox único, uma alternativa ao checkbox',
+ 'control_textarea' => 'Text area',
+ 'control_textarea_description' => 'Multiplas caixas de texto com altura controlavel',
+ 'control_dropdown' => 'Dropdown',
+ 'control_dropdown_description' => 'Lista dropdown com opções estáticas ou dinâmicas',
+ 'control_unknown' => 'Unknown control type: :tipo',
+ 'control_repeater' => 'Repetidor',
+ 'control_repeater_description' => 'Exibe um conjunto de repetições de form controls',
+ 'control_number' => 'Número',
+ 'control_number_description' => 'Text box de linha única que aceita apenas números',
+ 'control_hint' => 'Aviso',
+ 'control_hint_description' => 'Exibe o contedudo do contents em uma caixa que pode ser oculto pelo usuário',
+ 'control_partial' => 'Partial',
+ 'control_partial_description' => 'Exibe o conteúdo de um partial',
+ 'control_section' => 'Seção',
+ 'control_section_description' => 'Exibe uma seção de formulário com cabeçalho e subcabeçalho',
+ 'control_radio' => 'Lista Radio',
+ 'control_radio_description' => 'Uma lista de opções radio, onde apenas um item pode ser selecionado por vez',
+ 'control_radio_option_1' => 'Opção 1',
+ 'control_radio_option_2' => 'Opção 2',
+ 'control_checkboxlist' => 'Lista Checkbox',
+ 'control_checkboxlist_description' => 'Uma lista de checkboxes, onde multiplos itens podem ser selecionados',
+ 'control_codeeditor' => 'Editor de códigos',
+ 'control_codeeditor_description' => 'Editor modo texto para código formatado ou de marcação',
+ 'control_colorpicker' => 'Seletor de cor',
+ 'control_colorpicker_description' => 'Um campo para selecionar um valor haxadecimal de cor',
+ 'control_datepicker' => 'Seletor Data',
+ 'control_datepicker_description' => 'Campo texto usado para selecionar data e hora',
+ 'control_richeditor' => 'Editor Rico',
+ 'control_richeditor_description' => 'Editor visual para formatação rica de texto, também conhecido como um editor WYSIWYG',
+ 'control_markdown' => 'Editor Markdown',
+ 'control_markdown_description' => 'Editor básico para formatação de texto Markdown',
+ 'control_fileupload' => 'Upload de arquivo',
+ 'control_fileupload_description' => 'Uploader de arquivos para imagens ou arquivos comuns',
+ 'control_recordfinder' => 'Gravar buscador',
+ 'control_recordfinder_description' => 'Campo com detalhes de uma gravação relacionada com conteúdo da busca',
+ 'control_mediafinder' => 'Buscador de mídia',
+ 'control_mediafinder_description' => 'Campo para selecionar um item de uma biblioteca do gerenciador de mídia',
+ 'control_relation' => 'Relação',
+ 'control_relation_description' => 'Exibe tanto um dropdown ou uma lista checkbox para selecionar um registro relacionado',
+ 'error_file_name_required' => 'Por favor, digite o nome de arquivo do formulário.',
+ 'error_file_name_invalid' => 'O nome de arquivo pode conter apenas letras latinas, números, underlines, pontos e barras.',
+ 'span_left' => 'Esquerda',
+ 'span_right' => 'Direita',
+ 'span_full' => 'Completo',
+ 'span_auto' => 'Automático',
+ 'empty_tab' => 'Aba vazia',
+ 'confirm_close_tab' => 'A aba contem controles que serão deletados. Continuar?',
+ 'tab' => 'Aba formulário',
+ 'tab_title' => 'Titulo',
+ 'controls' => 'Controles',
+ 'property_tab_title_required' => 'A aba título é obrigatória.',
+ 'tabs_primary' => 'Abas primárias',
+ 'tabs_secondary' => 'Abas secundárias',
+ 'tab_stretch' => 'Extender',
+ 'tab_stretch_description' => 'Especifica se este contêiner de guias se estende para se ajustar à altura pai.',
+ 'tab_css_class' => 'Classe CSS',
+ 'tab_css_class_description' => 'Assinala uma classe CSS ao contêiner de abas.',
+ 'tab_name_template' => 'Aba %s',
+ 'tab_already_exists' => 'Aba com o título especificado já existe.',
+ ],
+ 'list' => [
+ 'tab_new_list' => 'Nova lista',
+ 'saved' => 'Lista salva',
+ 'confirm_delete' => 'Deletar a lista?',
+ 'tab_columns' => 'Colunas',
+ 'btn_add_column' => 'Acrescentar coluna',
+ 'btn_delete_column' => 'Deletar coluna',
+ 'column_dbfield_label' => 'Campo',
+ 'column_dbfield_required' => 'Por favor, digite um campo model',
+ 'column_name_label' => 'Rótulo',
+ 'column_label_required' => 'Por favor, informe o rótulo da coluna',
+ 'column_type_label' => 'Tipo',
+ 'column_type_required' => 'Por favor, informe o tipo da coluna',
+ 'column_type_text' => 'Texto',
+ 'column_type_number' => 'Número',
+ 'column_type_switch' => 'switch',
+ 'column_type_datetime' => 'Data e Hora',
+ 'column_type_date' => 'Data',
+ 'column_type_time' => 'Hora',
+ 'column_type_timesince' => 'Des de',
+ 'column_type_timetense' => 'Tempo até',
+ 'column_type_select' => 'Seleção',
+ 'column_type_partial' => 'Partial',
+ 'column_label_default' => 'Padrão',
+ 'column_label_searchable' => 'Buscar',
+ 'column_label_sortable' => 'Aleatório',
+ 'column_label_invisible' => 'Invisível',
+ 'column_label_select' => 'Seleção',
+ 'column_label_relation' => 'Relação',
+ 'column_label_css_class' => 'Classe CSS',
+ 'column_label_width' => 'Largura',
+ 'column_label_path' => 'Caminho',
+ 'column_label_format' => 'Formato',
+ 'column_label_value_from' => 'Valor de',
+ 'error_duplicate_column' => "Campo nome de coluna duplicado: ':column'.",
+ 'btn_add_database_columns' => 'Acrescentar colunas ao banco de dados',
+ 'all_database_columns_exist' => 'Todas as colunas do banco de dados já estão definidas na lista'
+ ],
+ 'controller' => [
+ 'menu_label' => 'Controllers',
+ 'no_records' => 'Nenhum controller de plugin encontrado',
+ 'controller' => 'Controller',
+ 'behaviors' => 'Comportamentos',
+ 'new_controller' => 'Novo controller',
+ 'error_controller_has_no_behaviors' => 'O controller não possui nenhum comportamento configuravel.',
+ 'error_invalid_yaml_configuration' => 'Erro ao carregar arquivo de configuração de comportamento: :file',
+ 'behavior_form_controller' => 'Comportamento de controller de formulários',
+ 'behavior_form_controller_description' => 'Acrescentar funcionalidade de formulários a uma pagina back-end. O comportamento provê três paginas chamadas Create, Update e Preview.',
+ 'property_behavior_form_placeholder' => '--selecionar formulário--',
+ 'property_behavior_form_name' => 'Nome',
+ 'property_behavior_form_name_description' => 'O nome do objeto gerenciado por este formulário',
+ 'property_behavior_form_name_required' => 'Por favor, digite o nome do formulário',
+ 'property_behavior_form_file' => 'Configuração de formulário',
+ 'property_behavior_form_file_description' => 'Refere-se a um arquivo de definição de campos de formulário',
+ 'property_behavior_form_file_required' => 'Por favor, digite um caminho para o arquivo de configuração do formulário',
+ 'property_behavior_form_model_class' => 'Classe Model',
+ 'property_behavior_form_model_class_description' => 'Um nome de classe model, os dados do formulário é carregado e salvo neste model.',
+ 'property_behavior_form_model_class_required' => 'Por favor, selecione uma classe de model',
+ 'property_behavior_form_default_redirect' => 'Redirecionamento padrão',
+ 'property_behavior_form_default_redirect_description' => 'Uma pagina para redirecionar por padrão quando o formulário for salvo ou cancelado.',
+ 'property_behavior_form_create' => 'Criar registrar pagina',
+ 'property_behavior_form_redirect' => 'Redirecionar',
+ 'property_behavior_form_redirect_description' => 'Uma pagina para redirecionar quando um registro é criado.',
+ 'property_behavior_form_redirect_close' => 'Encerrar redirecionamento',
+ 'property_behavior_form_redirect_close_description' => 'Uma pagina para redirecionar quando um registro é criado e a variável encerrar é enviada com o requerimento.',
+ 'property_behavior_form_flash_save' => 'Salvar menságem rápida',
+ 'property_behavior_form_flash_save_description' => 'Menságem rápida para exibir quando o registro é salvo.',
+ 'property_behavior_form_page_title' => 'Título da pagina',
+ 'property_behavior_form_update' => 'Atualizar registro da pagina',
+ 'property_behavior_form_update_redirect' => 'Redirecionar',
+ 'property_behavior_form_create_redirect_description' => 'Uma pagina para redirecionar quando um registro é salvo.',
+ 'property_behavior_form_flash_delete' => 'Deletar menságem rápida',
+ 'property_behavior_form_flash_delete_description' => 'Menságem rapida para exibir quando o registro é deletado.',
+ 'property_behavior_form_preview' => 'Preview registro da pagina',
+ 'behavior_list_controller' => 'Controller de Lista Comportamento',
+ 'behavior_list_controller_description' => 'Provê a lista sortida e buscavel com links opcionais em seus registros. O comportamento cria automaticamente a ação controller "index".',
+ 'property_behavior_list_title' => 'Título da lista',
+ 'property_behavior_list_title_required' => 'Por favor, digite o título da lista',
+ 'property_behavior_list_placeholder' => '--Selecione a lista--',
+ 'property_behavior_list_model_class' => 'Classe Model',
+ 'property_behavior_list_model_class_description' => 'Um nome de classe model, os dados da lista são carregados deste model.',
+ 'property_behavior_form_model_class_placeholder' => '--selecione o model--',
+ 'property_behavior_list_model_class_required' => 'Por favor, selecione uma classe model',
+ 'property_behavior_list_model_placeholder' => '--selecione o model--',
+ 'property_behavior_list_file' => 'Arquivo de configuração de lista',
+ 'property_behavior_list_file_description' => 'Refere-se a um arquivo de definição de lista',
+ 'property_behavior_list_file_required' => 'Por favor, digite um caminho para o arquivo de configuração de lista',
+ 'property_behavior_list_record_url' => 'Gravar URL',
+ 'property_behavior_list_record_url_description' => 'Link cada registro de lista a outra página. Ex: users/update:id. a :id parte é substituída com o identificador de registro.',
+ 'property_behavior_list_no_records_message' => 'Nenhum registro de mensagem',
+ 'property_behavior_list_no_records_message_description' => 'Uma menságem a exibir quando nenhum registro for encontrado',
+ 'property_behavior_list_recs_per_page' => 'Registros por pagina',
+ 'property_behavior_list_recs_per_page_description' => 'Registros a exibir por pagina, use 0 para nenhuma pagina. O padrão é: 0',
+ 'property_behavior_list_recs_per_page_regex' => 'Registros por pagina podem ser um valor integer',
+ 'property_behavior_list_show_setup' => 'Exibe botão configurações',
+ 'property_behavior_list_show_sorting' => 'Exibir variados',
+ 'property_behavior_list_default_sort' => 'Padrão variado',
+ 'property_behavior_form_ds_column' => 'Coluna',
+ 'property_behavior_form_ds_direction' => 'Direção',
+ 'property_behavior_form_ds_asc' => 'Ascendente',
+ 'property_behavior_form_ds_desc' => 'Descendente',
+ 'property_behavior_list_show_checkboxes' => 'Exibir checkboxes',
+ 'property_behavior_list_onclick' => 'Manusear On click',
+ 'property_behavior_list_onclick_description' => 'Customiza código JavaScript a executar quando clicar em um registro.',
+ 'property_behavior_list_show_tree' => 'Exibit arvore',
+ 'property_behavior_list_show_tree_description' => 'Exibe uma arvore de hierarquia para registros pai/filho.',
+ 'property_behavior_list_tree_expanded' => 'Expander arvore',
+ 'property_behavior_list_tree_expanded_description' => 'Determina se os nós da arvore devem ser expandidos por padrão.',
+ 'property_behavior_list_toolbar' => 'Barra de ferramentas',
+ 'property_behavior_list_toolbar_buttons' => 'Partial Botões',
+ 'property_behavior_list_toolbar_buttons_description' => 'Refere-se a um arquivo controller partial com os botões da barra de ferramentas. Ex: lista_BarradeFerramentas',
+ 'property_behavior_list_search' => 'Buscar',
+ 'property_behavior_list_search_prompt' => 'Buscar pronto',
+ 'property_behavior_list_filter' => 'Configurar filtros',
+ 'behavior_reorder_controller' => 'Reordenar controller de comportamento',
+ 'behavior_reorder_controller_description' => 'Provê adicionais para sortear e reordenar em seus registros. O comportamento cria automaticamente a ação controller "reordenar".',
+ 'property_behavior_reorder_title' => 'Título do reordenador',
+ 'property_behavior_reorder_title_required' => 'Por favor, digite o título do reordenador',
+ 'property_behavior_reorder_name_from' => 'Nome do atributo',
+ 'property_behavior_reorder_name_from_description' => 'Atributo do model que pode ser usado como um rótulo para cada registro.',
+ 'property_behavior_reorder_name_from_required' => 'Por favor, digite o nome do atributo',
+ 'property_behavior_reorder_model_class' => 'Classe Model',
+ 'property_behavior_reorder_model_class_description' => 'Um nome de classe model, o dado registrado é carregado deste model.',
+ 'property_behavior_reorder_model_class_placeholder' => '--selecionar model--',
+ 'property_behavior_reorder_model_class_required' => 'Por favor, selecione uma classe model',
+ 'property_behavior_reorder_model_placeholder' => '--selecione o model--',
+ 'property_behavior_reorder_toolbar' => 'Bara de ferramentas',
+ 'property_behavior_reorder_toolbar_buttons' => 'Botões da Partial',
+ 'property_behavior_reorder_toolbar_buttons_description' => 'Refere-se ao arquivo partial controller com os botões da barra de ferramentas. Ex: reordenar_BarradeFerramentas',
+ 'error_controller_not_found' => 'Arquivo original do controller não foi encontrado.',
+ 'error_invalid_config_file_name' => 'O nome do arquivo (:file) de configuração do comportamento :class contem caracteres inválidos e não pode ser carregado.',
+ 'error_file_not_yaml' => 'O nome do arquivo (:file) de configuração do comportamento :class não é um arquivo YAML. arquivos de configuração YAML são suportados.',
+ 'saved' => 'Controller salvo',
+ 'controller_name' => 'Nome do Controller',
+ 'controller_name_description' => 'O nome do controller define o nome da classe e URL das paginas back-end do controller. Convenções de nomenclatura de variáveis PHP padrão se aplicam. O primeiro símbolo deve ser uma letra latina maiúscula. Exemplos: Categorias, Postagens, Produtos.',
+ 'base_model_class' => 'Classe model base',
+ 'base_model_class_description' => 'Selecione uma classe model para usar como um model base no comportamento que necessita ou suporta models. Você pode configurar o comportamento depois.',
+ 'base_model_class_placeholder' => '--Selecione o model--',
+ 'controller_behaviors' => 'Comportamentos',
+ 'controller_behaviors_description' => 'Selecione os comportamentos que o controller deve implementar. O Builder criará arquivos de view necessários para os comportamentos automaticamente.',
+ 'controller_permissions' => 'Permissões',
+ 'controller_permissions_description' => 'Selecione permissões de usuário que podem acessar as views dos controllers. As permissões podem ser definidas na guia Permissões do Builder. Você pode alterar essa opção no script PHP do controller mais tarde.',
+ 'controller_permissions_no_permissions' => 'O plugin não definiu nenhuma permissão.',
+ 'menu_item' => 'Item de menu ativo',
+ 'menu_item_description' => 'Selecione um item de menu para tornar ativo para as páginas do controller. Você pode alterar essa opção no script PHP do controlador mais tarde.',
+ 'menu_item_placeholder' => '--selecione o item de menu--',
+ 'error_unknown_behavior' => 'A classe de comportamento :class não está registrada na biblioteca de comportamento.',
+ 'error_behavior_view_conflict' => 'Os comportamentos selecionados fornecem visualizações conflitantes (:view) e não podem ser usadas junto a um controller.',
+ 'error_behavior_config_conflict' => 'Os comportamentos selecionados fornecem arquivos de configuração conflitantes (:file) e não podem ser usadas junto a um controller.',
+ 'error_behavior_view_file_not_found' => 'A view do template :view do comportamento :class não pode ser localizado.',
+ 'error_behavior_config_file_not_found' => 'O template de configuração :file do comportamento :class não pode ser localizado.',
+ 'error_controller_exists' => 'O arquivo do controlador :file já existe.',
+ 'error_controller_name_invalid' => 'Formato de nome de controller inválido. O nome deve conter apenas letras latinas e números. O primeiro simbolo deve ser uma letra latina maiúscula.',
+ 'error_behavior_view_file_exists' => 'O arquivo de configuração do controller :view já existe.',
+ 'error_behavior_config_file_exists' => 'O arquivo de configuração do comportamento :file já existe.',
+ 'error_save_file' => 'Erro ao salvar o arquivo de controller :file',
+ 'error_behavior_requires_base_model' => 'O comportamento :behavior Necessita que seja selecionado umma classe model base.',
+ 'error_model_doesnt_have_lists' => 'O model selecionado não possui nenhuma lista. Por favor, crie primeiro uma lista.',
+ 'error_model_doesnt_have_forms' => 'O model selecionado não possui nenhum formulário. Por favor, crie primeiro um formulário.',
+ ],
+ 'version' => [
+ 'menu_label' => 'Versões',
+ 'no_records' => 'Nenhuma versão de plugin encontrada',
+ 'search' => 'Buscar...',
+ 'tab' => 'Versões',
+ 'saved' => 'Versão salva',
+ 'confirm_delete' => 'Deletar a versão?',
+ 'tab_new_version' => 'Nova versão',
+ 'migration' => 'Migração',
+ 'seeder' => 'Semeador',
+ 'custom' => 'Aumente o número da versão',
+ 'apply_version' => 'Aplicar versão',
+ 'applying' => 'Aplicando...',
+ 'rollback_version' => 'Reverter versão',
+ 'rolling_back' => 'Revertendo...',
+ 'applied' => 'Versão aplicada',
+ 'rolled_back' => 'Versão revertida',
+ 'hint_save_unapplied' => 'Você salvou uma versão não aplicada. As versões não aplicadas podem ser aplicadas automaticamente quando você ou outro usuário faz o login no back-end ou quando uma tabela de banco de dados é salva na seção Banco de Dados do Builder.',
+ 'hint_rollback' => 'Reverter uma versão também reverterá todas as versões mais recentes que esta. Observe que versões não aplicadas podem ser aplicadas automaticamente pelo sistema quando você ou outro usuário faz o login no back-end ou quando uma tabela do banco de dados é salva na seção Banco de Dados do Builder.',
+ 'hint_apply' => 'A aplicação de uma versão também aplicará todas as versões antigas não aplicadas do plug-in.',
+ 'dont_show_again' => 'não mostrar novamente',
+ 'save_unapplied_version' => 'Valvar versão não aplicada',
+ ],
+ 'menu' => [
+ 'menu_label' => 'Menu Backend',
+ 'tab' => 'Menus',
+ 'items' => 'Itens de Menu',
+ 'saved' => 'Menus salvos',
+ 'add_main_menu_item' => 'Acrescentar item de menu principal',
+ 'new_menu_item' => 'Item de menu',
+ 'add_side_menu_item' => 'Acrescentar sub-item',
+ 'side_menu_item' => 'Lado do item de menu',
+ 'property_label' => 'Rótulo',
+ 'property_label_required' => 'Por favor, digite os rótulos dos itens de menu.',
+ 'property_url_required' => 'Por favor, digite a URL do item de menu',
+ 'property_url' => 'URL',
+ 'property_icon' => 'Icone',
+ 'property_icon_required' => 'Por favor, selecione um ícone',
+ 'property_permissions' => 'Permissões',
+ 'property_order' => 'Ordenar',
+ 'property_order_invalid' => 'Por favor, insira a ordem do item de menu como valor integer.',
+ 'property_order_description' => 'A ordem do item de menu gerencia sua posição no menu. Se o pedido não for fornecido, o item será colocado no final do menu. Os valores de ordem padrão têm o incremento de 100.',
+ 'property_attributes' => 'Atributos HTML',
+ 'property_code' => 'Código',
+ 'property_code_invalid' => 'O código deve conter apenas letra latina e números',
+ 'property_code_required' => 'Por favor, insira o código do item de menu.',
+ 'error_duplicate_main_menu_code' => "Código de item de menu ':code' duplicado.",
+ 'error_duplicate_side_menu_code' => "Código de lado de item de menu ':code' duplicado.",
+ ],
+ 'localization' => [
+ 'menu_label' => 'Idiomas',
+ 'language' => 'Idioma',
+ 'strings' => 'Strings',
+ 'confirm_delete' => 'Deletar o idioma?',
+ 'tab_new_language' => 'Novo idioma',
+ 'no_records' => 'Nenhum idioma encontrado',
+ 'saved' => 'Arquivo de idioma salvo',
+ 'error_cant_load_file' => 'Não é possível carregar o arquivo de idioma solicitado - arquivo não encontrado.',
+ 'error_bad_localization_file_contents' => 'Não é possível carregar o arquivo de idioma solicitado. Os arquivos de idiomas podem conter apenas definições e strings de array.',
+ 'error_file_not_array' => 'Não é possível carregar o arquivo de idioma solicitado. Arquivos de idioma devem retornar um array.',
+ 'save_error' => "Erro ao salvar o arquivo ':name'. Por favor, verifique as permissões de escrita.",
+ 'error_delete_file' => 'Erro ao deletar arquivo de idioma.',
+ 'add_missing_strings' => 'Acrescentar strings faltantes',
+ 'copy' => 'Copiar',
+ 'add_missing_strings_label' => 'Selecione o idioma para copiar as strings faltantes',
+ 'no_languages_to_copy_from' => 'Não há outro idioma para copiar strings.',
+ 'new_string_warning' => 'Nova string ou seção',
+ 'structure_mismatch' => 'A estrutura do arquivo fonte do idioma não combina com a estrutura do arquivo que está sendo editado. Algumas strings individuais do arquivo editado correspondente a seções no arquivo fonte (ou vice versa) e não pode ser mesclado automaticamente.',
+ 'create_string' => 'Criar nova string',
+ 'string_key_label' => 'Chave de String',
+ 'string_key_comment' => 'Digite a chave de string Insira a chave de string usando o ponto como um separador de seção. For example: plugin.buscar. A string será criada no arquivo de localização do idioma padrão do plugin.',
+ 'string_value' => 'Valor da string',
+ 'string_key_is_empty' => 'Chave de string não pode ser vazio',
+ 'string_key_is_a_string' => ':key é uma string e não pode conter outras strings.',
+ 'string_value_is_empty' => 'Valor da string não pode ser vazio',
+ 'string_key_exists' => 'A chave de string já existe',
+ ],
+ 'permission' => [
+ 'menu_label' => 'Permissões',
+ 'tab' => 'Permissões',
+ 'form_tab_permissions' => 'Permissões',
+ 'btn_add_permission' => 'Acrescentar permissão',
+ 'btn_delete_permission' => 'Deletar permissão',
+ 'column_permission_label' => 'Código de permissão',
+ 'column_permission_required' => 'Por favor, digite o código de permissão',
+ 'column_tab_label' => 'Título da aba',
+ 'column_tab_required' => 'Por favor, digite o título da aba permissão',
+ 'column_label_label' => 'Rótulo',
+ 'column_label_required' => 'Por favor, digite o rótulo da permissão',
+ 'saved' => 'Permissões salvas',
+ 'error_duplicate_code' => "Código de permissão ':code' duplicado.",
+ ],
+ 'yaml' => [
+ 'save_error' => "Erro ao salvar o arquivo ':name'. Por favor, verifique permissões de escrita.",
+ ],
+ 'common' => [
+ 'error_file_exists' => "Arquivo ':path' já existe.",
+ 'field_icon_description' => 'October a ícones Font Autumn: http://octobercms.com/docs/ui/icon',
+ 'destination_dir_not_exists' => "O diretório de destino ':path' não existe.",
+ 'error_make_dir' => "Erro ao criar diretório: ':name'.",
+ 'error_dir_exists' => "Directorio ':path' já existe.",
+ 'template_not_found' => "Arquivo de template ':name' não encontrado.",
+ 'error_generating_file' => "Erro ao gerar arquivo: ':path'.",
+ 'error_loading_template' => "Erro ao carregar arquivo de template: ':name'.",
+ 'select_plugin_first' => 'Por favor, selecione um plugin primeiro. Para ver a lista de plugins, clique no ícone > na barra lateral esquerda.',
+ 'plugin_not_selected' => 'Plugin não selecionado',
+ 'add' => 'Acrescentar',
+ ],
+ 'migration' => [
+ 'entity_name' => 'Migration',
+ 'error_version_invalid' => 'A versão deve ser especificada no formato 1.0.1',
+ 'field_version' => 'Versão',
+ 'field_description' => 'Descrição',
+ 'field_code' => 'Código',
+ 'field_code_comment' => 'O código da migration é apenas leitura e apenas para o propósito de preview. Você pode cdriar migrations customizadas manualmente na seção Versões do Builder.',
+ 'save_and_apply' => 'Salvar e aplicar',
+ 'error_version_exists' => 'A versão do migration já existe.',
+ 'error_script_filename_invalid' => 'O nome do arquivo de script do migration pode conter apenas letras latinas, números e underlines. O nome deve começar com uma letra latina e não pode conter espaços.',
+ 'error_cannot_change_version_number' => 'Não é possível alterar o número da versão para uma versão aplicada.',
+ 'error_file_must_define_class' => 'O código de migração deve definir uma migration ou classe de semeador. Deixe o campo de código em branco se você quiser apenas atualizar o número da versão.',
+ 'error_file_must_define_namespace' => 'O código do migration deve definir um namespace. Deixe o campo de código em branco se você quiser apenas atualizar o número da versão.',
+ 'no_changes_to_save' => 'Não há mudanças para salvar.',
+ 'error_namespace_mismatch' => "O código do migration deve usar o namespace :namespace do plugin",
+ 'error_migration_file_exists' => "O arquivo migration :file já existe. Por favor, use outro nome de classe.",
+ 'error_cant_delete_applied' => 'Esta versão já foi aplicada e não pode ser excluída. Por favor, reverter a versão primeiro.',
+ ],
+ 'components' => [
+ 'list_title' => 'Lista de registros',
+ 'list_description' => 'Exibe uma lista de registros para um model selecionado',
+ 'list_page_number' => 'Número de pagina',
+ 'list_page_number_description' => 'Este valor é usado para determinar em qual paginao usuário está.',
+ 'list_records_per_page' => 'Registros por pagina',
+ 'list_records_per_page_description' => 'Número de registros para exibir em uma única pagina. Deixe em branco para desabilitar a paginação.',
+ 'list_records_per_page_validation' => 'Formato inválido dos registros por valor de página. O valor deve ser um número.',
+ 'list_no_records' => 'Nenhuma mensagem de registro',
+ 'list_no_records_description' => 'Mensagem a exibir na lista no caso de não haver registros. Usado no partial padrão do componente.',
+ 'list_no_records_default' => 'Nenhum registro encontrado',
+ 'list_sort_column' => 'Sortear por coluna',
+ 'list_sort_column_description' => 'A coluna modela como os registros devem ser ordenados',
+ 'list_sort_direction' => 'Direção',
+ 'list_display_column' => 'Exibir coluna',
+ 'list_display_column_description' => 'Coluna para exibir na lista. Usado no partial padrão do componente.',
+ 'list_display_column_required' => 'Por favor, selecione uma coluna exibida.',
+ 'list_details_page' => 'Pagina detalhes',
+ 'list_details_page_description' => 'Pagina para exibir detalhes dos registros.',
+ 'list_details_page_no' => '--nenhuma pagina de detalhes--',
+ 'list_sorting' => 'Sortear',
+ 'list_pagination' => 'Paginação',
+ 'list_order_direction_asc' => 'Ascendente',
+ 'list_order_direction_desc' => 'Descendente',
+ 'list_model' => 'classe Model',
+ 'list_scope' => 'Escopo',
+ 'list_scope_description' => 'Escopo do modelo opcional para buscar os registros',
+ 'list_scope_default' => '--selecione um escopo, opcional--',
+ 'list_scope_value' => 'Valor do escopo',
+ 'list_scope_value_description' => 'Valor opcional para passar para o escopo do modelo',
+ 'list_details_page_link' => 'Link para a pagina de detalhes',
+ 'list_details_key_column' => 'Coluna chave de detalhes',
+ 'list_details_key_column_description' => 'Coluna Modelo para usar como um identificador de registro nos links da página de detalhes.',
+ 'list_details_url_parameter' => 'Nome do parâmetro de URL ',
+ 'list_details_url_parameter_description' => 'Nome do parâmetro de URL da página de detalhes que leva o identificador de registro.',
+ 'details_title' => 'Detalhes de registros',
+ 'details_description' => 'Exibe detalhes de registros para um modelo selecionado',
+ 'details_model' => 'Classe Model',
+ 'details_identifier_value' => 'Valor do identificador',
+ 'details_identifier_value_description' => 'Valor identificador para carregar os registros do banco de dados. Especifique um valor fixo ou nome de parâmetro URL.',
+ 'details_identifier_value_required' => 'O valor do identificador é obrigatório',
+ 'details_key_column' => 'Coluna chave',
+ 'details_key_column_description' => 'Coluna model para usar como um identificador de registro para buscar os registros do banco de dados.',
+ 'details_key_column_required' => 'O nome de coluna chave é obrigatório',
+ 'details_display_column' => 'Exibir coluna',
+ 'details_display_column_description' => 'Coluna model para exibir na pagina de detalhes. Usado no partial padrão do componente.',
+ 'details_display_column_required' => 'Por favor, selecione uma coluna de exibição.',
+ 'details_not_found_message' => 'Mensagem nçai encontrada',
+ 'details_not_found_message_description' => 'Mensagem para exibir se o registro não for encontrado. Usado no partial padrão do componente.',
+ 'details_not_found_message_default' => 'Registro não encontrado',
+ ],
+];
diff --git a/server/plugins/rainlab/builder/models/Settings.php b/server/plugins/rainlab/builder/models/Settings.php
new file mode 100644
index 0000000..7353b21
--- /dev/null
+++ b/server/plugins/rainlab/builder/models/Settings.php
@@ -0,0 +1,29 @@
+ 'required',
+ 'author_namespace' => ['required', 'regex:/^[a-z]+[a-z0-9]+$/i', 'reserved']
+ ];
+}
diff --git a/server/plugins/rainlab/builder/models/settings/fields.yaml b/server/plugins/rainlab/builder/models/settings/fields.yaml
new file mode 100644
index 0000000..4080669
--- /dev/null
+++ b/server/plugins/rainlab/builder/models/settings/fields.yaml
@@ -0,0 +1,13 @@
+fields:
+ author_name:
+ span: left
+ label: rainlab.builder::lang.author_name.title
+ commentAbove: rainlab.builder::lang.author_name.description
+
+ author_namespace:
+ span: right
+ label: rainlab.builder::lang.author_namespace.title
+ commentAbove: rainlab.builder::lang.author_namespace.description
+ preset:
+ field: author_name
+ type: namespace
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/phpunit.xml b/server/plugins/rainlab/builder/phpunit.xml
new file mode 100644
index 0000000..db31479
--- /dev/null
+++ b/server/plugins/rainlab/builder/phpunit.xml
@@ -0,0 +1,23 @@
+
+
+
+
+ ./tests/unit
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/tests/TestCase.php b/server/plugins/rainlab/builder/tests/TestCase.php
new file mode 100644
index 0000000..5bc4fe6
--- /dev/null
+++ b/server/plugins/rainlab/builder/tests/TestCase.php
@@ -0,0 +1,3 @@
+cleanUp();
+ }
+
+ public function tearDown()
+ {
+ $this->cleanUp();
+ }
+
+ public function testGenerate()
+ {
+ $generatedDir = $this->getFixturesDir('temporary/generated');
+ $this->assertFileNotExists($generatedDir);
+
+ File::makeDirectory($generatedDir, 0777, true, true);
+ $this->assertFileExists($generatedDir);
+
+ $structure = [
+ 'author',
+ 'author/plugin',
+ 'author/plugin/plugin.php' => 'plugin.php.tpl',
+ 'author/plugin/classes'
+ ];
+
+ $templatesDir = $this->getFixturesDir('templates');
+ $generator = new FilesystemGenerator($generatedDir, $structure, $templatesDir);
+
+ $variables = [
+ 'authorNamespace' => 'Author',
+ 'pluginNamespace' => 'Plugin'
+ ];
+ $generator->setVariables($variables);
+ $generator->setVariable('className', 'TestClass');
+
+ $generator->generate();
+
+ $this->assertFileExists($generatedDir.'/author/plugin/plugin.php');
+ $this->assertFileExists($generatedDir.'/author/plugin/classes');
+
+ $content = file_get_contents($generatedDir.'/author/plugin/plugin.php');
+ $this->assertContains('Author\Plugin', $content);
+ $this->assertContains('TestClass', $content);
+ }
+
+ /**
+ * @expectedException October\Rain\Exception\SystemException
+ * @expectedExceptionMessage exists
+ */
+ public function testDestNotExistsException()
+ {
+ $dir = $this->getFixturesDir('temporary/null');
+ $generator = new FilesystemGenerator($dir, []);
+ $generator->generate();
+ }
+
+ /**
+ * @expectedException October\Rain\Exception\ApplicationException
+ * @expectedExceptionMessage exists
+ */
+ public function testDirExistsException()
+ {
+ $generatedDir = $this->getFixturesDir('temporary/generated');
+ $this->assertFileNotExists($generatedDir);
+
+ File::makeDirectory($generatedDir.'/plugin', 0777, true, true);
+ $this->assertFileExists($generatedDir.'/plugin');
+
+ $structure = [
+ 'plugin'
+ ];
+
+ $generator = new FilesystemGenerator($generatedDir, $structure);
+ $generator->generate();
+ }
+
+ /**
+ * @expectedException October\Rain\Exception\ApplicationException
+ * @expectedExceptionMessage exists
+ */
+ public function testFileExistsException()
+ {
+ $generatedDir = $this->getFixturesDir('temporary/generated');
+ $this->assertFileNotExists($generatedDir);
+
+ File::makeDirectory($generatedDir, 0777, true, true);
+ $this->assertFileExists($generatedDir);
+
+ File::put($generatedDir.'/plugin.php', 'contents');
+ $this->assertFileExists($generatedDir.'/plugin.php');
+
+ $structure = [
+ 'plugin.php' => 'plugin.php.tpl'
+ ];
+
+ $generator = new FilesystemGenerator($generatedDir, $structure);
+ $generator->generate();
+ }
+
+ /**
+ * @expectedException October\Rain\Exception\SystemException
+ * @expectedExceptionMessage found
+ */
+ public function testTemplateNotFound()
+ {
+ $generatedDir = $this->getFixturesDir('temporary/generated');
+ $this->assertFileNotExists($generatedDir);
+
+ File::makeDirectory($generatedDir, 0777, true, true);
+ $this->assertFileExists($generatedDir);
+
+ $structure = [
+ 'plugin.php' => 'null.tpl'
+ ];
+
+ $generator = new FilesystemGenerator($generatedDir, $structure);
+ $generator->generate();
+ }
+
+ protected function getFixturesDir($subdir)
+ {
+ $result = __DIR__.'/../../fixtures/filesystemgenerator';
+
+ if (strlen($subdir)) {
+ $result .= '/'.$subdir;
+ }
+
+ return $result;
+ }
+
+ protected function cleanUp()
+ {
+ $generatedDir = $this->getFixturesDir('temporary/generated');
+ File::deleteDirectory($generatedDir);
+ }
+}
diff --git a/server/plugins/rainlab/builder/tests/unit/classes/ModelModelTest.php b/server/plugins/rainlab/builder/tests/unit/classes/ModelModelTest.php
new file mode 100644
index 0000000..24b95ca
--- /dev/null
+++ b/server/plugins/rainlab/builder/tests/unit/classes/ModelModelTest.php
@@ -0,0 +1,68 @@
+assertTrue( ModelModel::validateModelClassName($unQualifiedClassName) );
+
+ $qualifiedClassName = 'RainLab\Builder\Models\Settings';
+ $this->assertTrue( ModelModel::validateModelClassName($qualifiedClassName) );
+
+ $fullyQualifiedClassName = '\RainLab\Builder\Models\Settings';
+ $this->assertTrue( ModelModel::validateModelClassName($fullyQualifiedClassName) );
+
+ $qualifiedClassNameStartingWithLowerCase = 'rainLab\Builder\Models\Settings';
+ $this->assertTrue( ModelModel::validateModelClassName($qualifiedClassNameStartingWithLowerCase) );
+ }
+
+ public function testInvalidateModelClassName()
+ {
+ $unQualifiedClassName = 'myClassName'; // starts with lower case
+ $this->assertFalse( ModelModel::validateModelClassName($unQualifiedClassName) );
+
+ $qualifiedClassName = 'MyNameSpace\MyPlugin\Models\MyClassName'; // namespace\class doesn't exist
+ $this->assertFalse( ModelModel::validateModelClassName($qualifiedClassName) );
+
+ $fullyQualifiedClassName = '\MyNameSpace\MyPlugin\Models\MyClassName'; // namespace\class doesn't exist
+ $this->assertFalse( ModelModel::validateModelClassName($fullyQualifiedClassName) );
+ }
+
+ public function testGetModelFields(){
+ // Invalid Class Name
+ try {
+ ModelModel::getModelFields(NULL, 'myClassName');
+ } catch (SystemException $e) {
+ $this->assertEquals($e->getMessage(), 'Invalid model class name: myClassName');
+ return;
+ }
+
+ // Directory Not Found
+ $pluginCodeObj = PluginCode::createFromNamespace('MyNameSpace\MyPlugin\Models\MyClassName');
+ $this->assertEquals([], ModelModel::getModelFields($pluginCodeObj, 'MyClassName') );
+
+ // Directory Found, but Class Not Found
+ $pluginCodeObj = PluginCode::createFromNamespace('RainLab\Builder\Models\MyClassName');
+ $this->assertEquals([], ModelModel::getModelFields($pluginCodeObj, 'MyClassName') );
+
+ // Model without Table Name
+ $pluginCodeObj = PluginCode::createFromNamespace('RainLab\Builder\Models\Settings');
+ $this->assertEquals([], ModelModel::getModelFields($pluginCodeObj, 'Settings') );
+
+ // Model with Table Name
+ copy(__DIR__."/../../fixtures/MyMock.php", __DIR__."/../../../models/MyMock.php");
+ $pluginCodeObj = PluginCode::createFromNamespace('RainLab\Builder\Models\MyMock');
+ $this->assertEquals([], ModelModel::getModelFields($pluginCodeObj, 'MyMock') );
+ }
+
+}
diff --git a/server/plugins/rainlab/builder/tests/unit/phpunit.xml b/server/plugins/rainlab/builder/tests/unit/phpunit.xml
new file mode 100644
index 0000000..43f7f24
--- /dev/null
+++ b/server/plugins/rainlab/builder/tests/unit/phpunit.xml
@@ -0,0 +1,23 @@
+
+
+
+
+ ./
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/updates/version.yaml b/server/plugins/rainlab/builder/updates/version.yaml
new file mode 100644
index 0000000..5798699
--- /dev/null
+++ b/server/plugins/rainlab/builder/updates/version.yaml
@@ -0,0 +1,23 @@
+1.0.1: Initialize plugin.
+1.0.2: Fixes the problem with selecting a plugin. Minor localization corrections. Configuration files in the list and form behaviors are now autocomplete.
+1.0.3: Improved handling of the enum data type.
+1.0.4: Added user permissions to work with the Builder.
+1.0.5: Fixed permissions registration.
+1.0.6: Fixed front-end record ordering in the Record List component.
+1.0.7: Builder settings are now protected with user permissions. The database table column list is scrollable now. Minor code cleanup.
+1.0.8: Added the Reorder Controller behavior.
+1.0.9: Minor API and UI updates.
+1.0.10: Minor styling update.
+1.0.11: Fixed a bug where clicking placeholder in a repeater would open Inspector. Fixed a problem with saving forms with repeaters in tabs. Minor style fix.
+1.0.12: Added support for the Trigger property to the Media Finder widget configuration. Names of form fields and list columns definition files can now contain underscores.
+1.0.13: Minor styling fix on the database editor.
+1.0.14: Added support for published_at timestamp field
+1.0.15: Fixed a bug where saving a localization string in Inspector could cause a JavaScript error. Added support for Timestamps and Soft Deleting for new models.
+1.0.16: Fixed a bug when saving a form with the Repeater widget in a tab could create invalid fields in the form's outside area. Added a check that prevents creating localization strings inside other existing strings.
+1.0.17: Added support Trigger attribute support for RecordFinder and Repeater form widgets.
+1.0.18: Fixes a bug where '::class' notations in a model class definition could prevent the model from appearing in the Builder model list. Added emptyOption property support to the dropdown form control.
+1.0.19: Added a feature allowing to add all database columns to a list definition. Added max length validation for database table and column names.
+1.0.20: Fixes a bug where form the builder could trigger the "current.hasAttribute is not a function" error.
+1.0.21: Back-end navigation sort order updated.
+1.0.22: Added scopeValue property to the RecordList component.
+1.0.23: Added support for balloon-selector field type, added Brazilian Portuguese translation, fixed some bugs
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/validation/ReservedValidator.php b/server/plugins/rainlab/builder/validation/ReservedValidator.php
new file mode 100644
index 0000000..5e9a58a
--- /dev/null
+++ b/server/plugins/rainlab/builder/validation/ReservedValidator.php
@@ -0,0 +1,129 @@
+reserved);
+ }
+
+ /**
+ * @param $message
+ * @param $attribute
+ * @param $rule
+ * @param $parameters
+ * @return mixed
+ */
+ public function replaceReserved($message, $attribute, $rule, $parameters)
+ {
+ return $this->replaceAttributePlaceholder(e(trans('rainlab.builder::lang.validation.reserved')), ucfirst($this->getDisplayableAttribute($attribute)));
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/autoload.php b/server/plugins/rainlab/builder/vendor/autoload.php
new file mode 100644
index 0000000..7be4ef7
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/autoload.php
@@ -0,0 +1,7 @@
+
+ * Jordi Boggiano
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Composer\Autoload;
+
+/**
+ * ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
+ *
+ * $loader = new \Composer\Autoload\ClassLoader();
+ *
+ * // register classes with namespaces
+ * $loader->add('Symfony\Component', __DIR__.'/component');
+ * $loader->add('Symfony', __DIR__.'/framework');
+ *
+ * // activate the autoloader
+ * $loader->register();
+ *
+ * // to enable searching the include path (eg. for PEAR packages)
+ * $loader->setUseIncludePath(true);
+ *
+ * In this example, if you try to use a class in the Symfony\Component
+ * namespace or one of its children (Symfony\Component\Console for instance),
+ * the autoloader will first look for the class under the component/
+ * directory, and it will then fallback to the framework/ directory if not
+ * found before giving up.
+ *
+ * This class is loosely based on the Symfony UniversalClassLoader.
+ *
+ * @author Fabien Potencier
+ * @author Jordi Boggiano
+ * @see http://www.php-fig.org/psr/psr-0/
+ * @see http://www.php-fig.org/psr/psr-4/
+ */
+class ClassLoader
+{
+ // PSR-4
+ private $prefixLengthsPsr4 = array();
+ private $prefixDirsPsr4 = array();
+ private $fallbackDirsPsr4 = array();
+
+ // PSR-0
+ private $prefixesPsr0 = array();
+ private $fallbackDirsPsr0 = array();
+
+ private $useIncludePath = false;
+ private $classMap = array();
+ private $classMapAuthoritative = false;
+ private $missingClasses = array();
+ private $apcuPrefix;
+
+ public function getPrefixes()
+ {
+ if (!empty($this->prefixesPsr0)) {
+ return call_user_func_array('array_merge', $this->prefixesPsr0);
+ }
+
+ return array();
+ }
+
+ public function getPrefixesPsr4()
+ {
+ return $this->prefixDirsPsr4;
+ }
+
+ public function getFallbackDirs()
+ {
+ return $this->fallbackDirsPsr0;
+ }
+
+ public function getFallbackDirsPsr4()
+ {
+ return $this->fallbackDirsPsr4;
+ }
+
+ public function getClassMap()
+ {
+ return $this->classMap;
+ }
+
+ /**
+ * @param array $classMap Class to filename map
+ */
+ public function addClassMap(array $classMap)
+ {
+ if ($this->classMap) {
+ $this->classMap = array_merge($this->classMap, $classMap);
+ } else {
+ $this->classMap = $classMap;
+ }
+ }
+
+ /**
+ * Registers a set of PSR-0 directories for a given prefix, either
+ * appending or prepending to the ones previously set for this prefix.
+ *
+ * @param string $prefix The prefix
+ * @param array|string $paths The PSR-0 root directories
+ * @param bool $prepend Whether to prepend the directories
+ */
+ public function add($prefix, $paths, $prepend = false)
+ {
+ if (!$prefix) {
+ if ($prepend) {
+ $this->fallbackDirsPsr0 = array_merge(
+ (array) $paths,
+ $this->fallbackDirsPsr0
+ );
+ } else {
+ $this->fallbackDirsPsr0 = array_merge(
+ $this->fallbackDirsPsr0,
+ (array) $paths
+ );
+ }
+
+ return;
+ }
+
+ $first = $prefix[0];
+ if (!isset($this->prefixesPsr0[$first][$prefix])) {
+ $this->prefixesPsr0[$first][$prefix] = (array) $paths;
+
+ return;
+ }
+ if ($prepend) {
+ $this->prefixesPsr0[$first][$prefix] = array_merge(
+ (array) $paths,
+ $this->prefixesPsr0[$first][$prefix]
+ );
+ } else {
+ $this->prefixesPsr0[$first][$prefix] = array_merge(
+ $this->prefixesPsr0[$first][$prefix],
+ (array) $paths
+ );
+ }
+ }
+
+ /**
+ * Registers a set of PSR-4 directories for a given namespace, either
+ * appending or prepending to the ones previously set for this namespace.
+ *
+ * @param string $prefix The prefix/namespace, with trailing '\\'
+ * @param array|string $paths The PSR-4 base directories
+ * @param bool $prepend Whether to prepend the directories
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function addPsr4($prefix, $paths, $prepend = false)
+ {
+ if (!$prefix) {
+ // Register directories for the root namespace.
+ if ($prepend) {
+ $this->fallbackDirsPsr4 = array_merge(
+ (array) $paths,
+ $this->fallbackDirsPsr4
+ );
+ } else {
+ $this->fallbackDirsPsr4 = array_merge(
+ $this->fallbackDirsPsr4,
+ (array) $paths
+ );
+ }
+ } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
+ // Register directories for a new namespace.
+ $length = strlen($prefix);
+ if ('\\' !== $prefix[$length - 1]) {
+ throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
+ }
+ $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
+ $this->prefixDirsPsr4[$prefix] = (array) $paths;
+ } elseif ($prepend) {
+ // Prepend directories for an already registered namespace.
+ $this->prefixDirsPsr4[$prefix] = array_merge(
+ (array) $paths,
+ $this->prefixDirsPsr4[$prefix]
+ );
+ } else {
+ // Append directories for an already registered namespace.
+ $this->prefixDirsPsr4[$prefix] = array_merge(
+ $this->prefixDirsPsr4[$prefix],
+ (array) $paths
+ );
+ }
+ }
+
+ /**
+ * Registers a set of PSR-0 directories for a given prefix,
+ * replacing any others previously set for this prefix.
+ *
+ * @param string $prefix The prefix
+ * @param array|string $paths The PSR-0 base directories
+ */
+ public function set($prefix, $paths)
+ {
+ if (!$prefix) {
+ $this->fallbackDirsPsr0 = (array) $paths;
+ } else {
+ $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
+ }
+ }
+
+ /**
+ * Registers a set of PSR-4 directories for a given namespace,
+ * replacing any others previously set for this namespace.
+ *
+ * @param string $prefix The prefix/namespace, with trailing '\\'
+ * @param array|string $paths The PSR-4 base directories
+ *
+ * @throws \InvalidArgumentException
+ */
+ public function setPsr4($prefix, $paths)
+ {
+ if (!$prefix) {
+ $this->fallbackDirsPsr4 = (array) $paths;
+ } else {
+ $length = strlen($prefix);
+ if ('\\' !== $prefix[$length - 1]) {
+ throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
+ }
+ $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
+ $this->prefixDirsPsr4[$prefix] = (array) $paths;
+ }
+ }
+
+ /**
+ * Turns on searching the include path for class files.
+ *
+ * @param bool $useIncludePath
+ */
+ public function setUseIncludePath($useIncludePath)
+ {
+ $this->useIncludePath = $useIncludePath;
+ }
+
+ /**
+ * Can be used to check if the autoloader uses the include path to check
+ * for classes.
+ *
+ * @return bool
+ */
+ public function getUseIncludePath()
+ {
+ return $this->useIncludePath;
+ }
+
+ /**
+ * Turns off searching the prefix and fallback directories for classes
+ * that have not been registered with the class map.
+ *
+ * @param bool $classMapAuthoritative
+ */
+ public function setClassMapAuthoritative($classMapAuthoritative)
+ {
+ $this->classMapAuthoritative = $classMapAuthoritative;
+ }
+
+ /**
+ * Should class lookup fail if not found in the current class map?
+ *
+ * @return bool
+ */
+ public function isClassMapAuthoritative()
+ {
+ return $this->classMapAuthoritative;
+ }
+
+ /**
+ * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
+ *
+ * @param string|null $apcuPrefix
+ */
+ public function setApcuPrefix($apcuPrefix)
+ {
+ $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
+ }
+
+ /**
+ * The APCu prefix in use, or null if APCu caching is not enabled.
+ *
+ * @return string|null
+ */
+ public function getApcuPrefix()
+ {
+ return $this->apcuPrefix;
+ }
+
+ /**
+ * Registers this instance as an autoloader.
+ *
+ * @param bool $prepend Whether to prepend the autoloader or not
+ */
+ public function register($prepend = false)
+ {
+ spl_autoload_register(array($this, 'loadClass'), true, $prepend);
+ }
+
+ /**
+ * Unregisters this instance as an autoloader.
+ */
+ public function unregister()
+ {
+ spl_autoload_unregister(array($this, 'loadClass'));
+ }
+
+ /**
+ * Loads the given class or interface.
+ *
+ * @param string $class The name of the class
+ * @return bool|null True if loaded, null otherwise
+ */
+ public function loadClass($class)
+ {
+ if ($file = $this->findFile($class)) {
+ includeFile($file);
+
+ return true;
+ }
+ }
+
+ /**
+ * Finds the path to the file where the class is defined.
+ *
+ * @param string $class The name of the class
+ *
+ * @return string|false The path if found, false otherwise
+ */
+ public function findFile($class)
+ {
+ // class map lookup
+ if (isset($this->classMap[$class])) {
+ return $this->classMap[$class];
+ }
+ if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
+ return false;
+ }
+ if (null !== $this->apcuPrefix) {
+ $file = apcu_fetch($this->apcuPrefix.$class, $hit);
+ if ($hit) {
+ return $file;
+ }
+ }
+
+ $file = $this->findFileWithExtension($class, '.php');
+
+ // Search for Hack files if we are running on HHVM
+ if (false === $file && defined('HHVM_VERSION')) {
+ $file = $this->findFileWithExtension($class, '.hh');
+ }
+
+ if (null !== $this->apcuPrefix) {
+ apcu_add($this->apcuPrefix.$class, $file);
+ }
+
+ if (false === $file) {
+ // Remember that this class does not exist.
+ $this->missingClasses[$class] = true;
+ }
+
+ return $file;
+ }
+
+ private function findFileWithExtension($class, $ext)
+ {
+ // PSR-4 lookup
+ $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
+
+ $first = $class[0];
+ if (isset($this->prefixLengthsPsr4[$first])) {
+ $subPath = $class;
+ while (false !== $lastPos = strrpos($subPath, '\\')) {
+ $subPath = substr($subPath, 0, $lastPos);
+ $search = $subPath . '\\';
+ if (isset($this->prefixDirsPsr4[$search])) {
+ $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
+ foreach ($this->prefixDirsPsr4[$search] as $dir) {
+ if (file_exists($file = $dir . $pathEnd)) {
+ return $file;
+ }
+ }
+ }
+ }
+ }
+
+ // PSR-4 fallback dirs
+ foreach ($this->fallbackDirsPsr4 as $dir) {
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
+ return $file;
+ }
+ }
+
+ // PSR-0 lookup
+ if (false !== $pos = strrpos($class, '\\')) {
+ // namespaced class name
+ $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
+ . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
+ } else {
+ // PEAR-like class name
+ $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
+ }
+
+ if (isset($this->prefixesPsr0[$first])) {
+ foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
+ if (0 === strpos($class, $prefix)) {
+ foreach ($dirs as $dir) {
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
+ return $file;
+ }
+ }
+ }
+ }
+ }
+
+ // PSR-0 fallback dirs
+ foreach ($this->fallbackDirsPsr0 as $dir) {
+ if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
+ return $file;
+ }
+ }
+
+ // PSR-0 include paths.
+ if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
+ return $file;
+ }
+
+ return false;
+ }
+}
+
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ */
+function includeFile($file)
+{
+ include $file;
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/LICENSE b/server/plugins/rainlab/builder/vendor/composer/LICENSE
new file mode 100644
index 0000000..f27399a
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/LICENSE
@@ -0,0 +1,21 @@
+
+Copyright (c) Nils Adermann, Jordi Boggiano
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
diff --git a/server/plugins/rainlab/builder/vendor/composer/autoload_classmap.php b/server/plugins/rainlab/builder/vendor/composer/autoload_classmap.php
new file mode 100644
index 0000000..7a91153
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/autoload_classmap.php
@@ -0,0 +1,9 @@
+ array($vendorDir . '/composer/installers/src/Composer/Installers'),
+);
diff --git a/server/plugins/rainlab/builder/vendor/composer/autoload_real.php b/server/plugins/rainlab/builder/vendor/composer/autoload_real.php
new file mode 100644
index 0000000..171ca18
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/autoload_real.php
@@ -0,0 +1,52 @@
+= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
+ if ($useStaticLoader) {
+ require_once __DIR__ . '/autoload_static.php';
+
+ call_user_func(\Composer\Autoload\ComposerStaticInit28556bde982901100539ddbc3fb5f3ba::getInitializer($loader));
+ } else {
+ $map = require __DIR__ . '/autoload_namespaces.php';
+ foreach ($map as $namespace => $path) {
+ $loader->set($namespace, $path);
+ }
+
+ $map = require __DIR__ . '/autoload_psr4.php';
+ foreach ($map as $namespace => $path) {
+ $loader->setPsr4($namespace, $path);
+ }
+
+ $classMap = require __DIR__ . '/autoload_classmap.php';
+ if ($classMap) {
+ $loader->addClassMap($classMap);
+ }
+ }
+
+ $loader->register(true);
+
+ return $loader;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/autoload_static.php b/server/plugins/rainlab/builder/vendor/composer/autoload_static.php
new file mode 100644
index 0000000..06e691f
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/autoload_static.php
@@ -0,0 +1,31 @@
+
+ array (
+ 'Composer\\Installers\\' => 20,
+ ),
+ );
+
+ public static $prefixDirsPsr4 = array (
+ 'Composer\\Installers\\' =>
+ array (
+ 0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers',
+ ),
+ );
+
+ public static function getInitializer(ClassLoader $loader)
+ {
+ return \Closure::bind(function () use ($loader) {
+ $loader->prefixLengthsPsr4 = ComposerStaticInit28556bde982901100539ddbc3fb5f3ba::$prefixLengthsPsr4;
+ $loader->prefixDirsPsr4 = ComposerStaticInit28556bde982901100539ddbc3fb5f3ba::$prefixDirsPsr4;
+
+ }, null, ClassLoader::class);
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installed.json b/server/plugins/rainlab/builder/vendor/composer/installed.json
new file mode 100644
index 0000000..699edf1
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installed.json
@@ -0,0 +1,124 @@
+[
+ {
+ "name": "composer/installers",
+ "version": "v1.6.0",
+ "version_normalized": "1.6.0.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/composer/installers.git",
+ "reference": "cfcca6b1b60bc4974324efb5783c13dca6932b5b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/composer/installers/zipball/cfcca6b1b60bc4974324efb5783c13dca6932b5b",
+ "reference": "cfcca6b1b60bc4974324efb5783c13dca6932b5b",
+ "shasum": ""
+ },
+ "require": {
+ "composer-plugin-api": "^1.0"
+ },
+ "replace": {
+ "roundcube/plugin-installer": "*",
+ "shama/baton": "*"
+ },
+ "require-dev": {
+ "composer/composer": "1.0.*@dev",
+ "phpunit/phpunit": "^4.8.36"
+ },
+ "time": "2018-08-27T06:10:37+00:00",
+ "type": "composer-plugin",
+ "extra": {
+ "class": "Composer\\Installers\\Plugin",
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "installation-source": "dist",
+ "autoload": {
+ "psr-4": {
+ "Composer\\Installers\\": "src/Composer/Installers"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Kyle Robinson Young",
+ "email": "kyle@dontkry.com",
+ "homepage": "https://github.com/shama"
+ }
+ ],
+ "description": "A multi-framework Composer library installer",
+ "homepage": "https://composer.github.io/installers/",
+ "keywords": [
+ "Craft",
+ "Dolibarr",
+ "Eliasis",
+ "Hurad",
+ "ImageCMS",
+ "Kanboard",
+ "Lan Management System",
+ "MODX Evo",
+ "Mautic",
+ "Maya",
+ "OXID",
+ "Plentymarkets",
+ "Porto",
+ "RadPHP",
+ "SMF",
+ "Thelia",
+ "WolfCMS",
+ "agl",
+ "aimeos",
+ "annotatecms",
+ "attogram",
+ "bitrix",
+ "cakephp",
+ "chef",
+ "cockpit",
+ "codeigniter",
+ "concrete5",
+ "croogo",
+ "dokuwiki",
+ "drupal",
+ "eZ Platform",
+ "elgg",
+ "expressionengine",
+ "fuelphp",
+ "grav",
+ "installer",
+ "itop",
+ "joomla",
+ "kohana",
+ "laravel",
+ "lavalite",
+ "lithium",
+ "magento",
+ "majima",
+ "mako",
+ "mediawiki",
+ "modulework",
+ "modx",
+ "moodle",
+ "osclass",
+ "phpbb",
+ "piwik",
+ "ppi",
+ "puppet",
+ "pxcms",
+ "reindex",
+ "roundcube",
+ "shopware",
+ "silverstripe",
+ "sydes",
+ "symfony",
+ "typo3",
+ "wordpress",
+ "yawik",
+ "zend",
+ "zikula"
+ ]
+ }
+]
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/LICENSE b/server/plugins/rainlab/builder/vendor/composer/installers/LICENSE
new file mode 100644
index 0000000..85f97fc
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2012 Kyle Robinson Young
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/composer.json b/server/plugins/rainlab/builder/vendor/composer/installers/composer.json
new file mode 100644
index 0000000..6de4085
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/composer.json
@@ -0,0 +1,105 @@
+{
+ "name": "composer/installers",
+ "type": "composer-plugin",
+ "license": "MIT",
+ "description": "A multi-framework Composer library installer",
+ "keywords": [
+ "installer",
+ "Aimeos",
+ "AGL",
+ "AnnotateCms",
+ "Attogram",
+ "Bitrix",
+ "CakePHP",
+ "Chef",
+ "Cockpit",
+ "CodeIgniter",
+ "concrete5",
+ "Craft",
+ "Croogo",
+ "DokuWiki",
+ "Dolibarr",
+ "Drupal",
+ "Elgg",
+ "Eliasis",
+ "ExpressionEngine",
+ "eZ Platform",
+ "FuelPHP",
+ "Grav",
+ "Hurad",
+ "ImageCMS",
+ "iTop",
+ "Joomla",
+ "Kanboard",
+ "Kohana",
+ "Lan Management System",
+ "Laravel",
+ "Lavalite",
+ "Lithium",
+ "Magento",
+ "majima",
+ "Mako",
+ "Mautic",
+ "Maya",
+ "MODX",
+ "MODX Evo",
+ "MediaWiki",
+ "OXID",
+ "osclass",
+ "MODULEWork",
+ "Moodle",
+ "Piwik",
+ "pxcms",
+ "phpBB",
+ "Plentymarkets",
+ "PPI",
+ "Puppet",
+ "Porto",
+ "RadPHP",
+ "ReIndex",
+ "Roundcube",
+ "shopware",
+ "SilverStripe",
+ "SMF",
+ "SyDES",
+ "symfony",
+ "Thelia",
+ "TYPO3",
+ "WolfCMS",
+ "WordPress",
+ "YAWIK",
+ "Zend",
+ "Zikula"
+ ],
+ "homepage": "https://composer.github.io/installers/",
+ "authors": [
+ {
+ "name": "Kyle Robinson Young",
+ "email": "kyle@dontkry.com",
+ "homepage": "https://github.com/shama"
+ }
+ ],
+ "autoload": {
+ "psr-4": { "Composer\\Installers\\": "src/Composer/Installers" }
+ },
+ "extra": {
+ "class": "Composer\\Installers\\Plugin",
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "replace": {
+ "shama/baton": "*",
+ "roundcube/plugin-installer": "*"
+ },
+ "require": {
+ "composer-plugin-api": "^1.0"
+ },
+ "require-dev": {
+ "composer/composer": "1.0.*@dev",
+ "phpunit/phpunit": "^4.8.36"
+ },
+ "scripts": {
+ "test": "phpunit"
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AglInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AglInstaller.php
new file mode 100644
index 0000000..01b8a41
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AglInstaller.php
@@ -0,0 +1,21 @@
+ 'More/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars($vars)
+ {
+ $vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) {
+ return strtoupper($matches[1]);
+ }, $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php
new file mode 100644
index 0000000..79a0e95
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php
@@ -0,0 +1,9 @@
+ 'ext/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php
new file mode 100644
index 0000000..89d7ad9
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php
@@ -0,0 +1,11 @@
+ 'addons/modules/{$name}/',
+ 'component' => 'addons/components/{$name}/',
+ 'service' => 'addons/services/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
new file mode 100644
index 0000000..22dad1b
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
@@ -0,0 +1,49 @@
+ 'Modules/{$name}/',
+ 'theme' => 'Themes/{$name}/'
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type asgard-module, cut off a trailing '-plugin' if present.
+ *
+ * For package type asgard-theme, cut off a trailing '-theme' if present.
+ *
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($vars['type'] === 'asgard-module') {
+ return $this->inflectPluginVars($vars);
+ }
+
+ if ($vars['type'] === 'asgard-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ protected function inflectPluginVars($vars)
+ {
+ $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+
+ protected function inflectThemeVars($vars)
+ {
+ $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php
new file mode 100644
index 0000000..d62fd8f
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php
@@ -0,0 +1,9 @@
+ 'modules/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php
new file mode 100644
index 0000000..7082bf2
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php
@@ -0,0 +1,136 @@
+composer = $composer;
+ $this->package = $package;
+ $this->io = $io;
+ }
+
+ /**
+ * Return the install path based on package type.
+ *
+ * @param PackageInterface $package
+ * @param string $frameworkType
+ * @return string
+ */
+ public function getInstallPath(PackageInterface $package, $frameworkType = '')
+ {
+ $type = $this->package->getType();
+
+ $prettyName = $this->package->getPrettyName();
+ if (strpos($prettyName, '/') !== false) {
+ list($vendor, $name) = explode('/', $prettyName);
+ } else {
+ $vendor = '';
+ $name = $prettyName;
+ }
+
+ $availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type'));
+
+ $extra = $package->getExtra();
+ if (!empty($extra['installer-name'])) {
+ $availableVars['name'] = $extra['installer-name'];
+ }
+
+ if ($this->composer->getPackage()) {
+ $extra = $this->composer->getPackage()->getExtra();
+ if (!empty($extra['installer-paths'])) {
+ $customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type, $vendor);
+ if ($customPath !== false) {
+ return $this->templatePath($customPath, $availableVars);
+ }
+ }
+ }
+
+ $packageType = substr($type, strlen($frameworkType) + 1);
+ $locations = $this->getLocations();
+ if (!isset($locations[$packageType])) {
+ throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type));
+ }
+
+ return $this->templatePath($locations[$packageType], $availableVars);
+ }
+
+ /**
+ * For an installer to override to modify the vars per installer.
+ *
+ * @param array $vars
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ return $vars;
+ }
+
+ /**
+ * Gets the installer's locations
+ *
+ * @return array
+ */
+ public function getLocations()
+ {
+ return $this->locations;
+ }
+
+ /**
+ * Replace vars in a path
+ *
+ * @param string $path
+ * @param array $vars
+ * @return string
+ */
+ protected function templatePath($path, array $vars = array())
+ {
+ if (strpos($path, '{') !== false) {
+ extract($vars);
+ preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches);
+ if (!empty($matches[1])) {
+ foreach ($matches[1] as $var) {
+ $path = str_replace('{$' . $var . '}', $$var, $path);
+ }
+ }
+ }
+
+ return $path;
+ }
+
+ /**
+ * Search through a passed paths array for a custom install path.
+ *
+ * @param array $paths
+ * @param string $name
+ * @param string $type
+ * @param string $vendor = NULL
+ * @return string
+ */
+ protected function mapCustomInstallPaths(array $paths, $name, $type, $vendor = NULL)
+ {
+ foreach ($paths as $path => $names) {
+ if (in_array($name, $names) || in_array('type:' . $type, $names) || in_array('vendor:' . $vendor, $names)) {
+ return $path;
+ }
+ }
+
+ return false;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
new file mode 100644
index 0000000..e80cd1e
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
@@ -0,0 +1,126 @@
+.`.
+ * - `bitrix-d7-component` — copy the component to directory `bitrix/components//`.
+ * - `bitrix-d7-template` — copy the template to directory `bitrix/templates/_`.
+ *
+ * You can set custom path to directory with Bitrix kernel in `composer.json`:
+ *
+ * ```json
+ * {
+ * "extra": {
+ * "bitrix-dir": "s1/bitrix"
+ * }
+ * }
+ * ```
+ *
+ * @author Nik Samokhvalov
+ * @author Denis Kulichkin
+ */
+class BitrixInstaller extends BaseInstaller
+{
+ protected $locations = array(
+ 'module' => '{$bitrix_dir}/modules/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
+ 'component' => '{$bitrix_dir}/components/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
+ 'theme' => '{$bitrix_dir}/templates/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
+ 'd7-module' => '{$bitrix_dir}/modules/{$vendor}.{$name}/',
+ 'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/',
+ 'd7-template' => '{$bitrix_dir}/templates/{$vendor}_{$name}/',
+ );
+
+ /**
+ * @var array Storage for informations about duplicates at all the time of installation packages.
+ */
+ private static $checkedDuplicates = array();
+
+ /**
+ * {@inheritdoc}
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($this->composer->getPackage()) {
+ $extra = $this->composer->getPackage()->getExtra();
+
+ if (isset($extra['bitrix-dir'])) {
+ $vars['bitrix_dir'] = $extra['bitrix-dir'];
+ }
+ }
+
+ if (!isset($vars['bitrix_dir'])) {
+ $vars['bitrix_dir'] = 'bitrix';
+ }
+
+ return parent::inflectPackageVars($vars);
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ protected function templatePath($path, array $vars = array())
+ {
+ $templatePath = parent::templatePath($path, $vars);
+ $this->checkDuplicates($templatePath, $vars);
+
+ return $templatePath;
+ }
+
+ /**
+ * Duplicates search packages.
+ *
+ * @param string $path
+ * @param array $vars
+ */
+ protected function checkDuplicates($path, array $vars = array())
+ {
+ $packageType = substr($vars['type'], strlen('bitrix') + 1);
+ $localDir = explode('/', $vars['bitrix_dir']);
+ array_pop($localDir);
+ $localDir[] = 'local';
+ $localDir = implode('/', $localDir);
+
+ $oldPath = str_replace(
+ array('{$bitrix_dir}', '{$name}'),
+ array($localDir, $vars['name']),
+ $this->locations[$packageType]
+ );
+
+ if (in_array($oldPath, static::$checkedDuplicates)) {
+ return;
+ }
+
+ if ($oldPath !== $path && file_exists($oldPath) && $this->io && $this->io->isInteractive()) {
+
+ $this->io->writeError(' Duplication of packages:');
+ $this->io->writeError(' Package ' . $oldPath . ' will be called instead package ' . $path . '');
+
+ while (true) {
+ switch ($this->io->ask(' Delete ' . $oldPath . ' [y,n,?]? ', '?')) {
+ case 'y':
+ $fs = new Filesystem();
+ $fs->removeDirectory($oldPath);
+ break 2;
+
+ case 'n':
+ break 2;
+
+ case '?':
+ default:
+ $this->io->writeError(array(
+ ' y - delete package ' . $oldPath . ' and to continue with the installation',
+ ' n - don\'t delete and to continue with the installation',
+ ));
+ $this->io->writeError(' ? - print help');
+ break;
+ }
+ }
+ }
+
+ static::$checkedDuplicates[] = $oldPath;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php
new file mode 100644
index 0000000..da3aad2
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php
@@ -0,0 +1,9 @@
+ 'Packages/{$vendor}/{$name}/'
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
new file mode 100644
index 0000000..6352beb
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
@@ -0,0 +1,82 @@
+ 'Plugin/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($this->matchesCakeVersion('>=', '3.0.0')) {
+ return $vars;
+ }
+
+ $nameParts = explode('/', $vars['name']);
+ foreach ($nameParts as &$value) {
+ $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
+ $value = str_replace(array('-', '_'), ' ', $value);
+ $value = str_replace(' ', '', ucwords($value));
+ }
+ $vars['name'] = implode('/', $nameParts);
+
+ return $vars;
+ }
+
+ /**
+ * Change the default plugin location when cakephp >= 3.0
+ */
+ public function getLocations()
+ {
+ if ($this->matchesCakeVersion('>=', '3.0.0')) {
+ $this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
+ }
+ return $this->locations;
+ }
+
+ /**
+ * Check if CakePHP version matches against a version
+ *
+ * @param string $matcher
+ * @param string $version
+ * @return bool
+ */
+ protected function matchesCakeVersion($matcher, $version)
+ {
+ if (class_exists('Composer\Semver\Constraint\MultiConstraint')) {
+ $multiClass = 'Composer\Semver\Constraint\MultiConstraint';
+ $constraintClass = 'Composer\Semver\Constraint\Constraint';
+ } else {
+ $multiClass = 'Composer\Package\LinkConstraint\MultiConstraint';
+ $constraintClass = 'Composer\Package\LinkConstraint\VersionConstraint';
+ }
+
+ $repositoryManager = $this->composer->getRepositoryManager();
+ if ($repositoryManager) {
+ $repos = $repositoryManager->getLocalRepository();
+ if (!$repos) {
+ return false;
+ }
+ $cake3 = new $multiClass(array(
+ new $constraintClass($matcher, $version),
+ new $constraintClass('!=', '9999999-dev'),
+ ));
+ $pool = new Pool('dev');
+ $pool->addRepository($repos);
+ $packages = $pool->whatProvides('cakephp/cakephp');
+ foreach ($packages as $package) {
+ $installed = new $constraintClass('=', $package->getVersion());
+ if ($cake3->matches($installed)) {
+ return true;
+ }
+ }
+ }
+ return false;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php
new file mode 100644
index 0000000..ab2f9aa
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php
@@ -0,0 +1,11 @@
+ 'Chef/{$vendor}/{$name}/',
+ 'role' => 'Chef/roles/{$name}/',
+ );
+}
+
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php
new file mode 100644
index 0000000..6673aea
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php
@@ -0,0 +1,9 @@
+ 'ext/{$name}/'
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php
new file mode 100644
index 0000000..c887815
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php
@@ -0,0 +1,10 @@
+ 'CCF/orbit/{$name}/',
+ 'theme' => 'CCF/app/themes/{$name}/',
+ );
+}
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php
new file mode 100644
index 0000000..c7816df
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php
@@ -0,0 +1,34 @@
+ 'cockpit/modules/addons/{$name}/',
+ );
+
+ /**
+ * Format module name.
+ *
+ * Strip `module-` prefix from package name.
+ *
+ * @param array @vars
+ *
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($vars['type'] == 'cockpit-module') {
+ return $this->inflectModuleVars($vars);
+ }
+
+ return $vars;
+ }
+
+ public function inflectModuleVars($vars)
+ {
+ $vars['name'] = ucfirst(preg_replace('/cockpit-/i', '', $vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php
new file mode 100644
index 0000000..3b4a4ec
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php
@@ -0,0 +1,11 @@
+ 'application/libraries/{$name}/',
+ 'third-party' => 'application/third_party/{$name}/',
+ 'module' => 'application/modules/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php
new file mode 100644
index 0000000..5c01baf
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php
@@ -0,0 +1,13 @@
+ 'concrete/',
+ 'block' => 'application/blocks/{$name}/',
+ 'package' => 'packages/{$name}/',
+ 'theme' => 'application/themes/{$name}/',
+ 'update' => 'updates/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php
new file mode 100644
index 0000000..d37a77a
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php
@@ -0,0 +1,35 @@
+ 'craft/plugins/{$name}/',
+ );
+
+ /**
+ * Strip `craft-` prefix and/or `-plugin` suffix from package names
+ *
+ * @param array $vars
+ *
+ * @return array
+ */
+ final public function inflectPackageVars($vars)
+ {
+ return $this->inflectPluginVars($vars);
+ }
+
+ private function inflectPluginVars($vars)
+ {
+ $vars['name'] = preg_replace('/-' . self::NAME_SUFFIX . '$/i', '', $vars['name']);
+ $vars['name'] = preg_replace('/^' . self::NAME_PREFIX . '-/i', '', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php
new file mode 100644
index 0000000..d94219d
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php
@@ -0,0 +1,21 @@
+ 'Plugin/{$name}/',
+ 'theme' => 'View/Themed/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars($vars)
+ {
+ $vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name']));
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php
new file mode 100644
index 0000000..f4837a6
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php
@@ -0,0 +1,10 @@
+ 'app/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php
new file mode 100644
index 0000000..cfd638d
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php
@@ -0,0 +1,50 @@
+ 'lib/plugins/{$name}/',
+ 'template' => 'lib/tpl/{$name}/',
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type dokuwiki-plugin, cut off a trailing '-plugin',
+ * or leading dokuwiki_ if present.
+ *
+ * For package type dokuwiki-template, cut off a trailing '-template' if present.
+ *
+ */
+ public function inflectPackageVars($vars)
+ {
+
+ if ($vars['type'] === 'dokuwiki-plugin') {
+ return $this->inflectPluginVars($vars);
+ }
+
+ if ($vars['type'] === 'dokuwiki-template') {
+ return $this->inflectTemplateVars($vars);
+ }
+
+ return $vars;
+ }
+
+ protected function inflectPluginVars($vars)
+ {
+ $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ protected function inflectTemplateVars($vars)
+ {
+ $vars['name'] = preg_replace('/-template$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']);
+
+ return $vars;
+ }
+
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php
new file mode 100644
index 0000000..21f7e8e
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php
@@ -0,0 +1,16 @@
+
+ */
+class DolibarrInstaller extends BaseInstaller
+{
+ //TODO: Add support for scripts and themes
+ protected $locations = array(
+ 'module' => 'htdocs/custom/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php
new file mode 100644
index 0000000..fef7c52
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php
@@ -0,0 +1,16 @@
+ 'core/',
+ 'module' => 'modules/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ 'library' => 'libraries/{$name}/',
+ 'profile' => 'profiles/{$name}/',
+ 'drush' => 'drush/{$name}/',
+ 'custom-theme' => 'themes/custom/{$name}/',
+ 'custom-module' => 'modules/custom/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php
new file mode 100644
index 0000000..c0bb609
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php
@@ -0,0 +1,9 @@
+ 'mod/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php
new file mode 100644
index 0000000..6f3dc97
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php
@@ -0,0 +1,12 @@
+ 'components/{$name}/',
+ 'module' => 'modules/{$name}/',
+ 'plugin' => 'plugins/{$name}/',
+ 'template' => 'templates/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php
new file mode 100644
index 0000000..d5321a8
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php
@@ -0,0 +1,29 @@
+ 'system/expressionengine/third_party/{$name}/',
+ 'theme' => 'themes/third_party/{$name}/',
+ );
+
+ private $ee3Locations = array(
+ 'addon' => 'system/user/addons/{$name}/',
+ 'theme' => 'themes/user/{$name}/',
+ );
+
+ public function getInstallPath(PackageInterface $package, $frameworkType = '')
+ {
+
+ $version = "{$frameworkType}Locations";
+ $this->locations = $this->$version;
+
+ return parent::getInstallPath($package, $frameworkType);
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php
new file mode 100644
index 0000000..f30ebcc
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php
@@ -0,0 +1,10 @@
+ 'web/assets/ezplatform/',
+ 'assets' => 'web/assets/ezplatform/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php
new file mode 100644
index 0000000..6eba2e3
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php
@@ -0,0 +1,11 @@
+ 'fuel/app/modules/{$name}/',
+ 'package' => 'fuel/packages/{$name}/',
+ 'theme' => 'fuel/app/themes/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php
new file mode 100644
index 0000000..29d980b
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php
@@ -0,0 +1,9 @@
+ 'components/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/GravInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/GravInstaller.php
new file mode 100644
index 0000000..dbe63e0
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/GravInstaller.php
@@ -0,0 +1,30 @@
+ 'user/plugins/{$name}/',
+ 'theme' => 'user/themes/{$name}/',
+ );
+
+ /**
+ * Format package name
+ *
+ * @param array $vars
+ *
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ $restrictedWords = implode('|', array_keys($this->locations));
+
+ $vars['name'] = strtolower($vars['name']);
+ $vars['name'] = preg_replace('/^(?:grav-)?(?:(?:'.$restrictedWords.')-)?(.*?)(?:-(?:'.$restrictedWords.'))?$/ui',
+ '$1',
+ $vars['name']
+ );
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php
new file mode 100644
index 0000000..8fe017f
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php
@@ -0,0 +1,25 @@
+ 'plugins/{$name}/',
+ 'theme' => 'plugins/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars($vars)
+ {
+ $nameParts = explode('/', $vars['name']);
+ foreach ($nameParts as &$value) {
+ $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
+ $value = str_replace(array('-', '_'), ' ', $value);
+ $value = str_replace(' ', '', ucwords($value));
+ }
+ $vars['name'] = implode('/', $nameParts);
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php
new file mode 100644
index 0000000..5e2142e
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php
@@ -0,0 +1,11 @@
+ 'templates/{$name}/',
+ 'module' => 'application/modules/{$name}/',
+ 'library' => 'application/libraries/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Installer.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Installer.php
new file mode 100644
index 0000000..352cb7f
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Installer.php
@@ -0,0 +1,274 @@
+ 'AimeosInstaller',
+ 'asgard' => 'AsgardInstaller',
+ 'attogram' => 'AttogramInstaller',
+ 'agl' => 'AglInstaller',
+ 'annotatecms' => 'AnnotateCmsInstaller',
+ 'bitrix' => 'BitrixInstaller',
+ 'bonefish' => 'BonefishInstaller',
+ 'cakephp' => 'CakePHPInstaller',
+ 'chef' => 'ChefInstaller',
+ 'civicrm' => 'CiviCrmInstaller',
+ 'ccframework' => 'ClanCatsFrameworkInstaller',
+ 'cockpit' => 'CockpitInstaller',
+ 'codeigniter' => 'CodeIgniterInstaller',
+ 'concrete5' => 'Concrete5Installer',
+ 'craft' => 'CraftInstaller',
+ 'croogo' => 'CroogoInstaller',
+ 'dokuwiki' => 'DokuWikiInstaller',
+ 'dolibarr' => 'DolibarrInstaller',
+ 'decibel' => 'DecibelInstaller',
+ 'drupal' => 'DrupalInstaller',
+ 'elgg' => 'ElggInstaller',
+ 'eliasis' => 'EliasisInstaller',
+ 'ee3' => 'ExpressionEngineInstaller',
+ 'ee2' => 'ExpressionEngineInstaller',
+ 'ezplatform' => 'EzPlatformInstaller',
+ 'fuel' => 'FuelInstaller',
+ 'fuelphp' => 'FuelphpInstaller',
+ 'grav' => 'GravInstaller',
+ 'hurad' => 'HuradInstaller',
+ 'imagecms' => 'ImageCMSInstaller',
+ 'itop' => 'ItopInstaller',
+ 'joomla' => 'JoomlaInstaller',
+ 'kanboard' => 'KanboardInstaller',
+ 'kirby' => 'KirbyInstaller',
+ 'kodicms' => 'KodiCMSInstaller',
+ 'kohana' => 'KohanaInstaller',
+ 'lms' => 'LanManagementSystemInstaller',
+ 'laravel' => 'LaravelInstaller',
+ 'lavalite' => 'LavaLiteInstaller',
+ 'lithium' => 'LithiumInstaller',
+ 'magento' => 'MagentoInstaller',
+ 'majima' => 'MajimaInstaller',
+ 'mako' => 'MakoInstaller',
+ 'maya' => 'MayaInstaller',
+ 'mautic' => 'MauticInstaller',
+ 'mediawiki' => 'MediaWikiInstaller',
+ 'microweber' => 'MicroweberInstaller',
+ 'modulework' => 'MODULEWorkInstaller',
+ 'modx' => 'ModxInstaller',
+ 'modxevo' => 'MODXEvoInstaller',
+ 'moodle' => 'MoodleInstaller',
+ 'october' => 'OctoberInstaller',
+ 'ontowiki' => 'OntoWikiInstaller',
+ 'oxid' => 'OxidInstaller',
+ 'osclass' => 'OsclassInstaller',
+ 'pxcms' => 'PxcmsInstaller',
+ 'phpbb' => 'PhpBBInstaller',
+ 'pimcore' => 'PimcoreInstaller',
+ 'piwik' => 'PiwikInstaller',
+ 'plentymarkets'=> 'PlentymarketsInstaller',
+ 'ppi' => 'PPIInstaller',
+ 'puppet' => 'PuppetInstaller',
+ 'radphp' => 'RadPHPInstaller',
+ 'phifty' => 'PhiftyInstaller',
+ 'porto' => 'PortoInstaller',
+ 'redaxo' => 'RedaxoInstaller',
+ 'reindex' => 'ReIndexInstaller',
+ 'roundcube' => 'RoundcubeInstaller',
+ 'shopware' => 'ShopwareInstaller',
+ 'sitedirect' => 'SiteDirectInstaller',
+ 'silverstripe' => 'SilverStripeInstaller',
+ 'smf' => 'SMFInstaller',
+ 'sydes' => 'SyDESInstaller',
+ 'symfony1' => 'Symfony1Installer',
+ 'thelia' => 'TheliaInstaller',
+ 'tusk' => 'TuskInstaller',
+ 'typo3-cms' => 'TYPO3CmsInstaller',
+ 'typo3-flow' => 'TYPO3FlowInstaller',
+ 'userfrosting' => 'UserFrostingInstaller',
+ 'vanilla' => 'VanillaInstaller',
+ 'whmcs' => 'WHMCSInstaller',
+ 'wolfcms' => 'WolfCMSInstaller',
+ 'wordpress' => 'WordPressInstaller',
+ 'yawik' => 'YawikInstaller',
+ 'zend' => 'ZendInstaller',
+ 'zikula' => 'ZikulaInstaller',
+ 'prestashop' => 'PrestashopInstaller'
+ );
+
+ /**
+ * Installer constructor.
+ *
+ * Disables installers specified in main composer extra installer-disable
+ * list
+ *
+ * @param IOInterface $io
+ * @param Composer $composer
+ * @param string $type
+ * @param Filesystem|null $filesystem
+ * @param BinaryInstaller|null $binaryInstaller
+ */
+ public function __construct(
+ IOInterface $io,
+ Composer $composer,
+ $type = 'library',
+ Filesystem $filesystem = null,
+ BinaryInstaller $binaryInstaller = null
+ ) {
+ parent::__construct($io, $composer, $type, $filesystem,
+ $binaryInstaller);
+ $this->removeDisabledInstallers();
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public function getInstallPath(PackageInterface $package)
+ {
+ $type = $package->getType();
+ $frameworkType = $this->findFrameworkType($type);
+
+ if ($frameworkType === false) {
+ throw new \InvalidArgumentException(
+ 'Sorry the package type of this package is not yet supported.'
+ );
+ }
+
+ $class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
+ $installer = new $class($package, $this->composer, $this->getIO());
+
+ return $installer->getInstallPath($package, $frameworkType);
+ }
+
+ public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
+ {
+ parent::uninstall($repo, $package);
+ $installPath = $this->getPackageBasePath($package);
+ $this->io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? 'deleted' : 'not deleted'));
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public function supports($packageType)
+ {
+ $frameworkType = $this->findFrameworkType($packageType);
+
+ if ($frameworkType === false) {
+ return false;
+ }
+
+ $locationPattern = $this->getLocationPattern($frameworkType);
+
+ return preg_match('#' . $frameworkType . '-' . $locationPattern . '#', $packageType, $matches) === 1;
+ }
+
+ /**
+ * Finds a supported framework type if it exists and returns it
+ *
+ * @param string $type
+ * @return string
+ */
+ protected function findFrameworkType($type)
+ {
+ $frameworkType = false;
+
+ krsort($this->supportedTypes);
+
+ foreach ($this->supportedTypes as $key => $val) {
+ if ($key === substr($type, 0, strlen($key))) {
+ $frameworkType = substr($type, 0, strlen($key));
+ break;
+ }
+ }
+
+ return $frameworkType;
+ }
+
+ /**
+ * Get the second part of the regular expression to check for support of a
+ * package type
+ *
+ * @param string $frameworkType
+ * @return string
+ */
+ protected function getLocationPattern($frameworkType)
+ {
+ $pattern = false;
+ if (!empty($this->supportedTypes[$frameworkType])) {
+ $frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
+ /** @var BaseInstaller $framework */
+ $framework = new $frameworkClass(null, $this->composer, $this->getIO());
+ $locations = array_keys($framework->getLocations());
+ $pattern = $locations ? '(' . implode('|', $locations) . ')' : false;
+ }
+
+ return $pattern ? : '(\w+)';
+ }
+
+ /**
+ * Get I/O object
+ *
+ * @return IOInterface
+ */
+ private function getIO()
+ {
+ return $this->io;
+ }
+
+ /**
+ * Look for installers set to be disabled in composer's extra config and
+ * remove them from the list of supported installers.
+ *
+ * Globals:
+ * - true, "all", and "*" - disable all installers.
+ * - false - enable all installers (useful with
+ * wikimedia/composer-merge-plugin or similar)
+ *
+ * @return void
+ */
+ protected function removeDisabledInstallers()
+ {
+ $extra = $this->composer->getPackage()->getExtra();
+
+ if (!isset($extra['installer-disable']) || $extra['installer-disable'] === false) {
+ // No installers are disabled
+ return;
+ }
+
+ // Get installers to disable
+ $disable = $extra['installer-disable'];
+
+ // Ensure $disabled is an array
+ if (!is_array($disable)) {
+ $disable = array($disable);
+ }
+
+ // Check which installers should be disabled
+ $all = array(true, "all", "*");
+ $intersect = array_intersect($all, $disable);
+ if (!empty($intersect)) {
+ // Disable all installers
+ $this->supportedTypes = array();
+ } else {
+ // Disable specified installers
+ foreach ($disable as $key => $installer) {
+ if (is_string($installer) && key_exists($installer, $this->supportedTypes)) {
+ unset($this->supportedTypes[$installer]);
+ }
+ }
+ }
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php
new file mode 100644
index 0000000..c6c1b33
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php
@@ -0,0 +1,9 @@
+ 'extensions/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php
new file mode 100644
index 0000000..9ee7759
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php
@@ -0,0 +1,15 @@
+ 'components/{$name}/',
+ 'module' => 'modules/{$name}/',
+ 'template' => 'templates/{$name}/',
+ 'plugin' => 'plugins/{$name}/',
+ 'library' => 'libraries/{$name}/',
+ );
+
+ // TODO: Add inflector for mod_ and com_ names
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php
new file mode 100644
index 0000000..9cb7b8c
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php
@@ -0,0 +1,18 @@
+ 'plugins/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php
new file mode 100644
index 0000000..36b2f84
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php
@@ -0,0 +1,11 @@
+ 'site/plugins/{$name}/',
+ 'field' => 'site/fields/{$name}/',
+ 'tag' => 'site/tags/{$name}/'
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php
new file mode 100644
index 0000000..7143e23
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php
@@ -0,0 +1,10 @@
+ 'cms/plugins/{$name}/',
+ 'media' => 'cms/media/vendor/{$name}/'
+ );
+}
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php
new file mode 100644
index 0000000..dcd6d26
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php
@@ -0,0 +1,9 @@
+ 'modules/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php
new file mode 100644
index 0000000..903143a
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php
@@ -0,0 +1,27 @@
+ 'plugins/{$name}/',
+ 'template' => 'templates/{$name}/',
+ 'document-template' => 'documents/templates/{$name}/',
+ 'userpanel-module' => 'userpanel/modules/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars($vars)
+ {
+ $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php
new file mode 100644
index 0000000..be4d53a
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php
@@ -0,0 +1,9 @@
+ 'libraries/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php
new file mode 100644
index 0000000..412c0b5
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php
@@ -0,0 +1,10 @@
+ 'packages/{$vendor}/{$name}/',
+ 'theme' => 'public/themes/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php
new file mode 100644
index 0000000..47bbd4c
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php
@@ -0,0 +1,10 @@
+ 'libraries/{$name}/',
+ 'source' => 'libraries/_source/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php
new file mode 100644
index 0000000..9c2e9fb
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php
@@ -0,0 +1,9 @@
+ 'modules/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php
new file mode 100644
index 0000000..5a66460
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php
@@ -0,0 +1,16 @@
+ 'assets/snippets/{$name}/',
+ 'plugin' => 'assets/plugins/{$name}/',
+ 'module' => 'assets/modules/{$name}/',
+ 'template' => 'assets/templates/{$name}/',
+ 'lib' => 'assets/lib/{$name}/'
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php
new file mode 100644
index 0000000..cf18e94
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php
@@ -0,0 +1,11 @@
+ 'app/design/frontend/{$name}/',
+ 'skin' => 'skin/frontend/default/{$name}/',
+ 'library' => 'lib/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php
new file mode 100644
index 0000000..e463756
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php
@@ -0,0 +1,37 @@
+ 'plugins/{$name}/',
+ );
+
+ /**
+ * Transforms the names
+ * @param array $vars
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ return $this->correctPluginName($vars);
+ }
+
+ /**
+ * Change hyphenated names to camelcase
+ * @param array $vars
+ * @return array
+ */
+ private function correctPluginName($vars)
+ {
+ $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
+ return strtoupper($matches[0][1]);
+ }, $vars['name']);
+ $vars['name'] = ucfirst($camelCasedName);
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php
new file mode 100644
index 0000000..ca3cfac
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php
@@ -0,0 +1,9 @@
+ 'app/packages/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php
new file mode 100644
index 0000000..3e1ce2b
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php
@@ -0,0 +1,25 @@
+ 'plugins/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+
+ /**
+ * Format package name of mautic-plugins to CamelCase
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($vars['type'] == 'mautic-plugin') {
+ $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
+ return strtoupper($matches[0][1]);
+ }, ucfirst($vars['name']));
+ }
+
+ return $vars;
+ }
+
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php
new file mode 100644
index 0000000..30a9167
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php
@@ -0,0 +1,33 @@
+ 'modules/{$name}/',
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type maya-module, cut off a trailing '-module' if present.
+ *
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($vars['type'] === 'maya-module') {
+ return $this->inflectModuleVars($vars);
+ }
+
+ return $vars;
+ }
+
+ protected function inflectModuleVars($vars)
+ {
+ $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php
new file mode 100644
index 0000000..f5a8957
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php
@@ -0,0 +1,51 @@
+ 'core/',
+ 'extension' => 'extensions/{$name}/',
+ 'skin' => 'skins/{$name}/',
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type mediawiki-extension, cut off a trailing '-extension' if present and transform
+ * to CamelCase keeping existing uppercase chars.
+ *
+ * For package type mediawiki-skin, cut off a trailing '-skin' if present.
+ *
+ */
+ public function inflectPackageVars($vars)
+ {
+
+ if ($vars['type'] === 'mediawiki-extension') {
+ return $this->inflectExtensionVars($vars);
+ }
+
+ if ($vars['type'] === 'mediawiki-skin') {
+ return $this->inflectSkinVars($vars);
+ }
+
+ return $vars;
+ }
+
+ protected function inflectExtensionVars($vars)
+ {
+ $vars['name'] = preg_replace('/-extension$/', '', $vars['name']);
+ $vars['name'] = str_replace('-', ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+
+ protected function inflectSkinVars($vars)
+ {
+ $vars['name'] = preg_replace('/-skin$/', '', $vars['name']);
+
+ return $vars;
+ }
+
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php
new file mode 100644
index 0000000..4bbbec8
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php
@@ -0,0 +1,111 @@
+ 'userfiles/modules/{$name}/',
+ 'module-skin' => 'userfiles/modules/{$name}/templates/',
+ 'template' => 'userfiles/templates/{$name}/',
+ 'element' => 'userfiles/elements/{$name}/',
+ 'vendor' => 'vendor/{$name}/',
+ 'components' => 'components/{$name}/'
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type microweber-module, cut off a trailing '-module' if present
+ *
+ * For package type microweber-template, cut off a trailing '-template' if present.
+ *
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($vars['type'] === 'microweber-template') {
+ return $this->inflectTemplateVars($vars);
+ }
+ if ($vars['type'] === 'microweber-templates') {
+ return $this->inflectTemplatesVars($vars);
+ }
+ if ($vars['type'] === 'microweber-core') {
+ return $this->inflectCoreVars($vars);
+ }
+ if ($vars['type'] === 'microweber-adapter') {
+ return $this->inflectCoreVars($vars);
+ }
+ if ($vars['type'] === 'microweber-module') {
+ return $this->inflectModuleVars($vars);
+ }
+ if ($vars['type'] === 'microweber-modules') {
+ return $this->inflectModulesVars($vars);
+ }
+ if ($vars['type'] === 'microweber-skin') {
+ return $this->inflectSkinVars($vars);
+ }
+ if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') {
+ return $this->inflectElementVars($vars);
+ }
+
+ return $vars;
+ }
+
+ protected function inflectTemplateVars($vars)
+ {
+ $vars['name'] = preg_replace('/-template$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/template-$/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ protected function inflectTemplatesVars($vars)
+ {
+ $vars['name'] = preg_replace('/-templates$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/templates-$/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ protected function inflectCoreVars($vars)
+ {
+ $vars['name'] = preg_replace('/-providers$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/-provider$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/-adapter$/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ protected function inflectModuleVars($vars)
+ {
+ $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/module-$/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ protected function inflectModulesVars($vars)
+ {
+ $vars['name'] = preg_replace('/-modules$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/modules-$/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ protected function inflectSkinVars($vars)
+ {
+ $vars['name'] = preg_replace('/-skin$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/skin-$/', '', $vars['name']);
+
+ return $vars;
+ }
+
+ protected function inflectElementVars($vars)
+ {
+ $vars['name'] = preg_replace('/-elements$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/elements-$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/-element$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/element-$/', '', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php
new file mode 100644
index 0000000..0ee140a
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php
@@ -0,0 +1,12 @@
+ 'core/packages/{$name}/'
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
new file mode 100644
index 0000000..a89c82f
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
@@ -0,0 +1,57 @@
+ 'mod/{$name}/',
+ 'admin_report' => 'admin/report/{$name}/',
+ 'atto' => 'lib/editor/atto/plugins/{$name}/',
+ 'tool' => 'admin/tool/{$name}/',
+ 'assignment' => 'mod/assignment/type/{$name}/',
+ 'assignsubmission' => 'mod/assign/submission/{$name}/',
+ 'assignfeedback' => 'mod/assign/feedback/{$name}/',
+ 'auth' => 'auth/{$name}/',
+ 'availability' => 'availability/condition/{$name}/',
+ 'block' => 'blocks/{$name}/',
+ 'booktool' => 'mod/book/tool/{$name}/',
+ 'cachestore' => 'cache/stores/{$name}/',
+ 'cachelock' => 'cache/locks/{$name}/',
+ 'calendartype' => 'calendar/type/{$name}/',
+ 'format' => 'course/format/{$name}/',
+ 'coursereport' => 'course/report/{$name}/',
+ 'datafield' => 'mod/data/field/{$name}/',
+ 'datapreset' => 'mod/data/preset/{$name}/',
+ 'editor' => 'lib/editor/{$name}/',
+ 'enrol' => 'enrol/{$name}/',
+ 'filter' => 'filter/{$name}/',
+ 'gradeexport' => 'grade/export/{$name}/',
+ 'gradeimport' => 'grade/import/{$name}/',
+ 'gradereport' => 'grade/report/{$name}/',
+ 'gradingform' => 'grade/grading/form/{$name}/',
+ 'local' => 'local/{$name}/',
+ 'logstore' => 'admin/tool/log/store/{$name}/',
+ 'ltisource' => 'mod/lti/source/{$name}/',
+ 'ltiservice' => 'mod/lti/service/{$name}/',
+ 'message' => 'message/output/{$name}/',
+ 'mnetservice' => 'mnet/service/{$name}/',
+ 'plagiarism' => 'plagiarism/{$name}/',
+ 'portfolio' => 'portfolio/{$name}/',
+ 'qbehaviour' => 'question/behaviour/{$name}/',
+ 'qformat' => 'question/format/{$name}/',
+ 'qtype' => 'question/type/{$name}/',
+ 'quizaccess' => 'mod/quiz/accessrule/{$name}/',
+ 'quiz' => 'mod/quiz/report/{$name}/',
+ 'report' => 'report/{$name}/',
+ 'repository' => 'repository/{$name}/',
+ 'scormreport' => 'mod/scorm/report/{$name}/',
+ 'search' => 'search/engine/{$name}/',
+ 'theme' => 'theme/{$name}/',
+ 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/',
+ 'profilefield' => 'user/profile/field/{$name}/',
+ 'webservice' => 'webservice/{$name}/',
+ 'workshopallocation' => 'mod/workshop/allocation/{$name}/',
+ 'workshopeval' => 'mod/workshop/eval/{$name}/',
+ 'workshopform' => 'mod/workshop/form/{$name}/'
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
new file mode 100644
index 0000000..08d5dc4
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
@@ -0,0 +1,47 @@
+ 'modules/{$name}/',
+ 'plugin' => 'plugins/{$vendor}/{$name}/',
+ 'theme' => 'themes/{$name}/'
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type october-plugin, cut off a trailing '-plugin' if present.
+ *
+ * For package type october-theme, cut off a trailing '-theme' if present.
+ *
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($vars['type'] === 'october-plugin') {
+ return $this->inflectPluginVars($vars);
+ }
+
+ if ($vars['type'] === 'october-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ protected function inflectPluginVars($vars)
+ {
+ $vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']);
+ $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']);
+
+ return $vars;
+ }
+
+ protected function inflectThemeVars($vars)
+ {
+ $vars['name'] = preg_replace('/^oc-|-theme$/', '', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php
new file mode 100644
index 0000000..5dd3438
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php
@@ -0,0 +1,24 @@
+ 'extensions/{$name}/',
+ 'theme' => 'extensions/themes/{$name}/',
+ 'translation' => 'extensions/translations/{$name}/',
+ );
+
+ /**
+ * Format package name to lower case and remove ".ontowiki" suffix
+ */
+ public function inflectPackageVars($vars)
+ {
+ $vars['name'] = strtolower($vars['name']);
+ $vars['name'] = preg_replace('/.ontowiki$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
+ $vars['name'] = preg_replace('/-translation$/', '', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php
new file mode 100644
index 0000000..3ca7954
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php
@@ -0,0 +1,14 @@
+ 'oc-content/plugins/{$name}/',
+ 'theme' => 'oc-content/themes/{$name}/',
+ 'language' => 'oc-content/languages/{$name}/',
+ );
+
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php
new file mode 100644
index 0000000..49940ff
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php
@@ -0,0 +1,59 @@
+.+)\/.+/';
+
+ protected $locations = array(
+ 'module' => 'modules/{$name}/',
+ 'theme' => 'application/views/{$name}/',
+ 'out' => 'out/{$name}/',
+ );
+
+ /**
+ * getInstallPath
+ *
+ * @param PackageInterface $package
+ * @param string $frameworkType
+ * @return void
+ */
+ public function getInstallPath(PackageInterface $package, $frameworkType = '')
+ {
+ $installPath = parent::getInstallPath($package, $frameworkType);
+ $type = $this->package->getType();
+ if ($type === 'oxid-module') {
+ $this->prepareVendorDirectory($installPath);
+ }
+ return $installPath;
+ }
+
+ /**
+ * prepareVendorDirectory
+ *
+ * Makes sure there is a vendormetadata.php file inside
+ * the vendor folder if there is a vendor folder.
+ *
+ * @param string $installPath
+ * @return void
+ */
+ protected function prepareVendorDirectory($installPath)
+ {
+ $matches = '';
+ $hasVendorDirectory = preg_match(self::VENDOR_PATTERN, $installPath, $matches);
+ if (!$hasVendorDirectory) {
+ return;
+ }
+
+ $vendorDirectory = $matches['vendor'];
+ $vendorPath = getcwd() . '/modules/' . $vendorDirectory;
+ if (!file_exists($vendorPath)) {
+ mkdir($vendorPath, 0755, true);
+ }
+
+ $vendorMetaDataPath = $vendorPath . '/vendormetadata.php';
+ touch($vendorMetaDataPath);
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php
new file mode 100644
index 0000000..170136f
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php
@@ -0,0 +1,9 @@
+ 'modules/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php
new file mode 100644
index 0000000..4e59a8a
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php
@@ -0,0 +1,11 @@
+ 'bundles/{$name}/',
+ 'library' => 'libraries/{$name}/',
+ 'framework' => 'frameworks/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php
new file mode 100644
index 0000000..deb2b77
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php
@@ -0,0 +1,11 @@
+ 'ext/{$vendor}/{$name}/',
+ 'language' => 'language/{$name}/',
+ 'style' => 'styles/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php
new file mode 100644
index 0000000..4781fa6
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php
@@ -0,0 +1,21 @@
+ 'plugins/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars($vars)
+ {
+ $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php
new file mode 100644
index 0000000..c17f457
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php
@@ -0,0 +1,32 @@
+ 'plugins/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ * @param array $vars
+ *
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php
new file mode 100644
index 0000000..903e55f
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php
@@ -0,0 +1,29 @@
+ '{$name}/'
+ );
+
+ /**
+ * Remove hyphen, "plugin" and format to camelcase
+ * @param array $vars
+ *
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ $vars['name'] = explode("-", $vars['name']);
+ foreach ($vars['name'] as $key => $name) {
+ $vars['name'][$key] = ucfirst($vars['name'][$key]);
+ if (strcasecmp($name, "Plugin") == 0) {
+ unset($vars['name'][$key]);
+ }
+ }
+ $vars['name'] = implode("",$vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Plugin.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Plugin.php
new file mode 100644
index 0000000..5eb04af
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Plugin.php
@@ -0,0 +1,17 @@
+getInstallationManager()->addInstaller($installer);
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php
new file mode 100644
index 0000000..dbf85e6
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php
@@ -0,0 +1,9 @@
+ 'app/Containers/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php
new file mode 100644
index 0000000..4c8421e
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php
@@ -0,0 +1,10 @@
+ 'modules/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php
new file mode 100644
index 0000000..77cc3dd
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php
@@ -0,0 +1,11 @@
+ 'modules/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php
new file mode 100644
index 0000000..6551058
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php
@@ -0,0 +1,63 @@
+ 'app/Modules/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+
+ /**
+ * Format package name.
+ *
+ * @param array $vars
+ *
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($vars['type'] === 'pxcms-module') {
+ return $this->inflectModuleVars($vars);
+ }
+
+ if ($vars['type'] === 'pxcms-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ /**
+ * For package type pxcms-module, cut off a trailing '-plugin' if present.
+ *
+ * return string
+ */
+ protected function inflectModuleVars($vars)
+ {
+ $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
+ $vars['name'] = str_replace('module-', '', $vars['name']); // strip out module-
+ $vars['name'] = preg_replace('/-module$/', '', $vars['name']); // strip out -module
+ $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
+ $vars['name'] = ucwords($vars['name']); // make module name camelcased
+
+ return $vars;
+ }
+
+
+ /**
+ * For package type pxcms-module, cut off a trailing '-plugin' if present.
+ *
+ * return string
+ */
+ protected function inflectThemeVars($vars)
+ {
+ $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
+ $vars['name'] = str_replace('theme-', '', $vars['name']); // strip out theme-
+ $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); // strip out -theme
+ $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
+ $vars['name'] = ucwords($vars['name']); // make module name camelcased
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php
new file mode 100644
index 0000000..0f78b5c
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php
@@ -0,0 +1,24 @@
+ 'src/{$name}/'
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars($vars)
+ {
+ $nameParts = explode('/', $vars['name']);
+ foreach ($nameParts as &$value) {
+ $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
+ $value = str_replace(array('-', '_'), ' ', $value);
+ $value = str_replace(' ', '', ucwords($value));
+ }
+ $vars['name'] = implode('/', $nameParts);
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php
new file mode 100644
index 0000000..252c733
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php
@@ -0,0 +1,10 @@
+ 'themes/{$name}/',
+ 'plugin' => 'plugins/{$name}/'
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php
new file mode 100644
index 0000000..0954457
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php
@@ -0,0 +1,10 @@
+ 'redaxo/include/addons/{$name}/',
+ 'bestyle-plugin' => 'redaxo/include/addons/be_style/plugins/{$name}/'
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
new file mode 100644
index 0000000..d8d795b
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
@@ -0,0 +1,22 @@
+ 'plugins/{$name}/',
+ );
+
+ /**
+ * Lowercase name and changes the name to a underscores
+ *
+ * @param array $vars
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ $vars['name'] = strtolower(str_replace('-', '_', $vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php
new file mode 100644
index 0000000..1acd3b1
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php
@@ -0,0 +1,10 @@
+ 'Sources/{$name}/',
+ 'theme' => 'Themes/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
new file mode 100644
index 0000000..7d20d27
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
@@ -0,0 +1,60 @@
+ 'engine/Shopware/Plugins/Local/Backend/{$name}/',
+ 'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/',
+ 'frontend-plugin' => 'engine/Shopware/Plugins/Local/Frontend/{$name}/',
+ 'theme' => 'templates/{$name}/',
+ 'plugin' => 'custom/plugins/{$name}/',
+ 'frontend-theme' => 'themes/Frontend/{$name}/',
+ );
+
+ /**
+ * Transforms the names
+ * @param array $vars
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($vars['type'] === 'shopware-theme') {
+ return $this->correctThemeName($vars);
+ }
+
+ return $this->correctPluginName($vars);
+ }
+
+ /**
+ * Changes the name to a camelcased combination of vendor and name
+ * @param array $vars
+ * @return array
+ */
+ private function correctPluginName($vars)
+ {
+ $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
+ return strtoupper($matches[0][1]);
+ }, $vars['name']);
+
+ $vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName);
+
+ return $vars;
+ }
+
+ /**
+ * Changes the name to a underscore separated name
+ * @param array $vars
+ * @return array
+ */
+ private function correctThemeName($vars)
+ {
+ $vars['name'] = str_replace('-', '_', $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
new file mode 100644
index 0000000..81910e9
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
@@ -0,0 +1,35 @@
+ '{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+
+ /**
+ * Return the install path based on package type.
+ *
+ * Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework
+ * must be installed to 'sapphire' and not 'framework' if the version is <3.0.0
+ *
+ * @param PackageInterface $package
+ * @param string $frameworkType
+ * @return string
+ */
+ public function getInstallPath(PackageInterface $package, $frameworkType = '')
+ {
+ if (
+ $package->getName() == 'silverstripe/framework'
+ && preg_match('/^\d+\.\d+\.\d+/', $package->getVersion())
+ && version_compare($package->getVersion(), '2.999.999') < 0
+ ) {
+ return $this->templatePath($this->locations['module'], array('name' => 'sapphire'));
+ }
+
+ return parent::getInstallPath($package, $frameworkType);
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php
new file mode 100644
index 0000000..762d94c
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php
@@ -0,0 +1,25 @@
+ 'modules/{$vendor}/{$name}/',
+ 'plugin' => 'plugins/{$vendor}/{$name}/'
+ );
+
+ public function inflectPackageVars($vars)
+ {
+ return $this->parseVars($vars);
+ }
+
+ protected function parseVars($vars)
+ {
+ $vars['vendor'] = strtolower($vars['vendor']) == 'sitedirect' ? 'SiteDirect' : $vars['vendor'];
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php
new file mode 100644
index 0000000..83ef9d0
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php
@@ -0,0 +1,49 @@
+ 'app/modules/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+
+ /**
+ * Format module name.
+ *
+ * Strip `sydes-` prefix and a trailing '-theme' or '-module' from package name if present.
+ *
+ * @param array @vars
+ *
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($vars['type'] == 'sydes-module') {
+ return $this->inflectModuleVars($vars);
+ }
+
+ if ($vars['type'] === 'sydes-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ public function inflectModuleVars($vars)
+ {
+ $vars['name'] = preg_replace('/(^sydes-|-module$)/i', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+
+ protected function inflectThemeVars($vars)
+ {
+ $vars['name'] = preg_replace('/(^sydes-|-theme$)/', '', $vars['name']);
+ $vars['name'] = strtolower($vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php
new file mode 100644
index 0000000..1675c4f
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php
@@ -0,0 +1,26 @@
+
+ */
+class Symfony1Installer extends BaseInstaller
+{
+ protected $locations = array(
+ 'plugin' => 'plugins/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ */
+ public function inflectPackageVars($vars)
+ {
+ $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
+ return strtoupper($matches[0][1]);
+ }, $vars['name']);
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php
new file mode 100644
index 0000000..b1663e8
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php
@@ -0,0 +1,16 @@
+
+ */
+class TYPO3CmsInstaller extends BaseInstaller
+{
+ protected $locations = array(
+ 'extension' => 'typo3conf/ext/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php
new file mode 100644
index 0000000..42572f4
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php
@@ -0,0 +1,38 @@
+ 'Packages/Application/{$name}/',
+ 'framework' => 'Packages/Framework/{$name}/',
+ 'plugin' => 'Packages/Plugins/{$name}/',
+ 'site' => 'Packages/Sites/{$name}/',
+ 'boilerplate' => 'Packages/Boilerplates/{$name}/',
+ 'build' => 'Build/{$name}/',
+ );
+
+ /**
+ * Modify the package name to be a TYPO3 Flow style key.
+ *
+ * @param array $vars
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ $autoload = $this->package->getAutoload();
+ if (isset($autoload['psr-0']) && is_array($autoload['psr-0'])) {
+ $namespace = key($autoload['psr-0']);
+ $vars['name'] = str_replace('\\', '.', $namespace);
+ }
+ if (isset($autoload['psr-4']) && is_array($autoload['psr-4'])) {
+ $namespace = key($autoload['psr-4']);
+ $vars['name'] = rtrim(str_replace('\\', '.', $namespace), '.');
+ }
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php
new file mode 100644
index 0000000..158af52
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php
@@ -0,0 +1,12 @@
+ 'local/modules/{$name}/',
+ 'frontoffice-template' => 'templates/frontOffice/{$name}/',
+ 'backoffice-template' => 'templates/backOffice/{$name}/',
+ 'email-template' => 'templates/email/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php
new file mode 100644
index 0000000..7c0113b
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php
@@ -0,0 +1,14 @@
+
+ */
+ class TuskInstaller extends BaseInstaller
+ {
+ protected $locations = array(
+ 'task' => '.tusk/tasks/{$name}/',
+ 'command' => '.tusk/commands/{$name}/',
+ 'asset' => 'assets/tusk/{$name}/',
+ );
+ }
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php
new file mode 100644
index 0000000..fcb414a
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php
@@ -0,0 +1,9 @@
+ 'app/sprinkles/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php
new file mode 100644
index 0000000..24ca645
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php
@@ -0,0 +1,10 @@
+ 'plugins/{$name}/',
+ 'theme' => 'themes/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php
new file mode 100644
index 0000000..7d90c5e
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php
@@ -0,0 +1,49 @@
+ 'src/{$vendor}/{$name}/',
+ 'theme' => 'themes/{$name}/'
+ );
+
+ /**
+ * Format package name.
+ *
+ * For package type vgmcp-bundle, cut off a trailing '-bundle' if present.
+ *
+ * For package type vgmcp-theme, cut off a trailing '-theme' if present.
+ *
+ */
+ public function inflectPackageVars($vars)
+ {
+ if ($vars['type'] === 'vgmcp-bundle') {
+ return $this->inflectPluginVars($vars);
+ }
+
+ if ($vars['type'] === 'vgmcp-theme') {
+ return $this->inflectThemeVars($vars);
+ }
+
+ return $vars;
+ }
+
+ protected function inflectPluginVars($vars)
+ {
+ $vars['name'] = preg_replace('/-bundle$/', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+
+ protected function inflectThemeVars($vars)
+ {
+ $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php
new file mode 100644
index 0000000..2cbb4a4
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php
@@ -0,0 +1,10 @@
+ 'modules/gateways/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php
new file mode 100644
index 0000000..cb38788
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php
@@ -0,0 +1,9 @@
+ 'wolf/plugins/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
new file mode 100644
index 0000000..91c46ad
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
@@ -0,0 +1,12 @@
+ 'wp-content/plugins/{$name}/',
+ 'theme' => 'wp-content/themes/{$name}/',
+ 'muplugin' => 'wp-content/mu-plugins/{$name}/',
+ 'dropin' => 'wp-content/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php
new file mode 100644
index 0000000..27f429f
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php
@@ -0,0 +1,32 @@
+ 'module/{$name}/',
+ );
+
+ /**
+ * Format package name to CamelCase
+ * @param array $vars
+ *
+ * @return array
+ */
+ public function inflectPackageVars($vars)
+ {
+ $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
+
+ return $vars;
+ }
+}
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php
new file mode 100644
index 0000000..bde9bc8
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php
@@ -0,0 +1,11 @@
+ 'library/{$name}/',
+ 'extra' => 'extras/library/{$name}/',
+ 'module' => 'module/{$name}/',
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php
new file mode 100644
index 0000000..56cdf5d
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php
@@ -0,0 +1,10 @@
+ 'modules/{$vendor}-{$name}/',
+ 'theme' => 'themes/{$vendor}-{$name}/'
+ );
+}
diff --git a/server/plugins/rainlab/builder/vendor/composer/installers/src/bootstrap.php b/server/plugins/rainlab/builder/vendor/composer/installers/src/bootstrap.php
new file mode 100644
index 0000000..0de276e
--- /dev/null
+++ b/server/plugins/rainlab/builder/vendor/composer/installers/src/bootstrap.php
@@ -0,0 +1,13 @@
+alias = $alias;
+
+ parent::__construct($controller, []);
+ $this->bindToController();
+ }
+
+ /**
+ * Renders the widget.
+ * @return string
+ */
+ public function render()
+ {
+ return $this->makePartial('body', $this->getRenderData());
+ }
+
+ public function updateList()
+ {
+ return ['#'.$this->getId('plugin-controller-list') => $this->makePartial('items', $this->getRenderData())];
+ }
+
+ public function refreshActivePlugin()
+ {
+ return ['#'.$this->getId('body') => $this->makePartial('widget-contents', $this->getRenderData())];
+ }
+
+ /*
+ * Event handlers
+ */
+
+ public function onUpdate()
+ {
+ return $this->updateList();
+ }
+
+ public function onSearch()
+ {
+ $this->setSearchTerm(Input::get('search'));
+ return $this->updateList();
+ }
+
+ /*
+ * Methods for the internal use
+ */
+
+ protected function getControllerList($pluginCode)
+ {
+ $result = ControllerModel::listPluginControllers($pluginCode);
+
+ return $result;
+ }
+
+ protected function getRenderData()
+ {
+ $activePluginVector = $this->controller->getBuilderActivePluginVector();
+ if (!$activePluginVector) {
+ return [
+ 'pluginVector'=>null,
+ 'items' => []
+ ];
+ }
+
+ $items = $this->getControllerList($activePluginVector->pluginCodeObj);
+
+ $searchTerm = Str::lower($this->getSearchTerm());
+ if (strlen($searchTerm)) {
+ $words = explode(' ', $searchTerm);
+ $result = [];
+
+ foreach ($items as $controller) {
+ if ($this->textMatchesSearch($words, $controller)) {
+ $result[] = $controller;
+ }
+ }
+
+ $items = $result;
+ }
+
+ return [
+ 'pluginVector'=>$activePluginVector,
+ 'items'=>$items
+ ];
+ }
+}
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/DatabaseTableList.php b/server/plugins/rainlab/builder/widgets/DatabaseTableList.php
new file mode 100644
index 0000000..4c1c482
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/DatabaseTableList.php
@@ -0,0 +1,118 @@
+alias = $alias;
+
+ parent::__construct($controller, []);
+ $this->bindToController();
+ }
+
+ /**
+ * Renders the widget.
+ * @return string
+ */
+ public function render()
+ {
+ return $this->makePartial('body', $this->getRenderData());
+ }
+
+ public function updateList()
+ {
+ return ['#'.$this->getId('database-table-list') => $this->makePartial('items', $this->getRenderData())];
+ }
+
+ public function refreshActivePlugin()
+ {
+ return ['#'.$this->getId('body') => $this->makePartial('widget-contents', $this->getRenderData())];
+ }
+
+ /*
+ * Event handlers
+ */
+
+ public function onUpdate()
+ {
+ return $this->updateList();
+ }
+
+ public function onSearch()
+ {
+ $this->setSearchTerm(Input::get('search'));
+ return $this->updateList();
+ }
+
+ /*
+ * Methods for the internal use
+ */
+
+ protected function getData($pluginVector)
+ {
+ if (!$pluginVector) {
+ return [];
+ }
+
+ $pluginCode = $pluginVector->pluginCodeObj->toCode();
+
+ if (!$pluginCode) {
+ return [];
+ }
+
+ $tables = $this->getTableList($pluginCode);
+ $searchTerm = Str::lower($this->getSearchTerm());
+
+ // Apply the search
+ //
+ if (strlen($searchTerm)) {
+ $words = explode(' ', $searchTerm);
+ $result = [];
+
+ foreach ($tables as $table) {
+ if ($this->textMatchesSearch($words, $table)) {
+ $result[] = $table;
+ }
+ }
+
+ $tables = $result;
+ }
+
+ return $tables;
+ }
+
+ protected function getTableList($pluginCode)
+ {
+ $result = DatabaseTableModel::listPluginTables($pluginCode);
+
+ return $result;
+ }
+
+ protected function getRenderData()
+ {
+ $activePluginVector = $this->controller->getBuilderActivePluginVector();
+
+ return [
+ 'pluginVector'=>$activePluginVector,
+ 'items'=>$this->getData($activePluginVector)
+ ];
+ }
+}
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/DefaultBehaviorDesignTimeProvider.php b/server/plugins/rainlab/builder/widgets/DefaultBehaviorDesignTimeProvider.php
new file mode 100644
index 0000000..2f0a538
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/DefaultBehaviorDesignTimeProvider.php
@@ -0,0 +1,196 @@
+ 'form-controller',
+ 'Backend\Behaviors\ListController' => 'list-controller',
+ 'Backend\Behaviors\ReorderController' => 'reorder-controller'
+ ];
+
+ /**
+ * Renders behaivor body.
+ * @param string $class Specifies the behavior class to render.
+ * @param array $properties Behavior property values.
+ * @param \RainLab\Builder\FormWidgets\ControllerBuilder $controllerBuilder ControllerBuilder widget instance.
+ * @return string Returns HTML markup string.
+ */
+ public function renderBehaviorBody($class, $properties, $controllerBuilder)
+ {
+ if (!array_key_exists($class, $this->defaultBehaviorClasses)) {
+ return $this->renderUnknownBehavior($class, $properties);
+ }
+
+ $partial = $this->defaultBehaviorClasses[$class];
+
+ return $this->makePartial('behavior-'.$partial, [
+ 'properties'=>$properties,
+ 'controllerBuilder' => $controllerBuilder
+ ]);
+ }
+
+ /**
+ * Returns default behavior configuration as an array.
+ * @param string $class Specifies the behavior class name.
+ * @param string $controllerModel Controller model.
+ * @param mixed $controllerGenerator Controller generator object.
+ * @return array Returns the behavior configuration array.
+ */
+ public function getDefaultConfiguration($class, $controllerModel, $controllerGenerator)
+ {
+ if (!array_key_exists($class, $this->defaultBehaviorClasses)) {
+ throw new SystemException('Unknown behavior class: '.$class);
+ }
+
+ switch ($class) {
+ case 'Backend\Behaviors\FormController' :
+ return $this->getFormControllerDefaultConfiguration($controllerModel, $controllerGenerator);
+ case 'Backend\Behaviors\ListController' :
+ return $this->getListControllerDefaultConfiguration($controllerModel, $controllerGenerator);
+ case 'Backend\Behaviors\ReorderController' :
+ return $this->getReorderControllerDefaultConfiguration($controllerModel, $controllerGenerator);
+ }
+ }
+
+ protected function renderUnknownControl($class, $properties)
+ {
+ return $this->makePartial('behavior-unknown', [
+ 'properties'=>$properties,
+ 'class'=>$class
+ ]);
+ }
+
+ protected function getFormControllerDefaultConfiguration($controllerModel, $controllerGenerator)
+ {
+ if (!$controllerModel->baseModelClassName) {
+ throw new ApplicationException(Lang::get('rainlab.builder::lang.controller.error_behavior_requires_base_model', [
+ 'behavior' => 'Form Controller'
+ ]));
+ }
+
+ $pluginCodeObj = $controllerModel->getPluginCodeObj();
+
+ $forms = ModelFormModel::listModelFiles($pluginCodeObj, $controllerModel->baseModelClassName);
+ if (!$forms) {
+ throw new ApplicationException(Lang::get('rainlab.builder::lang.controller.error_model_doesnt_have_forms'));
+ }
+
+ $controllerUrl = $this->getControllerlUrl($pluginCodeObj, $controllerModel->controller);
+
+ $result = [
+ 'name' => $controllerModel->controller,
+ 'form' => $this->getModelFilePath($pluginCodeObj, $controllerModel->baseModelClassName, $forms[0]),
+ 'modelClass' => $this->getFullModelClass($pluginCodeObj, $controllerModel->baseModelClassName),
+ 'defaultRedirect' => $controllerUrl,
+ 'create' => [
+ 'redirect' => $controllerUrl.'/update/:id',
+ 'redirectClose' => $controllerUrl
+ ],
+ 'update' => [
+ 'redirect' => $controllerUrl,
+ 'redirectClose' => $controllerUrl
+ ]
+ ];
+
+ return $result;
+ }
+
+ protected function getListControllerDefaultConfiguration($controllerModel, $controllerGenerator)
+ {
+ if (!$controllerModel->baseModelClassName) {
+ throw new ApplicationException(Lang::get('rainlab.builder::lang.controller.error_behavior_requires_base_model', [
+ 'behavior' => 'List Controller'
+ ]));
+ }
+
+ $pluginCodeObj = $controllerModel->getPluginCodeObj();
+
+ $lists = ModelListModel::listModelFiles($pluginCodeObj, $controllerModel->baseModelClassName);
+ if (!$lists) {
+ throw new ApplicationException(Lang::get('rainlab.builder::lang.controller.error_model_doesnt_have_lists'));
+ }
+
+ $result = [
+ 'list' => $this->getModelFilePath($pluginCodeObj, $controllerModel->baseModelClassName, $lists[0]),
+ 'modelClass' => $this->getFullModelClass($pluginCodeObj, $controllerModel->baseModelClassName),
+ 'title' => $controllerModel->controller,
+ 'noRecordsMessage' => 'backend::lang.list.no_records',
+ 'showSetup' => true,
+ 'showCheckboxes' => true,
+ 'recordsPerPage' => 20,
+ 'toolbar' => [
+ 'buttons' => 'list_toolbar',
+ 'search' => [
+ 'prompt' => 'backend::lang.list.search_prompt'
+ ]
+ ]
+ ];
+
+ if (in_array('Backend\Behaviors\FormController', $controllerModel->behaviors)) {
+ $updateUrl = $this->getControllerlUrl($pluginCodeObj, $controllerModel->controller).'/update/:id';
+ $createUrl = $this->getControllerlUrl($pluginCodeObj, $controllerModel->controller).'/create';
+
+ $result['recordUrl'] = $updateUrl;
+
+ $controllerGenerator->setTemplateVariable('hasFormBehavior', true);
+ $controllerGenerator->setTemplateVariable('createUrl', $createUrl);
+ }
+
+ if (in_array('Backend\Behaviors\ReorderController', $controllerModel->behaviors)) {
+ $reorderUrl = $this->getControllerlUrl($pluginCodeObj, $controllerModel->controller).'/reorder';
+ $controllerGenerator->setTemplateVariable('hasReorderBehavior', true);
+ $controllerGenerator->setTemplateVariable('reorderUrl', $reorderUrl);
+ }
+
+ return $result;
+ }
+
+ protected function getReorderControllerDefaultConfiguration($controllerModel, $controllerGenerator)
+ {
+ if (!$controllerModel->baseModelClassName) {
+ throw new ApplicationException(Lang::get('rainlab.builder::lang.controller.error_behavior_requires_base_model', [
+ 'behavior' => 'Reorder Controller'
+ ]));
+ }
+
+ $pluginCodeObj = $controllerModel->getPluginCodeObj();
+
+ $result = [
+ 'title' => $controllerModel->controller,
+ 'modelClass' => $this->getFullModelClass($pluginCodeObj, $controllerModel->baseModelClassName),
+ 'toolbar' => [
+ 'buttons' => 'reorder_toolbar',
+ ]
+ ];
+
+ return $result;
+ }
+
+ protected function getFullModelClass($pluginCodeObj, $modelClassName)
+ {
+ return $pluginCodeObj->toPluginNamespace().'\\Models\\'.$modelClassName;
+ }
+
+ protected function getModelFilePath($pluginCodeObj, $modelClassName, $file)
+ {
+ return '$/' . $pluginCodeObj->toFilesystemPath() . '/models/' . strtolower($modelClassName) . '/' . $file;
+ }
+
+ protected function getControllerlUrl($pluginCodeObj, $controller)
+ {
+ return $pluginCodeObj->toUrl().'/'.strtolower($controller);
+ }
+}
diff --git a/server/plugins/rainlab/builder/widgets/DefaultControlDesignTimeProvider.php b/server/plugins/rainlab/builder/widgets/DefaultControlDesignTimeProvider.php
new file mode 100644
index 0000000..b9b7a2f
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/DefaultControlDesignTimeProvider.php
@@ -0,0 +1,119 @@
+defaultControlsTypes)) {
+ return $this->renderUnknownControl($type, $properties);
+ }
+
+ return $this->makePartial('control-'.$type, [
+ 'properties'=>$properties,
+ 'formBuilder' => $formBuilder
+ ]);
+ }
+
+ /**
+ * Renders control static body.
+ * The control static body is never updated with AJAX during the form editing.
+ * @param string $type Specifies the control type to render.
+ * @param array $properties Control property values preprocessed for the Inspector.
+ * @param array $controlConfiguration Raw control property values.
+ * @param \RainLab\Builder\FormWidgets\FormBuilder $formBuilder FormBuilder widget instance.
+ * @return string Returns HTML markup string.
+ */
+ public function renderControlStaticBody($type, $properties, $controlConfiguration, $formBuilder)
+ {
+ if (!in_array($type, $this->defaultControlsTypes)) {
+ return null;
+ }
+
+ $partialName = 'control-static-'.$type;
+ $partialPath = $this->getViewPath('_'.$partialName.'.htm');
+
+ if (!File::exists($partialPath)) {
+ return null;
+ }
+
+ return $this->makePartial($partialName, [
+ 'properties'=>$properties,
+ 'controlConfiguration' => $controlConfiguration,
+ 'formBuilder' => $formBuilder
+ ]);
+ }
+
+ /**
+ * Determines whether a control supports default labels and comments.
+ * @param string $type Specifies the control type.
+ * @return boolean
+ */
+ public function controlHasLabels($type)
+ {
+ if (in_array($type, ['checkbox', 'switch', 'hint', 'partial', 'section'])) {
+ return false;
+ }
+
+ return true;
+ }
+
+ protected function getPropertyValue($properties, $property)
+ {
+ if (array_key_exists($property, $properties)) {
+ return $properties[$property];
+ }
+
+ return null;
+ }
+
+ protected function renderUnknownControl($type, $properties)
+ {
+ return $this->makePartial('control-unknowncontrol', [
+ 'properties'=>$properties,
+ 'type'=>$type
+ ]);
+ }
+}
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/LanguageList.php b/server/plugins/rainlab/builder/widgets/LanguageList.php
new file mode 100644
index 0000000..31b8f2f
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/LanguageList.php
@@ -0,0 +1,104 @@
+alias = $alias;
+
+ parent::__construct($controller, []);
+ $this->bindToController();
+ }
+
+ /**
+ * Renders the widget.
+ * @return string
+ */
+ public function render()
+ {
+ return $this->makePartial('body', $this->getRenderData());
+ }
+
+ public function updateList()
+ {
+ return ['#'.$this->getId('plugin-language-list') => $this->makePartial('items', $this->getRenderData())];
+ }
+
+ public function refreshActivePlugin()
+ {
+ return ['#'.$this->getId('body') => $this->makePartial('widget-contents', $this->getRenderData())];
+ }
+
+ /*
+ * Event handlers
+ */
+
+ public function onUpdate()
+ {
+ return $this->updateList();
+ }
+
+ public function onSearch()
+ {
+ $this->setSearchTerm(Input::get('search'));
+ return $this->updateList();
+ }
+
+ /*
+ * Methods for the internal use
+ */
+
+ protected function getLanguageList($pluginCode)
+ {
+ $result = LocalizationModel::listPluginLanguages($pluginCode);
+
+ return $result;
+ }
+
+ protected function getRenderData()
+ {
+ $activePluginVector = $this->controller->getBuilderActivePluginVector();
+ if (!$activePluginVector) {
+ return [
+ 'pluginVector'=>null,
+ 'items' => []
+ ];
+ }
+
+ $items = $this->getLanguageList($activePluginVector->pluginCodeObj);
+
+ $searchTerm = Str::lower($this->getSearchTerm());
+ if (strlen($searchTerm)) {
+ $words = explode(' ', $searchTerm);
+ $result = [];
+
+ foreach ($items as $language) {
+ if ($this->textMatchesSearch($words, $language)) {
+ $result[] = $language;
+ }
+ }
+
+ $items = $result;
+ }
+
+ return [
+ 'pluginVector'=>$activePluginVector,
+ 'items'=>$items
+ ];
+ }
+}
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/ModelList.php b/server/plugins/rainlab/builder/widgets/ModelList.php
new file mode 100644
index 0000000..a30cb10
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/ModelList.php
@@ -0,0 +1,129 @@
+alias = $alias;
+
+ parent::__construct($controller, []);
+ $this->bindToController();
+ }
+
+ /**
+ * Renders the widget.
+ * @return string
+ */
+ public function render()
+ {
+ return $this->makePartial('body', $this->getRenderData());
+ }
+
+ public function updateList()
+ {
+ return ['#'.$this->getId('plugin-model-list') => $this->makePartial('items', $this->getRenderData())];
+ }
+
+ public function refreshActivePlugin()
+ {
+ return ['#'.$this->getId('body') => $this->makePartial('widget-contents', $this->getRenderData())];
+ }
+
+ /*
+ * Event handlers
+ */
+
+ public function onUpdate()
+ {
+ return $this->updateList();
+ }
+
+ public function onSearch()
+ {
+ $this->setSearchTerm(Input::get('search'));
+ return $this->updateList();
+ }
+
+ /*
+ * Methods for the internal use
+ */
+
+ protected function getData($pluginVector)
+ {
+ if (!$pluginVector) {
+ return [];
+ }
+
+ $pluginCode = $pluginVector->pluginCodeObj;
+
+ if (!$pluginCode) {
+ return [];
+ }
+
+ $models = $this->getModelList($pluginCode);
+ $searchTerm = Str::lower($this->getSearchTerm());
+
+ // Apply the search
+ //
+ if (strlen($searchTerm)) {
+ $words = explode(' ', $searchTerm);
+ $result = [];
+
+ foreach ($models as $modelInfo) {
+ if ($this->textMatchesSearch($words, $modelInfo['model']->className)) {
+ $result[] = $modelInfo;
+ }
+ }
+
+ $models = $result;
+ }
+
+ return $models;
+ }
+
+ protected function getModelList($pluginCode)
+ {
+ $models = ModelModel::listPluginModels($pluginCode);
+ $result = [];
+
+ foreach ($models as $model) {
+ $result[] = [
+ 'model' => $model,
+ 'forms' => ModelFormModel::listModelFiles($pluginCode, $model->className),
+ 'lists' => ModelListModel::listModelFiles($pluginCode, $model->className)
+ ];
+ }
+
+ return $result;
+ }
+
+ protected function getRenderData()
+ {
+ $activePluginVector = $this->controller->getBuilderActivePluginVector();
+
+ return [
+ 'pluginVector'=>$activePluginVector,
+ 'items'=>$this->getData($activePluginVector)
+ ];
+ }
+}
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/PluginList.php b/server/plugins/rainlab/builder/widgets/PluginList.php
new file mode 100644
index 0000000..c1c9193
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/PluginList.php
@@ -0,0 +1,201 @@
+alias = $alias;
+
+ parent::__construct($controller, []);
+ $this->bindToController();
+ }
+
+ /**
+ * Renders the widget.
+ * @return string
+ */
+ public function render()
+ {
+ return $this->makePartial('body', $this->getRenderData());
+ }
+
+ public function setActivePlugin($pluginCode)
+ {
+ $pluginCodeObj = new PluginCode($pluginCode);
+
+ $this->putSession('activePlugin', $pluginCodeObj->toCode());
+ }
+
+ public function getActivePluginVector()
+ {
+ $pluginCode = $this->getActivePluginCode();
+
+ try {
+ if (strlen($pluginCode)) {
+ $pluginCodeObj = new PluginCode($pluginCode);
+ $path = $pluginCodeObj->toPluginInformationFilePath();
+ if (!File::isFile(File::symbolizePath($path))) {
+ return null;
+ }
+
+ $plugins = PluginManager::instance()->getPlugins();
+ foreach ($plugins as $code=>$plugin) {
+ if ($code == $pluginCode) {
+ return new PluginVector($plugin, $pluginCodeObj);
+ }
+ }
+ }
+ }
+ catch (Exception $ex) {
+ return null;
+ }
+
+ return null;
+ }
+
+ public function updateList()
+ {
+ return ['#'.$this->getId('plugin-list') => $this->makePartial('items', $this->getRenderData())];
+ }
+
+ /*
+ * Event handlers
+ */
+
+ public function onUpdate()
+ {
+ return $this->updateList();
+ }
+
+ public function onSearch()
+ {
+ $this->setSearchTerm(Input::get('search'));
+ return $this->updateList();
+ }
+
+ public function onToggleFilter()
+ {
+ $mode = $this->getFilterMode();
+ $this->setFilterMode($mode == 'my' ? 'all' : 'my');
+
+ $result = $this->updateList();
+ $result['#'.$this->getId('toolbar-buttons')] = $this->makePartial('toolbar-buttons');
+
+ return $result;
+ }
+
+ /*
+ * Methods for the internal use
+ */
+
+ protected function getData()
+ {
+ $plugins = $this->getPluginList();
+ $searchTerm = Str::lower($this->getSearchTerm());
+
+ // Apply the search
+ //
+ if (strlen($searchTerm)) {
+ $words = explode(' ', $searchTerm);
+ $result = [];
+
+ foreach ($plugins as $code=>$plugin) {
+ if ($this->textMatchesSearch($words, $plugin['full-text'])) {
+ $result[$code] = $plugin;
+ }
+ }
+
+ $plugins = $result;
+ }
+
+ // Apply the my plugins / all plugins filter
+ //
+ $mode = $this->getFilterMode();
+ if ($mode == 'my') {
+ $namespace = PluginSettings::instance()->author_namespace;
+
+ $result = [];
+ foreach ($plugins as $code=>$plugin) {
+ if (strcasecmp($plugin['namespace'], $namespace) === 0) {
+ $result[$code] = $plugin;
+ }
+ }
+
+ $plugins = $result;
+ }
+
+ return $plugins;
+ }
+
+ protected function getPluginList()
+ {
+ $plugins = PluginManager::instance()->getPlugins();
+
+ $result = [];
+ foreach ($plugins as $code=>$plugin) {
+ $pluginInfo = $plugin->pluginDetails();
+
+ $itemInfo = [
+ 'name' => isset($pluginInfo['name']) ? $pluginInfo['name'] : 'rainlab.builder::lang.plugin.no_name',
+ 'description' => isset($pluginInfo['description']) ? $pluginInfo['description'] : 'rainlab.builder::lang.plugin.no_description',
+ 'icon' => isset($pluginInfo['icon']) ? $pluginInfo['icon'] : null
+ ];
+
+ list($namespace) = explode('\\', get_class($plugin));
+ $itemInfo['namespace'] = trim($namespace);
+ $itemInfo['full-text'] = trans($itemInfo['name']).' '.trans($itemInfo['description']);
+
+ $result[$code] = $itemInfo;
+ }
+
+ uasort($result, function($a, $b) {
+ return strcmp(trans($a['name']), trans($b['name']));
+ });
+
+ return $result;
+ }
+
+ protected function setFilterMode($mode)
+ {
+ $this->putSession('filter', $mode);
+ }
+
+ protected function getFilterMode()
+ {
+ return $this->getSession('filter', 'my');
+ }
+
+ protected function getActivePluginCode()
+ {
+ return $this->getSession('activePlugin');
+ }
+
+ protected function getRenderData()
+ {
+ return [
+ 'items'=>$this->getData()
+ ];
+ }
+}
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/VersionList.php b/server/plugins/rainlab/builder/widgets/VersionList.php
new file mode 100644
index 0000000..d754a72
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/VersionList.php
@@ -0,0 +1,123 @@
+alias = $alias;
+
+ parent::__construct($controller, []);
+ $this->bindToController();
+ }
+
+ /**
+ * Renders the widget.
+ * @return string
+ */
+ public function render()
+ {
+ return $this->makePartial('body', $this->getRenderData());
+ }
+
+ public function updateList()
+ {
+ return ['#'.$this->getId('plugin-version-list') => $this->makePartial('items', $this->getRenderData())];
+ }
+
+ public function refreshActivePlugin()
+ {
+ return ['#'.$this->getId('body') => $this->makePartial('widget-contents', $this->getRenderData())];
+ }
+
+ /*
+ * Event handlers
+ */
+
+ public function onUpdate()
+ {
+ return $this->updateList();
+ }
+
+ public function onSearch()
+ {
+ $this->setSearchTerm(Input::get('search'));
+ return $this->updateList();
+ }
+
+ /*
+ * Methods for the internal use
+ */
+
+ protected function getRenderData()
+ {
+ $activePluginVector = $this->controller->getBuilderActivePluginVector();
+ if (!$activePluginVector) {
+ return [
+ 'pluginVector'=>null,
+ 'items' => [],
+ 'unappliedVersions' => []
+ ];
+ }
+
+ $versionObj = new PluginVersion();
+ $items = $versionObj->getPluginVersionInformation($activePluginVector->pluginCodeObj);
+
+ $searchTerm = Str::lower($this->getSearchTerm());
+ if (strlen($searchTerm)) {
+ $words = explode(' ', $searchTerm);
+ $result = [];
+
+ foreach ($items as $version=>$versionInfo) {
+ $description = $this->getVersionDescription($versionInfo);
+
+ if (
+ $this->textMatchesSearch($words, $version) ||
+ (strlen($description) && $this->textMatchesSearch($words, $description))
+ ) {
+ $result[$version] = $versionInfo;
+ }
+ }
+
+ $items = $result;
+ }
+
+ $versionManager = VersionManager::instance();
+ $unappliedVersions = $versionManager->listNewVersions($activePluginVector->pluginCodeObj->toCode());
+ return [
+ 'pluginVector'=>$activePluginVector,
+ 'items'=>$items,
+ 'unappliedVersions'=>$unappliedVersions
+ ];
+ }
+
+ protected function getVersionDescription($versionInfo)
+ {
+ if (is_array($versionInfo)) {
+ if (array_key_exists(0, $versionInfo)) {
+ return $versionInfo[0];
+ }
+ }
+
+ if (is_scalar($versionInfo)) {
+ return $versionInfo;
+ }
+
+ return null;
+ }
+}
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/controllerlist/partials/_body.htm b/server/plugins/rainlab/builder/widgets/controllerlist/partials/_body.htm
new file mode 100644
index 0000000..46306d3
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/controllerlist/partials/_body.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/controllerlist/partials/_controller-list.htm b/server/plugins/rainlab/builder/widgets/controllerlist/partials/_controller-list.htm
new file mode 100644
index 0000000..c99bfa9
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/controllerlist/partials/_controller-list.htm
@@ -0,0 +1,13 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/controllerlist/partials/_items.htm b/server/plugins/rainlab/builder/widgets/controllerlist/partials/_items.htm
new file mode 100644
index 0000000..34e2db3
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/controllerlist/partials/_items.htm
@@ -0,0 +1,20 @@
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/controllerlist/partials/_toolbar.htm b/server/plugins/rainlab/builder/widgets/controllerlist/partials/_toolbar.htm
new file mode 100644
index 0000000..5ce9f57
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/controllerlist/partials/_toolbar.htm
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/controllerlist/partials/_widget-contents.htm b/server/plugins/rainlab/builder/widgets/controllerlist/partials/_widget-contents.htm
new file mode 100644
index 0000000..14affab
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/controllerlist/partials/_widget-contents.htm
@@ -0,0 +1,28 @@
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_body.htm b/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_body.htm
new file mode 100644
index 0000000..46306d3
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_body.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_items.htm b/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_items.htm
new file mode 100644
index 0000000..90c821f
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_items.htm
@@ -0,0 +1,18 @@
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_table-list.htm b/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_table-list.htm
new file mode 100644
index 0000000..0f711cd
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_table-list.htm
@@ -0,0 +1,13 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_toolbar.htm b/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_toolbar.htm
new file mode 100644
index 0000000..b268611
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_toolbar.htm
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_widget-contents.htm b/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_widget-contents.htm
new file mode 100644
index 0000000..e529225
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/databasetablelist/partials/_widget-contents.htm
@@ -0,0 +1,28 @@
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-form-controller.htm b/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-form-controller.htm
new file mode 100644
index 0000000..c0b7bd4
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-form-controller.htm
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-list-controller.htm b/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-list-controller.htm
new file mode 100644
index 0000000..803e47d
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-list-controller.htm
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-reorder-controller.htm b/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-reorder-controller.htm
new file mode 100644
index 0000000..09c00eb
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-reorder-controller.htm
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-unknown.htm b/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-unknown.htm
new file mode 100644
index 0000000..1a0e7af
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultbehaviordesigntimeprovider/partials/_behavior-unknown.htm
@@ -0,0 +1 @@
+Unknown behavior
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-balloon-selector.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-balloon-selector.htm
new file mode 100644
index 0000000..f834507
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-balloon-selector.htm
@@ -0,0 +1,16 @@
+
+
+
+
= e(trans($option)) ?>
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-checkbox.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-checkbox.htm
new file mode 100644
index 0000000..0b68995
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-checkbox.htm
@@ -0,0 +1,9 @@
+getPropertyValue($properties, 'label');
+ $comment = $this->getPropertyValue($properties, 'oc.comment');
+?>
+
+
+
= e(trans($label)) ?>
+
= e(trans($comment)) ?>
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-checkboxlist.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-checkboxlist.htm
new file mode 100644
index 0000000..ef4c056
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-checkboxlist.htm
@@ -0,0 +1,16 @@
+
+
+
+
= e(trans($option)) ?>
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-codeeditor.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-codeeditor.htm
new file mode 100644
index 0000000..297f2e9
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-codeeditor.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-colorpicker.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-colorpicker.htm
new file mode 100644
index 0000000..5ed57b6
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-colorpicker.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-datepicker.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-datepicker.htm
new file mode 100644
index 0000000..4cf196f
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-datepicker.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-dropdown.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-dropdown.htm
new file mode 100644
index 0000000..9b0fa20
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-dropdown.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-fileupload.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-fileupload.htm
new file mode 100644
index 0000000..4988ad8
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-fileupload.htm
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-hint.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-hint.htm
new file mode 100644
index 0000000..fcd7858
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-hint.htm
@@ -0,0 +1,7 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-markdown.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-markdown.htm
new file mode 100644
index 0000000..404c61c
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-markdown.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-mediafinder.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-mediafinder.htm
new file mode 100644
index 0000000..14d7ec8
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-mediafinder.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-number.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-number.htm
new file mode 100644
index 0000000..7a9ae7f
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-number.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-partial.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-partial.htm
new file mode 100644
index 0000000..20f1a16
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-partial.htm
@@ -0,0 +1,7 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-password.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-password.htm
new file mode 100644
index 0000000..d684156
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-password.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-radio.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-radio.htm
new file mode 100644
index 0000000..6685f86
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-radio.htm
@@ -0,0 +1,16 @@
+
+
+
+
= e(trans($option)) ?>
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-recordfinder.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-recordfinder.htm
new file mode 100644
index 0000000..85f0d48
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-recordfinder.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-relation.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-relation.htm
new file mode 100644
index 0000000..4bbfc9d
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-relation.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-repeater.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-repeater.htm
new file mode 100644
index 0000000..d6c577d
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-repeater.htm
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-richeditor.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-richeditor.htm
new file mode 100644
index 0000000..e56619b
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-richeditor.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-section.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-section.htm
new file mode 100644
index 0000000..a9d75b3
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-section.htm
@@ -0,0 +1,9 @@
+getPropertyValue($properties, 'label');
+ $comment =$this->getPropertyValue($properties, 'oc.comment');
+?>
+
+
+
= e(trans($label)) ?>
+
= e(trans($comment)) ?>
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-static-repeater.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-static-repeater.htm
new file mode 100644
index 0000000..5f2e08a
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-static-repeater.htm
@@ -0,0 +1,11 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-text.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-text.htm
new file mode 100644
index 0000000..308339e
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-text.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-textarea.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-textarea.htm
new file mode 100644
index 0000000..c9fd1f0
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-textarea.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-unknowncontrol.htm b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-unknowncontrol.htm
new file mode 100644
index 0000000..fd2af48
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/defaultcontroldesigntimeprovider/partials/_control-unknowncontrol.htm
@@ -0,0 +1,4 @@
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/languagelist/partials/_body.htm b/server/plugins/rainlab/builder/widgets/languagelist/partials/_body.htm
new file mode 100644
index 0000000..46306d3
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/languagelist/partials/_body.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/languagelist/partials/_items.htm b/server/plugins/rainlab/builder/widgets/languagelist/partials/_items.htm
new file mode 100644
index 0000000..cb2e0b4
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/languagelist/partials/_items.htm
@@ -0,0 +1,20 @@
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/languagelist/partials/_language-list.htm b/server/plugins/rainlab/builder/widgets/languagelist/partials/_language-list.htm
new file mode 100644
index 0000000..ef3df47
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/languagelist/partials/_language-list.htm
@@ -0,0 +1,13 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/languagelist/partials/_toolbar.htm b/server/plugins/rainlab/builder/widgets/languagelist/partials/_toolbar.htm
new file mode 100644
index 0000000..d8b409b
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/languagelist/partials/_toolbar.htm
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/languagelist/partials/_widget-contents.htm b/server/plugins/rainlab/builder/widgets/languagelist/partials/_widget-contents.htm
new file mode 100644
index 0000000..2a9b2f9
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/languagelist/partials/_widget-contents.htm
@@ -0,0 +1,28 @@
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/modellist/partials/_body.htm b/server/plugins/rainlab/builder/widgets/modellist/partials/_body.htm
new file mode 100644
index 0000000..46306d3
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/modellist/partials/_body.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/modellist/partials/_items.htm b/server/plugins/rainlab/builder/widgets/modellist/partials/_items.htm
new file mode 100644
index 0000000..b2196c4
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/modellist/partials/_items.htm
@@ -0,0 +1,94 @@
+
+
diff --git a/server/plugins/rainlab/builder/widgets/modellist/partials/_toolbar.htm b/server/plugins/rainlab/builder/widgets/modellist/partials/_toolbar.htm
new file mode 100644
index 0000000..346057f
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/modellist/partials/_toolbar.htm
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/modellist/partials/_widget-contents.htm b/server/plugins/rainlab/builder/widgets/modellist/partials/_widget-contents.htm
new file mode 100644
index 0000000..f87cd74
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/modellist/partials/_widget-contents.htm
@@ -0,0 +1,28 @@
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/pluginlist/partials/_body.htm b/server/plugins/rainlab/builder/widgets/pluginlist/partials/_body.htm
new file mode 100644
index 0000000..0040fb2
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/pluginlist/partials/_body.htm
@@ -0,0 +1,8 @@
+= $this->makePartial('toolbar') ?>
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/pluginlist/partials/_items.htm b/server/plugins/rainlab/builder/widgets/pluginlist/partials/_items.htm
new file mode 100644
index 0000000..b304288
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/pluginlist/partials/_items.htm
@@ -0,0 +1,35 @@
+
+ getActivePluginCode(); ?>
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/pluginlist/partials/_plugin-list.htm b/server/plugins/rainlab/builder/widgets/pluginlist/partials/_plugin-list.htm
new file mode 100644
index 0000000..eab0976
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/pluginlist/partials/_plugin-list.htm
@@ -0,0 +1,13 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/pluginlist/partials/_toolbar-buttons.htm b/server/plugins/rainlab/builder/widgets/pluginlist/partials/_toolbar-buttons.htm
new file mode 100644
index 0000000..d2226d8
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/pluginlist/partials/_toolbar-buttons.htm
@@ -0,0 +1,14 @@
+
+
+getFilterMode(); ?>
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/pluginlist/partials/_toolbar.htm b/server/plugins/rainlab/builder/widgets/pluginlist/partials/_toolbar.htm
new file mode 100644
index 0000000..69d6269
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/pluginlist/partials/_toolbar.htm
@@ -0,0 +1,22 @@
+
+
+
+
+ = $this->makePartial("toolbar-buttons") ?>
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/versionlist/partials/_body.htm b/server/plugins/rainlab/builder/widgets/versionlist/partials/_body.htm
new file mode 100644
index 0000000..b39cdd0
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/versionlist/partials/_body.htm
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/versionlist/partials/_items.htm b/server/plugins/rainlab/builder/widgets/versionlist/partials/_items.htm
new file mode 100644
index 0000000..940a482
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/versionlist/partials/_items.htm
@@ -0,0 +1,35 @@
+
+
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/versionlist/partials/_toolbar.htm b/server/plugins/rainlab/builder/widgets/versionlist/partials/_toolbar.htm
new file mode 100644
index 0000000..3e49d70
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/versionlist/partials/_toolbar.htm
@@ -0,0 +1,34 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/versionlist/partials/_version-list.htm b/server/plugins/rainlab/builder/widgets/versionlist/partials/_version-list.htm
new file mode 100644
index 0000000..6d480c9
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/versionlist/partials/_version-list.htm
@@ -0,0 +1,13 @@
+
\ No newline at end of file
diff --git a/server/plugins/rainlab/builder/widgets/versionlist/partials/_widget-contents.htm b/server/plugins/rainlab/builder/widgets/versionlist/partials/_widget-contents.htm
new file mode 100644
index 0000000..77031c4
--- /dev/null
+++ b/server/plugins/rainlab/builder/widgets/versionlist/partials/_widget-contents.htm
@@ -0,0 +1,28 @@
+
\ No newline at end of file
diff --git a/server/plugins/studiovx/marcleopold/controllers/indeximage/reorder.htm b/server/plugins/studiovx/marcleopold/controllers/indeximage/reorder.htm
new file mode 100644
index 0000000..d9402c7
--- /dev/null
+++ b/server/plugins/studiovx/marcleopold/controllers/indeximage/reorder.htm
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/server/plugins/studiovx/marcleopold/controllers/indextagline/_list_toolbar.htm b/server/plugins/studiovx/marcleopold/controllers/indextagline/_list_toolbar.htm
new file mode 100644
index 0000000..acdc987
--- /dev/null
+++ b/server/plugins/studiovx/marcleopold/controllers/indextagline/_list_toolbar.htm
@@ -0,0 +1,19 @@
+
\ No newline at end of file
diff --git a/server/plugins/studiovx/marcleopold/controllers/indextagline/reorder.htm b/server/plugins/studiovx/marcleopold/controllers/indextagline/reorder.htm
new file mode 100644
index 0000000..302103b
--- /dev/null
+++ b/server/plugins/studiovx/marcleopold/controllers/indextagline/reorder.htm
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/server/plugins/studiovx/marcleopold/controllers/pages/_list_toolbar.htm b/server/plugins/studiovx/marcleopold/controllers/pages/_list_toolbar.htm
new file mode 100644
index 0000000..d09c543
--- /dev/null
+++ b/server/plugins/studiovx/marcleopold/controllers/pages/_list_toolbar.htm
@@ -0,0 +1,18 @@
+
\ No newline at end of file
diff --git a/server/plugins/studiovx/marcleopold/controllers/pages/update.htm b/server/plugins/studiovx/marcleopold/controllers/pages/update.htm
new file mode 100644
index 0000000..c3a6e57
--- /dev/null
+++ b/server/plugins/studiovx/marcleopold/controllers/pages/update.htm
@@ -0,0 +1,54 @@
+
+
+
\ No newline at end of file
diff --git a/server/plugins/studiovx/marcleopold/controllers/services/_list_toolbar.htm b/server/plugins/studiovx/marcleopold/controllers/services/_list_toolbar.htm
new file mode 100644
index 0000000..aaf576f
--- /dev/null
+++ b/server/plugins/studiovx/marcleopold/controllers/services/_list_toolbar.htm
@@ -0,0 +1,19 @@
+
\ No newline at end of file
diff --git a/server/plugins/studiovx/marcleopold/controllers/services/reorder.htm b/server/plugins/studiovx/marcleopold/controllers/services/reorder.htm
new file mode 100644
index 0000000..761fcbb
--- /dev/null
+++ b/server/plugins/studiovx/marcleopold/controllers/services/reorder.htm
@@ -0,0 +1,8 @@
+
+