Home » Community » Newbie corner » Translations in header file
Re: Translations in header file [message #46460 is a reply to message #46453] |
Thu, 12 May 2016 19:20   |
Zbych
Messages: 327 Registered: July 2009
|
Senior Member |
|
|
Since your translation should be done in runtime, you can do it this way:
static const char* const Reason[] = {
"Price",
"Delivery",
"Technical compliance",
"Certificates"
};
[...]
for (int i = 0; i < __countof(Reason); i++)
OpReason.Add(t_(Reason[i]));
[Updated on: Thu, 12 May 2016 20:30] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed Apr 30 01:06:19 CEST 2025
Total time taken to generate the page: 0.00346 seconds
|