aboutsummaryrefslogtreecommitdiffstats
path: root/languages
diff options
context:
space:
mode:
authorPonor <ponor.hr@gmail.com>2024-10-28 10:06:27 -0400
committerPonor <ponor.hr@gmail.com>2024-11-18 13:51:04 +0000
commit079fa175345006b0ebb1a3e991f040912735e20b (patch)
treef8077fb2ad1bc95c6ec1250e150ccb2ecc51117c /languages
parent5ba9e63c2b38c595c9a876111bdd392c51fb6412 (diff)
downloadmediawikicore-079fa175345006b0ebb1a3e991f040912735e20b.tar.gz
mediawikicore-079fa175345006b0ebb1a3e991f040912735e20b.zip
Fix separatorTransformTable for Croatian
In Croatian orthography, dot should not be used for digit grouping. Space(s) should be used for numbers with more than 4 digits. Typographically and by international standards, the spaces should be non-breaking thin spaces. Bug: T378186 Change-Id: Idc136de058288ff2f9b6474cc0b73cc381820cff
Diffstat (limited to 'languages')
-rw-r--r--languages/messages/MessagesHr.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/languages/messages/MessagesHr.php b/languages/messages/MessagesHr.php
index 8e6f02cbfd7f..1318c1251c31 100644
--- a/languages/messages/MessagesHr.php
+++ b/languages/messages/MessagesHr.php
@@ -274,7 +274,8 @@ $dateFormats = [
'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
];
-$separatorTransformTable = [ ',' => '.', '.' => ',' ];
+$separatorTransformTable = [ ',' => "\u{202F}", '.' => ',' ];
+$minimumGroupingDigits = 2;
$fallback8bitEncoding = 'iso-8859-2';