Skip to content

Commit

Permalink
- removed hardcoded string
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniele122898 committed Dec 27, 2020
2 parents 1c8a7bb + 82e6fc8 commit 28b1f9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "media-dashboard",
"version": "1.0.0",
"version": "1.0.2",
"description": "Media Dashbaord",
"homepage": "https://github.com/Daniele122898/media-dashboard",
"repository": "https://github.com/Daniele122898/media-dashboard",
Expand Down
2 changes: 1 addition & 1 deletion src/app/home/components/explorer/explorer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="button" (click)="onGoDirUp()">
<fa-icon [icon]="faArrowUp"></fa-icon>
</div>
<span *ngIf="!displayPath || displayPath.length === 0">No Category Selected</span>
<span *ngIf="!displayPath || displayPath.length === 0">{{'PAGES.HOME.NO_CATEGORY_SELECTED' | translate}}</span>
<span *ngFor="let p of displayPath" class="path-segment">
{{this.shortDisplayPath(p) + " /"}}
</span>
Expand Down
3 changes: 2 additions & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"PAGES": {
"HOME": {
"TITLE": "App works !",
"GO_TO_DETAIL": "Go to Detail"
"GO_TO_DETAIL": "Go to Detail",
"NO_CATEGORY_SELECTED": "No Category Selected"
},
"DETAIL": {
"TITLE": "Detail page !",
Expand Down

0 comments on commit 28b1f9f

Please sign in to comment.