mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-25 22:27:32 +00:00
feat(settings): one look for every user and admin settings page
The settings pages had grown into a mix of styles: folds, dialogs behind rows, full-width rows next to boxed ones, pills for every figure and buttons in four sizes. Every page now uses the same kit. - Cards keep their tinted head band; every part of a card is a rounded block with its own small head (SettingsBlock), and rows sit in rounded boxes. - Nothing folds and nothing hides behind a dialog: the MCP config, OAuth scopes, mail how-to, AI privacy note and addon sub-options are all shown. - Each page is split into two columns balanced by length (SettingsColumns). - Long explanations moved into an info mark next to the label (HintMark). - One button size everywhere (text-control); tab names are one word. - Admin: the old Settings tab is split into Security and Services (?tab=settings still opens Security, and the phone keeps its single Settings section for both); the Integration group is gone, live flights and mail import sit next to the addons they configure. - Addons: one card per type with rows, no search, filter or fold. - Quota, TREK API facts, mail import status and Google's daily limit are compact lines and strips instead of tiles and pills. - Language is a select; routing has its own card under the defaults; storage saves from the foot of its categories card. - Unused keys, FoldSummary and the page-width wrapper are removed.
This commit is contained in:
@@ -2,6 +2,8 @@ import type { TranslationStrings } from '../types';
|
||||
|
||||
const admin: TranslationStrings = {
|
||||
'admin.notifications.title': 'Ειδοποιήσεις',
|
||||
'admin.notifications.channels': 'Κανάλια',
|
||||
'admin.notifications.adminAlerts': 'Ειδοποιήσεις διαχειριστή',
|
||||
'admin.notifications.hint': 'Επιλέξτε ένα κανάλι ειδοποιήσεων. Μόνο ένα μπορεί να είναι ενεργό κάθε φορά.',
|
||||
'admin.notifications.none': 'Απενεργοποιημένο',
|
||||
'admin.notifications.email': 'Email (SMTP)',
|
||||
@@ -130,6 +132,8 @@ const admin: TranslationStrings = {
|
||||
'admin.invite.createError': 'Αποτυχία δημιουργίας συνδέσμου πρόσκλησης',
|
||||
'admin.invite.deleteError': 'Αποτυχία διαγραφής συνδέσμου πρόσκλησης',
|
||||
'admin.tabs.settings': 'Ρυθμίσεις',
|
||||
'admin.tabs.security': 'Ασφάλεια',
|
||||
'admin.tabs.services': 'Υπηρεσίες',
|
||||
'admin.allowRegistration': 'Να επιτρέπονται οι εγγραφές',
|
||||
'admin.allowRegistrationHint': 'Οι νέοι χρήστες μπορούν να εγγράφονται μόνοι τους',
|
||||
'admin.authMethods': 'Μέθοδοι Ελέγχου Ταυτότητας',
|
||||
@@ -191,10 +195,8 @@ const admin: TranslationStrings = {
|
||||
'admin.trekApi.included': 'Περιλαμβάνεται',
|
||||
'admin.trekApi.notIncluded': 'Δεν περιλαμβάνεται',
|
||||
'admin.trekApi.quota.title': 'Σημερινό όριο',
|
||||
'admin.trekApi.quota.used': 'Χρησιμοποιήθηκαν',
|
||||
'admin.trekApi.quota.remaining': 'Απομένουν',
|
||||
'admin.trekApi.quota.resets': 'Μηδενίζεται στις',
|
||||
'admin.trekApi.quota.limit': 'Όριο',
|
||||
'admin.trekApi.quota.key': 'Κλειδί',
|
||||
'admin.trekApi.quota.state.connected': 'Συνδεδεμένο',
|
||||
'admin.trekApi.quota.state.registering': 'Ρύθμιση σε εξέλιξη',
|
||||
@@ -320,8 +322,9 @@ const admin: TranslationStrings = {
|
||||
'admin.collab.whatsnext.title': 'Τι Ακολουθεί',
|
||||
'admin.collab.whatsnext.subtitle': 'Προτάσεις δραστηριοτήτων και επόμενα βήματα',
|
||||
'admin.tabs.config': 'Εξατομίκευση',
|
||||
'admin.tabs.defaults': 'Προεπιλογές Χρήστη',
|
||||
'admin.tabs.defaults': 'Προεπιλογές',
|
||||
'admin.defaultSettings.title': 'Προεπιλεγμένες Ρυθμίσεις Χρήστη',
|
||||
'admin.defaultSettings.routing': 'Δρομολόγηση',
|
||||
'admin.defaultSettings.description':
|
||||
'Ορίστε προεπιλογές για όλη την υπηρεσία. Οι χρήστες που δεν έχουν αλλάξει μια ρύθμιση θα βλέπουν αυτές τις τιμές. Οι δικές τους αλλαγές έχουν πάντα προτεραιότητα.',
|
||||
'admin.defaultSettings.saved': 'Η προεπιλογή αποθηκεύτηκε',
|
||||
@@ -794,16 +797,6 @@ const admin: TranslationStrings = {
|
||||
'admin.addons.toast.updated': 'Το πρόσθετο ενημερώθηκε',
|
||||
'admin.addons.toast.error': 'Αποτυχία ενημέρωσης προσθέτου',
|
||||
'admin.addons.group.count': '{enabled} από {total} ενεργοποιημένα',
|
||||
'admin.addons.search': 'Αναζήτηση πρόσθετων',
|
||||
'admin.addons.filter': 'Εμφάνιση',
|
||||
'admin.addons.filter.all': 'Όλα',
|
||||
'admin.addons.filter.on': 'Ενεργά',
|
||||
'admin.addons.filter.off': 'Ανενεργά',
|
||||
'admin.addons.noMatch': 'Κανένα πρόσθετο δεν ταιριάζει με την αναζήτηση ή το φίλτρο.',
|
||||
'admin.addons.subOptions': '{count} επιλογές',
|
||||
'admin.addons.subOptions.one': '{count} επιλογή',
|
||||
'admin.addons.subOptionsOn': '{count} ενεργές',
|
||||
'admin.addons.subOptionsOn.one': '{count} ενεργή',
|
||||
'admin.toursWanderer.title': 'wanderer',
|
||||
'admin.toursWanderer.subtitle':
|
||||
'Οι χρήστες μπορούν να συνδέσουν τη δική τους εγκατάσταση wanderer και να εισαγάγουν τα μονοπάτια της ως εκδρομές',
|
||||
@@ -829,7 +822,7 @@ const admin: TranslationStrings = {
|
||||
'admin.weather.requestsDesc': 'Δωρεάν, δεν απαιτείται κλειδί API',
|
||||
'admin.weather.locationHint':
|
||||
'Ο καιρός βασίζεται στον πρώτο τόπο με συντεταγμένες σε κάθε ημέρα. Αν δεν έχει ανατεθεί τόπος σε μια ημέρα, χρησιμοποιείται ως αναφορά οποιοσδήποτε τόπος από τη λίστα.',
|
||||
'admin.tabs.mcpTokens': 'Πρόσβαση MCP',
|
||||
'admin.tabs.mcpTokens': 'MCP',
|
||||
'admin.mcpTokens.title': 'Πρόσβαση MCP',
|
||||
'admin.mcpTokens.subtitle': 'Διαχείριση συνεδριών OAuth και διακριτικών API για όλους τους χρήστες',
|
||||
'admin.mcpTokens.sectionTitle': 'Διακριτικά API',
|
||||
@@ -949,7 +942,6 @@ const admin: TranslationStrings = {
|
||||
'Χρησιμοποιείται για κάθε χρήστη που δεν έχει εισαγάγει το δικό του κλειδί, έτσι ολόκληρη η εγκατάσταση λαμβάνει πλακίδια CARTO χωρίς υδατογράφημα. Αποθηκεύεται κρυπτογραφημένο.',
|
||||
'admin.group.users': 'Χρήστες',
|
||||
'admin.group.config': 'Ρυθμίσεις',
|
||||
'admin.group.integration': 'Ενσωματώσεις',
|
||||
'admin.group.maintenance': 'Συντήρηση',
|
||||
'admin.invite.tripLabel': 'Προσθήκη σε ταξίδι (προαιρετικό)',
|
||||
'admin.invite.tripNone': 'Χωρίς ταξίδι',
|
||||
|
||||
Reference in New Issue
Block a user