From c98515883097467896a3f46b755c8cb892fe8961 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Tue, 29 Oct 2013 18:42:08 +0100 Subject: Import initial avec une arbrescence éclatée MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/scripts/po2mo.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 dist/scripts/po2mo.sh (limited to 'dist/scripts/po2mo.sh') diff --git a/dist/scripts/po2mo.sh b/dist/scripts/po2mo.sh new file mode 100755 index 0000000..7be049b --- /dev/null +++ b/dist/scripts/po2mo.sh @@ -0,0 +1,9 @@ +#!/bin/bash +for f in *.po +do + mo_dir=${f%%.po}.utf8/LC_MESSAGES/ + [ -d "$mo_dir" ] || mkdir -p "$mo_dir" + + echo msgfmt -o "$mo_dir/editablesite.mo" "$f" + msgfmt -o "$mo_dir/editablesite.mo" "$f" +done -- cgit v1.2.3