Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-go
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-go
Commits
26da34b5
Commit
26da34b5
authored
9 months ago
by
Alex Petraky
Committed by
Pavel Antonov
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Вынесена в константу ошибка при удалении языка, который является fallback в Locales API
parent
8f8f8dcd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/locales/errors.go
+1
-0
1 addition, 0 deletions
pkg/locales/errors.go
with
1 addition
and
0 deletions
pkg/locales/errors.go
+
1
−
0
View file @
26da34b5
...
...
@@ -17,4 +17,5 @@ var (
ErrDisablePublishingDefaultLocale
=
errors
.
New
(
"cannot disable publishing for default locale"
)
ErrSetDefaultLocaleFallback
=
errors
.
New
(
"cannot set fallback for default locale"
)
ErrDeleteDefaultLocale
=
errors
.
New
(
"cannot delete default locale"
)
ErrDeleteFallbackLocale
=
errors
.
New
(
"cannot delete locale that is used as fallback for other locales"
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment