# HG changeset patch # User koda # Date 1323645055 -3600 # Node ID fb29180892251626c1c60d7ea4d3a1e44a690f4d # Parent d19c6af9fa48ddf285fed77e48721e2eb695757f added 'loaded locale' message, other minor things diff -r d19c6af9fa48 -r fb2918089225 hedgewars/uConsole.pas --- 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}; diff -r d19c6af9fa48 -r fb2918089225 hedgewars/uLocale.pas --- 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; diff -r d19c6af9fa48 -r fb2918089225 project_files/HedgewarsMobile/Locale/Italian.lproj/Localizable.strings Binary file project_files/HedgewarsMobile/Locale/Italian.lproj/Localizable.strings has changed