Skip to content

Commit bc276cc

Browse files
committed
🌐 add new translations words
1 parent 3b5af22 commit bc276cc

File tree

7 files changed

+197
-17
lines changed

7 files changed

+197
-17
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",
7-
"start:en": "ng serve --configuration=en",
7+
"start:en": "ng serve --configuration=en -- --port 4201",
88
"extract": "ng extract-i18n --output-path src/locales",
99
"build": "ng build",
1010
"watch": "ng build --watch --configuration development",

src/app/modules/authentication/pages/forgot-password/forgot-password.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ <h2 class="mt-6 text-3xl font-semibold text-slate-900 dark:text-white" i18n>Mot
1616
<div>
1717
<input-overlaping-label
1818
label="Adresse E-mail"
19+
i18n-label="attr-email"
1920
name="email"
2021
formControlName="email"
2122
></input-overlaping-label>

src/app/modules/authentication/pages/login/login.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ <h2 class="mt-6 text-3xl font-semibold text-slate-900 dark:text-white" i18n>Conn
1717
<div>
1818
<input-overlaping-label
1919
label="Adresse E-mail"
20+
i18n-label="attr-email"
2021
name="email"
2122
formControlName="email"
2223
></input-overlaping-label>
@@ -26,6 +27,7 @@ <h2 class="mt-6 text-3xl font-semibold text-slate-900 dark:text-white" i18n>Conn
2627
<div>
2728
<input-overlaping-label
2829
label="Mot de passe"
30+
i18n-label="attr-password"
2931
name="password"
3032
[type]="'password'"
3133
formControlName="password"

src/app/modules/authentication/pages/reset-password/reset-password.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ <h2 class="mt-6 text-3xl font-semibold text-slate-900 dark:text-white" i18n>Réi
1717
<div>
1818
<input-overlaping-label
1919
label="Adresse E-mail"
20+
i18n-label="attr-email"
2021
name="email"
2122
formControlName="email"
2223
></input-overlaping-label>
@@ -26,6 +27,7 @@ <h2 class="mt-6 text-3xl font-semibold text-slate-900 dark:text-white" i18n>Réi
2627
<div>
2728
<input-overlaping-label
2829
label="Nouveau Mot de passe"
30+
i18n-label="attr-new-password"
2931
name="password"
3032
formControlName="password"
3133
[type]="'password'"
@@ -36,6 +38,7 @@ <h2 class="mt-6 text-3xl font-semibold text-slate-900 dark:text-white" i18n>Réi
3638
<div>
3739
<input-overlaping-label
3840
label="Confirmer Mot de passe"
41+
i18n-label="attr-confirm-password"
3942
name="password_confirmation"
4043
formControlName="password_confirmation"
4144
[type]="'password'"

src/app/shared/themes/pages/not-found/not-found.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
<main class="flex flex-col justify-center flex-grow w-full px-4 mx-auto max-w-7xl sm:px-6 lg:px-8">
33
<div class="flex justify-center flex-shrink-0">
44
<div class="inline-flex">
5-
<span class="sr-only">Administration</span>
5+
<span class="sr-only" i18n>Administration</span>
66
<logo-svg class="w-auto h-20 text-slate-900 dark:text-white"></logo-svg>
77
</div>
88
</div>
99
<div class="py-16">
1010
<div class="text-center">
1111
<p class="text-xl font-semibold text-primary-600 sm:text-2xl">404</p>
12-
<h1 class="mt-2 text-4xl font-bold tracking-tight text-slate-900 sm:text-5xl dark:text-white">Page introuvable.</h1>
13-
<p class="mt-2 text-base text-slate-500 dark:text-slate-400">Désolé, nous n'avons pas trouvé la page que vous recherchez.</p>
12+
<h1 class="mt-2 text-4xl font-bold tracking-tight text-slate-900 sm:text-5xl dark:text-white" i18n>Page introuvable.</h1>
13+
<p class="mt-2 text-base text-slate-500 dark:text-slate-400" i18n>Désolé, nous n'avons pas trouvé la page que vous recherchez.</p>
1414
<div class="mt-6">
15-
<a *ngIf="isLoggedIn" (click)="redirectToHome()" class="text-base font-medium cursor-pointer text-primary-600 hover:text-primary-500 hover:underline">
15+
<a *ngIf="isLoggedIn" (click)="redirectToHome()" class="text-base font-medium cursor-pointer text-primary-600 hover:text-primary-500 hover:underline" i18n>
1616
Retourner à l'accueil
1717
<span aria-hidden="true"> &rarr;</span>
1818
</a>
@@ -22,13 +22,13 @@ <h1 class="mt-2 text-4xl font-bold tracking-tight text-slate-900 sm:text-5xl dar
2222
</main>
2323
<footer class="flex-shrink-0 w-full px-4 mx-auto max-w-7xl sm:px-6 lg:px-8">
2424
<nav class="flex justify-center space-x-4">
25-
<a href="mailto:[email protected]" class="text-sm font-medium text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-white">Contact Support</a>
25+
<a href="mailto:[email protected]" class="text-sm font-medium text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-white" i18n>Contactez le Support</a>
2626
<span class="inline-block border-l border-slate-300 dark:border-slate-700" aria-hidden="true"></span>
27-
<a href="#" class="text-sm font-medium text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-white">Status</a>
27+
<a href="#" target="_blank" class="text-sm font-medium text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-white" i18n>Status</a>
2828
<span class="inline-block border-l border-slate-300 dark:border-slate-700" aria-hidden="true"></span>
29-
<a href="https://twitter.com/laravelcm" class="text-sm font-medium text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-white">Twitter</a>
29+
<a href="https://twitter.com/laravelcm" target="_blank" class="text-sm font-medium text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-white">Twitter</a>
3030
<span class="inline-block border-l border-slate-300 dark:border-slate-700" aria-hidden="true"></span>
31-
<a href="https://facebook.com/laravelcm" class="text-sm font-medium text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-white">Facebook</a>
31+
<a href="https://github.com/laravelcm" target="_blank" class="text-sm font-medium text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-white">Github</a>
3232
</nav>
3333
</footer>
3434
</div>

