feat: i18n, language switcher fix, DataTable improvements, blade translations
- Translation system: lang/es/ PHP files (auth, validation, pagination, passwords)
- Rappasoft vendor translations published (lang/vendor/livewire-tables/es/)
- JSON files synced to 391 keys (EN + ES, full parity)
- APP_LOCALE changed to 'es', users.locale column default changed to 'es'
- Language switcher fixed: JS event + window.location.reload() avoids /livewire/update redirect
- SetLocale middleware fallback uses config('app.locale') instead of hardcoded 'en'
- setSortingPillsEnabled(false) on ProjectTable, CompanyTable, UserTable
- Translated 17 blade views: project-map, template-manager, layer-manager,
company-management, phase-list, media-manager, reports-dashboard,
client-projects, layer-upload, project-form, project-map-editor-tab,
admin/users, projects/media, projects/templates, layouts/client
- Navigation 'Empresas' link uses __('Companies')
- Fixed typo key 'Fases and layers' -> 'Phases and layers'
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+252
-2
@@ -128,7 +128,7 @@
|
||||
"Longitude": "Longitude",
|
||||
"Register inspection": "Register inspection",
|
||||
"Files of element": "Files of element",
|
||||
"Fases and layers": "Phases and layers",
|
||||
"Phases and layers": "Phases and layers",
|
||||
"Elements": "Elements",
|
||||
"optional": "optional",
|
||||
"each": "each",
|
||||
@@ -145,5 +145,255 @@
|
||||
"Viewer": "Viewer",
|
||||
"Remove": "Remove",
|
||||
"No users assigned yet": "No users assigned yet",
|
||||
"Select": "Select"
|
||||
"Select": "Select",
|
||||
"Log Out": "Log Out",
|
||||
"Company": "Company",
|
||||
"Companies": "Companies",
|
||||
"Company Management": "Company Management",
|
||||
"New Company": "New Company",
|
||||
"Edit Company": "Edit Company",
|
||||
"Delete Company": "Delete Company",
|
||||
"User Management": "User Management",
|
||||
"New User": "New User",
|
||||
"Edit User": "Edit User",
|
||||
"Delete User": "Delete User",
|
||||
"Reference": "Reference",
|
||||
"Contact": "Contact",
|
||||
"Verified": "Verified",
|
||||
"Type": "Type",
|
||||
"Owner": "Owner",
|
||||
"Constructor": "Constructor",
|
||||
"Subcontractor": "Subcontractor",
|
||||
"Supplier": "Supplier",
|
||||
"No role": "No role",
|
||||
"Active": "Active",
|
||||
"Inactive": "Inactive",
|
||||
"Suspended": "Suspended",
|
||||
"Start Date": "Start Date",
|
||||
"Est. End": "Est. End",
|
||||
"Issue": "Issue",
|
||||
"Issues": "Issues",
|
||||
"New Issue": "New Issue",
|
||||
"Open": "Open",
|
||||
"Resolved": "Resolved",
|
||||
"Closed": "Closed",
|
||||
"Priority": "Priority",
|
||||
"High": "High",
|
||||
"Medium": "Medium",
|
||||
"Low": "Low",
|
||||
"Gantt": "Gantt",
|
||||
"Report": "Report",
|
||||
"Reports": "Reports",
|
||||
"Created at": "Created at",
|
||||
"Updated at": "Updated at",
|
||||
"Confirm delete": "Confirm delete",
|
||||
"This action cannot be undone": "This action cannot be undone",
|
||||
"No data": "No data",
|
||||
"Export CSV": "Export CSV",
|
||||
"Export PDF": "Export PDF",
|
||||
"Planned": "Planned",
|
||||
"Started": "Started",
|
||||
"Map filters": "Map filters",
|
||||
"Progress: :min% – :max%": "Progress: :min% – :max%",
|
||||
"Clear": "Clear",
|
||||
"Hide panel": "Hide panel",
|
||||
"Show phases and layers": "Show phases and layers",
|
||||
"Show images": "Show images",
|
||||
"Schedule": "Schedule",
|
||||
"Center map": "Center map",
|
||||
"Select element": "Select element",
|
||||
"Search by name, phase or layer...": "Search by name, phase or layer...",
|
||||
"Element status": "Element status",
|
||||
"Notes": "Notes",
|
||||
"Result": "Result",
|
||||
"No result": "No result",
|
||||
"Approved": "Approved",
|
||||
"Conditional": "Conditional",
|
||||
"Failed": "Failed",
|
||||
"Registered data": "Registered data",
|
||||
"Inspection #:id": "Inspection #:id",
|
||||
"Layer / Phase": "Layer / Phase",
|
||||
"No templates (info)": "No templates.",
|
||||
"Create one": "Create one",
|
||||
"Click on a map element or search above to edit it": "Click on a map element or search above to edit it",
|
||||
"Date": "Date",
|
||||
"Inspector": "Inspector",
|
||||
"View detail": "View detail",
|
||||
"No inspections registered": "No inspections registered",
|
||||
"No elements in this project": "No elements in this project",
|
||||
"Inspections": "Inspections",
|
||||
"Project data": "Project data",
|
||||
"Team": "Team",
|
||||
"Save changes": "Save changes",
|
||||
"Create project": "Create project",
|
||||
"Identification": "Identification",
|
||||
"Location": "Location",
|
||||
"Click on the map or drag the marker to update the location": "Click on the map or drag the marker to update the location",
|
||||
"Coordinates": "Coordinates",
|
||||
"Auto when clicking the map": "Auto when clicking the map",
|
||||
"No country": "No country",
|
||||
"Search country...": "Search country...",
|
||||
"Inspection templates": "Inspection templates",
|
||||
"Import CSV/Excel": "Import CSV/Excel",
|
||||
"Copy from project": "Copy from project",
|
||||
"New template": "New template",
|
||||
"Edit template": "Edit template",
|
||||
"Template name": "Template name",
|
||||
"Associated phase (optional)": "Associated phase (optional)",
|
||||
"Global project": "Global project",
|
||||
"Form fields": "Form fields",
|
||||
"field(s)": "field(s)",
|
||||
"Internal name": "Internal name",
|
||||
"Visible label": "Visible label",
|
||||
"Remove field": "Remove field",
|
||||
"Min": "Min",
|
||||
"Max": "Max",
|
||||
"Step": "Step",
|
||||
"Options (comma separated)": "Options (comma separated)",
|
||||
"Add field": "Add field",
|
||||
"Save template": "Save template",
|
||||
"No templates yet (table)": "No templates. Use the buttons above to create or import.",
|
||||
"Delete template confirmation": "Delete this template? This action cannot be undone.",
|
||||
"Import template from CSV / Excel": "Import template from CSV / Excel",
|
||||
"File format (one row = one field):": "File format (one row = one field):",
|
||||
"Download example": "Download example",
|
||||
"CSV or Excel file": "CSV or Excel file",
|
||||
"Loading file...": "Loading file...",
|
||||
"Preview": "Preview",
|
||||
"Change file": "Change file",
|
||||
"Create template (action)": "Create template",
|
||||
"field(s) detected": "field(s) detected",
|
||||
"Copy template from another project": "Copy template from another project",
|
||||
"Source project": "Source project",
|
||||
"Select project...": "Select project...",
|
||||
"This project has no templates.": "This project has no templates.",
|
||||
"Select the templates to copy": "Select the templates to copy",
|
||||
"selected": "selected",
|
||||
"Select a project to see its templates.": "Select a project to see its templates.",
|
||||
"Copy": "Copy",
|
||||
"Back to map": "Back to map",
|
||||
"Import": "Import",
|
||||
"or": "or",
|
||||
"Layers (:count)": "Layers (:count)",
|
||||
"No layers. Create or import one.": "No layers. Create or import one.",
|
||||
"elem.": "elem.",
|
||||
"Export": "Export",
|
||||
"Bulk assignment": "Bulk assignment",
|
||||
"Apply template or status to all elements of :layer": "Apply template or status to all elements of :layer",
|
||||
"No change": "No change",
|
||||
"Apply to all": "Apply to all",
|
||||
"Apply changes to all elements of this layer?": "Apply changes to all elements of this layer?",
|
||||
"Element editor": "Element editor",
|
||||
"Select a layer to edit": "Select a layer to edit",
|
||||
"Delayed phases": "Delayed phases",
|
||||
"Needs attention": "Needs attention",
|
||||
"No delays": "No delays",
|
||||
"phases": "phases",
|
||||
"Open issues": "Open issues",
|
||||
"critical": "critical",
|
||||
"Pending inspections": "Pending inspections",
|
||||
"To do": "To do",
|
||||
"Completed inspections": "Completed inspections",
|
||||
"Rejected inspections": "Rejected inspections",
|
||||
"Need review": "Need review",
|
||||
"View all": "View all",
|
||||
"No projects available": "No projects available",
|
||||
"phase": "phase",
|
||||
"Recent issues": "Recent issues",
|
||||
"No open issues": "No open issues",
|
||||
"No recent inspections": "No recent inspections",
|
||||
"User": "User",
|
||||
"No users found": "No users found",
|
||||
"No companies assigned yet": "No companies assigned yet",
|
||||
"Select template...": "Select template...",
|
||||
"Observations...": "Observations...",
|
||||
"by": "by",
|
||||
"ago": "ago",
|
||||
"No inspections yet for this element": "No inspections yet for this element",
|
||||
"Inspection History": "Inspection History",
|
||||
"View": "View",
|
||||
"Media for this element": "Media for this element",
|
||||
"No media for this element yet": "No media for this element yet",
|
||||
"Project Media": "Project Media",
|
||||
"No project media yet": "No project media yet",
|
||||
"Feature:": "Element:",
|
||||
"Inspection:": "Inspection:",
|
||||
"Project Data": "Project Data",
|
||||
"Name of responsible": "Name of responsible",
|
||||
"Reports and Analytics": "Reports and Analytics",
|
||||
"Time range:": "Time range:",
|
||||
"This week": "This week",
|
||||
"This month": "This month",
|
||||
"This quarter": "This quarter",
|
||||
"This year": "This year",
|
||||
"Project Progress (last 6 months)": "Project Progress (last 6 months)",
|
||||
"Inspections by Type": "Inspections by Type",
|
||||
"Projects by Status": "Projects by Status",
|
||||
"Average Progress by Project": "Average Progress by Project",
|
||||
"Total Active Projects": "Total Active Projects",
|
||||
"Inspections This Month": "Inspections This Month",
|
||||
"Average Progress": "Average Progress",
|
||||
"Completed Projects": "Completed Projects",
|
||||
"Loading data...": "Loading data...",
|
||||
"Optional": "Optional",
|
||||
"Expand layers": "Expand layers",
|
||||
"New user": "New user",
|
||||
"Search by name or email...": "Search by name or email...",
|
||||
"No users found (table)": "No users found",
|
||||
"Select element (label)": "Select element",
|
||||
"Search by name, layer or phase...": "Search by name, layer or phase...",
|
||||
"No elements found": "No elements found",
|
||||
"No media yet": "No media yet",
|
||||
"Manage the companies that participate in projects": "Manage the companies that participate in projects",
|
||||
"Search companies by name or tax ID...": "Search companies by name or tax ID...",
|
||||
"Complete the company information. Fields marked with * are required.": "Complete the company information. Fields marked with * are required.",
|
||||
"Validation errors": "Validation errors",
|
||||
"Tax ID": "Tax ID",
|
||||
"E.g.: B12345678": "E.g.: B12345678",
|
||||
"Nickname": "Nickname",
|
||||
"E.g.: Acme Construct": "E.g.: Acme Construct",
|
||||
"Select a status": "Select a status",
|
||||
"Company Type": "Company Type",
|
||||
"Select a type": "Select a type",
|
||||
"Phone": "Phone",
|
||||
"Website": "Website",
|
||||
"Company Logo": "Company Logo",
|
||||
"Select file...": "Select file...",
|
||||
"Logo preview": "Logo preview",
|
||||
"Additional notes": "Additional notes",
|
||||
"No companies registered. Create your first company using the button above.": "No companies registered. Create your first company using the button above.",
|
||||
"Logo of": "Logo of",
|
||||
"No tax ID": "No tax ID",
|
||||
"Delete company confirmation": "Delete this company? This action cannot be undone.",
|
||||
"Company list": "Company list",
|
||||
"Add Phase": "Add Phase",
|
||||
"Update": "Update",
|
||||
"Delete file confirmation": "Delete this file? This action cannot be undone.",
|
||||
"Back to map": "Back to map",
|
||||
"Create generic templates that can be used in any phase of the project": "Create generic templates that can be used in any phase of the project",
|
||||
"In Progress": "In Progress",
|
||||
"Select a project to see its templates.": "Select a project to see its templates.",
|
||||
"Select a project to view details": "Select a project to view details",
|
||||
"No description available": "No description available",
|
||||
"completed": "completed",
|
||||
"Back to projects": "Back to projects",
|
||||
"Not defined": "Not defined",
|
||||
"Progress overview": "Progress overview",
|
||||
"General progress": "General progress",
|
||||
"Progress by phase": "Progress by phase",
|
||||
"No phases defined for this project": "No phases defined for this project",
|
||||
"Progress gallery": "Progress gallery",
|
||||
"Change orders": "Change orders",
|
||||
"Requested": "Requested",
|
||||
"Amount": "Amount",
|
||||
"Approve": "Approve",
|
||||
"Reject": "Reject",
|
||||
"No pending change orders": "No pending change orders",
|
||||
"Pending": "Pending",
|
||||
"Total": "Total",
|
||||
"Inspections": "Inspections",
|
||||
"My Projects": "My Projects",
|
||||
"Editable": "Editable",
|
||||
"Name of responsible": "Name of responsible",
|
||||
"Select template...": "Select template..."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user