missing i18n, the sequel
This commit is contained in:
parent
fe0b0dbe5e
commit
75460dd595
|
@ -23,7 +23,7 @@
|
|||
periodically collect usage information.
|
||||
= link_to 'Learn more', help_page_path("user/admin_area/settings/usage_statistics", anchor: "usage-ping")
|
||||
about what information is shared with GitLab Inc. Visit
|
||||
= link_to 'Cohorts', instance_statistics_cohorts_path(anchor: 'usage-ping')
|
||||
= link_to _('Cohorts'), instance_statistics_cohorts_path(anchor: 'usage-ping')
|
||||
to see the JSON payload sent.
|
||||
- else
|
||||
The usage ping is disabled, and cannot be configured through this
|
||||
|
@ -31,8 +31,8 @@
|
|||
= succeed '.' do
|
||||
= link_to 'deactivating the usage ping', help_page_path('user/admin_area/settings/usage_statistics', anchor: 'deactivate-the-usage-ping')
|
||||
.form-group
|
||||
= f.label :instance_statistics_visibility_private, 'Instance Statistics visibility'
|
||||
= f.select :instance_statistics_visibility_private, options_for_select({'All users' => false, 'Only admins' => true}, Gitlab::CurrentSettings.instance_statistics_visibility_private?), {}, class: 'form-control'
|
||||
= f.label :instance_statistics_visibility_private, _('Instance Statistics visibility')
|
||||
= f.select :instance_statistics_visibility_private, options_for_select({_('All users') => false, _('Only admins') => true}, Gitlab::CurrentSettings.instance_statistics_visibility_private?), {}, class: 'form-control'
|
||||
|
||||
= f.submit 'Save changes', class: "btn btn-success"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- page_title "Instance Statistics"
|
||||
- header_title "Instance Statistics", instance_statistics_root_path
|
||||
- nav "instance_statistics"
|
||||
- page_title _('Instance Statistics')
|
||||
- header_title _('Instance Statistics'), instance_statistics_root_path
|
||||
- nav 'instance_statistics'
|
||||
- @left_sidebar = true
|
||||
|
||||
= render template: "layouts/application"
|
||||
= render template: 'layouts/application'
|
||||
|
|
Loading…
Reference in New Issue