Merge branch '5.8' into 5
81
.travis.yml
@ -1,47 +1,42 @@
|
|||||||
language: php
|
version: ~> 1.0
|
||||||
|
|
||||||
dist: xenial
|
# Use a manual matrix as composer.json requires "silverstripe/cms": "^4.6",
|
||||||
|
# This should be changed to "standard-jobs-range-npm" as soon as the lowest recipe
|
||||||
|
# version in the travis shared jobs matrix is 4.6
|
||||||
|
import:
|
||||||
|
- silverstripe/silverstripe-travis-shared:config/provision/standard.yml
|
||||||
|
|
||||||
services:
|
jobs:
|
||||||
- mysql
|
|
||||||
- postgresql
|
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- COMPOSER_ROOT_VERSION=5.x-dev
|
|
||||||
- TRAVIS_NODE_VERSION="10"
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
include:
|
include:
|
||||||
- php: 7.1
|
|
||||||
env: DB=MYSQL RECIPE_VERSION=4.6.x-dev PHPUNIT_TEST=1 PHPCS_TEST=1
|
|
||||||
- php: 7.2
|
|
||||||
env: DB=MYSQL RECIPE_VERSION=4.6.x-dev PHPUNIT_TEST=1 NPM_TEST=1
|
|
||||||
- php: 7.3
|
|
||||||
env: DB=PGSQL RECIPE_VERSION=4.6.x-dev PHPUNIT_TEST=1 PHPUNIT_COVERAGE_TEST=1
|
|
||||||
- php: 7.4
|
- php: 7.4
|
||||||
env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_TEST=1
|
env:
|
||||||
|
- DB=MYSQL
|
||||||
before_script:
|
- REQUIRE_INSTALLER="4.6.x-dev"
|
||||||
# Init PHP
|
- NPM_TEST=1
|
||||||
- phpenv rehash
|
- php: 7.1
|
||||||
- phpenv config-rm xdebug.ini
|
env:
|
||||||
- echo 'memory_limit=-1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
- DB=MYSQL
|
||||||
|
- REQUIRE_INSTALLER="4.6.x-dev"
|
||||||
# Install composer dependencies
|
- PHPUNIT_TEST=1
|
||||||
- composer validate
|
- php: 7.2
|
||||||
- composer require --no-update silverstripe/recipe-cms:$RECIPE_VERSION
|
env:
|
||||||
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:^2 --prefer-dist; fi
|
- DB=PGSQL
|
||||||
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
|
- REQUIRE_INSTALLER="4.6.x-dev"
|
||||||
- if [[ $NPM_TEST ]]; then nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION && npm install -g yarn && yarn install --network-concurrency 1 && yarn run build; fi
|
- PHPUNIT_TEST=1
|
||||||
|
- php: 7.3
|
||||||
script:
|
env:
|
||||||
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
|
- DB=MYSQL
|
||||||
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml -vvv; fi
|
- REQUIRE_INSTALLER="4.7.x-dev"
|
||||||
- if [[ $PHPCS_TEST ]]; then composer run-script lint; fi
|
- PHPUNIT_TEST=1
|
||||||
- if [[ $NPM_TEST ]]; then git diff-files --quiet -w --relative=client; fi
|
- PHPCS_TEST=1
|
||||||
- if [[ $NPM_TEST ]]; then git diff -w --no-color --relative=client; fi
|
- php: 7.4
|
||||||
- if [[ $NPM_TEST ]]; then yarn run lint; fi
|
env:
|
||||||
|
- DB=MYSQL
|
||||||
after_success:
|
- REQUIRE_INSTALLER="4.x-dev"
|
||||||
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
|
- PHPUNIT_COVERAGE_TEST=1
|
||||||
|
- php: nightly
|
||||||
|
env:
|
||||||
|
- DB=MYSQL
|
||||||
|
- REQUIRE_INSTALLER="4.x-dev"
|
||||||
|
- PHPUNIT_TEST=1
|
||||||
|
- COMPOSER_INSTALL_ARG=--ignore-platform-reqs
|
||||||
|
BIN
client/src/images/editablecheckbox.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
client/src/images/editablecheckboxgroupfield.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
client/src/images/editabledatefield.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
client/src/images/editabledropdown.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
client/src/images/editableemailfield.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
client/src/images/editablefilefield.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
client/src/images/editableformheading.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
client/src/images/editableliteralfield.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
client/src/images/editablememberlistfield.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
client/src/images/editablenumericfield.png
Normal file
After Width: | Height: | Size: 525 B |
BIN
client/src/images/editablepasswordfield.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
client/src/images/editableradiofield.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
client/src/images/editabletextfield.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
client/src/images/sitetree_icon.png
Normal file
After Width: | Height: | Size: 15 KiB |
@ -233,7 +233,7 @@ class EditableFormField extends DataObject
|
|||||||
$fieldClasses = $this->getEditableFieldClasses();
|
$fieldClasses = $this->getEditableFieldClasses();
|
||||||
$fields->addFieldsToTab('Root.Main', [
|
$fields->addFieldsToTab('Root.Main', [
|
||||||
DropdownField::create('ClassName', _t(__CLASS__.'.TYPE', 'Type'), $fieldClasses)
|
DropdownField::create('ClassName', _t(__CLASS__.'.TYPE', 'Type'), $fieldClasses)
|
||||||
->setEmptyString(_t(__CLASS__ . 'TYPE_EMPTY', 'Select field type'))
|
->setEmptyString(_t(__CLASS__ . '.TYPE_EMPTY', 'Select field type'))
|
||||||
]);
|
]);
|
||||||
return $fields;
|
return $fields;
|
||||||
}
|
}
|
||||||
|
@ -112,7 +112,7 @@ class EditableTextField extends EditableFormField
|
|||||||
|
|
||||||
if ($this->MinLength > $this->MaxLength) {
|
if ($this->MinLength > $this->MaxLength) {
|
||||||
$result->addError(_t(
|
$result->addError(_t(
|
||||||
__CLASS__ . 'MINMAXLENGTHCHECK',
|
__CLASS__ . '.MINMAXLENGTHCHECK',
|
||||||
'Minimum length should be less than the Maximum length.'
|
'Minimum length should be less than the Maximum length.'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
"silverstripe/mimevalidator": "^2.0"
|
"silverstripe/mimevalidator": "^2.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^5.7",
|
"sminnee/phpunit": "^5.7",
|
||||||
"squizlabs/php_codesniffer": "^3.0"
|
"squizlabs/php_codesniffer": "^3.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
121
lang/de_DE.yml
@ -1,30 +1,64 @@
|
|||||||
de_DE:
|
de_DE:
|
||||||
EditableUploadField:
|
SilverStripe\UserForms:
|
||||||
SELECTUPLOADFOLDER: 'Ordner für den Upload auswählen'
|
ADDEMAILRECIPIENT: 'E-Mail-Empfänger hinzufügen'
|
||||||
|
CLEARBUTTON: Löschen
|
||||||
|
CONFIGURATION: Konfiguration
|
||||||
|
DISABLECSRFSECURITYTOKEN: 'Deaktiviere CSRF-Token'
|
||||||
|
DISPLAYERRORMESSAGESATTOP: 'Fehlermeldungen über dem Formular anzeigen?'
|
||||||
|
ENABLELIVEVALIDATION: 'Aktiviere Live-Validierung'
|
||||||
|
NORECIPIENTS: 'Warnung: Sie haben keine Empfänger konfiguriert. Einsendungen gehen möglicherweise verloren.'
|
||||||
|
RECIPIENTS: Empfänger
|
||||||
|
SAVESUBMISSIONS: 'Deaktiviere Speichern von Einsendungen auf dem Server'
|
||||||
|
SHOWCLEARFORM: 'Zeige ''Löschen''-Button'
|
||||||
|
SUBMISSIONS: Einsendungen
|
||||||
|
SUBMITBUTTON: Absenden
|
||||||
|
TEXTONCLEAR: 'Text auf ''Löschen''-Button'
|
||||||
|
TEXTONSUBMIT: 'Text auf Absende-Button'
|
||||||
|
SilverStripe\UserForms\Control\UserDefinedFormAdmin:
|
||||||
|
FOLDER_OPTIONS_NEW: 'Neuen Ordner erzeugen (empfohlen)'
|
||||||
|
FORM_ACTION_CONFIRM: 'Speichern und weiter'
|
||||||
SilverStripe\UserForms\Extension\UserFormFieldEditorExtension:
|
SilverStripe\UserForms\Extension\UserFormFieldEditorExtension:
|
||||||
ADD_FIELD: 'Feld hinzufügen'
|
ADD_FIELD: 'Feld hinzufügen'
|
||||||
ADD_FIELD_GROUP: 'Gruppe hinzufügen'
|
ADD_FIELD_GROUP: 'Gruppe hinzufügen'
|
||||||
ADD_PAGE_BREAK: 'Seite hinzufügen'
|
ADD_PAGE_BREAK: 'Seite hinzufügen'
|
||||||
FORMFIELDS: Formularfelder
|
FORMFIELDS: Formularfelder
|
||||||
SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader:
|
SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader:
|
||||||
FILTERSUBMISSIONS: 'Einreichungen filtern...'
|
FILTER: Filter
|
||||||
WHEREVALUEIS: 'nach Wert...'
|
FILTERSUBMISSIONS: 'Einreichungen filtern..'
|
||||||
|
FROM: Formular
|
||||||
|
RESET: Zurücksetzen
|
||||||
|
WHEREVALUEIS: 'nach Wert..'
|
||||||
|
SilverStripe\UserForms\Model\EditableCustomRule:
|
||||||
|
PLURALNAME: 'Editierbare eigene Regeln'
|
||||||
|
SINGULARNAME: 'Editierbare eigene Regel'
|
||||||
SilverStripe\UserForms\Model\EditableFormField:
|
SilverStripe\UserForms\Model\EditableFormField:
|
||||||
CHECKEDBYDEFAULT: 'Standardmäßig ist dieses Feld markiert'
|
CHECKEDBYDEFAULT: 'Standardmäßig ist dieses Feld markiert'
|
||||||
CUSTOMERROR: 'Eigene Fehlermeldung'
|
CUSTOMERROR: 'Eigene Fehlermeldung'
|
||||||
|
CUSTOMOPTIONS: Optionen
|
||||||
CUSTOMRULES: 'Eigene Regeln'
|
CUSTOMRULES: 'Eigene Regeln'
|
||||||
|
DEFAULT: Standardwert
|
||||||
DEFAULTTOTODAY: 'Standardmäßig auf heute'
|
DEFAULTTOTODAY: 'Standardmäßig auf heute'
|
||||||
EXTRACLASS_MULTIPLE: 'Mehrere CSS Klassen mit Leerzeichen trennen'
|
DISPLAYIF: 'Sichtbarkeit ändern wenn'
|
||||||
EXTRACLASS_TITLE: 'Extra CSS Klassen'
|
EXTRACLASS_MULTIPLE: 'Mehrere CSS-Klassen mit Leerzeichen trennen'
|
||||||
|
EXTRACLASS_SELECT: 'Wähle aus der Liste erlaubter Stile'
|
||||||
|
EXTRACLASS_TITLE: 'Zusätzliche Stile'
|
||||||
|
EXTRACLASS_Title: 'Zusätzliche CSS-Klassen'
|
||||||
FIELDISREQUIRED: '{name} ist ein Pflichtfeld'
|
FIELDISREQUIRED: '{name} ist ein Pflichtfeld'
|
||||||
GROUP: Gruppe
|
GROUP: Gruppe
|
||||||
|
INITIALVISIBILITY: 'Interne Sichtbarkeit'
|
||||||
|
NAME: Name
|
||||||
|
'NO': Nein
|
||||||
|
PLACEHOLDER: Platzhalter
|
||||||
PLURALNAME: 'Editierbare Formularfelder'
|
PLURALNAME: 'Editierbare Formularfelder'
|
||||||
REQUIRED: 'Pflichtfeld?'
|
REQUIRED: 'Pflichtfeld?'
|
||||||
RIGHTTITLE: 'Titel rechts'
|
RIGHTTITLE: 'Titel rechts'
|
||||||
|
SHOWINSUMMARY: 'Zeige in Zusammenfassung'
|
||||||
SINGULARNAME: 'Editierbares Formularfeld'
|
SINGULARNAME: 'Editierbares Formularfeld'
|
||||||
TITLE: Titel
|
TITLE: Titel
|
||||||
TYPE: Typ
|
TYPE: Typ
|
||||||
|
TYPE_EMPTY: 'Wähle Feld-Typ'
|
||||||
VALIDATION: Validierung
|
VALIDATION: Validierung
|
||||||
|
'YES': Ja
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableCheckbox:
|
SilverStripe\UserForms\Model\EditableFormField\EditableCheckbox:
|
||||||
PLURALNAME: Checkboxen
|
PLURALNAME: Checkboxen
|
||||||
SINGULARNAME: 'Checkbox Feld'
|
SINGULARNAME: 'Checkbox Feld'
|
||||||
@ -32,8 +66,10 @@ de_DE:
|
|||||||
PLURALNAME: 'Checkbox Gruppen'
|
PLURALNAME: 'Checkbox Gruppen'
|
||||||
SINGULARNAME: 'Checkbox Gruppe'
|
SINGULARNAME: 'Checkbox Gruppe'
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableCountryDropdownField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableCountryDropdownField:
|
||||||
PLURALNAME: 'Länder Dropdowns'
|
DEFAULT: Standardwert
|
||||||
SINGULARNAME: 'Länder Dropdown'
|
EMPTY_STRING: 'Leere Zeichenkette'
|
||||||
|
PLURALNAME: Länder-Dropdowns
|
||||||
|
SINGULARNAME: Länder-Dropdown
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableDateField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableDateField:
|
||||||
PLURALNAME: Datumsfelder
|
PLURALNAME: Datumsfelder
|
||||||
SINGULARNAME: Datumsfeld
|
SINGULARNAME: Datumsfeld
|
||||||
@ -41,11 +77,16 @@ de_DE:
|
|||||||
PLURALNAME: Dropdowns
|
PLURALNAME: Dropdowns
|
||||||
SINGULARNAME: 'Dropdown Feld'
|
SINGULARNAME: 'Dropdown Feld'
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableEmailField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableEmailField:
|
||||||
PLURALNAME: 'E-Mail Felder'
|
PLURALNAME: E-Mail-Felder
|
||||||
SINGULARNAME: 'E-Mail Feld'
|
SINGULARNAME: E-Mail-Feld
|
||||||
|
SilverStripe\UserForms\Model\EditableFormField\EditableFieldGroup:
|
||||||
|
PLURALNAME: 'Editierbare Feld-Gruppen'
|
||||||
|
SINGULARNAME: 'Editierbare Feld-Gruppe'
|
||||||
|
SilverStripe\UserForms\Model\EditableFormField\EditableFieldGroupEnd:
|
||||||
|
FIELD_GROUP_START: 'Gruppe {group}'
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableFileField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableFileField:
|
||||||
PLURALNAME: 'Dateiupload Felder'
|
PLURALNAME: Dateiupload-Felder
|
||||||
SINGULARNAME: 'Dateiupload Feld'
|
SINGULARNAME: Dateiupload-Feld
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableFormHeading:
|
SilverStripe\UserForms\Model\EditableFormField\EditableFormHeading:
|
||||||
LEVEL: 'Überschriftsebene auswählen'
|
LEVEL: 'Überschriftsebene auswählen'
|
||||||
PLURALNAME: Überschriften
|
PLURALNAME: Überschriften
|
||||||
@ -53,35 +94,60 @@ de_DE:
|
|||||||
SilverStripe\UserForms\Model\EditableFormField\EditableFormStep:
|
SilverStripe\UserForms\Model\EditableFormField\EditableFormStep:
|
||||||
PLURALNAME: Seiten
|
PLURALNAME: Seiten
|
||||||
SINGULARNAME: Seiten
|
SINGULARNAME: Seiten
|
||||||
|
STEP_NEXT: Nächste
|
||||||
|
STEP_PREV: Vorherige
|
||||||
STEP_TITLE: 'Seite {page}'
|
STEP_TITLE: 'Seite {page}'
|
||||||
TITLE_FIRST: 'Erste Seite'
|
TITLE_FIRST: 'Erste Seite'
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableLiteralField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableLiteralField:
|
||||||
|
CONTENT: HTML
|
||||||
HIDEFROMREPORT: 'Nicht in Berichten anzeigen?'
|
HIDEFROMREPORT: 'Nicht in Berichten anzeigen?'
|
||||||
PLURALNAME: 'HTML Blöcke'
|
HIDELABEL: '''Titel''-Label in Frontend verbergen?'
|
||||||
SINGULARNAME: 'HTML Block'
|
PLURALNAME: HTML-Blöcke
|
||||||
|
SINGULARNAME: HTML-Block
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableMemberListField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableMemberListField:
|
||||||
PLURALNAME: 'Member List Felder'
|
PLURALNAME: 'Member List Felder'
|
||||||
SINGULARNAME: 'Member List Feld'
|
SINGULARNAME: 'Member List Feld'
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableMultipleOptionField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableMultipleOptionField:
|
||||||
|
DEFAULT: 'Standardmäßig ausgewählt?'
|
||||||
|
OPTIONSTAB: Optionen
|
||||||
PLURALNAME: 'Editierbare Multi-Option Felder'
|
PLURALNAME: 'Editierbare Multi-Option Felder'
|
||||||
SINGULARNAME: 'Editierbares Multi-Option Feld'
|
SINGULARNAME: 'Editierbares Multi-Option Feld'
|
||||||
|
TITLE: Titel
|
||||||
|
VALUE: Wert
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableNumericField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableNumericField:
|
||||||
|
ORDER_WARNING: 'Minimale Länge sollte unter maximaler Länge liegen.'
|
||||||
PLURALNAME: Zahlenfelder
|
PLURALNAME: Zahlenfelder
|
||||||
|
RANGE: 'Erlaubte nummerische Range'
|
||||||
|
RANGE_TO: an
|
||||||
SINGULARNAME: Zahlenfeld
|
SINGULARNAME: Zahlenfeld
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableOption:
|
SilverStripe\UserForms\Model\EditableFormField\EditableOption:
|
||||||
PLURALNAME: 'Editierbare Optionen'
|
PLURALNAME: 'Editierbare Optionen'
|
||||||
SINGULARNAME: 'Editierbare Option'
|
SINGULARNAME: 'Editierbare Option'
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableRadioField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableRadioField:
|
||||||
PLURALNAME: Radio-Buttons
|
PLURALNAME: Radio-Groups
|
||||||
SINGULARNAME: Radio-Button
|
SINGULARNAME: Radio-Button
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableTextField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableTextField:
|
||||||
|
AUTOCOMPLETE: Auto-Vervollständigung
|
||||||
|
MAX_LENGTH: 'Maximale Textlänge'
|
||||||
|
MIN_LENGTH: 'Minimale Textlänge'
|
||||||
|
MINMAXLENGTHCHECK: 'Minimale Länge sollte kleiner als maximale Länge sein'
|
||||||
NUMBERROWS: 'Anzahl der Zeilen'
|
NUMBERROWS: 'Anzahl der Zeilen'
|
||||||
|
NUMBERROWS_DESCRIPTION: 'Felder mit mehr als einer Zeile werden als Text-Area generiert'
|
||||||
PLURALNAME: Textfelder
|
PLURALNAME: Textfelder
|
||||||
|
RANGE_TO: an
|
||||||
SINGULARNAME: Textfeld
|
SINGULARNAME: Textfeld
|
||||||
TEXTLENGTH: Textlänge
|
TEXTLENGTH: Textlänge
|
||||||
SilverStripe\UserForms\Model\Recipient\EmailRecipient:
|
SilverStripe\UserForms\Model\Recipient\EmailRecipient:
|
||||||
PLURALNAME: 'Anpassbares Formular E-Mail Empfänger'
|
CUSTOMRULESTAB: 'Eigene Regeln'
|
||||||
|
EMAILCONTENTTAB: E-Mail-Inhalt
|
||||||
|
EMAILDETAILSTAB: E-Mail-Details
|
||||||
|
EMAILFROMREQUIRED: 'Absender-Adresse ist erforderlich'
|
||||||
|
EMAILTOREQUIRED: 'Empfänger-Adresse ist erforderlich'
|
||||||
|
PLURALNAME: E-Mail-Empfänger
|
||||||
SINGULARNAME: 'Anpassbares Formular E-Mail Empfänger'
|
SINGULARNAME: 'Anpassbares Formular E-Mail Empfänger'
|
||||||
|
SilverStripe\UserForms\Model\Recipient\EmailRecipientCondition:
|
||||||
|
PLURALNAME: 'Bedingungen für E-Mail-Empfänger'
|
||||||
|
SINGULARNAME: 'Bedingung für E-Mail-Empfänger'
|
||||||
SilverStripe\UserForms\Model\Submission\SubmittedFileField:
|
SilverStripe\UserForms\Model\Submission\SubmittedFileField:
|
||||||
DOWNLOADFILE: 'Datei herunterladen'
|
DOWNLOADFILE: 'Datei herunterladen'
|
||||||
PLURALNAME: 'Abgesendete Dateifelder'
|
PLURALNAME: 'Abgesendete Dateifelder'
|
||||||
@ -89,6 +155,7 @@ de_DE:
|
|||||||
SilverStripe\UserForms\Model\Submission\SubmittedForm:
|
SilverStripe\UserForms\Model\Submission\SubmittedForm:
|
||||||
PLURALNAME: 'Abgesendete Formulare'
|
PLURALNAME: 'Abgesendete Formulare'
|
||||||
SINGULARNAME: 'Abgesendetes Formular'
|
SINGULARNAME: 'Abgesendetes Formular'
|
||||||
|
SUBMITTER: Absender
|
||||||
SilverStripe\UserForms\Model\Submission\SubmittedFormField:
|
SilverStripe\UserForms\Model\Submission\SubmittedFormField:
|
||||||
PLURALNAME: 'Abgesendete Formularfelder'
|
PLURALNAME: 'Abgesendete Formularfelder'
|
||||||
SINGULARNAME: 'Abgesendetes Formularfeld'
|
SINGULARNAME: 'Abgesendetes Formularfeld'
|
||||||
@ -99,13 +166,27 @@ de_DE:
|
|||||||
EMAILBODY: Inhalt
|
EMAILBODY: Inhalt
|
||||||
EMAILFROM: Von
|
EMAILFROM: Von
|
||||||
EMAILSUBJECT: Betreff
|
EMAILSUBJECT: Betreff
|
||||||
EmailFromContent: 'Mit der Absenderadresse können Sie bestimmen, von welcher Adresse aus die E-Mail versendet wird. Meistens ist es eine Adresse der selben Domain wie die Webseite. Die Webseite meineseite.com benötigt z.B. irgendwas@meineseite.com. Sie können zusätzlich jede Adresse als "Antworten an" eintragen.'
|
EMAILTEMPLATE: E-Mail-Template
|
||||||
|
EmailFromContent: 'Mit der Absender-Adresse können Sie bestimmen, von welcher Adresse aus die E-Mail versendet wird. Meistens ist es eine Adresse der selben Domain wie die Webseite. Die Webseite meineseite.com benötigt z.B. irgendwas@meineseite.com. Sie können zusätzlich jede Adresse als "Antworten an" eintragen.'
|
||||||
FROMADDRESS: 'E-Mail versendet von'
|
FROMADDRESS: 'E-Mail versendet von'
|
||||||
HIDEFORMDATA: 'Formulardaten in E-Mail nicht anzeigen'
|
HIDEFORMDATA: 'Formulardaten in E-Mail nicht anzeigen'
|
||||||
ORSELECTAFIELDTOUSEASFROM: '.. oder wähle ein Formularfeld als Absenderadresse'
|
ORSELECTAFIELDTOUSEASFROM: '.. oder ein Feld für Antwort-Adresse wählen'
|
||||||
ORSELECTAFIELDTOUSEASTO: '.. oder wähle ein Formularfeld als Empfängeradresse'
|
ORSELECTAFIELDTOUSEASTO: '.. oder wähle ein Feld als Empfänger-Adresse'
|
||||||
REPLYADDRESS: 'E-Mail Adresse für "Antworten an"'
|
PLURALNAME: 'Benutzerdefinierte Formulare'
|
||||||
|
PREVIEW_EMAIL: E-Mail-Vorschau
|
||||||
|
PREVIEW_EMAIL_DESCRIPTION: 'Hinweis: Ungespeicherte Änderungen werde nicht in der Vorschau angezeigt.'
|
||||||
|
PREVIEW_EMAIL_UNAVAILABLE: 'Sie können die Vorschau dieser E-Mail ansehen, wenn der Empfänger gespeichert wurde.'
|
||||||
|
REPLYADDRESS: 'E-Mail-Adresse für "Antworten an"'
|
||||||
|
REPLYADDRESS_DESCRIPTION: 'E-Mail-Adresse, an welche der Empfänger antworten kann.'
|
||||||
|
SELECTAFIELDTOSETSUBJECT: '.. oder ein Feld als Betreff wählen'
|
||||||
SENDEMAILTO: 'E-Mail senden an'
|
SENDEMAILTO: 'E-Mail senden an'
|
||||||
|
SENDEMAILTO_DESCRIPTION: 'Sie können mehrere E-Mail-Adressen kommasepariert eingeben'
|
||||||
|
SENDIF: Versand-Bedingung
|
||||||
|
SENDIFAND: 'Alle Bedingungen sind wahr'
|
||||||
|
SENDIFOR: 'Beliebige Bedingung ist wahr'
|
||||||
SENDPLAIN: 'E-Mail als Text versenden (HTML wird entfernt)'
|
SENDPLAIN: 'E-Mail als Text versenden (HTML wird entfernt)'
|
||||||
SINGULARNAME: 'Anpassbares Formular'
|
SINGULARNAME: 'Anpassbares Formular'
|
||||||
SUBMITBUTTON: Senden
|
SUBMITBUTTON: Senden
|
||||||
|
TYPEREPLY: 'Antwort-Adresse eingeben'
|
||||||
|
TYPESUBJECT: 'Betreff eingeben'
|
||||||
|
TYPETO: 'Empfänger-Adresse eingeben'
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
en:
|
en:
|
||||||
EditableFormField:
|
|
||||||
php.SilverStripe\UserForms\Model\EditableFormFieldTYPE_EMPTY: 'Select field type'
|
|
||||||
EditableTextField:
|
|
||||||
php.SilverStripe\UserForms\Model\EditableFormField\EditableTextFieldMINMAXLENGTHCHECK: 'Minimum length should be less than the Maximum length.'
|
|
||||||
EditableUploadField:
|
|
||||||
SELECTUPLOADFOLDER: 'Select upload folder'
|
|
||||||
SilverStripe\CMS\Model\SiteTree:
|
SilverStripe\CMS\Model\SiteTree:
|
||||||
TABMAIN: Main
|
TABMAIN: Main
|
||||||
SilverStripe\UserForms:
|
SilverStripe\UserForms:
|
||||||
@ -88,6 +82,7 @@ en:
|
|||||||
SINGULARNAME: 'Editable Form Field'
|
SINGULARNAME: 'Editable Form Field'
|
||||||
TITLE: Title
|
TITLE: Title
|
||||||
TYPE: Type
|
TYPE: Type
|
||||||
|
TYPE_EMPTY: 'Select field type'
|
||||||
VALIDATION: Validation
|
VALIDATION: Validation
|
||||||
'YES': 'Yes'
|
'YES': 'Yes'
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableCheckbox:
|
SilverStripe\UserForms\Model\EditableFormField\EditableCheckbox:
|
||||||
@ -221,6 +216,7 @@ en:
|
|||||||
AUTOCOMPLETE_DESCRIPTION: 'Supported browsers will attempt to populate this field automatically with the users information, use to set the value populated'
|
AUTOCOMPLETE_DESCRIPTION: 'Supported browsers will attempt to populate this field automatically with the users information, use to set the value populated'
|
||||||
MAX_LENGTH: 'Maximum text length'
|
MAX_LENGTH: 'Maximum text length'
|
||||||
MIN_LENGTH: 'Minimum text length'
|
MIN_LENGTH: 'Minimum text length'
|
||||||
|
MINMAXLENGTHCHECK: 'Minimum length should be less than the Maximum length.'
|
||||||
NUMBERROWS: 'Number of rows'
|
NUMBERROWS: 'Number of rows'
|
||||||
NUMBERROWS_DESCRIPTION: 'Fields with more than one row will be generated as a textarea'
|
NUMBERROWS_DESCRIPTION: 'Fields with more than one row will be generated as a textarea'
|
||||||
PLURALNAME: 'Text Fields'
|
PLURALNAME: 'Text Fields'
|
||||||
|
24
lang/eo.yml
@ -1,6 +1,4 @@
|
|||||||
eo:
|
eo:
|
||||||
EditableUploadField:
|
|
||||||
SELECTUPLOADFOLDER: 'Elekti alŝutan dosierujon'
|
|
||||||
SilverStripe\CMS\Model\SiteTree:
|
SilverStripe\CMS\Model\SiteTree:
|
||||||
TABMAIN: Ĉefa
|
TABMAIN: Ĉefa
|
||||||
SilverStripe\UserForms:
|
SilverStripe\UserForms:
|
||||||
@ -20,6 +18,15 @@ eo:
|
|||||||
SUBMITBUTTON: Sendi
|
SUBMITBUTTON: Sendi
|
||||||
TEXTONCLEAR: 'Teksto sur vakiga butono:'
|
TEXTONCLEAR: 'Teksto sur vakiga butono:'
|
||||||
TEXTONSUBMIT: 'Teksto sur senda butono:'
|
TEXTONSUBMIT: 'Teksto sur senda butono:'
|
||||||
|
SilverStripe\UserForms\Control\UserDefinedFormAdmin:
|
||||||
|
CONFIRM_FOLDER_LABEL_A: 'Dosieroj alŝutataj de viaj uzantoj devus konserviĝi zorge por redukti la riskon videbligi konfidencajn datumojn. Certigu ke la dosierujo kiun vi elektas estas videbla nur de taŭgaj personoj. Eblas mastrumi la permesojn pri dosierujoj en la sekcio Dosieroj.'
|
||||||
|
CONFIRM_FOLDER_LABEL_B: 'La elektita dosierujo iĝos la apriora por ĉi tiu formularo. Eblas ŝanĝi ĉi tiun individue en la <i>dosieralŝuta kampo.</i>'
|
||||||
|
FOLDER_OPTIONS_EXISTING: 'Uzi ekzistantan dosierujon'
|
||||||
|
FOLDER_OPTIONS_NEW: 'Krei novan dosierujon (rekomendite)'
|
||||||
|
FOLDER_OPTIONS_TITLE: 'Agordoj pri formularaj dosierujoj'
|
||||||
|
FORM_ACTION_CONFIRM: 'Konservi kaj daŭrigi'
|
||||||
|
INVALID_REQUEST: 'Ĉi tiu peto ne validas.'
|
||||||
|
MENUTITLE: SilverStripe\UserForms\Control\UserDefinedForm
|
||||||
SilverStripe\UserForms\Extension\UserFormFieldEditorExtension:
|
SilverStripe\UserForms\Extension\UserFormFieldEditorExtension:
|
||||||
ADD_FIELD: 'Aldoni kampon'
|
ADD_FIELD: 'Aldoni kampon'
|
||||||
ADD_FIELD_GROUP: 'Aldoni kampogrupon'
|
ADD_FIELD_GROUP: 'Aldoni kampogrupon'
|
||||||
@ -32,8 +39,10 @@ eo:
|
|||||||
UNEXPECTED_GROUP_END: 'troviĝas ''{name}'' sen kongrua grupo'
|
UNEXPECTED_GROUP_END: 'troviĝas ''{name}'' sen kongrua grupo'
|
||||||
WRONG_GROUP_END: 'trovita ''{name}'' fermas malĝustan grupon ''{group}'''
|
WRONG_GROUP_END: 'trovita ''{name}'' fermas malĝustan grupon ''{group}'''
|
||||||
SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader:
|
SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader:
|
||||||
|
FILTER: Filtri
|
||||||
FILTERSUBMISSIONS: 'Filtri sendaĵojn..'
|
FILTERSUBMISSIONS: 'Filtri sendaĵojn..'
|
||||||
FROM: De
|
FROM: De
|
||||||
|
RESET: Reagordi
|
||||||
TILL: Ĝis
|
TILL: Ĝis
|
||||||
WHEREVALUEIS: 'kie valoro estas..'
|
WHEREVALUEIS: 'kie valoro estas..'
|
||||||
SilverStripe\UserForms\Model\EditableCustomRule:
|
SilverStripe\UserForms\Model\EditableCustomRule:
|
||||||
@ -72,6 +81,7 @@ eo:
|
|||||||
SINGULARNAME: 'Redaktebla formulara kampo'
|
SINGULARNAME: 'Redaktebla formulara kampo'
|
||||||
TITLE: Titolo
|
TITLE: Titolo
|
||||||
TYPE: Tipo
|
TYPE: Tipo
|
||||||
|
TYPE_EMPTY: 'Elekti tipon de kampo'
|
||||||
VALIDATION: Validigo
|
VALIDATION: Validigo
|
||||||
'YES': Jes
|
'YES': Jes
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableCheckbox:
|
SilverStripe\UserForms\Model\EditableFormField\EditableCheckbox:
|
||||||
@ -128,6 +138,10 @@ eo:
|
|||||||
other: '{count} redakteblaj kampaj grupaj finoj'
|
other: '{count} redakteblaj kampaj grupaj finoj'
|
||||||
SINGULARNAME: 'Finaĵo de redakteblaj kampaj grupoj'
|
SINGULARNAME: 'Finaĵo de redakteblaj kampaj grupoj'
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableFileField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableFileField:
|
||||||
|
ANYONE: 'Nelimigita aliro, alŝutoj estos videblaj de ĉiuj'
|
||||||
|
INHERIT: 'Videbleco por ĉi tiu dosierujo estas heredata el la patra dosierujo.'
|
||||||
|
LOGGED_IN: 'Limigita aliro, alŝutoj estos videblaj de alsalutintaj uzantoj'
|
||||||
|
ONLY_GROUPS: 'Limigita aliro, alŝutoj estos videblaj de la jenaj grupoj:'
|
||||||
PLURALNAME: 'Kampoj por dosiera alŝuto'
|
PLURALNAME: 'Kampoj por dosiera alŝuto'
|
||||||
PLURALS:
|
PLURALS:
|
||||||
one: 'Unu kampo por dosiera alŝuto'
|
one: 'Unu kampo por dosiera alŝuto'
|
||||||
@ -176,6 +190,7 @@ eo:
|
|||||||
TITLE: Titolo
|
TITLE: Titolo
|
||||||
VALUE: Valoro
|
VALUE: Valoro
|
||||||
SilverStripe\UserForms\Model\EditableFormField\EditableNumericField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableNumericField:
|
||||||
|
ORDER_WARNING: 'La minimuma longo devus esti malpli ol la maksimuma longo.'
|
||||||
PLURALNAME: 'Numeraj kampoj'
|
PLURALNAME: 'Numeraj kampoj'
|
||||||
PLURALS:
|
PLURALS:
|
||||||
one: 'Unu numera kampo'
|
one: 'Unu numera kampo'
|
||||||
@ -198,6 +213,9 @@ eo:
|
|||||||
SilverStripe\UserForms\Model\EditableFormField\EditableTextField:
|
SilverStripe\UserForms\Model\EditableFormField\EditableTextField:
|
||||||
AUTOCOMPLETE: 'Aŭtomate kompletigi'
|
AUTOCOMPLETE: 'Aŭtomate kompletigi'
|
||||||
AUTOCOMPLETE_DESCRIPTION: 'Subtenataj TTT-legiloj provos aŭtomate plenigi ĉi tiun kampon per uzantinformo, uzu ĝin por agordi la enan valoron'
|
AUTOCOMPLETE_DESCRIPTION: 'Subtenataj TTT-legiloj provos aŭtomate plenigi ĉi tiun kampon per uzantinformo, uzu ĝin por agordi la enan valoron'
|
||||||
|
MAX_LENGTH: 'Maksimuma longo de teksto'
|
||||||
|
MIN_LENGTH: 'Minimuma longo de teksto'
|
||||||
|
MINMAXLENGTHCHECK: 'La minimuma longo devus esti malpli ol la maksimuma longo.'
|
||||||
NUMBERROWS: 'Nombro da vicoj'
|
NUMBERROWS: 'Nombro da vicoj'
|
||||||
NUMBERROWS_DESCRIPTION: 'Kampoj kun pli ol unu vico generiĝos kiel tekstareo'
|
NUMBERROWS_DESCRIPTION: 'Kampoj kun pli ol unu vico generiĝos kiel tekstareo'
|
||||||
PLURALNAME: 'Tekstaj kampoj'
|
PLURALNAME: 'Tekstaj kampoj'
|
||||||
@ -212,6 +230,7 @@ eo:
|
|||||||
EMAILCONTENTTAB: 'Retpoŝta enhavo'
|
EMAILCONTENTTAB: 'Retpoŝta enhavo'
|
||||||
EMAILDETAILSTAB: 'Retpoŝtaj detaloj'
|
EMAILDETAILSTAB: 'Retpoŝtaj detaloj'
|
||||||
EMAILFROMREQUIRED: '"Retpoŝto de" estas bezonata'
|
EMAILFROMREQUIRED: '"Retpoŝto de" estas bezonata'
|
||||||
|
EMAILTOREQUIRED: '"Sendi retpoŝton al" adreso aŭ kampo estas bezonata'
|
||||||
PLURALNAME: 'Retpoŝtaj ricevontoj'
|
PLURALNAME: 'Retpoŝtaj ricevontoj'
|
||||||
PLURALS:
|
PLURALS:
|
||||||
one: 'Unu retpoŝta ricevonto'
|
one: 'Unu retpoŝta ricevonto'
|
||||||
@ -280,3 +299,4 @@ eo:
|
|||||||
TYPEREPLY: 'Tajpi respondan adreson'
|
TYPEREPLY: 'Tajpi respondan adreson'
|
||||||
TYPESUBJECT: 'Tajpi temon'
|
TYPESUBJECT: 'Tajpi temon'
|
||||||
TYPETO: 'Tajpi al-adreson'
|
TYPETO: 'Tajpi al-adreson'
|
||||||
|
UnrestrictedFileUploadWarning: 'Aliro al la "{path}" de la aktuala alŝuta dosierujo ne estas limigita. Alŝutitaj dosieroj estos publike alireblaj se la ekzakta URL estas konata.'
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
"lint": "yarn lint-js && yarn lint-sass",
|
"lint": "yarn lint-js && yarn lint-sass",
|
||||||
"lint-js": "eslint client/src",
|
"lint-js": "eslint client/src",
|
||||||
"lint-js-fix": "eslint client/src --fix",
|
"lint-js-fix": "eslint client/src --fix",
|
||||||
"lint-sass": "sass-lint client/src"
|
"lint-sass": "sass-lint client/src",
|
||||||
|
"test": "true"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -31,7 +32,8 @@
|
|||||||
"homepage": "https://github.com/silverstripe/silverstripe-userforms#readme",
|
"homepage": "https://github.com/silverstripe/silverstripe-userforms#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@silverstripe/eslint-config": "^0.0.5",
|
"@silverstripe/eslint-config": "^0.0.5",
|
||||||
"@silverstripe/webpack-config": "^1.3.0"
|
"@silverstripe/webpack-config": "^1.3.0",
|
||||||
|
"copy-webpack-plugin": "^4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-preset-es2016": "^6.24.1",
|
"babel-preset-es2016": "^6.24.1",
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
<ruleset name="SilverStripe">
|
<ruleset name="SilverStripe">
|
||||||
<description>CodeSniffer ruleset for SilverStripe coding conventions.</description>
|
<description>CodeSniffer ruleset for SilverStripe coding conventions.</description>
|
||||||
|
|
||||||
|
<file>code</file>
|
||||||
|
<file>tests</file>
|
||||||
|
|
||||||
<!-- base rules are PSR-2 -->
|
<!-- base rules are PSR-2 -->
|
||||||
<rule ref="PSR2" >
|
<rule ref="PSR2" >
|
||||||
<!-- Current exclusions -->
|
<!-- Current exclusions -->
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
const Path = require('path');
|
const Path = require('path');
|
||||||
// Import the core config
|
// Import the core config
|
||||||
const webpackConfig = require('@silverstripe/webpack-config');
|
const webpackConfig = require('@silverstripe/webpack-config');
|
||||||
|
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||||
const {
|
const {
|
||||||
resolveJS,
|
resolveJS,
|
||||||
externalJS,
|
externalJS,
|
||||||
@ -49,7 +50,11 @@ const config = [
|
|||||||
resolve: resolveJS(ENV, PATHS),
|
resolve: resolveJS(ENV, PATHS),
|
||||||
externals: externalJS(ENV, PATHS),
|
externals: externalJS(ENV, PATHS),
|
||||||
module: moduleJS(ENV, PATHS),
|
module: moduleJS(ENV, PATHS),
|
||||||
plugins: pluginJS(ENV, PATHS),
|
plugins: pluginJS(ENV, PATHS).concat([
|
||||||
|
new CopyWebpackPlugin([
|
||||||
|
{ from: 'client/src/images', to: 'images' },
|
||||||
|
])
|
||||||
|
])
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'css',
|
name: 'css',
|
||||||
|