UPD: Change locale file to .json for Easy i18n

This commit is contained in:
Robert Kossessa
2024-01-22 15:35:40 +01:00
parent 8cb6a8be68
commit b3aec0c459
3 changed files with 17 additions and 17 deletions

View File

@@ -1,15 +0,0 @@
// 'en' Locale
export default {
navbar: {
device: {
title: 'Device',
connect: 'Connect',
disconnect: 'Disconnect',
about: 'About Device',
preferences: 'Preferences',
export: 'Export JSON',
import: 'Import JSON',
quit: 'Quit'
}
},
}

14
src/lang/en.json Normal file
View File

@@ -0,0 +1,14 @@
{
"navbar": {
"device": {
"title": "Device",
"connect": "Connect",
"disconnect": "Disconnect",
"about": "About Device",
"preferences": "Preferences",
"export": "Export JSON",
"import": "Import JSON",
"quit": "Quit"
}
}
}