foreman_statistics 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +4 -6
  3. data/app/services/foreman_statistics/statistics/count_hosts.rb +4 -3
  4. data/app/views/foreman_statistics/layouts/application_react.html.erb +1 -2
  5. data/lib/foreman_statistics/engine.rb +0 -8
  6. data/lib/foreman_statistics/version.rb +1 -1
  7. data/locale/ca/LC_MESSAGES/foreman_statistics.mo +0 -0
  8. data/locale/ca/foreman_statistics.po +4 -3
  9. data/locale/cs_CZ/LC_MESSAGES/foreman_statistics.mo +0 -0
  10. data/locale/cs_CZ/foreman_statistics.po +2 -1
  11. data/locale/de/LC_MESSAGES/foreman_statistics.mo +0 -0
  12. data/locale/de/foreman_statistics.po +7 -5
  13. data/locale/en/LC_MESSAGES/foreman_statistics.mo +0 -0
  14. data/locale/en/foreman_statistics.po +1 -1
  15. data/locale/en_GB/LC_MESSAGES/foreman_statistics.mo +0 -0
  16. data/locale/en_GB/foreman_statistics.po +2 -1
  17. data/locale/es/LC_MESSAGES/foreman_statistics.mo +0 -0
  18. data/locale/es/foreman_statistics.po +10 -8
  19. data/locale/fr/LC_MESSAGES/foreman_statistics.mo +0 -0
  20. data/locale/fr/foreman_statistics.po +15 -12
  21. data/locale/gl/LC_MESSAGES/foreman_statistics.mo +0 -0
  22. data/locale/gl/foreman_statistics.po +2 -1
  23. data/locale/it/LC_MESSAGES/foreman_statistics.mo +0 -0
  24. data/locale/it/foreman_statistics.po +4 -2
  25. data/locale/ja/LC_MESSAGES/foreman_statistics.mo +0 -0
  26. data/locale/ja/foreman_statistics.po +15 -15
  27. data/locale/ka/LC_MESSAGES/foreman_statistics.mo +0 -0
  28. data/locale/ka/foreman_statistics.po +203 -0
  29. data/locale/ko/LC_MESSAGES/foreman_statistics.mo +0 -0
  30. data/locale/ko/foreman_statistics.po +2 -1
  31. data/locale/nl_NL/LC_MESSAGES/foreman_statistics.mo +0 -0
  32. data/locale/nl_NL/foreman_statistics.po +2 -1
  33. data/locale/pl/LC_MESSAGES/foreman_statistics.mo +0 -0
  34. data/locale/pl/foreman_statistics.po +2 -1
  35. data/locale/pt_BR/LC_MESSAGES/foreman_statistics.mo +0 -0
  36. data/locale/pt_BR/foreman_statistics.po +10 -8
  37. data/locale/ru/LC_MESSAGES/foreman_statistics.mo +0 -0
  38. data/locale/ru/foreman_statistics.po +8 -6
  39. data/locale/sv_SE/LC_MESSAGES/foreman_statistics.mo +0 -0
  40. data/locale/sv_SE/foreman_statistics.po +2 -1
  41. data/locale/zh_CN/LC_MESSAGES/foreman_statistics.mo +0 -0
  42. data/locale/zh_CN/foreman_statistics.po +27 -28
  43. data/locale/zh_TW/LC_MESSAGES/foreman_statistics.mo +0 -0
  44. data/locale/zh_TW/foreman_statistics.po +2 -1
  45. data/package.json +6 -9
  46. data/test/unit/foreman_statistics/statistics_test.rb +13 -3
  47. metadata +33 -53
  48. data/locale/ca/foreman_statistics.edit.po +0 -263
  49. data/locale/ca/foreman_statistics.po.time_stamp +0 -0
  50. data/locale/cs_CZ/foreman_statistics.edit.po +0 -267
  51. data/locale/cs_CZ/foreman_statistics.po.time_stamp +0 -0
  52. data/locale/de/foreman_statistics.edit.po +0 -271
  53. data/locale/de/foreman_statistics.po.time_stamp +0 -0
  54. data/locale/en/foreman_statistics.edit.po +0 -258
  55. data/locale/en/foreman_statistics.po.time_stamp +0 -0
  56. data/locale/en_GB/foreman_statistics.edit.po +0 -265
  57. data/locale/en_GB/foreman_statistics.po.time_stamp +0 -0
  58. data/locale/es/foreman_statistics.edit.po +0 -269
  59. data/locale/es/foreman_statistics.po.time_stamp +0 -0
  60. data/locale/fr/foreman_statistics.edit.po +0 -269
  61. data/locale/fr/foreman_statistics.po.time_stamp +0 -0
  62. data/locale/gl/foreman_statistics.edit.po +0 -263
  63. data/locale/gl/foreman_statistics.po.time_stamp +0 -0
  64. data/locale/it/foreman_statistics.edit.po +0 -265
  65. data/locale/it/foreman_statistics.po.time_stamp +0 -0
  66. data/locale/ja/foreman_statistics.edit.po +0 -266
  67. data/locale/ja/foreman_statistics.po.time_stamp +0 -0
  68. data/locale/ko/foreman_statistics.edit.po +0 -264
  69. data/locale/ko/foreman_statistics.po.time_stamp +0 -0
  70. data/locale/nl_NL/foreman_statistics.edit.po +0 -267
  71. data/locale/nl_NL/foreman_statistics.po.time_stamp +0 -0
  72. data/locale/pl/foreman_statistics.edit.po +0 -266
  73. data/locale/pl/foreman_statistics.po.time_stamp +0 -0
  74. data/locale/pt_BR/foreman_statistics.edit.po +0 -269
  75. data/locale/pt_BR/foreman_statistics.po.time_stamp +0 -0
  76. data/locale/ru/foreman_statistics.edit.po +0 -270
  77. data/locale/ru/foreman_statistics.po.time_stamp +0 -0
  78. data/locale/sv_SE/foreman_statistics.edit.po +0 -265
  79. data/locale/sv_SE/foreman_statistics.po.time_stamp +0 -0
  80. data/locale/zh_CN/foreman_statistics.edit.po +0 -267
  81. data/locale/zh_CN/foreman_statistics.po.time_stamp +0 -0
  82. data/locale/zh_TW/foreman_statistics.edit.po +0 -266
  83. data/locale/zh_TW/foreman_statistics.po.time_stamp +0 -0
  84. /data/db/{migrate_foreman → migrate}/20121012170851_create_trends.rb +0 -0
  85. /data/db/{migrate_foreman → migrate}/20121012170936_create_trend_counters.rb +0 -0
  86. /data/db/{migrate_foreman → migrate}/20150202094307_add_range_to_trend_counters.rb +0 -0
  87. /data/db/{migrate_foreman → migrate}/20181031155025_add_trend_counter_created_at_unique_constraint.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebe6e6bb3aad64251f7d191f3bc2cfcd6adca51bdffcb85901957a9074cff7e3
