Skip to content

Commit

Permalink
Update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-rainville committed Jun 16, 2020
1 parent 03b3265 commit c0c4698
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 35 deletions.
6 changes: 2 additions & 4 deletions client/lang/en.js
Expand Up @@ -19,8 +19,6 @@ if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
"UserForms.HIDE_OPTIONS": "Hide options",
"UserForms.LEAVE_CONFIRMATION": "You have unsaved changes!",
"UserForms.REMOVED_OPTION": "Removed option",
"UserForms.SHOW_OPTIONS": "Show options",
"UserForms.FILE_CONFIRMATION_TITLE": "Select file upload folder",
"UserForms.FILE_CONFIRMATION_CONFIRMATION": "Folder confirmed successfully."
"UserForms.SHOW_OPTIONS": "Show options"
});
}
}
6 changes: 2 additions & 4 deletions client/lang/src/en.js
Expand Up @@ -12,7 +12,5 @@
"UserForms.HIDE_OPTIONS": "Hide options",
"UserForms.LEAVE_CONFIRMATION": "You have unsaved changes!",
"UserForms.REMOVED_OPTION": "Removed option",
"UserForms.SHOW_OPTIONS": "Show options",
"UserForms.FILE_CONFIRMATION_TITLE": "Select file upload folder",
"UserForms.FILE_CONFIRMATION_CONFIRMATION": "Folder confirmed successfully."
}
"UserForms.SHOW_OPTIONS": "Show options"
}
31 changes: 18 additions & 13 deletions lang/en.yml
@@ -1,4 +1,6 @@
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:
Expand All @@ -22,6 +24,15 @@ en:
SUBMITBUTTON: Submit
TEXTONCLEAR: 'Text on clear button:'
TEXTONSUBMIT: 'Text on submit button:'
SilverStripe\UserForms\Control\UserDefinedFormAdmin:
CONFIRM_FOLDER_LABEL_A: 'Files that your users upload should be stored carefully to reduce the risk of exposing sensitive data. Ensure the folder you select can only be viewed by appropriate parties. Folder permissions can be managed within the Files area.'
CONFIRM_FOLDER_LABEL_B: 'The folder selected will become the default for this form. This can be changed on an individual basis in the <i>File upload field.</i>'
FOLDER_OPTIONS_EXISTING: 'Use an existing folder'
FOLDER_OPTIONS_NEW: 'Create a new folder (recommended)'
FOLDER_OPTIONS_TITLE: 'Form folder options'
FORM_ACTION_CONFIRM: 'Save and continue'
INVALID_REQUEST: 'This request was invalid.'
MENUTITLE: SilverStripe\UserForms\Control\UserDefinedForm
SilverStripe\UserForms\Extension\UserFormFieldEditorExtension:
ADD_FIELD: 'Add Field'
ADD_FIELD_GROUP: 'Add Field Group'
Expand Down Expand Up @@ -132,6 +143,10 @@ en:
other: '{count} Editable Field Group Ends'
SINGULARNAME: 'Editable Field Group End'
SilverStripe\UserForms\Model\EditableFormField\EditableFileField:
ANYONE: 'Unrestricted access, uploads will be visible to anyone'
INHERIT: 'Visibility for this folder is inherited from the parent folder'
LOGGED_IN: 'Restricted access, uploads will be visible to logged-in users'
ONLY_GROUPS: 'Restricted access, uploads will be visible to the following groups:'
PLURALNAME: 'File Upload Fields'
PLURALS:
one: 'A File Upload Field'
Expand Down Expand Up @@ -203,6 +218,8 @@ en:
SilverStripe\UserForms\Model\EditableFormField\EditableTextField:
AUTOCOMPLETE: Autocomplete
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'
NUMBERROWS: 'Number of rows'
NUMBERROWS_DESCRIPTION: 'Fields with more than one row will be generated as a textarea'
PLURALNAME: 'Text Fields'
Expand Down Expand Up @@ -261,7 +278,6 @@ en:
EMAIL_RECIPIENT_UNSAVED_FORM: 'You will be able to select from valid form fields after saving this record.'
EmailFromContent: 'The from address allows you to set who the email comes from. On most servers this will need to be set to an email address on the same domain name as your site. For example on yoursite.com the from address may need to be something@yoursite.com. You can however, set any email address you wish as the reply to address.'
FROMADDRESS: 'Send email from'
UnrestrictedFileUploadWarning: 'Access to the current upload folder "{path}" is not restricted. Uploaded files will be publicly accessible if the exact URL is known.'
HIDEFORMDATA: 'Hide form data from email?'
ORSELECTAFIELDTOUSEASFROM: '.. or select a field to use as reply to address'
ORSELECTAFIELDTOUSEASTO: '.. or select a field to use as the to address'
Expand All @@ -287,15 +303,4 @@ en:
TYPEREPLY: 'Type reply address'
TYPESUBJECT: 'Type subject'
TYPETO: 'Type to address'
SilverStripe\UserForms\Control\UserDefinedFormController:
INVALID_REQUEST: 'This request was invalid.'
CONFIRM_FOLDER_LABEL_A: 'Files that your users upload should be stored carefully to reduce the risk of exposing sensitive data. Ensure the folder you select can only be viewed by appropriate parties. Folder permissions can be managed within the Files area.'
CONFIRM_FOLDER_LABEL_B: 'The folder selected will become the default for this form. This can be changed on an individual basis in the <i>File upload field.</i>'
FOLDER_OPTIONS_TITLE: 'Form folder options'
FOLDER_OPTIONS_NEW: 'Create a new folder (recommended)'
FOLDER_OPTIONS_EXISTING: 'Use an existing folder'
FORM_ACTION_CONFIRM: 'Save and continue'
FOLDER_PERMISSIONS_INHERIT: 'Visibility for this folder is inherited from the parent folder'
FOLDER_PERMISSIONS_ANYONE: 'Unrestricted access, uploads will be visible to anyone'
FOLDER_PERMISSIONS_LOGGED_IN: 'Restricted access, uploads will be visible to logged-in users'
FOLDER_PERMISSIONS_ONLY_GROUPS: 'Restricted access, uploads will be visible to the following groups:'
UnrestrictedFileUploadWarning: 'Access to the current upload folder "{path}" is not restricted. Uploaded files will be publicly accessible if the exact URL is known.'
7 changes: 3 additions & 4 deletions lang/eo.yml
Expand Up @@ -50,10 +50,7 @@ eo:
DEFAULT: 'Apriora valoro'
DEFAULTTOTODAY: 'Ĉu apriorie hodiaŭ?'
DISPLAYIF: 'Baskuligi videblecon kiam'
DRAG: 'Ŝovi por rearanĝi kampojn'
ENTERQUESTION: 'Enigi demandon'
EXTRACLASSA: 'Ekstra stilado/aranĝado'
EXTRACLASSB: 'Ekstra css-klaso - apartigi opojn per spaceto'
DISPLAY_RULES_DISABLED: 'Vidigaj reguloj ne estas enŝaltitaj por bezonataj kampoj. Por reaktivigi ĝin, bonvolu malmarki "Ĉu ĉi tiu kampo estas bezonata?" sub "Validigo".'
EXTRACLASS_MULTIPLE: 'Disigi ĉiun CSS-klason per unu spaceto'
EXTRACLASS_SELECT: 'Elekti el la listo de eblaj stiloj'
EXTRACLASS_TITLE: 'Ekstra stilado/aranĝado'
Expand Down Expand Up @@ -211,6 +208,8 @@ eo:
RANGE_TO: al
SINGULARNAME: 'Teksta kampo'
TEXTLENGTH: 'Permesata longo de teksto'
SilverStripe\UserForms\Model\EditableFormField\Validator:
REQUIRED_ERROR: 'Formularaj kampoj ne povas esti nepraj kaj havi kondiĉajn vidigoregulojn.'
SilverStripe\UserForms\Model\Recipient\EmailRecipient:
CUSTOMRULESTAB: 'Propraj reguloj'
EMAILCONTENTTAB: 'Retpoŝta enhavo'
Expand Down
8 changes: 3 additions & 5 deletions lang/it.yml
Expand Up @@ -27,11 +27,7 @@ it:
CUSTOMRULES: 'Regole personalizzate'
DEFAULT: 'Valore di default'
DEFAULTTOTODAY: 'Di default a oggi?'
DELETE: Elimina
DRAG: 'Trascina per riordinare l''ordine dei campi'
ENTERQUESTION: 'Inserisci la domanda'
EXTRACLASSA: 'Stile/Layout extra'
EXTRACLASSB: 'Classe CSS extra - separa valori multipli con uno spazio'
DISPLAY_RULES_DISABLED: 'Le regole di visualizzazione non sono attivate per i campi richiesti. Per piacere deseleziona "Questo campo è obbligatorio?" sotto "Validazione" per riabilitarle.'
EXTRACLASS_MULTIPLE: 'Separa ogni classe CSS con uno spazio singolo'
EXTRACLASS_SELECT: 'Seleziona da una lista di stili consentiti'
EXTRACLASS_TITLE: 'Stile/Layout extra'
Expand Down Expand Up @@ -120,6 +116,8 @@ it:
RANGE_TO: a
SINGULARNAME: 'Campo testo'
TEXTLENGTH: 'Lunghezza testo consentita'
SilverStripe\UserForms\Model\EditableFormField\Validator:
REQUIRED_ERROR: 'I campi dei form non possono essere obbligatori e avere regole di visualizzazione condizionali.'
SilverStripe\UserForms\Model\Recipient\EmailRecipient:
CUSTOMRULESTAB: 'Regole personalizzate'
EMAILCONTENTTAB: 'Contenuto dell''e-mail'
Expand Down
8 changes: 3 additions & 5 deletions lang/sk.yml
Expand Up @@ -27,11 +27,7 @@ sk:
CUSTOMRULES: 'Vlastné pravidlá'
DEFAULT: 'Predvolená hodnota'
DEFAULTTOTODAY: 'Zobraziť v predvolenom režime na dnešný dátum?'
DELETE: Vymazať
DRAG: 'Ťahaním preskupiť poradie polí'
ENTERQUESTION: 'Zadajte otázku'
EXTRACLASSA: 'Extra úprava/vzhľad'
EXTRACLASSB: 'Extra CSS triedy - viaceré triedy oddeľujte medzerou'
DISPLAY_RULES_DISABLED: 'Pravidlá zobrazenia nie sú povolené pre povinné/vyžadované polia. Prosím odškrtnite "Je pole povinné/vyžadované?" na záložke "Validácia".'
EXTRACLASS_MULTIPLE: 'Jednotlivé CSS triedy oddeľte jednou medzerou'
EXTRACLASS_SELECT: 'Vyberte si zo zoznamu povolených štýlov'
EXTRACLASS_TITLE: 'Extra úprava/vzhľad'
Expand Down Expand Up @@ -120,6 +116,8 @@ sk:
RANGE_TO: do
SINGULARNAME: 'Textové pole'
TEXTLENGTH: 'Povolená dĺžka textu'
SilverStripe\UserForms\Model\EditableFormField\Validator:
REQUIRED_ERROR: 'Formulárové polia nemôžu byť vyžadované, ak majú podmienené pravidlá zobrazenia.'
SilverStripe\UserForms\Model\Recipient\EmailRecipient:
CUSTOMRULESTAB: 'Vlastné pravidlá'
EMAILCONTENTTAB: 'Obsah e-mailu'
Expand Down

0 comments on commit c0c4698

Please sign in to comment.