aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSARL ENR-68 <david@david.david>2015-01-25 16:55:49 +0100
committerSARL ENR-68 <david@david.david>2015-01-25 16:55:49 +0100
commita8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f (patch)
treea837292d6d0401d416605f69ef67075e2628ee45
parent8ca59788d485f5ba41d686779723e1a0dc480942 (diff)
downloadisodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar
isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar.gz
isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar.bz2
isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.tar.xz
isodumper-a8bc79976cbf08ec19dc58b7f52875c6dc1a3e6f.zip
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
-rw-r--r--Makefile11
-rw-r--r--po/Makefile89
-rw-r--r--share/applications/isodumper.desktop56
-rw-r--r--share/locale/ast/LC_MESSAGES/isodumper.mobin6574 -> 0 bytes
-rw-r--r--share/locale/cs/LC_MESSAGES/isodumper.mobin6856 -> 0 bytes
-rw-r--r--share/locale/da/LC_MESSAGES/isodumper.mobin6598 -> 0 bytes
-rw-r--r--share/locale/de/LC_MESSAGES/isodumper.mobin7043 -> 0 bytes
-rw-r--r--share/locale/el/LC_MESSAGES/isodumper.mobin9007 -> 0 bytes
-rw-r--r--share/locale/en_GB/LC_MESSAGES/isodumper.mobin6501 -> 0 bytes
-rw-r--r--share/locale/es/LC_MESSAGES/isodumper.mobin12578 -> 0 bytes
-rw-r--r--share/locale/et/LC_MESSAGES/isodumper.mobin6494 -> 0 bytes
-rw-r--r--share/locale/eu/LC_MESSAGES/isodumper.mobin11846 -> 0 bytes
-rw-r--r--share/locale/fr/LC_MESSAGES/isodumper.mobin12924 -> 0 bytes
-rw-r--r--share/locale/id/LC_MESSAGES/isodumper.mobin6511 -> 0 bytes
-rw-r--r--share/locale/it/LC_MESSAGES/isodumper.mobin6896 -> 0 bytes
-rw-r--r--share/locale/nl/LC_MESSAGES/isodumper.mobin6774 -> 0 bytes
-rw-r--r--share/locale/pl/LC_MESSAGES/isodumper.mobin6681 -> 0 bytes
-rw-r--r--share/locale/pt/LC_MESSAGES/isodumper.mobin5993 -> 0 bytes
-rw-r--r--share/locale/pt_BR/LC_MESSAGES/isodumper.mobin6783 -> 0 bytes
-rw-r--r--share/locale/ro/LC_MESSAGES/isodumper.mobin6919 -> 0 bytes
-rw-r--r--share/locale/ru/LC_MESSAGES/isodumper.mobin16999 -> 0 bytes
-rw-r--r--share/locale/sl/LC_MESSAGES/isodumper.mobin11857 -> 0 bytes
-rw-r--r--share/locale/sq/LC_MESSAGES/isodumper.mobin6819 -> 0 bytes
-rw-r--r--share/locale/sv/LC_MESSAGES/isodumper.mobin6640 -> 0 bytes
-rw-r--r--share/locale/tr/LC_MESSAGES/isodumper.mobin6802 -> 0 bytes
-rw-r--r--share/locale/uk/LC_MESSAGES/isodumper.mobin17131 -> 0 bytes
-rw-r--r--share/locale/zh_TW/LC_MESSAGES/isodumper.mobin6340 -> 0 bytes
27 files changed, 97 insertions, 59 deletions
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 <papoteur@mageialinux-online.org>
+# Author Makefile file= Geiger David <david.david@mageialinux-online.org>
+
+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
--- a/share/locale/ast/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/cs/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/da/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/de/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/el/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/en_GB/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/es/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/et/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/eu/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/fr/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/id/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/it/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/nl/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/pl/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/pt/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/pt_BR/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/ro/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/ru/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/sl/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/sq/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/sv/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/tr/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/uk/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files 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
--- a/share/locale/zh_TW/LC_MESSAGES/isodumper.mo
+++ /dev/null
Binary files differ