--- 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