Commit Graph

94 Commits

Author SHA1 Message Date
Jacopo Zacchigna c66c0249ed fixing typo in italian translation (#1356)
* fixing typo in italian translation

* changing double negation
2023-02-08 18:28:17 +01:00
Adrian Cowan db76b0b1fa website: Use existing translations of language names (#1349)
Removed language.json translation file as we don't really need it anymore, just moved the couple of remaining items into tasks.json

I also reverted the change where I created lang_mismatch_lang and lang_mismatch_lang.explanation because we don't actually need two different strings and it was causing an issue where it would show a mix of english and the users language rather than just show the existing "Wrong language" text that is probably a better intermediate until the translations are updated. Let me know if there is a better way to handle updating the source english text for translations.
2023-02-08 19:43:50 +09:00
Adrian Cowan 8cbe197d1b website: "Wrong Language" -> "Not {lang}" (#1300)
Change the "Wrong Language" labelling flag to instead say "Not English", "Not French" etc depending on the messages tagged language
2023-02-08 19:23:53 +11:00
notmd 7175ce364c Hide message reaction count when user not reacted yet (#1303)
close #1252
Also add a copy message link feature
2023-02-08 15:28:37 +09:00
worldworm ab779352f0 fixes German translation typo (#1328) 2023-02-08 14:09:17 +09:00
Jordi ecc6dbab54 typos (#1330)
Co-authored-by: losnaj <losnaj@users.noreply.github.com>


I've just fixed some typos on the initial version
2023-02-08 14:09:07 +09:00
OpenEvil___ 8d8932bab0 Full Russian Translation (#1305)
Fully translated locales for "ru" in "/website/public/locales/ru/"
2023-02-08 13:59:22 +09:00
notmd a46e4a2bb1 implement trollboard UI (#1301)
* implement trollboard UI

* remove unneeded code

* add link to user

* user link in leaderboard
2023-02-08 13:49:00 +09:00
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
AbdBarho 1938f4d3a7 Add missing keys to all locales (#1264) 2023-02-07 14:51:10 +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
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
danivfe 81167f69d5 Add Catalan Language (#1212)
* Add Catalan Language
2023-02-06 20:42:18 +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 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
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
Eren Akbulut 45444d9c62 Turkish Language support (#1195)
* Turkish Language support

* Turkish Language keycode
2023-02-05 20:04:50 +01:00
GuilleHoardings 0a6622179c Update Spanish locale for website (#1169) 2023-02-05 14:17:46 +01: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
Andreas Köpf 100ecbe2d5 Limit initial prompts, ensure max_active_trees = growing trees 2023-02-04 23:23:16 +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
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 86eac87c19 Add ToS/License Agreement to Website (#1080)
* add new apis to oasst client

* add tos handler

* Add ToS to Dashboard

* use Provider for ToS

* simplify provider

* fix error

* Inject into JWT

* primitive error handling

* update comment

* address review
2023-02-03 20:53:20 +01:00
Richard Macarthy d17c87155d Fix ssr locale issue with side menu (#1086)
Remove unused key Success
2023-02-03 17:13:18 +01:00
Richard Nagyfi f38897614e Added Hungarian locale for website (#1081)
- added localization files
- ran pre-commit to ensure the JSONs are correctly formatted
- updated next-i18.next.config.js as advised on discord
2023-02-03 21:06:33 +09:00
Keith Stevens 9b611c9f71 Merge pull request #1079 from GuilleHoardings/es-translation-web
Translate strings that were not using i18n yet
2023-02-03 18:07:16 +09:00
Keith Stevens 880a1433d9 Merge pull request #1041 from rjmacarthy/feature/delete-message-ui
website: Add delete message feature for admins
2023-02-03 17:34:02 +09:00
Guillermo Hoardings 602799881a Translate strings that were not using i18n yet
Only English and Spanish translations have been included.
2023-02-03 01:53:04 +01:00
Guillermo Hoardings 83550b7ac6 Update Spanish translation with the new strings added to the website 2023-02-02 21:46:35 +01:00
Guillermo Hoardings 80d13bb60e Fix Spanish translation of 'dashboard' 2023-02-02 21:20:23 +01:00
Guillermo Hoardings c95bafc498 Add Spanish translations for new strings added 2023-02-02 21:20:23 +01:00
rjmacarthy e9add425e6 Add delete message feature
Remove deleted property from Message

Add dedicated route for delete_message

Pre-commit

Revert change to promp_repository fetch_message

Remove blank line
2023-02-02 13:33:22 +00:00
Adrian Cowan b1d86ebc65 website: show descriptions for label flags
Desciptions are shown both via tooltips, which are easier to read on desktop browsers, and via an explain (i) button so that mobile users can get the description (though in one larger list).
2023-02-02 21:34:35 +11:00
AbdBarho 849996c22d Merge pull request #1040 from notmd/995_available_task
Display number of available tasks
2023-02-01 09:44:43 +01:00
notmd f569c6d12b Display number of available tasks 2023-01-31 22:00:14 +07:00
Keith Stevens 355d621488 Merge pull request #1033 from paulovn/fix/website-fail-label
website: changed the UI label for failed answer to avoid implicit negative
2023-01-31 22:06:11 +09:00
Keith Stevens c262255986 Merge pull request #1021 from rjmacarthy/feature/admin-user-link
website: Add link to user admin page in messages dropdown for admin users
2023-01-31 21:03:01 +09:00