Merge pull request #1076 from creative-commoners/pulls/5.9/revert-translations

FIX Add namespaces back to translation files, use EditibleFileField class
This commit is contained in:
Maxime Rainville 2021-06-01 14:45:26 +12:00 committed by GitHub
commit 38a498ae9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 19 additions and 23 deletions

View File

@ -145,7 +145,7 @@ class EditableFileField extends EditableFormField
$treeView = TreeDropdownField::create(
'FolderID',
_t('EditableUploadField.SELECTUPLOADFOLDER', 'Select upload folder'),
_t(__CLASS__.'.SELECTUPLOADFOLDER', 'Select upload folder'),
Folder::class
);
$treeView->setDescription(static::getFolderPermissionString($this->Folder()));

View File

@ -1,11 +1,9 @@
de_DE:
EditableFormField:
php:
SilverStripe\UserForms\Model\EditableFormFieldTYPE_EMPTY: 'Wähle Feld-Typ'
EditableTextField:
php:
SilverStripe\UserForms\Model\EditableFormField\EditableTextFieldMINMAXLENGTHCHECK: 'Minimale Länge sollte kleiner als maximale Länge sein'
EditableUploadField:
SilverStripe\UserForms\Model\EditableFormField:
TYPE_EMPTY: 'Wähle Feld-Typ'
SilverStripe\UserForms\Model\EditableTextField:
MINMAXLENGTHCHECK: 'Minimale Länge sollte kleiner als maximale Länge sein'
SilverStripe\UserForms\Model\EditableFileField:
SELECTUPLOADFOLDER: 'Ordner für den Upload auswählen'
SilverStripe\UserForms:
ADDEMAILRECIPIENT: 'E-Mail-Empfänger hinzufügen'

View File

@ -1,5 +1,5 @@
en:
EditableUploadField:
SilverStripe\UserForms\Model\SilverStripe\UserForms\Model\EditableFileField:
SELECTUPLOADFOLDER: 'Select upload folder'
SilverStripe\CMS\Model\SiteTree:
TABMAIN: Main

View File

@ -1,11 +1,9 @@
eo:
EditableFormField:
php:
SilverStripe\UserForms\Model\EditableFormFieldTYPE_EMPTY: 'Elekti tipon de kampo'
EditableTextField:
php:
SilverStripe\UserForms\Model\EditableFormField\EditableTextFieldMINMAXLENGTHCHECK: 'La minimuma longo devus esti malpli ol la maksimuma longo.'
EditableUploadField:
SilverStripe\UserForms\Model\EditableFormField:
TYPE_EMPTY: 'Elekti tipon de kampo'
SilverStripe\UserForms\Model\EditableTextField:
MINMAXLENGTHCHECK: 'La minimuma longo devus esti malpli ol la maksimuma longo.'
SilverStripe\UserForms\Model\EditableFileField:
SELECTUPLOADFOLDER: 'Elekti alŝutan dosierujon'
SilverStripe\CMS\Model\SiteTree:
TABMAIN: Ĉefa

View File

@ -1,5 +1,5 @@
es_ES:
EditableUploadField:
SilverStripe\UserForms\Model\EditableFileField:
SELECTUPLOADFOLDER: 'Seleccionar carpeta de carga'
SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader:
FILTERSUBMISSIONS: 'Filtrar envíos.'

View File

@ -1,5 +1,5 @@
fi_FI:
EditableUploadField:
SilverStripe\UserForms\Model\EditableFileField:
SELECTUPLOADFOLDER: 'Valitse siirtokansio'
SilverStripe\CMS\Model\SiteTree:
TABMAIN: Päätaso

View File

@ -1,5 +1,5 @@
it:
EditableUploadField:
SilverStripe\UserForms\Model\EditableFileField:
SELECTUPLOADFOLDER: 'Seleziona la cartella di caricamento'
SilverStripe\UserForms\Extension\UserFormFieldEditorExtension:
ADD_FIELD: 'Aggiungi campo'

View File

@ -1,5 +1,5 @@
nl_NL:
EditableUploadField:
SilverStripe\UserForms\Model\EditableFileField:
SELECTUPLOADFOLDER: 'Selecteer upload locatie'
SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader:
FILTERSUBMISSIONS: 'Inzendingen filteren'

View File

@ -1,5 +1,5 @@
pl_PL:
EditableUploadField:
SilverStripe\UserForms\Model\EditableFileField:
SELECTUPLOADFOLDER: 'Wybierz folder dla przesyłanych plików'
SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader:
FILTERSUBMISSIONS: 'Zgłoszenia filtrów ..'

View File

@ -1,5 +1,5 @@
sk:
EditableUploadField:
SilverStripe\UserForms\Model\EditableFileField:
SELECTUPLOADFOLDER: 'Priečinok na nahrávanie súborov'
SilverStripe\UserForms\Extension\UserFormFieldEditorExtension:
ADD_FIELD: 'Pridať políčko'

View File

@ -1,5 +1,5 @@
sv:
EditableUploadField:
SilverStripe\UserForms\Model\EditableFileField:
SELECTUPLOADFOLDER: 'Välj uppladdningsmapp'
SilverStripe\UserForms\Form\UserFormsGridFieldFilterHeader:
FILTERSUBMISSIONS: 'Filtrera inskickade svar'