fix(i18n): give render_exists a message and check every server error code
The render upload refusal render_exists had no Server.Error.RenderExists resource, so clients showed the raw code. ApiErrors builds that key at run time, which the scan of used keys cannot see: i18n check now maps every snake_case code literal the server passes to ApiErrors, Outcome.Fail and its Fail and TooMany helpers to its Server.Error.* key and fails when one is missing (SRV-6). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
4 files changed
+95
-4
No files matched your search
@@ -67,6 +67,7 @@
|
||||
<data name="Server.Error.PasswordChangeRequired" xml:space="preserve"><value>Cambia prima la password.</value></data>
|
||||
<data name="Server.Error.QuotaExceeded" xml:space="preserve"><value>Questo caricamento supererebbe la tua quota.</value></data>
|
||||
<data name="Server.Error.RateLimited" xml:space="preserve"><value>Troppi tentativi; attendi un minuto e riprova.</value></data>
|
||||
<data name="Server.Error.RenderExists" xml:space="preserve"><value>Questo render è già archiviato in un'altra sequenza.</value></data>
|
||||
<data name="Server.Error.SamePassword" xml:space="preserve"><value>Scegli una password diversa da quella attuale.</value></data>
|
||||
<data name="Server.Error.Self" xml:space="preserve"><value>Non puoi farlo sul tuo account.</value></data>
|
||||
<data name="Server.Error.SequenceBusy" xml:space="preserve"><value>Un'attività sta lavorando su questa sequenza o sul suo archivio; riprova quando è libera.</value></data>
|
||||
|
||||
Reference in new issue
Block a user