src/locales/messages.en-US.xlf

Lines changed: 94 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<body>
55
<trans-unit id="4390770950707898456" datatype="html">
66
<source>Mot de passe oublié?</source>
7-
<target>Forgot Password?</target>
7+
<target>Forgot password?</target>
88
<context-group purpose="location">
99
<context context-type="sourcefile">src/app/modules/authentication/pages/forgot-password/forgot-password.component.html</context>
1010
<context context-type="linenumber">3,4</context>
@@ -24,7 +24,7 @@
2424
</trans-unit>
2525
<trans-unit id="1768337911781584581" datatype="html">
2626
<source> Envoyer le lien de réinitialisation </source>
27-
<target> Send reset link </target>
27+
<target> Email Password Reset Link </target>
2828
<context-group purpose="location">
2929
<context context-type="sourcefile">src/app/modules/authentication/pages/forgot-password/forgot-password.component.html</context>
3030
<context context-type="linenumber">26,27</context>
@@ -366,6 +366,98 @@
366366
<context context-type="linenumber">52</context>
367367
</context-group>
368368
</trans-unit>
369+
<trans-unit id="3131862248575056929" datatype="html">
370+
<source>Adresse E-mail</source>
371+
<target>E-mail Address</target>
372+
<context-group purpose="location">
373+
<context context-type="sourcefile">src/app/modules/authentication/pages/forgot-password/forgot-password.component.html</context>
374+
<context context-type="linenumber">18,19</context>
375+
</context-group>
376+
<context-group purpose="location">
377+
<context context-type="sourcefile">src/app/modules/authentication/pages/login/login.component.html</context>
378+
<context context-type="linenumber">19,20</context>
379+
</context-group>
380+
<context-group purpose="location">
381+
<context context-type="sourcefile">src/app/modules/authentication/pages/reset-password/reset-password.component.html</context>
382+
<context context-type="linenumber">19,20</context>
383+
</context-group>
384+
<note priority="1" from="description">attr-email</note>
385+
</trans-unit>
386+
<trans-unit id="5249891717669571568" datatype="html">
387+
<source>Mot de passe</source>
388+
<target>Password</target>
389+
<context-group purpose="location">
390+
<context context-type="sourcefile">src/app/modules/authentication/pages/login/login.component.html</context>
391+
<context context-type="linenumber">29,30</context>
392+
</context-group>
393+
<note priority="1" from="description">attr-password</note>
394+
</trans-unit>
395+
<trans-unit id="3143758897900443465" datatype="html">
396+
<source>Nouveau Mot de passe</source>
397+
<target>New password</target>
398+
<context-group purpose="location">
399+
<context context-type="sourcefile">src/app/modules/authentication/pages/reset-password/reset-password.component.html</context>
400+
<context context-type="linenumber">29,30</context>
401+
</context-group>
402+
<note priority="1" from="description">attr-new-password</note>
403+
</trans-unit>
404+
<trans-unit id="2551997964969349678" datatype="html">
405+
<source>Confirmer Mot de passe</source>
406+
<target>Confirm password</target>
407+
<context-group purpose="location">
408+
<context context-type="sourcefile">src/app/modules/authentication/pages/reset-password/reset-password.component.html</context>
409+
<context context-type="linenumber">40,41</context>
410+
</context-group>
411+
<note priority="1" from="description">attr-confirm-password</note>
412+
</trans-unit>
413+
<trans-unit id="7844706011418789951" datatype="html">
414+
<source>Administration</source>
415+
<target>Administration</target>
416+
<context-group purpose="location">
417+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
418+
<context context-type="linenumber">5</context>
419+
</context-group>
420+
</trans-unit>
421+
<trans-unit id="4200089939196324140" datatype="html">
422+
<source>Page introuvable.</source>
423+
<target>Page Not Found.</target>
424+
<context-group purpose="location">
425+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
426+
<context context-type="linenumber">12</context>
427+
</context-group>
428+
</trans-unit>
429+
<trans-unit id="8045887825111278978" datatype="html">
430+
<source>Désolé, nous n&apos;avons pas trouvé la page que vous recherchez.</source>
431+
<target>Sorry, we did not find the page you were looking for.</target>
432+
<context-group purpose="location">
433+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
434+
<context context-type="linenumber">13</context>
435+
</context-group>
436+
</trans-unit>
437+
<trans-unit id="37427966907131214" datatype="html">
438+
<source> Retourner à l&apos;accueil <x id="START_TAG_SPAN" ctype="x-span" equiv-text="&lt;span aria-hidden=&quot;true&quot;&gt;"/> →<x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span&gt;"/></source>
439+
<target> Return to Homepage <x id="START_TAG_SPAN" ctype="x-span" equiv-text="&lt;span aria-hidden=&quot;true&quot;&gt;"/> →<x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span&gt;"/></target>
440+
<context-group purpose="location">
441+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
442+
<context context-type="linenumber">15,17</context>
443+
</context-group>
444+
</trans-unit>
445+
<trans-unit id="7205753262217313784" datatype="html">
446+
<source>Contactez le Support</source>
447+
<target>Contact Support</target>
448+
<context-group purpose="location">
449+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
450+
<context context-type="linenumber">25</context>
451+
</context-group>
452+
</trans-unit>
453+
<trans-unit id="5611592591303869712" datatype="html">
454+
<source>Status</source>
455+
<target>Status</target>
456+
<context-group purpose="location">
457+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
458+
<context context-type="linenumber">27</context>
459+
</context-group>
460+
</trans-unit>
369461
</body>
370462
</file>
371463
</xliff>

