Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a52cf85c
Commit
a52cf85c
authored
May 10, 2013
by
Steve Strassmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rake task dependency for transifex
parent
f30f6207
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
rakefile
+2
-4
No files found.
rakefile
View file @
a52cf85c
...
@@ -562,15 +562,13 @@ namespace :i18n do
...
@@ -562,15 +562,13 @@ namespace :i18n do
namespace
:transifex
do
namespace
:transifex
do
desc
"Push source strings to Transifex for translation"
desc
"Push source strings to Transifex for translation"
task
:push
do
task
:push
=>
"i18n:validate:transifex_config"
do
Rake
::
Task
[
"i18n:validate:transifex_config"
].
execute
cmd
=
File
.
join
(
REPO_ROOT
,
"i18n"
,
"transifex.py"
)
cmd
=
File
.
join
(
REPO_ROOT
,
"i18n"
,
"transifex.py"
)
sh
(
"
#{
cmd
}
push"
)
sh
(
"
#{
cmd
}
push"
)
end
end
desc
"Pull translated strings from Transifex"
desc
"Pull translated strings from Transifex"
task
:pull
do
task
:pull
=>
"i18n:validate:transifex_config"
do
Rake
::
Task
[
"i18n:validate:transifex_config"
].
execute
cmd
=
File
.
join
(
REPO_ROOT
,
"i18n"
,
"transifex.py"
)
cmd
=
File
.
join
(
REPO_ROOT
,
"i18n"
,
"transifex.py"
)
sh
(
"
#{
cmd
}
pull"
)
sh
(
"
#{
cmd
}
pull"
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment