Merge pull request #3701 from Calinou/fix-vformat-example

Fix `vformat()` example in Common engine methods and macros
This commit is contained in:
Rémi Verschelde
2020-06-22 10:13:52 +02:00
committed by GitHub

View File

@@ -89,7 +89,8 @@ To insert placeholders in localizable strings, wrap the localization macro in a
.. code-block:: cpp
vformat(TTR("Couldn't open \"%s\" for reading."));
String file_path = "example.txt";
vformat(TTR("Couldn't open \"%s\" for reading."), file_path);
.. note::