Преглед изворни кода

Merge branch 'develop' of github.com:tracim/tracim_v2 into develop

Skylsmoi пре 6 година
родитељ
комит
3a65b08f72

+ 6 - 1
frontend/i18next.scanner/en/translation.json Прегледај датотеку

@@ -64,5 +64,10 @@
64 64
   "Old password": "Old password",
65 65
   "New password": "New password",
66 66
   "Name:": "Name:",
67
-  "Email Adress:": "Email Adress:"
67
+  "Email Adress:": "Email Adress:",
68
+  "An error has happened": "An error has happened",
69
+  "You have subscribed to this workspace's notifications": "You have subscribed to this workspace's notifications",
70
+  "Connection": "Connection",
71
+  "Forgotten password ?": "Forgotten password ?",
72
+  "currently, you are ": "currently, you are "
68 73
 }

+ 6 - 1
frontend/i18next.scanner/fr/translation.json Прегледај датотеку

@@ -64,5 +64,10 @@
64 64
   "Old password": "Ancien mot de passe",
65 65
   "New password": "Nouveau mot de passe",
66 66
   "Name:": "Nom :",
67
-  "Email Adress:": "Adresse mail :"
67
+  "Email Adress:": "Adresse mail :",
68
+  "An error has happened": "__NOT_TRANSLATED__",
69
+  "You have subscribed to this workspace's notifications": "Vous êtes abonné aux notifications de cet espace de travail.",
70
+  "Connection": "Connexion",
71
+  "Forgotten password ?": "Mot de passe oublié ?",
72
+  "currently, you are ": "actuellement, vous êtes "
68 73
 }

+ 2 - 2
frontend/src/container/Dashboard.jsx Прегледај датотеку

@@ -124,7 +124,7 @@ class Dashboard extends React.Component {
124 124
               <div className='dashboard__userstatut'>
125 125
                 <div className='dashboard__userstatut__role'>
126 126
                   <div className='dashboard__userstatut__role__msg'>
127
-                    {props.t(`Hi ! ${props.user.public_name}, vous êtes actuellement`)}
127
+                    {props.t(`Hi ! ${props.user.public_name} `)}{props.t('currently, you are ')}
128 128
                   </div>
129 129
 
130 130
                   {(() => {
@@ -163,7 +163,7 @@ class Dashboard extends React.Component {
163 163
                           aria-haspopup='true'
164 164
                           aria-expanded='false'
165 165
                         >
166
-                          Abonné(e)
166
+                          {props.t('subscriber')}
167 167
                         </button>
168 168
 
169 169
                         <div className='dashboard__userstatut__notification__subscribe__submenu dropdown-menu'>

+ 3 - 3
frontend/src/container/Login.jsx Прегледај датотеку

@@ -74,7 +74,7 @@ class Login extends React.Component {
74 74
               <div className='col-12 col-sm-11 col-md-8 col-lg-6 col-xl-4'>
75 75
 
76 76
                 <Card customClass='loginpage__connection'>
77
-                  <CardHeader customClass='connection__header text-center'>{'Connexion'}</CardHeader>
77
+                  <CardHeader customClass='connection__header text-center'>{this.props.t('Connection')}</CardHeader>
78 78
 
79 79
                   <CardBody formClass='connection__form'>
80 80
                     <div>
@@ -118,7 +118,7 @@ class Login extends React.Component {
118 118
                         <div className='col-12 col-sm-6 col-md-6 col-lg-6 col-xl-6 text-sm-right'>
119 119
                           <LoginBtnForgotPw
120 120
                             customClass='connection__form__pwforgot'
121
-                            label='Mot de passe oublié ?'
121
+                            label={this.props.t('Forgotten password ?')}
122 122
                           />
123 123
                         </div>
124 124
                       </div>
@@ -127,7 +127,7 @@ class Login extends React.Component {
127 127
                         htmlType='button'
128 128
                         bootstrapType='primary'
129 129
                         customClass='connection__form__btnsubmit ml-auto'
130
-                        label='Connexion'
130
+                        label={this.props.t('Connection')}
131 131
                         onClick={this.handleClickSubmit}
132 132
                       />
133 133
                     </div>