File tree Expand file tree Collapse file tree 1 file changed +4
-49
lines changed Expand file tree Collapse file tree 1 file changed +4
-49
lines changed Original file line number Diff line number Diff line change 9
9
- master
10
10
11
11
jobs :
12
- build :
13
- runs-on : ubuntu-latest
14
- steps :
15
- - uses : actions/checkout@v4
16
-
17
- - name : Setup Python
18
- uses : actions/setup-python@v4
19
- with :
20
- python-version : ' 3.x'
21
-
22
- - name : Install Trubar
23
- run : |
24
- pip install trubar
25
-
26
- - name : Collect translations
27
- run : |
28
- cd i18n
29
- trubar collect -s ../orangecontrib/geo new.jaml
30
- trubar merge -u Obsolete.jaml si/msgs.jaml new.jaml
31
- trubar missing -o Missing.jaml new.jaml
32
- if [ ! -s Missing.jaml ]
33
- then
34
- rm Missing.jaml
35
- fi
36
-
37
- - name : Check Slovenian translations
38
- run : |
39
- cd i18n
40
- for fn in Obsolete Missing
41
- do
42
- if [ -f $fn.jaml ]
43
- then
44
- echo "::group::$fn translations"
45
- cat $fn.jaml
46
- echo "::endgroup::"
47
- fi
48
- done
49
- echo "-------------------------------"
50
- trubar stat new.jaml
51
- echo "-------------------------------"
52
- if [ -f Missing.jaml ] || [ -f Obsolete.jaml ]
53
- then
54
- echo "### Missing or obsolete translations" >> $GITHUB_STEP_SUMMARY
55
- echo "::error::Missing or obsolete translations"
56
- echo "If you wish to fix this, see orange3/i18n/README.md"
57
- exit 1
58
- else
59
- echo "### All translations are up to date" >> $GITHUB_STEP_SUMMARY
60
- fi
12
+ test-translations :
13
+ uses : biolab/orange-ci-cd/.github/workflows/test-translations.yml@master
14
+ with :
15
+ package-dir : orangecontrib/geo
You can’t perform that action at this time.
0 commit comments