Files
TREK/shared/src/i18n/gr/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

119 lines
12 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': 'Ταξίδι',
'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': 'Προβολή ταξιδιών',
'oauth.scope.journey:read.description': 'Ανάγνωση ταξιδιών, καταχωρήσεων και λίστας συνεισφερόντων',
'oauth.scope.journey:write.label': 'Διαχείριση ταξιδιών',
'oauth.scope.journey:write.description': 'Δημιουργία, ενημέρωση και διαγραφή ταξιδιών και των καταχωρήσεων τους',
'oauth.scope.journey:share.label': 'Διαχείριση συνδέσμων ταξιδιών',
'oauth.scope.journey:share.description':
'Δημιουργία, ενημέρωση και ανάκληση δημόσιων συνδέσμων κοινής χρήσης για ταξίδια',
'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;