diff --git a/bin/extract-translations.sh b/bin/extract-translations.sh
index 2bbbbba64ba..248ffbfff27 100644
--- a/bin/extract-translations.sh
+++ b/bin/extract-translations.sh
@@ -6,29 +6,10 @@ echo '# Extract Kernel : EzPublishCoreBundle';
./app/console translation:extract en -v \
--dir=./vendor/ezsystems/ezpublish-kernel/eZ \
--exclude-dir=Bundle/PlatformBehatBundle \
- --exclude-dir=Bundle/EzPublishCoreBundle/Tests \
- --exclude-dir=Bundle/EzPublishCoreBundle/Features \
- --exclude-dir=Bundle/EzPublishDebugBundle/Tests \
- --exclude-dir=Bundle/EzPublishIOBundle/Tests \
- --exclude-dir=Bundle/EzPublishRestBundle/Tests \
- --exclude-dir=Bundle/EzPublishRestBundle/Features \
- --exclude-dir=Publish/API/Repository/Tests \
+ --exclude-dir=Tests \
+ --exclude-dir=Features \
--exclude-dir=Publish/Core/REST/Client \
- --exclude-dir=Publish/Core/Base/Tests \
- --exclude-dir=Publish/Core/FieldType/Tests \
- --exclude-dir=Publish/Core/Helper/Tests \
- --exclude-dir=Publish/Core/IO/Tests \
- --exclude-dir=Publish/Core/Limitation/Tests \
- --exclude-dir=Publish/Core/Pagination/Tests \
- --exclude-dir=Publish/Core/Persistence/Tests \
- --exclude-dir=Publish/Core/Persistence/Legacy/Tests \
- --exclude-dir=Publish/Core/Repository/Tests \
- --exclude-dir=Publish/Core/REST/Tests \
- --exclude-dir=Publish/Core/Search/Tests \
- --exclude-dir=Publish/Core/Search/Legacy/Tests \
- --exclude-dir=Publish/Core/SignalSlot/Tests \
- --exclude-dir=Publish/Core/settings/tests \
- --exclude-dir=Publish/SPI/Tests \
+ --exclude-dir=tests \
--output-dir=./vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/translations \
--enable-extractor=ez_fieldtypes \
--keep
@@ -37,4 +18,4 @@ echo '# Extract Kernel : EzPublishCoreBundle';
echo '# Clean file references';
sed -i "s|/../../../../.././vendor/ezsystems/ezpublish-kernel/|/|g" ./vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/translations/*.xlf
-echo 'Translation extraction done';
\ No newline at end of file
+echo 'Translation extraction done';
diff --git a/eZ/Bundle/EzPublishCoreBundle/Resources/translations/fieldtypes.en.xlf b/eZ/Bundle/EzPublishCoreBundle/Resources/translations/fieldtypes.en.xlf
new file mode 100644
index 00000000000..54e9c97f2a1
--- /dev/null
+++ b/eZ/Bundle/EzPublishCoreBundle/Resources/translations/fieldtypes.en.xlf
@@ -0,0 +1,144 @@
+
+
+
+
+
+ The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
+
+
+
+ ezauthor.name
+ Authors
+ key: ezauthor.name
+
+
+ ezbinaryfile.name
+ File
+ key: ezbinaryfile.name
+
+
+ ezboolean.name
+ Checkbox
+ key: ezboolean.name
+
+
+ ezcountry.name
+ Country
+ key: ezcountry.name
+
+
+ ezdate.name
+ Date
+ key: ezdate.name
+
+
+ ezdatetime.name
+ Date and time
+ key: ezdatetime.name
+
+
+ ezemail.name
+ E-mail address
+ key: ezemail.name
+
+
+ ezfloat.name
+ Float
+ key: ezfloat.name
+
+
+ ezgmaplocation.name
+ Map location
+ key: ezgmaplocation.name
+
+
+ ezimage.name
+ Image
+ key: ezimage.name
+
+
+ ezinteger.name
+ Integer
+ key: ezinteger.name
+
+
+ ezisbn.name
+ ISBN
+ key: ezisbn.name
+
+
+ ezkeyword.name
+ Keywords
+ key: ezkeyword.name
+
+
+ ezmedia.name
+ Media
+ key: ezmedia.name
+
+
+ ezobjectrelation.name
+ Content relation (single)
+ key: ezobjectrelation.name
+
+
+ ezobjectrelationlist.name
+ Content relations (multiple)
+ key: ezobjectrelationlist.name
+
+
+ ezpage.name
+ Layout
+ key: ezpage.name
+
+
+ ezrichtext.name
+ Rich text
+ key: ezrichtext.name
+
+
+ ezselection.name
+ Selection
+ key: ezselection.name
+
+
+ ezsrrating.name
+ Rating
+ key: ezsrrating.name
+
+
+ ezstring.name
+ Text line
+ key: ezstring.name
+
+
+ eztext.name
+ Text block
+ key: eztext.name
+
+
+ eztime.name
+ Time
+ key: eztime.name
+
+
+ ezurl.name
+ URL
+ key: ezurl.name
+
+
+ ezuser.name
+ User account
+ key: ezuser.name
+
+
+ ezprice.name
+ Price
+
+
+ ezxmltext.name
+ XML block
+
+
+
+
diff --git a/eZ/Bundle/EzPublishCoreBundle/Resources/translations/messages.en.xlf b/eZ/Bundle/EzPublishCoreBundle/Resources/translations/messages.en.xlf
index 9603dea0a0b..1fa70f1e4e8 100644
--- a/eZ/Bundle/EzPublishCoreBundle/Resources/translations/messages.en.xlf
+++ b/eZ/Bundle/EzPublishCoreBundle/Resources/translations/messages.en.xlf
@@ -1,147 +1,39 @@
-
+ The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
-
- '%actualValue%' is wrong value
- '%actualValue%' is wrong value
- key: '%actualValue%' is wrong value
- /eZ/Publish/Core/Base/Exceptions/InvalidArgumentValue.php
-
-
- '%actualValue%' is wrong value in class '%className%'
- '%actualValue%' is wrong value in class '%className%'
- key: '%actualValue%' is wrong value in class '%className%'
- /eZ/Publish/Core/Base/Exceptions/InvalidArgumentValue.php
-
-
- Argument '%argumentName%' has a bad state: %whatIsWrong%
- Argument '%argumentName%' has a bad state: %whatIsWrong%
- key: Argument '%argumentName%' has a bad state: %whatIsWrong%
- /eZ/Publish/Core/Base/Exceptions/BadStateException.php
-
-
- Argument '%argumentName%' is invalid: %whatIsWrong%
- Argument '%argumentName%' is invalid: %whatIsWrong%
- key: Argument '%argumentName%' is invalid: %whatIsWrong%
- /eZ/Publish/Core/Base/Exceptions/InvalidArgumentException.php
-
-
- Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%'
- Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%'
- key: Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%'
- /eZ/Publish/Core/Base/Exceptions/InvalidArgumentType.php
-
-
- Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%', got '%actualType%'
- Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%', got '%actualType%'
- key: Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%', got '%actualType%'
- /eZ/Publish/Core/Base/Exceptions/InvalidArgumentType.php
-
-
- Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, binary file ids can not begin with a '/'
- Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, binary file ids can not begin with a '/'
- key: Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, binary file ids can not begin with a '/'
- /eZ/Publish/Core/IO/Exception/InvalidBinaryAbsolutePathException.php
-
-
- Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, it does not contain prefix '%prefix%'. Is 'var_dir' config correct?
- Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, it does not contain prefix '%prefix%'. Is 'var_dir' config correct?
- key: Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, it does not contain prefix '%prefix%'. Is 'var_dir' config correct?
- /eZ/Publish/Core/IO/Exception/InvalidBinaryPrefixException.php
-
-
- Content fields did not validate
- Content fields did not validate
- key: Content fields did not validate
- /eZ/Publish/Core/Base/Exceptions/ContentFieldValidationException.php
-
-
- ContentType FieldDefinitions did not validate
- ContentType FieldDefinitions did not validate
- key: ContentType FieldDefinitions did not validate
- /eZ/Publish/Core/Base/Exceptions/ContentTypeFieldDefinitionValidationException.php
-
-
- Could not find %classType% class '%className%'
- Could not find %classType% class '%className%'
- key: Could not find %classType% class '%className%'
- /eZ/Publish/Core/Base/Exceptions/MissingClass.php
-
-
- Could not find '%what%' with identifier '%identifier%'
- Could not find '%what%' with identifier '%identifier%'
- key: Could not find '%what%' with identifier '%identifier%'
- /eZ/Publish/Core/Base/Exceptions/NotFoundException.php
-
-
- Could not find class '%className%'
- Could not find class '%className%'
- key: Could not find class '%className%'
- /eZ/Publish/Core/Base/Exceptions/MissingClass.php
- Enter login or email
- Enter login or email
+ Enter login or emailkey: Enter login or email/eZ/Bundle/EzPublishCoreBundle/Resources/views/Security/login.html.twigEnter password
- Enter password
+ Enter passwordkey: Enter password/eZ/Bundle/EzPublishCoreBundle/Resources/views/Security/login.html.twig
-
- FieldType '%fieldType%' not found, needs to be implemented or configured to use FieldType\Null\Type (%ezpublish.fieldType.eznull.class%)
- FieldType '%fieldType%' not found, needs to be implemented or configured to use FieldType\Null\Type (%ezpublish.fieldType.eznull.class%)
- key: FieldType '%fieldType%' not found, needs to be implemented or configured to use FieldType\Null\Type (%ezpublish.fieldType.eznull.class%)
- /eZ/Publish/Core/Base/Exceptions/NotFound/FieldTypeNotFoundException.php
-
-
- Limitation '%limitation%' not found, needs to be implemented or configured to use Limitation\BlockingLimitationType (%ezpublish.api.role.limitation_type.blocking.class%
- Limitation '%limitation%' not found, needs to be implemented or configured to use Limitation\BlockingLimitationType (%ezpublish.api.role.limitation_type.blocking.class%
- key: Limitation '%limitation%' not found, needs to be implemented or configured to use Limitation\BlockingLimitationType (%ezpublish.api.role.limitation_type.blocking.class%
- /eZ/Publish/Core/Base/Exceptions/NotFound/LimitationNotFoundException.php
-
-
- Limitations did not validate
- Limitations did not validate
- key: Limitations did not validate
- /eZ/Publish/Core/Base/Exceptions/LimitationValidationException.php
- Login
- Login
+ Loginkey: Login/eZ/Bundle/EzPublishCoreBundle/Resources/views/Security/login.html.twig/eZ/Bundle/EzPublishCoreBundle/Resources/views/Security/login.html.twigPassword:
- Password:
+ Password:key: Password:/eZ/Bundle/EzPublishCoreBundle/Resources/views/Security/login.html.twig
-
- User does not have access to '%function%' '%module%'
- User does not have access to '%function%' '%module%'
- key: User does not have access to '%function%' '%module%'
- /eZ/Publish/Core/Base/Exceptions/UnauthorizedException.php
-
-
- User does not have access to '%function%' '%module%' with: %with%'
- User does not have access to '%function%' '%module%' with: %with%'
- key: User does not have access to '%function%' '%module%' with: %with%'
- /eZ/Publish/Core/Base/Exceptions/UnauthorizedException.php
- Username:
- Username:
+ Username:key: Username:/eZ/Bundle/EzPublishCoreBundle/Resources/views/Security/login.html.twig
diff --git a/eZ/Bundle/EzPublishCoreBundle/Resources/translations/repository_exceptions.en.xlf b/eZ/Bundle/EzPublishCoreBundle/Resources/translations/repository_exceptions.en.xlf
index 8c64b0e4f4d..ac2acd423e3 100644
--- a/eZ/Bundle/EzPublishCoreBundle/Resources/translations/repository_exceptions.en.xlf
+++ b/eZ/Bundle/EzPublishCoreBundle/Resources/translations/repository_exceptions.en.xlf
@@ -1,6 +1,6 @@
-
+ The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.
@@ -10,11 +10,13 @@
'%actualValue%' is wrong value'%actualValue%' is wrong valuekey: '%actualValue%' is wrong value
+ /eZ/Publish/Core/Base/Exceptions/InvalidArgumentValue.php'%actualValue%' is wrong value in class '%className%''%actualValue%' is wrong value in class '%className%'key: '%actualValue%' is wrong value in class '%className%'
+ /eZ/Publish/Core/Base/Exceptions/InvalidArgumentValue.phpA value is set for non translatable field definition '%identifier%' with language '%languageCode%'
@@ -27,16 +29,43 @@
Argument '%argumentName%' has a bad state: %whatIsWrong%Argument '%argumentName%' has a bad state: %whatIsWrong%key: Argument '%argumentName%' has a bad state: %whatIsWrong%
+ /eZ/Publish/Core/Base/Exceptions/BadStateException.phpArgument '%argumentName%' is invalid: %whatIsWrong%Argument '%argumentName%' is invalid: %whatIsWrong%key: Argument '%argumentName%' is invalid: %whatIsWrong%
+ /eZ/Publish/Core/Base/Exceptions/InvalidArgumentException.php
+
+
+ Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%'
+ Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%'
+ key: Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%'
+ /eZ/Publish/Core/Base/Exceptions/InvalidArgumentType.php
+
+
+ Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%', got '%actualType%'
+ Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%', got '%actualType%'
+ key: Argument '%argumentName%' is invalid: expected value to be of type '%expectedType%', got '%actualType%'
+ /eZ/Publish/Core/Base/Exceptions/InvalidArgumentType.php
+
+
+ Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, binary file ids can not begin with a '/'
+ Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, binary file ids can not begin with a '/'
+ key: Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, binary file ids can not begin with a '/'
+ /eZ/Publish/Core/IO/Exception/InvalidBinaryAbsolutePathException.php
+
+
+ Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, it does not contain prefix '%prefix%'. Is 'var_dir' config correct?
+ Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, it does not contain prefix '%prefix%'. Is 'var_dir' config correct?
+ key: Argument 'BinaryFile::id' is invalid: '%id%' is wrong value, it does not contain prefix '%prefix%'. Is 'var_dir' config correct?
+ /eZ/Publish/Core/IO/Exception/InvalidBinaryPrefixException.phpContent fields did not validateContent fields did not validatekey: Content fields did not validate
+ /eZ/Publish/Core/Base/Exceptions/ContentFieldValidationException.phpContent type cannot be unlinked from the only remaining group
@@ -54,21 +83,25 @@
ContentType FieldDefinitions did not validateContentType FieldDefinitions did not validatekey: ContentType FieldDefinitions did not validate
+ /eZ/Publish/Core/Base/Exceptions/ContentTypeFieldDefinitionValidationException.phpCould not find %classType% class '%className%'Could not find %classType% class '%className%'key: Could not find %classType% class '%className%'
+ /eZ/Publish/Core/Base/Exceptions/MissingClass.phpCould not find '%what%' with identifier '%identifier%'Could not find '%what%' with identifier '%identifier%'key: Could not find '%what%' with identifier '%identifier%'
+ /eZ/Publish/Core/Base/Exceptions/NotFoundException.phpCould not find class '%className%'Could not find class '%className%'key: Could not find class '%className%'
+ /eZ/Publish/Core/Base/Exceptions/MissingClass.phpCurrent version is already in status DRAFT
@@ -93,6 +126,7 @@
FieldType '%fieldType%' not found, needs to be implemented or configured to use FieldType\Null\Type (%ezpublish.fieldType.eznull.class%)FieldType '%fieldType%' not found, needs to be implemented or configured to use FieldType\Null\Type (%ezpublish.fieldType.eznull.class%)key: FieldType '%fieldType%' not found, needs to be implemented or configured to use FieldType\Null\Type (%ezpublish.fieldType.eznull.class%)
+ /eZ/Publish/Core/Base/Exceptions/NotFound/FieldTypeNotFoundException.phpFieldType '%identifier%' is singular and can't be repeated in a ContentType
@@ -103,11 +137,13 @@
Limitation '%limitation%' not found, needs to be implemented or configured to use Limitation\BlockingLimitationType (%ezpublish.api.role.limitation_type.blocking.class%Limitation '%limitation%' not found, needs to be implemented or configured to use Limitation\BlockingLimitationType (%ezpublish.api.role.limitation_type.blocking.class%key: Limitation '%limitation%' not found, needs to be implemented or configured to use Limitation\BlockingLimitationType (%ezpublish.api.role.limitation_type.blocking.class%
+ /eZ/Publish/Core/Base/Exceptions/NotFound/LimitationNotFoundException.phpLimitations did not validateLimitations did not validatekey: Limitations did not validate
+ /eZ/Publish/Core/Base/Exceptions/LimitationValidationException.phpOnly empty content type groups can be deleted
@@ -173,11 +209,13 @@
User does not have access to '%function%' '%module%'User does not have access to '%function%' '%module%'key: User does not have access to '%function%' '%module%'
+ /eZ/Publish/Core/Base/Exceptions/UnauthorizedException.phpUser does not have access to '%function%' '%module%' with: %with%'User does not have access to '%function%' '%module%' with: %with%'key: User does not have access to '%function%' '%module%' with: %with%'
+ /eZ/Publish/Core/Base/Exceptions/UnauthorizedException.phpVersion in status PUBLISHED cannot be deleted
diff --git a/eZ/Bundle/EzPublishCoreBundle/Resources/translations/validators.en.xlf b/eZ/Bundle/EzPublishCoreBundle/Resources/translations/validators.en.xlf
index 0c40dfe35d8..755443a40dd 100644
--- a/eZ/Bundle/EzPublishCoreBundle/Resources/translations/validators.en.xlf
+++ b/eZ/Bundle/EzPublishCoreBundle/Resources/translations/validators.en.xlf
@@ -1,6 +1,6 @@
-
+ The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.