summaryrefslogtreecommitdiffstats
path: root/src/cbottoken.cpp
diff options
context:
space:
mode:
authorProgramerus <alcadeias95@gmail.com>2012-03-17 16:11:57 +0100
committerProgramerus <alcadeias95@gmail.com>2012-03-17 16:11:57 +0100
commitaa8c5521eb3d23a57d4d3b0057eb73ba6419f657 (patch)
treeebcbc8b3d805114ecb4e050eb346e014fc7890c8 /src/cbottoken.cpp
parent61db325d15dfa9c6ec8312e0764833a8f89ddab6 (diff)
downloadcolobot-aa8c5521eb3d23a57d4d3b0057eb73ba6419f657.tar.gz
colobot-aa8c5521eb3d23a57d4d3b0057eb73ba6419f657.tar.bz2
colobot-aa8c5521eb3d23a57d4d3b0057eb73ba6419f657.zip
Comments translated from French to English.
Diffstat (limited to 'src/cbottoken.cpp')
-rw-r--r--src/cbottoken.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cbottoken.cpp b/src/cbottoken.cpp
index df0db6a..729971f 100644
--- a/src/cbottoken.cpp
+++ b/src/cbottoken.cpp
@@ -33,7 +33,7 @@
-// Cherche le nom d'un objet.
+// Seeking the name of an object.
char* RetObjectName(ObjectType type)
{
@@ -125,8 +125,8 @@ char* RetObjectName(ObjectType type)
return "";
}
-// Cherche le nom secondaire d'un objet.
-// (� cause d'Otto qui pense que les allemands n'aiment pas le nucl�aire)
+// Seeking the name of a secondary object.
+// (because Otto thinks that Germans do not like nuclear power)
char* RetObjectAlias(ObjectType type)
{
@@ -134,12 +134,12 @@ char* RetObjectAlias(ObjectType type)
if ( type == OBJECT_URANIUM ) return "PlatinumOre";
if ( type == OBJECT_ATOMIC ) return "FuelCell";
if ( type == OBJECT_MARKURANIUM ) return "PlatinumSpot";
- if ( type == OBJECT_ENERGY ) return "Disintegrator"; // pour CeeBot-K
+ if ( type == OBJECT_ENERGY ) return "Disintegrator"; // for K-CeeBot
return "";
}
-// Retourne le fichier d'aide � utiliser pour l'objet.
+// Returns the help file to use for the object.
char* RetHelpFilename(ObjectType type)
{
@@ -224,7 +224,7 @@ char* RetHelpFilename(ObjectType type)
}
-// Retourne le fichier d'aide � utiliser pour une instruction.
+// Returns the help file to use for instruction.
char* RetHelpFilename(const char *token)
{
@@ -347,7 +347,7 @@ char* RetHelpFilename(const char *token)
}
-// Teste si un mot cl� est un type de variable.
+// Test if a keyword is a type of variable.
BOOL IsType(const char *token)
{
@@ -363,7 +363,7 @@ BOOL IsType(const char *token)
return FALSE;
}
-// Teste si un mot cl� est une fonction.
+// Test if a keyword is a function.
BOOL IsFunction(const char *token)
{
@@ -436,7 +436,7 @@ BOOL IsFunction(const char *token)
}
-// Retourne l'aide compacte pour une instruction.
+// Returns using a compact instruction.
char* RetHelpText(const char *token)
{