4
- data.tar.gz: d4f425260d58b12cc0888a1b20cea07a4294f1a19cdcd0979ca6a7f2b4927797
3
+ metadata.gz: 3b5105654beef97a38bdfd0d60cadbea7e6c87e1014af59bee977d71e5959f16
4
+ data.tar.gz: 251ef1be910ff238a95274b149e46d57fecede17239c554fced4fbb2d49af859
5
5
  SHA512:
6
- metadata.gz: 379d5362616632051dc1e6ac7e9b0919898cf59e5d90ddc4f832876469a6c52ae25a2b4e8aa8f71c409d969b873739342c517b53ad28b286fe6568beeae041af
7
- data.tar.gz: 255b4e780195c26a59bdf7fff704df68a6ee0bdea94b0859857d91f5147562490eefa97032724bc14a3c6e2ba862574970ae71360573aa7a422e0c1f8c73d26f
6
+ metadata.gz: 82c347ab978fac4aee9d9eae8a19bc440a5dff19e405d04677d59128c23dd4889fcdacbe206e381acc95711cd9f5e4ca85edb51c31d8425ca1b792af85b77b6a
7
+ data.tar.gz: 1b57a17d198dacdc30ea0c798b87c758627edb04e38ecd36885c59e2eb14bbd9722bfc579437f45b59450abb8d926d23d78d8c6551fed1fd967248707fa8774a
data/Rakefile CHANGED
@@ -20,8 +20,6 @@ RDoc::Task.new(:rdoc) do |rdoc|
20
20
  rdoc.rdoc_files.include('lib/**/*.rb')
21
21
  end
