mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-02 01:59:29 +01:00
Examples/Translation: Combine {$warnings off} with {$push} and {$pop}
git-svn-id: trunk@60230 -
This commit is contained in:
parent
23ebdb5faf
commit
c6278a2e45
@ -159,9 +159,10 @@ begin
|
||||
LCID := GetLCIDFromLangCode(ALang);
|
||||
|
||||
// Now we update the format settings to the new language
|
||||
{$PUSH}
|
||||
{$WARNINGS OFF}
|
||||
GetLocaleFormatSettings(LCID, DefaultFormatSettings);
|
||||
{$WARNINGS ON}
|
||||
{$POP}
|
||||
|
||||
// We also store the code page that belongs to the new language. We'll need
|
||||
// that when converting FCL strings to UTF8.
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user