Update domframework to be gettext package compliant

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1661 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2014-08-06 13:16:43 +00:00
parent ab7f76d0bb
commit b8a3e1aa23
13 changed files with 223 additions and 111 deletions

View File

@@ -27,7 +27,8 @@ class cacheoutput
{
$res = @include ("domframework/cache$method.php");
if ($res === false)
throw new Exception (sprintf (_("Unkwnown cache method : "), $method),
throw new Exception (sprintf (dgettext("domframework",
"Unkwnown cache method : "), $method),
500);
$this->id = $id;
$this->ttl = $ttl;