Skip to content

Commit 653f682

Browse files
author
Daniil Yankouski
committed
Added support for localization
1 parent 009137b commit 653f682

File tree

35 files changed

+6055
-6263
lines changed

35 files changed

+6055
-6263
lines changed

.husky/common.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

.huskyrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Layered Architecture for developing web/mobile/desktop applications using JavaSc
5050
- [ViteJs](https://vitejs.dev/)
5151

5252
## System Requirements
53-
- [Node.js 14+](https://nodejs.org/en/download/)
53+
- [Node.js 16+](https://nodejs.org/en/download/)
5454
- [yarn](https://yarnpkg.com/en)
5555

5656
## Contributing

assets/locales/en/button.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"login": "Sign In"
3+
}

assets/locales/en/common.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"auth": {
3+
"form": {
4+
"labels" : {
5+
"login": "Input login"
6+
}
7+
}
8+
}
9+
}

assets/locales/en/default.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"welcome": "Hello World!"
3+
}

assets/locales/ru/button.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"login": "Войти"
3+
}

assets/locales/ru/common.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"auth": {
3+
"form": {
4+
"labels" : {
5+
"login": "Введите логин"
6+
}
7+
}
8+
}
9+
}

assets/locales/ru/default.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"welcome": "Привет мир!"
3+
}

configs/.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
"react-hooks/exhaustive-deps": "warn",
102102
"prettier/prettier": "error",
103103
"@typescript-eslint/no-explicit-any": "off",
104+
"@typescript-eslint/no-unnecessary-type-constraint": "off",
104105
"@typescript-eslint/no-namespace": "off",
105106
"@typescript-eslint/member-delimiter-style": "error",
106107
"@typescript-eslint/array-type": "error"

0 commit comments

Comments
 (0)