https://gitlab.synchro.net/main/sbbs/-/commit/d89f7d49f9dd90c66c98f92b
Modified Files:
src/sbbs3/js_user.c load_cfg.c load_cfg.h logon.cpp prntfile.cpp sbbs.h sbbsdefs.h str.cpp text.h text_defaults.c text_id.c userdat.c useredit.cpp userfields.h
Log Message:
Initial support or multiple (user-selectable) languages in the terminal server
Uses the new ctrl/text.??.ini files (just a few words translated so far).
Adds the new "lang" user property (to user.tab and JS User class).
The language code is the 2-3 char (e.g. ISO 639-1) abbreviation of a language. A "blank" language property value (the default), just means to use the ctrl/text.dat contents.
User-selected alternate language file is loaded upon logon and in the built-in/hard-coded user default settings menu.
More on the user default settings menu:
- AutoLogin via IP option ('I') to make room for new (I) Language option.
- The cold-keys menu option was removed to make room for Language option
(via text.dat change to UserDefaultsHotKey)
- Any options disabled via blank text.dat strings will no longer result in
supported command keys (that could accidentally be struck with hidden
consequences/effect)
- The user_settings.js will need similar treatment
text/menu/<lang>/* is where alternate language menu files should be stored
New UserDefaultsLanguage text.dat string (inserted before new PasswordChar string).
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)