summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2019-03-21 11:23:44 +0100
committerMartin Wortschack <mwortschack@gitlab.com>2019-03-21 11:23:44 +0100
commit72f14adac4e7faecf90bcf81bd49ef915182b396 (patch)
tree8d0fde97b358abefa4a7a0ea141111a847fe1bfb
parente6e3cd86bfec2c90a09fcae0240869ab5fcad3ea (diff)
downloadgitlab-ce-mw-i18n-projects.tar.gz
Externalize strings in projects servicesmw-i18n-projects
-rw-r--r--app/controllers/projects/git_http_client_controller.rb2
-rw-r--r--app/services/projects/after_import_service.rb2
-rw-r--r--app/services/projects/after_rename_service.rb10
-rw-r--r--app/services/projects/batch_count_service.rb4
-rw-r--r--app/services/projects/cleanup_service.rb2
-rw-r--r--app/services/projects/count_service.rb4
-rw-r--r--app/services/projects/create_service.rb6
-rw-r--r--app/services/projects/destroy_service.rb14
-rw-r--r--app/services/projects/hashed_storage/base_attachment_service.rb8
-rw-r--r--app/services/projects/import_service.rb12
-rw-r--r--app/services/projects/lfs_pointers/lfs_download_link_list_service.rb2
-rw-r--r--app/services/projects/lfs_pointers/lfs_import_service.rb6
-rw-r--r--app/services/projects/transfer_service.rb10
-rw-r--r--app/services/projects/update_pages_service.rb18
-rw-r--r--app/services/projects/update_service.rb12
-rw-r--r--locale/gitlab.pot160
16 files changed, 212 insertions, 60 deletions
diff --git a/app/controllers/projects/git_http_client_controller.rb b/app/controllers/projects/git_http_client_controller.rb
index 3049aeb2438..d439db97252 100644
--- a/app/controllers/projects/git_http_client_controller.rb
+++ b/app/controllers/projects/git_http_client_controller.rb
@@ -55,7 +55,7 @@ class Projects::GitHttpClientController < Projects::ApplicationController
end
send_challenges
- render plain: _("HTTP Basic: Access denied\n"), status: :unauthorized
+ render plain: "HTTP Basic: Access denied\n", status: :unauthorized
rescue Gitlab::Auth::MissingPersonalAccessTokenError
render_missing_personal_access_token
end
diff --git a/app/services/projects/after_import_service.rb b/app/services/projects/after_import_service.rb
index bbdde4408d2..6148ba70834 100644
--- a/app/services/projects/after_import_service.rb
+++ b/app/services/projects/after_import_service.rb
@@ -14,7 +14,7 @@ module Projects
end
rescue Projects::HousekeepingService::LeaseTaken => e
Rails.logger.info(
- "Could not perform housekeeping for project #{@project.full_path} (#{@project.id}): #{e}")
+ _("Could not perform housekeeping for project %{project_full_path} (%{project_id}): %{e}") % { project_full_path: @project.full_path, project_id: @project.id, e: e })
end
private
diff --git a/app/services/projects/after_rename_service.rb b/app/services/projects/after_rename_service.rb
index fafdecb3222..86434e4ad00 100644
--- a/app/services/projects/after_rename_service.rb
+++ b/app/services/projects/after_rename_service.rb
@@ -50,8 +50,8 @@ module Projects
return unless project.has_container_registry_tags?
raise RenameFailedError.new(
- "Project #{full_path_before} cannot be renamed because images are " \
- "present in its container registry"
+ _("Project %{full_path_before} cannot be renamed because images are " \
+ "present in its container registry") % { full_path_before: full_path_before }
)
end
@@ -103,8 +103,8 @@ module Projects
def log_completion
Gitlab::AppLogger.info(
- "Project #{project.id} has been renamed from " \
- "#{full_path_before} to #{full_path_after}"
+ _("Project %{project_id} has been renamed from " \
+ "%{full_path_before} to %{full_path_after}") % { project_id: project.id, full_path_before: full_path_before, full_path_after: full_path_after }
)
end
@@ -131,7 +131,7 @@ module Projects
end
def rename_failed!
- error = "Repository #{full_path_before} could not be renamed to #{full_path_after}"
+ error = _("Repository %{full_path_before} could not be renamed to %{full_path_after}") % { full_path_before: full_path_before, full_path_after: full_path_after }
Gitlab::AppLogger.error(error)
diff --git a/app/services/projects/batch_count_service.rb b/app/services/projects/batch_count_service.rb
index aec3b32da89..93c5022a14d 100644
--- a/app/services/projects/batch_count_service.rb
+++ b/app/services/projects/batch_count_service.rb
@@ -23,11 +23,11 @@ module Projects
end
def global_count(project)
- raise NotImplementedError, 'global_count must be implemented and return an hash indexed by the project id'
+ raise NotImplementedError, _('global_count must be implemented and return an hash indexed by the project id')
end
def count_service
- raise NotImplementedError, 'count_service must be implemented and return a Projects::CountService object'
+ raise NotImplementedError, _('count_service must be implemented and return a Projects::CountService object')
end
end
end
diff --git a/app/services/projects/cleanup_service.rb b/app/services/projects/cleanup_service.rb
index 12103ea34b5..cd656fc41b9 100644
--- a/app/services/projects/cleanup_service.rb
+++ b/app/services/projects/cleanup_service.rb
@@ -7,7 +7,7 @@ module Projects
# Before executing this service, all refs rewritten by BFG should have been
# pushed to the repository
class CleanupService < BaseService
- NoUploadError = StandardError.new("Couldn't find uploaded object map")
+ NoUploadError = StandardError.new(_("Couldn't find uploaded object map"))
include Gitlab::Utils::StrongMemoize
diff --git a/app/services/projects/count_service.rb b/app/services/projects/count_service.rb
index 3cee80c7bbc..ab4dce988cc 100644
--- a/app/services/projects/count_service.rb
+++ b/app/services/projects/count_service.rb
@@ -20,7 +20,7 @@ module Projects
def cache_key_name
raise(
NotImplementedError,
- '"cache_key_name" must be implemented and return a String'
+ _('"cache_key_name" must be implemented and return a String')
)
end
@@ -33,7 +33,7 @@ module Projects
def self.query(project_ids)
raise(
NotImplementedError,
- '"query" must be implemented and return an ActiveRecord::Relation'
+ _('"query" must be implemented and return an ActiveRecord::Relation')
)
end
end
diff --git a/app/services/projects/create_service.rb b/app/services/projects/create_service.rb
index d03137b63b2..cd52b5ae8e0 100644
--- a/app/services/projects/create_service.rb
+++ b/app/services/projects/create_service.rb
@@ -58,7 +58,7 @@ module Projects
@project
rescue ActiveRecord::RecordInvalid => e
- message = "Unable to save #{e.record.type}: #{e.record.errors.full_messages.join(", ")} "
+ message = _("Unable to save %{record_type}: %{full_messages} ") % { record_type: e.record.type, full_messages: e.record.errors.full_messages.join(", ") }
fail(error: message)
rescue => e
@project.errors.add(:base, e.message) if @project
@@ -142,14 +142,14 @@ module Projects
end
unless @project.import?
- raise 'Failed to create repository' unless @project.create_repository
+ raise _('Failed to create repository') unless @project.create_repository
end
end
end
end
def fail(error:)
- message = "Unable to save project. Error: #{error}"
+ message = _("Unable to save project. Error: %{error_msg}") % { error_msg: error }
log_message = message.dup
log_message << " Project ID: #{@project.id}" if @project&.id
diff --git a/app/services/projects/destroy_service.rb b/app/services/projects/destroy_service.rb
index b14b31302f5..1344c0fa705 100644
--- a/app/services/projects/destroy_service.rb
+++ b/app/services/projects/destroy_service.rb
@@ -61,11 +61,11 @@ module Projects
flush_caches(@project)
unless rollback_repository(removal_path(repo_path), repo_path)
- raise_error('Failed to restore project repository. Please contact the administrator.')
+ raise_error(_('Failed to restore project repository. Please contact the administrator.'))
end
unless rollback_repository(removal_path(wiki_path), wiki_path)
- raise_error('Failed to restore wiki repository. Please contact the administrator.')
+ raise_error(_('Failed to restore wiki repository. Please contact the administrator.'))
end
end
@@ -81,11 +81,11 @@ module Projects
def trash_repositories!
unless remove_repository(repo_path)
- raise_error('Failed to remove project repository. Please try again or contact administrator.')
+ raise_error(_('Failed to remove project repository. Please try again or contact administrator.'))
end
unless remove_repository(wiki_path)
- raise_error('Failed to remove wiki repository. Please try again or contact administrator.')
+ raise_error(_('Failed to remove wiki repository. Please try again or contact administrator.'))
end
end
@@ -143,12 +143,12 @@ module Projects
# which cannot be altered.
project.update(delete_error: message, pending_delete: false) unless project.destroyed?
- log_error("Deletion failed on #{project.full_path} with the following message: #{message}")
+ log_error(_("Deletion failed on %{project_full_path} with the following message: %{message}")) % { project_full_path: project.full_path, message: message }
end
def attempt_destroy_transaction(project)
unless remove_registry_tags
- raise_error('Failed to remove some tags in project container registry. Please try again or contact administrator.')
+ raise_error(_('Failed to remove some tags in project container registry. Please try again or contact administrator.'))
end
project.leave_pool_repository
@@ -169,7 +169,7 @@ module Projects
end
def log_destroy_event
- log_info("Attempting to destroy #{project.full_path} (#{project.id})")
+ log_info(_("Attempting to destroy %{project_full_path} (%{project_id})") % { project_full_path: project.full_path, project_id: project.id })
end
def remove_registry_tags
diff --git a/app/services/projects/hashed_storage/base_attachment_service.rb b/app/services/projects/hashed_storage/base_attachment_service.rb
index 828ab616bab..dfa3ef4f6a9 100644
--- a/app/services/projects/hashed_storage/base_attachment_service.rb
+++ b/app/services/projects/hashed_storage/base_attachment_service.rb
@@ -27,22 +27,22 @@ module Projects
def move_folder!(old_path, new_path)
unless File.directory?(old_path)
- logger.info("Skipped attachments move from '#{old_path}' to '#{new_path}', source path doesn't exist or is not a directory (PROJECT_ID=#{project.id})")
+ logger.info(_("Skipped attachments move from '%{old_path}' to '%{new_path}', source path doesn't exist or is not a directory (PROJECT_ID=%{project_id})") % { old_path: old_path, new_path: new_path, project_id: project.id })
@skipped = true
return true
end
if File.exist?(new_path)
- logger.error("Cannot move attachments from '#{old_path}' to '#{new_path}', target path already exist (PROJECT_ID=#{project.id})")
- raise AttachmentCannotMoveError, "Target path '#{new_path}' already exists"
+ logger.error(_("Cannot move attachments from '%{old_path}' to '%{new_path}', target path already exist (PROJECT_ID=%{project_id})") % { old_path: old_path, new_path: new_path, project_id: project.id })
+ raise AttachmentCannotMoveError, _("Target path '%{new_path}' already exists") % { new_path: new_path }
end
# Create base path folder on the new storage layout
FileUtils.mkdir_p(File.dirname(new_path))
FileUtils.mv(old_path, new_path)
- logger.info("Project attachments moved from '#{old_path}' to '#{new_path}' (PROJECT_ID=#{project.id})")
+ logger.info(_("Project attachments moved from '%{old_path}' to '%{new_path}' (PROJECT_ID=%{project_id})") % { old_path: old_path, new_path: new_path, project_id: project.id })
true
end
diff --git a/app/services/projects/import_service.rb b/app/services/projects/import_service.rb
index 7214e9efaf6..3c07678a303 100644
--- a/app/services/projects/import_service.rb
+++ b/app/services/projects/import_service.rb
@@ -27,13 +27,13 @@ module Projects
rescue Gitlab::UrlBlocker::BlockedUrlError => e
Gitlab::Sentry.track_acceptable_exception(e, extra: { project_path: project.full_path, importer: project.import_type })
- error("Error importing repository #{project.safe_import_url} into #{project.full_path} - #{e.message}")
+ error(_("Error importing repository %{import_url} into %{project_full_path} - %{message}") % { import_url: project.safe_import_url, project_full_path: project.full_path, message: e.message })
rescue => e
message = Projects::ImportErrorFilter.filter_message(e.message)
Gitlab::Sentry.track_acceptable_exception(e, extra: { project_path: project.full_path, importer: project.import_type })
- error("Error importing repository #{project.safe_import_url} into #{project.full_path} - #{message}")
+ error(_("Error importing repository %{import_url} into %{project.full_path} - %{message}") % { import_url: project.safe_import_url, project_full_path: project.full_path, message: message })
end
private
@@ -43,7 +43,7 @@ module Projects
begin
Gitlab::UrlBlocker.validate!(project.import_url, ports: Project::VALID_IMPORT_PORTS)
rescue Gitlab::UrlBlocker::BlockedUrlError => e
- raise e, "Blocked import URL: #{e.message}"
+ raise e, _("Blocked import URL: %{message}") % { message: e.message }
end
end
@@ -61,7 +61,7 @@ module Projects
def create_repository
unless project.create_repository
- raise Error, 'The repository could not be created.'
+ raise Error, _('The repository could not be created.')
end
end
@@ -103,7 +103,7 @@ module Projects
rescue => e
# Right now, to avoid aborting the importing process, we silently fail
# if any exception raises.
- Rails.logger.error("The Lfs import process failed. #{e.message}")
+ Rails.logger.error(_("The Lfs import process failed. %{message}") % { message: e.message })
end
def import_data
@@ -112,7 +112,7 @@ module Projects
project.repository.expire_content_cache unless project.gitlab_project_import?
unless importer.execute
- raise Error, 'The remote data could not be imported.'
+ raise Error, _('The remote data could not be imported.')
end
end
diff --git a/app/services/projects/lfs_pointers/lfs_download_link_list_service.rb b/app/services/projects/lfs_pointers/lfs_download_link_list_service.rb
index a9570176e81..ac3eb05d632 100644
--- a/app/services/projects/lfs_pointers/lfs_download_link_list_service.rb
+++ b/app/services/projects/lfs_pointers/lfs_download_link_list_service.rb
@@ -50,7 +50,7 @@ module Projects
size: entry['size'],
link: add_credentials(link))
rescue DownloadLinkNotFound, Addressable::URI::InvalidURIError
- log_error("Link for Lfs Object with oid #{entry['oid']} not found or invalid.")
+ log_error(_("Link for Lfs Object with oid %{entry_oid} not found or invalid.") % { entry_oid: entry['oid'] })
end
end
diff --git a/app/services/projects/lfs_pointers/lfs_import_service.rb b/app/services/projects/lfs_pointers/lfs_import_service.rb
index 9215fa0a7bf..f0123a36bf4 100644
--- a/app/services/projects/lfs_pointers/lfs_import_service.rb
+++ b/app/services/projects/lfs_pointers/lfs_import_service.rb
@@ -28,7 +28,7 @@ module Projects
get_download_links
rescue LfsDownloadLinkListService::DownloadLinksError => e
- raise LfsImportError, "The LFS objects download list couldn't be imported. Error: #{e.message}"
+ raise LfsImportError, _("The LFS objects download list couldn't be imported. Error: %{emessage}") % { message: e.message }
end
private
@@ -68,13 +68,13 @@ module Projects
end
end
rescue URI::InvalidURIError
- raise LfsImportError, 'Invalid URL in .lfsconfig file'
+ raise LfsImportError, _('Invalid URL in .lfsconfig file')
end
def import_uri
@import_uri ||= URI.parse(project.import_url)
rescue URI::InvalidURIError
- raise LfsImportError, 'Invalid project import URL'
+ raise LfsImportError, _('Invalid project import URL')
end
def current_endpoint_uri
diff --git a/app/services/projects/transfer_service.rb b/app/services/projects/transfer_service.rb
index 5da1e39a1fb..d0c28fc6b6f 100644
--- a/app/services/projects/transfer_service.rb
+++ b/app/services/projects/transfer_service.rb
@@ -17,11 +17,11 @@ module Projects
@new_namespace = new_namespace
if @new_namespace.blank?
- raise TransferError, 'Please select a new namespace for your project.'
+ raise TransferError, _('Please select a new namespace for your project.')
end
unless allowed_transfer?(current_user, project)
- raise TransferError, 'Transfer failed, please contact an admin.'
+ raise TransferError, _('Transfer failed, please contact an admin.')
end
transfer(project)
@@ -45,12 +45,12 @@ module Projects
@old_namespace = project.namespace
if Project.where(namespace_id: @new_namespace.try(:id)).where('path = ? or name = ?', project.path, project.name).exists?
- raise TransferError.new("Project with same name or path in target namespace already exists")
+ raise TransferError.new(_("Project with same name or path in target namespace already exists"))
end
if project.has_container_registry_tags?
# We currently don't support renaming repository if it contains tags in container registry
- raise TransferError.new('Project cannot be transferred, because tags are present in its container registry')
+ raise TransferError.new(_('Project cannot be transferred, because tags are present in its container registry'))
end
attempt_transfer_transaction
@@ -145,7 +145,7 @@ module Projects
# Move main repository
unless move_repo_folder(@old_path, @new_path)
- raise TransferError.new("Cannot move project")
+ raise TransferError.new(_("Cannot move project"))
end
# Disk path is changed; we need to ensure we reload it
diff --git a/app/services/projects/update_pages_service.rb b/app/services/projects/update_pages_service.rb
index 5caeb4cfa5f..d94533e5c10 100644
--- a/app/services/projects/update_pages_service.rb
+++ b/app/services/projects/update_pages_service.rb
@@ -27,8 +27,8 @@ module Projects
@status.enqueue!
@status.run!
- raise InvalidStateError, 'missing pages artifacts' unless build.artifacts?
- raise InvalidStateError, 'pages are outdated' unless latest?
+ raise InvalidStateError, _('missing pages artifacts') unless build.artifacts?
+ raise InvalidStateError, _('pages are outdated') unless latest?
# Create temporary directory in which we will extract the artifacts
make_secure_tmp_dir(tmp_path) do |archive_path|
@@ -36,8 +36,8 @@ module Projects
# Check if we did extract public directory
archive_public_path = File.join(archive_path, PUBLIC_DIR)
- raise InvalidStateError, 'pages miss the public folder' unless Dir.exist?(archive_public_path)
- raise InvalidStateError, 'pages are outdated' unless latest?
+ raise InvalidStateError, _('pages miss the public folder') unless Dir.exist?(archive_public_path)
+ raise InvalidStateError, _('pages are outdated') unless latest?
deploy_page!(archive_public_path)
success
@@ -80,18 +80,18 @@ module Projects
if artifacts.ends_with?('.zip')
extract_zip_archive!(temp_path)
else
- raise InvalidStateError, 'unsupported artifacts format'
+ raise InvalidStateError, _('unsupported artifacts format')
end
end
def extract_zip_archive!(temp_path)
- raise InvalidStateError, 'missing artifacts metadata' unless build.artifacts_metadata?
+ raise InvalidStateError, _('missing artifacts metadata') unless build.artifacts_metadata?
# Calculate page size after extract
public_entry = build.artifacts_metadata_entry(PUBLIC_DIR + '/', recursive: true)
if public_entry.total_size > max_size
- raise InvalidStateError, "artifacts for pages are too large: #{public_entry.total_size}"
+ raise InvalidStateError, _("artifacts for pages are too large: %{total_size}") % { total_size: public_entry.total_size }
end
build.artifacts_file.use_file do |artifacts_path|
@@ -181,11 +181,11 @@ module Projects
end
def pages_deployments_total_counter
- @pages_deployments_total_counter ||= Gitlab::Metrics.counter(:pages_deployments_total, "Counter of GitLab Pages deployments triggered")
+ @pages_deployments_total_counter ||= Gitlab::Metrics.counter(:pages_deployments_total, _("Counter of GitLab Pages deployments triggered"))
end
def pages_deployments_failed_total_counter
- @pages_deployments_failed_total_counter ||= Gitlab::Metrics.counter(:pages_deployments_failed_total, "Counter of GitLab Pages deployments which failed")
+ @pages_deployments_failed_total_counter ||= Gitlab::Metrics.counter(:pages_deployments_failed_total, _("Counter of GitLab Pages deployments which failed"))
end
def make_secure_tmp_dir(tmp_path)
diff --git a/app/services/projects/update_service.rb b/app/services/projects/update_service.rb
index 6856009b395..fb938260212 100644
--- a/app/services/projects/update_service.rb
+++ b/app/services/projects/update_service.rb
@@ -39,15 +39,15 @@ module Projects
def validate!
unless valid_visibility_level_change?(project, params[:visibility_level])
- raise ValidationError.new('New visibility level not allowed!')
+ raise ValidationError.new(_('New visibility level not allowed!'))
end
if renaming_project_with_container_registry_tags?
- raise ValidationError.new('Cannot rename project because it contains container registry tags!')
+ raise ValidationError.new(_('Cannot rename project because it contains container registry tags!'))
end
if changing_default_branch?
- raise ValidationError.new("Could not set the default branch") unless project.change_head(params[:default_branch])
+ raise ValidationError.new(_("Could not set the default branch")) unless project.change_head(params[:default_branch])
end
end
@@ -88,7 +88,7 @@ module Projects
def update_failed!
model_errors = project.errors.full_messages.to_sentence
- error_message = model_errors.presence || 'Project could not be updated!'
+ error_message = model_errors.presence || _('Project could not be updated!')
error(error_message)
end
@@ -120,8 +120,8 @@ module Projects
def ensure_wiki_exists
ProjectWiki.new(project, project.owner).wiki
rescue ProjectWiki::CouldNotCreateWikiError
- log_error("Could not create wiki for #{project.full_name}")
- Gitlab::Metrics.counter(:wiki_can_not_be_created_total, 'Counts the times we failed to create a wiki')
+ log_error(_("Could not create wiki for %{project_full_name}") % { project_full_name: project.full_name })
+ Gitlab::Metrics.counter(:wiki_can_not_be_created_total, _('Counts the times we failed to create a wiki'))
end
def update_pages_config
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 33c38d8e272..59ea169ce49 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -25,6 +25,12 @@ msgstr ""
msgid " or "
msgstr ""
+msgid "\"cache_key_name\" must be implemented and return a String"
+msgstr ""
+
+msgid "\"query\" must be implemented and return an ActiveRecord::Relation"
+msgstr ""
+
msgid "%d commit"
msgid_plural "%d commits"
msgstr[0] ""
@@ -930,6 +936,9 @@ msgstr ""
msgid "Attach a file by drag &amp; drop or %{upload_link}"
msgstr ""
+msgid "Attempting to destroy %{project_full_path} (%{project_id})"
+msgstr ""
+
msgid "Aug"
msgstr ""
@@ -1137,6 +1146,9 @@ msgstr ""
msgid "Blocked"
msgstr ""
+msgid "Blocked import URL: %{message}"
+msgstr ""
+
msgid "Blog"
msgstr ""
@@ -1389,6 +1401,15 @@ msgstr ""
msgid "Cannot modify managed Kubernetes cluster"
msgstr ""
+msgid "Cannot move attachments from '%{old_path}' to '%{new_path}', target path already exist (PROJECT_ID=%{project_id})"
+msgstr ""
+
+msgid "Cannot move project"
+msgstr ""
+
+msgid "Cannot rename project because it contains container registry tags!"
+msgstr ""
+
msgid "Cannot render the image. Maximum character count (%{charLimit}) has been exceeded."
msgstr ""
@@ -2435,12 +2456,33 @@ msgstr ""
msgid "Could not create Wiki Repository at this time. Please try again later."
msgstr ""
+msgid "Could not create wiki for %{project_full_name}"
+msgstr ""
+
+msgid "Could not perform housekeeping for project %{project_full_path} (%{project_id}): %{e}"
+msgstr ""
+
msgid "Could not remove the trigger."
msgstr ""
msgid "Could not retrieve the pipeline status. For troubleshooting steps, read the %{linkStart}documentation.%{linkEnd}"
msgstr ""
+msgid "Could not set the default branch"
+msgstr ""
+
+msgid "Couldn't find uploaded object map"
+msgstr ""
+
+msgid "Counter of GitLab Pages deployments triggered"
+msgstr ""
+
+msgid "Counter of GitLab Pages deployments which failed"
+msgstr ""
+
+msgid "Counts the times we failed to create a wiki"
+msgstr ""
+
msgid "Coverage"
msgstr ""
@@ -2708,6 +2750,9 @@ msgstr ""
msgid "Deleted"
msgstr ""
+msgid "Deletion failed on %{project_full_path} with the following message: %{message}"
+msgstr ""
+
msgid "Deny"
msgstr ""
@@ -3304,6 +3349,12 @@ msgstr ""
msgid "Error fetching usage ping data."
msgstr ""
+msgid "Error importing repository %{import_url} into %{project.full_path} - %{message}"
+msgstr ""
+
+msgid "Error importing repository %{import_url} into %{project_full_path} - %{message}"
+msgstr ""
+
msgid "Error loading branch data. Please try again."
msgstr ""
@@ -3505,6 +3556,9 @@ msgstr ""
msgid "Failed to check related branches."
msgstr ""
+msgid "Failed to create repository"
+msgstr ""
+
msgid "Failed to deploy to"
msgstr ""
@@ -3526,9 +3580,24 @@ msgstr ""
msgid "Failed to remove mirror."
msgstr ""
+msgid "Failed to remove project repository. Please try again or contact administrator."
+msgstr ""
+
+msgid "Failed to remove some tags in project container registry. Please try again or contact administrator."
+msgstr ""
+
msgid "Failed to remove the pipeline schedule"
msgstr ""
+msgid "Failed to remove wiki repository. Please try again or contact administrator."
+msgstr ""
+
+msgid "Failed to restore project repository. Please contact the administrator."
+msgstr ""
+
+msgid "Failed to restore wiki repository. Please contact the administrator."
+msgstr ""
+
msgid "Failed to update issues, please try again."
msgstr ""
@@ -4026,10 +4095,6 @@ msgstr ""
msgid "GroupsTree|Search by name"
msgstr ""
-msgid ""
-"HTTP Basic: Access denied\n"
-msgstr ""
-
msgid "Header message"
msgstr ""
@@ -4368,12 +4433,18 @@ msgstr ""
msgid "Introducing Your Conversational Development Index"
msgstr ""
+msgid "Invalid URL in .lfsconfig file"
+msgstr ""
+
msgid "Invalid input, please avoid emojis"
msgstr ""
msgid "Invalid pin code"
msgstr ""
+msgid "Invalid project import URL"
+msgstr ""
+
msgid "Invitation"
msgstr ""
@@ -4669,6 +4740,9 @@ msgid_plural "Limited to showing %d events at most"
msgstr[0] ""
msgstr[1] ""
+msgid "Link for Lfs Object with oid %{entry_oid} not found or invalid."
+msgstr ""
+
msgid "LinkedIn"
msgstr ""
@@ -5208,6 +5282,9 @@ msgstr ""
msgid "New users set to external"
msgstr ""
+msgid "New visibility level not allowed!"
+msgstr ""
+
msgid "New..."
msgstr ""
@@ -5840,6 +5917,9 @@ msgstr ""
msgid "Please select a group."
msgstr ""
+msgid "Please select a new namespace for your project."
+msgstr ""
+
msgid "Please select at least one filter to see results"
msgstr ""
@@ -6161,6 +6241,12 @@ msgstr ""
msgid "Project \"%{name}\" is no longer available. Select another project to continue."
msgstr ""
+msgid "Project %{full_path_before} cannot be renamed because images are present in its container registry"
+msgstr ""
+
+msgid "Project %{project_id} has been renamed from %{full_path_before} to %{full_path_after}"
+msgstr ""
+
msgid "Project '%{project_name}' is in the process of being deleted."
msgstr ""
@@ -6182,12 +6268,21 @@ msgstr ""
msgid "Project access must be granted explicitly to each user."
msgstr ""
+msgid "Project attachments moved from '%{old_path}' to '%{new_path}' (PROJECT_ID=%{project_id})"
+msgstr ""
+
msgid "Project avatar"
msgstr ""
msgid "Project avatar in repository: %{link}"
msgstr ""
+msgid "Project cannot be transferred, because tags are present in its container registry"
+msgstr ""
+
+msgid "Project could not be updated!"
+msgstr ""
+
msgid "Project details"
msgstr ""
@@ -6218,6 +6313,9 @@ msgstr ""
msgid "Project slug"
msgstr ""
+msgid "Project with same name or path in target namespace already exists"
+msgstr ""
+
msgid "Project:"
msgstr ""
@@ -6580,6 +6678,9 @@ msgstr ""
msgid "Repository"
msgstr ""
+msgid "Repository %{full_path_before} could not be renamed to %{full_path_after}"
+msgstr ""
+
msgid "Repository Settings"
msgstr ""
@@ -7169,6 +7270,9 @@ msgstr ""
msgid "Size and domain settings for static websites"
msgstr ""
+msgid "Skipped attachments move from '%{old_path}' to '%{new_path}', source path doesn't exist or is not a directory (PROJECT_ID=%{project_id})"
+msgstr ""
+
msgid "Slower but makes sure the project workspace is pristine as it clones the repository from scratch for every job"
msgstr ""
@@ -7664,6 +7768,9 @@ msgstr ""
msgid "Target branch"
msgstr ""
+msgid "Target path '%{new_path}' already exists"
+msgstr ""
+
msgid "Team"
msgstr ""
@@ -7697,6 +7804,12 @@ msgstr ""
msgid "The Issue Tracker is the place to add things that need to be improved or solved in a project. You can register or sign in to create issues for this project."
msgstr ""
+msgid "The LFS objects download list couldn't be imported. Error: %{emessage}"
+msgstr ""
+
+msgid "The Lfs import process failed. %{message}"
+msgstr ""
+
msgid "The character highlighter helps you keep the subject line to %{titleLength} characters and wrap the body at %{bodyLength} so they are readable in git."
msgstr ""
@@ -7781,9 +7894,15 @@ msgstr ""
msgid "The project was successfully imported."
msgstr ""
+msgid "The remote data could not be imported."
+msgstr ""
+
msgid "The remote repository is being updated..."
msgstr ""
+msgid "The repository could not be created."
+msgstr ""
+
msgid "The repository for this project does not exist."
msgstr ""
@@ -8400,6 +8519,9 @@ msgstr ""
msgid "Track time with quick actions"
msgstr ""
+msgid "Transfer failed, please contact an admin."
+msgstr ""
+
msgid "Tree view"
msgstr ""
@@ -8451,6 +8573,12 @@ msgstr ""
msgid "Unable to load the diff. %{button_try_again}"
msgstr ""
+msgid "Unable to save %{record_type}: %{full_messages} "
+msgstr ""
+
+msgid "Unable to save project. Error: %{error_msg}"
+msgstr ""
+
msgid "Unable to schedule a pipeline to run immediately"
msgstr ""
@@ -9249,6 +9377,9 @@ msgstr ""
msgid "among other things"
msgstr ""
+msgid "artifacts for pages are too large: %{total_size}"
+msgstr ""
+
msgid "assign yourself"
msgstr ""
@@ -9273,6 +9404,9 @@ msgstr ""
msgid "connecting"
msgstr ""
+msgid "count_service must be implemented and return a Projects::CountService object"
+msgstr ""
+
msgid "customize"
msgstr ""
@@ -9328,6 +9462,9 @@ msgstr ""
msgid "from"
msgstr ""
+msgid "global_count must be implemented and return an hash indexed by the project id"
+msgstr ""
+
msgid "group"
msgstr ""
@@ -9390,6 +9527,12 @@ msgstr[1] ""
msgid "missing"
msgstr ""
+msgid "missing artifacts metadata"
+msgstr ""
+
+msgid "missing pages artifacts"
+msgstr ""
+
msgid "mrWidgetCommitsAdded|%{commitCount} and %{mergeCommitCount} will be added to %{targetBranch}."
msgstr ""
@@ -9623,6 +9766,12 @@ msgid_plural "out of %d total tests"
msgstr[0] ""
msgstr[1] ""
+msgid "pages are outdated"
+msgstr ""
+
+msgid "pages miss the public folder"
+msgstr ""
+
msgid "parent"
msgid_plural "parents"
msgstr[0] ""
@@ -9699,6 +9848,9 @@ msgstr ""
msgid "triggered"
msgstr ""
+msgid "unsupported artifacts format"
+msgstr ""
+
msgid "updated"
msgstr ""