foreman_discovery 17.0.1 → 18.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/discovered_hosts_controller.rb +10 -3
  3. data/app/models/discovery_fact_name.rb +9 -0
  4. data/app/models/host/discovered.rb +26 -9
  5. data/app/models/host/managed_extensions.rb +2 -2
  6. data/app/models/setting/discovered.rb +1 -0
  7. data/app/services/discovery_fact_importer.rb +5 -0
  8. data/app/services/foreman_discovery/host_converter.rb +3 -3
  9. data/app/views/discovered_hosts/welcome.html.erb +0 -1
  10. data/app/views/discovery_rules/welcome.html.erb +0 -1
  11. data/lib/foreman_discovery/engine.rb +3 -1
  12. data/lib/foreman_discovery/version.rb +1 -1
  13. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  14. data/locale/ca/foreman_discovery.edit.po +44 -40
  15. data/locale/ca/foreman_discovery.po +13 -7
  16. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  17. data/locale/de/foreman_discovery.edit.po +42 -38
  18. data/locale/de/foreman_discovery.po +11 -5
  19. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  20. data/locale/en/foreman_discovery.edit.po +37 -29
  21. data/locale/en/foreman_discovery.po +7 -1
  22. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  23. data/locale/en_GB/foreman_discovery.edit.po +39 -35
  24. data/locale/en_GB/foreman_discovery.po +8 -2
  25. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  26. data/locale/es/foreman_discovery.edit.po +42 -38
  27. data/locale/es/foreman_discovery.po +11 -5
  28. data/locale/foreman_discovery.pot +38 -30
  29. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/fr/foreman_discovery.edit.po +88 -84
  31. data/locale/fr/foreman_discovery.po +57 -51
  32. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/gl/foreman_discovery.edit.po +42 -38
  34. data/locale/gl/foreman_discovery.po +11 -5
  35. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  36. data/locale/it/foreman_discovery.edit.po +42 -38
  37. data/locale/it/foreman_discovery.po +11 -5
  38. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/ja/foreman_discovery.edit.po +74 -70
  40. data/locale/ja/foreman_discovery.po +43 -37
  41. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  42. data/locale/ko/foreman_discovery.edit.po +42 -38
  43. data/locale/ko/foreman_discovery.po +11 -5
  44. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/pt_BR/foreman_discovery.edit.po +42 -38
  46. data/locale/pt_BR/foreman_discovery.po +11 -5
  47. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  48. data/locale/ru/foreman_discovery.edit.po +46 -42
  49. data/locale/ru/foreman_discovery.po +15 -9
  50. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  51. data/locale/sv_SE/foreman_discovery.edit.po +42 -38
  52. data/locale/sv_SE/foreman_discovery.po +11 -5
  53. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/zh_CN/foreman_discovery.edit.po +90 -86
  55. data/locale/zh_CN/foreman_discovery.po +59 -53
  56. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  57. data/locale/zh_TW/foreman_discovery.edit.po +42 -38
  58. data/locale/zh_TW/foreman_discovery.po +11 -5
  59. data/package.json +1 -1
  60. data/test/functional/api/v2/fact_value_extensions_test.rb +1 -4
  61. data/test/functional/discovered_hosts_controller_test.rb +6 -5
  62. data/test/integration/discovered_hosts_test.rb +10 -4
  63. data/test/test_helper_discovery.rb +35 -27
  64. data/test/test_plugin_helper.rb +7 -0
  65. data/test/unit/discovered_extensions_test.rb +36 -16
  66. data/test/unit/discovery_attribute_set_test.rb +2 -8
  67. data/test/unit/fact_parser_test.rb +1 -4
  68. data/test/unit/managed_extensions_test.rb +1 -0
  69. metadata +12 -15
  70. data/test/functional/api/v2/settings_controller_test.rb +0 -22
  71. data/test/models/setting_test.rb +0 -11
  72. data/test/unit/setting_discovered_test.rb +0 -9
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_discovery 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2021-05-03 08:46+0200\n"
12
- "PO-Revision-Date: 2021-05-03 08:46+0200\n"
11
+ "POT-Creation-Date: 2021-09-20 17:25+0200\n"
12
+ "PO-Revision-Date: 2021-09-20 17:25+0200\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -135,7 +135,7 @@ msgid "Execute rules against a discovered host"
135
135
  msgstr ""
136
136
 
137
137
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136
138
- #: ../app/controllers/discovered_hosts_controller.rb:157
138
+ #: ../app/controllers/discovered_hosts_controller.rb:160
139
139
  msgid "Host %{host} was provisioned with rule %{rule}"
140
140
  msgstr ""
141
141
 
@@ -144,7 +144,7 @@ msgid "Unable to provision %{host}: %{errors}"
144
144
  msgstr ""
