* Add simple mode
The current UI is too complicated for some first time users.
This commit adds a "Advanced mode" toggle that defaults on but can be
turned off. When the toggle if switched off, the simple mode is
activated and following UI elements are hided:
- Model parameters setting
- Role switch
- Save button (This means user must save *and* submit in simple mode.)
* Simple mode: Fix ctrl-enter in non-sticky blocks
* i18n
* hide token count
* add back save button
* remove unused variables
---------
Co-authored-by: Jing Hua <tohjinghua123@gmail.com>
* add French translation
* Add US english and French french translations
This as shortcuts to their respective default locales.
This will improve locale indexing for these main language variants,
without unnecessary duplication.
* trailing new line
* fix typo
* fix typo
---------
Co-authored-by: Ayaka <f@0x40.shn.hk>
Co-authored-by: Ayaka <ayaka@mail.shn.hk>