portuguese language addition

(cherry picked from commit 930ef59936)
This commit is contained in:
Diamantis Tziotzios 2021-02-12 13:05:40 +02:00
parent 6470a8e6a6
commit 8a9277f0e6
6 changed files with 1628 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import localeEs from '@angular/common/locales/es';
import localeSk from '@angular/common/locales/sk';
import localeTr from '@angular/common/locales/tr';
import localeSr from '@angular/common/locales/sr';
import localePt from '@angular/common/locales/pt';
import { Pipe, PipeTransform } from '@angular/core';
import { LangChangeEvent, TranslateService } from '@ngx-translate/core';
import 'moment-timezone';
@ -77,6 +78,11 @@ export class DateTimeCultureFormatPipe implements PipeTransform {
registerLocaleData(localeSr);
break;
}
case 'pt': {
locale = this.cultureValues.get('pt-PT').name;
registerLocaleData(localePt);
break;
}
default: {
locale = this.cultureValues.get('en-US').name;
break;

File diff suppressed because it is too large Load Diff

View File

@ -26,5 +26,9 @@
{
"label": "GENERAL.LANGUAGES.SERBIAN",
"value": "sr"
},
{
"label": "GENERAL.LANGUAGES.PORTUGUESE",
"value": "pt"
}
]

View File

@ -122,6 +122,28 @@
<p class="card-text-2">Silvia Horáková, Richard Rac, Iryna Kuchma</p>
</div>
</div>
<div class="card flex-row">
<div class="col-4 d-flex justify-content-center align-items-center">
<div class="flag-img-container">
<img class="flag" alt="Flag of Serbia" src="../assets/img/flag-of-serbia.png">
</div>
</div>
<div class="col-8 card-body pl-0" class="flex-column align-items-center">
<p class="card-text-1">UNIVERSITY OF BELGRADE - SERBIA.RDM TEAM</p>
<p class="card-text-2">Nadica Miljković, Milica Ševkušić, Ljiljana Lazarević, Biljana Kosanović, Vladimir Otašević, Obrad Vučkovac</p>
</div>
</div>
<div class="card flex-row">
<div class="col-4 d-flex justify-content-center align-items-center">
<div class="flag-img-container">
<img class="flag" alt="Flag of Portugal" src="../assets/img/flag-of-portugal.png">
</div>
</div>
<div class="col-8 card-body pl-0" class="flex-column align-items-center">
<p class="card-text-1">FCT-FCCN, University of Minho</p>
<p class="card-text-2">Filipa Pereira, Carla Patinha, André Vieira, Paula Moura, Pedro Principe</p>
</div>
</div>
</div>
</section>
<!-- Footer-->

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB