fix/traduccion-bitacora
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
"$schema": "https://inlang.com/schema/inlang-message-format",
|
||||
"hello_world": "Hello, {name} from en!",
|
||||
"sidebar": {
|
||||
"dashboard": "Dashboard",
|
||||
"reference_data": {
|
||||
"title": "Fixed Catalogs",
|
||||
"codes_pedimento_regimen": "Pedimento and Regime Codes",
|
||||
@@ -62,7 +63,8 @@
|
||||
"prevalidators": "Prevalidators",
|
||||
"electronic_notices": "Electronic Notices",
|
||||
"back_flush": "Back Flush",
|
||||
"crossing_notice": "Crossing Notice"
|
||||
"crossing_notice": "Crossing Notice",
|
||||
"customs_broker_concepts": "Customs Broker Concepts"
|
||||
},
|
||||
"fractions": {
|
||||
"title": "Fractions",
|
||||
@@ -185,6 +187,22 @@
|
||||
"profile": "Profile",
|
||||
"settings": "Settings",
|
||||
"logout": "Logout"
|
||||
},
|
||||
"transports": {
|
||||
"title": "Transportation",
|
||||
"transporters": "Carriers",
|
||||
"drivers": "Drivers",
|
||||
"trailers": "Trailers",
|
||||
"vehicles": "Vehicles"
|
||||
},
|
||||
"reports": {
|
||||
"title": "Reports",
|
||||
"invoices": "Impo/Expo Invoices",
|
||||
"downloaded_parts": "Downloaded Parts",
|
||||
"expiration": "Expiration Report"
|
||||
},
|
||||
"settings": {
|
||||
"general": "General"
|
||||
}
|
||||
},
|
||||
"invoice_list": {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"$schema": "https://inlang.com/schema/inlang-message-format",
|
||||
"hello_world": "Hello, {name} from es!",
|
||||
"sidebar": {
|
||||
"dashboard": "Dashboard",
|
||||
"reference_data": {
|
||||
"title": "Catálogos Fijos",
|
||||
"codes_pedimento_regimen": "Códigos de Pedimento y Régimen",
|
||||
@@ -62,7 +63,8 @@
|
||||
"prevalidators": "Prevalidadores",
|
||||
"electronic_notices": "Avisos electrónicos",
|
||||
"back_flush": "Back Flush",
|
||||
"crossing_notice": "Aviso de cruce"
|
||||
"crossing_notice": "Aviso de cruce",
|
||||
"customs_broker_concepts": "Conceptos de Agente Aduanal"
|
||||
},
|
||||
"fractions": {
|
||||
"title": "Fracciones",
|
||||
@@ -184,6 +186,22 @@
|
||||
"nav_user": {
|
||||
"profile": "Perfil",
|
||||
"settings": "Configuración"
|
||||
},
|
||||
"transports": {
|
||||
"title": "Transportes",
|
||||
"transporters": "Transportistas",
|
||||
"drivers": "Conductores",
|
||||
"trailers": "Trailers",
|
||||
"vehicles": "Vehículos"
|
||||
},
|
||||
"reports": {
|
||||
"title": "Reportes",
|
||||
"invoices": "Facturas Impo/Expo",
|
||||
"downloaded_parts": "Partes descargadas",
|
||||
"expiration": "Reporte de Vencimiento"
|
||||
},
|
||||
"settings": {
|
||||
"general": "General"
|
||||
}
|
||||
},
|
||||
"invoice_list": {
|
||||
|
||||
@@ -77,7 +77,7 @@ export function getSidebarData(): SidebarData {
|
||||
],
|
||||
navMain: [
|
||||
{
|
||||
title: "Dashboard",
|
||||
title: m["sidebar.dashboard"](),
|
||||
url: "/dashboard",
|
||||
icon: LayoutDashboard,
|
||||
items: [],
|
||||
@@ -187,7 +187,7 @@ export function getSidebarData(): SidebarData {
|
||||
url: "/dashboard/general_catalogs/concepts",
|
||||
},
|
||||
{
|
||||
title: "Conceptos de Agente Aduanal",
|
||||
title: m["sidebar.general_catalogs.customs_broker_concepts"](),
|
||||
url: "/dashboard/general_catalogs/customs_broker_concepts",
|
||||
},
|
||||
{
|
||||
@@ -333,24 +333,24 @@ export function getSidebarData(): SidebarData {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Transportes",
|
||||
title: m["sidebar.transports.title"](),
|
||||
url: "#",
|
||||
icon: Truck,
|
||||
items: [
|
||||
{
|
||||
title: "Transportistas",
|
||||
title: m["sidebar.transports.transporters"](),
|
||||
url: "/dashboard/general_catalogs/transporters",
|
||||
},
|
||||
{
|
||||
title: "Conductores",
|
||||
title: m["sidebar.transports.drivers"](),
|
||||
url: "/dashboard/general_catalogs/drivers",
|
||||
},
|
||||
{
|
||||
title: "Trailers",
|
||||
title: m["sidebar.transports.trailers"](),
|
||||
url: "/dashboard/general_catalogs/trailers",
|
||||
},
|
||||
{
|
||||
title: "Vehículos",
|
||||
title: m["sidebar.transports.vehicles"](),
|
||||
url: "/dashboard/general_catalogs/vehicles",
|
||||
},
|
||||
],
|
||||
@@ -500,20 +500,20 @@ export function getSidebarData(): SidebarData {
|
||||
items: [],
|
||||
},
|
||||
{
|
||||
title: "Reportes",
|
||||
title: m["sidebar.reports.title"](),
|
||||
url: "#",
|
||||
icon: FileSearch,
|
||||
items: [
|
||||
{
|
||||
title: "Facturas Impo/Expo",
|
||||
title: m["sidebar.reports.invoices"](),
|
||||
url: "/dashboard/reports/invoices",
|
||||
},
|
||||
{
|
||||
title: "Partes descargadas",
|
||||
title: m["sidebar.reports.downloaded_parts"](),
|
||||
url: "/dashboard/reports/partes-descargadas",
|
||||
},
|
||||
{
|
||||
title: "Reporte de Vencimiento",
|
||||
title: m["sidebar.reports.expiration"](),
|
||||
url: "/dashboard/reports/vencimiento",
|
||||
},
|
||||
],
|
||||
@@ -534,7 +534,7 @@ export function getSidebarData(): SidebarData {
|
||||
url: "",
|
||||
},
|
||||
{
|
||||
title: "General",
|
||||
title: m["sidebar.settings.general"](),
|
||||
url: "/dashboard/settings/general",
|
||||
},
|
||||
],
|
||||
|
||||
@@ -11,7 +11,15 @@ const PROCEDURE_TRANSLATIONS: Record<string, LocalizedText> = {
|
||||
'SYSTEM AUTH': { en: 'System authentication', es: 'Autenticación del sistema' },
|
||||
CATALOGS: { en: 'Catalogs', es: 'Catálogos' },
|
||||
'ELECTRONIC NOTICES': { en: 'Electronic notices', es: 'Avisos electrónicos' },
|
||||
DODA: { en: 'DODA', es: 'DODA' }
|
||||
DODA: { en: 'DODA', es: 'DODA' },
|
||||
'EXCHANGE RATE': { en: 'Exchange rate', es: 'Tipo de cambio' },
|
||||
PARTS: { en: 'Parts', es: 'Partes' },
|
||||
'CUSTOMS BROKERS': { en: 'Customs brokers', es: 'Agentes aduanales' },
|
||||
TRAILER: { en: 'Trailer', es: 'Remolques' },
|
||||
VEHICLE: { en: 'Vehicle', es: 'Vehículos' },
|
||||
DRIVER: { en: 'Driver', es: 'Conductores' },
|
||||
TRANSPORTER: { en: 'Transporter', es: 'Transportistas' },
|
||||
'UNIT CONVERSIONS': { en: 'Unit conversions', es: 'Conversiones de unidades' }
|
||||
};
|
||||
|
||||
const MOVEMENT_TRANSLATIONS: Record<string, LocalizedText> = {
|
||||
@@ -60,7 +68,18 @@ const ENTITY_TRANSLATIONS: Record<string, LocalizedText> = {
|
||||
'ELECTRONIC NOTICES': { en: 'electronic notices', es: 'avisos electrónicos' },
|
||||
DODA: { en: 'DODA', es: 'DODA' },
|
||||
'SYSTEM SCAF': { en: 'SCAF system', es: 'sistema SCAF' },
|
||||
'SYSTEM AUTH': { en: 'system authentication', es: 'autenticación del sistema' }
|
||||
'SYSTEM AUTH': { en: 'system authentication', es: 'autenticación del sistema' },
|
||||
'EXCHANGE RATE': { en: 'exchange rate', es: 'tipo de cambio' },
|
||||
PARTS: { en: 'parts', es: 'partes' },
|
||||
'CUSTOMS BROKERS': { en: 'customs brokers', es: 'agentes aduanales' },
|
||||
TRAILER: { en: 'trailer', es: 'remolque' },
|
||||
TRAILERS: { en: 'trailers', es: 'remolques' },
|
||||
VEHICLE: { en: 'vehicle', es: 'vehículo' },
|
||||
VEHICLES: { en: 'vehicles', es: 'vehículos' },
|
||||
DRIVER: { en: 'driver', es: 'conductor' },
|
||||
DRIVERS: { en: 'drivers', es: 'conductores' },
|
||||
TRANSPORTER: { en: 'transporter', es: 'transportista' },
|
||||
TRANSPORTERS: { en: 'transporters', es: 'transportistas' }
|
||||
};
|
||||
|
||||
const VERB_TRANSLATIONS: Record<string, LocalizedText> = {
|
||||
@@ -94,7 +113,18 @@ const TOKEN_TRANSLATIONS: Record<string, LocalizedText> = {
|
||||
CLIENT: { en: 'client', es: 'cliente' },
|
||||
CLIENTS: { en: 'clients', es: 'clientes' },
|
||||
PROVIDER: { en: 'provider', es: 'proveedor' },
|
||||
PROVIDERS: { en: 'providers', es: 'proveedores' }
|
||||
PROVIDERS: { en: 'providers', es: 'proveedores' },
|
||||
TRAILER: { en: 'trailer', es: 'remolque' },
|
||||
TRAILERS: { en: 'trailers', es: 'remolques' },
|
||||
VEHICLE: { en: 'vehicle', es: 'vehículo' },
|
||||
VEHICLES: { en: 'vehicles', es: 'vehículos' },
|
||||
DRIVER: { en: 'driver', es: 'conductor' },
|
||||
DRIVERS: { en: 'drivers', es: 'conductores' },
|
||||
TRANSPORTER: { en: 'transporter', es: 'transportista' },
|
||||
TRANSPORTERS: { en: 'transporters', es: 'transportistas' },
|
||||
BROKER: { en: 'broker', es: 'agente' },
|
||||
BROKERS: { en: 'brokers', es: 'agentes' },
|
||||
CUSTOMS: { en: 'customs', es: 'aduanal' }
|
||||
};
|
||||
|
||||
function normalizeKey(value: string) {
|
||||
|
||||
Reference in New Issue
Block a user