Add a command to export translations#450
Draft
guillaumedc wants to merge 1 commit into
Draft
Conversation
8c9f5ed to
18035a4
Compare
marien-probesys
requested changes
May 22, 2026
| namespace App\Misc; | ||
|
|
||
| use Symfony\Component\Translation\TranslatableMessage; | ||
|
|
Member
There was a problem hiding this comment.
J’ajouterais bien le même commentaire dans Bileto pour expliciter le rôle de ce fichier :
Suggested change
| // This file contains translations keys that are built dynamically. | |
| // The translation:extract command cannot find them otherwise, and delete the | |
| // keys from the translations files. By listing them manually in this file, the | |
| // command detects them, even if this file is never used in the application. | |
| Search.ReplyTo: 'Reply to a message' | ||
| Search.ResetFilters: Reset | ||
| Search.Sender: Sender | ||
| Search.Size: __Search.Size |
Member
There was a problem hiding this comment.
Suggested change
| Search.Size: __Search.Size | |
| Search.Size: Size |
| Generics.messages.welcome: Welcome | ||
| Generics.messages.welcomeAgentJ: 'Welcome on AgentJ' | ||
| Generics.messages.welcomeHomeMessage: 'Welcome to <span style="white-space: nowrap">AgentJ</span>,<br/> please authenticate' | ||
| Generics.units.bytes: __Generics.units.bytes |
Member
There was a problem hiding this comment.
Suggested change
| Generics.units.bytes: __Generics.units.bytes | |
| Generics.units.bytes: Bytes |
| Entities.Message.authorized: 'that have been Authorized' | ||
| Entities.Message.banned: 'that have been Banned' | ||
| Entities.Message.dateAuthRequestAt: 'Authentication request sent the' | ||
| Entities.Message.deleted: __Entities.Message.deleted |
Member
There was a problem hiding this comment.
Suggested change
| Entities.Message.deleted: __Entities.Message.deleted | |
| Entities.Message.deleted: Deleted |
| ->add('imapHost') | ||
| ->add('imapPort', IntegerType::class, [ | ||
| 'label' => 'Entities.ImapConnector.fields.imap_port', | ||
| 'label' => new TranslatableMessage('Entities.ImapConnector.fields.imap_port'), |
Member
There was a problem hiding this comment.
Suggested change
| 'label' => new TranslatableMessage('Entities.ImapConnector.fields.imap_port'), | |
| 'label' => new TranslatableMessage('Entities.ImapConnector.fields.imapPort'), |
| Entities.ImapConnector.fields.imapNoValidateCert: 'Do not validate certificates' | ||
| Entities.ImapConnector.fields.imapPort: Port | ||
| Entities.ImapConnector.fields.imapProtocol: Encryption | ||
| Entities.ImapConnector.fields.imap_port: __Entities.ImapConnector.fields.imap_port |
Member
There was a problem hiding this comment.
Cette ligne sera supprimée après application du changement dans app/src/Form/ImapConnectorType.php
| Entities.Domain.fields.humanAuthenticationFooter: "Pied de page de la page d'authentification humaine" | ||
| Entities.Domain.fields.humanAuthenticationStylesheet: "Feuille de style personnalisée de la page d'authentification humaine" | ||
| Entities.Domain.fields.level: 'Seuil de spam' | ||
| Entities.Domain.fields.logo: __Entities.Domain.fields.logo |
Member
There was a problem hiding this comment.
Suggested change
| Entities.Domain.fields.logo: __Entities.Domain.fields.logo | |
| Entities.Domain.fields.logo: Logo |
| Entities.ImapConnector.fields.imapNoValidateCert: 'Ne pas valider les certificats' | ||
| Entities.ImapConnector.fields.imapPort: Port | ||
| Entities.ImapConnector.fields.imapProtocol: Chiffrement | ||
| Entities.ImapConnector.fields.imap_port: __Entities.ImapConnector.fields.imap_port |
Member
There was a problem hiding this comment.
Ligne supprimée après application de la correction sur app/src/Form/ImapConnectorType.php
| Generics.messages.welcome: Bienvenue | ||
| Generics.messages.welcomeAgentJ: 'Bienvenue sur AgentJ' | ||
| Generics.messages.welcomeHomeMessage: "Bienvenue sur <span style='white-space: nowrap'>AgentJ</span>,<br> veuillez vous authentifier" | ||
| Generics.units.bytes: __Generics.units.bytes |
Member
There was a problem hiding this comment.
Suggested change
| Generics.units.bytes: __Generics.units.bytes | |
| Generics.units.bytes: Octets |
| Search.ReplyTo: 'Réponse à un message' | ||
| Search.ResetFilters: Réinitialiser | ||
| Search.Sender: Expéditeur | ||
| Search.Size: __Search.Size |
Member
There was a problem hiding this comment.
Suggested change
| Search.Size: __Search.Size | |
| Search.Size: Taille |
95e4bf7 to
a04975d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue(s)
How to test manually
Reviewer checklist