145
145
 
146
146
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145
147
- #: ../app/controllers/discovered_hosts_controller.rb:164
147
+ #: ../app/controllers/discovered_hosts_controller.rb:167
148
148
  msgid "No rule found for host %s"
149
149
  msgstr ""
150
150
 
@@ -153,12 +153,12 @@ msgid "Execute rules against all currently discovered hosts"
153
153
  msgstr ""
154
154
 
155
155
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156
156
- #: ../app/controllers/discovered_hosts_controller.rb:170
156
+ #: ../app/controllers/discovered_hosts_controller.rb:173
157
157
  msgid "Errors during auto provisioning: %s"
158
158
  msgstr ""
159
159
 
160
160
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159
161
- #: ../app/controllers/discovered_hosts_controller.rb:173
161
+ #: ../app/controllers/discovered_hosts_controller.rb:176
162
162
  msgid "No discovered hosts to provision"
163
163
  msgstr ""
164
164
 
@@ -179,7 +179,7 @@ msgid "Rebooting all discovered hosts"
179
179
  msgstr ""
180
180
 
181
181
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221
182
- #: ../app/controllers/discovered_hosts_controller.rb:126
182
+ #: ../app/controllers/discovered_hosts_controller.rb:129
183
183
  msgid "Discovered hosts are rebooting now"
184
184
  msgstr ""
185
185
 
@@ -259,79 +259,79 @@ msgstr ""
259
259
  msgid "No discovered hosts to reboot"
260
260
  msgstr ""
261
261
 
262
- #: ../app/controllers/discovered_hosts_controller.rb:60
262
+ #: ../app/controllers/discovered_hosts_controller.rb:63
263
263
  msgid "Successfully provisioned %s"
264
264
  msgstr ""
265
265
 
266
- #: ../app/controllers/discovered_hosts_controller.rb:94
266
+ #: ../app/controllers/discovered_hosts_controller.rb:97
267
267
  msgid "Facts refreshed for %s"
268
268
  msgstr ""
269
269
 
270
- #: ../app/controllers/discovered_hosts_controller.rb:96
270
+ #: ../app/controllers/discovered_hosts_controller.rb:99
271
271
  msgid "Failed to refresh facts for %s"
272
272
  msgstr ""
273
273
 
274
- #: ../app/controllers/discovered_hosts_controller.rb:99
274
+ #: ../app/controllers/discovered_hosts_controller.rb:102
275
275
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
276
276
  msgstr ""
277
277
 
278
- #: ../app/controllers/discovered_hosts_controller.rb:106
278
+ #: ../app/controllers/discovered_hosts_controller.rb:109
279
279
  msgid "Host of type %s can not be rebooted"
280
280
  msgstr ""
281
281
 
282
- #: ../app/controllers/discovered_hosts_controller.rb:110
282
+ #: ../app/controllers/discovered_hosts_controller.rb:113
283
283
  msgid "Rebooting host %s"
284
284
  msgstr ""
285
285
 
286
- #: ../app/controllers/discovered_hosts_controller.rb:112
286
+ #: ../app/controllers/discovered_hosts_controller.rb:115
287
287
  msgid "Failed to reboot host %s"
288
288
  msgstr ""
289
289
 
290
- #: ../app/controllers/discovered_hosts_controller.rb:115
290
+ #: ../app/controllers/discovered_hosts_controller.rb:118
291
291
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
292
292
  msgstr ""
293
293
 
294
- #: ../app/controllers/discovered_hosts_controller.rb:129
294
+ #: ../app/controllers/discovered_hosts_controller.rb:132
295
295
  msgid "Failed to reboot hosts with error %s"
296
296
  msgstr ""
297
297
 
298
- #: ../app/controllers/discovered_hosts_controller.rb:147
298
+ #: ../app/controllers/discovered_hosts_controller.rb:150
299
299
  msgid "Destroyed selected hosts"
300
300
  msgstr ""
301
301
 
302
- #: ../app/controllers/discovered_hosts_controller.rb:149
302
+ #: ../app/controllers/discovered_hosts_controller.rb:152
303
303
  msgid "The following hosts were not deleted: %s"
304
304
  msgstr ""
305
305
 
306
- #: ../app/controllers/discovered_hosts_controller.rb:161
306
+ #: ../app/controllers/discovered_hosts_controller.rb:164
307
307
  msgid "Failed to auto provision host %s: %s"
308
308
  msgstr ""
309
309
 
310
- #: ../app/controllers/discovered_hosts_controller.rb:189
310
+ #: ../app/controllers/discovered_hosts_controller.rb:192
311
311
  msgid "Discovered hosts are provisioning now"
312
312
  msgstr ""
313
313
 