22
22
 
23
- APP_RAKEFILE = File.expand_path('test/dummy/Rakefile', __dir__)
24
-
25
23
  Bundler::GemHelper.install_tasks
26
24
 
27
25
  require 'rake/testtask'
@@ -40,8 +38,8 @@ begin
40
38
  RuboCop::RakeTask.new
41
39
  rescue StandardError => _e
42
40
  puts 'Rubocop not loaded.'
43
- end
44
-
45
- task :default do
46
- Rake::Task['rubocop'].execute
41
+ else
42
+ task :default do
43
+ Rake::Task['rubocop'].execute
44
+ end
47
45
  end
@@ -20,11 +20,12 @@ module ForemanStatistics
20
20
 
21
21
  output = []
22
22
  data = scope.reorder('').group(grouping).count
23
- associations = klass.find_by(id: data.keys)
23
+ associations = klass.where(id: data.keys).to_a
24
24
  data.each do |k, v|
25
25
  output << { label: associations.detect { |a| a.id == k }.to_label, data: v } unless v.zero?
26
- rescue StandardError
27
- logger.info "skipped #{k} as it has has no label"
26
+ rescue StandardError => e
27
+ Rails.logger.info "skipped '#{association} - #{k}' as it has has no label"
28
+ Rails.logger.debug e
28
29
  end
29
30
  output
30
31
  end
@@ -7,9 +7,8 @@
7
7
  <% end %>
8
8
 
9
9
  <% content_for(:content) do %>
10
- <%= notifications %>
11
10
  <div id="organization-id" data-id="<%= Organization.current.id if Organization.current %>" ></div>
12
11
  <div id="user-id" data-id="<%= User.current.id if User.current %>" ></div>
13
12
  <%= react_component('ForemanStatistics') %>
14
13
  <% end %>
15
- <%= render file: "layouts/base" %>
14
+ <%= render template: "layouts/base" %>
@@ -8,8 +8,6 @@ module ForemanStatistics
8
8
  config.autoload_paths += Dir["#{config.root}/app/models/concerns"]
9
9
  config.autoload_paths += Dir["#{config.root}/app/overrides"]
10
10
 
11
- config.paths['db/migrate'] << 'db/migrate_foreman' unless Gem::Version.new(SETTINGS[:version]).release < Gem::Version.new('2.2')
12
-
13
11
  # Add any db migrations
14
12
  initializer 'foreman_statistics.load_app_instance_data' do |app|
15
13
  ForemanStatistics::Engine.paths['db/migrate'].existent.each do |path|
@@ -21,12 +19,6 @@ module ForemanStatistics
21
19
  Foreman::Plugin.register :foreman_statistics do
22
20
  requires_foreman '>= 3.1.0'
23
21
 
24
- # ==== Core cleanups
25
- # TODO: clean up when this gets removed from core
26
- delete_menu_item :top_menu, :trends
27
- delete_menu_item :top_menu, :statistics
28
- # ====
29
-
30
22
  # Add Global JS file for extending foreman-core components and routes
31
23
  register_global_js_file 'fills'
32
24
 
@@ -1,3 +1,3 @@
1
1
  module ForemanStatistics
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.1.0'.freeze
3
3
  end
@@ -4,14 +4,15 @@
4
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
  #
6
6
  # Translators:
7
- # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2021
7
+ # Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2021
8
8
  #
9
+ #, fuzzy
9
10
  msgid ""
10
11
  msgstr ""
11
- "Project-Id-Version: foreman_statistics 1.1.1\n"
12
+ "Project-Id-Version: foreman_statistics 2.0.1\n"
12
13
  "Report-Msgid-Bugs-To: \n"
13
14
  "PO-Revision-Date: 2021-02-03 22:59+0000\n"
14
- "Last-Translator: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2021\n"
15
+ "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2021\n"
15
16
  "Language-Team: Catalan (https://www.transifex.com/foreman/teams/114/ca/)\n"
16
17
  "MIME-Version: 1.0\n"
17
18
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -8,9 +8,10 @@
8
8
  # mhulan <mhulan@redhat.com>, 2021
9
9
  # Pavel Borecki <pavel.borecki@gmail.com>, 2021
10
10
  #
11
+ #, fuzzy
11
12
  msgid ""
12
13
  msgstr ""
