Skip to content

Commit

Permalink
Dev Fixed untranslated messages
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jul 22, 2013
1 parent db924b5 commit 1046b95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions application/controllers/admin/templates.php
Expand Up @@ -197,18 +197,18 @@ private function _templateFixes($templatename)
if(strpos($content, "{TEMPLATEJS}")===false)
{
$templateFixes['success']=false;
$templateFixes['details']['templatejs']="Unable to adding {TEMPLATEJS} placeholder, please control your startpage.pstpl.";
$templateFixes['details']['templatejs']=$clang->gT("Unable to add {TEMPLATEJS} placeholder, please check your startpage.pstpl.");
}
else
{
$templateFixes['details']['templatejs']="Placeholder {TEMPLATEJS} added to your startpage.pstpl.";
$templateFixes['details']['templatejs']=$clang->gT("Placeholder {TEMPLATEJS} added to your startpage.pstpl.");
}
}
}
else
{
$templateFixes['success']=false;
$templateFixes['details']['templatejs']="Unable to find startpage.pstpl to add {TEMPLATEJS} placeholder, please control your template.";
$templateFixes['details']['templatejs']=$clang->gT("Unable to find startpage.pstpl to add {TEMPLATEJS} placeholder, please check your template.");
}
return $templateFixes;
}
Expand Down

0 comments on commit 1046b95

Please sign in to comment.