Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9503843b
Commit
9503843b
authored
Mar 30, 2021
by
Nicolò Maria Mezzopera
Committed by
Mike Greiling
Mar 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update namespace of translations in utils
- source - pot regenerated
parent
c5b1f56d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
32 deletions
+8
-32
app/assets/javascripts/packages/shared/utils.js
app/assets/javascripts/packages/shared/utils.js
+8
-8
locale/gitlab.pot
locale/gitlab.pot
+0
-24
No files found.
app/assets/javascripts/packages/shared/utils.js
View file @
9503843b
...
...
@@ -10,21 +10,21 @@ export const beautifyPath = (path) => (path ? path.split('/').join(' / ') : '');
export
const
getPackageTypeLabel
=
(
packageType
)
=>
{
switch
(
packageType
)
{
case
PackageType
.
CONAN
:
return
s__
(
'
Package
Type
|Conan
'
);
return
s__
(
'
Package
Registry
|Conan
'
);
case
PackageType
.
MAVEN
:
return
s__
(
'
Package
Type
|Maven
'
);
return
s__
(
'
Package
Registry
|Maven
'
);
case
PackageType
.
NPM
:
return
s__
(
'
Package
Type
|npm
'
);
return
s__
(
'
Package
Registry
|npm
'
);
case
PackageType
.
NUGET
:
return
s__
(
'
Package
Type
|NuGet
'
);
return
s__
(
'
Package
Registry
|NuGet
'
);
case
PackageType
.
PYPI
:
return
s__
(
'
Package
Type
|PyPI
'
);
return
s__
(
'
Package
Registry
|PyPI
'
);
case
PackageType
.
RUBYGEMS
:
return
s__
(
'
Package
Type
|RubyGems
'
);
return
s__
(
'
Package
Registry
|RubyGems
'
);
case
PackageType
.
COMPOSER
:
return
s__
(
'
Package
Type
|Composer
'
);
return
s__
(
'
Package
Registry
|Composer
'
);
case
PackageType
.
GENERIC
:
return
s__
(
'
Package
Type
|Generic
'
);
return
s__
(
'
Package
Registry
|Generic
'
);
default
:
return
null
;
}
...
...
locale/gitlab.pot
View file @
9503843b
...
...
@@ -22115,30 +22115,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 ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment