Commit 7a87bb63 authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Rémy Coutable

Externalize strings in application_settings/_repository_check.html.haml

parent 33bbcd4e
...@@ -3,56 +3,51 @@ ...@@ -3,56 +3,51 @@
%fieldset %fieldset
.sub-section .sub-section
%h4 Repository checks %h4= _("Repository checks")
.form-group .form-group
.form-check .form-check
= f.check_box :repository_checks_enabled, class: 'form-check-input' = f.check_box :repository_checks_enabled, class: 'form-check-input'
= f.label :repository_checks_enabled, class: 'form-check-label' do = f.label :repository_checks_enabled, class: 'form-check-label' do
Enable Repository Checks = _("Enable Repository Checks")
.form-text.text-muted .form-text.text-muted
GitLab will periodically run - link_to_git_fsck = link_to('git fsck', 'https://git-scm.com/docs/git-fsck', target: '_blank')
%a{ href: 'https://git-scm.com/docs/git-fsck', target: 'blank' } 'git fsck' = _("GitLab will periodically run %{link_to_git_fsck} in all project and wiki repositories to look for silent disk corruption issues.").html_safe % { link_to_git_fsck: link_to_git_fsck }
in all project and wiki repositories to look for silent disk corruption issues.
.form-group .form-group
.form-text.text-muted .form-text.text-muted
If you got a lot of false alarms from repository checks you can choose to clear all repository check information from the database. = _("If you got a lot of false alarms from repository checks you can choose to clear all repository check information from the database.")
- clear_repository_checks_link = _('Clear all repository checks') - clear_repository_checks_link = _('Clear all repository checks')
- clear_repository_checks_message = _('This will clear repository check states for ALL projects in the database. This cannot be undone. Are you sure?') - clear_repository_checks_message = _('This will clear repository check states for ALL projects in the database. This cannot be undone. Are you sure?')
= link_to clear_repository_checks_link, clear_repository_check_states_admin_application_settings_path, data: { confirm: clear_repository_checks_message }, method: :put, class: "gl-button btn btn-sm btn-danger" = link_to clear_repository_checks_link, clear_repository_check_states_admin_application_settings_path, data: { confirm: clear_repository_checks_message }, method: :put, class: "gl-button btn btn-sm btn-danger"
.sub-section .sub-section
%h4 Housekeeping %h4= _("Housekeeping")
.form-group .form-group
.form-check .form-check
= f.check_box :housekeeping_enabled, class: 'form-check-input' = f.check_box :housekeeping_enabled, class: 'form-check-input'
= f.label :housekeeping_enabled, class: 'form-check-label' do = f.label :housekeeping_enabled, class: 'form-check-label' do
Enable automatic repository housekeeping (git repack, git gc) = _("Enable automatic repository housekeeping (git repack, git gc)")
.form-text.text-muted .form-text.text-muted
If you keep automatic housekeeping disabled for a long time Git = _("If you keep automatic housekeeping disabled for a long time Git repository access on your GitLab server will become slower and your repositories will use more disk space. We recommend to always leave this enabled.")
repository access on your GitLab server will become slower and your
repositories will use more disk space. We recommend to always leave
this enabled.
.form-check .form-check
= f.check_box :housekeeping_bitmaps_enabled, class: 'form-check-input' = f.check_box :housekeeping_bitmaps_enabled, class: 'form-check-input'
= f.label :housekeeping_bitmaps_enabled, class: 'form-check-label' do = f.label :housekeeping_bitmaps_enabled, class: 'form-check-label' do
Enable Git pack file bitmap creation = _("Enable Git pack file bitmap creation")
.form-text.text-muted .form-text.text-muted
Creating pack file bitmaps makes housekeeping take a little longer but = _("Creating pack file bitmaps makes housekeeping take a little longer but bitmaps should accelerate 'git clone' performance.")
bitmaps should accelerate 'git clone' performance.
.form-group .form-group
= f.label :housekeeping_incremental_repack_period, 'Incremental repack period', class: 'label-bold' = f.label :housekeeping_incremental_repack_period, 'Incremental repack period', class: 'label-bold'
= f.number_field :housekeeping_incremental_repack_period, class: 'form-control gl-form-input' = f.number_field :housekeeping_incremental_repack_period, class: 'form-control gl-form-input'
.form-text.text-muted .form-text.text-muted
Number of Git pushes after which an incremental 'git repack' is run. = _("Number of Git pushes after which an incremental 'git repack' is run.")
.form-group .form-group
= f.label :housekeeping_full_repack_period, 'Full repack period', class: 'label-bold' = f.label :housekeeping_full_repack_period, 'Full repack period', class: 'label-bold'
= f.number_field :housekeeping_full_repack_period, class: 'form-control gl-form-input' = f.number_field :housekeeping_full_repack_period, class: 'form-control gl-form-input'
.form-text.text-muted .form-text.text-muted
Number of Git pushes after which a full 'git repack' is run. = _("Number of Git pushes after which a full 'git repack' is run.")
.form-group .form-group
= f.label :housekeeping_gc_period, 'Git GC period', class: 'label-bold' = f.label :housekeeping_gc_period, _('Git GC period'), class: 'label-bold'
= f.number_field :housekeeping_gc_period, class: 'form-control gl-form-input' = f.number_field :housekeeping_gc_period, class: 'form-control gl-form-input'
.form-text.text-muted .form-text.text-muted
Number of Git pushes after which 'git gc' is run. = _("Number of Git pushes after which 'git gc' is run.")
= f.submit _('Save changes'), class: "gl-button btn btn-confirm" = f.submit _('Save changes'), class: "gl-button btn btn-confirm"
---
title: Externalise strings in /application_settings/_repository_check.html.haml
merge_request: 58058
author: nuwe1
type: other
...@@ -9176,6 +9176,9 @@ msgstr "" ...@@ -9176,6 +9176,9 @@ msgstr ""
msgid "Creating graphs uses the data from the Prometheus server. If this takes a long time, ensure that data is available." msgid "Creating graphs uses the data from the Prometheus server. If this takes a long time, ensure that data is available."
msgstr "" msgstr ""
msgid "Creating pack file bitmaps makes housekeeping take a little longer but bitmaps should accelerate 'git clone' performance."
msgstr ""
msgid "Creation date" msgid "Creation date"
msgstr "" msgstr ""
...@@ -11517,6 +11520,9 @@ msgstr "" ...@@ -11517,6 +11520,9 @@ msgstr ""
msgid "Enable Auto DevOps" msgid "Enable Auto DevOps"
msgstr "" msgstr ""
msgid "Enable Git pack file bitmap creation"
msgstr ""
msgid "Enable Gitpod" msgid "Enable Gitpod"
msgstr "" msgstr ""
...@@ -11541,6 +11547,9 @@ msgstr "" ...@@ -11541,6 +11547,9 @@ msgstr ""
msgid "Enable Pseudonymizer data collection" msgid "Enable Pseudonymizer data collection"
msgstr "" msgstr ""
msgid "Enable Repository Checks"
msgstr ""
msgid "Enable SSL verification" msgid "Enable SSL verification"
msgstr "" msgstr ""
...@@ -11565,6 +11574,9 @@ msgstr "" ...@@ -11565,6 +11574,9 @@ msgstr ""
msgid "Enable and disable Service Desk. Some additional configuration might be required. %{link_start}Learn more%{link_end}." msgid "Enable and disable Service Desk. Some additional configuration might be required. %{link_start}Learn more%{link_end}."
msgstr "" msgstr ""
msgid "Enable automatic repository housekeeping (git repack, git gc)"
msgstr ""
msgid "Enable classification control using an external service" msgid "Enable classification control using an external service"
msgstr "" msgstr ""
...@@ -14195,6 +14207,9 @@ msgstr "" ...@@ -14195,6 +14207,9 @@ msgstr ""
msgid "Git" msgid "Git"
msgstr "" msgstr ""
msgid "Git GC period"
msgstr ""
msgid "Git LFS is not enabled on this GitLab server, contact your admin." msgid "Git LFS is not enabled on this GitLab server, contact your admin."
msgstr "" msgstr ""
...@@ -14327,6 +14342,9 @@ msgstr "" ...@@ -14327,6 +14342,9 @@ msgstr ""
msgid "GitLab version" msgid "GitLab version"
msgstr "" msgstr ""
msgid "GitLab will periodically run %{link_to_git_fsck} in all project and wiki repositories to look for silent disk corruption issues."
msgstr ""
msgid "GitLab will run a background job that will produce pseudonymized CSVs of the GitLab database that will be uploaded to your configured object storage directory." msgid "GitLab will run a background job that will produce pseudonymized CSVs of the GitLab database that will be uploaded to your configured object storage directory."
msgstr "" msgstr ""
...@@ -15699,6 +15717,12 @@ msgstr "" ...@@ -15699,6 +15717,12 @@ msgstr ""
msgid "If you did not recently sign in, you should immediately change your password: %{password_link}." msgid "If you did not recently sign in, you should immediately change your password: %{password_link}."
msgstr "" msgstr ""
msgid "If you got a lot of false alarms from repository checks you can choose to clear all repository check information from the database."
msgstr ""
msgid "If you keep automatic housekeeping disabled for a long time Git repository access on your GitLab server will become slower and your repositories will use more disk space. We recommend to always leave this enabled."
msgstr ""
msgid "If you lose your recovery codes you can generate new ones, invalidating all previous codes." msgid "If you lose your recovery codes you can generate new ones, invalidating all previous codes."
msgstr "" msgstr ""
...@@ -21351,6 +21375,15 @@ msgstr "" ...@@ -21351,6 +21375,15 @@ msgstr ""
msgid "Number of Elasticsearch shards" msgid "Number of Elasticsearch shards"
msgstr "" msgstr ""
msgid "Number of Git pushes after which 'git gc' is run."
msgstr ""
msgid "Number of Git pushes after which a full 'git repack' is run."
msgstr ""
msgid "Number of Git pushes after which an incremental 'git repack' is run."
msgstr ""
msgid "Number of LOCs per commit" msgid "Number of LOCs per commit"
msgstr "" msgstr ""
...@@ -26024,6 +26057,9 @@ msgstr "" ...@@ -26024,6 +26057,9 @@ msgstr ""
msgid "Repository check was triggered." msgid "Repository check was triggered."
msgstr "" msgstr ""
msgid "Repository checks"
msgstr ""
msgid "Repository cleanup" msgid "Repository cleanup"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment