Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
framadate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
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
Nounous
framadate
Commits
ff88628a
Unverified
Commit
ff88628a
authored
6 years ago
by
Luc Didry
Browse files
Options
Downloads
Patches
Plain Diff
[zanata] Use git branch to specify the version of zanata's project
parent
3402571e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
Makefile
+3
-3
3 additions, 3 deletions
Makefile
scripts/push-trad-to-zanata.sh
+1
-1
1 addition, 1 deletion
scripts/push-trad-to-zanata.sh
zanata.xml
+0
-1
0 additions, 1 deletion
zanata.xml
with
5 additions
and
6 deletions
.gitlab-ci.yml
+
1
−
1
View file @
ff88628a
...
...
@@ -105,4 +105,4 @@ funky:
# - if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then make push-locales; fi
# only:
# - develop
# -
work-on-locales
# -
master
This diff is collapsed.
Click to expand it.
Makefile
+
3
−
3
View file @
ff88628a
...
...
@@ -2,14 +2,14 @@ locales:
scripts/locales.sh
push-locales
:
locales
zanata-cli
-q
-B
push
--errors
zanata-cli
-q
-B
push
--errors
--project-version
`
git branch |
grep
\*
|
cut
-d
' '
-f2-
`
pull-locales
:
zanata-cli
-q
-B
pull
--min-doc-percent
50
zanata-cli
-q
-B
pull
--min-doc-percent
50
--project-version
`
git branch |
grep
\*
|
cut
-d
' '
-f2-
`
scripts/po2json.sh
stats-locales
:
zanata-cli
-q
stats
zanata-cli
-q
stats
--project-version
`
git branch |
grep
\*
|
cut
-d
' '
-f2-
`
push-trad-to-zanata
:
scripts/push-trad-to-zanata.sh
$(
filter-out
$@
,
$(
MAKECMDGOALS
))
...
...
This diff is collapsed.
Click to expand it.
scripts/push-trad-to-zanata.sh
+
1
−
1
View file @
ff88628a
...
...
@@ -7,5 +7,5 @@ then
else
LOCALE
=
$(
echo
$FILE
|
sed
-e
"s@_@-@g"
)
json2po
-i
locale/
$FILE
.json
-t
locale/en.json
-o
po/
$FILE
.po
zanata-cli
-q
-B
push
--push-type
trans
-l
$LOCALE
zanata-cli
-q
-B
push
--push-type
trans
-l
$LOCALE
--project-version
$(
git branch |
grep
\*
|
cut
-d
' '
-f2-
)
fi
This diff is collapsed.
Click to expand it.
zanata.xml
+
0
−
1
View file @
ff88628a
...
...
@@ -2,7 +2,6 @@
<config
xmlns=
"http://zanata.org/namespace/config/"
>
<url>
https://trad.framasoft.org/
</url>
<project>
framadate
</project>
<project-version>
master
</project-version>
<project-type>
gettext
</project-type>
<src-dir>
po
</src-dir>
<trans-dir>
po
</trans-dir>
...
...
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