Erwan
- Added some french translations - Up to 0.7.1
This commit is contained in:
@@ -44,10 +44,29 @@ You have a total of %i cards in your collection=Vous avez un total de %i cartes
|
|||||||
The cards in your collection have an average value of %i credits=La valeur moyenne de chacune de vos cartes est de %i credits
|
The cards in your collection have an average value of %i credits=La valeur moyenne de chacune de vos cartes est de %i credits
|
||||||
The shopkeeper would buy your entire collection for around %i credits=Le marchand acheterait votre collection pour environ %i credits
|
The shopkeeper would buy your entire collection for around %i credits=Le marchand acheterait votre collection pour environ %i credits
|
||||||
You currently have %i credits=Vous possedez %i credits
|
You currently have %i credits=Vous possedez %i credits
|
||||||
Need more cards? Go to http://wololo.net/wagic=Vous voulez plus de cartes ? Allez sur http://wololo.net/wagic
|
More cards and mods at http://wololo.net/wagic=Nouvelles cartes et mods sur http://wololo.net/wagic
|
||||||
These stats will be updated next time you run Wagic=Ces stats seront mises a jour au prochain demarrage de Wagic
|
These stats will be updated next time you run Wagic=Ces stats seront mises a jour au prochain demarrage de Wagic
|
||||||
Yes=Oui
|
Yes=Oui
|
||||||
No=Non
|
No=Non
|
||||||
|
NO DECK AVAILABLE,=PAS DE DECK DISPONIBLE,
|
||||||
|
PRESS CIRCLE TO GO TO THE DECK EDITOR!=APPUYEZ SUR O POUR CREER UN DECK !
|
||||||
|
|
||||||
|
#End of Match
|
||||||
|
Difficulty Bonus=Bonus Difficulte
|
||||||
|
'Live dangerously and you live right' Bonus=Bonus 'Live dangerously and you live right'
|
||||||
|
Life Delta Bonus=Bonus Points de vie
|
||||||
|
'Decree of Theophilus' Bonus=Bonus 'Decret de Teophile'
|
||||||
|
'Fast and Furious' Bonus=Bonus 'Fast and Furious'
|
||||||
|
Victory=Victoire
|
||||||
|
Congratulations! You earn %i credits=Felicitations, vous gagnez %i credits
|
||||||
|
You have been defeated=Vous avez perdu
|
||||||
|
Player %i wins (%i)=Le joueur %i gagne (%i)
|
||||||
|
Please support this project !=Soutenez ce projet !
|
||||||
|
Wagic is free, open source, and developed on the little free time I have=Wagic est gratuit, open source, et developpe sur mon temps libre
|
||||||
|
If you enjoy this game, please consider donating a few bucks=Si vous appreciez ce jeu, merci de me faire un don
|
||||||
|
(Seriously, donate or I'll kill this cute little bunny)=(serieux si vous me faites pas un don, je tue un pokemon)
|
||||||
|
Thanks in advance for your support.=Merci d'avance pour votre aide.
|
||||||
|
|
||||||
|
|
||||||
#Phases
|
#Phases
|
||||||
Untap=Degagement
|
Untap=Degagement
|
||||||
@@ -1132,7 +1151,7 @@ Callow Jushi=Jushi novice
|
|||||||
Calming Licid=Litique calmant
|
Calming Licid=Litique calmant
|
||||||
Calming Verse=Poeme apaisant
|
Calming Verse=Poeme apaisant
|
||||||
Caltrops=Chausse-trappes
|
Caltrops=Chausse-trappes
|
||||||
Cancel=Revocation
|
#Cancel=Revocation
|
||||||
Candles' Glow=Lueur des bougies
|
Candles' Glow=Lueur des bougies
|
||||||
Candles of Leng=Bougies de Leng
|
Candles of Leng=Bougies de Leng
|
||||||
Canker Abomination=Abomination chancreuse
|
Canker Abomination=Abomination chancreuse
|
||||||
@@ -4181,7 +4200,7 @@ Kinsbaile Balloonist=Aerostier de Kinsbayel
|
|||||||
Kinsbaile Borderguard=Garde frontiere de Kinsbayel
|
Kinsbaile Borderguard=Garde frontiere de Kinsbayel
|
||||||
Kinsbaile Cavalier=Cavalier de Kinsbayel
|
Kinsbaile Cavalier=Cavalier de Kinsbayel
|
||||||
Kinsbaile Skirmisher=Assaillant de Kinsbayel
|
Kinsbaile Skirmisher=Assaillant de Kinsbayel
|
||||||
Kinscaer Harpoonist=Harponneur de Kinscaër
|
Kinscaer Harpoonist=Harponneur de Kinsca�E
|
||||||
Kird Ape=Gorille beringei
|
Kird Ape=Gorille beringei
|
||||||
Kiri-Onna=Kiri-onna
|
Kiri-Onna=Kiri-onna
|
||||||
Kirtar's Desire=Desir selon Kirtar
|
Kirtar's Desire=Desir selon Kirtar
|
||||||
@@ -4711,7 +4730,7 @@ Mark of Sakiko=Marque de Sakiko
|
|||||||
Mark of the Oni=Marque des oni
|
Mark of the Oni=Marque des oni
|
||||||
Marker Beetles=Scarabees Balises
|
Marker Beetles=Scarabees Balises
|
||||||
Maro=Maro
|
Maro=Maro
|
||||||
Marrow-Gnawer=Ronge-moëlle
|
Marrow-Gnawer=Ronge-mo�Ele
|
||||||
Marsh Boa=Boa des marecages
|
Marsh Boa=Boa des marecages
|
||||||
Marsh Crocodile=Crocodile des marais
|
Marsh Crocodile=Crocodile des marais
|
||||||
Marsh Flitter=Voltigeuse des marecages
|
Marsh Flitter=Voltigeuse des marecages
|
||||||
@@ -6909,7 +6928,7 @@ Shaper Guildmage=Ghildmage des Faconneurs
|
|||||||
Shaper Parasite=Parasite forgeur
|
Shaper Parasite=Parasite forgeur
|
||||||
Shapesharer=Partageforme
|
Shapesharer=Partageforme
|
||||||
Shapeshifter=Changeforme
|
Shapeshifter=Changeforme
|
||||||
Shapeshifter's Marrow=Moëlle de changeforme
|
Shapeshifter's Marrow=Mo�Ele de changeforme
|
||||||
Shard Phoenix=Phenix d'echardes
|
Shard Phoenix=Phenix d'echardes
|
||||||
Shard Volley=Volee d'echardes
|
Shard Volley=Volee d'echardes
|
||||||
Shared Animosity=Animosite partagee
|
Shared Animosity=Animosite partagee
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
#include "../include/config.h"
|
#include "../include/config.h"
|
||||||
#include "../include/PlayerData.h"
|
#include "../include/PlayerData.h"
|
||||||
#include "../include/DeckStats.h"
|
#include "../include/DeckStats.h"
|
||||||
|
#include "../include/Translate.h"
|
||||||
|
|
||||||
CreditBonus::CreditBonus(int _value, string _text){
|
CreditBonus::CreditBonus(int _value, string _text){
|
||||||
value = _value;
|
value = _value;
|
||||||
@@ -45,28 +46,28 @@ void Credits::compute(Player * _p1, Player * _p2, GameApp * _app){
|
|||||||
if (app->gameType == GAME_TYPE_MOMIR) value = 200;
|
if (app->gameType == GAME_TYPE_MOMIR) value = 200;
|
||||||
int difficulty = go->values[OPTIONS_DIFFICULTY].getIntValue();
|
int difficulty = go->values[OPTIONS_DIFFICULTY].getIntValue();
|
||||||
if (go->values[OPTIONS_DIFFICULTY_MODE_UNLOCKED].getIntValue() && difficulty) {
|
if (go->values[OPTIONS_DIFFICULTY_MODE_UNLOCKED].getIntValue() && difficulty) {
|
||||||
CreditBonus * b = NEW CreditBonus(100*difficulty, "Difficulty Bonus");
|
CreditBonus * b = NEW CreditBonus(100*difficulty, _("Difficulty Bonus"));
|
||||||
bonus.push_back(b);
|
bonus.push_back(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p1->life == 1) {
|
if (p1->life == 1) {
|
||||||
CreditBonus * b = NEW CreditBonus(111, "'Live dangerously and you live right' Bonus");
|
CreditBonus * b = NEW CreditBonus(111, _("'Live dangerously and you live right' Bonus"));
|
||||||
bonus.push_back(b);
|
bonus.push_back(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
int diff = p1->life - p2->life;
|
int diff = p1->life - p2->life;
|
||||||
if (diff){
|
if (diff){
|
||||||
CreditBonus * b = NEW CreditBonus(diff, "Life Delta Bonus");
|
CreditBonus * b = NEW CreditBonus(diff, _("Life Delta Bonus"));
|
||||||
bonus.push_back(b);
|
bonus.push_back(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p1->game->library->nb_cards == 0) {
|
if (p1->game->library->nb_cards == 0) {
|
||||||
CreditBonus * b = NEW CreditBonus(391, "'Decree of Theophilus' Bonus");
|
CreditBonus * b = NEW CreditBonus(391, _("'Decree of Theophilus' Bonus"));
|
||||||
bonus.push_back(b);
|
bonus.push_back(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g->turn < 15) {
|
if (g->turn < 15) {
|
||||||
CreditBonus * b = NEW CreditBonus((20 - g->turn)*17, "'Fast and Furious' Bonus");
|
CreditBonus * b = NEW CreditBonus((20 - g->turn)*17, _("'Fast and Furious' Bonus"));
|
||||||
bonus.push_back(b);
|
bonus.push_back(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -94,7 +95,7 @@ void Credits::compute(Player * _p1, Player * _p2, GameApp * _app){
|
|||||||
|
|
||||||
vector<CreditBonus *>::iterator it;
|
vector<CreditBonus *>::iterator it;
|
||||||
if (bonus.size()){
|
if (bonus.size()){
|
||||||
CreditBonus * b = NEW CreditBonus(value, "Victory");
|
CreditBonus * b = NEW CreditBonus(value, _("Victory"));
|
||||||
bonus.insert(bonus.begin(),b);
|
bonus.insert(bonus.begin(),b);
|
||||||
for ( it=bonus.begin()+1 ; it < bonus.end(); ++it){
|
for ( it=bonus.begin()+1 ; it < bonus.end(); ++it){
|
||||||
value+= (*it)->value;
|
value+= (*it)->value;
|
||||||
@@ -125,13 +126,13 @@ void Credits::Render(){
|
|||||||
char buffer[512];
|
char buffer[512];
|
||||||
if (!p1->isAI() && p2->isAI() ){
|
if (!p1->isAI() && p2->isAI() ){
|
||||||
if (g->gameOver != p1){
|
if (g->gameOver != p1){
|
||||||
sprintf (buffer, "Congratulations! You earn %i credits", value);
|
sprintf (buffer, _("Congratulations! You earn %i credits").c_str(), value);
|
||||||
if (unlockedQuad){
|
if (unlockedQuad){
|
||||||
showMsg = 0;
|
showMsg = 0;
|
||||||
r->RenderQuad(unlockedQuad, 20, 20);
|
r->RenderQuad(unlockedQuad, 20, 20);
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
sprintf (buffer, "You have been defeated");
|
sprintf (buffer, _("You have been defeated").c_str());
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
int winner = 2;
|
int winner = 2;
|
||||||
@@ -139,7 +140,7 @@ void Credits::Render(){
|
|||||||
winner = 1;
|
winner = 1;
|
||||||
}
|
}
|
||||||
int p0life = p1->life;
|
int p0life = p1->life;
|
||||||
sprintf(buffer, "Player %i wins (%i)", winner, p0life );
|
sprintf(buffer, _("Player %i wins (%i)").c_str(), winner, p0life );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -154,11 +155,11 @@ void Credits::Render(){
|
|||||||
y+=15;
|
y+=15;
|
||||||
|
|
||||||
if (showMsg == 1){
|
if (showMsg == 1){
|
||||||
f2->DrawString("Please support this project !" ,10,y+15);
|
f2->DrawString(_("Please support this project!").c_str() ,10,y+15);
|
||||||
f->DrawString("Wagic is free, open source, and developed on the little free time I have" ,10,y+30);
|
f->DrawString(_("Wagic is free, open source, and developed on the little free time I have").c_str() ,10,y+30);
|
||||||
f->DrawString("If you enjoy this game, please consider donating a few bucks" ,10,y+42);
|
f->DrawString(_("If you enjoy this game, please consider donating a few bucks").c_str() ,10,y+42);
|
||||||
f->DrawString("(Seriously, donate or I'll kill this cute little bunny)" ,10,y+54);
|
f->DrawString(_("(Seriously, donate or I'll kill this cute little bunny)").c_str() ,10,y+54);
|
||||||
f->DrawString("Thanks in advance for your support." ,10,y+66);
|
f->DrawString(_("Thanks in advance for your support.").c_str() ,10,y+66);
|
||||||
f2->DrawString("-> http://wololo.net/wagic" ,10,y+78);
|
f2->DrawString("-> http://wololo.net/wagic" ,10,y+78);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -407,8 +407,8 @@ void GameStateDuel::Render()
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case DUEL_STATE_ERROR_NO_DECK:
|
case DUEL_STATE_ERROR_NO_DECK:
|
||||||
mFont->DrawString("NO DECK AVAILABLE,",0,SCREEN_HEIGHT/2);
|
mFont->DrawString(_("NO DECK AVAILABLE,").c_str(),0,SCREEN_HEIGHT/2);
|
||||||
mFont->DrawString("PRESS CIRCLE TO GO TO THE DECK EDITOR!",0,SCREEN_HEIGHT/2 + 20);
|
mFont->DrawString(_("PRESS CIRCLE TO GO TO THE DECK EDITOR!").c_str(),0,SCREEN_HEIGHT/2 + 20);
|
||||||
break;
|
break;
|
||||||
case DUEL_STATE_MENU:
|
case DUEL_STATE_MENU:
|
||||||
case DUEL_STATE_CANCEL:
|
case DUEL_STATE_CANCEL:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
#include "../include/utils.h"
|
#include "../include/utils.h"
|
||||||
#include "../include/DeckDataWrapper.h"
|
#include "../include/DeckDataWrapper.h"
|
||||||
|
|
||||||
static const char* GAME_VERSION = "WTH?! 0.7.0 - by WilLoW";
|
static const char* GAME_VERSION = "WTH?! 0.7.1 - by WilLoW";
|
||||||
#define ALPHA_WARNING 0
|
#define ALPHA_WARNING 0
|
||||||
|
|
||||||
#define DEFAULT_ANGLE_MULTIPLIER 0.4
|
#define DEFAULT_ANGLE_MULTIPLIER 0.4
|
||||||
|
|||||||
Reference in New Issue
Block a user