po templates, debian/rules and install policy
authorTuomo Tanskanen <tumi@tumi.fi>
Fri, 19 Feb 2010 12:52:01 +0000 (14:52 +0200)
committerTuomo Tanskanen <tumi@tumi.fi>
Fri, 19 Feb 2010 12:52:01 +0000 (14:52 +0200)
13 files changed:
cell-modem-ui/debian/cell-modem-ui.install
cell-modem-ui/debian/control
cell-modem-ui/debian/rules
cell-modem-ui/po/de_DE.po [new file with mode: 0644]
cell-modem-ui/po/en_GB.po [new file with mode: 0644]
cell-modem-ui/po/en_US.po [new file with mode: 0644]
cell-modem-ui/po/es_ES.po [new file with mode: 0644]
cell-modem-ui/po/fi_FI.po [new file with mode: 0644]
cell-modem-ui/po/fr_FR.po [new file with mode: 0644]
cell-modem-ui/po/it_IT.po [new file with mode: 0644]
cell-modem-ui/po/nl_NL.po [new file with mode: 0644]
cell-modem-ui/po/pl_PL.po [new file with mode: 0644]
cell-modem-ui/po/sv_SE.po [new file with mode: 0644]

index 62edbf3..872daa3 100644 (file)
@@ -2,7 +2,7 @@ Source: cell-modem-ui
 Section: user/system
 Priority: optional
 Maintainer: Tuomo Tanskanen <tumi@tumi.fi>
-Build-Depends: debhelper (>= 4.1.0)
+Build-Depends: debhelper (>= 4.1.0), gettext (>= 0.17)
 Standards-Version: 3.8.0
 
 Package: cell-modem-ui
index eec4bbb..576a029 100755 (executable)
@@ -40,10 +40,17 @@ install: build
        dh_testroot
        dh_clean -k 
        dh_installdirs
