From 3e4fb5055b39fe2dc98cf80ae41b36853509537b Mon Sep 17 00:00:00 2001 From: tduva Date: Tue, 8 Dec 2020 01:08:49 +0100 Subject: [PATCH] POEditor quote escape change --- localization.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localization.html b/localization.html index 18aa9b8..5b304d6 100644 --- a/localization.html +++ b/localization.html @@ -140,7 +140,7 @@

Substitutions use the MessageFormat class. Mostly it's enough to just stick close to the template.

-

Important: Any single quote (') in a string that contains a replacement needs to be escaped with a single quote (e.g. Can''t join ''{0}'').

+

Important: Any single quote (') in a string that contains a replacement needs to be escaped with a single quote (e.g. Can''t join ''{0}''). This does not seem to be the case anymore. Quotes are automatically escaped on export by POEditor, so they should not be escaped anymore.

Choice

The more advanced {0,choice,<choices>} pattern is used to decide between two strings depending on the value in the number 0 parameter. This is commonly used to decide between a singular and plural form.