From 21517d1b7f453c349936fdb0bc5f136da8338a29 Mon Sep 17 00:00:00 2001 From: Rico Kaltofen Date: Tue, 4 Dec 2018 18:21:55 +0100 Subject: [PATCH] 1.2.7, check changelog --- CHANGELOG.md | 5 +++++ src/Resources/contao/config/config.php | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bdd34b..9e1a394 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to this project will be documented in this file. +## [1.2.7] - 2018-12-04 + +### Fixed +- `cz` language to `cs` tex file mapping + ## [1.2.6] - 2018-12-04 ### Fixed diff --git a/src/Resources/contao/config/config.php b/src/Resources/contao/config/config.php index e31d8b0..5d54938 100644 --- a/src/Resources/contao/config/config.php +++ b/src/Resources/contao/config/config.php @@ -17,7 +17,9 @@ $GLOBALS['TL_CONFIG']['hyphenator_hyphen'] = '­'; $GLOBALS['TL_CONFIG']['hyphenator_skipPages'] = []; $GLOBALS['TL_CONFIG']['hyphenator_enableCache'] = true; -$GLOBALS['TL_CONFIG']['hyphenator_locale_language_mapping']['en'] = 'en-us'; // map page language to .tex files +// map page language to .tex files +$GLOBALS['TL_CONFIG']['hyphenator_locale_language_mapping']['en'] = 'en-us'; +$GLOBALS['TL_CONFIG']['hyphenator_locale_language_mapping']['cz'] = 'cs'; /** * Hooks @@ -29,4 +31,4 @@ */ if (System::getContainer()->get('huh.utils.container')->isFrontend()) { $GLOBALS['TL_USER_CSS']['hyphenator'] = 'bundles/heimrichhannotcontaohyphenator/css/hyphenator.min.css|static'; -} \ No newline at end of file +}