From a68259f08fccb2cfdb519db10a3c4d9ec6b8d9cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Bru=CC=88ckner?= Date: Tue, 17 Mar 2020 22:47:52 +0100 Subject: [PATCH] Updates translated word for German for better illustration of usage --- docs/book/view-helpers/translate-plural.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/book/view-helpers/translate-plural.md b/docs/book/view-helpers/translate-plural.md index 4f7150f4..36b4cfb7 100755 --- a/docs/book/view-helpers/translate-plural.md +++ b/docs/book/view-helpers/translate-plural.md @@ -36,13 +36,13 @@ echo $this->translatePlural('car', 'cars', 4); // 'Autos' The text domain defines the domain of the translation. ```php fct_label="Invoke Usage" -echo $this->translatePlural('monitor', 'monitors', 1, 'customDomain'); // 'Monitor' +echo $this->translatePlural('monitor', 'monitors', 1, 'customDomain'); // 'Bildschirm' ``` ```php fct_label="Setter Usage" $this->plugin('currencyFormat')->setTranslatorTextDomain('customDomain'); -echo $this->translatePlural('monitor', 'monitors', 1); // 'Monitor' +echo $this->translatePlural('monitor', 'monitors', 1); // 'Bildschirm' ``` (The above example assumes that the environment locale is set to `de_DE`.)