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
5db5a8a1
Commit
5db5a8a1
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
No need of option all. Reference is now transifex.
parent
57a267a3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dev/translation/txpush.sh
+3
-12
3 additions, 12 deletions
dev/translation/txpush.sh
with
3 additions
and
12 deletions
dev/translation/txpush.sh
+
3
−
12
View file @
5db5a8a1
...
...
@@ -2,9 +2,9 @@
#------------------------------------------------------
# Script to push language files to Transifex
#
# Laurent Destailleur - eldy@users.sourceforge.net
# Laurent Destailleur
(eldy)
- eldy@users.sourceforge.net
#------------------------------------------------------
# Usage: txpush.sh (source|
all|
xx_XX) [-r dolibarr.file] [-f]
# Usage: txpush.sh (source|xx_XX) [-r dolibarr.file] [-f]
#------------------------------------------------------
# Syntax
...
...
@@ -13,7 +13,7 @@ then
echo
"This push local files to transifex."
echo
"Note: If you push a language file (not source), file will be skipped if transifex file is newer."
echo
" Using -f will overwrite translation but not memory."
echo
"Usage: ./dev/translation/txpush.sh (source|
all|
xx_XX) [-r dolibarr.file] [-f] [--no-interactive]"
echo
"Usage: ./dev/translation/txpush.sh (source|xx_XX) [-r dolibarr.file] [-f] [--no-interactive]"
exit
fi
...
...
@@ -23,14 +23,6 @@ then
exit
fi
if
[
"x
$1
"
=
"xall"
]
then
for
fic
in
ar_SA bg_BG bs_BA ca_ES cs_CZ da_DK de_DE el_GR es_ES et_EE eu_ES fa_IR fi_FI fr_FR he_IL hr_HR hu_HU id_ID is_IS it_IT ja_JP ka_GE ko_KR lt_LT lv_LV mk_MK nb_NO nl_NL pl_PL pt_PT ro_RO ru_RU ru_UA sk_SK sl_SI sq_AL sv_SE th_TH tr_TR uk_UA uz_UZ vi_VN zh_CN zh_TW
do
echo
"tx push --skip -t -l
$fic
$2
$3
"
tx push
--skip
-t
-l
$fic
$2
$3
done
else
if
[
"x
$1
"
=
"xsource"
]
then
echo
"tx push -s
$2
$3
"
...
...
@@ -39,4 +31,3 @@ else
echo
"tx push --skip -t -l
$1
$2
$3
$4
"
tx push
--skip
-t
-l
$1
$2
$3
$4
fi
fi
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