mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-22 13:10:29 +00:00
18a16d2aa2
Expense, payment, booking, transport, day note, place edit, new trip, journey entry, collab note, poll, task, packing item and packing import use the form sheet: one header with its icon tile, a body that scrolls with a fade, the footer, and full height with the actions beside the title on a short window. Create New Trip loses its nested section cards. Details: - Add payment gets its icon tile and the currency inside the amount field. - The expense's category field has the same fill as every other field. - Day and date fields keep their year at phone width; From and To stack in a narrow form. - The place sheet's category chip sits under the name, uncut, the photo on the cards' leading edge, labels in the sheets' small capitals. - Stars no longer keep a hover preview after a tap. - A hotel booking shows its stay's check-in and check-out when it has none of its own, instead of the grey hint reading as a saved time. - The collab note's title field is labelled Title (common.title). - Shorter airport hint in German and Russian; long hints end in an ellipsis. - The journey story grows with its lines (useAutoGrow). - Member avatars show the member's initial, yours too, and turn over on a selected chip. - The trip's More sheet scrolls, dims a short window and is marked in the dock while open; long titles wrap to two lines.
88 lines
3.2 KiB
TypeScript
88 lines
3.2 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const common: TranslationStrings = {
|
|
'common.save': 'Save',
|
|
'common.showMore': 'Show more',
|
|
'common.showLess': 'Show less',
|
|
'common.cancel': 'Cancel',
|
|
'common.clear': 'Clear',
|
|
'common.delete': 'Delete',
|
|
'common.remove': 'Remove',
|
|
'common.preview': 'Preview',
|
|
'common.edit': 'Edit',
|
|
'common.add': 'Add',
|
|
'common.loading': 'Loading...',
|
|
'common.import': 'Import',
|
|
'common.select': 'Select',
|
|
'common.selectAll': 'Select all',
|
|
'common.deselectAll': 'Deselect all',
|
|
'common.error': 'Error',
|
|
'common.success': 'Success',
|
|
'common.unknownError': 'Unknown error',
|
|
'common.tooManyAttempts': 'Too many attempts. Please try again later.',
|
|
'common.back': 'Back',
|
|
'common.all': 'All',
|
|
'common.close': 'Close',
|
|
'common.open': 'Open',
|
|
'common.upload': 'Upload',
|
|
'common.search': 'Search',
|
|
'common.confirm': 'Confirm',
|
|
'common.ok': 'OK',
|
|
'common.yes': 'Yes',
|
|
'common.no': 'No',
|
|
'common.or': 'or',
|
|
'common.none': 'None',
|
|
'common.date': 'Date',
|
|
'common.rename': 'Rename',
|
|
'common.discardChanges': 'Discard Changes',
|
|
'common.discard': 'Discard',
|
|
'common.unsavedTitle': 'Discard your changes?',
|
|
'common.unsavedMessage': 'What you entered here has not been saved yet.',
|
|
'common.keepEditing': 'Keep editing',
|
|
'common.name': 'Name',
|
|
'common.title': 'Title',
|
|
'common.email': 'Email',
|
|
'common.password': 'Password',
|
|
'common.saving': 'Saving...',
|
|
'common.justNow': 'just now',
|
|
'common.hoursAgo': '{count}h ago',
|
|
'common.hoursAgo.one': '{count}h ago',
|
|
'common.daysAgo': '{count}d ago',
|
|
'common.daysAgo.one': '{count}d ago',
|
|
'common.saved': 'Saved',
|
|
'common.update': 'Update',
|
|
'common.change': 'Change',
|
|
'common.uploading': 'Uploading…',
|
|
'common.backToPlanning': 'Back to Planning',
|
|
'common.reset': 'Reset',
|
|
'common.expand': 'Expand',
|
|
'common.collapse': 'Collapse',
|
|
'common.copy': 'Copy',
|
|
'common.copied': 'Copied',
|
|
'common.datepicker.prevMonth': 'Previous month',
|
|
'common.datepicker.nextMonth': 'Next month',
|
|
'common.datepicker.prevYear': 'Previous year',
|
|
'common.datepicker.nextYear': 'Next year',
|
|
'common.datepicker.prevYears': 'Previous years',
|
|
'common.datepicker.nextYears': 'Next years',
|
|
'common.datepicker.selectMonth': 'Select month',
|
|
'common.datepicker.selectYear': 'Select year',
|
|
'common.datepicker.enterManually': 'Enter date manually',
|
|
'common.datepicker.typeDate': 'Type a date',
|
|
'common.datepicker.dialog': 'Date picker',
|
|
'common.datepicker.clearDate': 'Clear date',
|
|
'common.errorTitle': 'Something went wrong',
|
|
'common.errorBody': 'This part of the app stopped working. Your data is safe.',
|
|
'common.errorPanelTitle': 'This section could not be shown',
|
|
'common.errorPanelBody': 'The rest of the page still works.',
|
|
'common.errorRetry': 'Try again',
|
|
'common.errorReload': 'Reload page',
|
|
'common.errorUpdateTitle': 'A new version is available',
|
|
'common.errorUpdateBody': 'TREK was updated while this tab was open. Reload to get the new version.',
|
|
'common.errorPluginTitle': 'This plugin could not be shown',
|
|
'common.needsConnection': 'This needs a connection. Try again once TREK is back online.',
|
|
'common.errorDetails': 'Details',
|
|
'common.share': 'Share',
|
|
};
|
|
export default common;
|