summaryrefslogtreecommitdiff
path: root/utils/update-translations.sh
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-02-25 17:42:52 +0100
committerAlexandre Flament <alex@al-f.net>2021-03-04 11:59:14 +0100
commitb8cd3264644208d7afa1a239f829222d45226334 (patch)
treeabbbd7fe188e7837f8351935ec47877799bc9474 /utils/update-translations.sh
parent111d38cd8fe35365cab2121a362bd17159c66d3f (diff)
Add searx_extra package
Split the utils directory into: * searx_extra contains update scripts, standalone_searx.py * utils contains the files to build and setup searx.
Diffstat (limited to 'utils/update-translations.sh')
-rwxr-xr-xutils/update-translations.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/utils/update-translations.sh b/utils/update-translations.sh
deleted file mode 100755
index 240387ae7..000000000
--- a/utils/update-translations.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-# script to easily update translation language files
-
-# add new language:
-# pybabel init -i messages.pot -d searx/translations -l en
-
-SEARX_DIR='searx'
-
-pybabel extract -F babel.cfg -o messages.pot "$SEARX_DIR"
-for f in `ls "$SEARX_DIR"'/translations/'`; do
- pybabel update -N -i messages.pot -d "$SEARX_DIR"'/translations/' -l "$f"
-done
-
-echo '[!] update done, edit .po files if required and run pybabel compile -d searx/translations/'