From a05958b3ea7511553f94527a28e6b7ce9b64a668 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Fri, 5 May 2017 10:42:42 +1200 Subject: [PATCH] FIX: i18n test fixtures stricter for Symfony3 --- .../i18nTest/_fakewebroot/i18ntestmodule/lang/de.yml | 10 +++++----- .../_fakewebroot/i18ntestmodule/lang/de_AT.yml | 2 +- .../i18nTest/_fakewebroot/i18ntestmodule/lang/en.yml | 10 +++++----- .../_fakewebroot/i18ntestmodule/lang/en_GB.yml | 10 +++++----- .../i18nTest/_fakewebroot/i18ntestmodule/lang/fr.yml | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/de.yml b/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/de.yml index 7b9e8dda7..8dc1b7faf 100644 --- a/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/de.yml +++ b/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/de.yml @@ -1,16 +1,16 @@ de: NONAMESPACE: Include Entity without Namespace (de) - SPRINTFNONAMESPACE: My replacement no namespace: %s (de) - SPRINTFINCLUDENONAMESPACE: My include replacement no namespace: %s (de) + SPRINTFNONAMESPACE: "My replacement no namespace: %s (de)" + SPRINTFINCLUDENONAMESPACE: "My include replacement no namespace: %s (de)" LAYOUTTEMPLATENONAMESPACE: Layout Template no namespace (de) i18nTestModule: # Comment for entity - ENTITY: Entity with "Double Quotes" (de) + ENTITY: 'Entity with "Double Quotes" (de)' ADDITION: Addition (de) MAINTEMPLATE: Main Template (de) WITHNAMESPACE: Include Entity with Namespace (de) LAYOUTTEMPLATE: Layout Template (de) - SPRINTFNAMESPACE: My replacement: %s (de) + SPRINTFNAMESPACE: "My replacement: %s (de)" PRIORITYNOTICE: Low Module Priority (de) i18nTestModuleInclude.ss: - SPRINTFINCLUDENAMESPACE: My include replacement: %s (de) + SPRINTFINCLUDENAMESPACE: "My include replacement: %s (de)" diff --git a/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/de_AT.yml b/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/de_AT.yml index 6ce1fb9de..fe36e5612 100644 --- a/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/de_AT.yml +++ b/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/de_AT.yml @@ -1,3 +1,3 @@ de_AT: i18nTestModule: - ENTITY: Entity with "Double Quotes" (de_AT) + ENTITY: 'Entity with "Double Quotes" (de_AT)' diff --git a/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/en.yml b/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/en.yml index f3ea1a627..1c3ab523b 100644 --- a/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/en.yml +++ b/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/en.yml @@ -1,21 +1,21 @@ en: NONAMESPACE: Include Entity without Namespace - SPRINTFNONAMESPACE: My replacement no namespace: %s - SPRINTFINCLUDENONAMESPACE: My include replacement no namespace: %s + SPRINTFNONAMESPACE: 'My replacement no namespace: %s' + SPRINTFINCLUDENONAMESPACE: 'My include replacement no namespace: %s' LAYOUTTEMPLATENONAMESPACE: Layout Template no namespace i18nTestModule: # Comment for entity - ENTITY: Entity with "Double Quotes" + ENTITY: 'Entity with "Double Quotes"' ADDITION: Addition MAINTEMPLATE: Main Template WITHNAMESPACE: Include Entity with Namespace LAYOUTTEMPLATE: Layout Template - SPRINTFNAMESPACE: My replacement: %s + SPRINTFNAMESPACE: 'My replacement: %s' PLURALS: one: 'A test' other: '{count} tests' i18nTestModuleInclude.ss: - SPRINTFINCLUDENAMESPACE: My include replacement: %s + SPRINTFINCLUDENAMESPACE: "My include replacement: %s" Month: PLURALS: one: 'A month' diff --git a/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/en_GB.yml b/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/en_GB.yml index b58eee65e..6054afdc5 100644 --- a/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/en_GB.yml +++ b/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/en_GB.yml @@ -1,15 +1,15 @@ en: NONAMESPACE: Include Entity without Namespace - SPRINTFNONAMESPACE: My replacement no namespace: %s - SPRINTFINCLUDENONAMESPACE: My include replacement no namespace: %s + SPRINTFNONAMESPACE: "My replacement no namespace: %s" + SPRINTFINCLUDENONAMESPACE: "My include replacement no namespace: %s" LAYOUTTEMPLATENONAMESPACE: Layout Template no namespace i18nTestModule: # Comment for entity - ENTITY: Entity with "Double Quotes" + ENTITY: 'Entity with "Double Quotes"' ADDITION: Addition MAINTEMPLATE: Main Template WITHNAMESPACE: Include Entity with Namespace LAYOUTTEMPLATE: Layout Template - SPRINTFNAMESPACE: My replacement: %s + SPRINTFNAMESPACE: "My replacement: %s" i18nTestModuleInclude.ss: - SPRINTFINCLUDENAMESPACE: My include replacement: %s + SPRINTFINCLUDENAMESPACE: "My include replacement: %s" diff --git a/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/fr.yml b/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/fr.yml index d613b8ae5..d1e85efac 100644 --- a/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/fr.yml +++ b/tests/php/i18n/i18nTest/_fakewebroot/i18ntestmodule/lang/fr.yml @@ -1,3 +1,3 @@ fr: i18nTestModule: - ENTITY: Entity with "Double Quotes" (fr) + ENTITY: 'Entity with "Double Quotes" (fr)'