[web] Fix FileTreeModalCreateFile modal style on "too many files" error (#28995)

* Temporarily update `maxEntitiesPerProject` to test `FileTreeModalCreateFile`

* Remove unused CSS

* Move project_has_too_many_files Notification to the modal body

* Turn project_approaching_file_limit message into a Notification

* Update project_has_too_many_files translation with `fileCount.limit`

* Update other project_has_too_many_files with limit parameter

* Add translations for project_has_too_many_files_limit

* Revert "Temporarily update `maxEntitiesPerProject` to test `FileTreeModalCreateFile`"

This reverts commit 704996aa96c9ba592c7e44d165def0b97d30bed1.

* Fix unit tests

* Move the warning notification to the modal's body

---------

Co-authored-by: Rebeka <o.dekany@gmail.com>
GitOrigin-RevId: 0f54db7021e4cd4537a14e4f9e1d8ef54337778c
This commit is contained in:
Antoine Clausse
2025-10-15 08:07:16 +00:00
committed by Copybot
co-authored by Rebeka
parent 60fe5b2e4a
commit 8c15af1a70
13 changed files with 55 additions and 50 deletions
+1
View File
@@ -976,6 +976,7 @@
"project_approaching_file_limit": "Dieses Projekt nähert sich dem Dateilimit",
"project_flagged_too_many_compiles": "Dieses Projekt wurde zu häufig zum Kompilieren vermerkt. Das Limit wird in Kürze aufgehoben.",
"project_has_too_many_files": "Dieses Projekt hat das Limit von 2000 Dateien erreicht",
"project_has_too_many_files_limit": "Dieses Projekt hat das Limit von __limit__ Dateien erreicht",
"project_last_published_at": "Dein Projekt wurde zuletzt veröffentlicht am",
"project_layout_sharing_submission": "Projektlayout, Freigabe und Einreichung",
"project_name": "Projektname",