From fdaa31a8547909257822a48a867e3807f84b5448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Hoste?= Date: Thu, 22 Feb 2018 12:24:13 +0100 Subject: [PATCH] Small typo in README `%name` should have been `%name%` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0c912483..73995d9b 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ The benefits of using the functions provided by this library (`__()` instead `_( * You are using the same functions, no matter whether the translations are provided by gettext extension or any other method. * You can use variables easier because `sprintf` functionality is included. For example: `__('Hello %s', 'world')` instead `sprintf(_('Hello %s'), 'world')`. -* You can also use named placeholders if the second argument is an array. For example: `__('Hello %name%', ['%name' => 'world'])` instead of `strtr(_('Hello %name%'), ['%name%' => 'world'])`. +* You can also use named placeholders if the second argument is an array. For example: `__('Hello %name%', ['%name%' => 'world'])` instead of `strtr(_('Hello %name%'), ['%name%' => 'world'])`. ## Translation