13
- "Project-Id-Version: foreman_statistics 1.1.1\n"
14
+ "Project-Id-Version: foreman_statistics 2.0.1\n"
14
15
  "Report-Msgid-Bugs-To: \n"
15
16
  "PO-Revision-Date: 2021-02-03 22:59+0000\n"
16
17
  "Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2021\n"
@@ -13,13 +13,15 @@
13
13
  # Martin Zimmermann <martin.zimmermann@gmx.com>, 2021
14
14
  # Bryan Kearney <bryan.kearney@gmail.com>, 2021
15
15
  # Crited <Alexander.Stoll@netways.de>, 2021
16
+ # Patrick Dolinic, 2021
16
17
  #
18
+ #, fuzzy
17
19
  msgid ""
18
20
  msgstr ""
19
- "Project-Id-Version: foreman_statistics 1.1.1\n"
21
+ "Project-Id-Version: foreman_statistics 2.0.1\n"
20
22
  "Report-Msgid-Bugs-To: \n"
21
23
  "PO-Revision-Date: 2021-02-03 22:59+0000\n"
22
- "Last-Translator: Crited <Alexander.Stoll@netways.de>, 2021\n"
24
+ "Last-Translator: Patrick Dolinic, 2021\n"
23
25
  "Language-Team: German (https://www.transifex.com/foreman/teams/114/de/)\n"
24
26
  "MIME-Version: 1.0\n"
25
27
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -139,7 +141,7 @@ msgid "Name"
139
141
  msgstr "Name"
140
142
 
141
143
  msgid "No Charts To Load"
142
- msgstr ""
144
+ msgstr "Keine Diagramme zum Laden"
143
145
 
144
146
  msgid "No data available"
145
147
  msgstr "Keine Daten verfügbar"
@@ -178,13 +180,13 @@ msgid "Statistics"
178
180
  msgstr "Statistiken"
179
181
 
180
182
  msgid "Statistics and Trends for Foreman gives users overview of their infrastructure."
181
- msgstr ""
183
+ msgstr "Statistiken und Trends für Foreman geben Benutzern einen Überblick über ihre Infrastruktur."
182
184
 
183
185
  msgid "Submit"
184
186
  msgstr "Absenden"
185
187
 
186
188
  msgid "Trend Counter Job"
187
- msgstr ""
189
+ msgstr "Trendzähler-Job"
188
190
 
189
191
  msgid "Trend of the last %s days."
190
192
  msgstr "Trend der letzten %s Tage."
@@ -4,7 +4,7 @@
4
4
  #
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: foreman_statistics 1.1.1\n"
7
+ "Project-Id-Version: foreman_statistics 2.0.1\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
9
  "PO-Revision-Date: 2014-08-20 08:54+0100\n"
10
10
  "Last-Translator: Foreman Team <foreman-dev@googlegroups.com>\n"
@@ -7,9 +7,10 @@
7
7
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2021
8
8
  # Andi Chandler <andi@gowling.com>, 2021
9
9
  #
10
+ #, fuzzy
10
11
  msgid ""
11
12
  msgstr ""
12
- "Project-Id-Version: foreman_statistics 1.1.1\n"
13
+ "Project-Id-Version: foreman_statistics 2.0.1\n"
13
14
  "Report-Msgid-Bugs-To: \n"
14
15
  "PO-Revision-Date: 2021-02-03 22:59+0000\n"
15
16
  "Last-Translator: Andi Chandler <andi@gowling.com>, 2021\n"
@@ -10,20 +10,22 @@
10
10
  # elobato <elobatocs@gmail.com>, 2021
11
11
  # Bryan Kearney <bryan.kearney@gmail.com>, 2021
12
12
  # francis <hackgo@gmail.com>, 2021
13
- # Amit Upadhye <aupadhye@redhat.com>, 2021
13
+ # Amit Upadhye <aupadhye@redhat.com>, 2022
14
14
  #
15
+ #, fuzzy
15
16
  msgid ""
16
17
  msgstr ""
17
- "Project-Id-Version: foreman_statistics 1.1.1\n"
18
+ "Project-Id-Version: foreman_statistics 2.0.1\n"
18
19
  "Report-Msgid-Bugs-To: \n"
19
20
  "PO-Revision-Date: 2021-02-03 22:59+0000\n"
