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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
38cfbe48
Commit
38cfbe48
authored
Apr 18, 2015
by
Tommaso Basilici
Browse files
Options
Downloads
Patches
Plain Diff
issue #2584 - added a counter
parent
b73c36c8
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
dev/translation/sanity_check_en_langfiles.php
+5
-2
5 additions, 2 deletions
dev/translation/sanity_check_en_langfiles.php
with
5 additions
and
2 deletions
dev/translation/sanity_check_en_langfiles.php
+
5
−
2
View file @
38cfbe48
...
@@ -175,14 +175,17 @@ foreach ($langstrings_3d AS $filename => $file) {
...
@@ -175,14 +175,17 @@ foreach ($langstrings_3d AS $filename => $file) {
}
}
}
}
echo
"<h2>Duplicate strings in lang files in
$workdir
</h2>"
;
echo
"<h2>Duplicate strings in lang files in
$workdir
- "
.
count
(
$dups
)
.
" found
</h2>"
;
echo
"<pre>"
;
echo
"<pre>"
;
echo
"<table border_bottom=1> "
;
echo
"<table border_bottom=1> "
;
echo
"<thead><tr><th>String</th><th>File and lines</th></thead>"
;
echo
"<thead><tr><th
align=
\"
center
\"
>#</th><th
>String</th><th>File and lines</th></thead>"
;
echo
"<tbody>"
;
echo
"<tbody>"
;
$count
=
0
;
foreach
(
$dups
as
$string
=>
$pages
)
{
foreach
(
$dups
as
$string
=>
$pages
)
{
$count
++
;
echo
"<tr>"
;
echo
"<tr>"
;
echo
"<td align=
\"
center
\"
>
$count
</td>"
;
echo
"<td>
$string
</td>"
;
echo
"<td>
$string
</td>"
;
echo
"<td>"
;
echo
"<td>"
;
foreach
(
$pages
AS
$page
=>
$lines
)
{
foreach
(
$pages
AS
$page
=>
$lines
)
{
...
...
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