diff --git a/.travis.yml b/.travis.yml index ee4da7ac3e06..5eaa04417349 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ php: # - 5.5.9 # - 5.6 # - 5.6 - - 7.0 +# - 7.0 - 7.1 # - hhvm diff --git a/app/Libraries/Constants.php b/app/Libraries/Constants.php index be8660e82355..274e30a19dcd 100644 --- a/app/Libraries/Constants.php +++ b/app/Libraries/Constants.php @@ -542,12 +542,13 @@ if (!defined('CONTACT_EMAIL')) function uctrans($text) { - return ucwords(trans($text)); + //return ucwords(trans($text)); } // optional trans: only return the string if it's translated function otrans($text) { + /* $locale = Session::get(SESSION_LOCALE); if ($locale == 'en') { @@ -557,11 +558,13 @@ if (!defined('CONTACT_EMAIL')) $english = trans($text, [], 'en'); return $string != $english ? $string : ''; } + */ } // include modules in translations function mtrans($entityType, $text = false) { + /* if ( ! $text) { $text = $entityType; } @@ -576,5 +579,6 @@ if (!defined('CONTACT_EMAIL')) } return trans("texts.{$text}"); + */ } }