mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 00:20:07 +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:
@@ -73,6 +73,8 @@ const admin: TranslationStrings = {
|
||||
'admin.invite.createError': 'Nie udało się utworzyć linku zaproszenia',
|
||||
'admin.invite.deleteError': 'Nie udało się usunąć linku zaproszenia',
|
||||
'admin.tabs.settings': 'Ustawienia',
|
||||
'admin.tabs.security': 'Bezpieczeństwo',
|
||||
'admin.tabs.services': 'Usługi',
|
||||
'admin.allowRegistration': 'Zezwól na rejestrację',
|
||||
'admin.allowRegistrationHint': 'Nowi użytkownicy mogą się rejestrować samodzielnie',
|
||||
'admin.authMethods': 'Metody uwierzytelniania',
|
||||
@@ -134,10 +136,8 @@ const admin: TranslationStrings = {
|
||||
'admin.trekApi.included': 'Zawiera',
|
||||
'admin.trekApi.notIncluded': 'Nie zawiera',
|
||||
'admin.trekApi.quota.title': 'Dzisiejszy limit',
|
||||
'admin.trekApi.quota.used': 'Wykorzystano',
|
||||
'admin.trekApi.quota.remaining': 'Pozostało',
|
||||
'admin.trekApi.quota.resets': 'Reset o',
|
||||
'admin.trekApi.quota.limit': 'Limit dzienny',
|
||||
'admin.trekApi.quota.key': 'Klucz',
|
||||
'admin.trekApi.quota.state.connected': 'Połączono',
|
||||
'admin.trekApi.quota.state.registering': 'Konfigurowanie',
|
||||
@@ -263,8 +263,9 @@ const admin: TranslationStrings = {
|
||||
'admin.collab.whatsnext.title': 'Co dalej',
|
||||
'admin.collab.whatsnext.subtitle': 'Sugestie aktywności i następne kroki',
|
||||
'admin.tabs.config': 'Personalizacja',
|
||||
'admin.tabs.defaults': 'Domyślne ustawienia',
|
||||
'admin.tabs.defaults': 'Domyślne',
|
||||
'admin.defaultSettings.title': 'Domyślne ustawienia użytkownika',
|
||||
'admin.defaultSettings.routing': 'Wyznaczanie tras',
|
||||
'admin.defaultSettings.description':
|
||||
'Ustaw domyślne wartości dla całej instancji. Użytkownicy, którzy nie zmienili ustawienia, zobaczą te wartości. Ich własne zmiany zawsze mają pierwszeństwo.',
|
||||
'admin.defaultSettings.saved': 'Domyślne zapisane',
|
||||
@@ -740,20 +741,6 @@ const admin: TranslationStrings = {
|
||||
'admin.addons.toast.updated': 'Dodatek został zaktualizowany',
|
||||
'admin.addons.toast.error': 'Nie udało się zaktualizować dodatku',
|
||||
'admin.addons.group.count': '{enabled} z {total} włączonych',
|
||||
'admin.addons.search': 'Szukaj dodatków',
|
||||
'admin.addons.filter': 'Pokaż',
|
||||
'admin.addons.filter.all': 'Wszystkie',
|
||||
'admin.addons.filter.on': 'Włączone',
|
||||
'admin.addons.filter.off': 'Wyłączone',
|
||||
'admin.addons.noMatch': 'Żaden dodatek nie pasuje do wyszukiwania ani filtra.',
|
||||
'admin.addons.subOptions': '{count} opcji',
|
||||
'admin.addons.subOptions.one': '{count} opcja',
|
||||
'admin.addons.subOptions.few': '{count} opcje',
|
||||
'admin.addons.subOptions.many': '{count} opcji',
|
||||
'admin.addons.subOptionsOn': 'włączone: {count}',
|
||||
'admin.addons.subOptionsOn.one': 'włączone: {count}',
|
||||
'admin.addons.subOptionsOn.few': 'włączone: {count}',
|
||||
'admin.addons.subOptionsOn.many': 'włączone: {count}',
|
||||
'admin.toursWanderer.title': 'wanderer',
|
||||
'admin.toursWanderer.subtitle':
|
||||
'Użytkownicy mogą połączyć własną instancję wanderer i importować z niej szlaki jako wycieczki',
|
||||
@@ -779,7 +766,7 @@ const admin: TranslationStrings = {
|
||||
'admin.weather.requestsDesc': 'Bezpłatnie, bez klucza API',
|
||||
'admin.weather.locationHint':
|
||||
'Pogoda jest określana na podstawie pierwszego miejsca z przypisanymi współrzędnymi w danym dniu. Jeśli do dnia nie przypisano żadnego miejsca, jako punkt odniesienia używane jest dowolne miejsce z listy.',
|
||||
'admin.tabs.mcpTokens': 'Dostęp MCP',
|
||||
'admin.tabs.mcpTokens': 'MCP',
|
||||
'admin.mcpTokens.title': 'Dostęp MCP',
|
||||
'admin.mcpTokens.subtitle': 'Zarządzaj sesjami OAuth i tokenami API dla wszystkich użytkowników',
|
||||
'admin.mcpTokens.sectionTitle': 'Tokeny API',
|
||||
@@ -857,6 +844,8 @@ const admin: TranslationStrings = {
|
||||
'admin.update.wikiLink': 'Otwórz przewodnik aktualizacji',
|
||||
'admin.update.reloadHint': 'Proszę odświeżyć stronę za kilka sekund.',
|
||||
'admin.notifications.title': 'Powiadomienia',
|
||||
'admin.notifications.channels': 'Kanały',
|
||||
'admin.notifications.adminAlerts': 'Alerty administratora',
|
||||
'admin.notifications.hint': 'Wybierz jeden kanał powiadomień.',
|
||||
'admin.notifications.none': 'Wyłączone',
|
||||
'admin.notifications.email': 'E-mail (SMTP)',
|
||||
@@ -966,7 +955,6 @@ const admin: TranslationStrings = {
|
||||
'Używany dla każdego użytkownika, który nie wprowadził własnego klucza, dzięki czemu cała instancja otrzymuje kafelki CARTO bez znaku wodnego. Przechowywany w postaci zaszyfrowanej.',
|
||||
'admin.group.users': 'Użytkownicy',
|
||||
'admin.group.config': 'Konfiguracja',
|
||||
'admin.group.integration': 'Integracje',
|
||||
'admin.group.maintenance': 'Konserwacja',
|
||||
'admin.invite.tripLabel': 'Dodaj do podróży (opcjonalnie)',
|
||||
'admin.invite.tripNone': 'Brak podróży',
|
||||
|
||||
@@ -39,7 +39,6 @@ const mailAdmin: TranslationStrings = {
|
||||
'mailAdmin.problem.portInvalid': 'Wpisz port od 1 do 65535.',
|
||||
'mailAdmin.problem.templateToken': 'Adres musi zawierać {token} dla kodu każdego użytkownika.',
|
||||
'mailAdmin.problem.dailyInvalid': 'Wpisz liczbę całkowitą od 0 do 1000.',
|
||||
'mailAdmin.status.title': 'Status', // same-as-en
|
||||
'mailAdmin.status.lastRead': 'Ostatni odczyt {time}',
|
||||
'mailAdmin.status.never': 'nigdy',
|
||||
'mailAdmin.status.mails': 'Wiadomości, 24 h',
|
||||
|
||||
Reference in New Issue
Block a user