Skip to content

Commit

Permalink
Merge pull request simonlourson#12 from Sinetheta/test
Browse files Browse the repository at this point in the history
fix authentication spelling
  • Loading branch information
RaceFPV authored Mar 22, 2023
2 parents 0f4f2c1 + 5dd83b6 commit e91d289
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/api/batch/update-based-on.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class UpdateBasedOn
dotenv.config();
console.log(process.env.ENV_NAME);

// initialize database and authentification middleware
// initialize database and authentication middleware
this.db = new Database();

setTimeout(this.updateBaseOn, 3000);
Expand Down
2 changes: 1 addition & 1 deletion app/api/batch/update-position-correction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class UpdatePositionCorrection
dotenv.config();
console.log(process.env.ENV_NAME);

// initialize database and authentification middleware
// initialize database and authentication middleware
this.db = new Database();

setTimeout(this.updateBaseOn, 3000);
Expand Down
2 changes: 1 addition & 1 deletion app/api/batch/update-thumbnail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class UpdateThumbnail
OniItem.init();
OniItem.load(buildings);

// initialize database and authentification middleware
// initialize database and authentication middleware
this.db = new Database();

setTimeout(this.updateThumbnail, 3000);
Expand Down
2 changes: 1 addition & 1 deletion app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class App
OniItem.init();
OniItem.load(buildings);

// initialize database and authentification middleware
// initialize database and authentication middleware
this.db = new Database();
this.auth = new Auth();

Expand Down
2 changes: 1 addition & 1 deletion app/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class Routes {
public uploadBlueprintController = new BlueprintController();

public routes(app: Application): void {
// Initialize authentification middleware
// Initialize authentication middleware
//let auth = expressJwt({secret: process.env.JWT_SECRET as string, userProperty: 'tokenPayload' });
let auth = expressJwt({secret: process.env.JWT_SECRET as string });
let recaptcha = new Recaptcha(process.env.CAPTCHA_SITE as string, process.env.CAPTCHA_SECRET as string);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div *ngIf="f.password.invalid && (f.password.dirty || f.password.touched)" class="error-red">
<div *ngIf="f.password.errors.required" i18n>Password is required.</div>
</div>
<div *ngIf="authError" class="error-red" i18n>Authentification error</div>
<div *ngIf="authError" class="error-red" i18n>Authentication error</div>

<br>
<a [routerLink]="" (click)="registration()" i18n>First registration ?</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<label for="inputtext" i18n>Confirm Password</label>
</span>
<div *ngIf="registerForm.errors?.invalid" class="error-red" i18n>Passwords must match.</div>
<div *ngIf="authError" class="error-red" i18n>Authentification error</div>
<div *ngIf="authError" class="error-red" i18n>Authentication error</div>
<div *ngIf="duplicateError" class="error-red" i18n>Username or e-mail is already registered</div>

<br>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/i18n/messages.ko.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1193,8 +1193,8 @@
</context-group>
</trans-unit>
<trans-unit id="038e19d9a187e8ecd9959a0677daefd337eb1838" datatype="html">
<source>Authentification error</source>
<target state="new">Authentification error</target>
<source>Authentication error</source>
<target state="new">Authentication error</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/module-blueprint/components/user-auth/login-form/login-form.component.html</context>
<context context-type="linenumber">22</context>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/i18n/messages.ru.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1193,8 +1193,8 @@
</context-group>
</trans-unit>
<trans-unit id="038e19d9a187e8ecd9959a0677daefd337eb1838" datatype="html">
<source>Authentification error</source>
<target state="new">Authentification error</target>
<source>Authentication error</source>
<target state="new">Authentication error</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/module-blueprint/components/user-auth/login-form/login-form.component.html</context>
<context context-type="linenumber">22</context>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/i18n/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@
</context-group>
</trans-unit>
<trans-unit id="038e19d9a187e8ecd9959a0677daefd337eb1838" datatype="html">
<source>Authentification error</source>
<source>Authentication error</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/module-blueprint/components/user-auth/login-form/login-form.component.html</context>
<context context-type="linenumber">22</context>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/i18n/messages.zh-Hans.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@
</context-group>
</trans-unit>
<trans-unit id="038e19d9a187e8ecd9959a0677daefd337eb1838" datatype="html">
<source>Authentification error</source>
<source>Authentication error</source>
<target state="translated">认证错误</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/module-blueprint/components/user-auth/login-form/login-form.component.html</context>
Expand Down

0 comments on commit e91d289

Please sign in to comment.