1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-06 05:28:29 -04:00

i18n: cut down terms and sync

port 1.5

(cherry picked from commit bf408f8d00)
This commit is contained in:
bbedward
2026-07-15 11:05:07 -04:00
committed by dms-ci[bot]
parent 9967db0c5a
commit 01c0ed2778
9 changed files with 390 additions and 699 deletions
+11 -12
View File
@@ -103,19 +103,18 @@ var authValidateCmd = &cobra.Command{
}
var result sharedpam.LockscreenPamValidation
if path != "" {
if !filepath.IsAbs(path) {
result = sharedpam.LockscreenPamValidation{
Path: path,
MissingModules: []string{},
Warnings: []string{},
Errors: []string{"--path must be an absolute file path"},
}
} else {
result = sharedpam.ValidateLockscreenPamPath(path)
}
} else {
switch {
case service != "":
result = sharedpam.ValidateLockscreenPamService(service)
case !filepath.IsAbs(path):
result = sharedpam.LockscreenPamValidation{
Path: path,
MissingModules: []string{},
Warnings: []string{},
Errors: []string{"--path must be an absolute file path"},
}
default:
result = sharedpam.ValidateLockscreenPamPath(path)
}
if asJSON {