314
- #: ../app/controllers/discovered_hosts_controller.rb:270
314
+ #: ../app/controllers/discovered_hosts_controller.rb:277
315
315
  msgid ""
316
316
  "Discovered host reported from unknown subnet, communication will not be proxie"
317
317
  "d."
318
318
  msgstr ""
319
319
 
320
- #: ../app/controllers/discovered_hosts_controller.rb:275
320
+ #: ../app/controllers/discovered_hosts_controller.rb:282
321
321
  msgid ""
322
322
  "Discovered hosts reported from unknown subnet are %s, communication will not b"
323
323
  "e proxied."
324
324
  msgstr ""
325
325
 
326
- #: ../app/controllers/discovered_hosts_controller.rb:289
326
+ #: ../app/controllers/discovered_hosts_controller.rb:296
327
327
  msgid "No hosts were found with that id or name"
328
328
  msgstr ""
329
329
 
330
- #: ../app/controllers/discovered_hosts_controller.rb:293
330
+ #: ../app/controllers/discovered_hosts_controller.rb:300
331
331
  msgid "No hosts selected"
332
332
  msgstr ""
333
333
 
334
- #: ../app/controllers/discovered_hosts_controller.rb:299
334
+ #: ../app/controllers/discovered_hosts_controller.rb:306
335
335
  msgid "Something went wrong while selecting hosts - %s"
336
336
  msgstr ""
337
337
 
@@ -512,23 +512,23 @@ msgstr ""
512
512
  msgid "Facts could not be imported"
513
513
  msgstr ""
514
514
 
515
- #: ../app/models/host/discovered.rb:146
515
+ #: ../app/models/host/discovered.rb:155
516
516
  msgid "Could not get facts from proxy %{url}: %{error}"
517
517
  msgstr ""
518
518
 
519
- #: ../app/models/host/discovered.rb:160
519
+ #: ../app/models/host/discovered.rb:173
520
520
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
521
521
  msgstr ""
522
522
 
523
- #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
523
+ #: ../app/models/host/discovered.rb:177 ../app/models/host/discovered.rb:200
524
524
  msgid "Unable to perform %{action} on %{ips}"
525
525
  msgstr ""
526
526
 
527
- #: ../app/models/host/discovered.rb:179
527
+ #: ../app/models/host/discovered.rb:196
528
528
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
529
529
  msgstr ""
530
530
 
531
- #: ../app/models/host/discovered.rb:203
531
+ #: ../app/models/host/discovered.rb:220
532
532
  msgid "Invalid hostname: Could not normalize the hostname"
533
533
  msgstr ""
534
534
 
@@ -744,6 +744,14 @@ msgstr ""
744
744
  msgid "Type of name generator"
745
745
  msgstr ""
746
746
 
747
+ #: ../app/models/setting/discovered.rb:40
748
+ msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
749
+ msgstr ""
750
+
751
+ #: ../app/models/setting/discovered.rb:40
752
+ msgid "Prefer IPv6"
753
+ msgstr ""
754
+
747
755
  #: ../app/services/foreman_discovery/fact_parser.rb:4
748
756
  msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
749
757
  msgstr ""
@@ -8,10 +8,10 @@
8
8
  # Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2014,2016-2017
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_discovery 16.3.4\n"
11
+ "Project-Id-Version: foreman_discovery 17.1.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2021-05-03 08:46+0200\n"
14
- "PO-Revision-Date: 2021-01-25 08:35+0000\n"
13
+ "POT-Creation-Date: 2021-09-20 17:25+0200\n"
14
+ "PO-Revision-Date: 2021-05-18 15:01+0000\n"
15
15
  "Last-Translator: Amit Upadhye <aupadhye@redhat.com>\n"
16
16
  "Language-Team: French (http://www.transifex.com/foreman/foreman/language/fr/)\n"
17
17
  "MIME-Version: 1.0\n"
@@ -120,33 +120,33 @@ msgstr "hachage contenant les facts de l'hôte avec un ensemble minimal de facts
120
120
  msgid "Execute rules against a discovered host"
121
121
  msgstr "Exécuter les règles sur un hôte détecté"
122
122
 
123
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:157
123
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:136 ../app/controllers/discovered_hosts_controller.rb:160
124
124
  msgid "Host %{host} was provisioned with rule %{rule}"
125
125
  msgstr "L'hôte %{host} a été provisionné avec la règle %{rule}"
126
126
 
127
127
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:139
128
128
  msgid "Unable to provision %{host}: %{errors}"
129
- msgstr "Impossible de provisionner %{host} : %{errors}"
129
+ msgstr "Impossible à provisionner %{host} : %{errors}"
130
130
 
131
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:164
131
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:145 ../app/controllers/discovered_hosts_controller.rb:167
132
132
  msgid "No rule found for host %s"
