Skip to content

Commit

Permalink
[req-changes] Renamed labels of RADIUS monitoring charts
Browse files Browse the repository at this point in the history
- Rename "User Registration" to "User Registrations"
- Rename "Unique RADIUS Session Count" to "Unique RADIUS Sessions"
- Rename "Total RADIUS Sessions Traffic" to "Traffic of RADIUS Sessions"
  • Loading branch information
pandafy committed Apr 18, 2024
1 parent 0d035f1 commit 08fc8e3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions openwisp_radius/integrations/monitoring/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
'type': 'stackedbar+lines',
'trace_type': user_signups_chart_traces,
'trace_order': user_signups_chart_order,
'title': _('User Registration'),
'label': _('User Registration'),
'description': _('Daily user registration grouped by registration method'),
'title': _('User Registrations'),
'label': _('User Registrations'),
'description': _('Daily user registrations grouped by registration method'),
'summary_labels': user_signups_chart_summary_labels,
'trace_labels': user_signups_chart_trace_labels,
'order': 240,
Expand Down Expand Up @@ -73,17 +73,17 @@

RADIUS_METRICS = {
'user_signups': {
'label': _('User Registration'),
'name': 'User Registration',
'label': _('User Registrations'),
'name': 'User Registrations',
'key': 'user_signups',
'field_name': 'count',
'charts': {
'user_signups': user_singups_chart_config,
},
},
'tot_user_signups': {
'label': _('Total User Registration'),
'name': 'Total User Registration',
'label': _('Total User Registrations'),
'name': 'Total User Registrations',
'key': 'tot_user_signups',
'field_name': 'count',
'charts': {
Expand Down Expand Up @@ -140,8 +140,8 @@
'fill': 'none',
'trace_type': user_signups_chart_traces,
'trace_order': user_signups_chart_order,
'title': _('Unique RADIUS Session Count'),
'label': _('RADIUS Session Count'),
'title': _('Unique RADIUS Sessions'),
'label': _('Unique RADIUS Sessions'),
'description': _(
'RADIUS Network traffic (total, download and upload).'
),
Expand Down Expand Up @@ -183,7 +183,7 @@
'total': 'lines',
},
'trace_order': ['total', 'download', 'upload'],
'title': _('Total RADIUS Sessions Traffic'),
'title': _('Traffic of RADIUS Sessions'),
'label': _('General RADIUS Traffic'),
'description': _(
'RADIUS Network traffic (total, download and upload).'
Expand Down Expand Up @@ -219,8 +219,8 @@
'fill': 'none',
'trace_type': user_signups_chart_traces,
'trace_order': user_signups_chart_order,
'title': _('Unique RADIUS Session Count'),
'label': _('General RADIUS Session Count'),
'title': _('Unique RADIUS Sessions'),
'label': _('General RADIUS Sessions'),
'description': _(
'RADIUS Network traffic (total, download and upload).'
),
Expand Down

0 comments on commit 08fc8e3

Please sign in to comment.