20
- "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2021\n"
21
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2022\n"
21
22
  "Language-Team: Spanish (https://www.transifex.com/foreman/teams/114/es/)\n"
22
23
  "MIME-Version: 1.0\n"
23
24
  "Content-Type: text/plain; charset=UTF-8\n"
24
25
  "Content-Transfer-Encoding: 8bit\n"
25
26
  "Language: es\n"
26
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
27
+ "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 :"
28
+ " 2;\n"
27
29
 
28
30
  msgid "Action"
29
31
  msgstr "Acción"
@@ -65,10 +67,10 @@ msgid "Delete a trend counter"
65
67
  msgstr "Eliminar un contador de tendencias"
66
68
 
67
69
  msgid "Delete all the trend history for %s?"
68
- msgstr "¿Eliminar todo el historial de tendencias para %s?"
70
+ msgstr "¿Borrar todo el historial de tendencias de %s?"
69
71
 
70
72
  msgid "Display Name"
71
- msgstr "Nombre para mostrar"
73
+ msgstr "Mostrar nombre"
72
74
 
73
75
  msgid "Edit"
74
76
  msgstr "Editar"
@@ -113,7 +115,7 @@ msgid "Import facts"
113
115
  msgstr "Importar datos"
114
116
 
115
117
  msgid "Last update:"
116
- msgstr ""
118
+ msgstr "Última actualización:"
117
119
 
118
120
  msgid "Learn more about this in the documentation."
119
121
  msgstr "Consulte la documentación para obtener más información."
@@ -185,7 +187,7 @@ msgid "Trend Counter Job"
185
187
  msgstr ""
186
188
 
187
189
  msgid "Trend of the last %s days."
188
- msgstr "Tendencia de los últimos %s días"
190
+ msgstr "Tendencia de los últimos %s días."
189
191
 
190
192
  msgid "Trends"
191
193
  msgstr "Tendencias"
@@ -10,20 +10,22 @@
10
10
  # Hartmel . <hartmel@laposte.net>, 2021
11
11
  # Baptiste Agasse <baptiste.agasse@gmail.com>, 2021
12
12
  # Bryan Kearney <bryan.kearney@gmail.com>, 2021
13
- # Amit Upadhye <aupadhye@redhat.com>, 2021
13
+ # Amit Upadhye <aupadhye@redhat.com>, 2022
14
14
  #
15
+ #, fuzzy
15
16
  msgid ""
16
17
  msgstr ""
17
- "Project-Id-Version: foreman_statistics 1.1.1\n"
18
+ "Project-Id-Version: foreman_statistics 2.0.1\n"
18
19
  "Report-Msgid-Bugs-To: \n"
19
20
  "PO-Revision-Date: 2021-02-03 22:59+0000\n"
20
- "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2021\n"
21
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2022\n"
21
22
  "Language-Team: French (https://www.transifex.com/foreman/teams/114/fr/)\n"
22
23
  "MIME-Version: 1.0\n"
23
24
  "Content-Type: text/plain; charset=UTF-8\n"
24
25
  "Content-Transfer-Encoding: 8bit\n"
25
26
  "Language: fr\n"
26
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
27
+ "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 100000"
28
+ "0 == 0 ? 1 : 2;\n"
27
29
 
28
30
  msgid "Action"
29
31
  msgstr "Action"
@@ -65,10 +67,10 @@ msgid "Delete a trend counter"
65
67
  msgstr "Supprimer un compteur de tendance"
66
68
 
67
69
  msgid "Delete all the trend history for %s?"
68
- msgstr "Supprimer l'historique des tendances pour %s?"
70
+ msgstr "Supprimer l'historique des tendances pour %s ?"
69
71
 
70
72
  msgid "Display Name"
71
- msgstr "Nom affiché"
73
+ msgstr "Nom d'affichage"
72
74
 
73
75
  msgid "Edit"
74
76
  msgstr "Modifier"
@@ -92,7 +94,7 @@ msgid "Facts"
92
94
  msgstr "Faits"
93
95
 
94
96
  msgid "Get statistics"
95
- msgstr "Voir les statistiques"
97
+ msgstr "Obtenir des statistiques"
96
98
 
97
99
  msgid "Hardware"
98
100
  msgstr "Matériel"
@@ -113,7 +115,7 @@ msgid "Import facts"
113
115
  msgstr "Importer des faits"
