From a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f Mon Sep 17 00:00:00 2001 From: SARL ENR-68 Date: Sun, 25 Jan 2015 16:55:49 +0100 Subject: Change for automatic formatting and compiling '.po' files during build - add new Makefile for po files - fix main Makefile adding po/Makefile - remove locale folder --- Makefile | 11 +++- po/Makefile | 89 ++++++++++++++++++++++++++++ share/applications/isodumper.desktop | 56 ----------------- share/locale/ast/LC_MESSAGES/isodumper.mo | Bin 6574 -> 0 bytes share/locale/cs/LC_MESSAGES/isodumper.mo | Bin 6856 -> 0 bytes share/locale/da/LC_MESSAGES/isodumper.mo | Bin 6598 -> 0 bytes share/locale/de/LC_MESSAGES/isodumper.mo | Bin 7043 -> 0 bytes share/locale/el/LC_MESSAGES/isodumper.mo | Bin 9007 -> 0 bytes share/locale/en_GB/LC_MESSAGES/isodumper.mo | Bin 6501 -> 0 bytes share/locale/es/LC_MESSAGES/isodumper.mo | Bin 12578 -> 0 bytes share/locale/et/LC_MESSAGES/isodumper.mo | Bin 6494 -> 0 bytes share/locale/eu/LC_MESSAGES/isodumper.mo | Bin 11846 -> 0 bytes share/locale/fr/LC_MESSAGES/isodumper.mo | Bin 12924 -> 0 bytes share/locale/id/LC_MESSAGES/isodumper.mo | Bin 6511 -> 0 bytes share/locale/it/LC_MESSAGES/isodumper.mo | Bin 6896 -> 0 bytes share/locale/nl/LC_MESSAGES/isodumper.mo | Bin 6774 -> 0 bytes share/locale/pl/LC_MESSAGES/isodumper.mo | Bin 6681 -> 0 bytes share/locale/pt/LC_MESSAGES/isodumper.mo | Bin 5993 -> 0 bytes share/locale/pt_BR/LC_MESSAGES/isodumper.mo | Bin 6783 -> 0 bytes share/locale/ro/LC_MESSAGES/isodumper.mo | Bin 6919 -> 0 bytes share/locale/ru/LC_MESSAGES/isodumper.mo | Bin 16999 -> 0 bytes share/locale/sl/LC_MESSAGES/isodumper.mo | Bin 11857 -> 0 bytes share/locale/sq/LC_MESSAGES/isodumper.mo | Bin 6819 -> 0 bytes share/locale/sv/LC_MESSAGES/isodumper.mo | Bin 6640 -> 0 bytes share/locale/tr/LC_MESSAGES/isodumper.mo | Bin 6802 -> 0 bytes share/locale/uk/LC_MESSAGES/isodumper.mo | Bin 17131 -> 0 bytes share/locale/zh_TW/LC_MESSAGES/isodumper.mo | Bin 6340 -> 0 bytes 27 files changed, 97 insertions(+), 59 deletions(-) create mode 100644 po/Makefile delete mode 100644 share/applications/isodumper.desktop delete mode 100644 share/locale/ast/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/cs/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/da/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/de/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/el/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/en_GB/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/es/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/et/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/eu/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/fr/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/id/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/it/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/nl/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/pl/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/pt/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/pt_BR/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/ro/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/ru/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/sl/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/sq/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/sv/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/tr/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/uk/LC_MESSAGES/isodumper.mo delete mode 100644 share/locale/zh_TW/LC_MESSAGES/isodumper.mo diff --git a/Makefile b/Makefile index 3a7d8aa..2975e35 100644 --- a/Makefile +++ b/Makefile @@ -26,20 +26,26 @@ LOCALEDIR=$(PREFIX) DOCDIR=$(PREFIX)/share/doc/isodumper PYTHON=/usr/bin/env python DIRS = polkit +POFILES = po -all: dirs +all: dirs pofiles dirs: @for n in . $(DIRS); do \ [ "$$n" = "." ] || make -C $$n || cd .. || exit 1 ;\ done +pofiles: + @for n in . $(POFILES); do \ + [ "$$n" = "." ] || make -C $$n || cd .. || exit 1 ;\ + done + clean: rm -f polkit/isodumper polkit/org.mageia.isodumper.policy \ isodumper.tar.xz -install: all +install: # for binary file script isodumper on /usr/libexec/ mkdir -p $(DESTDIR)$(LIBEXECDIR) @@ -98,7 +104,6 @@ install: all install -m 644 $$locale/LC_MESSAGES/isodumper.mo $(DESTDIR)$(LOCALEDIR)/$$locale/LC_MESSAGES/isodumper.mo; \ done - tar: tar cvJf isodumper.tar.xz * diff --git a/po/Makefile b/po/Makefile new file mode 100644 index 0000000..04e764a --- /dev/null +++ b/po/Makefile @@ -0,0 +1,89 @@ +# Copyright (C) 2013 THE isodumper'S COPYRIGHT HOLDER +# This file is distributed under the same license as the isodumper package. + +# This Makefile is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# Author isodumper software= papoteur +# Author Makefile file= Geiger David + +PREFIX=/usr +BINDIR=$(PREFIX)/bin +SBINDIR=$(PREFIX)/sbin +LIBDIR=$(PREFIX)/lib +LIBEXECDIR=$(PREFIX)/libexec +DATADIR=$(PREFIX)/share +LOCALEDIR=$(PREFIX) +BINDEST = $(DESTDIR)$(BINDIR) +POFILES = po + +all: formatting clean compile + +clean: + rm -f *.po~ + +formatting: all + + # formatting all isodumper.po files + #(just add to the list the available language or comment the unavailable language) + cd ../tools && sh po-update.sh ast + cd ../tools && sh po-update.sh cs + cd ../tools && sh po-update.sh da + cd ../tools && sh po-update.sh de + cd ../tools && sh po-update.sh el + cd ../tools && sh po-update.sh en_GB + cd ../tools && sh po-update.sh es + cd ../tools && sh po-update.sh et + cd ../tools && sh po-update.sh eu + cd ../tools && sh po-update.sh fr + cd ../tools && sh po-update.sh id + cd ../tools && sh po-update.sh it + cd ../tools && sh po-update.sh nl + cd ../tools && sh po-update.sh pl + cd ../tools && sh po-update.sh pt + cd ../tools && sh po-update.sh pt_BR + cd ../tools && sh po-update.sh ro + cd ../tools && sh po-update.sh ru + cd ../tools && sh po-update.sh sl + cd ../tools && sh po-update.sh sq + cd ../tools && sh po-update.sh sv + cd ../tools && sh po-update.sh tr + cd ../tools && sh po-update.sh uk + cd ../tools && sh po-update.sh zh_CN + cd ../tools && sh po-update.sh zh_TW + +compile : all + + # compile all isodumper.mo files + #(just add to the list the available language or comment the unavailable language) + cd ../tools && sh po-compile.sh ast + cd ../tools && sh po-compile.sh cs + cd ../tools && sh po-compile.sh da + cd ../tools && sh po-compile.sh de + cd ../tools && sh po-compile.sh el + cd ../tools && sh po-compile.sh en_GB + cd ../tools && sh po-compile.sh es + cd ../tools && sh po-compile.sh et + cd ../tools && sh po-compile.sh eu + cd ../tools && sh po-compile.sh fr + cd ../tools && sh po-compile.sh id + cd ../tools && sh po-compile.sh it + cd ../tools && sh po-compile.sh nl + cd ../tools && sh po-compile.sh pl + cd ../tools && sh po-compile.sh pt + cd ../tools && sh po-compile.sh pt_BR + cd ../tools && sh po-compile.sh ro + cd ../tools && sh po-compile.sh ru + cd ../tools && sh po-compile.sh sl + cd ../tools && sh po-compile.sh sq + cd ../tools && sh po-compile.sh sv + cd ../tools && sh po-compile.sh tr + cd ../tools && sh po-compile.sh uk + cd ../tools && sh po-compile.sh zh_CN + cd ../tools && sh po-compile.sh zh_TW diff --git a/share/applications/isodumper.desktop b/share/applications/isodumper.desktop deleted file mode 100644 index 81d6a4e..0000000 --- a/share/applications/isodumper.desktop +++ /dev/null @@ -1,56 +0,0 @@ -[Desktop Entry] -Name=IsoDumper -Name[ast]=IsoDumper -Name[cs]=IsoDumper -Name[da]=IsoDumper -Name[de]=IsoDumper -Name[el]=IsoDumper -Name[en_GB]=IsoDumper -Name[es]=IsoDumper -Name[et]=IsoDumper -Name[eu]=IsoDumper -Name[fr]=IsoDumper -Name[id]=IsoDumper -Name[it]=IsoDumper -Name[nl]=IsoDumper -Name[pl]=IsoDumper -Name[pt]=IsoDumper -Name[pt_BR]=IsoDumper -Name[ro]=IsoDumper -Name[ru]=IsoDumper -Name[sl]=IsoDumper -Name[sq]=IsoDumper -Name[sv]=IsoDumper -Name[tr]=IsoDumper -Name[uk]=IsoDumper -Name[zh_TW]=IsoDumper -Comment=A GUI tool to write .img and .iso files to USB Keys -Comment[ast]=Una ferramienta gráfica pa escribir ficheros .img ya .iso a llaves USB -Comment[cs]=Nástroj s grafickým uživatelským rozhraním k zapsání souborů .img a .iso na klíčenku USB -Comment[da]=Et GUI værktøj til at skrive .img og .iso filer på USB nøgler -Comment[de]=Eine graphische Oberfläche, um .img oder .iso Abbilder auf USB-Sticks zu schreiben -Comment[el]=Ένα γραφικό εργαλείο για την εγγραφή αρχείων .img και .iso σε μνήμες USB -Comment[en_GB]=A GUI tool to write .img and .iso files to USB sticks -Comment[es]=Una herramienta gráfica para escribir imágenes .img e .iso en pendrives USB -Comment[et]=Rakendus .img- ja .iso-failide kirjutamiseks USB-pulgale -Comment[eu]=GUI tresna bat .img eta .iso fitxategiak USB Giltza baten idazteko -Comment[fr]=Outil graphique pour écrire des fichiers .img et .iso sur clés USB -Comment[id]=Alat GUI untuk menulis file .img dan .iso ke flashdisk -Comment[it]=Uno strumento con interfaccia grafica per scrivere file .img e .iso in una chiavetta USB -Comment[nl]=Een grafische tool om .img en .iso bestanden naar USB-sticks te schrijven -Comment[pl]=Narzędzie do zapisywania obrazów .img oraz .iso na USB -Comment[pt]=Uma ferramenta "GUI" para gravar os ficheiros .img e .iso para pens USB -Comment[pt_BR]=Uma ferramenta GUI para gravar .img e .iso para chave USB -Comment[ro]=O interfață grafică pentru scrierea fișierelor .img și .iso pe cheile USB -Comment[ru]=Графическая утилита для записи .img и .iso файлов на USB флешки -Comment[sl]=Orodje z grafičnim uporabniškim vmesnikom za zapis datotek odtisa diska (.img in .iso) na ključek USB -Comment[sq]=Një mjet GUI për të shkruar dokumente .img dhe .iso në Pajisjet USB -Comment[sv]=Ett grafiskt verktyg för att skriva .img och .iso-filer till USB-minnen -Comment[tr]=USB belleklere .img ve .iso dosyalarını yazdırmak için bir grafiksel araç -Comment[uk]=Програма з графічним інтерфейсом для запису файлів img та iso на носії USB -Comment[zh_TW]=一個寫入 .img 和 .iso 檔案到 USB 隨身碟的 GUI 工具 -Exec=isodumper -Icon=isodumper.png -Type=Application -Terminal=false -Categories=System; diff --git a/share/locale/ast/LC_MESSAGES/isodumper.mo b/share/locale/ast/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 8d0303d..0000000 Binary files a/share/locale/ast/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/cs/LC_MESSAGES/isodumper.mo b/share/locale/cs/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 5b21ae9..0000000 Binary files a/share/locale/cs/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/da/LC_MESSAGES/isodumper.mo b/share/locale/da/LC_MESSAGES/isodumper.mo deleted file mode 100644 index b5f46e9..0000000 Binary files a/share/locale/da/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/de/LC_MESSAGES/isodumper.mo b/share/locale/de/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 05df8ae..0000000 Binary files a/share/locale/de/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/el/LC_MESSAGES/isodumper.mo b/share/locale/el/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 0da6b9c..0000000 Binary files a/share/locale/el/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/en_GB/LC_MESSAGES/isodumper.mo b/share/locale/en_GB/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 5c4b2d5..0000000 Binary files a/share/locale/en_GB/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/es/LC_MESSAGES/isodumper.mo b/share/locale/es/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 7c4e0ad..0000000 Binary files a/share/locale/es/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/et/LC_MESSAGES/isodumper.mo b/share/locale/et/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 8afdf13..0000000 Binary files a/share/locale/et/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/eu/LC_MESSAGES/isodumper.mo b/share/locale/eu/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 6d4a144..0000000 Binary files a/share/locale/eu/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/fr/LC_MESSAGES/isodumper.mo b/share/locale/fr/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 73cd14c..0000000 Binary files a/share/locale/fr/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/id/LC_MESSAGES/isodumper.mo b/share/locale/id/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 5fec4b8..0000000 Binary files a/share/locale/id/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/it/LC_MESSAGES/isodumper.mo b/share/locale/it/LC_MESSAGES/isodumper.mo deleted file mode 100644 index ba17dd4..0000000 Binary files a/share/locale/it/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/nl/LC_MESSAGES/isodumper.mo b/share/locale/nl/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 372ccb6..0000000 Binary files a/share/locale/nl/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/pl/LC_MESSAGES/isodumper.mo b/share/locale/pl/LC_MESSAGES/isodumper.mo deleted file mode 100644 index e9ee294..0000000 Binary files a/share/locale/pl/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/pt/LC_MESSAGES/isodumper.mo b/share/locale/pt/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 4b51235..0000000 Binary files a/share/locale/pt/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/pt_BR/LC_MESSAGES/isodumper.mo b/share/locale/pt_BR/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 6411d1b..0000000 Binary files a/share/locale/pt_BR/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/ro/LC_MESSAGES/isodumper.mo b/share/locale/ro/LC_MESSAGES/isodumper.mo deleted file mode 100644 index fe1d514..0000000 Binary files a/share/locale/ro/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/ru/LC_MESSAGES/isodumper.mo b/share/locale/ru/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 144294a..0000000 Binary files a/share/locale/ru/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/sl/LC_MESSAGES/isodumper.mo b/share/locale/sl/LC_MESSAGES/isodumper.mo deleted file mode 100644 index c255ce0..0000000 Binary files a/share/locale/sl/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/sq/LC_MESSAGES/isodumper.mo b/share/locale/sq/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 24b19eb..0000000 Binary files a/share/locale/sq/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/sv/LC_MESSAGES/isodumper.mo b/share/locale/sv/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 43dce1f..0000000 Binary files a/share/locale/sv/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/tr/LC_MESSAGES/isodumper.mo b/share/locale/tr/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 22acaa0..0000000 Binary files a/share/locale/tr/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/uk/LC_MESSAGES/isodumper.mo b/share/locale/uk/LC_MESSAGES/isodumper.mo deleted file mode 100644 index d165fdc..0000000 Binary files a/share/locale/uk/LC_MESSAGES/isodumper.mo and /dev/null differ diff --git a/share/locale/zh_TW/LC_MESSAGES/isodumper.mo b/share/locale/zh_TW/LC_MESSAGES/isodumper.mo deleted file mode 100644 index 51999d4..0000000 Binary files a/share/locale/zh_TW/LC_MESSAGES/isodumper.mo and /dev/null differ -- cgit v1.2.1