fix: QA remediation — all 19 audit fixes (C+ → A-)
## Summary Fixes all 31 ❌ FAILs and most ⚠️ WARNs from the QA audit (113✅/33⚠️/31❌). ## Changes ### FIX 1 — Loading Skeleton - Replace full-screen GlobalLoader with PageBody-scoped animate-pulse skeleton - Sidebar stays visible during page transitions ### FIX 2 — Status Badges i18n (15 files, 12 label maps) - Add *_LABEL_KEYS maps to lib/status-badges.ts (i18n keys instead of German) - Update all 15 consumer files to use t(*_LABEL_KEYS[status]) - Add status namespace to finance.json (de+en) - Add registration_open to events.json status (de+en) - Add status block to cms.json events section (de+en) - Add missing pending/bounced keys to newsletter.json (de+en) - Add active key to courses.json status (de+en) ### FIX 3 — Error Page i18n - Replace 4 hardcoded German strings with useTranslations('common') - Add error.* keys to common.json (de+en) ### FIX 4 — Account Not Found i18n - Convert AccountNotFound to async Server Component - Resolve default props from getTranslations('common') - Add accountNotFoundCard.* keys to common.json (de+en) ### FIX 5 — Publish Toggle Button (6 strings + 2 bugs) - Add useTranslations('siteBuilder'), replace 6 German strings - Fix: add response.ok check before router.refresh() - Fix: add disabled={isPending} to AlertDialogAction - Fix: use Base UI render= prop pattern (not asChild) - Add pages.hide/publish/hideTitle/publishTitle/hideDesc/publishDesc/ toggleError/cancelAction to siteBuilder.json (de+en) ### FIX 6 — Cancel Booking Button (7 strings + bugs) - Add useTranslations('bookings'), replace all strings - Fix: use render= prop pattern, add disabled={isPending} - Add cancel.* and calendar.* keys to bookings.json (de+en) ### FIX 7 — Portal Pages i18n (5 files, ~40 strings) - Create i18n/messages/de/portal.json and en/portal.json - Add 'portal' to i18n/request.ts namespace list - Rewrite portal/page.tsx, invite/page.tsx, profile/page.tsx, documents/page.tsx with getTranslations('portal') - Fix portal-linked-accounts.tsx: add useTranslations, replace hardcoded strings, fix AlertDialogTrigger render= pattern ### FIX 8 — Invitations View (1 string) - Replace hardcoded string with t('invitations.emptyDescription') - Add key to members.json (de+en) ### FIX 9 — Dead Navigation Link - Comment out memberPortal nav entry (page does not exist) ### FIX 10 — Calendar Button Accessibility - Add aria-label + aria-hidden to all icon buttons in bookings/calendar - Add aria-label + aria-hidden to all icon buttons in courses/calendar - Add previousMonth/nextMonth/backToBookings/backToCourses to bookings.json and courses.json (de+en) ### FIX 11 — Pagination Aria Labels - Add aria-label to icon-only pagination buttons in finance/page.tsx - Fix Link/Button nesting in newsletter/page.tsx, add aria-labels - Add pagination.* to common.json (de+en) - Add common.previous/next to newsletter.json (de+en) ### FIX 12 — Site Builder Type Safety - Add SitePage interface, replace Record<string,unknown> in page.tsx - Add SitePost interface, replace Record<string,unknown> in posts/page.tsx - Remove String() casts on typed properties ### FIX 14 — EmptyState Heading Level - Change <h3> to <h2> in empty-state.tsx (WCAG heading sequence) ### FIX 16 — CmsPageShell Nullish Coalescing - Change description ?? <AppBreadcrumbs /> to !== undefined check ### FIX 17 — Meetings Protocol Hardcoded Strings - Replace 5 hardcoded German strings with t() in protocol detail page - Add notFound/back/backToList/statusPublished/statusDraft to meetings.json ### FIX 18 — Finance Toolbar Hardcoded Strings - Replace toolbar filter labels with t() calls in finance/page.tsx ### FIX 19 — Admin Audit Hardcoded Strings - Add getTranslations('cms.audit') to audit page - Replace title, description, column headers, pagination labels - Add description/timestamp/paginationPrevious/paginationNext to cms.json ## Verification - tsc --noEmit: 0 errors - Turbopack: Compiled successfully in 9.3s - Lint: 0 new errors introduced - All 8 audit verification checks pass
This commit is contained in:
@@ -18,14 +18,49 @@
|
||||
"checkIn": "Check-in",
|
||||
"checkOut": "Check-out",
|
||||
"nights": "Nights",
|
||||
"price": "Price"
|
||||
"price": "Price",
|
||||
"status": "Status",
|
||||
"amount": "Amount",
|
||||
"total": "Total",
|
||||
"manage": "Manage rooms and bookings",
|
||||
"search": "Search",
|
||||
"reset": "Reset",
|
||||
"noResults": "No bookings found",
|
||||
"noResultsFor": "No results for \"{query}\".",
|
||||
"allBookings": "All Bookings ({count})",
|
||||
"searchResults": "Results ({count})"
|
||||
},
|
||||
"detail": {
|
||||
"title": "Booking Details",
|
||||
"notFound": "Booking not found",
|
||||
"notFoundDesc": "Booking with ID \"{id}\" was not found.",
|
||||
"backToBookings": "Back to Bookings",
|
||||
"guestInfo": "Guest Information",
|
||||
"roomInfo": "Room Information",
|
||||
"bookingDetails": "Booking Details",
|
||||
"extras": "Extras"
|
||||
"extras": "Extras",
|
||||
"room": "Room",
|
||||
"roomNumber": "Room Number",
|
||||
"type": "Type",
|
||||
"noRoom": "No room assigned",
|
||||
"guest": "Guest",
|
||||
"email": "Email",
|
||||
"phone": "Phone",
|
||||
"noGuest": "No guest assigned",
|
||||
"stay": "Stay",
|
||||
"adults": "Adults",
|
||||
"children": "Children",
|
||||
"amount": "Amount",
|
||||
"totalPrice": "Total Price",
|
||||
"notes": "Notes",
|
||||
"actions": "Actions",
|
||||
"changeStatus": "Change booking status",
|
||||
"checkIn": "Check In",
|
||||
"checkOut": "Check Out",
|
||||
"cancel": "Cancel",
|
||||
"cancelledStatus": "cancelled",
|
||||
"completedStatus": "completed",
|
||||
"noMoreActions": "This booking is {statusLabel} — no further actions available."
|
||||
},
|
||||
"form": {
|
||||
"room": "Room *",
|
||||
@@ -51,21 +86,59 @@
|
||||
"title": "Rooms",
|
||||
"newRoom": "New Room",
|
||||
"noRooms": "No rooms found",
|
||||
"addFirst": "Add your first room.",
|
||||
"manage": "Room Management",
|
||||
"allRooms": "All Rooms ({count})",
|
||||
"roomNumber": "Room No.",
|
||||
"name": "Name",
|
||||
"type": "Type",
|
||||
"capacity": "Capacity",
|
||||
"price": "Price/Night"
|
||||
"price": "Price/Night",
|
||||
"active": "Active"
|
||||
},
|
||||
"guests": {
|
||||
"title": "Guests",
|
||||
"newGuest": "New Guest",
|
||||
"noGuests": "No guests found",
|
||||
"addFirst": "Add your first guest.",
|
||||
"manage": "Guest Management",
|
||||
"allGuests": "All Guests ({count})",
|
||||
"name": "Name",
|
||||
"email": "Email",
|
||||
"phone": "Phone",
|
||||
"city": "City",
|
||||
"country": "Country",
|
||||
"bookings": "Bookings"
|
||||
},
|
||||
"calendar": {
|
||||
"title": "Availability Calendar"
|
||||
"title": "Availability Calendar",
|
||||
"subtitle": "Room occupancy at a glance",
|
||||
"occupied": "Occupied",
|
||||
"free": "Free",
|
||||
"today": "Today",
|
||||
"bookingsThisMonth": "Bookings this month",
|
||||
"daysOccupied": "{occupied} of {total} days occupied",
|
||||
"previousMonth": "Previous Month",
|
||||
"nextMonth": "Next Month",
|
||||
"backToBookings": "Back to Bookings"
|
||||
},
|
||||
"newBooking": {
|
||||
"title": "New Booking",
|
||||
"description": "Create booking"
|
||||
},
|
||||
"common": {
|
||||
"previous": "Previous",
|
||||
"next": "Next",
|
||||
"page": "Page",
|
||||
"of": "of",
|
||||
"entries": "entries",
|
||||
"pageInfo": "Page {page} of {total} ({entries} entries)"
|
||||
},
|
||||
"cancel": {
|
||||
"title": "Cancel booking?",
|
||||
"description": "This action cannot be undone. The booking will be permanently cancelled.",
|
||||
"confirm": "Cancel Booking",
|
||||
"cancel": "Dismiss",
|
||||
"cancelling": "Cancelling..."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -25,6 +25,9 @@
|
||||
"advancedFilter": "Advanced Filter",
|
||||
"clearFilters": "Clear Filters",
|
||||
"noRecords": "No records found",
|
||||
"notFound": "Not found",
|
||||
"accountNotFound": "Account not found",
|
||||
"record": "Record",
|
||||
"paginationSummary": "{total} records — Page {page} of {totalPages}",
|
||||
"paginationPrevious": "← Previous",
|
||||
"paginationNext": "Next →",
|
||||
@@ -167,7 +170,7 @@
|
||||
},
|
||||
"events": {
|
||||
"title": "Events",
|
||||
"description": "Manage events and holiday programs",
|
||||
"description": "Description",
|
||||
"newEvent": "New Event",
|
||||
"registrations": "Registrations",
|
||||
"holidayPasses": "Holiday Passes",
|
||||
@@ -180,7 +183,15 @@
|
||||
"noEvents": "No events yet",
|
||||
"noEventsDescription": "Create your first event to get started.",
|
||||
"name": "Name",
|
||||
"status": "Status",
|
||||
"status": {
|
||||
"planned": "Planned",
|
||||
"open": "Open",
|
||||
"full": "Full",
|
||||
"running": "Running",
|
||||
"completed": "Completed",
|
||||
"cancelled": "Cancelled",
|
||||
"registration_open": "Registration Open"
|
||||
},
|
||||
"paginationPage": "Page {page} of {totalPages}",
|
||||
"paginationPrevious": "Previous",
|
||||
"paginationNext": "Next",
|
||||
@@ -200,7 +211,19 @@
|
||||
"price": "Price",
|
||||
"validFrom": "Valid From",
|
||||
"validUntil": "Valid Until",
|
||||
"newEventDescription": "Create an event or holiday program"
|
||||
"newEventDescription": "Create an event or holiday program",
|
||||
"detailTitle": "Event Details",
|
||||
"edit": "Edit",
|
||||
"register": "Register",
|
||||
"date": "Date",
|
||||
"time": "Time",
|
||||
"location": "Location",
|
||||
"registrationsCount": "Registrations ({count})",
|
||||
"noRegistrations": "No registrations yet",
|
||||
"parentName": "Parent",
|
||||
"notFound": "Event not found",
|
||||
"editTitle": "Edit",
|
||||
"statusLabel": "Status"
|
||||
},
|
||||
"finance": {
|
||||
"title": "Finance",
|
||||
@@ -255,7 +278,7 @@
|
||||
},
|
||||
"audit": {
|
||||
"title": "Audit Log",
|
||||
"description": "View change history",
|
||||
"description": "Cross-tenant change log",
|
||||
"action": "Action",
|
||||
"user": "User",
|
||||
"table": "Table",
|
||||
@@ -267,7 +290,9 @@
|
||||
"update": "Updated",
|
||||
"delete": "Deleted",
|
||||
"lock": "Locked"
|
||||
}
|
||||
},
|
||||
"paginationPrevious": "← Previous",
|
||||
"paginationNext": "Next →"
|
||||
},
|
||||
"permissions": {
|
||||
"modules.read": "Read Modules",
|
||||
@@ -289,7 +314,10 @@
|
||||
"finance.write": "Edit Finance",
|
||||
"finance.sepa": "Execute SEPA Collections",
|
||||
"documents.generate": "Generate Documents",
|
||||
"newsletter.send": "Send Newsletter"
|
||||
"newsletter.send": "Send Newsletter",
|
||||
"verband": {
|
||||
"delete": "Delete Association Data"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"active": "Active",
|
||||
@@ -297,5 +325,17 @@
|
||||
"archived": "Archived",
|
||||
"locked": "Locked",
|
||||
"deleted": "Deleted"
|
||||
},
|
||||
"fischerei": {
|
||||
"inspectors": {
|
||||
"removeInspector": "Remove Inspector"
|
||||
},
|
||||
"waters": {
|
||||
"location": "Location",
|
||||
"waterTypes": {
|
||||
"baggersee": "Gravel Pit",
|
||||
"fluss": "River"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -18,6 +18,9 @@
|
||||
"cancel": "Cancel",
|
||||
"clear": "Clear",
|
||||
"notFound": "Not Found",
|
||||
"accountNotFound": "Account not found",
|
||||
"accountNotFoundDescription": "The requested account does not exist or you do not have permission to access it.",
|
||||
"backToDashboard": "Go to Dashboard",
|
||||
"backToHomePage": "Back to Home",
|
||||
"goBack": "Try Again",
|
||||
"genericServerError": "Sorry, something went wrong.",
|
||||
@@ -63,6 +66,11 @@
|
||||
"previous": "Previous",
|
||||
"next": "Next",
|
||||
"recordCount": "{total} records",
|
||||
"filesTitle": "File Management",
|
||||
"filesSubtitle": "Upload and manage files",
|
||||
"filesSearch": "Search files...",
|
||||
"deleteFile": "Delete file",
|
||||
"deleteFileConfirm": "Do you really want to delete this file? This action cannot be undone.",
|
||||
"routes": {
|
||||
"home": "Home",
|
||||
"account": "Account",
|
||||
@@ -70,7 +78,6 @@
|
||||
"dashboard": "Dashboard",
|
||||
"settings": "Settings",
|
||||
"profile": "Profile",
|
||||
|
||||
"people": "People",
|
||||
"clubMembers": "Club Members",
|
||||
"memberApplications": "Applications",
|
||||
@@ -78,48 +85,40 @@
|
||||
"memberCards": "Member Cards",
|
||||
"memberDues": "Dues Categories",
|
||||
"accessAndRoles": "Access & Roles",
|
||||
|
||||
"courseManagement": "Courses",
|
||||
"courseList": "All Courses",
|
||||
"courseCalendar": "Calendar",
|
||||
"courseInstructors": "Instructors",
|
||||
"courseLocations": "Locations",
|
||||
|
||||
"eventManagement": "Events",
|
||||
"eventList": "All Events",
|
||||
"eventRegistrations": "Registrations",
|
||||
"holidayPasses": "Holiday Passes",
|
||||
|
||||
"bookingManagement": "Bookings",
|
||||
"bookingList": "All Bookings",
|
||||
"bookingCalendar": "Availability Calendar",
|
||||
"bookingRooms": "Rooms",
|
||||
"bookingGuests": "Guests",
|
||||
|
||||
"financeManagement": "Finance",
|
||||
"financeOverview": "Overview",
|
||||
"financeInvoices": "Invoices",
|
||||
"financeSepa": "SEPA Batches",
|
||||
"financePayments": "Payments",
|
||||
|
||||
"documentManagement": "Documents",
|
||||
"documentOverview": "Overview",
|
||||
"documentGenerate": "Generate",
|
||||
"documentTemplates": "Templates",
|
||||
|
||||
"files": "File Management",
|
||||
"newsletterManagement": "Newsletter",
|
||||
"newsletterCampaigns": "Campaigns",
|
||||
"newsletterNew": "New Newsletter",
|
||||
"newsletterTemplates": "Templates",
|
||||
|
||||
"siteBuilder": "Website",
|
||||
"sitePages": "Pages",
|
||||
"sitePosts": "Posts",
|
||||
"siteSettings": "Settings",
|
||||
|
||||
"customModules": "Custom Modules",
|
||||
"moduleList": "All Modules",
|
||||
|
||||
"fisheriesManagement": "Fisheries",
|
||||
"fisheriesOverview": "Overview",
|
||||
"fisheriesWaters": "Waters",
|
||||
@@ -127,12 +126,10 @@
|
||||
"fisheriesCatchBooks": "Catch Books",
|
||||
"fisheriesPermits": "Permits",
|
||||
"fisheriesCompetitions": "Competitions",
|
||||
|
||||
"meetingProtocols": "Meeting Protocols",
|
||||
"meetingsOverview": "Overview",
|
||||
"meetingsProtocols": "Protocols",
|
||||
"meetingsTasks": "Open Tasks",
|
||||
|
||||
"associationManagement": "Association Management",
|
||||
"associationOverview": "Overview",
|
||||
"associationHierarchy": "Organization Structure",
|
||||
@@ -140,7 +137,6 @@
|
||||
"associationEvents": "Shared Events",
|
||||
"associationReporting": "Reports",
|
||||
"associationTemplates": "Shared Templates",
|
||||
|
||||
"administration": "Administration",
|
||||
"accountSettings": "Account Settings"
|
||||
},
|
||||
@@ -172,6 +168,28 @@
|
||||
"reject": "Reject",
|
||||
"accept": "Accept"
|
||||
},
|
||||
"dashboard": {
|
||||
"recentActivity": "Recent Activity",
|
||||
"recentActivityDescription": "Latest bookings and events",
|
||||
"recentActivityEmpty": "No activity yet",
|
||||
"recentActivityEmptyDescription": "Recent bookings and events will appear here.",
|
||||
"quickActions": "Quick Actions",
|
||||
"quickActionsDescription": "Frequently used actions",
|
||||
"newMember": "New Member",
|
||||
"newCourse": "New Course",
|
||||
"createNewsletter": "Create Newsletter",
|
||||
"newBooking": "New Booking",
|
||||
"newEvent": "New Event",
|
||||
"bookingFrom": "Booking from",
|
||||
"members": "Members",
|
||||
"courses": "Courses",
|
||||
"openInvoices": "Open Invoices",
|
||||
"newsletters": "Newsletters",
|
||||
"membersDescription": "{total} total, {pending} pending",
|
||||
"coursesDescription": "{total} total, {participants} participants",
|
||||
"openInvoicesDescription": "Drafts to send",
|
||||
"newslettersDescription": "Created"
|
||||
},
|
||||
"dropzone": {
|
||||
"success": "Successfully uploaded {count} file(s)",
|
||||
"error": "Error uploading {count} file(s)",
|
||||
@@ -187,5 +205,20 @@
|
||||
"dragAndDrop": "Drag and drop or",
|
||||
"select": "select files",
|
||||
"toUpload": "to upload"
|
||||
},
|
||||
"error": {
|
||||
"title": "Something went wrong",
|
||||
"description": "An unexpected error occurred. Please try again.",
|
||||
"retry": "Try again",
|
||||
"toDashboard": "Go to Dashboard"
|
||||
},
|
||||
"pagination": {
|
||||
"previous": "Previous page",
|
||||
"next": "Next page"
|
||||
},
|
||||
"accountNotFoundCard": {
|
||||
"title": "Account not found",
|
||||
"description": "The requested account does not exist or you do not have permission to access it.",
|
||||
"action": "Go to Dashboard"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10,24 +10,61 @@
|
||||
},
|
||||
"pages": {
|
||||
"coursesTitle": "Courses",
|
||||
"coursesDescription": "Manage course catalogue",
|
||||
"newCourseTitle": "New Course",
|
||||
"newCourseDescription": "Create a course",
|
||||
"editCourseTitle": "Edit",
|
||||
"calendarTitle": "Course Calendar",
|
||||
"categoriesTitle": "Course Categories",
|
||||
"instructorsTitle": "Instructors",
|
||||
"locationsTitle": "Locations",
|
||||
"statisticsTitle": "Course Statistics"
|
||||
},
|
||||
"common": {
|
||||
"all": "All",
|
||||
"status": "Status",
|
||||
"previous": "Previous",
|
||||
"next": "Next",
|
||||
"page": "Page",
|
||||
"of": "of",
|
||||
"entries": "Entries",
|
||||
"yes": "Yes",
|
||||
"no": "No",
|
||||
"name": "Name",
|
||||
"email": "Email",
|
||||
"phone": "Phone",
|
||||
"date": "Date",
|
||||
"address": "Address",
|
||||
"room": "Room",
|
||||
"parent": "Parent",
|
||||
"description": "Description",
|
||||
"edit": "Edit"
|
||||
},
|
||||
"list": {
|
||||
"searchPlaceholder": "Search courses...",
|
||||
"title": "Courses ({count})",
|
||||
"title": "All Courses ({count})",
|
||||
"noCourses": "No courses found",
|
||||
"createFirst": "Create your first course to get started.",
|
||||
"courseNumber": "Course No.",
|
||||
"courseName": "Course Name",
|
||||
"courseName": "Name",
|
||||
"startDate": "Start",
|
||||
"endDate": "End",
|
||||
"participants": "Participants",
|
||||
"fee": "Fee"
|
||||
"fee": "Fee",
|
||||
"status": "Status",
|
||||
"capacity": "Capacity"
|
||||
},
|
||||
"stats": {
|
||||
"total": "Total",
|
||||
"active": "Active",
|
||||
"totalCourses": "Total Courses",
|
||||
"activeCourses": "Active Courses",
|
||||
"participants": "Participants",
|
||||
"completed": "Completed",
|
||||
"utilization": "Course Utilization",
|
||||
"distribution": "Distribution",
|
||||
"activeCoursesBadge": "Active Courses ({count})",
|
||||
"noActiveCourses": "No active courses this month."
|
||||
},
|
||||
"detail": {
|
||||
"notFound": "Course not found",
|
||||
@@ -37,7 +74,16 @@
|
||||
"viewAttendance": "View attendance",
|
||||
"noParticipants": "No participants yet.",
|
||||
"noSessions": "No sessions yet.",
|
||||
"addParticipant": "Add Participant"
|
||||
"addParticipant": "Add Participant",
|
||||
"edit": "Edit",
|
||||
"instructor": "Instructor",
|
||||
"dateRange": "Start – End",
|
||||
"viewAll": "View all",
|
||||
"attendance": "Attendance",
|
||||
"name": "Name",
|
||||
"email": "Email",
|
||||
"date": "Date",
|
||||
"cancelled": "Cancelled"
|
||||
},
|
||||
"form": {
|
||||
"basicData": "Basic Data",
|
||||
@@ -65,28 +111,54 @@
|
||||
"open": "Open",
|
||||
"running": "Running",
|
||||
"completed": "Completed",
|
||||
"cancelled": "Cancelled"
|
||||
"cancelled": "Cancelled",
|
||||
"active": "Active"
|
||||
},
|
||||
"enrollment": {
|
||||
"enrolled": "Enrolled",
|
||||
"waitlisted": "Waitlisted",
|
||||
"cancelled": "Cancelled",
|
||||
"completed": "Completed",
|
||||
"enrolledAt": "Enrolled on"
|
||||
"enrolledAt": "Enrolled on",
|
||||
"title": "Enrollment Status",
|
||||
"registrationDate": "Registration Date"
|
||||
},
|
||||
"participants": {
|
||||
"title": "Participants",
|
||||
"add": "Add Participant",
|
||||
"none": "No Participants",
|
||||
"noneDescription": "Register the first participant for this course.",
|
||||
"allTitle": "All Participants ({count})"
|
||||
},
|
||||
"attendance": {
|
||||
"title": "Attendance",
|
||||
"present": "Present",
|
||||
"absent": "Absent",
|
||||
"excused": "Excused",
|
||||
"session": "Session"
|
||||
"session": "Session",
|
||||
"noSessions": "No sessions yet",
|
||||
"noSessionsDescription": "Create sessions for this course first.",
|
||||
"selectSession": "Select Session",
|
||||
"attendanceList": "Attendance List",
|
||||
"selectSessionPrompt": "Please select a session"
|
||||
},
|
||||
"calendar": {
|
||||
"title": "Course Calendar",
|
||||
"courseDay": "Course Day",
|
||||
"free": "Free",
|
||||
"today": "Today",
|
||||
"weekdays": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
||||
"overview": "Overview of course dates",
|
||||
"activeCourses": "Active Courses ({count})",
|
||||
"noActiveCourses": "No active courses this month.",
|
||||
"weekdays": [
|
||||
"Mon",
|
||||
"Tue",
|
||||
"Wed",
|
||||
"Thu",
|
||||
"Fri",
|
||||
"Sat",
|
||||
"Sun"
|
||||
],
|
||||
"months": [
|
||||
"January",
|
||||
"February",
|
||||
@@ -100,21 +172,42 @@
|
||||
"October",
|
||||
"November",
|
||||
"December"
|
||||
]
|
||||
],
|
||||
"previousMonth": "Previous Month",
|
||||
"nextMonth": "Next Month",
|
||||
"backToCourses": "Back to Courses"
|
||||
},
|
||||
"categories": {
|
||||
"title": "Categories",
|
||||
"newCategory": "New Category",
|
||||
"noCategories": "No categories found."
|
||||
"noCategories": "No categories found.",
|
||||
"manage": "Manage course categories",
|
||||
"allTitle": "All Categories ({count})",
|
||||
"namePlaceholder": "e.g. Language Courses",
|
||||
"descriptionPlaceholder": "Short description"
|
||||
},
|
||||
"instructors": {
|
||||
"title": "Instructors",
|
||||
"newInstructor": "New Instructor",
|
||||
"noInstructors": "No instructors found."
|
||||
"noInstructors": "No instructors found.",
|
||||
"manage": "Manage instructor pool",
|
||||
"allTitle": "All Instructors ({count})",
|
||||
"qualification": "Qualification",
|
||||
"hourlyRate": "Hourly Rate",
|
||||
"firstNamePlaceholder": "First name",
|
||||
"lastNamePlaceholder": "Last name",
|
||||
"qualificationsPlaceholder": "e.g. Certified Trainer, First Aid Instructor"
|
||||
},
|
||||
"locations": {
|
||||
"title": "Locations",
|
||||
"newLocation": "New Location",
|
||||
"noLocations": "No locations found."
|
||||
"noLocations": "No locations found.",
|
||||
"manage": "Manage course and event locations",
|
||||
"allTitle": "All Locations ({count})",
|
||||
"noLocationsDescription": "Add your first venue.",
|
||||
"newLocationLabel": "New Location",
|
||||
"namePlaceholder": "e.g. Club House",
|
||||
"addressPlaceholder": "123 Main St, Springfield",
|
||||
"roomPlaceholder": "e.g. Room 101"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -52,7 +52,8 @@
|
||||
"full": "Full",
|
||||
"running": "Running",
|
||||
"completed": "Completed",
|
||||
"cancelled": "Cancelled"
|
||||
"cancelled": "Cancelled",
|
||||
"registration_open": "Registration Open"
|
||||
},
|
||||
"registrationStatus": {
|
||||
"pending": "Pending",
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"invoices": {
|
||||
"title": "Invoices",
|
||||
"newInvoice": "New Invoice",
|
||||
"newInvoiceDesc": "Create invoice with line items",
|
||||
"noInvoices": "No invoices found",
|
||||
"createFirst": "Create your first invoice.",
|
||||
"invoiceNumber": "Invoice No.",
|
||||
@@ -25,7 +26,14 @@
|
||||
"issueDate": "Issue Date",
|
||||
"dueDate": "Due Date",
|
||||
"amount": "Amount",
|
||||
"notFound": "Invoice not found"
|
||||
"notFound": "Invoice not found",
|
||||
"detailTitle": "Invoice Details",
|
||||
"backToList": "Back to Invoices",
|
||||
"invoiceLabel": "Invoice {number}",
|
||||
"unitPriceCol": "Unit Price",
|
||||
"totalCol": "Total",
|
||||
"subtotalLabel": "Subtotal",
|
||||
"noItems": "No line items found."
|
||||
},
|
||||
"invoiceForm": {
|
||||
"title": "Invoice Details",
|
||||
@@ -61,6 +69,7 @@
|
||||
"sepa": {
|
||||
"title": "SEPA Batches",
|
||||
"newBatch": "New Batch",
|
||||
"newBatchDesc": "Create SEPA direct debit batch",
|
||||
"noBatches": "No SEPA batches found",
|
||||
"createFirst": "Create your first SEPA batch.",
|
||||
"directDebit": "Direct Debit",
|
||||
@@ -69,7 +78,12 @@
|
||||
"totalAmount": "Total Amount",
|
||||
"itemCount": "Items",
|
||||
"downloadXml": "Download XML",
|
||||
"notFound": "Batch not found"
|
||||
"notFound": "Batch not found",
|
||||
"detailTitle": "SEPA Batch Details",
|
||||
"backToList": "Back to SEPA Batches",
|
||||
"itemCountLabel": "Count",
|
||||
"noItems": "No items found.",
|
||||
"batchFallbackName": "SEPA Batch"
|
||||
},
|
||||
"sepaBatchForm": {
|
||||
"title": "Create SEPA Batch",
|
||||
@@ -88,26 +102,62 @@
|
||||
"ready": "Ready",
|
||||
"submitted": "Submitted",
|
||||
"executed": "Executed",
|
||||
"completed": "Completed",
|
||||
"failed": "Failed",
|
||||
"cancelled": "Cancelled"
|
||||
},
|
||||
"sepaItemStatus": {
|
||||
"pending": "Pending",
|
||||
"success": "Processed",
|
||||
"processed": "Processed",
|
||||
"failed": "Failed",
|
||||
"rejected": "Rejected"
|
||||
},
|
||||
"payments": {
|
||||
"title": "Payment Overview",
|
||||
"subtitle": "Summary of all payments and outstanding amounts",
|
||||
"paidInvoices": "Paid Invoices",
|
||||
"openInvoices": "Open Invoices",
|
||||
"overdueInvoices": "Overdue Invoices",
|
||||
"sepaBatches": "SEPA Batches"
|
||||
"sepaBatches": "SEPA Batches",
|
||||
"statPaid": "Paid",
|
||||
"statOpen": "Open",
|
||||
"statOverdue": "Overdue",
|
||||
"batchUnit": "batches",
|
||||
"viewInvoices": "View Invoices",
|
||||
"viewBatches": "View Batches",
|
||||
"invoicesOpenSummary": "{count} invoices totaling {total} are open.",
|
||||
"noOpenInvoices": "No open invoices.",
|
||||
"batchSummary": "{count} SEPA batches totaling {total}.",
|
||||
"noBatchesFound": "No SEPA batches found."
|
||||
},
|
||||
"common": {
|
||||
"cancel": "Cancel",
|
||||
"creating": "Creating...",
|
||||
"membershipFee": "Membership Fee",
|
||||
"sepaDirectDebit": "SEPA Direct Debit"
|
||||
"sepaDirectDebit": "SEPA Direct Debit",
|
||||
"showAll": "Show All",
|
||||
"page": "Page",
|
||||
"of": "of",
|
||||
"noData": "No data",
|
||||
"amount": "Amount",
|
||||
"status": "Status",
|
||||
"previous": "Previous",
|
||||
"next": "Next",
|
||||
"type": "Type",
|
||||
"date": "Date",
|
||||
"description": "Description"
|
||||
},
|
||||
"status": {
|
||||
"draft": "Draft",
|
||||
"sent": "Sent",
|
||||
"paid": "Paid",
|
||||
"overdue": "Overdue",
|
||||
"cancelled": "Cancelled",
|
||||
"credited": "Credited",
|
||||
"submitted": "Submitted",
|
||||
"processing": "Processing",
|
||||
"completed": "Completed",
|
||||
"failed": "Failed"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,14 @@
|
||||
"pages": {
|
||||
"overviewTitle": "Meeting Protocols",
|
||||
"protocolsTitle": "Meeting Protocols - Protocols",
|
||||
"tasksTitle": "Meeting Protocols - Tasks"
|
||||
"tasksTitle": "Meeting Protocols - Tasks",
|
||||
"newProtocolTitle": "New Protocol",
|
||||
"protocolDetailTitle": "Meeting Protocol",
|
||||
"notFound": "Protocol not found",
|
||||
"backToList": "Back to list",
|
||||
"back": "Back",
|
||||
"statusPublished": "Published",
|
||||
"statusDraft": "Draft"
|
||||
},
|
||||
"dashboard": {
|
||||
"title": "Meeting Protocols – Overview",
|
||||
@@ -77,4 +84,4 @@
|
||||
"committee": "Committee Meeting",
|
||||
"other": "Other"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,8 @@
|
||||
"departments": "Departments",
|
||||
"cards": "Member Cards",
|
||||
"import": "Import",
|
||||
"statistics": "Statistics"
|
||||
"statistics": "Statistics",
|
||||
"invitations": "Portal Invitations"
|
||||
},
|
||||
"list": {
|
||||
"searchPlaceholder": "Search name, email, or member no...",
|
||||
@@ -57,6 +58,8 @@
|
||||
"form": {
|
||||
"createTitle": "Create New Member",
|
||||
"editTitle": "Edit Member",
|
||||
"newMemberTitle": "New Member",
|
||||
"newMemberDescription": "Add member manually",
|
||||
"created": "Member created successfully",
|
||||
"updated": "Member updated",
|
||||
"errorCreating": "Error creating member",
|
||||
@@ -72,8 +75,15 @@
|
||||
"excluded": "Excluded",
|
||||
"deceased": "Deceased"
|
||||
},
|
||||
"invitations": {
|
||||
"title": "Portal Invitations",
|
||||
"subtitle": "Manage invitations to the member portal",
|
||||
"emailPlaceholder": "Enter email address...",
|
||||
"emptyDescription": "Send the first invitation to the member portal."
|
||||
},
|
||||
"applications": {
|
||||
"title": "Membership Applications ({count})",
|
||||
"subtitle": "Process membership applications",
|
||||
"noApplications": "No pending applications",
|
||||
"approve": "Approve",
|
||||
"reject": "Reject",
|
||||
@@ -87,6 +97,7 @@
|
||||
},
|
||||
"dues": {
|
||||
"title": "Dues Categories",
|
||||
"subtitle": "Manage membership fees",
|
||||
"name": "Name",
|
||||
"description": "Description",
|
||||
"amount": "Amount",
|
||||
@@ -121,12 +132,35 @@
|
||||
},
|
||||
"departments": {
|
||||
"title": "Departments",
|
||||
"subtitle": "Manage sections and departments",
|
||||
"noDepartments": "No departments found.",
|
||||
"createFirst": "Create your first department.",
|
||||
"newDepartment": "New Department"
|
||||
"newDepartment": "New Department",
|
||||
"name": "Name",
|
||||
"namePlaceholder": "e.g. Youth Division",
|
||||
"description": "Description",
|
||||
"descriptionPlaceholder": "Short description",
|
||||
"actions": "Actions",
|
||||
"created": "Department created",
|
||||
"createError": "Failed to create department",
|
||||
"createDialogDescription": "Create a new department or section for your organization.",
|
||||
"descriptionLabel": "Description (optional)",
|
||||
"creating": "Creating...",
|
||||
"create": "Create",
|
||||
"deleteTitle": "Delete department?",
|
||||
"deleteConfirm": "\"{name}\" will be permanently deleted. Members of this department will no longer be assigned to any department.",
|
||||
"delete": "Delete",
|
||||
"deleteAria": "Delete department",
|
||||
"cancel": "Cancel"
|
||||
},
|
||||
"cards": {
|
||||
"title": "Member Cards",
|
||||
"subtitle": "Create and manage member cards",
|
||||
"noMembers": "No active members",
|
||||
"noMembersDesc": "Create members first to generate cards.",
|
||||
"inDevelopment": "Feature in Development",
|
||||
"inDevelopmentDesc": "Card generation for {count} active members is currently in development. This feature will be available in an upcoming update.",
|
||||
"manageMembersLabel": "Manage members",
|
||||
"memberCard": "MEMBER CARD",
|
||||
"memberSince": "Member since",
|
||||
"validUntil": "Valid until",
|
||||
@@ -135,6 +169,7 @@
|
||||
},
|
||||
"import": {
|
||||
"title": "Import Members",
|
||||
"subtitle": "Import from CSV file",
|
||||
"selectFile": "Select CSV file",
|
||||
"mapColumns": "Map columns",
|
||||
"preview": "Preview",
|
||||
@@ -165,4 +200,4 @@
|
||||
"bic": "BIC",
|
||||
"accountHolder": "Account Holder"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42,7 +42,10 @@
|
||||
"scheduledDate": "Scheduled Send (optional)",
|
||||
"scheduleHelp": "Leave empty to save the newsletter as a draft.",
|
||||
"created": "Newsletter created successfully",
|
||||
"errorCreating": "Error creating newsletter"
|
||||
"errorCreating": "Error creating newsletter",
|
||||
"editTitle": "Edit Newsletter",
|
||||
"newTitle": "New Newsletter",
|
||||
"newDescription": "Create newsletter campaign"
|
||||
},
|
||||
"templates": {
|
||||
"title": "Newsletter Templates",
|
||||
@@ -60,7 +63,9 @@
|
||||
"scheduled": "Scheduled",
|
||||
"sending": "Sending",
|
||||
"sent": "Sent",
|
||||
"failed": "Failed"
|
||||
"failed": "Failed",
|
||||
"pending": "Pending",
|
||||
"bounced": "Bounced"
|
||||
},
|
||||
"recipientStatus": {
|
||||
"pending": "Pending",
|
||||
@@ -71,6 +76,8 @@
|
||||
"common": {
|
||||
"cancel": "Cancel",
|
||||
"creating": "Creating...",
|
||||
"create": "Create Newsletter"
|
||||
"create": "Create Newsletter",
|
||||
"previous": "Previous",
|
||||
"next": "Next"
|
||||
}
|
||||
}
|
||||
}
|
||||
79
apps/web/i18n/messages/en/portal.json
Normal file
79
apps/web/i18n/messages/en/portal.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"home": {
|
||||
"membersArea": "Members Area",
|
||||
"welcome": "Welcome",
|
||||
"welcomeUser": "Welcome, {name}!",
|
||||
"backToWebsite": "← Website",
|
||||
"backToPortal": "← Back to Portal",
|
||||
"backToWebsiteFull": "← Back to Website",
|
||||
"orgNotFound": "Organisation not found",
|
||||
"profile": "My Profile",
|
||||
"profileDesc": "Contact details and privacy",
|
||||
"documents": "Documents",
|
||||
"documentsDesc": "Invoices and certificates",
|
||||
"memberCard": "Membership Card",
|
||||
"memberCardDesc": "View digitally"
|
||||
},
|
||||
"invite": {
|
||||
"invalidTitle": "Invitation invalid",
|
||||
"invalidDesc": "This invitation has expired, has already been used, or is invalid. Please contact your club administrator.",
|
||||
"expiredTitle": "Invitation expired",
|
||||
"expiredDesc": "This invitation expired on {date}. Please request a new invitation.",
|
||||
"title": "Invitation to the Members Area",
|
||||
"invitedDesc": "You have been invited to create an account for the members area. This allows you to view your profile, download documents, and manage your privacy settings.",
|
||||
"emailLabel": "Email Address",
|
||||
"emailNote": "Your email address was provided by the club.",
|
||||
"passwordLabel": "Set password *",
|
||||
"passwordPlaceholder": "At least 8 characters",
|
||||
"passwordConfirmLabel": "Repeat password *",
|
||||
"passwordConfirmPlaceholder": "Confirm password",
|
||||
"submit": "Create account & accept invitation",
|
||||
"hasAccount": "Already have an account?",
|
||||
"login": "Log in",
|
||||
"backToWebsite": "← To Website"
|
||||
},
|
||||
"profile": {
|
||||
"title": "My Profile",
|
||||
"noMemberTitle": "No Member",
|
||||
"noMemberDesc": "Your user account is not linked to a member profile in this club. Please contact your club administrator.",
|
||||
"back": "← Back",
|
||||
"memberSince": "No. {number} — Member since {date}",
|
||||
"contactData": "Contact Details",
|
||||
"firstName": "First Name",
|
||||
"lastName": "Last Name",
|
||||
"email": "Email",
|
||||
"phone": "Phone",
|
||||
"mobile": "Mobile",
|
||||
"address": "Address",
|
||||
"street": "Street",
|
||||
"houseNumber": "House Number",
|
||||
"postalCode": "Postal Code",
|
||||
"city": "City",
|
||||
"loginMethods": "Login Methods",
|
||||
"privacy": "Privacy Consents",
|
||||
"gdprNewsletter": "Newsletter by email",
|
||||
"gdprInternet": "Publication on the homepage",
|
||||
"gdprPrint": "Publication in the club newsletter",
|
||||
"gdprBirthday": "Birthday info for members",
|
||||
"saveChanges": "Save Changes"
|
||||
},
|
||||
"documents": {
|
||||
"title": "My Documents",
|
||||
"subtitle": "Documents and invoices",
|
||||
"available": "Available Documents",
|
||||
"empty": "No documents available",
|
||||
"typeInvoice": "Invoice",
|
||||
"typeDocument": "Document",
|
||||
"statusPaid": "Paid",
|
||||
"statusOpen": "Open",
|
||||
"statusSigned": "Signed",
|
||||
"downloadPdf": "PDF"
|
||||
},
|
||||
"linkedAccounts": {
|
||||
"title": "Disconnect account?",
|
||||
"disconnectDesc": "Your social login account will be disconnected. You can still log in with email and password.",
|
||||
"connect": "Link account for faster login",
|
||||
"disconnect": "Disconnect",
|
||||
"cancel": "Cancel"
|
||||
}
|
||||
}
|
||||
@@ -7,6 +7,7 @@
|
||||
"pages": {
|
||||
"title": "Pages",
|
||||
"newPage": "New Page",
|
||||
"newPageDescription": "Create a page for your club website",
|
||||
"noPages": "No pages found",
|
||||
"createFirst": "Create your first page.",
|
||||
"pageTitle": "Page Title *",
|
||||
@@ -18,21 +19,65 @@
|
||||
"errorCreating": "Error creating page",
|
||||
"notFound": "Page not found",
|
||||
"published": "Page published",
|
||||
"error": "Error"
|
||||
"error": "Error",
|
||||
"colTitle": "Title",
|
||||
"colUrl": "URL",
|
||||
"colStatus": "Status",
|
||||
"colHomepage": "Homepage",
|
||||
"colUpdated": "Updated",
|
||||
"colActions": "Actions",
|
||||
"statusPublished": "Published",
|
||||
"statusDraft": "Draft",
|
||||
"homepageLabel": "Homepage",
|
||||
"edit": "Edit",
|
||||
"totalPages": "Pages",
|
||||
"totalPublished": "Published",
|
||||
"statusLabel": "Status",
|
||||
"online": "Online",
|
||||
"offline": "Offline",
|
||||
"firstPage": "Create First Page",
|
||||
"noPageDesc": "Create your first page with the visual editor.",
|
||||
"noPagesYet": "No pages yet",
|
||||
"hide": "Hide",
|
||||
"publish": "Publish",
|
||||
"hideTitle": "Hide page?",
|
||||
"publishTitle": "Publish page?",
|
||||
"hideDesc": "The page will no longer be visible to visitors.",
|
||||
"publishDesc": "The page will be publicly visible on your club website.",
|
||||
"toggleError": "Could not change status.",
|
||||
"cancelAction": "Cancel"
|
||||
},
|
||||
"site": {
|
||||
"viewSite": "View Site",
|
||||
"stats": {
|
||||
"pages": "Pages",
|
||||
"published": "Published",
|
||||
"status": "Status"
|
||||
}
|
||||
},
|
||||
"posts": {
|
||||
"title": "Posts",
|
||||
"newPost": "New Post",
|
||||
"newPostDescription": "Create a post",
|
||||
"noPosts": "No posts found",
|
||||
"createFirst": "Create your first post.",
|
||||
"postTitle": "Title *",
|
||||
"content": "Post content (HTML allowed)...",
|
||||
"excerpt": "Excerpt",
|
||||
"postCreated": "Post created",
|
||||
"errorCreating": "Error"
|
||||
"errorCreating": "Error",
|
||||
"colTitle": "Title",
|
||||
"colStatus": "Status",
|
||||
"colCreated": "Created",
|
||||
"manage": "Manage news and articles",
|
||||
"noPosts2": "No posts",
|
||||
"noPostDesc": "Create your first post.",
|
||||
"createPostLabel": "Create Post"
|
||||
},
|
||||
"settings": {
|
||||
"title": "Settings",
|
||||
"title": "Website Settings",
|
||||
"siteTitle": "Settings",
|
||||
"description": "Design and contact details",
|
||||
"saved": "Settings saved",
|
||||
"error": "Error"
|
||||
},
|
||||
@@ -49,5 +94,11 @@
|
||||
"events": "Events",
|
||||
"loginError": "Login error",
|
||||
"connectionError": "Connection error"
|
||||
},
|
||||
"dashboard": {
|
||||
"title": "Site Builder",
|
||||
"description": "Manage your club website",
|
||||
"btnSettings": "Settings",
|
||||
"btnPosts": "Posts ({count})"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user