Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
0951042d
Commit
0951042d
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: no need of translation tab if multilang was disabled.
parent
b8b84c67
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/core/lib/categories.lib.php
+8
-5
8 additions, 5 deletions
htdocs/core/lib/categories.lib.php
htdocs/langs/fr_FR/main.lang
+1
-0
1 addition, 0 deletions
htdocs/langs/fr_FR/main.lang
htdocs/langs/fr_FR/products.lang
+0
-1
0 additions, 1 deletion
htdocs/langs/fr_FR/products.lang
with
9 additions
and
6 deletions
htdocs/core/lib/categories.lib.php
+
8
−
5
View file @
0951042d
...
...
@@ -49,11 +49,14 @@ function categories_prepare_head($object,$type)
$head
[
$h
][
2
]
=
'photos'
;
$h
++
;
$head
[
$h
][
0
]
=
DOL_URL_ROOT
.
'/categories/traduction.php?id='
.
$object
->
id
.
'&type='
.
$type
;
$head
[
$h
][
1
]
=
$langs
->
trans
(
"Translation"
);
$head
[
$h
][
2
]
=
'translation'
;
$h
++
;
if
(
!
empty
(
$conf
->
global
->
MAIN_MULTILANGS
))
{
$head
[
$h
][
0
]
=
DOL_URL_ROOT
.
'/categories/traduction.php?id='
.
$object
->
id
.
'&type='
.
$type
;
$head
[
$h
][
1
]
=
$langs
->
trans
(
"Translation"
);
$head
[
$h
][
2
]
=
'translation'
;
$h
++
;
}
// Show more tabs from modules
// Entries must be declared in modules descriptor with line
// $this->tabs = array('entity:+tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to add new tab
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/fr_FR/main.lang
+
1
−
0
View file @
0951042d
...
...
@@ -24,6 +24,7 @@ FormatDateHourSecShort=%d/%m/%Y %H:%M:%S
FormatDateHourTextShort=%d %b %Y %H:%M
FormatDateHourText=%d %B %Y %H:%M
DatabaseConnection=Connexion à la base
Translation=Traduction
NoTranslation=Pas de traduction
NoRecordFound=Aucun enregistrement trouvé
NoError=Aucune erreur
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/fr_FR/products.lang
+
0
−
1
View file @
0951042d
...
...
@@ -133,7 +133,6 @@ ParentProductsNumber=Nbre de produits virtuels/packages parent
IfZeroItIsNotAVirtualProduct=Si 0, ce produit n'est pas utilisé par un produit package
IfZeroItIsNotUsedByVirtualProduct=Si 0, ce produit n'est pas un produit package
EditAssociate=Composer comme produit virtuel
Translation=Traduction
KeywordFilter=Filtre par mot-clé
CategoryFilter=Filtre par catégorie
ProductToAddSearch=Recherche des produits à ajouter
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment