From 0eb0bf0148412de0755122cc80bc2ef75fe87727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Je=CC=81ro=CC=82me=20Vieilledent?= Date: Fri, 26 Aug 2016 11:46:45 +0200 Subject: [PATCH] Updated DSL doc for language support --- Resources/doc/DSL/ManageContent.yml | 2 ++ Resources/doc/DSL/ManageContentType.yml | 2 ++ Resources/doc/DSL/ManageUsersAndGroups.yml | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Resources/doc/DSL/ManageContent.yml b/Resources/doc/DSL/ManageContent.yml index e9d0c3c5..6e7fbf11 100644 --- a/Resources/doc/DSL/ManageContent.yml +++ b/Resources/doc/DSL/ManageContent.yml @@ -6,6 +6,7 @@ priority: 0 # Set the priority of the main location other_locations: [x, y, z] # Optional, node ids of other parent location remote_id: custom_remote_id # Optional, will set an object remote id as the remote ID and a location remote ID with a _location suffix + lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default) attributes: - attribute1: value1 - attribute2: value2 @@ -56,6 +57,7 @@ - parent_location_id: x # int|int[] - parent_location_remote_id: xxx # string|string[] - content_type: yyy # string|string[] a content type identifier + lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default) attributes: # the list of attribute identifier value pairs - attribute1: value1 - attribute2: value2 diff --git a/Resources/doc/DSL/ManageContentType.yml b/Resources/doc/DSL/ManageContentType.yml index 1355accc..b1f128a6 100644 --- a/Resources/doc/DSL/ManageContentType.yml +++ b/Resources/doc/DSL/ManageContentType.yml @@ -8,6 +8,7 @@ description: xyz # Optional url_name_pattern: pattern # Optional is_container: true|false # Optional, defaults to false + lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default) attributes: - type: xyz # Attribute type (See list https://confluence.ez.no/display/EZP/FieldTypes) @@ -40,6 +41,7 @@ name_pattern: xyz # Optional, will be updated if set url_name_pattern: xyz # Optional, will be updated if set is_container: true|false # Optional, will be updated if set + lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default) attributes: # Optional, if set will update existing ones or add new ones. - identifier: xyz # Identifier of the attribute to update or identifier of the new attribute to add diff --git a/Resources/doc/DSL/ManageUsersAndGroups.yml b/Resources/doc/DSL/ManageUsersAndGroups.yml index 9cc21321..9b86bcf7 100644 --- a/Resources/doc/DSL/ManageUsersAndGroups.yml +++ b/Resources/doc/DSL/ManageUsersAndGroups.yml @@ -6,7 +6,7 @@ username: xyz email: xyz password: xyz - main_language: xyz # Optional, default to eng-GB + lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default) groups: [x, y, z] # The user group ID or IDs (Object IDs) to put the user into # The list in references tells the manager to store specific values for later use # by other steps in the current migration. @@ -64,6 +64,7 @@ name: xyz # Optional description: xyz # Optional parent_group_id: x # Optional, the new parent user group ID + lang: xxx-YY # Optional, will fallback to default language if not provided (--default-language option or 'eng-GB' by default) # The list in references tells the manager to store specific values for later use # by other steps in the current migration. references: #Optional