[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext-0.18: objc format specifier is "%@", not "$@"
From: |
Bruno Haible |
Subject: |
Re: gettext-0.18: objc format specifier is "%@", not "$@" |
Date: |
Fri, 21 May 2010 02:04:01 +0200 |
User-agent: |
KMail/1.9.9 |
Hi,
Kalle Olavi Niemitalo wrote:
> > additional format directive: "$@@", which when executed consumes an argument
> > of type @code{Object *}.
>
> The format directive is actually "%@", not "$@".
>
> http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html
Thanks for reporting this. It looks like a typo; the code in format-c.c is
correct. Fixed like this:
2010-05-20 Bruno Haible <address@hidden>
* gettext.texi (objc-format): Fix typo.
Reported by Kalle Olavi Niemitalo <address@hidden>.
--- gettext-tools/doc/gettext.texi.orig Fri May 21 02:03:30 2010
+++ gettext-tools/doc/gettext.texi Fri May 21 02:01:25 2010
@@ -8997,7 +8997,7 @@
@subsection Objective C Format Strings
Objective C format strings are like C format strings. They support an
-additional format directive: "$@@", which when executed consumes an argument
+additional format directive: "%@@", which when executed consumes an argument
of type @code{Object *}.
@node sh-format, python-format, objc-format, Translators for other Languages