133
- msgstr "Aucune règle trouvée pour %s"
133
+ msgstr "Aucune règle trouvée pour l’hôte {host}"
134
134
 
135
135
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:152
136
136
  msgid "Execute rules against all currently discovered hosts"
137
137
  msgstr "Exécuter les règles sur tous les hôtes actuellement détectés"
138
138
 
139
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:170
139
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:156 ../app/controllers/discovered_hosts_controller.rb:173
140
140
  msgid "Errors during auto provisioning: %s"
141
- msgstr "Erreurs lors du provisioning automatique : %s"
141
+ msgstr "Erreurs lors du provisioning automatique : {host}"
142
142
 
143
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:173
143
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:159 ../app/controllers/discovered_hosts_controller.rb:176
144
144
  msgid "No discovered hosts to provision"
145
145
  msgstr "Aucun hôte détecté à provisionner"
146
146
 
147
147
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:181
148
148
  msgid "%s discovered hosts were provisioned"
149
- msgstr "%s hôtes détectés ont été provisionnés"
149
+ msgstr "{host} hôtes détectés ont été provisionnés"
150
150
 
151
151
  #: ../app/controllers/api/v2/discovered_hosts_controller.rb:192
152
152
  msgid "Refreshing the facts of a discovered host"
@@ -160,7 +160,7 @@ msgstr "Redémarrage d'un hôte détecté"
160
160
  msgid "Rebooting all discovered hosts"
161
161
  msgstr "Redémarrage de tous les hôtes détectés"
162
162
 
163
- #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:126
163
+ #: ../app/controllers/api/v2/discovered_hosts_controller.rb:221 ../app/controllers/discovered_hosts_controller.rb:129
164
164
  msgid "Discovered hosts are rebooting now"
165
165
  msgstr "Les hôtes détectés sont redémarrés maintenant"
166
166
 
@@ -230,85 +230,85 @@ msgstr "Impossible de trouver une règle de détection, aucun hôte fourni (vér
230
230
 
231
231
  #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:43
232
232
  msgid "No hostgroup associated with rule '%s'"
233
- msgstr "Aucun groupe d'hôtes associé à la règle '%s'"
233
+ msgstr "Aucun groupe d'hôtes associé à la règle '{host}'"
234
234
 
235
235
  #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:73
236
236
  msgid "Errors during reboot: %s"
237
- msgstr "Erreurs lors du redémarrage : %s"
237
+ msgstr "Erreurs lors du redémarrage : {host}"
238
238
 
239
239
  #: ../app/controllers/concerns/foreman/controller/discovered_extensions.rb:91
240
240
  msgid "No discovered hosts to reboot"
241
241
  msgstr "Aucun hôte détecté pour le redémarrage"
242
242
 
243
- #: ../app/controllers/discovered_hosts_controller.rb:60
243
+ #: ../app/controllers/discovered_hosts_controller.rb:63
244
244
  msgid "Successfully provisioned %s"
245
- msgstr "Provisioning réussi de %s"
245
+ msgstr "Provisioning réussi de {host}"
246
246
 
247
- #: ../app/controllers/discovered_hosts_controller.rb:94
247
+ #: ../app/controllers/discovered_hosts_controller.rb:97
248
248
  msgid "Facts refreshed for %s"
249
- msgstr "Facts rafraichis pour %s"
249
+ msgstr "Facts rafraichis pour {host}"
250
250
 
251
- #: ../app/controllers/discovered_hosts_controller.rb:96
251
+ #: ../app/controllers/discovered_hosts_controller.rb:99
252
252
  msgid "Failed to refresh facts for %s"
253
- msgstr "Échec de rafraichissement des facts pour %s"
253
+ msgstr "Échec de rafraichissement des facts pour {host}"
254
254
 
255
- #: ../app/controllers/discovered_hosts_controller.rb:99
255
+ #: ../app/controllers/discovered_hosts_controller.rb:102
256
256
  msgid "Failed to refresh facts for %{hostname} with error %{error_message}"
257
- msgstr "Échec de rafraichissement des facts pour %s"
257
+ msgstr "Impossible de rafraîchir les données pour %{host} avec l'erreur %{error_message}"
258
258
 
259
- #: ../app/controllers/discovered_hosts_controller.rb:106
259
+ #: ../app/controllers/discovered_hosts_controller.rb:109
260
260
  msgid "Host of type %s can not be rebooted"
261
- msgstr "Impossible de redémarrer l'hôte de type %s"
261
+ msgstr "Impossible de redémarrer l'hôte de type {host}"
262
262
 
263
- #: ../app/controllers/discovered_hosts_controller.rb:110
263
+ #: ../app/controllers/discovered_hosts_controller.rb:113
264
264
  msgid "Rebooting host %s"
