Skip to content

Commit 0d19222

Browse files
committed
Merge branch 'master' into netcore3.0
2 parents d2cacfd + 802e575 commit 0d19222

File tree

12 files changed

+29
-13
lines changed

12 files changed

+29
-13
lines changed

angular/src/app/layout/sidebar-user-area.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="btn-group user-helper-dropdown">
99
<i class="material-icons" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">keyboard_arrow_down</i>
1010
<ul class="dropdown-menu pull-right">
11-
<li><a [routerLink]="['/app/update-password']"><i class="material-icons">lock</i>Update Password</a></li>
11+
<li><a [routerLink]="['/app/update-password']"><i class="material-icons">lock</i>{{ 'UpdatePassword' | localize }}</a></li>
1212
<li><a (click)="logout()"><i class="material-icons">input</i>{{ 'Logout' | localize }}</a></li>
1313
</ul>
1414
</div>

angular/src/app/users/change-password/change-password.component.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h2>{{ "UpdatePassword" | localize }}</h2>
1111
<div class="col-md-6">
1212
<mat-form-field>
1313
<input matInput id="currentPassword" type="password" name="CurrentPassword" formControlName="currentPassword"
14-
[placeholder]="'Current Password' | localize"
14+
[placeholder]="'CurrentPassword' | localize"
1515
required minlength="2" maxlength="32"
1616
/>
1717
</mat-form-field>
@@ -21,11 +21,11 @@ <h2>{{ "UpdatePassword" | localize }}</h2>
2121
<div class="col-md-6" [formGroup]="passwordsFormGroup" formGroupName="passwords">
2222
<mat-form-field>
2323
<input matInput id="newPassword" formControlName="newPassword" type="password" name="NewPassword"
24-
[placeholder]="'New Password' | localize"
24+
[placeholder]="'NewPassword' | localize"
2525
required minlength="2" maxlength="32"
2626
/>
2727
<mat-error *ngIf="passwordsFormGroup.controls.newPassword.errors">
28-
Passwords must be at least 8 characters, contain a lowercase, uppercase, and number
28+
{{ "PasswordsMustBeAtLeast8CharactersContainLowercaseUppercaseNumber" | localize }}
2929
</mat-error>
3030
</mat-form-field>
3131
</div>
@@ -34,14 +34,14 @@ <h2>{{ "UpdatePassword" | localize }}</h2>
3434
<div class="col-md-6" formGroupName="passwords">
3535
<mat-form-field>
3636
<input matInput id="repeatNewPassword" formControlName="repeatNewPassword" type="password" name="RepeatNewPassword"
37-
[placeholder]="'Confirm New Password' | localize" [errorStateMatcher]="equalMatcher"
37+
[placeholder]="'ConfirmNewPassword' | localize" [errorStateMatcher]="equalMatcher"
3838
required minlength="2" maxlength="32"
3939
/>
4040
<mat-error *ngIf="passwordsFormGroup.errors &&
4141
passwordsFormGroup.errors.areEqual &&
4242
passwordsFormGroup.controls.newPassword.touched
4343
">
44-
Passwords do not match
44+
{{ "PasswordsDoNotMatch" | localize }}
4545
</mat-error>
4646
</mat-form-field>
4747
</div>

angular/src/app/users/users.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ <h2>{{ "Users" | localize }}</h2>
9292
</button>
9393
<button mat-menu-item (click)="resetPassword(user)">
9494
<mat-icon>lock</mat-icon>
95-
<span>{{ "Reset Password" | localize }}</span>
95+
<span>{{ "ResetPassword" | localize }}</span>
9696
</button>
9797
</mat-menu>
9898
</td>

aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Localization/SourceFiles/AbpProjectName-pt-BR.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,15 @@
9191
<text name="StartTyping">Comece a escrever</text>
9292
<text name="Skins">Temas</text>
9393
<text name="Settings">Configurações</text>
94+
<text name="Search">Procurar</text>
95+
<text name="UpdatePassword">Alterar Senha</text>
96+
<text name="ResetPassword">Resetar Senha</text>
97+
<text name="Filter">Filtrar</text>
98+
<text name="All">Todos</text>
99+
<text name="CurrentPassword">Senha Atual</text>
100+
<text name="NewPassword">Nova Senha</text>
101+
<text name="ConfirmNewPassword">Confirme a Nova Senha</text>
102+
<text name="PasswordsDoNotMatch">As senhas são diferentes</text>
103+
<text name="PasswordsMustBeAtLeast8CharactersContainLowercaseUppercaseNumber">As senhas precisam ter no mínimo 8 caracteres, contendo pelo menos uma letra minúscula, uma maiúscula e um número</text>
94104
</texts>
95105
</localizationDictionary>

aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Localization/SourceFiles/AbpProjectName.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@
9595
<text name="Skins">Skins</text>
9696
<text name="Settings">Settings</text>
9797
<text name="Filter">Filter</text>
98+
<text name="CurrentPassword">Current Password</text>
99+
<text name="NewPassword">New Password</text>
100+
<text name="ConfirmNewPassword">Confirm New Password</text>
101+
<text name="PasswordsDoNotMatch">Passwords do not match</text>
102+
<text name="PasswordsMustBeAtLeast8CharactersContainLowercaseUppercaseNumber">Passwords must be at least 8 characters, contain a lowercase, uppercase, and number</text>
98103
<text name="UserDeleteWarningMessage">User {0} will be deleted.</text>
99104
<text name="RoleDeleteWarningMessage">Role {0} will be deleted and unassigned from all assigned users.</text>
100105
<text name="TenantDeleteWarningMessage">Tenant {0} will be deleted.</text>

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/aspnetcore:2.0.1
1+
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim
22

33
WORKDIR /app
44
COPY . .

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM microsoft/aspnetcore:2.0.1
1+
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2-stretch-slim
22

33
WORKDIR /app
44
COPY . .

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/view-resources/Views/Roles/Index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
abp.ajax({
2727
url: abp.appPath + 'Roles/EditRoleModal?roleId=' + roleId,
2828
type: 'POST',
29-
contentType: 'application/html',
29+
dataType: 'html',
3030
success: function (content) {
3131
$('#RoleEditModal div.modal-content').html(content);
3232
},

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/view-resources/Views/Shared/Components/TenantChange/Default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
abp.ajax({
66
url: abp.appPath + 'Account/TenantChangeModal',
77
type: 'POST',
8-
contentType: 'application/html',
8+
dataType: 'html',
99
success: function (content) {
1010
$('#TenantChangeModal div.modal-content').html(content);
1111
},

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/view-resources/Views/Tenants/Index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
abp.ajax({
2626
url: abp.appPath + 'Tenants/EditTenantModal?tenantId=' + tenantId,
2727
type: 'POST',
28-
contentType: 'application/html',
28+
dataType: 'html',
2929
success: function (content) {
3030
$('#TenantEditModal div.modal-content').html(content);
3131
},

0 commit comments

Comments
 (0)