summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2019-04-13 21:59:41 +0200
committerAndras Timar <andras.timar@collabora.com>2019-04-13 21:59:41 +0200
commit5f10b44f00651bcaa3b87c65f4fe8b97a0b6bf05 (patch)
tree88ea78f2429f0ff960af96ade6fb51a4caa21109 /scripts
parent4cfd2e8744e07bb13a8cfe6ff2c962300673eae6 (diff)
Extract iOS strings with prop2po from Translate Toolkit + update pots
Change-Id: I0b7a7f2b9dd9bcbc52117fbe3e1009cc5f629ea2
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/plist2pot.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/scripts/plist2pot.sh b/scripts/plist2pot.sh
deleted file mode 100755
index eb175052d..000000000
--- a/scripts/plist2pot.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-if [ "$#" -ne 2 ]; then
- echo "Usage: plist2pot.sh Root.plist ios.pot"
- exit 1;
-fi
-
-rm -f $2
-
-cat << EOF >> $2
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: $(date +"%Y-%m-%d %H:%M%z")\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-EOF
-
-sed -n 'N;/<key>Title<\/key>/{N;/<string>.*<\/string>/{s/.*<string>\(.*\)<\/string>.*/#: Root.plist\
-msgid "\1"\
-msgstr ""\
-/p;};}' $1 >> $2