265
- msgstr "Redémarrage des l'hôtes"
265
+ msgstr "Redémarrage de l'hôte %s"
266
266
 
267
- #: ../app/controllers/discovered_hosts_controller.rb:112
267
+ #: ../app/controllers/discovered_hosts_controller.rb:115
268
268
  msgid "Failed to reboot host %s"
269
269
  msgstr "Échec du redémarrage de l'hôte %s"
270
270
 
271
- #: ../app/controllers/discovered_hosts_controller.rb:115
271
+ #: ../app/controllers/discovered_hosts_controller.rb:118
272
272
  msgid "Failed to reboot host %{hostname} with error %{error_message}"
273
- msgstr "Échec du redémarrage des hôtes avec l'erreur %s"
273
+ msgstr "Échec du redémarrage de l'hôte %{host} avec l'erreur %{error_message}"
274
274
 
275
- #: ../app/controllers/discovered_hosts_controller.rb:129
275
+ #: ../app/controllers/discovered_hosts_controller.rb:132
276
276
  msgid "Failed to reboot hosts with error %s"
277
- msgstr "Échec du redémarrage des hôtes avec l'erreur %s"
277
+ msgstr "Échec du redémarrage des hôtes avec l'erreur {host}"
278
278
 
279
- #: ../app/controllers/discovered_hosts_controller.rb:147
279
+ #: ../app/controllers/discovered_hosts_controller.rb:150
280
280
  msgid "Destroyed selected hosts"
281
281
  msgstr "Hôtes sélectionnés détruits"
282
282
 
283
- #: ../app/controllers/discovered_hosts_controller.rb:149
283
+ #: ../app/controllers/discovered_hosts_controller.rb:152
284
284
  msgid "The following hosts were not deleted: %s"
285
285
  msgstr "Les hôtes suivants n'ont pas été supprimés : %s"
286
286
 
287
- #: ../app/controllers/discovered_hosts_controller.rb:161
287
+ #: ../app/controllers/discovered_hosts_controller.rb:164
288
288
  msgid "Failed to auto provision host %s: %s"
289
- msgstr "Échec du provisioning automatique de l'hôte %s: %s"
289
+ msgstr "Échec de l'approvisionnement automatique de l'hôte {host}: %s"
290
290
 
291
- #: ../app/controllers/discovered_hosts_controller.rb:189
291
+ #: ../app/controllers/discovered_hosts_controller.rb:192
292
292
  msgid "Discovered hosts are provisioning now"
293
293
  msgstr "Les hôtes détectés sont maintenant provisionnés"
294
294
 
295
- #: ../app/controllers/discovered_hosts_controller.rb:270
295
+ #: ../app/controllers/discovered_hosts_controller.rb:277
296
296
  msgid "Discovered host reported from unknown subnet, communication will not be proxied."
297
- msgstr ""
297
+ msgstr "L'hôte découvert a signalé qu'il provient d'un sous-réseau inconnu, la communication ne sera pas assurée par un proxy."
298
298
 
299
- #: ../app/controllers/discovered_hosts_controller.rb:275
299
+ #: ../app/controllers/discovered_hosts_controller.rb:282
300
300
  msgid "Discovered hosts reported from unknown subnet are %s, communication will not be proxied."
301
- msgstr ""
301
+ msgstr "Les hôtes découverts provenant d'un sous-réseau inconnu sont {host}, la communication ne sera pas assurée par un proxy.."
302
302
 
303
- #: ../app/controllers/discovered_hosts_controller.rb:289
303
+ #: ../app/controllers/discovered_hosts_controller.rb:296
304
304
  msgid "No hosts were found with that id or name"
305
305
  msgstr "Aucun Hôte trouvé avec cet id ou ce nom"
306
306
 
307
- #: ../app/controllers/discovered_hosts_controller.rb:293
307
+ #: ../app/controllers/discovered_hosts_controller.rb:300
308
308
  msgid "No hosts selected"
309
309
  msgstr "Aucun hôte sélectionné"
310
310
 
311
- #: ../app/controllers/discovered_hosts_controller.rb:299
311
+ #: ../app/controllers/discovered_hosts_controller.rb:306
312
312
  msgid "Something went wrong while selecting hosts - %s"
313
313
  msgstr "Une erreur s'est produite lors de la sélection des hôtes - %s"
314
314
 
@@ -342,7 +342,7 @@ msgstr "Choisir l'action"
342
342
 
343
343
  #: ../app/helpers/discovered_hosts_helper.rb:23 ../app/views/discovered_hosts/_discovered_hosts_list.html.erb:43
344
344
  msgid "Delete %s?"
345
- msgstr "Supprimer"
345
+ msgstr "Supprimer %s?"
346
346
 
347
347
  #: ../app/helpers/discovered_hosts_helper.rb:31
348
348
  msgid "Assign Organization"
