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:
|
||||
- mysql
|
||||
- postgresql
|
||||
|
||||
env:
|
||||
global:
|
||||
- COMPOSER_ROOT_VERSION=5.x-dev
|
||||
- TRAVIS_NODE_VERSION="10"
|
||||
|
||||
matrix:
|
||||
jobs:
|
||||
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
|
||||
env: DB=MYSQL RECIPE_VERSION=4.x-dev PHPUNIT_TEST=1
|
||||
|
||||
before_script:
|
||||
# Init PHP
|
||||
- phpenv rehash
|
||||
- phpenv config-rm xdebug.ini
|
||||
- echo 'memory_limit=-1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
||||
|
||||
# Install composer dependencies
|
||||
- composer validate
|
||||
- composer require --no-update silverstripe/recipe-cms:$RECIPE_VERSION
|
||||
- if [[ $DB == PGSQL ]]; then composer require --no-update silverstripe/postgresql:^2 --prefer-dist; fi
|
||||
- composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile
|
||||
- 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
|
||||
|
||||
script:
|
||||
- if [[ $PHPUNIT_TEST ]]; then vendor/bin/phpunit; fi
|
||||
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then phpdbg -qrr vendor/bin/phpunit --coverage-clover=coverage.xml -vvv; fi
|
||||
- if [[ $PHPCS_TEST ]]; then composer run-script lint; fi
|
||||
- if [[ $NPM_TEST ]]; then git diff-files --quiet -w --relative=client; fi
|
||||
- if [[ $NPM_TEST ]]; then git diff -w --no-color --relative=client; fi
|
||||
- if [[ $NPM_TEST ]]; then yarn run lint; fi
|
||||
|
||||
after_success:
|
||||
- if [[ $PHPUNIT_COVERAGE_TEST ]]; then bash <(curl -s https://codecov.io/bash) -f coverage.xml; fi
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- REQUIRE_INSTALLER="4.6.x-dev"
|
||||
- NPM_TEST=1
|
||||
- php: 7.1
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- REQUIRE_INSTALLER="4.6.x-dev"
|
||||
- PHPUNIT_TEST=1
|
||||
- php: 7.2
|
||||
env:
|
||||
- DB=PGSQL
|
||||
- REQUIRE_INSTALLER="4.6.x-dev"
|
||||
- PHPUNIT_TEST=1
|
||||
- php: 7.3
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- REQUIRE_INSTALLER="4.7.x-dev"
|
||||
- PHPUNIT_TEST=1
|
||||
- PHPCS_TEST=1
|
||||
- php: 7.4
|
||||
env:
|
||||
- DB=MYSQL
|
||||
- REQUIRE_INSTALLER="4.x-dev"
|
||||
- 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();
|
||||
$fields->addFieldsToTab('Root.Main', [
|
||||
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;
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ class EditableTextField extends EditableFormField
|
||||
|
||||
if ($this->MinLength > $this->MaxLength) {
|
||||
$result->addError(_t(
|
||||
__CLASS__ . 'MINMAXLENGTHCHECK',
|
||||
__CLASS__ . '.MINMAXLENGTHCHECK',
|
||||
'Minimum length should be less than the Maximum length.'
|
||||
));
|
||||
}
|
||||
|
@ -38,7 +38,7 @@
|
||||
"silverstripe/mimevalidator": "^2.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.7",
|
||||
"sminnee/phpunit": "^5.7",
|
||||
"squizlabs/php_codesniffer": "^3.0"
|
||||
},
|
||||
"autoload": {
|
||||
|
121
lang/de_DE.yml
@ -1,30 +1,64 @@
|
||||
de_DE:
|
||||
EditableUploadField:
|
||||
SELECTUPLOADFOLDER: 'Ordner für den Upload auswählen'
|
||||
SilverStripe\UserForms:
|
||||
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:
|
||||
ADD_FIELD: 'Feld hinzufügen'
|
||||
ADD_FIELD_GROUP: 'Gruppe hinzufügen'
|
||||
ADD_PAGE_BREAK: 'Seite hinzufügen'
|
||||
FORMFIELDS: Formularfelder
|
||||
SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader:
|
||||
FILTERSUBMISSIONS: 'Einreichungen filtern...'
|
||||
WHEREVALUEIS: 'nach Wert...'
|
||||
FILTER: Filter
|
||||
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:
|
||||
CHECKEDBYDEFAULT: 'Standardmäßig ist dieses Feld markiert'
|
||||
CUSTOMERROR: 'Eigene Fehlermeldung'
|
||||
CUSTOMOPTIONS: Optionen
|
||||
CUSTOMRULES: 'Eigene Regeln'
|
||||
DEFAULT: Standardwert
|
||||
DEFAULTTOTODAY: 'Standardmäßig auf heute'
|
||||
EXTRACLASS_MULTIPLE: 'Mehrere CSS Klassen mit Leerzeichen trennen'
|
||||
EXTRACLASS_TITLE: 'Extra CSS Klassen'
|
||||
DISPLAYIF: 'Sichtbarkeit ändern wenn'
|
||||
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'
|
||||
GROUP: Gruppe
|
||||
INITIALVISIBILITY: 'Interne Sichtbarkeit'
|
||||
NAME: Name
|
||||
'NO': Nein
|
||||
PLACEHOLDER: Platzhalter
|
||||
PLURALNAME: 'Editierbare Formularfelder'
|
||||
REQUIRED: 'Pflichtfeld?'
|
||||
RIGHTTITLE: 'Titel rechts'
|
||||
SHOWINSUMMARY: 'Zeige in Zusammenfassung'
|
||||
SINGULARNAME: 'Editierbares Formularfeld'
|
||||
TITLE: Titel
|
||||
TYPE: Typ
|
||||
TYPE_EMPTY: 'Wähle Feld-Typ'
|
||||
VALIDATION: Validierung
|
||||
'YES': Ja
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableCheckbox:
|
||||
PLURALNAME: Checkboxen
|
||||
SINGULARNAME: 'Checkbox Feld'
|
||||
@ -32,8 +66,10 @@ de_DE:
|
||||
PLURALNAME: 'Checkbox Gruppen'
|
||||
SINGULARNAME: 'Checkbox Gruppe'
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableCountryDropdownField:
|
||||
PLURALNAME: 'Länder Dropdowns'
|
||||
SINGULARNAME: 'Länder Dropdown'
|
||||
DEFAULT: Standardwert
|
||||
EMPTY_STRING: 'Leere Zeichenkette'
|
||||
PLURALNAME: Länder-Dropdowns
|
||||
SINGULARNAME: Länder-Dropdown
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableDateField:
|
||||
PLURALNAME: Datumsfelder
|
||||
SINGULARNAME: Datumsfeld
|
||||
@ -41,11 +77,16 @@ de_DE:
|
||||
PLURALNAME: Dropdowns
|
||||
SINGULARNAME: 'Dropdown Feld'
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableEmailField:
|
||||
PLURALNAME: 'E-Mail Felder'
|
||||
SINGULARNAME: 'E-Mail Feld'
|
||||
PLURALNAME: E-Mail-Felder
|
||||
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:
|
||||
PLURALNAME: 'Dateiupload Felder'
|
||||
SINGULARNAME: 'Dateiupload Feld'
|
||||
PLURALNAME: Dateiupload-Felder
|
||||
SINGULARNAME: Dateiupload-Feld
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableFormHeading:
|
||||
LEVEL: 'Überschriftsebene auswählen'
|
||||
PLURALNAME: Überschriften
|
||||
@ -53,35 +94,60 @@ de_DE:
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableFormStep:
|
||||
PLURALNAME: Seiten
|
||||
SINGULARNAME: Seiten
|
||||
STEP_NEXT: Nächste
|
||||
STEP_PREV: Vorherige
|
||||
STEP_TITLE: 'Seite {page}'
|
||||
TITLE_FIRST: 'Erste Seite'
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableLiteralField:
|
||||
CONTENT: HTML
|
||||
HIDEFROMREPORT: 'Nicht in Berichten anzeigen?'
|
||||
PLURALNAME: 'HTML Blöcke'
|
||||
SINGULARNAME: 'HTML Block'
|
||||
HIDELABEL: '''Titel''-Label in Frontend verbergen?'
|
||||
PLURALNAME: HTML-Blöcke
|
||||
SINGULARNAME: HTML-Block
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableMemberListField:
|
||||
PLURALNAME: 'Member List Felder'
|
||||
SINGULARNAME: 'Member List Feld'
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableMultipleOptionField:
|
||||
DEFAULT: 'Standardmäßig ausgewählt?'
|
||||
OPTIONSTAB: Optionen
|
||||
PLURALNAME: 'Editierbare Multi-Option Felder'
|
||||
SINGULARNAME: 'Editierbares Multi-Option Feld'
|
||||
TITLE: Titel
|
||||
VALUE: Wert
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableNumericField:
|
||||
ORDER_WARNING: 'Minimale Länge sollte unter maximaler Länge liegen.'
|
||||
PLURALNAME: Zahlenfelder
|
||||
RANGE: 'Erlaubte nummerische Range'
|
||||
RANGE_TO: an
|
||||
SINGULARNAME: Zahlenfeld
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableOption:
|
||||
PLURALNAME: 'Editierbare Optionen'
|
||||
SINGULARNAME: 'Editierbare Option'
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableRadioField:
|
||||
PLURALNAME: Radio-Buttons
|
||||
PLURALNAME: Radio-Groups
|
||||
SINGULARNAME: Radio-Button
|
||||
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_DESCRIPTION: 'Felder mit mehr als einer Zeile werden als Text-Area generiert'
|
||||
PLURALNAME: Textfelder
|
||||
RANGE_TO: an
|
||||
SINGULARNAME: Textfeld
|
||||
TEXTLENGTH: Textlänge
|
||||
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'
|
||||
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:
|
||||
DOWNLOADFILE: 'Datei herunterladen'
|
||||
PLURALNAME: 'Abgesendete Dateifelder'
|
||||
@ -89,6 +155,7 @@ de_DE:
|
||||
SilverStripe\UserForms\Model\Submission\SubmittedForm:
|
||||
PLURALNAME: 'Abgesendete Formulare'
|
||||
SINGULARNAME: 'Abgesendetes Formular'
|
||||
SUBMITTER: Absender
|
||||
SilverStripe\UserForms\Model\Submission\SubmittedFormField:
|
||||
PLURALNAME: 'Abgesendete Formularfelder'
|
||||
SINGULARNAME: 'Abgesendetes Formularfeld'
|
||||
@ -99,13 +166,27 @@ de_DE:
|
||||
EMAILBODY: Inhalt
|
||||
EMAILFROM: Von
|
||||
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'
|
||||
HIDEFORMDATA: 'Formulardaten in E-Mail nicht anzeigen'
|
||||
ORSELECTAFIELDTOUSEASFROM: '.. oder wähle ein Formularfeld als Absenderadresse'
|
||||
ORSELECTAFIELDTOUSEASTO: '.. oder wähle ein Formularfeld als Empfängeradresse'
|
||||
REPLYADDRESS: 'E-Mail Adresse für "Antworten an"'
|
||||
ORSELECTAFIELDTOUSEASFROM: '.. oder ein Feld für Antwort-Adresse wählen'
|
||||
ORSELECTAFIELDTOUSEASTO: '.. oder wähle ein Feld als Empfänger-Adresse'
|
||||
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_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)'
|
||||
SINGULARNAME: 'Anpassbares Formular'
|
||||
SUBMITBUTTON: Senden
|
||||
TYPEREPLY: 'Antwort-Adresse eingeben'
|
||||
TYPESUBJECT: 'Betreff eingeben'
|
||||
TYPETO: 'Empfänger-Adresse eingeben'
|
||||
|
@ -1,10 +1,4 @@
|
||||
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:
|
||||
TABMAIN: Main
|
||||
SilverStripe\UserForms:
|
||||
@ -88,6 +82,7 @@ en:
|
||||
SINGULARNAME: 'Editable Form Field'
|
||||
TITLE: Title
|
||||
TYPE: Type
|
||||
TYPE_EMPTY: 'Select field type'
|
||||
VALIDATION: Validation
|
||||
'YES': 'Yes'
|
||||
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'
|
||||
MAX_LENGTH: 'Maximum text length'
|
||||
MIN_LENGTH: 'Minimum text length'
|
||||
MINMAXLENGTHCHECK: 'Minimum length should be less than the Maximum length.'
|
||||
NUMBERROWS: 'Number of rows'
|
||||
NUMBERROWS_DESCRIPTION: 'Fields with more than one row will be generated as a textarea'
|
||||
PLURALNAME: 'Text Fields'
|
||||
|
24
lang/eo.yml
@ -1,6 +1,4 @@
|
||||
eo:
|
||||
EditableUploadField:
|
||||
SELECTUPLOADFOLDER: 'Elekti alŝutan dosierujon'
|
||||
SilverStripe\CMS\Model\SiteTree:
|
||||
TABMAIN: Ĉefa
|
||||
SilverStripe\UserForms:
|
||||
@ -20,6 +18,15 @@ eo:
|
||||
SUBMITBUTTON: Sendi
|
||||
TEXTONCLEAR: 'Teksto sur vakiga 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:
|
||||
ADD_FIELD: 'Aldoni kampon'
|
||||
ADD_FIELD_GROUP: 'Aldoni kampogrupon'
|
||||
@ -32,8 +39,10 @@ eo:
|
||||
UNEXPECTED_GROUP_END: 'troviĝas ''{name}'' sen kongrua grupo'
|
||||
WRONG_GROUP_END: 'trovita ''{name}'' fermas malĝustan grupon ''{group}'''
|
||||
SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader:
|
||||
FILTER: Filtri
|
||||
FILTERSUBMISSIONS: 'Filtri sendaĵojn..'
|
||||
FROM: De
|
||||
RESET: Reagordi
|
||||
TILL: Ĝis
|
||||
WHEREVALUEIS: 'kie valoro estas..'
|
||||
SilverStripe\UserForms\Model\EditableCustomRule:
|
||||
@ -72,6 +81,7 @@ eo:
|
||||
SINGULARNAME: 'Redaktebla formulara kampo'
|
||||
TITLE: Titolo
|
||||
TYPE: Tipo
|
||||
TYPE_EMPTY: 'Elekti tipon de kampo'
|
||||
VALIDATION: Validigo
|
||||
'YES': Jes
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableCheckbox:
|
||||
@ -128,6 +138,10 @@ eo:
|
||||
other: '{count} redakteblaj kampaj grupaj finoj'
|
||||
SINGULARNAME: 'Finaĵo de redakteblaj kampaj grupoj'
|
||||
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'
|
||||
PLURALS:
|
||||
one: 'Unu kampo por dosiera alŝuto'
|
||||
@ -176,6 +190,7 @@ eo:
|
||||
TITLE: Titolo
|
||||
VALUE: Valoro
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableNumericField:
|
||||
ORDER_WARNING: 'La minimuma longo devus esti malpli ol la maksimuma longo.'
|
||||
PLURALNAME: 'Numeraj kampoj'
|
||||
PLURALS:
|
||||
one: 'Unu numera kampo'
|
||||
@ -198,6 +213,9 @@ eo:
|
||||
SilverStripe\UserForms\Model\EditableFormField\EditableTextField:
|
||||
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'
|
||||
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_DESCRIPTION: 'Kampoj kun pli ol unu vico generiĝos kiel tekstareo'
|
||||
PLURALNAME: 'Tekstaj kampoj'
|
||||
@ -212,6 +230,7 @@ eo:
|
||||
EMAILCONTENTTAB: 'Retpoŝta enhavo'
|
||||
EMAILDETAILSTAB: 'Retpoŝtaj detaloj'
|
||||
EMAILFROMREQUIRED: '"Retpoŝto de" estas bezonata'
|
||||
EMAILTOREQUIRED: '"Sendi retpoŝton al" adreso aŭ kampo estas bezonata'
|
||||
PLURALNAME: 'Retpoŝtaj ricevontoj'
|
||||
PLURALS:
|
||||
one: 'Unu retpoŝta ricevonto'
|
||||
@ -280,3 +299,4 @@ eo:
|
||||
TYPEREPLY: 'Tajpi respondan adreson'
|
||||
TYPESUBJECT: 'Tajpi temon'
|
||||
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-js": "eslint client/src",
|
||||
"lint-js-fix": "eslint client/src --fix",
|
||||
"lint-sass": "sass-lint client/src"
|
||||
"lint-sass": "sass-lint client/src",
|
||||
"test": "true"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -31,7 +32,8 @@
|
||||
"homepage": "https://github.com/silverstripe/silverstripe-userforms#readme",
|
||||
"devDependencies": {
|
||||
"@silverstripe/eslint-config": "^0.0.5",
|
||||
"@silverstripe/webpack-config": "^1.3.0"
|
||||
"@silverstripe/webpack-config": "^1.3.0",
|
||||
"copy-webpack-plugin": "^4"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-preset-es2016": "^6.24.1",
|
||||
|
@ -2,6 +2,9 @@
|
||||
<ruleset name="SilverStripe">
|
||||
<description>CodeSniffer ruleset for SilverStripe coding conventions.</description>
|
||||
|
||||
<file>code</file>
|
||||
<file>tests</file>
|
||||
|
||||
<!-- base rules are PSR-2 -->
|
||||
<rule ref="PSR2" >
|
||||
<!-- Current exclusions -->
|
||||
|
@ -1,6 +1,7 @@
|
||||
const Path = require('path');
|
||||
// Import the core config
|
||||
const webpackConfig = require('@silverstripe/webpack-config');
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const {
|
||||
resolveJS,
|
||||
externalJS,
|
||||
@ -49,7 +50,11 @@ const config = [
|
||||
resolve: resolveJS(ENV, PATHS),
|
||||
externals: externalJS(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',
|
||||
|