1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
|
Changes from upstream CVS. This includes a French translation and some build
fixes.
Status: in upstream CVS
--- /dev/null
+++ b/py/lang/francaise.py
@@ -0,0 +1,77 @@
+# -*- encoding: utf-8 -*-
+# Versions Francaise de kiki texts
+# translation by philrich123.free.fr
+
+lang['francais'] = {
+
+# game title
+
+"kiki the nano bot": "kiki le nano robot",
+
+# menu
+
+"new game": "nouvelle Partie",
+"load level": "charger le niveau",
+"next level": "niveau suivant",
+"restart": "redemarrer",
+"setup": "configuration",
+"story": "histoire",
+"demo": "demonstration",
+"about": "a propos",
+"help": "aide",
+"quit": "quitter",
+"back": "retour",
+
+# about
+
+"version": "version",
+"programmed by": "programmation de",
+"sounds from": "les sons sont de",
+"thanks": "remerciements",
+"visit": "visiter",
+"for more games": "pour plus de jeux",
+"main menu": "menu principal",
+
+# story
+
+"STORY_PAGE_1": "Il etait une fois,\ndes tout petis robots\nvivants dans un tout\npetit monde.\n\nIls vivaient une vie\ntres agitee, collectant\nles ressources necessaires\na la fabrication d'autres robots\nminuscules.",
+"STORY_PAGE_2": "Mais un jour,\nun virus detruisit le programme\nde l'appareil a fabriquer les nouveaux\nrobots.\n\nDepuis lors il \nfonctionne mal\net ne produit plus\nque des affreux petits robots\nstupides qui ne pense qu'a\ntout detruire.",
+"STORY_PAGE_3": "Votre tache est d'aider kiki,\nle seul robot sain qui reste,\na depanner le programme.\n\nbonne chance!",
+
+# statistics
+
+"STATISTICS_TEXT": "$scale(1.5)statistiques\n\nvous avez resolu %d des %d niveaux\n\nvotre score actuel est\n\n$scale(2.0)%d",
+
+# setup
+
+"language": "langue",
+"off": "non",
+"on": "oui",
+"sound": "son",
+"volume": "volume",
+"fullscreen": "plein ecran",
+"fov": "fov",
+"speed": "vitesse",
+"keyboard setup": "configuration du clavier",
+"save": "sauver",
+
+# keyboard setup
+
+"$no_itemkeyboard setup": "$no_itemconfiguration du clavier", # don't translate $no_item
+"$no_item": "$no_item", # don't change this
+
+"move forward": "aller en avant",
+"move backward": "aller en arriere",
+"turn left": "tourner a gauche",
+"turn right": "tourner a droite",
+"jump": "sauter",
+"push": "pousser",
+"shoot": "tirer",
+"change view": "changer de vue",
+"look up": "regarder vers le haut",
+"look down": "regarder vers le bas",
+
+"press the new key": "appuyer sur la nouvelle touche",
+"action without key": "action sans touche",
+"back to setup": "retour a la configuration",
+}
\ No newline at end of file
--- a/py/lang.py
+++ b/py/lang.py
@@ -4,7 +4,7 @@
Controller.language = "english"
-lang_list = [ "dutch", "english", "euskara", "german", "portuguese", "spanish", "swedish", ]
+lang_list = [ "dutch", "english", "euskara", "francaise", "german", "portuguese", "spanish", "swedish", ]
lang = {}
for langName in lang_list:
execfile (kikipy_path + os.path.sep + "lang" + os.path.sep + langName + ".py")
--- a/src/main/KikiPython.cpp
+++ b/src/main/KikiPython.cpp
@@ -106,9 +106,9 @@
void KikiPython::initPython ()
{
#if defined(__APPLE__) && defined(__MACH__)
- //putenv ("PYTHONDEBUG=1");
- //putenv ("PYTHONVERBOSE=1");
- putenv ("PYTHONPATH=./py:../Frameworks/Python.framework/Versions/A/lib/python2.2");
+ putenv ("PYTHONDEBUG=1");
+ putenv ("PYTHONVERBOSE=1");
+ putenv ("PYTHONPATH=./py"); // :../Frameworks/Python.framework/Versions/A/lib/python2.2");
#elif defined(WIN32)
putenv ("PYTHONDEBUG=1");
putenv ("PYTHONVERBOSE=1");
--- a/src/main/KikiPythonWidget.h
+++ b/src/main/KikiPythonWidget.h
@@ -7,6 +7,7 @@
#define __KikiPythonWidget
#include "KikiPos.h"
+#include "KikiPython.h"
#include <KTextField.h>
class KikiPythonWidget : public KTextField
--- a/src/main/main.cpp
+++ b/src/main/main.cpp
@@ -9,6 +9,10 @@
#include <math.h>
#include <SDL.h>
+
+#define K_INCLUDE_GLUT
+#include "KIncludeTools.h"
+
#include "KikiController.h"
// __________________________________________________________________________________________________
@@ -19,6 +23,11 @@
int width, height;
SDL_Surface * screen;
+#if defined(__APPLE__) && defined(__MACH__)
+#else
+ glutInit(&argc,argv);
+#endif
+
// initialize SDL
if ( SDL_Init(SDL_INIT_VIDEO | SDL_INIT_VIDEO) < 0 ) // SDL_INIT_TIMER
{
--- a/src/sound/KikiSound.cpp
+++ b/src/sound/KikiSound.cpp
@@ -88,7 +88,7 @@
Mix_Volume (-1, sound_volume); // set the start volume
// title song
-#ifndef _WINDOWS
+/* #ifndef _WINDOWS
std::string song_path = kFileNativePath(Controller.getKikiHome() + "/sound/" + "title_song.mp3");
Mix_Music * music = Mix_LoadMUS(song_path.c_str());
if(!music)
@@ -103,7 +103,7 @@
}
}
#endif
-
+ */
int soundIndex = 0;
while (soundIndex < KikiSound::END)
{
|