foreman_discovery 16.3.6 → 17.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +1 -0
  3. data/app/controllers/discovered_hosts_controller.rb +24 -35
  4. data/app/controllers/discovery_rules_controller.rb +12 -1
  5. data/app/helpers/discovered_hosts_helper.rb +3 -4
  6. data/app/helpers/discovery_rules_helper.rb +1 -0
  7. data/app/models/discovery_rule.rb +10 -5
  8. data/app/services/foreman_discovery/fact_to_category_resolver.rb +106 -0
  9. data/app/services/foreman_discovery/ui_notifications/failed_discovery.rb +34 -0
  10. data/app/services/foreman_discovery/ui_notifications/new_host.rb +2 -1
  11. data/app/views/discovered_hosts/_discovered_hosts_list.html.erb +44 -40
  12. data/app/views/discovered_hosts/welcome.html.erb +1 -1
  13. data/app/views/discovery_rules/clone.erb +3 -0
  14. data/app/views/discovery_rules/index.html.erb +4 -0
  15. data/app/views/discovery_rules/welcome.html.erb +15 -0
  16. data/config/routes.rb +2 -0
  17. data/db/seeds.d/80_discovery_ui_notification.rb +11 -5
  18. data/lib/foreman_discovery/engine.rb +3 -7
  19. data/lib/foreman_discovery/version.rb +1 -1
  20. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  21. data/locale/ca/foreman_discovery.edit.po +44 -40
  22. data/locale/ca/foreman_discovery.po +36 -9
  23. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  24. data/locale/de/foreman_discovery.edit.po +42 -38
  25. data/locale/de/foreman_discovery.po +45 -18
  26. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  27. data/locale/en/foreman_discovery.edit.po +37 -29
  28. data/locale/en/foreman_discovery.po +31 -4
  29. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  30. data/locale/en_GB/foreman_discovery.edit.po +39 -35
  31. data/locale/en_GB/foreman_discovery.po +36 -9
  32. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  33. data/locale/es/foreman_discovery.edit.po +42 -38
  34. data/locale/es/foreman_discovery.po +70 -41
  35. data/locale/foreman_discovery.pot +142 -97
  36. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/fr/foreman_discovery.edit.po +88 -84
  38. data/locale/fr/foreman_discovery.po +76 -49
  39. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  40. data/locale/gl/foreman_discovery.edit.po +42 -38
  41. data/locale/gl/foreman_discovery.po +32 -5
  42. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/it/foreman_discovery.edit.po +42 -38
  44. data/locale/it/foreman_discovery.po +44 -17
  45. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  46. data/locale/ja/foreman_discovery.edit.po +74 -70
  47. data/locale/ja/foreman_discovery.po +79 -54
  48. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/ko/foreman_discovery.edit.po +42 -38
  50. data/locale/ko/foreman_discovery.po +43 -16
  51. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/pt_BR/foreman_discovery.edit.po +42 -38
  53. data/locale/pt_BR/foreman_discovery.po +69 -39
  54. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  55. data/locale/ru/foreman_discovery.edit.po +46 -42
  56. data/locale/ru/foreman_discovery.po +43 -16
  57. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/sv_SE/foreman_discovery.edit.po +42 -38
  59. data/locale/sv_SE/foreman_discovery.po +34 -7
  60. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  61. data/locale/zh_CN/foreman_discovery.edit.po +90 -86
  62. data/locale/zh_CN/foreman_discovery.po +114 -90
  63. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  64. data/locale/zh_TW/foreman_discovery.edit.po +42 -38
  65. data/locale/zh_TW/foreman_discovery.po +43 -16
  66. data/package.json +6 -6
  67. data/test/functional/api/v2/discovered_hosts_controller_test.rb +9 -0
  68. data/test/functional/discovery_rules_controller_test.rb +6 -1
  69. data/test/integration/discovered_hosts_test.rb +53 -5
  70. data/test/test_helper_discovery.rb +5 -0
  71. data/test/unit/discovery_rule_test.rb +24 -2
  72. data/test/unit/fact_to_category_resolver_test.rb +41 -0
  73. data/test/unit/ui_notifications/destroy_host_test.rb +2 -9
  74. data/test/unit/ui_notifications/new_host_test.rb +3 -3
  75. data/webpack/__mocks__/foremanReact/common/I18n.js +3 -0
  76. data/webpack/__mocks__/foremanReact/common/helpers.js +1 -0
  77. data/webpack/__mocks__/foremanReact/common/index.js +5 -0
  78. data/webpack/__mocks__/foremanReact/components/common/EmptyState/DefaultEmptyState.js +69 -0
  79. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePattern.js +77 -0
  80. data/webpack/__mocks__/foremanReact/components/common/EmptyState/EmptyStatePropTypes.js +29 -0
  81. data/webpack/__mocks__/foremanReact/components/common/EmptyState/index.js +5 -0
  82. data/webpack/index.js +9 -8
  83. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/EmptyState.js +7 -7
  84. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/EmptyState.test.js +12 -0
  85. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/__test__/__snapshots__/EmptyState.test.js.snap +16 -0
  86. data/webpack/src/ForemanDiscovery/DiscoveredHosts/Components/EmptyState/index.js +1 -1
  87. data/webpack/src/ForemanDiscovery/DiscoveredHosts/index.js +3 -3
  88. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/EmptyState.js +34 -0
  89. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/EmptyState/index.js +1 -0
  90. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/EmptyState.test.js +19 -0
  91. data/webpack/src/ForemanDiscovery/DiscoveryRules/Components/__test__/__snapshots__/EmptyState.test.js.snap +22 -0
  92. data/webpack/src/ForemanDiscovery/DiscoveryRules/index.js +6 -0
  93. data/webpack/src/reducers.js +0 -2
  94. metadata +31 -9
@@ -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"