Merge pull request #59 from PeterDaveHello/update-translation-docs

📝 docs: fix path of General.tsx in development/translation.mdx
This commit is contained in:
Danny Avila
2024-06-21 10:16:14 -04:00
committed by GitHub

View File

@@ -79,7 +79,7 @@ Open `Eng.tsx` and add your language to the language list in the bottom of the d
### Add your language to the menu
- Navigate to the file `client\src\components\Nav\SettingsTabs\General.tsx`.
- Navigate to the file `client\src\components\Nav\SettingsTabs\General\General.tsx`.
- Add your language to the `LangSelector` variable in the following way:
```ts filename="LangSelector"
@@ -110,8 +110,8 @@ Open `Eng.tsx` and add your language to the language list in the bottom of the d
If you followed everything you should have **one new file** and **3 modified files**:
```bash
new file: client/src/localization/languages/**.tsx <-----new language
modified: client/src/components/Nav/SettingsTabs/General.tsx
new file: client/src/localization/languages/**.tsx <-----new language
modified: client/src/components/Nav/SettingsTabs/General/General.tsx
modified: client/src/localization/Translation.ts
modified: client/src/localization/languages/Eng.tsx
```