Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-814 (pull request #204)
Browse files Browse the repository at this point in the history
SHIBUI-814 Implemented fixes for i18n issues
  • Loading branch information
rmathis committed Sep 26, 2018
2 parents c0a8a91 + e93eda9 commit b5fb56e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ <h3 class="tag tag-success tag-sm my-4">
</thead>
<tbody>
<tr *ngFor="let attr of attributesToRelease$ | async">
<td>{{ attr.label }}</td>
<td [translate]="attr.label">{{ attr.label }}</td>
<td>
<i class="fa fa-fw fa-check" *ngIf="resolver.attributeRelease.indexOf(attr.key) > -1"></i>
</td>
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/metadata/manager/container/manager.component.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<div class="container-fluid p-3" role="main">
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link" [routerLink]="['./', 'resolvers']" routerLinkActive="active">Metadata Sources</a>
<a class="nav-link" [routerLink]="['./', 'resolvers']" routerLinkActive="active" translate="label.metadata-sources">Metadata Sources</a>
</li>
<li class="nav-item">
<a class="nav-link" [routerLink]="['./', 'providers']" routerLinkActive="active">Metadata Providers</a>
<a class="nav-link" [routerLink]="['./', 'providers']" routerLinkActive="active" translate="label.metadata-providers">Metadata Providers</a>
</li>
</ul>
<router-outlet></router-outlet>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
:host {
.resolver-nav-option {
width: 160px;
min-width: 160px;
height: 100%;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<span class="display-6" role="heading" aria-level="1">
<i class="fa fa-fw fa-plus-square"></i>
<translate-i18n key="message.add-new-md-resolver">Add a new metadata source</translate-i18n>
&ndash; {{ (currentPage$ | async).label }} ({{ (resolver$ | async).serviceProviderName }})
&ndash; {{ (currentPage$ | async).label | translate }} ({{ (resolver$ | async).serviceProviderName }})
<span class="pull-right">
(<translate-i18n key="message.wizard-status" [params]="{ index: wizardIndex$ | async, length: wizard.length + 1 }">
Step {{ wizardIndex }} of {{ wizard.length + 1 }}
Expand Down

0 comments on commit b5fb56e

Please sign in to comment.