ch en -tk
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled

This commit is contained in:
guwandyk committed 2026-09-30 13:35:32 +05:00
1 parent 8b73df4435
commit 19a1f70588
3 files changed
+16

No files matched your search

+14
View File
@@ -17,6 +17,20 @@ const (
ScopeAll Scope = "all" // every branch
)
// Name is the Turkmen display label for the admin UI.
func (s Scope) Name() string {
switch s {
case ScopeOwn:
return "Diňe öz maglumatlary"
case ScopeBranch:
return "Öz şahamçalary"
case ScopeAll:
return "Ähli şahamçalar"
default:
return string(s)
}
}
func (s Scope) Valid() bool {
return s == ScopeOwn || s == ScopeBranch || s == ScopeAll
}