Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Zbych is currently offline  Zbych
Messages: 326
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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: What is SegtorMap?
Next Topic: Problems with AddPick operator| in Vector
Goto Forum:
  


Current Time: Mon May 20 16:51:20 CEST 2024

Total time taken to generate the page: 0.00987 seconds