Skip to content
Newer
Older
100644 35 lines (27 sloc) 690 Bytes
3808819 @argent-smith web/doc consistency checker
argent-smith authored May 30, 2011
1 # Here's the namespace to serve some optional website tasks.
2 namespace :web do
3
4 # Here we work with doc translations.
5 namespace :translations do
6
7 # A helper library.
8 require "rakelib/transcheck"
9
10 # This is the 'leader' version: all is translated from here.
11 LEADER = "web/doc/en"
12
13 # Here we MANUALLY list all official doc translations
14 TRANS = [
15 'de',
16 'es',
17 'fr',
7d94c54 @gcapizzi Add first version of italian translation
gcapizzi authored Mar 5, 2012
18 'it',
3808819 @argent-smith web/doc consistency checker
argent-smith authored May 30, 2011
19 'ja',
20 'pl',
21 'pt-br',
22 'ru'
23 ]
24
25
26 desc "Check web documentation translations for existence and mtime consistency."
27 task :check => LEADER do
28 tc = Transcheck.new(LEADER, TRANS, true)
29 tc.check
30 tc.status
31 end
32 end
33
34 end
Something went wrong with that request. Please try again.