diff --git a/src/I18n/languages/cz.json b/src/I18n/languages/cz.json index 28e0308c1..4a3cddaeb 100644 --- a/src/I18n/languages/cz.json +++ b/src/I18n/languages/cz.json @@ -405,9 +405,12 @@ "finishing": "Dokončování", "unknown": "Není známo", "type2": "Typ 2", - "comboCCS": "Combo", - "chademo": "Chademo", - "domestic": "Domácí" + "comboCCS": "Type 2 - Combo CCS", + "type1": "Type 1", + "chademo": "CHAdeMo", + "domestic": "Domácí", + "type1CCS": "Type 1 - Combo CCS", + "type3C": "Type 3C" }, "tags": { "visualID": "Visual ID", diff --git a/src/I18n/languages/de.json b/src/I18n/languages/de.json index 6deec335f..37789d029 100644 --- a/src/I18n/languages/de.json +++ b/src/I18n/languages/de.json @@ -405,9 +405,12 @@ "finishing": "Vollendung", "unknown": "Unbekannt", "type2": "Type 2", - "comboCCS": "Kombo", - "chademo": "Chademo", - "domestic": "Hausanschluss" + "comboCCS": "Type 2 - kombo CCS", + "type1": "Type 1", + "chademo": "CHAdeMo", + "domestic": "Hausanschluss", + "type1CCS": "Type 1 - Kombo CCS", + "type3C": "Type 3C" }, "tags": { "visualID": "Visual ID", diff --git a/src/I18n/languages/en.json b/src/I18n/languages/en.json index bee7c4803..a89d665e6 100644 --- a/src/I18n/languages/en.json +++ b/src/I18n/languages/en.json @@ -405,9 +405,12 @@ "finishing": "Finishing", "unknown": "Unknown", "type2": "Type 2", - "comboCCS": "Combo", - "chademo": "Chademo", - "domestic": "Domestic" + "comboCCS": "Type 2 - Combo CCS", + "type1": "Type 1", + "chademo": "CHAdeMo", + "domestic": "Domestic", + "type1CCS": "Type 1 - Combo CCS", + "type3C": "Type 3C" }, "tags": { "visualID": "Visual ID", diff --git a/src/I18n/languages/es.json b/src/I18n/languages/es.json index db307af84..7438cad46 100644 --- a/src/I18n/languages/es.json +++ b/src/I18n/languages/es.json @@ -405,9 +405,12 @@ "finishing": "Finalizando", "unknown": "Desconocido", "type2": "Tipo 2", - "comboCCS": "Combo", - "chademo": "Chademo", - "domestic": "Doméstico" + "comboCCS": "Type 2 - Combo CCS", + "type1": "Type 1", + "chademo": "CHAdeMo", + "domestic": "Doméstico", + "type1CCS": "Type 1 - Combo CCS", + "type3C": "Type 3C" }, "tags": { "visualID": "Visual ID", diff --git a/src/I18n/languages/fr.json b/src/I18n/languages/fr.json index b52ddd1f5..eeec697c6 100644 --- a/src/I18n/languages/fr.json +++ b/src/I18n/languages/fr.json @@ -405,9 +405,12 @@ "finishing": "Finalisation", "unknown": "Unknown", "type2": "Type 2", - "comboCCS": "Combo", - "chademo": "Chademo", - "domestic": "Domestique" + "comboCCS": "Type 2 - Combo CCS", + "type1": "Type 1", + "chademo": "CHAdeMo", + "domestic": "Domestique", + "type1CCS": "Type 1 - Combo CCS", + "type3C": "Type 3C" }, "tags": { "visualID": "ID Visuel", diff --git a/src/I18n/languages/it.json b/src/I18n/languages/it.json index e8971c552..c6a978aaf 100644 --- a/src/I18n/languages/it.json +++ b/src/I18n/languages/it.json @@ -405,9 +405,12 @@ "finishing": "Finendo", "unknown": "Sconosciuto", "type2": "Tipo 2", - "comboCCS": "Combo", - "chademo": "Chademo", - "domestic": "Domestico" + "comboCCS": "Tipo 2 - Combo CCS", + "type1": "Type 1", + "chademo": "CHAdeMo", + "domestic": "Domestico", + "type1CCS": "Tipo 1 - Combo CCS", + "type3C": "Type 3C" }, "tags": { "visualID": "Visual ID", diff --git a/src/I18n/languages/pt.json b/src/I18n/languages/pt.json index 20b7ae39d..4e77870ff 100644 --- a/src/I18n/languages/pt.json +++ b/src/I18n/languages/pt.json @@ -405,9 +405,12 @@ "finishing": "Encerrando", "unknown": "Desconhecido", "type2": "Tipo 2", - "comboCCS": "Combo", - "chademo": "Chademo", - "domestic": "Domestico" + "comboCCS": "Type 2 - Combo CCS", + "type1": "Type 1", + "chademo": "CHAdeMo", + "domestic": "Domestico", + "type1CCS": "Type 1 - Combo CCS", + "type3C": "Type 3C" }, "tags": { "visualID": "Visual ID", diff --git a/src/components/charging-station/connector/ChargingStationConnectorComponent.tsx b/src/components/charging-station/connector/ChargingStationConnectorComponent.tsx index 7d5881e4b..14e695956 100644 --- a/src/components/charging-station/connector/ChargingStationConnectorComponent.tsx +++ b/src/components/charging-station/connector/ChargingStationConnectorComponent.tsx @@ -10,6 +10,7 @@ import Domestic from '../../../../assets/connectorType/domestic-ue.svg'; import NoConnector from '../../../../assets/connectorType/no-connector.svg'; import Type1CCS from '../../../../assets/connectorType/type1-ccs.svg'; import Type1 from '../../../../assets/connectorType/type1.svg'; +import Type3C from '../../../../assets/connectorType/type3c.svg'; import Type2 from '../../../../assets/connectorType/type2.svg'; import I18nManager from '../../../I18n/I18nManager'; import BaseProps from '../../../types/BaseProps'; @@ -190,25 +191,29 @@ export default class ChargingStationConnectorComponent extends React.Component

+ ); case ConnectorType.TYPE_2: return ( - + ); case ConnectorType.COMBO_CCS: return ( - + ); case ConnectorType.DOMESTIC: - return ; + return ; case ConnectorType.TYPE_1: return ( - + ); case ConnectorType.TYPE_1_CCS: return ( - + + ); + case ConnectorType.TYPE_3C: + return ( + ); } return ; diff --git a/src/types/ChargingStation.tsx b/src/types/ChargingStation.tsx index 8d88f2dc8..a8123c356 100644 --- a/src/types/ChargingStation.tsx +++ b/src/types/ChargingStation.tsx @@ -115,6 +115,7 @@ export enum ConnectorType { TYPE_1 = 'T1', TYPE_1_CCS = 'T1CCS', DOMESTIC = 'D', + TYPE_3C = 'T3C', UNKNOWN = 'U' } diff --git a/src/utils/Utils.tsx b/src/utils/Utils.tsx index c8d564f52..d9253dee3 100644 --- a/src/utils/Utils.tsx +++ b/src/utils/Utils.tsx @@ -865,6 +865,12 @@ export default class Utils { return I18n.t('connector.chademo'); case ConnectorType.DOMESTIC: return I18n.t('connector.domestic'); + case ConnectorType.TYPE_1_CCS: + return I18n.t('connector.type1CCS'); + case ConnectorType.TYPE_1: + return I18n.t('connector.type1'); + case ConnectorType.TYPE_3C: + return I18n.t('connector.type3C'); default: return I18n.t('connector.unknown'); }