From 71fed747e50f6750d9c2594037aa84ca3add4d2a Mon Sep 17 00:00:00 2001 From: Philipp Staender Date: Thu, 17 May 2018 15:10:01 +0200 Subject: [PATCH] SINGULARNAME and PLURALNAME are without underscore --- docs/en/02_Developer_Guides/13_i18n/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/02_Developer_Guides/13_i18n/index.md b/docs/en/02_Developer_Guides/13_i18n/index.md index 1266c8e6c..7fae817dd 100644 --- a/docs/en/02_Developer_Guides/13_i18n/index.md +++ b/docs/en/02_Developer_Guides/13_i18n/index.md @@ -222,8 +222,8 @@ class MyObject extends DataObject implements i18nEntityProvider public function provideI18nEntities() { return [ - 'MyObject.SINGULAR_NAME' => 'object', - 'MyObject.PLURAL_NAME' => 'objects', + 'MyObject.SINGULARNAME' => 'object', + 'MyObject.PLURALNAME' => 'objects', 'MyObject.PLURALS' => [ 'one' => 'An object', 'other' => '{count} objects', @@ -239,8 +239,8 @@ In YML format this will be expressed as the below. This follows the ```yaml en: MyObject: - SINGULAR_NAME: 'object' - PLURAL_NAME: 'objects' + SINGULARNAME: 'object' + PLURALNAME: 'objects' PLURALS: one: 'An object', other: '{count} objects'