@@ -394,7 +394,7 @@ msgstr "Désactiver"
394
394
 
395
395
  #: ../app/helpers/discovery_rules_helper.rb:29
396
396
  msgid "Disable rule '%s'?"
397
- msgstr "Désactiver la règle '%s' ?"
397
+ msgstr "Désactiver la règle '{host}' ?"
398
398
 
399
399
  #: ../app/helpers/discovery_rules_helper.rb:31
400
400
  msgid "Enable"
@@ -402,19 +402,19 @@ msgstr "Activer"
402
402
 
403
403
  #: ../app/helpers/discovery_rules_helper.rb:31
404
404
  msgid "Enable rule '%s'?"
405
- msgstr "Activer la règle '%s' ?"
405
+ msgstr "Activer la règle '{host}' ?"
406
406
 
407
407
  #: ../app/helpers/discovery_rules_helper.rb:33
408
408
  msgid "Clone"
409
- msgstr ""
409
+ msgstr "Cloner"
410
410
 
411
411
  #: ../app/helpers/discovery_rules_helper.rb:34
412
412
  msgid "Delete rule '%s'?"
413
- msgstr "Supprimer la règle '%s' ?"
413
+ msgstr "Supprimer la règle '{host}' ?"
414
414
 
415
415
  #: ../app/mailers/discovered_mailer.rb:9
416
416
  msgid "Invalid user type of %s was provided"
417
- msgstr "Le type d'utilisateur non valide %s a été fourni"
417
+ msgstr "Le type d'utilisateur non valide {host} a été fourni"
418
418
 
419
419
  #: ../app/mailers/discovered_mailer.rb:26
420
420
  msgid "Discovered hosts summary"
@@ -435,14 +435,14 @@ msgstr "doit être présent."
435
435
  #: ../app/models/discovery_rule.rb:57
436
436
  msgid "Host group organization %s must also be associated to the discovery rule"
437
437
  msgid_plural "Host group organizations %s must also be associated to the discovery rule"
438
- msgstr[0] "L'organisation du groupe d'hôtes %s doit également être associée à la règle de détection"
439
- msgstr[1] "L'organisation du groupe d'hôtes %s doit également être associée à la règle de détection"
438
+ msgstr[0] "L'organisation du groupe d'hôtes {host} doit également être associée à la règle de détection"
439
+ msgstr[1] "L'organisation du groupe d'hôtes {host} doit également être associée à la règle de détection"
440
440
 
441
441
  #: ../app/models/discovery_rule.rb:61
442
442
  msgid "Host group location %s must also be associated to the discovery rule"
443
443
  msgid_plural "Host group locations %s must also be associated to the discovery rule"
444
- msgstr[0] "L'emplacement du groupe d'hôtes %s doit également être associé à la règle de détection"
445
- msgstr[1] "L'emplacement du groupe d'hôtes %s doit également être associé à la règle de détection"
444
+ msgstr[0] "L'emplacement du groupe d'hôtes {host} doit également être associé à la règle de détection"
445
+ msgstr[1] "L'emplacement du groupe d'hôtes {host} doit également être associé à la règle de détection"
446
446
 
447
447
  #: ../app/models/host/discovered.rb:40
448
448
  msgid "Fact + prefix"
@@ -462,33 +462,33 @@ msgstr "Facts non valides, doit être un hachage"
462
462
 
463
463
  #: ../app/models/host/discovered.rb:60
464
464
  msgid "Expected discovery_fact '%s' is missing, unable to detect primary interface and set hostname"
465
- msgstr "discovery_fact '%s' attendu manquant. Impossible de détecter l'interface principale et de définir le nom d'hôte"
465
+ msgstr "discovery_fact '{host}' attendu manquant. Impossible de détecter l'interface principale et de définir le nom d'hôte"
466
466
 
467
467
  #: ../app/models/host/discovered.rb:73
468
468
  msgid "Invalid facts: hash does not contain a valid value for any of the facts in the discovery_hostname setting: %s"
469
- msgstr "Facts non valides : le hachage ne contient pas de valeur valide pour les facts du paramètre discovery_hostname : %s"
469
+ msgstr "Facts non valides : le hachage ne contient pas de valeur valide pour les facts du paramètre discovery_hostname : {host}"
470
470
 
471
471
  #: ../app/models/host/discovered.rb:100
472
472
  msgid "Facts could not be imported"
473
473
  msgstr "Impossible d'importer les facts"
474
474
 
475
- #: ../app/models/host/discovered.rb:146
475
+ #: ../app/models/host/discovered.rb:155
476
476
  msgid "Could not get facts from proxy %{url}: %{error}"
477
- msgstr "Impossible d'obtenir les facts du proxy %{url} : %{error}"
477
+ msgstr "Impossible d'obtenir les facts du proxy %{url}: %{error}"
478
478
 