114
116
 
115
117
  msgid "Last update:"
116
- msgstr "Dernière mise à jour:"
118
+ msgstr "Dernière mise à jour :"
117
119
 
118
120
  msgid "Learn more about this in the documentation."
119
121
  msgstr "Approfondissez ce sujet dans la documentation."
@@ -176,13 +178,13 @@ msgid "Statistics"
176
178
  msgstr "Statistiques"
177
179
 
178
180
  msgid "Statistics and Trends for Foreman gives users overview of their infrastructure."
179
- msgstr ""
181
+ msgstr "Les statistiques et les tendances pour Foreman donnent aux utilisateurs une vue d'ensemble de leur infrastructure."
180
182
 
181
183
  msgid "Submit"
182
184
  msgstr "Envoyer"
183
185
 
184
186
  msgid "Trend Counter Job"
185
- msgstr ""
187
+ msgstr "emploi du compteur de tendance"
186
188
 
187
189
  msgid "Trend of the last %s days."
188
190
  msgstr "Tendances pour les %s derniers jours."
@@ -201,8 +203,9 @@ msgstr "mémoire libre"
201
203
 
202
204
  msgid "last %s day"
203
205
  msgid_plural "last %s days"
204
- msgstr[0] ""
205
- msgstr[1] ""
206
+ msgstr[0] "%s dernier jour"
207
+ msgstr[1] "%s derniers jours"
208
+ msgstr[2] "%s derniers jours"
206
209
 
207
210
  msgid "used memory"
208
211
  msgstr "mémoire utilisée"
@@ -6,9 +6,10 @@
6
6
  # Translators:
7
7
  # Carmela Rubiños <carmela.rubinos@gmail.com>, 2021
8
8
  #
9
+ #, fuzzy
9
10
  msgid ""
10
11
  msgstr ""
11
- "Project-Id-Version: foreman_statistics 1.1.1\n"
12
+ "Project-Id-Version: foreman_statistics 2.0.1\n"
12
13
  "Report-Msgid-Bugs-To: \n"
13
14
  "PO-Revision-Date: 2021-02-03 22:59+0000\n"
14
15
  "Last-Translator: Carmela Rubiños <carmela.rubinos@gmail.com>, 2021\n"
@@ -8,9 +8,10 @@
8
8
  # Bryan Kearney <bryan.kearney@gmail.com>, 2021
9
9
  # Andrea Perotti, 2021
10
10
  #
11
+ #, fuzzy
11
12
  msgid ""
12
13
  msgstr ""
13
- "Project-Id-Version: foreman_statistics 1.1.1\n"
14
+ "Project-Id-Version: foreman_statistics 2.0.1\n"
14
15
  "Report-Msgid-Bugs-To: \n"
15
16
  "PO-Revision-Date: 2021-02-03 22:59+0000\n"
16
17
  "Last-Translator: Andrea Perotti, 2021\n"
@@ -19,7 +20,8 @@ msgstr ""
19
20
  "Content-Type: text/plain; charset=UTF-8\n"
20
21
  "Content-Transfer-Encoding: 8bit\n"
21
22
  "Language: it\n"
22
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
23
+ "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 :"
24
+ " 2;\n"
23
25
 
24
26
  msgid "Action"
25
27
  msgstr "Azione"
@@ -7,14 +7,15 @@
7
7
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2021
8
8
  # Transifex Bot <>, 2021
9
9
  # Bryan Kearney <bryan.kearney@gmail.com>, 2021
10
- # Amit Upadhye <aupadhye@redhat.com>, 2021
10
+ # Amit Upadhye <aupadhye@redhat.com>, 2022
11
11
  #
12
+ #, fuzzy
12
13
  msgid ""
13
14
  msgstr ""
14
- "Project-Id-Version: foreman_statistics 1.1.1\n"
15
+ "Project-Id-Version: foreman_statistics 2.0.1\n"
15
16
  "Report-Msgid-Bugs-To: \n"
16
17
  "PO-Revision-Date: 2021-02-03 22:59+0000\n"
17
- "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2021\n"
18
+ "Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2022\n"
18
19
  "Language-Team: Japanese (https://www.transifex.com/foreman/teams/114/ja/)\n"
19
20
  "MIME-Version: 1.0\n"
20
21
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -44,10 +45,10 @@ msgid "Cancel"
44
45
  msgstr "取り消し"
