First runnable version

This commit is contained in:
2011-08-27 18:35:36 +02:00
parent 991486a042
commit 658ec606ed
28 changed files with 657 additions and 646 deletions

View File

@@ -20,22 +20,20 @@
#ifndef SUPPORTEDLANGUAGES_H
#define SUPPORTEDLANGUAGES_H
#include <wx/wx.h>
namespace SupportedLanguages {
#define ICONS_PATH RESSOURCES_ROOT "icons/"
typedef struct {
wxString name;
wxString icon;
QString name;
QString icon;
wxLanguage language;
} language ;
const int NB_SUPPORTED_LANGUAGES = 2;
static const language languages[NB_SUPPORTED_LANGUAGES] = {
{ wxT("Englishpp"), wxT(ICONS_PATH "/United Kingdom.png"), wxLANGUAGE_ENGLISH},
{ wxT("Français"), wxT(ICONS_PATH "/France.png"), wxLANGUAGE_FRENCH}
{ "English", ICONS_PATH "/United Kingdom.png", wxLANGUAGE_ENGLISH},
{ "Français",ICONS_PATH "/France.png", wxLANGUAGE_FRENCH}
};
}