Skip to content

Commit

Permalink
TASK: Refactor UI Validator translations to Neos.Neos.Ui package
Browse files Browse the repository at this point in the history
  • Loading branch information
crydotsnake committed Sep 8, 2023
1 parent 684bb2f commit ddb62c8
Show file tree
Hide file tree
Showing 43 changed files with 2,426 additions and 16 deletions.
84 changes: 84 additions & 0 deletions Resources/Private/Translations/ar/Main.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,90 @@
<trans-unit id="UI.RightSideBar.tabs.validationErrorTooltip[0]" xml:space="preserve">
<source>{tabName} – {amountOfErrors} validation issue</source>
</trans-unit>
<trans-unit id="content.inspector.validators.stringLength.outOfBounds" xml:space="preserve">
<source>The length of this text must be between {minimum} and {maximum} characters.</source>
<target state="translated">يجب أن يكون طول هذا النص بين {minimum} و {maximum} حرفاً.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.stringLength.smallerThanMinimum" xml:space="preserve">
<source>This field must contain at least {minimum} characters.</source>
<target state="translated">هذا المجال يجب ان يحتوى على الاقل {minimum} حروف.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.stringLength.greaterThanMaximum" xml:space="preserve">
<source>This text may not exceed {maximum} characters.</source>
<target state="translated">النص لايجب ان يتخطى{maximum} حروف.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.alphanumericValidator" xml:space="preserve">
<source>Only regular characters (a to z, umlauts, ...) and numbers are allowed.</source>
<target state="translated">Only regular characters (a to z, umlauts, ...) and numbers are allowed.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.countValidator.notCountable" xml:space="preserve">
<source>The given subject was not countable.</source>
<target state="needs-translation">The given subject was not countable.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.countValidator.countBetween" xml:space="preserve">
<source>The count must be between {minimum} and {maximum}.</source>
<target state="translated">الاحصاء يجب ان يكون بين{minimum} و {maximum}.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.invalidDate" xml:space="preserve">
<source>The given value was not a valid date.</source>
<target state="translated">القيمة المعطاة لم تكن تاريخاً صالحاً.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.mustBeBetween" xml:space="preserve">
<source>The given date must be between {formatEarliestDate} and {formatLatestDate}</source>
<target state="translated">التاريخ المعطى يجب ان يكون بين{formatEarliestDate} و {formatLatestDate}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.mustBeAfter" xml:space="preserve">
<source>The given date must be after {formatEarliestDate}</source>
<target state="needs-translation">The given date must be after {formatEarliestDate}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.mustBeBefore" xml:space="preserve">
<source>The given date must be before {formatLatestDate}</source>
<target state="needs-translation">The given date must be before {formatLatestDate}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.emailAddressValidator.invalidEmail" xml:space="preserve">
<source>Please specify a valid email address.</source>
<target state="translated">الرجاء تحديد عنوان بريد إلكتروني صالح.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.floatValidator.validFloatExpected" xml:space="preserve">
<source>A valid float number is expected.</source>
<target state="needs-translation">A valid float number is expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.integerValidator.aValidIntegerNumberIsExpected" xml:space="preserve">
<source>A valid integer number is expected.</source>
<target state="needs-translation">A valid integer number is expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.labelValidator.invalidLabel" xml:space="preserve">
<source>Only letters, numbers, spaces and certain punctuation marks are expected.</source>
<target state="translated">يُسمح ببعض الحروف، والأرقام، والفراغات، وعلامات الترقيم.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.notEmptyValidator.isEmpty" xml:space="preserve">
<source>This property is required.</source>
<target state="translated">هذه الخاصية مطلوبة.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.numberRangeValidator.validNumberExpected" xml:space="preserve">
<source>A valid number is expected.</source>
<target state="needs-translation">A valid number is expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.numberRangeValidator.numberShouldBeInRange" xml:space="preserve">
<source>Please enter a valid number between {minimum} and {maximum}</source>
<target state="translated">الرجاء إدخل رقم صالح بين {minimum} و{maximum}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.regularExpressionValidator.patternDoesNotMatch" xml:space="preserve">
<source>The given subject did not match the pattern ({pattern})</source>
<target state="needs-translation">The given subject did not match the pattern ({pattern})</target>
</trans-unit>
<trans-unit id="content.inspector.validators.stringValidator.stringIsExpected" xml:space="preserve">
<source>A valid string is expected.</source>
<target state="needs-translation">A valid string is expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.textValidator.validTextWithoutAnyXMLtagsIsExpected" xml:space="preserve">
<source>Valid text without any XML tags is expected.</source>
<target state="needs-translation">Valid text without any XML tags is expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.uuidValidator.invalidUuid" xml:space="preserve">
<source>The given subject is not a valid UUID.</source>
<target state="needs-translation">The given subject is not a valid UUID.</target>
</trans-unit>
</body>
</file>
</xliff>
84 changes: 84 additions & 0 deletions Resources/Private/Translations/cs/Main.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,90 @@
<trans-unit id="inspectorMutlipleContentNodesSelectedTooltip" xml:space="preserve">
<source>Select a single document in order to be able to edit its properties</source>
</trans-unit>
<trans-unit id="content.inspector.validators.stringLength.outOfBounds" xml:space="preserve">
<source>The length of this text must be between {minimum} and {maximum} characters.</source>
<target state="needs-translation">The length of this text must be between {minimum} and {maximum} characters.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.stringLength.smallerThanMinimum" xml:space="preserve">
<source>This field must contain at least {minimum} characters.</source>
<target state="needs-translation">This field must contain at least {minimum} characters.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.stringLength.greaterThanMaximum" xml:space="preserve">
<source>This text may not exceed {maximum} characters.</source>
<target state="needs-translation">This text may not exceed {maximum} characters.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.alphanumericValidator" xml:space="preserve">
<source>Only regular characters (a to z, umlauts, ...) and numbers are allowed.</source>
<target state="translated">Jsou povoleny pouze znaky a–z a číslice.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.countValidator.notCountable" xml:space="preserve">
<source>The given subject was not countable.</source>
<target state="needs-translation">The given subject was not countable.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.countValidator.countBetween" xml:space="preserve">
<source>The count must be between {minimum} and {maximum}.</source>
<target state="needs-translation">The count must be between {minimum} and {maximum}.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.invalidDate" xml:space="preserve">
<source>The given value was not a valid date.</source>
<target state="needs-translation">The given value was not a valid date.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.mustBeBetween" xml:space="preserve">
<source>The given date must be between {formatEarliestDate} and {formatLatestDate}</source>
<target state="needs-translation">The given date must be between {formatEarliestDate} and {formatLatestDate}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.mustBeAfter" xml:space="preserve">
<source>The given date must be after {formatEarliestDate}</source>
<target state="needs-translation">The given date must be after {formatEarliestDate}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.mustBeBefore" xml:space="preserve">
<source>The given date must be before {formatLatestDate}</source>
<target state="needs-translation">The given date must be before {formatLatestDate}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.emailAddressValidator.invalidEmail" xml:space="preserve">
<source>Please specify a valid email address.</source>
<target state="needs-translation">Please specify a valid email address.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.floatValidator.validFloatExpected" xml:space="preserve">
<source>A valid float number is expected.</source>
<target state="needs-translation">A valid float number is expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.integerValidator.aValidIntegerNumberIsExpected" xml:space="preserve">
<source>A valid integer number is expected.</source>
<target state="needs-translation">A valid integer number is expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.labelValidator.invalidLabel" xml:space="preserve">
<source>Only letters, numbers, spaces and certain punctuation marks are expected.</source>
<target state="needs-translation">Only letters, numbers, spaces and certain punctuation marks are expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.notEmptyValidator.isEmpty" xml:space="preserve">
<source>This property is required.</source>
<target state="needs-translation">This property is required.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.numberRangeValidator.validNumberExpected" xml:space="preserve">
<source>A valid number is expected.</source>
<target state="needs-translation">A valid number is expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.numberRangeValidator.numberShouldBeInRange" xml:space="preserve">
<source>Please enter a valid number between {minimum} and {maximum}</source>
<target state="needs-translation">Please enter a valid number between {minimum} and {maximum}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.regularExpressionValidator.patternDoesNotMatch" xml:space="preserve">
<source>The given subject did not match the pattern ({pattern})</source>
<target state="needs-translation">The given subject did not match the pattern ({pattern})</target>
</trans-unit>
<trans-unit id="content.inspector.validators.stringValidator.stringIsExpected" xml:space="preserve">
<source>A valid string is expected.</source>
<target state="needs-translation">A valid string is expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.textValidator.validTextWithoutAnyXMLtagsIsExpected" xml:space="preserve">
<source>Valid text without any XML tags is expected.</source>
<target state="needs-translation">Valid text without any XML tags is expected.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.uuidValidator.invalidUuid" xml:space="preserve">
<source>The given subject is not a valid UUID.</source>
<target state="needs-translation">The given subject is not a valid UUID.</target>
</trans-unit>
</body>
</file>
</xliff>
84 changes: 84 additions & 0 deletions Resources/Private/Translations/da/Main.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,90 @@
<source>Preformatted</source>
<target state="translated">Forformateret</target>
</trans-unit>
<trans-unit id="content.inspector.validators.stringLength.outOfBounds" xml:space="preserve" approved="no">
<source>The length of this text must be between {minimum} and {maximum} characters.</source>
<target state="translated">Længden af denne tekst skal være mellem {minimum} og {maximum} tegn.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.stringLength.smallerThanMinimum" xml:space="preserve" approved="no">
<source>This field must contain at least {minimum} characters.</source>
<target state="translated">Dette felt skal indeholde mindst {minimum} tegn.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.stringLength.greaterThanMaximum" xml:space="preserve" approved="no">
<source>This text may not exceed {maximum} characters.</source>
<target state="translated">Denne tekst må ikke overstige {maximum} tegn.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.alphanumericValidator" xml:space="preserve" approved="yes">
<source>Only regular characters (a to z, umlauts, ...) and numbers are allowed.</source>
<target state="final">Kun almindelige bogstaver (a-z, æøå) og tal er tilladt.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.countValidator.notCountable" xml:space="preserve" approved="yes">
<source>The given subject was not countable.</source>
<target state="final">Givet emne var ikke tællelig.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.countValidator.countBetween" xml:space="preserve" approved="no">
<source>The count must be between {minimum} and {maximum}.</source>
<target state="translated">Optællingen skal være mellem {minimum} og {maximum}.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.invalidDate" xml:space="preserve" approved="yes">
<source>The given value was not a valid date.</source>
<target state="final">Den angivne værdi er ikke en gyldig dato.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.mustBeBetween" xml:space="preserve" approved="no">
<source>The given date must be between {formatEarliestDate} and {formatLatestDate}</source>
<target state="translated">Den angivne dato skal være mellem {formatEarliestDate} og {formatLatestDate}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.mustBeAfter" xml:space="preserve" approved="no">
<source>The given date must be after {formatEarliestDate}</source>
<target state="translated">Den angivne dato skal være efter {formatEarliestDate}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.dateTimeRangeValidator.mustBeBefore" xml:space="preserve" approved="no">
<source>The given date must be before {formatLatestDate}</source>
<target state="translated">Den angivne dato skal være før {formatLatestDate}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.emailAddressValidator.invalidEmail" xml:space="preserve" approved="yes">
<source>Please specify a valid email address.</source>
<target state="final">Angiv venligst en gyldig e-mailadresse.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.floatValidator.validFloatExpected" xml:space="preserve" approved="yes">
<source>A valid float number is expected.</source>
<target state="final">Et gyldigt decimaltal forventes.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.integerValidator.aValidIntegerNumberIsExpected" xml:space="preserve" approved="yes">
<source>A valid integer number is expected.</source>
<target state="final">Et gyldigt heltal forventes.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.labelValidator.invalidLabel" xml:space="preserve" approved="yes">
<source>Only letters, numbers, spaces and certain punctuation marks are expected.</source>
<target state="final">Kun bogstaver, tal, mellemrum og visse skilletegn forventes.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.notEmptyValidator.isEmpty" xml:space="preserve" approved="yes">
<source>This property is required.</source>
<target state="final">Dette felt er påkrævet.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.numberRangeValidator.validNumberExpected" xml:space="preserve" approved="yes">
<source>A valid number is expected.</source>
<target state="final">Et gyldigt tal forventes.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.numberRangeValidator.numberShouldBeInRange" xml:space="preserve" approved="no">
<source>Please enter a valid number between {minimum} and {maximum}</source>
<target state="translated">Angiv venligst et gyldigt tal mellem {minimum} og {maximum}</target>
</trans-unit>
<trans-unit id="content.inspector.validators.regularExpressionValidator.patternDoesNotMatch" xml:space="preserve" approved="no">
<source>The given subject did not match the pattern ({pattern})</source>
<target state="translated">Den givne værdi matcher ikke mønsteret ({pattern})</target>
</trans-unit>
<trans-unit id="content.inspector.validators.stringValidator.stringIsExpected" xml:space="preserve" approved="yes">
<source>A valid string is expected.</source>
<target state="final">En gyldig streng forventes.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.textValidator.validTextWithoutAnyXMLtagsIsExpected" xml:space="preserve" approved="yes">
<source>Valid text without any XML tags is expected.</source>
<target state="final">Gyldig tekst uden XML-tags er forventet.</target>
</trans-unit>
<trans-unit id="content.inspector.validators.uuidValidator.invalidUuid" xml:space="preserve" approved="yes">
<source>The given subject is not a valid UUID.</source>
<target state="final">Det givne emne er ikke et gyldigt UUID.</target>
</trans-unit>
</body>
</file>
</xliff>
Loading

0 comments on commit ddb62c8

Please sign in to comment.