1
0
forked from baron/baron-sso

i18n 및 gofmt 테스트 적용

This commit is contained in:
2026-02-23 17:32:56 +09:00
parent 88728f01e6
commit 6a735ad501
4 changed files with 11 additions and 4 deletions

View File

@@ -23,16 +23,20 @@ func (m *MockKetoService) CheckPermission(ctx context.Context, subject, namespac
args := m.Called(ctx, subject, namespace, object, relation) args := m.Called(ctx, subject, namespace, object, relation)
return args.Bool(0), args.Error(1) return args.Bool(0), args.Error(1)
} }
func (m *MockKetoService) CreateRelation(ctx context.Context, namespace, object, relation, subject string) error { func (m *MockKetoService) CreateRelation(ctx context.Context, namespace, object, relation, subject string) error {
return m.Called(ctx, namespace, object, relation, subject).Error(0) return m.Called(ctx, namespace, object, relation, subject).Error(0)
} }
func (m *MockKetoService) DeleteRelation(ctx context.Context, namespace, object, relation, subject string) error { func (m *MockKetoService) DeleteRelation(ctx context.Context, namespace, object, relation, subject string) error {
return m.Called(ctx, namespace, object, relation, subject).Error(0) return m.Called(ctx, namespace, object, relation, subject).Error(0)
} }
func (m *MockKetoService) ListRelations(ctx context.Context, namespace, object, relation, subject string) ([]service.RelationTuple, error) { func (m *MockKetoService) ListRelations(ctx context.Context, namespace, object, relation, subject string) ([]service.RelationTuple, error) {
args := m.Called(ctx, namespace, object, relation, subject) args := m.Called(ctx, namespace, object, relation, subject)
return args.Get(0).([]service.RelationTuple), args.Error(1) return args.Get(0).([]service.RelationTuple), args.Error(1)
} }
func (m *MockKetoService) ListObjects(ctx context.Context, namespace, relation, subject string) ([]string, error) { func (m *MockKetoService) ListObjects(ctx context.Context, namespace, relation, subject string) ([]string, error) {
args := m.Called(ctx, namespace, relation, subject) args := m.Called(ctx, namespace, relation, subject)
return args.Get(0).([]string), args.Error(1) return args.Get(0).([]string), args.Error(1)

View File

@@ -248,6 +248,7 @@ note = "Note"
load_error = "Error loading client: {{error}}" load_error = "Error loading client: {{error}}"
loading = "Loading client..." loading = "Loading client..."
saved = "Saved" saved = "Saved"
save_error = "Failed to save: {{error}}"
[msg.dev.clients.general.identity] [msg.dev.clients.general.identity]
logo_help = "Logo Help" logo_help = "Logo Help"

View File

@@ -248,6 +248,7 @@ note = "엔드포인트는 읽기 전용으로 유지하고, 비밀키 재발행
load_error = "Error loading client: {{error}}" load_error = "Error loading client: {{error}}"
loading = "Loading client..." loading = "Loading client..."
saved = "설정이 저장되었습니다." saved = "설정이 저장되었습니다."
save_error = "저장 실패: {{error}}"
[msg.dev.clients.general.identity] [msg.dev.clients.general.identity]
logo_help = "인증 화면에 표시될 PNG/SVG URL입니다." logo_help = "인증 화면에 표시될 PNG/SVG URL입니다."

View File

@@ -248,6 +248,7 @@ note = ""
load_error = "" load_error = ""
loading = "" loading = ""
saved = "" saved = ""
save_error = ""
[msg.dev.clients.general.identity] [msg.dev.clients.general.identity]
logo_help = "" logo_help = ""
@@ -1063,8 +1064,8 @@ name = ""
delete = "" delete = ""
[ui.dev.clients.general.security] [ui.dev.clients.general.security]
confidential = "" private = ""
public = "" pkce = ""
title = "" title = ""
[ui.dev.clients.help] [ui.dev.clients.help]
@@ -1097,8 +1098,8 @@ status = ""
type = "" type = ""
[ui.dev.clients.type] [ui.dev.clients.type]
confidential = "" private = ""
public = "" pkce = ""
[ui.dev.dashboard] [ui.dev.dashboard]
ready_badge = "" ready_badge = ""