From: Bruno Haible Date: Sat, 11 Oct 2025 22:09:13 +0000 (+0200) Subject: OCaml: Tweak documentation. X-Git-Tag: v1.0~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6da5013c7075c76ae8683a39063691d41916ee4f;p=thirdparty%2Fgettext.git OCaml: Tweak documentation. * gettext-tools/doc/lang-ocaml.texi: Add note regarding format strings. --- diff --git a/gettext-tools/doc/lang-ocaml.texi b/gettext-tools/doc/lang-ocaml.texi index 905f8ff0e..b5d1c94c7 100644 --- a/gettext-tools/doc/lang-ocaml.texi +++ b/gettext-tools/doc/lang-ocaml.texi @@ -53,7 +53,11 @@ as second parameter of @code{Gettext.Program}) @code{xgettext} @item Formatting with positions -@code{Printf.fprintf "%2$d %1$d"} +In the source code: @code{Printf.fprintf "%d %d"} +@*In the msgid: @code{"%d %d"} +@*In the msgstr: @code{"%2$d %1$d"} +@*Note: This does not work yet; it depends on the completion of +@uref{https://github.com/gildor478/ocaml-gettext/issues/39}. @item Portability fully portable