Skip to content

Commit

Permalink
fix: use current year in the "All rights reserved" mention on Portal
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanmaisse authored and mergify[bot] committed Nov 20, 2023
1 parent c2bd69a commit d80e752
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gravitee-apim-portal-webui/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1>{{ this.homepageTitle }}</h1>
<li>
<gv-link path="cookies" title="{{ 'route.cookies' | translate }}"></gv-link>
</li>
<li>{{ 'footer.rights' | translate }}</li>
<li>{{ 'footer.rights' | translate }} {{ currentYear }}</li>
</ul>
<ul *ngIf="links.footer">
<li *ngFor="let link of links.footer">
Expand Down
1 change: 1 addition & 0 deletions gravitee-apim-portal-webui/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export class AppComponent implements AfterViewInit, OnInit, OnDestroy {
private interval: any;
public numberOfPortalNotifications: any;
public homepageTitle: string;
public currentYear = new Date().getFullYear().toString();

constructor(
private titleService: Title,
Expand Down
2 changes: 1 addition & 1 deletion gravitee-apim-portal-webui/src/assets/i18n/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@
}
},
"footer": {
"rights": "© Všechna práva vyhrazena 2020"
"rights": "© Všechna práva vyhrazena"
},
"gv-card-full": {
"empty": "Žádné rozhraní API k zobrazení zde",
Expand Down
2 changes: 1 addition & 1 deletion gravitee-apim-portal-webui/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@
}
},
"footer": {
"rights": "© All rights reserved 2022"
"rights": "© All rights reserved"
},
"gv-card-full": {
"empty": "No API to display here",
Expand Down
2 changes: 1 addition & 1 deletion gravitee-apim-portal-webui/src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@
}
},
"footer": {
"rights": "© Droits réservés 2020"
"rights": "© Droits réservés"
},
"gv-card-full": {
"empty": "Aucune API à afficher ici",
Expand Down

0 comments on commit d80e752

Please sign in to comment.