45
46
 
46
47
  msgid "Class Distribution"
47
- msgstr "クラス分布"
48
+ msgstr "クラスの分布"
48
49
 
49
50
  msgid "Compute Resource Distribution"
50
- msgstr "コンピュートリソースディストリビューション"
51
+ msgstr "コンピュートリソースの分布"
51
52
 
52
53
  msgid "Compute resource"
53
54
  msgstr "コンピュートリソース"
@@ -71,13 +72,13 @@ msgid "Edit"
71
72
  msgstr "編集"
72
73
 
73
74
  msgid "Edit Trend %s"
74
- msgstr "%sトレンド の編集"
75
+ msgstr "トレンド %s の編集"
75
76
 
76
77
  msgid "Environment"
77
78
  msgstr "環境"
78
79
 
79
80
  msgid "Environment Distribution"
80
- msgstr "環境ディストリビューション"
81
+ msgstr "環境の分布"
81
82
 
82
83
  msgid "Expand the chart"
83
84
  msgstr "チャートを拡大"
@@ -95,7 +96,7 @@ msgid "Hardware"
95
96
  msgstr "ハードウェア"
96
97
 
97
98
  msgid "Host Group Distribution"
98
- msgstr "ホストグループディストリビューション"
99
+ msgstr "ホストグループの分布"
99
100
 
100
101
  msgid "Host group"
101
102
  msgstr "ホストグループ"
@@ -119,7 +120,7 @@ msgid "List of trends counters"
119
120
  msgstr "トレンドカウンターのリスト"
120
121
 
121
122
  msgid "Location Distribution"
122
- msgstr "場所ディストリビューション"
123
+ msgstr "ロケーションの分布"
123
124
 
124
125
  msgid "Max days for Trends graphs"
125
126
  msgstr "トレンドグラフの最大日数"
@@ -152,7 +153,7 @@ msgid "Operating system"
152
153
  msgstr "オペレーティングシステム"
153
154
 
154
155
  msgid "Organization Distribution"
155
- msgstr "組織ディストリビューション"
156
+ msgstr "組織の分布"
156
157
 
157
158
  msgid "Please Select"
158
159
  msgstr "選択してください"
@@ -173,13 +174,13 @@ msgid "Statistics"
173
174
  msgstr "統計"
174
175
 
175
176
  msgid "Statistics and Trends for Foreman gives users overview of their infrastructure."
176
- msgstr ""
177
+ msgstr "Foreman の統計とトレンドは、ユーザーにインフラストラクチャーの概要を提供します。"
177
178
 
178
179
  msgid "Submit"
179
180
  msgstr "送信"
180
181
 
181
182
  msgid "Trend Counter Job"
182
- msgstr ""
183
+ msgstr "トレンドカウンタージョブ"
183
184
 
184
185
  msgid "Trend of the last %s days."
185
186
  msgstr "過去 %s 日間のトレンドです。"
@@ -191,15 +192,14 @@ msgid "Trends for %s"
191
192
  msgstr "%s のトレンド"
192
193
 
193
194
  msgid "Trends in Foreman allow you to track changes in your infrastructure over time. It allows you to track both Foreman related information and to any fact. The Trend pages give a graph of how the number of hosts with that value have changed over time, and list the current hosts."
194
- msgstr "Foreman のトレンドを使用すると、インフラストラクチャー内における長期での変更を追跡できます。Foreman 関連の情報とファクトの両方が追跡できます。トレンドページでは、その値のホスト数が長期でどのように変化したかというグラフと、現行ホストの一覧が確認できます。"
195
+ msgstr "Foreman のトレンドを使用すると、インフラストラクチャー内における長期での変更を追跡できます。Foreman 関連の情報とファクトの両方を追跡できます。トレンドページでは、その値のホスト数が長期でどのように変化したかというグラフと、現行ホストの一覧が確認できます。"
195
196
 
196
197
  msgid "free memory"
197
198
  msgstr "空きメモリー"
198
199
 
199
200
  msgid "last %s day"
200
201
  msgid_plural "last %s days"
201
- msgstr[0] ""
202
- msgstr[1] ""
202
+ msgstr[0] "最終 %s 日"
203
203
 
204
204
  msgid "used memory"
205
205
  msgstr "使用済みメモリー"