added bulgarian locale (#5619)

This commit is contained in:
Kevin Papst
2025-08-28 20:10:49 +02:00
committed by GitHub
parent 023048e7c0
commit 03dbbdc5ba
3 changed files with 12 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ final class RegenerateLocalesCommand extends Command
*
* @var string[]
*/
private array $noRegionCode = ['ar', 'id', 'pa', 'sl', 'ca', 'ta'];
private array $noRegionCode = ['ar', 'id', 'pa', 'sl', 'ca', 'ta', 'bg'];
/**
* A list of locales that will be activated no matter if translation files exist for them.
*
@@ -153,6 +153,9 @@ final class RegenerateLocalesCommand extends Command
$settings['time'] = str_replace('Bh', 'H', $settings['time']);
}
// BULGARIAN: postfix of d.MM.y \'г\'. causes problems in several areas
$settings['date'] = str_replace("\u{202f}'г'.", '', $settings['date']);
// KOREAN: time format failed parsing - see https://github.com/kimai/kimai/issues/4402
// Special case where time-patterns start with A / a => this will lead to an error
// \DateTimeImmutable::getLastErrors() => Meridian can only come after an hour has been found