Bug in Language in password-change-request

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jurnet
    Member
    • Aug 2019
    • 35

    Bug in Language in password-change-request

    Hi,
    I think there is a bug in the file password-change-request.tpl
    I think this :
    <label for="login" class="control-label">{{translate 'newPassword' category='fields' scope='User'}}</label> must have to be replace by :
    <label for="login" class="control-label">{{translate 'newPassword' category='labels' scope='User'}}</label> Because I can't translate newPassword in User.json file

    Thanks for the next version
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi,

    {{translate 'newPassword' category='fields' scope='User'}}

    seems to be proper. I don't think it's a bug.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • jurnet
      Member
      • Aug 2019
      • 35

      #3
      As you can see : newPassword is not translate
      But is well defined in /application/Espo/Resources/i18n/fr_FR/User.json
      { "fields": { "name": "Nom", "userName": "Nom d'utilisateur", "title": "Titre", "isAdmin": "Est administrateur", "defaultTeam": "Équipe par défaut", "phoneNumber": "Téléphone", "roles": "Rôles", "portals": "Portails", "portalRoles": "Rôles de Portail", "password": "Mot de passe", "currentPassword": "Mot de passe actuel", "passwordConfirm": "Confirmer le mot de passe", "newPassword": "Nouveau mot de passe", "newPasswordConfirm": "Confirmer le nouveau mot de passe", "isActive": "Est actif", "isPortalUser": "Utilisateur de Portail", "accounts": "Comptes", "account": "Compte (principal)", "sendAccessInfo": "Envoyer un email avec ses accès à l'utilisateur", "portal": "Portail" }, Any idea ?

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        The problem in another place.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • jurnet
          Member
          • Aug 2019
          • 35

          #5
          ESPOCRM in 5.7.3 with no directory in custom/ and no in client/custom -> same problem you should try it

          Comment

          • yuri
            Member
            • Mar 2014
            • 8440

            #6
            We'll be fixed in 5.7.5.
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            • jurnet
              Member
              • Aug 2019
              • 35

              #7
              OK thanks

              Comment

              Working...