Update functions.php

Fix #570 570 Translation missing
tks to @bttrx
This commit is contained in:
dolibarr95 2022-08-10 08:45:05 +02:00 committed by GitHub
commit b7f6803b4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -586,9 +586,9 @@ function default_category()
$desc->title = i18n("Uncategorized");
$desc->url = site_url() . 'category/uncategorized';
$desc->slug = 'uncategorized';
$desc->body = '<p>Topics that don&#39;t need a category, or don&#39;t fit into any other existing category.</p>';
$desc->body = '<p>' . i18n('Uncategorized_comment') . '</p>';
$desc->description = 'Topics that don&#39;t need a category, or don&#39;t fit into any other existing category.';
$desc->description = i18n('Uncategorized_comment');
return $tmp[] = $desc;
}