i18n: drop pythonqt translations from the tooling
This commit is contained in:
parent
f08b4e502a
commit
f07c6ed876
@ -29,7 +29,7 @@
|
|||||||
### END USAGE
|
### END USAGE
|
||||||
|
|
||||||
# The files that are translated; should match the contents of .tx/config
|
# The files that are translated; should match the contents of .tx/config
|
||||||
TX_FILE_LIST="lang/calamares_en.ts lang/python.pot src/modules/dummypythonqt/lang/dummypythonqt.pot calamares.desktop"
|
TX_FILE_LIST="lang/calamares_en.ts lang/python.pot calamares.desktop"
|
||||||
|
|
||||||
### COMMAND ARGUMENTS
|
### COMMAND ARGUMENTS
|
||||||
#
|
#
|
||||||
@ -125,7 +125,7 @@ tx_sum()
|
|||||||
|
|
||||||
# Remove linenumbers from .ts (XML) and .pot
|
# Remove linenumbers from .ts (XML) and .pot
|
||||||
sed -i'' -e '/<location filename/d' "$WORKTREE_NAME/lang/calamares_en.ts"
|
sed -i'' -e '/<location filename/d' "$WORKTREE_NAME/lang/calamares_en.ts"
|
||||||
sed -i'' -e '/^#: src..*[0-9]$/d' $WORKTREE_NAME/lang/python.pot $WORKTREE_NAME/src/modules/dummypythonqt/lang/dummypythonqt.pot
|
sed -i'' -e '/^#: src..*[0-9]$/d' $WORKTREE_NAME/lang/python.pot
|
||||||
|
|
||||||
_SUM=$( cd $WORKTREE_NAME && cat $TX_FILE_LIST | $SHA256 )
|
_SUM=$( cd $WORKTREE_NAME && cat $TX_FILE_LIST | $SHA256 )
|
||||||
echo "$_SUM"
|
echo "$_SUM"
|
||||||
|
@ -64,7 +64,7 @@ tx pull --force --source --all
|
|||||||
# so clean them up after pulling.
|
# so clean them up after pulling.
|
||||||
#
|
#
|
||||||
drop_language() {
|
drop_language() {
|
||||||
rm -rf lang/python/"$1" src/modules/dummypythonqt/lang/"$1" lang/calamares_"$1".ts
|
rm -rf lang/python/"$1" lang/calamares_"$1".ts
|
||||||
grep -v "\\[$1]" calamares.desktop > calamares.desktop.new
|
grep -v "\\[$1]" calamares.desktop > calamares.desktop.new
|
||||||
mv calamares.desktop.new calamares.desktop
|
mv calamares.desktop.new calamares.desktop
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user