This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
вс, 31 мар. 2019 г. в 17:45, Eli Zaretskii <eliz@gnu.org>: > Bother: do we want to behave like a Posix platform here, or like a > Windows system? Windows doesn't have LC_MESSAGES as a locale > category. I just saw LC_MESSAGES usage in gettext... > Finally, a more general point: I'm not sure I understand the purpose > of this change. Is the purpose to let users control the language of > the gdbserver system error messages? Yes, it's the purprose. > If so, would they need to > control that by setting environment variables? It sounds less > convenient than it could have been, I think. Why not a GDB variable > instead? Environment variables are used in gettext anyway, I think single source for localisation language is convenient. I corrected issues you mentioned (I hope!) and made a function to get locale ID.
Attachment:
0001-gettext-like-localisation-of-error-messages-added-to.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |