Move frontend translations to separate domain to reduce bundle size (#1197)

* Initial plan

* Create frontend translation files and update configuration

Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>

* Fix missing semicolon in password strength controller

Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>

* Remove frontend-only translations from messages domain and set frontend as default domain

Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
This commit is contained in:
Copilot 2026-01-18 18:50:38 +01:00 committed by GitHub
parent 6402cfe619
commit a3d992a016
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 952 additions and 422 deletions

View file

@ -4033,16 +4033,6 @@
<target>正则匹配</target>
</segment>
</unit>
<unit id="N66qZeD" name="search.submit">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\_navbar_search.html.twig:68</note>
<note priority="1">Part-DB1\templates\_navbar_search.html.twig:62</note>
</notes>
<segment state="translated">
<source>search.submit</source>
<target>GO!</target>
</segment>
</unit>
<unit id="w0jVACo" name="project.labelp">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\_sidebar.html.twig:37</note>
@ -11250,36 +11240,6 @@ Element 3</target>
<target>没有文字内容。标签将保持为空</target>
</segment>
</unit>
<unit id="RdFvZsb" name="user.password_strength.very_weak">
<segment state="translated">
<source>user.password_strength.very_weak</source>
<target>非常弱</target>
</segment>
</unit>
<unit id="IBjmblZ" name="user.password_strength.weak">
<segment state="translated">
<source>user.password_strength.weak</source>
<target>弱</target>
</segment>
</unit>
<unit id="qSm_ID0" name="user.password_strength.medium">
<segment state="translated">
<source>user.password_strength.medium</source>
<target>中</target>
</segment>
</unit>
<unit id="aWAaADS" name="user.password_strength.strong">
<segment state="translated">
<source>user.password_strength.strong</source>
<target>强</target>
</segment>
</unit>
<unit id="Wa9CStW" name="user.password_strength.very_strong">
<segment state="translated">
<source>user.password_strength.very_strong</source>
<target>非常强</target>
</segment>
</unit>
<unit id="6OHd5fv" name="perm.users.impersonate">
<segment state="translated">
<source>perm.users.impersonate</source>