-       #mkdir -p $(CURDIR)/debian/tmp/etc/systemui
+
+       # install our xml to /opt
        mkdir -p $(CURDIR)/debian/tmp/opt/cell-modem-ui
        cp $(CURDIR)/etc/systemui/*.xml $(CURDIR)/debian/tmp/opt/cell-modem-ui/
 
+       # install our translations by hand
+       for i in fi_FI en_GB en_US es_ES fr_FR sv_SE pl_PL nl_NL it_IT de_DE; do
+               mkdir -p $(CURDIR)/debian/tmp/usr/share/locale/$i/LC_MESSAGES
+               msgfmt $(CURDIR)/po/$i.po -o $(CURDIR)/debian/tmp/usr/share/locale/$i/LC_MESSAGES/cell-modem-ui.mo
+       done
+
 binary-indep: build install
 
 binary-arch: build install
diff --git a/cell-modem-ui/po/de_DE.po b/cell-modem-ui/po/de_DE.po
new file mode 100644 (file)
index 0000000..b463b5a
--- /dev/null
@@ -0,0 +1,24 @@
+
+# Cellular Modem Control Buttons fi_FI translation file.
+# Copyright (C) 2010 Tuomo Tanskanen <tumi@tumi.fi>. All rights reserved.
+# This file is distributed under the same license as the cell-modem-ui package.
+
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5\n"
+"Report-Msgid-Bugs-To: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"POT-Creation-Date: 2010-02-19 14:31+0300\n\n"
+"PO-Revision-Date: 2010-02-19 14:31+0300\n\n"
+"Last-Translator: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"Language-Team: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_tablet_mode"
+msgstr "Tablet mode"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_phone_mode"
+msgstr "Phone mode"
diff --git a/cell-modem-ui/po/en_GB.po b/cell-modem-ui/po/en_GB.po
new file mode 100644 (file)
index 0000000..b463b5a
--- /dev/null
@@ -0,0 +1,24 @@
+
+# Cellular Modem Control Buttons fi_FI translation file.
+# Copyright (C) 2010 Tuomo Tanskanen <tumi@tumi.fi>. All rights reserved.
+# This file is distributed under the same license as the cell-modem-ui package.
+
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5\n"
+"Report-Msgid-Bugs-To: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"POT-Creation-Date: 2010-02-19 14:31+0300\n\n"
+"PO-Revision-Date: 2010-02-19 14:31+0300\n\n"
+"Last-Translator: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"Language-Team: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_tablet_mode"
+msgstr "Tablet mode"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_phone_mode"
+msgstr "Phone mode"
diff --git a/cell-modem-ui/po/en_US.po b/cell-modem-ui/po/en_US.po
new file mode 100644 (file)
index 0000000..b463b5a
--- /dev/null
@@ -0,0 +1,24 @@
+
+# Cellular Modem Control Buttons fi_FI translation file.
+# Copyright (C) 2010 Tuomo Tanskanen <tumi@tumi.fi>. All rights reserved.
+# This file is distributed under the same license as the cell-modem-ui package.
+
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5\n"
+"Report-Msgid-Bugs-To: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"POT-Creation-Date: 2010-02-19 14:31+0300\n\n"
+"PO-Revision-Date: 2010-02-19 14:31+0300\n\n"
+"Last-Translator: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"Language-Team: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_tablet_mode"
+msgstr "Tablet mode"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_phone_mode"
+msgstr "Phone mode"
diff --git a/cell-modem-ui/po/es_ES.po b/cell-modem-ui/po/es_ES.po
new file mode 100644 (file)
index 0000000..b463b5a
--- /dev/null
@@ -0,0 +1,24 @@
+
+# Cellular Modem Control Buttons fi_FI translation file.
+# Copyright (C) 2010 Tuomo Tanskanen <tumi@tumi.fi>. All rights reserved.
+# This file is distributed under the same license as the cell-modem-ui package.
+
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5\n"
+"Report-Msgid-Bugs-To: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"POT-Creation-Date: 2010-02-19 14:31+0300\n\n"
+"PO-Revision-Date: 2010-02-19 14:31+0300\n\n"
+"Last-Translator: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"Language-Team: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_tablet_mode"
+msgstr "Tablet mode"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_phone_mode"
+msgstr "Phone mode"
diff --git a/cell-modem-ui/po/fi_FI.po b/cell-modem-ui/po/fi_FI.po
new file mode 100644 (file)
index 0000000..b463b5a
--- /dev/null
@@ -0,0 +1,24 @@
+
+# Cellular Modem Control Buttons fi_FI translation file.
+# Copyright (C) 2010 Tuomo Tanskanen <tumi@tumi.fi>. All rights reserved.
+# This file is distributed under the same license as the cell-modem-ui package.
+
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5\n"
+"Report-Msgid-Bugs-To: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"POT-Creation-Date: 2010-02-19 14:31+0300\n\n"
+"PO-Revision-Date: 2010-02-19 14:31+0300\n\n"
+"Last-Translator: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"Language-Team: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_tablet_mode"
+msgstr "Tablet mode"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_phone_mode"
+msgstr "Phone mode"
diff --git a/cell-modem-ui/po/fr_FR.po b/cell-modem-ui/po/fr_FR.po
new file mode 100644 (file)
index 0000000..b463b5a
--- /dev/null
@@ -0,0 +1,24 @@
+
+# Cellular Modem Control Buttons fi_FI translation file.
+# Copyright (C) 2010 Tuomo Tanskanen <tumi@tumi.fi>. All rights reserved.
+# This file is distributed under the same license as the cell-modem-ui package.
+
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5\n"
+"Report-Msgid-Bugs-To: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"POT-Creation-Date: 2010-02-19 14:31+0300\n\n"
+"PO-Revision-Date: 2010-02-19 14:31+0300\n\n"
+"Last-Translator: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"Language-Team: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_tablet_mode"
+msgstr "Tablet mode"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_phone_mode"
+msgstr "Phone mode"
diff --git a/cell-modem-ui/po/it_IT.po b/cell-modem-ui/po/it_IT.po
new file mode 100644 (file)
index 0000000..b463b5a
--- /dev/null
@@ -0,0 +1,24 @@
+
+# Cellular Modem Control Buttons fi_FI translation file.
+# Copyright (C) 2010 Tuomo Tanskanen <tumi@tumi.fi>. All rights reserved.
+# This file is distributed under the same license as the cell-modem-ui package.
+
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5\n"
+"Report-Msgid-Bugs-To: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"POT-Creation-Date: 2010-02-19 14:31+0300\n\n"
+"PO-Revision-Date: 2010-02-19 14:31+0300\n\n"
+"Last-Translator: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"Language-Team: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_tablet_mode"
+msgstr "Tablet mode"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_phone_mode"
+msgstr "Phone mode"
diff --git a/cell-modem-ui/po/nl_NL.po b/cell-modem-ui/po/nl_NL.po
new file mode 100644 (file)
index 0000000..b463b5a
--- /dev/null
@@ -0,0 +1,24 @@
+
+# Cellular Modem Control Buttons fi_FI translation file.
+# Copyright (C) 2010 Tuomo Tanskanen <tumi@tumi.fi>. All rights reserved.
+# This file is distributed under the same license as the cell-modem-ui package.
+
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5\n"
+"Report-Msgid-Bugs-To: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"POT-Creation-Date: 2010-02-19 14:31+0300\n\n"
+"PO-Revision-Date: 2010-02-19 14:31+0300\n\n"
+"Last-Translator: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"Language-Team: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_tablet_mode"
+msgstr "Tablet mode"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_phone_mode"
+msgstr "Phone mode"
diff --git a/cell-modem-ui/po/pl_PL.po b/cell-modem-ui/po/pl_PL.po
new file mode 100644 (file)
index 0000000..b463b5a
--- /dev/null
@@ -0,0 +1,24 @@
+
+# Cellular Modem Control Buttons fi_FI translation file.
+# Copyright (C) 2010 Tuomo Tanskanen <tumi@tumi.fi>. All rights reserved.
+# This file is distributed under the same license as the cell-modem-ui package.
+
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5\n"
+"Report-Msgid-Bugs-To: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"POT-Creation-Date: 2010-02-19 14:31+0300\n\n"
+"PO-Revision-Date: 2010-02-19 14:31+0300\n\n"
+"Last-Translator: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"Language-Team: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_tablet_mode"
+msgstr "Tablet mode"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_phone_mode"
+msgstr "Phone mode"
diff --git a/cell-modem-ui/po/sv_SE.po b/cell-modem-ui/po/sv_SE.po
new file mode 100644 (file)
index 0000000..b463b5a
--- /dev/null
@@ -0,0 +1,24 @@
+
+# Cellular Modem Control Buttons fi_FI translation file.
+# Copyright (C) 2010 Tuomo Tanskanen <tumi@tumi.fi>. All rights reserved.
+# This file is distributed under the same license as the cell-modem-ui package.
+
+msgid ""
+msgstr ""
+"Project-Id-Version: 0.5\n"
+"Report-Msgid-Bugs-To: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"POT-Creation-Date: 2010-02-19 14:31+0300\n\n"
+"PO-Revision-Date: 2010-02-19 14:31+0300\n\n"
+"Last-Translator: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"Language-Team: Tuomo Tanskanen <tumi@tumi.fi>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_tablet_mode"
+msgstr "Tablet mode"
+
+#: cell-modem-ui.xml
+msgid "cellmodemui_phone_mode"
+msgstr "Phone mode"