Re: Context in translations, Q_() and gettext



Will there be a tool to convert .po files from msgid "foo|bar" to the
new msgctxt stuff?  Could msgmerge or whatever do it automatically?


#if HAVE_PGETTEXT
#define Q2_(context,msgid) pgettext(context,msgid)
#else
#define Q2_(context,msgid) Q_(context ## "|" ## msgid)
#endif

This'd break GDM, which uses a similar syntax to allow the translators to specify sort order of languages:


Off the top of my head:
"A-K|English (US)"        -> "A-K|Engelsk (USA)"
"M-Z|Norwegian Nynorsk"   -> "M-Å|Norsk (nynorsk)"

--
Åsmund Skjæveland {
   aasmunds fys uio no
}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]