Files
TREK/shared/src/i18n/ko/oauth.ts
T
Renzo Beux 092223c259 feat(mcp): plugins:use OAuth scope
One coarse scope rather than per-plugin granularity. Which plugins are
installed is runtime data, so a per-plugin scope cannot be statically
enumerated: it would break the ${group}:${mode} derivation and the
AssertExact guards in nest-mcp-policy.ts, and its consent copy could not
be written ahead of time for a third-party plugin name. Tokens issued
before a plugin existed could never carry its scope either. Per-plugin
granularity already exists one layer down as the admin's mcp:tools grant.

'use' is a fourth mode, which widens ScopeMode. Nothing else moves:
McpAccessGroup and McpAccessMode derive from Scope, so both AssertExact
guards self-heal, and the policy's fallback branch already covers a third
mode the way it covers files:content.

The presets needed an explicit exclusion. Five of the six are written as
"everything except deletes", so plugins:use would have joined Claude.ai,
Cursor, Windsurf and Zed silently and handed out third-party tool
execution without anyone choosing it. That filter was duplicated across
the desktop and mobile files with nothing pinning it, so both now use one
shared constant, and FE-OAUTH-SCOPES-012 holds the line for the next
scope like this one.

The consent copy says what the scope does not do: the RPC host authorises
from grants frozen at construction, so this scope plus weather:read still
reaches whatever the plugin itself was granted.

Two i18n gates, not one. The dot-only group key is tracked by
i18n-parity.mjs, whose regex has no colon in its character class; the
colon-bearing label/description pair is invisible to it but is compared by
client/tests/unit/i18n/parity.test.ts, which diffs merged bundles. All 23
locales get all three keys, including the three in neither gate.

The consent glyph gets a ':use' branch. Falling through to the eye would
tell the user a tool-running scope only looks at things.
2026-08-29 12:22:59 +02:00

112 lines
8.1 KiB
TypeScript

