From 6a735ad50167ed6396ed878b43497a31eeef2647 Mon Sep 17 00:00:00 2001 From: kyy Date: Mon, 23 Feb 2026 17:32:56 +0900 Subject: [PATCH] =?UTF-8?q?i18n=20=EB=B0=8F=20gofmt=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/internal/handler/dev_handler_test.go | 4 ++++ locales/en.toml | 1 + locales/ko.toml | 1 + locales/template.toml | 9 +++++---- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/backend/internal/handler/dev_handler_test.go b/backend/internal/handler/dev_handler_test.go index edc1513f..7647b30c 100644 --- a/backend/internal/handler/dev_handler_test.go +++ b/backend/internal/handler/dev_handler_test.go @@ -23,16 +23,20 @@ func (m *MockKetoService) CheckPermission(ctx context.Context, subject, namespac args := m.Called(ctx, subject, namespace, object, relation) return args.Bool(0), args.Error(1) } + func (m *MockKetoService) CreateRelation(ctx context.Context, namespace, object, relation, subject string) error { return m.Called(ctx, namespace, object, relation, subject).Error(0) } + func (m *MockKetoService) DeleteRelation(ctx context.Context, namespace, object, relation, subject string) error { 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) { args := m.Called(ctx, namespace, object, relation, subject) return args.Get(0).([]service.RelationTuple), args.Error(1) } + func (m *MockKetoService) ListObjects(ctx context.Context, namespace, relation, subject string) ([]string, error) { args := m.Called(ctx, namespace, relation, subject) return args.Get(0).([]string), args.Error(1) diff --git a/locales/en.toml b/locales/en.toml index 79dbcf4f..34f59690 100644 --- a/locales/en.toml +++ b/locales/en.toml @@ -248,6 +248,7 @@ note = "Note" load_error = "Error loading client: {{error}}" loading = "Loading client..." saved = "Saved" +save_error = "Failed to save: {{error}}" [msg.dev.clients.general.identity] logo_help = "Logo Help" diff --git a/locales/ko.toml b/locales/ko.toml index a8392019..a26268f5 100644 --- a/locales/ko.toml +++ b/locales/ko.toml @@ -248,6 +248,7 @@ note = "엔드포인트는 읽기 전용으로 유지하고, 비밀키 재발행 load_error = "Error loading client: {{error}}" loading = "Loading client..." saved = "설정이 저장되었습니다." +save_error = "저장 실패: {{error}}" [msg.dev.clients.general.identity] logo_help = "인증 화면에 표시될 PNG/SVG URL입니다." diff --git a/locales/template.toml b/locales/template.toml index 40dbc74b..f11f6cbd 100644 --- a/locales/template.toml +++ b/locales/template.toml @@ -248,6 +248,7 @@ note = "" load_error = "" loading = "" saved = "" +save_error = "" [msg.dev.clients.general.identity] logo_help = "" @@ -1063,8 +1064,8 @@ name = "" delete = "" [ui.dev.clients.general.security] -confidential = "" -public = "" +private = "" +pkce = "" title = "" [ui.dev.clients.help] @@ -1097,8 +1098,8 @@ status = "" type = "" [ui.dev.clients.type] -confidential = "" -public = "" +private = "" +pkce = "" [ui.dev.dashboard] ready_badge = ""