added 'loaded locale' message, other minor things
authorkoda
Mon, 12 Dec 2011 00:10:55 +0100
changeset 6528 fb2918089225
parent 6527 d19c6af9fa48
child 6529 40f9ef7d824d
added 'loaded locale' message, other minor things
hedgewars/uConsole.pas
hedgewars/uLocale.pas
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/FrontendDataUtils.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/GameMode.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Grave.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Map.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Scheme.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Team.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/Datastructures/Weapon.java
project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/UserInput/TouchInterface.java
project_files/HedgewarsMobile/Locale/Italian.lproj/Localizable.strings
share/hedgewars/Data/Scripts/plist/Racer.plist
--- a/hedgewars/uConsole.pas	Mon Dec 12 00:10:11 2011 +0100
+++ b/hedgewars/uConsole.pas	Mon Dec 12 00:10:55 2011 +0100
@@ -26,7 +26,7 @@
 procedure WriteToConsole(s: shortstring);
 procedure WriteLnToConsole(s: shortstring);
 function  GetLastConsoleLine: shortstring;
-function ShortStringAsPChar(s: shortstring): PChar;
+function  ShortStringAsPChar(s: shortstring): PChar;
 
 implementation
 uses Types, uVariables, uUtils {$IFDEF ANDROID}, log in 'log.pas'{$ENDIF};
--- a/hedgewars/uLocale.pas	Mon Dec 12 00:10:11 2011 +0100
+++ b/hedgewars/uLocale.pas	Mon Dec 12 00:10:55 2011 +0100
@@ -30,7 +30,7 @@
 function  GetEventString(e: TEventId): ansistring;
 
 implementation
-uses uRandom, uUtils, uVariables, uDebug;
+uses uRandom, uUtils, uVariables, uDebug, uConsole;
 
 var trevt: array[TEventId] of array [0..Pred(MAX_EVENT_STRINGS)] of ansistring;
     trevt_n: array[TEventId] of integer;
@@ -85,7 +85,8 @@
            5: if (b >=0) and (b <= ord(High(TGoalStrId))) then trgoal[TGoalStrId(b)]:= s;
            end;
        end;
-   Close(f)
+   Close(f);
+   WriteLnToConsole('Locale loaded "' + FileName + '"');
    end;
 {$I+}
 end;
Binary file project_files/HedgewarsMobile/Locale/Italian.lproj/Localizable.strings has changed