mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-11 16:00:47 -07:00
Move translation scripts to Cura from Uranium
CURA-9814
This commit is contained in:
parent
24cb9e16a8
commit
20778f3d10
11 changed files with 603 additions and 0 deletions
14
scripts/translations/extract-plugins
Executable file
14
scripts/translations/extract-plugins
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#! /bin/bash
|
||||
|
||||
# Extract strings from all plugins
|
||||
#
|
||||
|
||||
scriptdir=$(dirname $0)
|
||||
dir=$1; shift
|
||||
dest=$1; shift
|
||||
|
||||
for file in $(find -L "$dir" -name plugin.json | grep -v 'tests'); do
|
||||
python3 $scriptdir/createplugincontext.py $file $dir $dest
|
||||
done
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue