Erwan
- Fixing some language issues + fr update
This commit is contained in:
@@ -8,6 +8,22 @@
|
|||||||
# If you want to translate creature types and other game elements, do it in this file. Only the "text=" can be done directly in _cards.dat
|
# If you want to translate creature types and other game elements, do it in this file. Only the "text=" can be done directly in _cards.dat
|
||||||
#Limitation: Special characters that are not in the limited 128 ASCII set CAN NOT be put in this file, it will display as garbage
|
#Limitation: Special characters that are not in the limited 128 ASCII set CAN NOT be put in this file, it will display as garbage
|
||||||
|
|
||||||
|
#
|
||||||
|
# Added in 0.10.x
|
||||||
|
#
|
||||||
|
See available tasks=Quetes disponibles
|
||||||
|
Task Board=Quetes
|
||||||
|
There are no tasks that need to be done. Come again tomorrow.=Je n'ai pas de quete a vous proposer. Revenez demain
|
||||||
|
your turn=votre tour
|
||||||
|
opponent's turn=tour adversaire
|
||||||
|
you play=vous jouez
|
||||||
|
opponent plays=adversaire joue
|
||||||
|
Achievements=Trophees
|
||||||
|
%i locked sets remain.=Encore %i sets a debloquer.
|
||||||
|
Unlocked all %i sets.=Vous avez les %i sets.
|
||||||
|
Card Spoiler=Voir cartes
|
||||||
|
Back to Trophies=Retour aux trophees
|
||||||
|
|
||||||
#
|
#
|
||||||
#Added in 0.9.1
|
#Added in 0.9.1
|
||||||
#
|
#
|
||||||
@@ -139,7 +155,7 @@ PRESS CIRCLE TO GO TO THE DECK EDITOR!=APPUYEZ SUR O POUR CREER UN DECK !
|
|||||||
|
|
||||||
#Shop
|
#Shop
|
||||||
credits: %i=credits: %i
|
credits: %i=credits: %i
|
||||||
press [] to refresh=[] pour recharger
|
[]:other cards=[]: autres cartes
|
||||||
|
|
||||||
#in Game
|
#in Game
|
||||||
Interrupt?=Interruption ?
|
Interrupt?=Interruption ?
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ GameStateDeckViewer::GameStateDeckViewer(GameApp* parent): GameState(parent) {
|
|||||||
nbDecks = 0;
|
nbDecks = 0;
|
||||||
deckNum = 0;
|
deckNum = 0;
|
||||||
mSwitching = false;
|
mSwitching = false;
|
||||||
|
welcome_menu = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
GameStateDeckViewer::~GameStateDeckViewer() {
|
GameStateDeckViewer::~GameStateDeckViewer() {
|
||||||
@@ -89,14 +90,13 @@ void GameStateDeckViewer::updateDecks(){
|
|||||||
nbDecks = fillDeckMenu(welcome_menu,options.profileFile());
|
nbDecks = fillDeckMenu(welcome_menu,options.profileFile());
|
||||||
deckNum = 0;
|
deckNum = 0;
|
||||||
newDeckname = "";
|
newDeckname = "";
|
||||||
welcome_menu->Add(nbDecks+1, "--NEW--");
|
welcome_menu->Add(nbDecks+1, _("--NEW--").c_str());
|
||||||
welcome_menu->Add(-1, "Cancel");
|
welcome_menu->Add(-1, _("Cancel").c_str());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GameStateDeckViewer::Start()
|
void GameStateDeckViewer::Start()
|
||||||
{
|
{
|
||||||
newDeckname = "";
|
|
||||||
hudAlpha = 0;
|
hudAlpha = 0;
|
||||||
mSwitching = false;
|
mSwitching = false;
|
||||||
delSellMenu = 0;
|
delSellMenu = 0;
|
||||||
@@ -141,11 +141,8 @@ void GameStateDeckViewer::Start()
|
|||||||
|
|
||||||
backQuad = resources.GetQuad("back");
|
backQuad = resources.GetQuad("back");
|
||||||
|
|
||||||
welcome_menu = NEW SimpleMenu(10,this,Constants::MENU_FONT,20,20);
|
//init welcome menu
|
||||||
nbDecks = fillDeckMenu(welcome_menu,options.profileFile());
|
updateDecks();
|
||||||
deckNum = 0;
|
|
||||||
welcome_menu->Add(nbDecks+1, "--NEW--");
|
|
||||||
welcome_menu->Add(-1, "Cancel");
|
|
||||||
|
|
||||||
if (GameApp::HasMusic && options[Options::MUSICVOLUME].number > 0){
|
if (GameApp::HasMusic && options[Options::MUSICVOLUME].number > 0){
|
||||||
if (GameApp::music){
|
if (GameApp::music){
|
||||||
@@ -164,7 +161,6 @@ void GameStateDeckViewer::Start()
|
|||||||
mRotation = 0;
|
mRotation = 0;
|
||||||
mSlide = 0;
|
mSlide = 0;
|
||||||
mAlpha = 255;
|
mAlpha = 255;
|
||||||
newDeckname = "";
|
|
||||||
|
|
||||||
currentCard = NULL;
|
currentCard = NULL;
|
||||||
loadIndexes(currentCard);
|
loadIndexes(currentCard);
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ void GameStateDuel::Start()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (decksneeded){
|
if (decksneeded){
|
||||||
deckmenu->Add(-1,"Create your Deck!","Highly recommended to get\nthe full Wagic experience!");
|
deckmenu->Add(-1,_("Create your Deck!").c_str(),"Highly recommended to get\nthe full Wagic experience!");
|
||||||
premadeDeck = true;
|
premadeDeck = true;
|
||||||
fillDeckMenu(deckmenu,RESPATH"/player/premade");
|
fillDeckMenu(deckmenu,RESPATH"/player/premade");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -326,7 +326,7 @@ void ShopItems::Render(){
|
|||||||
mFont->SetColor(ARGB(255,255,255,255));
|
mFont->SetColor(ARGB(255,255,255,255));
|
||||||
char c[4096];
|
char c[4096];
|
||||||
r->FillRect(0,SCREEN_HEIGHT-17,SCREEN_WIDTH,17,ARGB(128,0,0,0));
|
r->FillRect(0,SCREEN_HEIGHT-17,SCREEN_WIDTH,17,ARGB(128,0,0,0));
|
||||||
sprintf(c, _("[]:other cards /\\:list").c_str());
|
sprintf(c, _("[]:other cards").c_str());
|
||||||
unsigned int len = 4 + mFont->GetStringWidth(c);
|
unsigned int len = 4 + mFont->GetStringWidth(c);
|
||||||
mFont->DrawString(c,SCREEN_WIDTH-len,SCREEN_HEIGHT-14);
|
mFont->DrawString(c,SCREEN_WIDTH-len,SCREEN_HEIGHT-14);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user