⚖️ feat: Terms and Conditions Dialog (#3712)

* Added UI for Terms and Conditions Modal Dialogue

* Handled the logout on not accepting

* Added logic for terms acceptance

* Add terms and conditions modal

* Fixed bug on terms and conditions modal, clicking out of it won't close it now

* Added acceptance of Terms to Database

* Removed unnecessary api endpoints from index.js

* Added NPM script to reset terms acceptance

* Added translations, markdown terms and samples

* Merged terms and conditions modal feature

* feat/Modal Terms and Conditions Dialog

* Amendments as requested by maintainers

* Reset package-lock (again)
This commit is contained in:
Max Sanna 2024-08-31 22:08:04 +02:00 committed by GitHub
parent 79f9cd5a4d
commit 618be4bf2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 393 additions and 8 deletions

View file

@ -102,6 +102,10 @@ export default {
com_ui_bookmarks_update_error: 'Terjadi kesalahan saat memperbarui penanda',
com_ui_bookmarks_delete_error: 'Terjadi kesalahan saat menghapus penanda',
com_ui_bookmarks_add_to_conversation: 'Tambahkan ke percakapan saat ini',
com_ui_accept: 'Saya menerima',
com_ui_decline: 'Saya tidak menerima',
com_ui_terms_and_conditions: 'Syarat dan Ketentuan',
com_ui_no_terms_content: 'Tidak ada konten syarat dan ketentuan untuk ditampilkan',
com_auth_error_login:
'Tidak dapat masuk dengan informasi yang diberikan. Silakan periksa kredensial Anda dan coba lagi.',
com_auth_error_login_rl: