From cf8cba00ed891a67db953da08a932023e67765cc Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 14 Aug 2020 15:17:15 +0200 Subject: [PATCH] [Translation] The 'other' key is mandatory in ICU 'select' --- translation/message_format.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/translation/message_format.rst b/translation/message_format.rst index 5d1a5b63eec..4ec520682ef 100644 --- a/translation/message_format.rst +++ b/translation/message_format.rst @@ -100,6 +100,8 @@ typical usage of this is gender: .. code-block:: yaml # translations/messages+intl-icu.en.yaml + + # the 'other' key is required, and is selected if no other case matches invitation_title: >- {organizer_gender, select, female {{organizer_name} has invited you for her party!} @@ -116,6 +118,7 @@ typical usage of this is gender: invitation_title + {organizer_gender, select, female {{organizer_name} has invited you for her party!} male {{organizer_name} has invited you for his party!} @@ -130,6 +133,7 @@ typical usage of this is gender: // translations/messages+intl-icu.en.php return [ + // the 'other' key is required, and is selected if no other case matches 'invitation_title' => '{organizer_gender, select, female {{organizer_name} has invited you for her party!} male {{organizer_name} has invited you for his party!}