Commit e3df0b6e authored by Mike Greiling's avatar Mike Greiling

Merge branch...

Merge branch '324010-update-translation-namespace-to-be-consistent-in-package-registry' into 'master'

Update Package translations namespace for consistency

See merge request gitlab-org/gitlab!56895
parents 89b0ba04 9503843b
......@@ -10,21 +10,21 @@ export const beautifyPath = (path) => (path ? path.split('/').join(' / ') : '');
export const getPackageTypeLabel = (packageType) => {
switch (packageType) {
case PackageType.CONAN:
return s__('PackageType|Conan');
return s__('PackageRegistry|Conan');
case PackageType.MAVEN:
return s__('PackageType|Maven');
return s__('PackageRegistry|Maven');
case PackageType.NPM:
return s__('PackageType|npm');
return s__('PackageRegistry|npm');
case PackageType.NUGET:
return s__('PackageType|NuGet');
return s__('PackageRegistry|NuGet');
case PackageType.PYPI:
return s__('PackageType|PyPI');
return s__('PackageRegistry|PyPI');
case PackageType.RUBYGEMS:
return s__('PackageType|RubyGems');
return s__('PackageRegistry|RubyGems');
case PackageType.COMPOSER:
return s__('PackageType|Composer');
return s__('PackageRegistry|Composer');
case PackageType.GENERIC:
return s__('PackageType|Generic');
return s__('PackageRegistry|Generic');
default:
return null;
}
......
......@@ -22175,30 +22175,6 @@ msgstr ""
msgid "PackageRegistry|yarn command"
msgstr ""
msgid "PackageType|Composer"
msgstr ""
msgid "PackageType|Conan"
msgstr ""
msgid "PackageType|Generic"
msgstr ""
msgid "PackageType|Maven"
msgstr ""
msgid "PackageType|NuGet"
msgstr ""
msgid "PackageType|PyPI"
msgstr ""
msgid "PackageType|RubyGems"
msgstr ""
msgid "PackageType|npm"
msgstr ""
msgid "Packages"
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