summaryrefslogtreecommitdiff
path: root/app/models/Category.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-27 18:58:09 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-27 18:58:09 +0200
commit10b9797da7696babc092354c3a156ff1683e0e0d (patch)
tree4eda39daf1ebe87bbf8676e28f340c516b0b9ef3 /app/models/Category.php
parent70d75f0cf5304c1f8ef121538f9e4e166bb7b755 (diff)
L'installateur gère désormais l'internationalisation et détecte la langue préférée de l'utilisateur (fix bug #38)
Diffstat (limited to 'app/models/Category.php')
-rwxr-xr-xapp/models/Category.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/Category.php b/app/models/Category.php
index 7ce572e71..273559b1e 100755
--- a/app/models/Category.php
+++ b/app/models/Category.php
@@ -176,7 +176,7 @@ class CategoryDAO extends Model_pdo {
$def_cat = $this->searchById ('000000');
if (!$def_cat) {
- $cat = new Category ('Sans catégorie');
+ $cat = new Category (Translate::t ('default_category'));
$cat->_id ('000000');
$values = array (