Commit Graph

908 Commits

Author SHA1 Message Date
Adrian Cowan 52af7ba13b website: show language in text area (#1296)
* website: show language in text area

When the language hasn't been detected (too little text) the langauge that it will be submitted as is shown. When we detect the language is not what will be submitted we show the detected language in red. The tooltip informs the user that they don't appear to be writing in the correct language.

Note: this replaces the modal dialog that we use to popup if the language appeared to differ.

* website: Don't suggest the user change the language
2023-02-07 20:17:53 +09:00
Saifeddine ALOUI ab82da7d74 Enhanced French and arabic Locales (#1273)
I have updated the French and arabic locales by enhancing some expressions as didn't sound good when I read them in the final product.
2023-02-07 20:07:49 +09:00
Pavel Mokin 801b47949c Scroll to the top every time we get a new task (#1293) 2023-02-07 20:06:43 +09:00
AbdBarho e2327295af Fix error in user stats when loading (#1290)
there was no check for waiting the data to be fetched, worked locally, not when deployed.
2023-02-07 19:57:35 +09:00
notmd b7d0c4331c Ts strict mode (#1288)
part of #879
2023-02-07 19:56:59 +09:00
notmd 5d10b28b20 fix leaderboard when current user doesn't have stats (#1289) 2023-02-07 08:17:21 +01:00
AbdBarho 201a9669e0 Localize the dashboard (#1265) 2023-02-07 14:51:52 +09:00
AbdBarho 1938f4d3a7 Add missing keys to all locales (#1264) 2023-02-07 14:51:10 +09:00
notmd 952e021c88 Show current user rank in leaderboard (#1263)
close #1000 maybe #1178 too

*  Show current user rank in the leaderboard with +-1 user (only on leaderboard 
*  Extend auto_main script to use random user.
*  Support colSpan in the DataTable component (I haven't verified colSpan in header yet, leave that until we need it)
*  Refactor OasstError to include the path and request method.
2023-02-07 14:49:50 +09:00
KyattPL 931e12f31e Added Polish language locale (#1250) 2023-02-07 14:46:20 +09:00
Yichao 'Peak' Ji 8ed1451b73 Add Chinese translation (#1245) 2023-02-07 11:48:35 +09:00
AbdBarho 0ef36e81be Basic user stats in the accounts page (#1158)
Closes #747
Blocked by #1156 #1166

Very simplistic, not much styling
2023-02-07 08:10:35 +09:00
Mehdi Zibout 3d221f8925 Expose thumbs up/down buttons in the message table (#1185)
* Expose thumbs up/down buttons in the message table

* show thumbs up/down count only when its greater than 0
2023-02-06 20:59:22 +01:00
MrlolDev 5943efceff fix: translation in spanish (#1246) 2023-02-06 18:41:07 +01:00
Jacopo Zacchigna a5d6247ef4 Adding Italian Translation (#1244)
* Adding Italian Translation

* formatting in website/next-i18next.config.js
2023-02-06 18:39:06 +01:00
Igor Kasianenko 8f19a79146 uk-UA proofread fix (#1240) 2023-02-06 20:53:00 +09:00
MrlolDev b85f7c0734 fix: removed title on the navbar in the mobile view (#1236) 2023-02-06 20:52:36 +09:00
danivfe 81167f69d5 Add Catalan Language (#1212)
* Add Catalan Language
2023-02-06 20:42:18 +09:00
MrlolDev 9adc4852b0 fix: dark theme background to 404 && 500 pages (#1234)
* fix: dark theme background to 404 && 500 pages

* fix: use oa-basic-theme instead of background color.
2023-02-06 20:37:31 +09:00
Zigfrid Zvezdin b23d91e081 fix Portuguese translation (#1227)
Co-authored-by: Zigfrid <zigfrid.zvezdin@deeplife.co>
2023-02-06 09:08:09 +01:00
Saifeddine ALOUI 56b6595d01 Added Arabic locale with right to left support (#1220)
I have added arabic locale and modified the _app.tsx code to automatically detect the current language direction and applies it to the while website.
2023-02-06 11:27:59 +09:00
GuilleHoardings 40b1b5a32e Make the first letter of the language selector upper case (#1214) 2023-02-06 11:25:11 +09:00
AbdBarho 852a2b73a9 Use more screen realestate for tooltips (#1210) 2023-02-06 11:23:13 +09:00
AbdBarho 7be3ca4b9c Update german locale (#1166)
also:
    sort keys in json alphabetically
    change the way files are printed to be grouped by language.
This will be spicy since we have many german speakers here.
2023-02-06 11:20:28 +09:00
Desmond Grealy 204f45b150 Update FAQ to address common questions we are seeing (#1193)
* First draft of new FAQ copy

* update answers for data license and hardware
2023-02-05 22:28:54 +01:00
AbdBarho 9467b21d53 Update ToS Endpoint (#1207) 2023-02-05 21:51:13 +01:00
letier3110 edfc40ddf3 Ukrainian Translation (#1201)
* Ukranian

* feat: added ukranian to locales array

* fix: rename to valid locale
2023-02-05 21:44:16 +01:00
Álvaro dcb9dfe952 fix a typo in esp version of index.json (#1199) 2023-02-05 20:24:28 +01:00
Zigfrid Zvezdin 8bc7d083e0 Portuguese (#1188)
Co-authored-by: Zigfrid <zigfrid.zvezdin@deeplife.co>
2023-02-05 20:18:58 +01:00
Kian-Meng Ang 1e321a6fca Fix typos (#1143)
Found via `codespell -S .mypy_cache,yarn.lock,*.json,*.ipynb -L
rouge,nam,vie`
2023-02-05 20:18:03 +01:00
notmd 364a4f5aa3 Highlight current user in leaderboard (#1194)
* Highlight current user in leaderboard

* use first of type for ssr safety
2023-02-05 20:17:28 +01:00
Eren Akbulut 45444d9c62 Turkish Language support (#1195)
* Turkish Language support

* Turkish Language keycode
2023-02-05 20:04:50 +01:00
swaptr 45637dfd51 remove theme button from sidebar (#1181)
* remove theme button from sidebar

Now that the theme switch button is moved to navbar, we can remove this button.

* fix responsiveness
2023-02-05 19:57:35 +01:00
Theodor Peifer 14b41b4a2d Putting a button for toggling the light/dark color mode right into the navigation bar (#1122)
* added button for toggling color mode in nav bar

* removed border from color-theme toggle button

* removed padding around sun icon and made header title slighty responsive

* lower gap between navigation buttons for mobile
2023-02-05 15:34:47 +01:00
GuilleHoardings 0a6622179c Update Spanish locale for website (#1169) 2023-02-05 14:17:46 +01:00
AbdBarho e6fe477308 Show ToS on all pages (#1111)
Closes #1047
2023-02-05 19:58:20 +09:00
AbdBarho 692d178a24 Fix localization in for labelling (#1132) 2023-02-05 15:16:12 +09:00
Korbinian Pöppel 7fac0d70c8 Live language feedback (#1071)
* Add live language detection using 'lande' in TrackedTextarea.

* Remove 'Disable Language Detection'.

* Re-run linter.
2023-02-05 15:10:53 +09:00
Richard Macarthy 3b61a26c9c Add halt tree, and copy message id features (#1088) 2023-02-05 15:09:39 +09:00
CactiStaccingCrane d10971341f Create Vietnamese translation (#1150)
Complete translation of UI for Vietnamese
2023-02-05 06:49:42 +01:00
Richard Macarthy dc6dd6a6bf Add instructions for adding and editing translations using i18n (#1120)
update markdown

Remove ignore_keys
2023-02-05 06:44:10 +01:00
Andreas Köpf 100ecbe2d5 Limit initial prompts, ensure max_active_trees = growing trees 2023-02-04 23:23:16 +01:00
Yannic Kilcher 280979c7b0 added mainenance mode (#1130) 2023-02-04 22:37:48 +01:00
Klotske d1b0fab3e1 website: Add RU locale (#1125) 2023-02-04 22:34:34 +01:00
Richard Nagyfi 63b2102d39 The fails_task.question was ambigous (#1128)
- the translation for  fails_task.question was confusing as the question
would require a different answer than yes or no
(the buttons available on the dashboard)
2023-02-04 22:34:11 +01:00
Anthony Chiu 2de9bccfba Add modal padding bottom and tooltip (#1116) 2023-02-04 21:53:02 +01:00
Saifeddine ALOUI 0fc1109034 Added French Locale (#1112) 2023-02-04 20:49:52 +01:00
Eunkwang Jeon 66ff38defa add korean localization (#1115) 2023-02-04 20:42:36 +01:00
AbdBarho b724b37d4c Fix ToS page in dark mode (#1091) 2023-02-04 14:39:50 +01:00
Keith Stevens ef5b9d7757 Fixing the way we generate the backenduser object during jwt creation (#1090) 2023-02-04 08:18:19 +01:00