nls: Hardcode minus sign for all locales.
CLDR data for RTL locales includes LRM marker for minus sign text, in addition to that some locales are using different dash character. Windows seems to consistently use same character for all locales. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52866 Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fc67b16803
commit
1ad2cb51c5
BIN
nls/locale.nls
BIN
nls/locale.nls
Binary file not shown.
|
@ -4716,7 +4716,7 @@ sub build_locale_data()
|
|||
$sthousand =~ s/\x{202f}/\x{00a0}/;
|
||||
my $smonthousandsep = loc_query( $loc, "/ldml/numbers/symbols[\@numberSystem='latn']/currencyGroup" ) || $sthousand;
|
||||
my $spositivesign = "";
|
||||
my $snegativesign = loc_query( $loc, "/ldml/numbers/symbols[\@numberSystem='latn']/minusSign" );
|
||||
my $snegativesign = "-";
|
||||
my $spercent = loc_query( $loc, "/ldml/numbers/symbols[\@numberSystem='latn']/percentSign" );
|
||||
my $snan = loc_query( $loc, "/ldml/numbers/symbols[\@numberSystem='latn']/nan" );
|
||||
my $sposinfinity = loc_query( $loc, "/ldml/numbers/symbols[\@numberSystem='latn']/infinity" );
|
||||
|
|
Loading…
Reference in New Issue