From 3fb666fa190100884507a799e4e6f674ed31f98d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 16 May 2025 23:28:33 +0200 Subject: [PATCH] Trans --- htdocs/categories/categorie_list.php | 9 +++++++-- htdocs/langs/en_US/main.lang | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/htdocs/categories/categorie_list.php b/htdocs/categories/categorie_list.php index f7f80e55488..64259834ae0 100644 --- a/htdocs/categories/categorie_list.php +++ b/htdocs/categories/categorie_list.php @@ -506,7 +506,10 @@ if ($mode == 'hierarchy') { print ''; print ''; print ''; print ''; print '
'.img_picto_common('', 'treemenu/branchbottom.gif').''; - print ''.$langs->trans("NoCategoryYet").''; + print ''.$langs->trans("NoCategoryYet"); + print '. '; + print $langs->trans("ClickOnPlusToCreateOne"); + print ''; print ' 
'; @@ -928,7 +931,9 @@ if ($mode == 'hierarchy') { $colspan++; } } - print ''.$langs->trans("NoRecordFound").''; + print ''; + print $langs->trans("NoRecordFound"); + print ''; } diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 8a6ff8b7b72..8d0aceab3f2 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -1362,3 +1362,4 @@ Anonymous=Anonymous Automatic=Automatic Nobody=Nobody Registered=Registered +ClickOnPlusToCreateOne=Click the "Plus" button to add one.