src/locales/messages.xlf

Lines changed: 88 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</context-group>
1111
<context-group purpose="location">
1212
<context context-type="sourcefile">src/app/modules/authentication/pages/login/login.component.html</context>
13-
<context context-type="linenumber">42,43</context>
13+
<context context-type="linenumber">44,45</context>
1414
</context-group>
1515
</trans-unit>
1616
<trans-unit id="340683984775672689" datatype="html">
@@ -20,18 +20,34 @@
2020
<context context-type="linenumber">5,7</context>
2121
</context-group>
2222
</trans-unit>
23+
<trans-unit id="3131862248575056929" datatype="html">
24+
<source>Adresse E-mail</source>
25+
<context-group purpose="location">
26+
<context context-type="sourcefile">src/app/modules/authentication/pages/forgot-password/forgot-password.component.html</context>
27+
<context context-type="linenumber">18,19</context>
28+
</context-group>
29+
<context-group purpose="location">
30+
<context context-type="sourcefile">src/app/modules/authentication/pages/login/login.component.html</context>
31+
<context context-type="linenumber">19,20</context>
32+
</context-group>
33+
<context-group purpose="location">
34+
<context context-type="sourcefile">src/app/modules/authentication/pages/reset-password/reset-password.component.html</context>
35+
<context context-type="linenumber">19,20</context>
36+
</context-group>
37+
<note priority="1" from="description">attr-email</note>
38+
</trans-unit>
2339
<trans-unit id="1768337911781584581" datatype="html">
2440
<source> Envoyer le lien de réinitialisation </source>
2541
<context-group purpose="location">
2642
<context context-type="sourcefile">src/app/modules/authentication/pages/forgot-password/forgot-password.component.html</context>
27-
<context context-type="linenumber">26,27</context>
43+
<context context-type="linenumber">27,28</context>
2844
</context-group>
2945
</trans-unit>
3046
<trans-unit id="8479216823512181174" datatype="html">
3147
<source>Retournez à la page de connexion</source>
3248
<context-group purpose="location">
3349
<context context-type="sourcefile">src/app/modules/authentication/pages/forgot-password/forgot-password.component.html</context>
34-
<context context-type="linenumber">36,37</context>
50+
<context context-type="linenumber">37,38</context>
3551
</context-group>
3652
</trans-unit>
3753
<trans-unit id="6727684137001022942" datatype="html">
@@ -48,18 +64,26 @@
4864
<context context-type="linenumber">5,7</context>
4965
</context-group>
5066
</trans-unit>
67+
<trans-unit id="5249891717669571568" datatype="html">
68+
<source>Mot de passe</source>
69+
<context-group purpose="location">
70+
<context context-type="sourcefile">src/app/modules/authentication/pages/login/login.component.html</context>
71+
<context context-type="linenumber">29,30</context>
72+
</context-group>
73+
<note priority="1" from="description">attr-password</note>
74+
</trans-unit>
5175
<trans-unit id="3469312485872807064" datatype="html">
5276
<source>Se souvenir de moi</source>
5377
<context-group purpose="location">
5478
<context context-type="sourcefile">src/app/modules/authentication/pages/login/login.component.html</context>
55-
<context context-type="linenumber">38,39</context>
79+
<context context-type="linenumber">40,41</context>
5680
</context-group>
5781
</trans-unit>
5882
<trans-unit id="7919452934138804929" datatype="html">
5983
<source>Se connecter</source>
6084
<context-group purpose="location">
6185
<context context-type="sourcefile">src/app/modules/authentication/pages/login/login.component.html</context>
62-
<context context-type="linenumber">53,54</context>
86+
<context context-type="linenumber">55,56</context>
6387
</context-group>
6488
</trans-unit>
6589
<trans-unit id="1496384060736943589" datatype="html">
@@ -76,11 +100,27 @@
76100
<context context-type="linenumber">5,7</context>
77101
</context-group>
78102
</trans-unit>
103+
<trans-unit id="3143758897900443465" datatype="html">
104+
<source>Nouveau Mot de passe</source>
105+
<context-group purpose="location">
106+
<context context-type="sourcefile">src/app/modules/authentication/pages/reset-password/reset-password.component.html</context>
107+
<context context-type="linenumber">29,30</context>
108+
</context-group>
109+
<note priority="1" from="description">attr-new-password</note>
110+
</trans-unit>
111+
<trans-unit id="2551997964969349678" datatype="html">
112+
<source>Confirmer Mot de passe</source>
113+
<context-group purpose="location">
114+
<context context-type="sourcefile">src/app/modules/authentication/pages/reset-password/reset-password.component.html</context>
115+
<context context-type="linenumber">40,41</context>
116+
</context-group>
117+
<note priority="1" from="description">attr-confirm-password</note>
118+
</trans-unit>
79119
<trans-unit id="8190131122682355699" datatype="html">
80120
<source> Réinitialiser Mot de passe </source>
81121
<context-group purpose="location">
82122
<context context-type="sourcefile">src/app/modules/authentication/pages/reset-password/reset-password.component.html</context>
83-
<context context-type="linenumber">47,48</context>
123+
<context context-type="linenumber">50,51</context>
84124
</context-group>
85125
</trans-unit>
86126
<trans-unit id="5326805816398599201" datatype="html">
@@ -321,6 +361,48 @@
321361
<context context-type="linenumber">7</context>
322362
</context-group>
323363
</trans-unit>
364+
<trans-unit id="7844706011418789951" datatype="html">
365+
<source>Administration</source>
366+
<context-group purpose="location">
367+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
368+
<context context-type="linenumber">5</context>
369+
</context-group>
370+
</trans-unit>
371+
<trans-unit id="4200089939196324140" datatype="html">
372+
<source>Page introuvable.</source>
373+
<context-group purpose="location">
374+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
375+
<context context-type="linenumber">12</context>
376+
</context-group>
377+
</trans-unit>
378+
<trans-unit id="8045887825111278978" datatype="html">
379+
<source>Désolé, nous n&apos;avons pas trouvé la page que vous recherchez.</source>
380+
<context-group purpose="location">
381+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
382+
<context context-type="linenumber">13</context>
383+
</context-group>
384+
</trans-unit>
385+
<trans-unit id="37427966907131214" datatype="html">
386+
<source> Retourner à l&apos;accueil <x id="START_TAG_SPAN" ctype="x-span" equiv-text="&lt;span aria-hidden=&quot;true&quot;&gt;"/> →<x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span&gt;"/></source>
387+
<context-group purpose="location">
388+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
389+
<context context-type="linenumber">15,17</context>
390+
</context-group>
391+
</trans-unit>
392+
<trans-unit id="7205753262217313784" datatype="html">
393+
<source>Contactez le Support</source>
394+
<context-group purpose="location">
395+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
396+
<context context-type="linenumber">25</context>
397+
</context-group>
398+
</trans-unit>
399+
<trans-unit id="5611592591303869712" datatype="html">
400+
<source>Status</source>
401+
<context-group purpose="location">
402+
<context context-type="sourcefile">src/app/shared/themes/pages/not-found/not-found.component.html</context>
403+
<context context-type="linenumber">27</context>
404+
</context-group>
405+
</trans-unit>
324406
</body>
325407
</file>
326408
</xliff>

0 commit comments

Comments
 (0)