+2019-03-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/80190
+ * config/darwin.c: Include intl.h.
+ (darwin_build_constant_cfstring): Improve i18n of diagnostics by not
+ composing the message out of two separate parts.
+
2019-03-07 Jakub Jelinek <jakub@redhat.com>
PR target/80003
#include "langhooks.h"
#include "toplev.h"
#include "lto-section-names.h"
+#include "intl.h"
/* Darwin supports a feature called fix-and-continue, which is used
for rapid turn around debugging. When code is compiled with the
for (l = 0; l < length; l++)
if (!s[l] || !isascii (s[l]))
{
- warning (darwin_warn_nonportable_cfstrings, "%s in CFString literal",
- s[l] ? "non-ASCII character" : "embedded NUL");
+ warning (darwin_warn_nonportable_cfstrings,
+ s[l] ? G_("non-ASCII character in CFString literal")
+ : G_("embedded NUL in CFString literal"));
break;
}
}