Skip to content

Commit 3b55bfc

Browse files
ricardochlSplaktar
authored andcommitted
translate: update copyright message to include translation attribution
Fixes #26
1 parent 2118677 commit 3b55bfc

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

adev-es/src/app/core/layout/footer/footer.component.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,13 @@ <h2>Recursos</h2>
6161
</div>
6262
</div>
6363
<p class="docs-license">
64-
Super-powered by Google ©2010-2024. Code licensed under an
65-
<a routerLink="/license" title="License text">MIT-style License</a>
66-
. Documentation licensed under
67-
<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>
68-
.
64+
Desarrollado y mantenido por Google ©2010–{{ currentYear() }}.<br />
65+
El código y la documentación original en inglés están licenciados bajo una
66+
<a routerLink="/license" title="Texto de la licencia">licencia tipo MIT</a> y
67+
<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a> respectivamente.<br />
68+
Traducción al español realizada por
69+
<a href="https://angular.lat" target="_blank" rel="noopener">Angular Hispano</a>
70+
©2019–{{ currentYear() }}, bajo la licencia
71+
<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
6972
</p>
7073
</div>

adev-es/src/app/core/layout/footer/footer.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {signal} from '@angular/core';
12
import {CommonModule} from '@angular/common';
23
import {ChangeDetectionStrategy, Component} from '@angular/core';
34
import {ExternalLink} from '@angular/docs';
@@ -16,4 +17,5 @@ export class Footer {
1617
readonly GITHUB = GITHUB;
1718
readonly X = X;
1819
readonly DISCORD = DISCORD;
20+
currentYear = signal(new Date().getFullYear());
1921
}

0 commit comments

Comments
 (0)