diff --git a/frontend/src/App.vue b/frontend/src/App.vue index c50a804..fedcf4f 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -42,11 +42,11 @@
{{ vlans.length }} - {{ t('statsNetworks') }} + {{ vlans.length === 1 ? t('statsNetwork') : t('statsNetworks') }}
{{ devices.length }} - {{ t('statsDevices') }} + {{ devices.length === 1 ? t('statsDevice') : t('statsDevices') }}
diff --git a/frontend/src/i18n.js b/frontend/src/i18n.js index a965c13..cc9bf18 100644 --- a/frontend/src/i18n.js +++ b/frontend/src/i18n.js @@ -14,7 +14,9 @@ const LANGS = { tabNetworks: 'Réseaux', tabDevices: 'Équipements', discovery: '🔍 Découverte auto', + statsNetwork: 'Réseau', statsNetworks: 'Réseaux', + statsDevice: 'Équip.', statsDevices: 'Équip.', exportJson: '⬇ Export JSON', importJson: '⬆ Import JSON', @@ -170,7 +172,9 @@ const LANGS = { tabNetworks: 'Networks', tabDevices: 'Devices', discovery: '🔍 Auto discovery', + statsNetwork: 'Network', statsNetworks: 'Networks', + statsDevice: 'Device', statsDevices: 'Devices', exportJson: '⬇ Export JSON', importJson: '⬆ Import JSON', @@ -320,7 +324,9 @@ const LANGS = { tabNetworks: 'Redes', tabDevices: 'Equipos', discovery: '🔍 Descubrimiento auto', + statsNetwork: 'Red', statsNetworks: 'Redes', + statsDevice: 'Equipo', statsDevices: 'Equipos', exportJson: '⬇ Exportar JSON', importJson: '⬆ Importar JSON',