summaryrefslogtreecommitdiff
path: root/app/I18N.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-03-16 14:03:03 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-03-20 07:22:59 +0000
commit081ddc5605c7c2c5ec1d3da785b2cb916a98e4d6 (patch)
treef61a6e310897cc3987ff3f2b3bf5f4f606aba112 /app/I18N.php
parentf6875112618d2f1e33ba329b72835947f0f95aba (diff)
downloadwebtrees-081ddc5605c7c2c5ec1d3da785b2cb916a98e4d6.tar.gz
webtrees-081ddc5605c7c2c5ec1d3da785b2cb916a98e4d6.tar.bz2
webtrees-081ddc5605c7c2c5ec1d3da785b2cb916a98e4d6.zip
Fix: #2336 - custom translations not loaded
Diffstat (limited to 'app/I18N.php')
-rw-r--r--app/I18N.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/I18N.php b/app/I18N.php
index d84d315ec2..c7879e2165 100644
--- a/app/I18N.php
+++ b/app/I18N.php
@@ -339,7 +339,7 @@ class I18N
*
* @return string $string
*/
- public static function init(string $code = '', Tree $tree = null, $setup = true): string
+ public static function init(string $code = '', Tree $tree = null, $setup = false): string
{
if ($code !== '') {
// Create the specified locale