mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +02:00
* Fixed locale detection on new Android versions.
git-svn-id: trunk@40200 -
This commit is contained in:
parent
d27c16f024
commit
8958d94091
@ -88,6 +88,9 @@ function GetCurrentLocaleStr: utf8string;
|
||||
var
|
||||
s: utf8string;
|
||||
begin
|
||||
Result:=GetSystemProperty('persist.sys.locale');
|
||||
if Result <> '' then
|
||||
exit;
|
||||
Result:=GetSystemProperty('persist.sys.language');
|
||||
if Result = '' then
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user