v3.2.1
Fixed
- Hungarian was missing from the language dropdown. The dashboard language picker only listed German and English, so Hungarian could not be selected even though the translation was already shipped in
translation.lua. The dropdown is now built from the languages that actually exist intranslation.lua, so every translated language shows up on its own. Adding a new language block there is enough, there is no second list to keep in sync anymore. - The server dropped any language other than German or English on save. Even with Hungarian visible in the dropdown, saving it would have been rejected server side, because the save validation only allowed
deanden. The server now accepts any language thattranslation.luaprovides.
The dashboard interface itself is available in German and English. If you pick a language the interface does not translate yet (like Hungarian), the dashboard falls back to German while the in-game texts (notifications, key menu) use the language you picked.
The NUI ships prebuilt, so there is nothing to build on your side. Just replace the resource files as usual, the server needs no npm.
Changed files
fxmanifest.lua
server/admin/api.lua
web/src/admin/types.ts
web/src/admin/i18n.ts
web/src/admin/AdminApp.tsx
web/src/admin/SettingsTab.tsx
web/src/admin/devMock.ts
web/package.json
html/**