import type { TranslationStrings } from '../types';
const oauth: TranslationStrings = {
'oauth.scope.group.trips': '여행',
'oauth.scope.group.places': '장소',
'oauth.scope.group.collections': '컬렉션',
'oauth.scope.group.atlas': 'Atlas',
'oauth.scope.group.packing': '짐 목록',
'oauth.scope.group.todos': '할 일',
'oauth.scope.group.budget': '예산',
'oauth.scope.group.reservations': '예약',
'oauth.scope.group.collab': '협업',
'oauth.scope.group.notifications': '알림',
'oauth.scope.group.vacay': '휴가',
'oauth.scope.group.geo': '지리',
'oauth.scope.group.weather': '날씨',
'oauth.scope.group.journey': 'Journey',
'oauth.scope.trips:read.label': '여행 및 일정 보기',
'oauth.scope.trips:read.description': '여행, 날, 일별 메모, 멤버 읽기',
'oauth.scope.trips:write.label': '여행 및 일정 편집',
'oauth.scope.trips:write.description': '여행, 날, 메모 만들기 및 업데이트, 멤버 관리',
'oauth.scope.trips:delete.label': '여행 삭제',
'oauth.scope.trips:delete.description': '전체 여행 영구 삭제 — 이 작업은 되돌릴 수 없습니다',
'oauth.scope.trips:share.label': '공유 링크 관리',
'oauth.scope.trips:share.description': '여행의 공개 공유 링크 만들기, 업데이트, 취소',
'oauth.scope.places:read.label': '장소 및 지도 데이터 보기',
'oauth.scope.places:read.description': '장소, 날 배정, 태그, 카테고리 읽기',
'oauth.scope.places:write.label': '장소 관리',
'oauth.scope.places:write.description': '장소, 배정, 태그 만들기, 업데이트, 삭제',
'oauth.scope.collections:read.label': '컬렉션 보기',
'oauth.scope.collections:read.description': '저장된 장소 컬렉션과 장소, 평점, 라벨, 멤버 읽기',
'oauth.scope.collections:write.label': '컬렉션 관리',
'oauth.scope.collections:write.description': '컬렉션 생성·편집, 장소 저장·평가·라벨 지정·복사, 목록 공유',
'oauth.scope.atlas:read.label': 'Atlas 보기',
'oauth.scope.atlas:read.description': '방문한 나라, 지역, 버킷 리스트 읽기',
'oauth.scope.atlas:write.label': 'Atlas 관리',
'oauth.scope.atlas:write.description': '방문한 나라 및 지역 표시, 버킷 리스트 관리',
'oauth.scope.packing:read.label': '짐 목록 보기',
'oauth.scope.packing:read.description': '짐 항목, 가방, 카테고리 배정 읽기',
'oauth.scope.packing:write.label': '짐 목록 관리',
'oauth.scope.packing:write.description': '짐 항목 및 가방 추가, 업데이트, 삭제, 체크, 순서 변경',
'oauth.scope.todos:read.label': '할 일 목록 보기',
'oauth.scope.todos:read.description': '여행 할 일 항목 및 카테고리 배정 읽기',
'oauth.scope.todos:write.label': '할 일 목록 관리',
'oauth.scope.todos:write.description': '할 일 항목 만들기, 업데이트, 체크, 삭제, 순서 변경',
'oauth.scope.budget:read.label': '예산 보기',
'oauth.scope.budget:read.description': '예산 항목 및 지출 내역 읽기',
'oauth.scope.budget:write.label': '예산 관리',
'oauth.scope.budget:write.description': '예산 항목 만들기, 업데이트, 삭제',
'oauth.scope.reservations:read.label': '예약 보기',
'oauth.scope.reservations:read.description': '예약 및 숙박 상세 정보 읽기',
'oauth.scope.reservations:write.label': '예약 관리',
'oauth.scope.reservations:write.description': '예약 만들기, 업데이트, 삭제, 순서 변경',
'oauth.scope.collab:read.label': '협업 보기',
'oauth.scope.collab:read.description': '협업 메모, 투표, 메시지 읽기',
'oauth.scope.collab:write.label': '협업 관리',
'oauth.scope.collab:write.description': '협업 메모, 투표, 메시지 만들기, 업데이트, 삭제',
'oauth.scope.notifications:read.label': '알림 보기',
'oauth.scope.notifications:read.description': '앱 내 알림 및 읽지 않은 수 읽기',
'oauth.scope.notifications:write.label': '알림 관리',
'oauth.scope.notifications:write.description': '알림 읽음 표시 및 응답',
'oauth.scope.vacay:read.label': '휴가 계획 보기',
'oauth.scope.vacay:read.description': '휴가 계획 데이터, 항목, 통계 읽기',
'oauth.scope.vacay:write.label': '휴가 계획 관리',
'oauth.scope.vacay:write.description': '휴가 항목, 공휴일, 팀 계획 만들기 및 관리',
'oauth.scope.geo:read.label': '지도 및 지오코딩',
'oauth.scope.geo:read.description': '위치 검색, 지도 URL 확인, 좌표 역지오코딩',
'oauth.scope.weather:read.label': '날씨 예보',
'oauth.scope.weather:read.description': '여행 위치 및 날짜의 날씨 예보 가져오기',
'oauth.scope.journey:read.label': 'Journey 보기',
'oauth.scope.journey:read.description': 'Journey, 항목, 기여자 목록 읽기',
'oauth.scope.journey:write.label': 'Journey 관리',
'oauth.scope.journey:write.description': 'Journey 및 항목 만들기, 업데이트, 삭제',
'oauth.scope.journey:share.label': 'Journey 링크 관리',
'oauth.scope.journey:share.description': 'Journey의 공개 공유 링크 만들기, 업데이트, 취소',
'oauth.authorize.authorizing': 'Authorizing…', // en-fallback
'oauth.authorize.loading': 'Loading…', // en-fallback
'oauth.authorize.errorTitle': 'Authorization Error', // en-fallback
'oauth.authorize.loginTitle': 'Sign in to continue', // en-fallback
'oauth.authorize.loginDescription': '{client} wants access to your TREK account. Please sign in first.', // en-fallback
'oauth.authorize.loginButton': 'Sign in to TREK', // en-fallback
'oauth.authorize.requestLabel': 'Authorization Request', // en-fallback
'oauth.authorize.requestDescription': 'This application is requesting access to your TREK account.', // en-fallback
'oauth.authorize.trustNote': 'Only grant access to applications you trust. Your data stays on your server.', // en-fallback
'oauth.authorize.selectScope': 'Select at least one scope', // en-fallback
'oauth.authorize.approveOneScope': 'Approve ({count} scope)', // en-fallback
'oauth.authorize.approveManyScopes': 'Approve ({count} scopes)', // en-fallback
'oauth.authorize.approveAccess': 'Approve Access', // en-fallback
'oauth.authorize.deny': 'Deny', // en-fallback
'oauth.authorize.choosePermissions': 'Choose which permissions to grant', // en-fallback
'oauth.authorize.permissionsRequested': 'Permissions requested', // en-fallback
'oauth.authorize.alwaysIncluded': 'Always included', // en-fallback
'oauth.authorize.alwaysTool.listTrips': 'List your trips so the AI can discover trip IDs', // en-fallback
'oauth.authorize.alwaysTool.getTripSummary': 'Read a trip overview needed to use any other tool', // en-fallback
'oauth.scope.group.files': '파일',
'oauth.scope.group.settings': '설정',
'oauth.scope.files:read.label': '여행 파일 보기',
'oauth.scope.files:read.description': '여행의 문서를 나열합니다. 이름, 크기, 업로드한 사람, 연결된 항목',
'oauth.scope.files:write.label': '여행 파일 관리',
'oauth.scope.files:write.description': '파일 이름과 설명 변경, 예약 및 장소에 연결, 즐겨찾기 및 휴지통 이동',
'oauth.scope.files:content.label': '파일 내용 읽기',
'oauth.scope.files:content.description': '업로드된 문서의 내용을 읽습니다. 예약 PDF나 티켓 등',
'oauth.scope.settings:read.label': '환경설정 보기',
'oauth.scope.settings:read.description': '단위, 시간 형식, 언어, 기본 통화, 시작 페이지 읽기',
'oauth.scope.settings:write.label': '환경설정 변경',
'oauth.scope.settings:write.description': '단위, 시간 형식, 언어, 기본 통화, 시작 페이지 변경. 저장된 API 키는 제외',
'oauth.scope.group.plugins': '플러그인',
'oauth.scope.plugins:use.label': '플러그인 도구 실행',
'oauth.scope.plugins:use.description': '관리자가 설치하고 승인한 플러그인이 제공하는 도구를 이 클라이언트가 호출할 수 있도록 허용합니다. 각 플러그인은 이 토큰의 범위가 아니라 이미 부여받은 권한으로 동작합니다',
};
export default oauth;