Skip to content

Commit

Permalink
1.2.7, check changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico Kaltofen committed Dec 4, 2018
1 parent 4b83d98 commit 21517d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions src/Resources/contao/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,4 +31,4 @@
*/
if (System::getContainer()->get('huh.utils.container')->isFrontend()) {
$GLOBALS['TL_USER_CSS']['hyphenator'] = 'bundles/heimrichhannotcontaohyphenator/css/hyphenator.min.css|static';
}
}

0 comments on commit 21517d1

Please sign in to comment.