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.
- checksums.yaml +4 -4
- data/Rakefile +4 -6
- data/app/services/foreman_statistics/statistics/count_hosts.rb +4 -3
- data/app/views/foreman_statistics/layouts/application_react.html.erb +1 -2
- data/lib/foreman_statistics/engine.rb +0 -8
- data/lib/foreman_statistics/version.rb +1 -1
- data/locale/ca/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/ca/foreman_statistics.po +4 -3
- data/locale/cs_CZ/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/cs_CZ/foreman_statistics.po +2 -1
- data/locale/de/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/de/foreman_statistics.po +7 -5
- data/locale/en/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/en/foreman_statistics.po +1 -1
- data/locale/en_GB/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/en_GB/foreman_statistics.po +2 -1
- data/locale/es/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/es/foreman_statistics.po +10 -8
- data/locale/fr/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/fr/foreman_statistics.po +15 -12
- data/locale/gl/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/gl/foreman_statistics.po +2 -1
- data/locale/it/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/it/foreman_statistics.po +4 -2
- data/locale/ja/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/ja/foreman_statistics.po +15 -15
- data/locale/ka/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/ka/foreman_statistics.po +203 -0
- data/locale/ko/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/ko/foreman_statistics.po +2 -1
- data/locale/nl_NL/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/nl_NL/foreman_statistics.po +2 -1
- data/locale/pl/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/pl/foreman_statistics.po +2 -1
- data/locale/pt_BR/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/pt_BR/foreman_statistics.po +10 -8
- data/locale/ru/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/ru/foreman_statistics.po +8 -6
- data/locale/sv_SE/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/sv_SE/foreman_statistics.po +2 -1
- data/locale/zh_CN/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/zh_CN/foreman_statistics.po +27 -28
- data/locale/zh_TW/LC_MESSAGES/foreman_statistics.mo +0 -0
- data/locale/zh_TW/foreman_statistics.po +2 -1
- data/package.json +6 -9
- data/test/unit/foreman_statistics/statistics_test.rb +13 -3
- metadata +33 -53
- data/locale/ca/foreman_statistics.edit.po +0 -263
- data/locale/ca/foreman_statistics.po.time_stamp +0 -0
- data/locale/cs_CZ/foreman_statistics.edit.po +0 -267
- data/locale/cs_CZ/foreman_statistics.po.time_stamp +0 -0
- data/locale/de/foreman_statistics.edit.po +0 -271
- data/locale/de/foreman_statistics.po.time_stamp +0 -0
- data/locale/en/foreman_statistics.edit.po +0 -258
- data/locale/en/foreman_statistics.po.time_stamp +0 -0
- data/locale/en_GB/foreman_statistics.edit.po +0 -265
- data/locale/en_GB/foreman_statistics.po.time_stamp +0 -0
- data/locale/es/foreman_statistics.edit.po +0 -269
- data/locale/es/foreman_statistics.po.time_stamp +0 -0
- data/locale/fr/foreman_statistics.edit.po +0 -269
- data/locale/fr/foreman_statistics.po.time_stamp +0 -0
- data/locale/gl/foreman_statistics.edit.po +0 -263
- data/locale/gl/foreman_statistics.po.time_stamp +0 -0
- data/locale/it/foreman_statistics.edit.po +0 -265
- data/locale/it/foreman_statistics.po.time_stamp +0 -0
- data/locale/ja/foreman_statistics.edit.po +0 -266
- data/locale/ja/foreman_statistics.po.time_stamp +0 -0
- data/locale/ko/foreman_statistics.edit.po +0 -264
- data/locale/ko/foreman_statistics.po.time_stamp +0 -0
- data/locale/nl_NL/foreman_statistics.edit.po +0 -267
- data/locale/nl_NL/foreman_statistics.po.time_stamp +0 -0
- data/locale/pl/foreman_statistics.edit.po +0 -266
- data/locale/pl/foreman_statistics.po.time_stamp +0 -0
- data/locale/pt_BR/foreman_statistics.edit.po +0 -269
- data/locale/pt_BR/foreman_statistics.po.time_stamp +0 -0
- data/locale/ru/foreman_statistics.edit.po +0 -270
- data/locale/ru/foreman_statistics.po.time_stamp +0 -0
- data/locale/sv_SE/foreman_statistics.edit.po +0 -265
- data/locale/sv_SE/foreman_statistics.po.time_stamp +0 -0
- data/locale/zh_CN/foreman_statistics.edit.po +0 -267
- data/locale/zh_CN/foreman_statistics.po.time_stamp +0 -0
- data/locale/zh_TW/foreman_statistics.edit.po +0 -266
- data/locale/zh_TW/foreman_statistics.po.time_stamp +0 -0
- /data/db/{migrate_foreman → migrate}/20121012170851_create_trends.rb +0 -0
- /data/db/{migrate_foreman → migrate}/20121012170936_create_trend_counters.rb +0 -0
- /data/db/{migrate_foreman → migrate}/20150202094307_add_range_to_trend_counters.rb +0 -0
- /data/db/{migrate_foreman → migrate}/20181031155025_add_trend_counter_created_at_unique_constraint.rb +0 -0
@@ -0,0 +1,203 @@
|
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
+
# This file is distributed under the same license as the foreman_statistics package.
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
|
+
#
|
6
|
+
# Translators:
|
7
|
+
# Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2022
|
8
|
+
#
|
9
|
+
#, fuzzy
|
10
|
+
msgid ""
|
11
|
+
msgstr ""
|
12
|
+
"Project-Id-Version: foreman_statistics 2.0.1\n"
|
13
|
+
"Report-Msgid-Bugs-To: \n"
|
14
|
+
"PO-Revision-Date: 2021-02-03 22:59+0000\n"
|
15
|
+
"Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2022\n"
|
16
|
+
"Language-Team: Georgian (https://www.transifex.com/foreman/teams/114/ka/)\n"
|
17
|
+
"MIME-Version: 1.0\n"
|
18
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
19
|
+
"Content-Transfer-Encoding: 8bit\n"
|
20
|
+
"Language: ka\n"
|
21
|
+
"Plural-Forms: nplurals=2; plural=(n!=1);\n"
|
22
|
+
|
23
|
+
msgid "Action"
|
24
|
+
msgstr "მოქმედება"
|
25
|
+
|
26
|
+
msgid "Action with sub plans"
|
27
|
+
msgstr "ქმედება ქვე-გეგმებით"
|
28
|
+
|
29
|
+
msgid "Add Trend Counter"
|
30
|
+
msgstr "ტრენდის მთვლელის დამატება"
|
31
|
+
|
32
|
+
msgid "Architecture Distribution"
|
33
|
+
msgstr "არქიტექტურის განაწილება"
|
34
|
+
|
35
|
+
msgid "Average Memory Usage"
|
36
|
+
msgstr "მეხსიერების საშუალო დატვირთვა"
|
37
|
+
|
38
|
+
msgid "Average Swap Usage"
|
39
|
+
msgstr "სვაპის საშუალ დატვირთვა"
|
40
|
+
|
41
|
+
msgid "Cancel"
|
42
|
+
msgstr "გაუქმება"
|
43
|
+
|
44
|
+
msgid "Class Distribution"
|
45
|
+
msgstr "კლასის გადანაწილება"
|
46
|
+
|
47
|
+
msgid "Compute Resource Distribution"
|
48
|
+
msgstr "გამოთვლითი რესურსის განაწილება"
|
49
|
+
|
50
|
+
msgid "Compute resource"
|
51
|
+
msgstr "გამოთვლითი რესურსი"
|
52
|
+
|
53
|
+
msgid "Create Trend"
|
54
|
+
msgstr "ტრენდის შექმნა"
|
55
|
+
|
56
|
+
msgid "Create a trend counter"
|
57
|
+
msgstr "ტრენდის მთვლელის შექმნა"
|
58
|
+
|
59
|
+
msgid "Delete a trend counter"
|
60
|
+
msgstr "ტრენდის მთვლელის წაშლა"
|
61
|
+
|
62
|
+
msgid "Delete all the trend history for %s?"
|
63
|
+
msgstr "წავშალო ტრენის ისტორია %s-სთვის?"
|
64
|
+
|
65
|
+
msgid "Display Name"
|
66
|
+
msgstr "საჩვენებელი სახელი"
|
67
|
+
|
68
|
+
msgid "Edit"
|
69
|
+
msgstr "ჩასწორება"
|
70
|
+
|
71
|
+
msgid "Edit Trend %s"
|
72
|
+
msgstr "ტრენდის ჩასწორება: %s"
|
73
|
+
|
74
|
+
msgid "Environment"
|
75
|
+
msgstr "გარემო"
|
76
|
+
|
77
|
+
msgid "Environment Distribution"
|
78
|
+
msgstr "გარემოს განაწილება"
|
79
|
+
|
80
|
+
msgid "Expand the chart"
|
81
|
+
msgstr "გრაფიკის გაფართოება"
|
82
|
+
|
83
|
+
msgid "Fact Name"
|
84
|
+
msgstr "ფაქტის სახელი"
|
85
|
+
|
86
|
+
msgid "Facts"
|
87
|
+
msgstr "ფაქტები"
|
88
|
+
|
89
|
+
msgid "Get statistics"
|
90
|
+
msgstr "სტატისტიკის მიღება"
|
91
|
+
|
92
|
+
msgid "Hardware"
|
93
|
+
msgstr "აპარატურა"
|
94
|
+
|
95
|
+
msgid "Host Group Distribution"
|
96
|
+
msgstr "ჰოსტების ჯგუფის განაწილება"
|
97
|
+
|
98
|
+
msgid "Host group"
|
99
|
+
msgstr "ჰოსტების ჯგუფი"
|
100
|
+
|
101
|
+
msgid "Hosts"
|
102
|
+
msgstr "ჰოსტები"
|
103
|
+
|
104
|
+
msgid "Import Puppet classes"
|
105
|
+
msgstr "Puppet-ის კლასების შემოტანა"
|
106
|
+
|
107
|
+
msgid "Import facts"
|
108
|
+
msgstr "ფაქტების შემოტანა"
|
109
|
+
|
110
|
+
msgid "Last update:"
|
111
|
+
msgstr "უკანასკნელი განახლება:"
|
112
|
+
|
113
|
+
msgid "Learn more about this in the documentation."
|
114
|
+
msgstr "შეიტყვეთ მეტი ამის შესახებ დოკუმენტაციაში."
|
115
|
+
|
116
|
+
msgid "List of trends counters"
|
117
|
+
msgstr "ტრენდის მთვლელების სია"
|
118
|
+
|
119
|
+
msgid "Location Distribution"
|
120
|
+
msgstr "მდებარეობის გადანაწილება"
|
121
|
+
|
122
|
+
msgid "Max days for Trends graphs"
|
123
|
+
msgstr "ტრენდის გრაფიკების დღეების მაქსიმალური რაოდენობა"
|
124
|
+
|
125
|
+
msgid "Max trends"
|
126
|
+
msgstr "ტრენდების მაქსიმალური რაოდენობა"
|
127
|
+
|
128
|
+
msgid "Model"
|
129
|
+
msgstr "მოდელი"
|
130
|
+
|
131
|
+
msgid "Name"
|
132
|
+
msgstr "სახელი"
|
133
|
+
|
134
|
+
msgid "No Charts To Load"
|
135
|
+
msgstr "ჩასატვირთი გრაფიკებს გარეშე"
|
136
|
+
|
137
|
+
msgid "No data available"
|
138
|
+
msgstr "მონაცემები მიუწვდომელია"
|
139
|
+
|
140
|
+
msgid "No data for this trend."
|
141
|
+
msgstr "ტრენდისთვის მონაცემები არ არსებობს."
|
142
|
+
|
143
|
+
msgid "Number of CPUs"
|
144
|
+
msgstr "CPU-ების რიცხვი"
|
145
|
+
|
146
|
+
msgid "Number of Hosts"
|
147
|
+
msgstr "ჰოსტების რიცხვი"
|
148
|
+
|
149
|
+
msgid "Operating system"
|
150
|
+
msgstr "ოპერაციული სისტემა"
|
151
|
+
|
152
|
+
msgid "Organization Distribution"
|
153
|
+
msgstr "ორგანიზაციის გადანაწილება"
|
154
|
+
|
155
|
+
msgid "Please Select"
|
156
|
+
msgstr "გთხოვთ აირჩიოთ"
|
157
|
+
|
158
|
+
msgid "Remote action:"
|
159
|
+
msgstr "დაშორებული ქმედება:"
|
160
|
+
|
161
|
+
msgid "Show Host"
|
162
|
+
msgstr "ჰოსტის ჩვენება"
|
163
|
+
|
164
|
+
msgid "Show Trends"
|
165
|
+
msgstr "ტრენდების ჩვენება"
|
166
|
+
|
167
|
+
msgid "Show a trend"
|
168
|
+
msgstr "ტრენდის ჩვენება"
|
169
|
+
|
170
|
+
msgid "Statistics"
|
171
|
+
msgstr "სტატისტიკა"
|
172
|
+
|
173
|
+
msgid "Statistics and Trends for Foreman gives users overview of their infrastructure."
|
174
|
+
msgstr "Foreman-ის სტატისტიკა და ტენდენციები მომხმარებლებს აძლევს მათი ინფრასტრუქტურის შესახებ მიმოხილვის ნახვის საშუალებას."
|
175
|
+
|
176
|
+
msgid "Submit"
|
177
|
+
msgstr "გაგზავნა"
|
178
|
+
|
179
|
+
msgid "Trend Counter Job"
|
180
|
+
msgstr "ტრენდის მთვლელის დავალება"
|
181
|
+
|
182
|
+
msgid "Trend of the last %s days."
|
183
|
+
msgstr "ბოლო %s დღის ტრენდი."
|
184
|
+
|
185
|
+
msgid "Trends"
|
186
|
+
msgstr "ტრენდები"
|
187
|
+
|
188
|
+
msgid "Trends for %s"
|
189
|
+
msgstr "ტრენდები %s-თვის"
|
190
|
+
|
191
|
+
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."
|
192
|
+
msgstr "Foreman-ის ტენდენციები საშუალებას გაძლევთ თვალყური ადევნოთ ცვლილებებს თქვენს ინფრასტრუქტურაში დროთა განმავლობაში. ის საშუალებას გაძლევთ თვალყური ადევნოთ როგორც Foreman-თან დაკავშირებულ ინფორმაციას, ასევე ნებისმიერ ფაქტს. ტრენდების გვერდებზე მოცემულია გრაფიკი, თუ როგორ შეიცვალა ამ მნიშვნელობის მქონე ჰოსტების რაოდენობა დროთა განმავლობაში და ჩამოთვლილია მიმდინარე ჰოსტები."
|
193
|
+
|
194
|
+
msgid "free memory"
|
195
|
+
msgstr "თავისუფალი მეხსიერება"
|
196
|
+
|
197
|
+
msgid "last %s day"
|
198
|
+
msgid_plural "last %s days"
|
199
|
+
msgstr[0] "ბოლო %s დღე"
|
200
|
+
msgstr[1] "ბოლო %s დღე"
|
201
|
+
|
202
|
+
msgid "used memory"
|
203
|
+
msgstr "გამოყენებული მეხსიერება"
|
Binary file
|
@@ -7,9 +7,10 @@
|
|
7
7
|
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2021
|
8
8
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2021
|
9
9
|
#
|
10
|
+
#, fuzzy
|
10
11
|
msgid ""
|
11
12
|
msgstr ""
|
12
|
-
"Project-Id-Version: foreman_statistics
|
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: Bryan Kearney <bryan.kearney@gmail.com>, 2021\n"
|
Binary file
|
@@ -9,9 +9,10 @@
|
|
9
9
|
# EmielK <emiel@kremers.us>, 2021
|
10
10
|
# Mark Olie <mark.transifex@oliekoets.nl>, 2021
|
11
11
|
#
|
12
|
+
#, fuzzy
|
12
13
|
msgid ""
|
13
14
|
msgstr ""
|
14
|
-
"Project-Id-Version: foreman_statistics
|
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
18
|
"Last-Translator: Mark Olie <mark.transifex@oliekoets.nl>, 2021\n"
|
Binary file
|
@@ -7,9 +7,10 @@
|
|
7
7
|
# sziolkow <sziolkow@gmail.com>, 2021
|
8
8
|
# Michał Foryt <michal.foryt@gmail.com>, 2021
|
9
9
|
#
|
10
|
+
#, fuzzy
|
10
11
|
msgid ""
|
11
12
|
msgstr ""
|
12
|
-
"Project-Id-Version: foreman_statistics
|
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: Michał Foryt <michal.foryt@gmail.com>, 2021\n"
|
Binary file
|
@@ -9,21 +9,23 @@
|
|
9
9
|
# Felipe Nogaroto Gonzalez <felipeng84@gmail.com>, 2021
|
10
10
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2021
|
11
11
|
# Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2021
|
12
|
-
# Amit Upadhye <aupadhye@redhat.com>,
|
12
|
+
# Amit Upadhye <aupadhye@redhat.com>, 2022
|
13
13
|
#
|
14
|
+
#, fuzzy
|
14
15
|
msgid ""
|
15
16
|
msgstr ""
|
16
|
-
"Project-Id-Version: foreman_statistics
|
17
|
+
"Project-Id-Version: foreman_statistics 2.0.1\n"
|
17
18
|
"Report-Msgid-Bugs-To: \n"
|
18
19
|
"PO-Revision-Date: 2021-02-03 22:59+0000\n"
|
19
|
-
"Last-Translator: Amit Upadhye <aupadhye@redhat.com>,
|
20
|
+
"Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2022\n"
|
20
21
|
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/foreman/teams/11"
|
21
22
|
"4/pt_BR/)\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: pt_BR\n"
|
26
|
-
"Plural-Forms: nplurals=
|
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 "Ação"
|
@@ -65,7 +67,7 @@ msgid "Delete a trend counter"
|
|
65
67
|
msgstr "Excluir um contador de tendências"
|
66
68
|
|
67
69
|
msgid "Delete all the trend history for %s?"
|
68
|
-
msgstr "
|
70
|
+
msgstr "Elimine todo o histórico de tendências para %s?"
|
69
71
|
|
70
72
|
msgid "Display Name"
|
71
73
|
msgstr "Nome para exibição"
|
@@ -74,7 +76,7 @@ msgid "Edit"
|
|
74
76
|
msgstr "Editar"
|
75
77
|
|
76
78
|
msgid "Edit Trend %s"
|
77
|
-
msgstr "Editar
|
79
|
+
msgstr "Editar Tendência %s"
|
78
80
|
|
79
81
|
msgid "Environment"
|
80
82
|
msgstr "Ambiente"
|
@@ -113,7 +115,7 @@ msgid "Import facts"
|
|
113
115
|
msgstr "Importar fatos"
|
114
116
|
|
115
117
|
msgid "Last update:"
|
116
|
-
msgstr ""
|
118
|
+
msgstr "Última atualização:"
|
117
119
|
|
118
120
|
msgid "Learn more about this in the documentation."
|
119
121
|
msgstr "Para saber mais sobre isto, acesse a documentação."
|
@@ -185,7 +187,7 @@ msgid "Trend Counter Job"
|
|
185
187
|
msgstr ""
|
186
188
|
|
187
189
|
msgid "Trend of the last %s days."
|
188
|
-
msgstr "
|
190
|
+
msgstr "Tendência dos últimos %s dias."
|
189
191
|
|
190
192
|
msgid "Trends"
|
191
193
|
msgstr "Tendências"
|
Binary file
|
@@ -10,13 +10,15 @@
|
|
10
10
|
# Vladimir Pavlov <v.pavlov@i-teco.ru>, 2021
|
11
11
|
# Yulia <yulia.poyarkova@redhat.com>, 2021
|
12
12
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2021
|
13
|
+
# KotUchoniy <yosho1@yandex.ru>, 2021
|
13
14
|
#
|
15
|
+
#, fuzzy
|
14
16
|
msgid ""
|
15
17
|
msgstr ""
|
16
|
-
"Project-Id-Version: foreman_statistics
|
18
|
+
"Project-Id-Version: foreman_statistics 2.0.1\n"
|
17
19
|
"Report-Msgid-Bugs-To: \n"
|
18
20
|
"PO-Revision-Date: 2021-02-03 22:59+0000\n"
|
19
|
-
"Last-Translator:
|
21
|
+
"Last-Translator: KotUchoniy <yosho1@yandex.ru>, 2021\n"
|
20
22
|
"Language-Team: Russian (https://www.transifex.com/foreman/teams/114/ru/)\n"
|
21
23
|
"MIME-Version: 1.0\n"
|
22
24
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -60,10 +62,10 @@ msgid "Create Trend"
|
|
60
62
|
msgstr ""
|
61
63
|
|
62
64
|
msgid "Create a trend counter"
|
63
|
-
msgstr ""
|
65
|
+
msgstr "Создать счетчик трендов"
|
64
66
|
|
65
67
|
msgid "Delete a trend counter"
|
66
|
-
msgstr ""
|
68
|
+
msgstr "Удалить счетчик трендов"
|
67
69
|
|
68
70
|
msgid "Delete all the trend history for %s?"
|
69
71
|
msgstr "Удалить историю динамики %s?"
|
@@ -120,7 +122,7 @@ msgid "Learn more about this in the documentation."
|
|
120
122
|
msgstr "Обратиться к документации"
|
121
123
|
|
122
124
|
msgid "List of trends counters"
|
123
|
-
msgstr ""
|
125
|
+
msgstr "Список счетчиков тенденций"
|
124
126
|
|
125
127
|
msgid "Location Distribution"
|
126
128
|
msgstr ""
|
@@ -171,7 +173,7 @@ msgid "Show Trends"
|
|
171
173
|
msgstr "Показать динамику изменений"
|
172
174
|
|
173
175
|
msgid "Show a trend"
|
174
|
-
msgstr ""
|
176
|
+
msgstr "Показать тенденцию"
|
175
177
|
|
176
178
|
msgid "Statistics"
|
177
179
|
msgstr "Статистика"
|
Binary file
|
@@ -7,9 +7,10 @@
|
|
7
7
|
# Mikael Fridh <frimik@gmail.com>, 2021
|
8
8
|
# johnny.westerlund <johnny.westerlund@gmail.com>, 2021
|
9
9
|
#
|
10
|
+
#, fuzzy
|
10
11
|
msgid ""
|
11
12
|
msgstr ""
|
12
|
-
"Project-Id-Version: foreman_statistics
|
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: johnny.westerlund <johnny.westerlund@gmail.com>, 2021\n"
|
Binary file
|
@@ -4,17 +4,17 @@
|
|
4
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
5
|
#
|
6
6
|
# Translators:
|
7
|
-
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2021
|
8
7
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2021
|
9
8
|
# tim123, 2021
|
10
|
-
# Amit Upadhye <aupadhye@redhat.com>,
|
9
|
+
# Amit Upadhye <aupadhye@redhat.com>, 2022
|
11
10
|
#
|
11
|
+
#, fuzzy
|
12
12
|
msgid ""
|
13
13
|
msgstr ""
|
14
|
-
"Project-Id-Version: foreman_statistics
|
14
|
+
"Project-Id-Version: foreman_statistics 2.0.1\n"
|
15
15
|
"Report-Msgid-Bugs-To: \n"
|
16
16
|
"PO-Revision-Date: 2021-02-03 22:59+0000\n"
|
17
|
-
"Last-Translator: Amit Upadhye <aupadhye@redhat.com>,
|
17
|
+
"Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2022\n"
|
18
18
|
"Language-Team: Chinese (China) (https://www.transifex.com/foreman/teams/114/zh"
|
19
19
|
"_CN/)\n"
|
20
20
|
"MIME-Version: 1.0\n"
|
@@ -24,16 +24,16 @@ msgstr ""
|
|
24
24
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
25
25
|
|
26
26
|
msgid "Action"
|
27
|
-
msgstr "
|
27
|
+
msgstr "操作"
|
28
28
|
|
29
29
|
msgid "Action with sub plans"
|
30
|
-
msgstr "
|
30
|
+
msgstr "有子计划的操作"
|
31
31
|
|
32
32
|
msgid "Add Trend Counter"
|
33
|
-
msgstr "
|
33
|
+
msgstr "添加趋势计数器"
|
34
34
|
|
35
35
|
msgid "Architecture Distribution"
|
36
|
-
msgstr "
|
36
|
+
msgstr "架构分布"
|
37
37
|
|
38
38
|
msgid "Average Memory Usage"
|
39
39
|
msgstr "平均内存使用率"
|
@@ -45,13 +45,13 @@ msgid "Cancel"
|
|
45
45
|
msgstr "取消"
|
46
46
|
|
47
47
|
msgid "Class Distribution"
|
48
|
-
msgstr "
|
48
|
+
msgstr "类分布"
|
49
49
|
|
50
50
|
msgid "Compute Resource Distribution"
|
51
51
|
msgstr "计算资源分布"
|
52
52
|
|
53
53
|
msgid "Compute resource"
|
54
|
-
msgstr "
|
54
|
+
msgstr "计算资源"
|
55
55
|
|
56
56
|
msgid "Create Trend"
|
57
57
|
msgstr "创建趋势"
|
@@ -60,19 +60,19 @@ msgid "Create a trend counter"
|
|
60
60
|
msgstr "创建一个趋势统计"
|
61
61
|
|
62
62
|
msgid "Delete a trend counter"
|
63
|
-
msgstr "
|
63
|
+
msgstr "删除一个趋势计数器"
|
64
64
|
|
65
65
|
msgid "Delete all the trend history for %s?"
|
66
|
-
msgstr "
|
66
|
+
msgstr "为 %s 删除所有趋势记录"
|
67
67
|
|
68
68
|
msgid "Display Name"
|
69
69
|
msgstr "显示名称"
|
70
70
|
|
71
71
|
msgid "Edit"
|
72
|
-
msgstr "
|
72
|
+
msgstr "编辑"
|
73
73
|
|
74
74
|
msgid "Edit Trend %s"
|
75
|
-
msgstr "编辑 %s
|
75
|
+
msgstr "编辑 %s 趋势"
|
76
76
|
|
77
77
|
msgid "Environment"
|
78
78
|
msgstr "环境"
|
@@ -84,10 +84,10 @@ msgid "Expand the chart"
|
|
84
84
|
msgstr "展开图表"
|
85
85
|
|
86
86
|
msgid "Fact Name"
|
87
|
-
msgstr "
|
87
|
+
msgstr "事实名称"
|
88
88
|
|
89
89
|
msgid "Facts"
|
90
|
-
msgstr "
|
90
|
+
msgstr "Facts"
|
91
91
|
|
92
92
|
msgid "Get statistics"
|
93
93
|
msgstr "获取统计数据"
|
@@ -114,16 +114,16 @@ msgid "Last update:"
|
|
114
114
|
msgstr "最后更新:"
|
115
115
|
|
116
116
|
msgid "Learn more about this in the documentation."
|
117
|
-
msgstr "
|
117
|
+
msgstr "如需了解更多信息,请参阅文档。"
|
118
118
|
|
119
119
|
msgid "List of trends counters"
|
120
|
-
msgstr "
|
120
|
+
msgstr "趋势统计列表"
|
121
121
|
|
122
122
|
msgid "Location Distribution"
|
123
123
|
msgstr "位置分布"
|
124
124
|
|
125
125
|
msgid "Max days for Trends graphs"
|
126
|
-
msgstr "
|
126
|
+
msgstr "趋势图表的最大天数"
|
127
127
|
|
128
128
|
msgid "Max trends"
|
129
129
|
msgstr "最大趋势"
|
@@ -147,13 +147,13 @@ msgid "Number of CPUs"
|
|
147
147
|
msgstr "CPU 的数量"
|
148
148
|
|
149
149
|
msgid "Number of Hosts"
|
150
|
-
msgstr "
|
150
|
+
msgstr "主机的数量"
|
151
151
|
|
152
152
|
msgid "Operating system"
|
153
153
|
msgstr "操作系统"
|
154
154
|
|
155
155
|
msgid "Organization Distribution"
|
156
|
-
msgstr "
|
156
|
+
msgstr "机构分布"
|
157
157
|
|
158
158
|
msgid "Please Select"
|
159
159
|
msgstr "请选择"
|
@@ -174,16 +174,16 @@ msgid "Statistics"
|
|
174
174
|
msgstr "统计"
|
175
175
|
|
176
176
|
msgid "Statistics and Trends for Foreman gives users overview of their infrastructure."
|
177
|
-
msgstr ""
|
177
|
+
msgstr "Foreman 的统计数据和趋势为用户提供了其基础架构的概述。"
|
178
178
|
|
179
179
|
msgid "Submit"
|
180
180
|
msgstr "提交"
|
181
181
|
|
182
182
|
msgid "Trend Counter Job"
|
183
|
-
msgstr ""
|
183
|
+
msgstr "趋势计数器作业"
|
184
184
|
|
185
185
|
msgid "Trend of the last %s days."
|
186
|
-
msgstr "前 %s
|
186
|
+
msgstr "前 %s 天的趋势。"
|
187
187
|
|
188
188
|
msgid "Trends"
|
189
189
|
msgstr "趋势"
|
@@ -195,12 +195,11 @@ msgid "Trends in Foreman allow you to track changes in your infrastructure over
|
|
195
195
|
msgstr "Foreman 中的趋势让您可以随时间跟踪基础设施中的更改。您可以跟踪与 Foreman 相关的信息和任何 fact 详情。趋势页面提供了一幅图表,显示采用该值的主机数量如何随时间变化,并列出当前的主机。"
|
196
196
|
|
197
197
|
msgid "free memory"
|
198
|
-
msgstr "
|
198
|
+
msgstr "空闲内存"
|
199
199
|
|
200
200
|
msgid "last %s day"
|
201
201
|
msgid_plural "last %s days"
|
202
|
-
msgstr[0] ""
|
203
|
-
msgstr[1] ""
|
202
|
+
msgstr[0] "最后 %s 天"
|
204
203
|
|
205
204
|
msgid "used memory"
|
206
|
-
msgstr "
|
205
|
+
msgstr "使用的内存"
|
Binary file
|
@@ -8,9 +8,10 @@
|
|
8
8
|
# ChrisLee <chris_lee@hiiir.com>, 2021
|
9
9
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2021
|
10
10
|
#
|
11
|
+
#, fuzzy
|
11
12
|
msgid ""
|
12
13
|
msgstr ""
|
13
|
-
"Project-Id-Version: foreman_statistics
|
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: Bryan Kearney <bryan.kearney@gmail.com>, 2021\n"
|
data/package.json
CHANGED
@@ -7,16 +7,15 @@
|
|
7
7
|
"url": "http://projects.theforeman.org/projects/foreman_statistics/issues"
|
8
8
|
},
|
9
9
|
"peerDependencies": {
|
10
|
-
"@theforeman/vendor": ">=
|
10
|
+
"@theforeman/vendor": ">= 8.4.1"
|
11
11
|
},
|
12
12
|
"devDependencies": {
|
13
13
|
"@babel/core": "^7.7.0",
|
14
|
-
"@theforeman/builder": "
|
15
|
-
"@theforeman/eslint-plugin-foreman": "
|
16
|
-
"@theforeman/find-foreman": "
|
17
|
-
"@theforeman/
|
18
|
-
"@theforeman/
|
19
|
-
"@theforeman/vendor-dev": "^8.4.1",
|
14
|
+
"@theforeman/builder": ">= 8.4.1",
|
15
|
+
"@theforeman/eslint-plugin-foreman": ">= 8.4.1",
|
16
|
+
"@theforeman/find-foreman": ">= 8.4.1",
|
17
|
+
"@theforeman/test": ">= 8.4.1",
|
18
|
+
"@theforeman/vendor-dev": ">= 8.4.1",
|
20
19
|
"babel-eslint": "^10.0.3",
|
21
20
|
"eslint": "^6.7.2",
|
22
21
|
"prettier": "^1.19.1",
|
@@ -32,8 +31,6 @@
|
|
32
31
|
"test:watch": "tfm-test --plugin --config config/jest.config.js --watchAll",
|
33
32
|
"test:current": "tfm-test --plugin --config config/jest.config.js --watch",
|
34
33
|
"publish-coverage": "tfm-publish-coverage",
|
35
|
-
"stories": "tfm-stories --plugin",
|
36
|
-
"stories:build": "tfm-build-stories --plugin",
|
37
34
|
"create-react-component": "yo react-domain"
|
38
35
|
},
|
39
36
|
"repository": {
|
@@ -50,9 +50,19 @@ module ForemanStatistics
|
|
50
50
|
assert_kind_of Array, stat.calculate
|
51
51
|
end
|
52
52
|
|
53
|
-
|
54
|
-
|
55
|
-
|
53
|
+
describe 'CountHosts' do
|
54
|
+
test 'initializes a host counter statistics object' do
|
55
|
+
stat = Statistics::CountHosts.new(:count_by => :compute_resource)
|
56
|
+
assert_kind_of Array, stat.calculate
|
57
|
+
end
|
58
|
+
|
59
|
+
test 'calculates stats by given metric' do
|
60
|
+
host = FactoryBot.create(:host, :with_operatingsystem)
|
61
|
+
stat = Statistics::CountHosts.new(count_by: :operatingsystem, title: 'OS Distribution').calculate
|
62
|
+
_(stat).must_be_instance_of(Array)
|
63
|
+
_(stat.first[:data]).must_equal(1)
|
64
|
+
_(stat.first[:label]).must_equal(host.operatingsystem.to_label)
|
65
|
+
end
|
56
66
|
end
|
57
67
|
|
58
68
|
context 'with puppet plugin' do
|