Skip to content

Commit

Permalink
fix possible issue with adding custom language phrases to theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Nov 30, 2016
1 parent 150b060 commit 21d1d81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion framework/core/expFramework.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function renderAction(array $parms=array()) {
if (expModules::controllerExists($fullControllerName)) {
$controllerClass = new ReflectionClass($fullControllerName);
} else {
return sprintf(gt('The module "%s" was not found in the system'), $parms['controller']);
return sprintf(gt("The module '%s' was not found in the system"), $parms['controller']);
}

if (isset($parms['view'])) $parms['view'] = urldecode($parms['view']);
Expand Down
2 changes: 1 addition & 1 deletion framework/core/subsystems/expTheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@ public static function showModule(
// call_user_func(array($module,"show"),$view,$loc,$title);
// }
} else {
echo sprintf(gt('The module "%s" was not found in the system.'), $module);
echo sprintf(gt("The module '%s' was not found in the system"), $module);
return false;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function showall() {
// 'hasConfig' => $db->tableExists($modclass . "_config") //FIXME old school config
);
} else {
$containers[$i]->output = sprintf(gt('The module "%s" was not found in the system'), $location->mod);
$containers[$i]->output = sprintf(gt("The module '%s' was not found in the system"), $location->mod);
$containers[$i]->info = array(
'module' => sprintf(gt('Unknown: %s'), $location->mod),
'source' => $location->src,
Expand Down

0 comments on commit 21d1d81

Please sign in to comment.