479
- #: ../app/models/host/discovered.rb:160
479
+ #: ../app/models/host/discovered.rb:173
480
480
  msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
481
- msgstr "Impossible d'effectuer un redémarrage sur %{name} (%{url}) : %{msg}"
481
+ msgstr "Impossible d'effectuer un redémarrage sur %{name} (%{url}): %{msg}"
482
482
 
483
- #: ../app/models/host/discovered.rb:164 ../app/models/host/discovered.rb:183
483
+ #: ../app/models/host/discovered.rb:177 ../app/models/host/discovered.rb:200
484
484
  msgid "Unable to perform %{action} on %{ips}"
485
- msgstr "Impossible d'exécuter sur %{ips}"
485
+ msgstr "Impossible d'exécuter %{url}: sur %{ips}"
486
486
 
487
- #: ../app/models/host/discovered.rb:179
487
+ #: ../app/models/host/discovered.rb:196
488
488
  msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
489
- msgstr "Impossible d'exécuter kexec sur %{name} (%{url}) : %{msg}"
489
+ msgstr "Impossible d'exécuter kexec sur %{name} (%{url}): %{msg}"
490
490
 
491
- #: ../app/models/host/discovered.rb:203
491
+ #: ../app/models/host/discovered.rb:220
492
492
  msgid "Invalid hostname: Could not normalize the hostname"
493
493
  msgstr "Nom d'hôte non valide. Impossible de normaliser le nom d'hôte"
494
494
 
@@ -696,17 +696,25 @@ msgstr "Modèle de nommage du nom d'hôte de découverte"
696
696
  msgid "Type of name generator"
697
697
  msgstr "Générateur type de nom"
698
698
 
699
+ #: ../app/models/setting/discovered.rb:40
700
+ msgid "Prefer IPv6 to IPv4 when calling discovered nodes"
701
+ msgstr ""
702
+
703
+ #: ../app/models/setting/discovered.rb:40
704
+ msgid "Prefer IPv6"
705
+ msgstr ""
706
+
699
707
  #: ../app/services/foreman_discovery/fact_parser.rb:4
700
708
  msgid "Discovery fact parser does not work with non-discovery host '%{host}'"
701
- msgstr "L'analyseur de faits de découverte ne fonctionne pas avec l'hôte de non-découverte '%{host}'"
709
+ msgstr "L'analyseur de faits de découverte ne fonctionne pas avec l'hôte de non-découverte '%%s'"
702
710
 
703
711
  #: ../app/services/foreman_discovery/fact_parser.rb:6
704
712
  msgid "Discovered host '%{host}' has all NICs filtered out, filter: %{filter}"
705
- msgstr "L'hôte découvert '%{host}' a eu toutes ces interfaces réseau filtrés, filtre: %{filter}"
713
+ msgstr "L'hôte découvert '%%s' a eu toutes ces interfaces réseau filtrés, filtre: %{fact}"
706
714
 
707
715
  #: ../app/services/foreman_discovery/fact_parser.rb:12
708
716
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
709
- msgstr "Impossible de trouver une carte réseau primaire avec %{mac} spécifié via '%{fact}', Filtre de carte réseau: %{filter}"
717
+ msgstr "Impossible de trouver la carte réseau primaire avec %{mac} spécifié par '%{fact}', filtre NIC : %{filter}"
710
718
 
711
719
  #: ../app/services/foreman_discovery/fact_to_category_resolver.rb:7
712
720
  msgid "Highlights"
@@ -738,19 +746,19 @@ msgstr "Divers"
738
746
 
739
747
  #: ../app/services/foreman_discovery/host_converter.rb:47
740
748
  msgid "IPAM must be configured for subnet '%s'"
741
- msgstr "L'IPAM doit être configuré pour le sous-réseau \"%s\""
749
+ msgstr "L'IPAM doit être configuré pour le sous-réseau \"{mac}\""
742
750
 
743
751
  #: ../app/services/foreman_discovery/node_api/node_resource.rb:76
744
752
  msgid "Image API returned HTTP/%{code} with '%{body}"
745
- msgstr "L'API d'image a retourné HTTP/%{code} avec '%{body}"
753
+ msgstr "L'API image renvoie HTTP/%{mac} avec '%'{body}"
746
754
 
747
755
  #: ../app/services/foreman_discovery/node_api/node_resource.rb:79
748
756
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
749
- msgstr "Erreur de traitement de l'API d'image : (HTTP/, corps : )"
757
+ msgstr "Erreur de traitement de l'API image : %{msg} (HTTP/%{code}, body: %{body})"
750
758
 
751
759
  #: ../app/services/foreman_discovery/ui_notifications/new_host.rb:22
