foreman_bootdisk 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce871fad8bb1d1ebb2a0a4cb26eafc2cbfc57f33
4
- data.tar.gz: d581f9c98ab0cc5741b85fcbbc58379b60389798
3
+ metadata.gz: 24ff51f73764abf0b48731a7c2d4018a5dd59cf6
4
+ data.tar.gz: c5414e2c0ff9241370135e860dd01d23cb613e6d
5
5
  SHA512:
6
- metadata.gz: f905f33886dc4089e14df92b6cb54667894fefd8bfbe1a40acd76435cfede869684b6651665c3f44b5c2bf1644dbacf24056f3470ac583e5b4e5a6e68284aec3
7
- data.tar.gz: b91315f9b23f5933ddd1bbd450a65146e789103e49507f07b1489327e9d7b3f9261c5b67e6e7232b71c73bef8519777ae8d8a4932ba1dcb4394c5d540c61410d
6
+ metadata.gz: a7faca8fbfe243f267fc11b8ebdc44d81710f27e96f91ff3d766fc603630d8bffbeb50b278fd2be15f97a84360018631e3be1723b04f45488861db162b56ae44
7
+ data.tar.gz: a2101a383d14e19352074004d42bce2ba2c4519951a042820281eea2fc93504e70cc466d3e7f6e0c6220742a7dafdbf683595f0a244384b4e5136c090d0430d7
data/CHANGES.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## v3.1.1
4
+ * package .mo files for i18n support (#7153)
5
+
3
6
  ## v3.1.0
4
7
  * added API:
5
8
  * /bootdisk/api/v2/generic to download the generic ISO
@@ -1,3 +1,3 @@
1
1
  module ForemanBootdisk
2
- VERSION = '3.1.0'
2
+ VERSION = '3.1.1'
3
3
  end
data/locale/Makefile ADDED
@@ -0,0 +1,62 @@
1
+ #
2
+ # Makefile for PO merging and MO generation. More info in the README.
3
+ #
4
+ # make all-mo (default) - generate MO files
5
+ # make check - check translations using translate-tool
6
+ # make tx-update - download and merge translations from Transifex
7
+ # make clean - clean everything
8
+ #
9
+ DOMAIN = foreman_bootdisk
10
+ VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load(Dir.glob("../*.gemspec")[0]);puts spec.version')
11
+ POTFILE = $(DOMAIN).pot
12
+ MOFILE = $(DOMAIN).mo
13
+ POFILES = $(shell find . -name '*.po')
14
+ MOFILES = $(patsubst %.po,%.mo,$(POFILES))
15
+ POXFILES = $(patsubst %.po,%.pox,$(POFILES))
16
+
17
+ %.mo: %.po
18
+ mkdir -p $(shell dirname $@)/LC_MESSAGES
19
+ msgfmt -o $(shell dirname $@)/LC_MESSAGES/$(MOFILE) $<
20
+
21
+ # Generate MO files from PO files
22
+ all-mo: $(MOFILES)
23
+
24
+ # Check for malformed strings
25
+ %.pox: %.po
26
+ msgfmt -c $<
27
+ pofilter --nofuzzy -t variables -t blank -t urls -t emails -t long -t newlines \
28
+ -t endwhitespace -t endpunc -t puncspacing -t options -t printf -t validchars --gnome $< > $@
29
+ cat $@
30
+ ! grep -q msgid $@
31
+
32
+ check: $(POXFILES)
33
+ msgfmt -c ${POTFILE}
34
+
35
+ # Merge PO files
36
+ update-po:
37
+ for f in $(shell find ./ -name "*.po") ; do \
38
+ msgmerge -N --backup=none -U $$f ${POTFILE} ; \
39
+ done
40
+
41
+ # Unify duplicate translations
42
+ uniq-po:
43
+ for f in $(shell find ./ -name "*.po") ; do \
44
+ msguniq $$f -o $$f ; \
45
+ done
46
+
47
+ tx-pull:
48
+ tx pull -f
49
+ for f in $(POFILES) ; do \
50
+ sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
51
+ done
52
+ -git commit -a -m "i18n - pulling from tx"
53
+
54
+ reset-po:
55
+ # merging po files is unnecessary when using transifex.com
56
+ git checkout -- ../locale/*/*po
57
+
58
+ tx-update: tx-pull reset-po $(MOFILES)
59
+ # amend mo files
60
+ git add ../locale/*/LC_MESSAGES
61
+ git commit -a --amend -m "i18n - pulling from tx"
62
+ -echo Changes commited!
@@ -7,11 +7,11 @@
7
7
  # simon11 <simon.stieger.98@live.de>, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: Foreman\n"
10
+ "Project-Id-Version: foreman_bootdisk 3.1.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2014-08-05 17:10+0100\n"
13
- "PO-Revision-Date: 2014-08-06 08:59+0000\n"
14
- "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
12
+ "POT-Creation-Date: 2014-08-08 13:53+0100\n"
13
+ "PO-Revision-Date: 2014-08-09 08:59+0000\n"
14
+ "Last-Translator: Lukáš Zapletal\n"
15
15
  "Language-Team: German (http://www.transifex.com/projects/p/foreman/language/de/)\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -22,6 +22,9 @@ msgstr ""
22
22
  msgid "Boot disk"
23
23
  msgstr "Boot disk"
24
24
 
25
+ msgid "Boot disks"
26
+ msgstr ""
27
+
25
28
  msgid ""
26
29
  "Bootdisk is not supported with safemode rendering, please disable "
27
30
  "safemode_render under Adminster>Settings"
@@ -30,6 +33,12 @@ msgstr "Bootdisk mit Safemode-Abbildung wird nicht unterstützt, bitte deaktivie
30
33
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
31
34
  msgstr "Kommando zur Erstellung von ISO-Images, verwende genisoimage oder mkisofs"
32
35
 
36
+ msgid "Download generic image"
37
+ msgstr ""
38
+
39
+ msgid "Download host image"
40
+ msgstr ""
41
+
33
42
  msgid "Failed to render boot disk template: %s"
34
43
  msgstr "Fehler beim Abbilden der Bootdisk-Vorlage: %s"
35
44
 
@@ -5,7 +5,7 @@
5
5
  #, fuzzy
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: version 0.0.1\n"
8
+ "Project-Id-Version: foreman_bootdisk 3.1.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "POT-Creation-Date: 2014-08-08 13:53+0100\n"
11
11
  "PO-Revision-Date: 2014-02-13 12:09+0000\n"
@@ -6,11 +6,11 @@
6
6
  # Dominic Cleal <dcleal@redhat.com>, 2014
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: Foreman\n"
9
+ "Project-Id-Version: foreman_bootdisk 3.1.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2014-08-05 17:10+0100\n"
12
- "PO-Revision-Date: 2014-08-06 09:00+0000\n"
13
- "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
11
+ "POT-Creation-Date: 2014-08-08 13:53+0100\n"
12
+ "PO-Revision-Date: 2014-08-09 08:59+0000\n"
13
+ "Last-Translator: Lukáš Zapletal\n"
14
14
  "Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/foreman/language/en_GB/)\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -21,6 +21,9 @@ msgstr ""
21
21
  msgid "Boot disk"
22
22
  msgstr "Boot disk"
23
23
 
24
+ msgid "Boot disks"
25
+ msgstr ""
26
+
24
27
  msgid ""
25
28
  "Bootdisk is not supported with safemode rendering, please disable "
26
29
  "safemode_render under Adminster>Settings"
@@ -29,6 +32,12 @@ msgstr "Bootdisk is not supported with safemode rendering, please disable safemo
29
32
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
30
33
  msgstr "Command to generate ISO image, use genisoimage or mkisofs"
31
34
 
35
+ msgid "Download generic image"
36
+ msgstr ""
37
+
38
+ msgid "Download host image"
39
+ msgstr ""
40
+
32
41
  msgid "Failed to render boot disk template: %s"
33
42
  msgstr "Failed to render boot disk template: %s"
34
43
 
@@ -6,11 +6,11 @@
6
6
  # Sergio Ocón <sergio@redhat.com>, 2014
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: Foreman\n"
9
+ "Project-Id-Version: foreman_bootdisk 3.1.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2014-08-05 17:10+0100\n"
12
- "PO-Revision-Date: 2014-08-06 09:20+0000\n"
13
- "Last-Translator: Sergio Ocón <sergio@redhat.com>\n"
11
+ "POT-Creation-Date: 2014-08-08 13:53+0100\n"
12
+ "PO-Revision-Date: 2014-08-09 08:59+0000\n"
13
+ "Last-Translator: Lukáš Zapletal\n"
14
14
  "Language-Team: Spanish (http://www.transifex.com/projects/p/foreman/language/es/)\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -21,6 +21,9 @@ msgstr ""
21
21
  msgid "Boot disk"
22
22
  msgstr "Disco de arranque"
23
23
 
24
+ msgid "Boot disks"
25
+ msgstr ""
26
+
24
27
  msgid ""
25
28
  "Bootdisk is not supported with safemode rendering, please disable "
26
29
  "safemode_render under Adminster>Settings"
@@ -29,6 +32,12 @@ msgstr "No se soporta un disco de arranque en el modo seguro de representación,
29
32
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
30
33
  msgstr "Comando para generar una imagen ISO, use genisoimage o mkisofs"
31
34
 
35
+ msgid "Download generic image"
36
+ msgstr ""
37
+
38
+ msgid "Download host image"
39
+ msgstr ""
40
+
32
41
  msgid "Failed to render boot disk template: %s"
33
42
  msgstr "Fallo en la entrega de la plantilla del disco de arranque: %s"
34
43
 
@@ -7,11 +7,11 @@
7
7
  # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: Foreman\n"
10
+ "Project-Id-Version: foreman_bootdisk 3.1.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2014-08-05 17:10+0100\n"
13
- "PO-Revision-Date: 2014-08-06 09:11+0000\n"
14
- "Last-Translator: Pierre-Emmanuel Dutang <dutangp@gmail.com>\n"
12
+ "POT-Creation-Date: 2014-08-08 13:53+0100\n"
13
+ "PO-Revision-Date: 2014-08-19 15:21+0000\n"
14
+ "Last-Translator: Claer <transiblu@claer.hammock.fr>\n"
15
15
  "Language-Team: French (http://www.transifex.com/projects/p/foreman/language/fr/)\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -20,16 +20,25 @@ msgstr ""
20
20
  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
21
21
 
22
22
  msgid "Boot disk"
23
- msgstr "Disque de boot"
23
+ msgstr "Disque de démarrage"
24
+
25
+ msgid "Boot disks"
26
+ msgstr "Disques de démarrage"
24
27
 
25
28
  msgid ""
26
29
  "Bootdisk is not supported with safemode rendering, please disable "
27
30
  "safemode_render under Adminster>Settings"
28
- msgstr "Bootdisk n'est pas supporté en simultané de safemode rendering. Merci de désactiver safemode_render dans Administrer > Paramètres."
31
+ msgstr "Bootdisk n'est pas supporté en simultané de l'option safemode rendering. Merci de désactiver safemode_render dans Administrer > Paramètres."
29
32
 
30
33
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
31
34
  msgstr "Commande servant à générer l'image ISO, utiliser genisoimage ou mkisofs"
32
35
 
36
+ msgid "Download generic image"
37
+ msgstr "Télécharger une image générique"
38
+
39
+ msgid "Download host image"
40
+ msgstr "Télécharger une image d'hôte"
41
+
33
42
  msgid "Failed to render boot disk template: %s"
34
43
  msgstr "Impossible d'appliquer le modèle de disque : %s"
35
44
 
@@ -5,11 +5,11 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: Foreman\n"
8
+ "Project-Id-Version: foreman_bootdisk 3.1.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2014-08-05 17:10+0100\n"
11
- "PO-Revision-Date: 2014-08-06 08:59+0000\n"
12
- "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
10
+ "POT-Creation-Date: 2014-08-08 13:53+0100\n"
11
+ "PO-Revision-Date: 2014-08-09 08:59+0000\n"
12
+ "Last-Translator: Lukáš Zapletal\n"
13
13
  "Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/foreman/language/pt_BR/)\n"
14
14
  "MIME-Version: 1.0\n"
15
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -20,6 +20,9 @@ msgstr ""
20
20
  msgid "Boot disk"
21
21
  msgstr "Disco de boot"
22
22
 
23
+ msgid "Boot disks"
24
+ msgstr ""
25
+
23
26
  msgid ""
24
27
  "Bootdisk is not supported with safemode rendering, please disable "
25
28
  "safemode_render under Adminster>Settings"
@@ -28,6 +31,12 @@ msgstr "Disco de boot não e suportado com o modo seguro de interpretação, por
28
31
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
29
32
  msgstr "Comando para gerar imagem ISO usar genisoimage ou mkisofs"
30
33
 
34
+ msgid "Download generic image"
35
+ msgstr ""
36
+
37
+ msgid "Download host image"
38
+ msgstr ""
39
+
31
40
  msgid "Failed to render boot disk template: %s"
32
41
  msgstr "Falha ro interpretar o template de disco de boot: %s"
33
42
 
@@ -6,11 +6,11 @@
6
6
  # johnny.westerlund <johnny.westerlund@gmail.com>, 2014
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: Foreman\n"
9
+ "Project-Id-Version: foreman_bootdisk 3.1.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2014-08-05 17:10+0100\n"
12
- "PO-Revision-Date: 2014-08-06 08:59+0000\n"
13
- "Last-Translator: Dominic Cleal <dcleal@redhat.com>\n"
11
+ "POT-Creation-Date: 2014-08-08 13:53+0100\n"
12
+ "PO-Revision-Date: 2014-08-09 08:59+0000\n"
13
+ "Last-Translator: Lukáš Zapletal\n"
14
14
  "Language-Team: Swedish (Sweden) (http://www.transifex.com/projects/p/foreman/language/sv_SE/)\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -21,6 +21,9 @@ msgstr ""
21
21
  msgid "Boot disk"
22
22
  msgstr "Startdisk"
23
23
 
24
+ msgid "Boot disks"
25
+ msgstr ""
26
+
24
27
  msgid ""
25
28
  "Bootdisk is not supported with safemode rendering, please disable "
26
29
  "safemode_render under Adminster>Settings"
@@ -29,6 +32,12 @@ msgstr "Startdisk är inte supportat med \"safemode\" rendering aktiverat, var v
29
32
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
30
33
  msgstr "Kommando för att generera ISO-avbildningar, använd genisoimage eller mkisofs"
31
34
 
35
+ msgid "Download generic image"
36
+ msgstr ""
37
+
38
+ msgid "Download host image"
39
+ msgstr ""
40
+
32
41
  msgid "Failed to render boot disk template: %s"
33
42
  msgstr "Misslyckades att tolka startdiskmallen: %s"
34
43
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_bootdisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-08 00:00:00.000000000 Z
11
+ date: 2014-08-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Plugin for Foreman that creates iPXE-based boot disks to provision hosts
14
14
  without the need for PXE infrastructure.
@@ -48,14 +48,22 @@ files:
48
48
  - lib/foreman_bootdisk/engine.rb
49
49
  - lib/foreman_bootdisk/version.rb
50
50
  - lib/tasks/bootdisk.rake
51
+ - locale/Makefile
52
+ - locale/de/LC_MESSAGES/foreman_bootdisk.mo
51
53
  - locale/de/foreman_bootdisk.po
54
+ - locale/en/LC_MESSAGES/foreman_bootdisk.mo
52
55
  - locale/en/foreman_bootdisk.po
56
+ - locale/en_GB/LC_MESSAGES/foreman_bootdisk.mo
53
57
  - locale/en_GB/foreman_bootdisk.po
58
+ - locale/es/LC_MESSAGES/foreman_bootdisk.mo
54
59
  - locale/es/foreman_bootdisk.po
55
60
  - locale/foreman_bootdisk.pot
61
+ - locale/fr/LC_MESSAGES/foreman_bootdisk.mo
56
62
  - locale/fr/foreman_bootdisk.po
57
63
  - locale/gemspec.rb
64
+ - locale/pt_BR/LC_MESSAGES/foreman_bootdisk.mo
58
65
  - locale/pt_BR/foreman_bootdisk.po
66
+ - locale/sv_SE/LC_MESSAGES/foreman_bootdisk.mo
59
67
  - locale/sv_SE/foreman_bootdisk.po
60
68
  - locale/zanata.xml
61
69
  homepage: http://github.com/theforeman/foreman_bootdisk