Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2016-06-22 09:55:54 +0300
committerAndras Timar <andras.timar@collabora.com>2016-06-22 09:55:54 +0300
commit9a62fcfe7d976a4d8906efe4272ed9aaaca7423b (patch)
treeb39a62899fd1c7f4a781bc2b4bf0db75cb40fc71 /src
parent7f822374536be0f9fe60f261d9d72e3b2d9d9cac (diff)
remove WebODF l10n
Diffstat (limited to 'src')
-rwxr-xr-xsrc/locale.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/locale.sh b/src/locale.sh
deleted file mode 100755
index 1a5dbd93..00000000
--- a/src/locale.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-#extracts strings for translation
-
-if [ ! -e "README.md" ]; then
- echo "Call me in the toplevel dir of OwnCloud Documents."
- exit 1
-fi
-
-JS_PATH=js/
-WEBODF_PATH=js/3rdparty/webodf/
-
-TMP=/tmp/documents-locale.js
-
-grep -ohEr "tr\([\"|'][^\"|']*[\"|']\)" ${WEBODF_PATH} | sed -e "s/\"/'/g" -e "s/^tr(/t('documents',\ /" -e "s/\$/;/" > ${TMP}
-
-grep -ohEr "text-i18n=[\"|'][^\"|']*[\"|']" ${WEBODF_PATH} | sed -e "s/\"/'/g" -e "s/^text-i18n=/t('documents',\ /" -e "s/\$/);/" >> ${TMP}
-
-sort ${TMP} | uniq > ${JS_PATH}locale.js \ No newline at end of file