752
760
  msgid "Host %s has been dicovered"
753
- msgstr ""
761
+ msgstr "L’hôte %s a été découvert"
754
762
 
755
763
  #: ../app/views/dashboard/_discovery_widget.html.erb:5
756
764
  msgid "Discovered Host"
@@ -844,7 +852,7 @@ msgstr "Envoyer"
844
852
 
845
853
  #: ../app/views/discovered_hosts/edit.html.erb:1
846
854
  msgid "Provision %s"
847
- msgstr "Mettre en service"
855
+ msgstr "Provision %s"
848
856
 
849
857
  #: ../app/views/discovered_hosts/multiple_destroy.html.erb:3
850
858
  msgid "This might take a while, as all hosts, facts and reports will be destroyed as well"
@@ -860,7 +868,7 @@ msgstr "Choisir une organisation"
860
868
 
861
869
  #: ../app/views/discovered_hosts/show.html.erb:1
862
870
  msgid "Discovered host: %s"
863
- msgstr "Hôtes détectés"
871
+ msgstr "Hôtes détectés : %s"
864
872
 
865
873
  #: ../app/views/discovered_hosts/show.html.erb:37
866
874
  msgid "Interfaces"
@@ -892,11 +900,11 @@ msgstr "Rapport de synthèse des hôtes détectés depuis Foreman"
892
900
 
893
901
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:9
894
902
  msgid "<b>Foreman</b> Discovered hosts summary"
895
- msgstr "Synthèse des hôtes détectés Foreman"
903
+ msgstr "Synthèse des hôtes détectés par <b>Foreman</b> "
896
904
 
897
905
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:10 ../app/views/discovered_mailer/discovered_summary.text.erb:5
898
906
  msgid "Summary from %{time} ago to %{now}"
899
- msgstr "Résumé d'il y a un an à %{now}"
907
+ msgstr "Résumé du %%s précédent au %{now}"
900
908
 
901
909
  #: ../app/views/discovered_mailer/discovered_summary.html.erb:11 ../app/views/discovered_mailer/discovered_summary.text.erb:3
902
910
  msgid "Discovered hosts from Foreman server at %{foreman_url}"
@@ -976,11 +984,11 @@ msgstr "Les noms d'hôte ne doivent pas commencer par des nombres. Une bonne mé
976
984
 
977
985
  #: ../app/views/discovery_rules/clone.erb:1
978
986
  msgid "Clone %s"
979
- msgstr ""
987
+ msgstr "Clone %s"
980
988
 
981
989
  #: ../app/views/discovery_rules/edit.html.erb:1
982
990
  msgid "Edit %s"
983
- msgstr "Modifier"
991
+ msgstr "Modifier %s"
984
992
 
985
993
  #: ../app/views/discovery_rules/index.html.erb:1 ../lib/foreman_discovery/engine.rb:164
986
994
  msgid "Discovery Rules"
@@ -1020,7 +1028,7 @@ msgstr "Nouvelle règle de détection"
1020
1028
 
1021
1029
  #: ../app/views/discovery_rules/welcome.html.erb:8
1022
1030
  msgid "Discovered Rules"
1023
- msgstr ""
1031
+ msgstr "Hôtes détectés"
1024
1032
 
1025
1033
  #: ../db/seeds.d/50_discovery_templates.rb:5
1026
1034
  msgid "Command line options for kexec during PXE-less provisioning."
@@ -1032,7 +1040,7 @@ msgstr "Synthèse des hôtes détectés"
1032
1040
 
1033
1041
  #: ../db/seeds.d/80_discovery_ui_notification.rb:4
1034
1042
  msgid "New hosts"
1035
- msgstr ""
1043
+ msgstr "Nouveaux hôtes"
1036
1044
 
1037
1045
  #: ../db/seeds.d/80_discovery_ui_notification.rb:6
1038
1046
  msgid "One or more hosts have been discovered"
@@ -1048,7 +1056,7 @@ msgstr "Hôtes"
1048
1056
 
1049
1057
  #: ../db/seeds.d/80_discovery_ui_notification.rb:20
1050
1058
  msgid "Error message goes here"
1051
- msgstr ""
1059
+ msgstr "Le message d'erreur se trouve ici"
1052
1060
 
1053
1061
  #: ../lib/foreman_discovery/engine.rb:176
1054
1062
  msgid "Discovery Kexec template"
@@ -1089,7 +1097,3 @@ msgstr "Importer des faits"
1089
1097
  #: action_names.rb:5
1090
1098
  msgid "Action with sub plans"
1091
1099
  msgstr "Action avec sous-plans"
1092
-
1093
- #: ../app/helpers/discovered_hosts_helper.rb:10
1094
- #~ msgid "%s ago"
1095
- #~ msgstr "Il y a %s"