Added unit test & updated translation
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-12-16 12:21:15 +01:00
parent 56ec7714ed
commit 8ee68d9fae
6 changed files with 18 additions and 6 deletions

View File

@ -0,0 +1,9 @@
import zerofill from '../zerofill.js';
describe('zerofill filter', () => {
const superDuperNumber = 1984;
it('should filter the number filling it with zeros up to 6 characters length', () => {
expect(zerofill(superDuperNumber, '000000')).toEqual('001984');
});
});

View File

@ -234,8 +234,7 @@
<img v-bind:src="getReportSrc('europe.png')"/>
</div>
<div class="size75 flag-text">
<strong>Pasaporte fitosanitario</strong><br/>
<strong>Plant passport</strong>
<strong>{{$t('plantPassport')}}</strong><br/>
</div>
</div>
</div>

View File

@ -23,4 +23,5 @@ packagings: Buckets and packaging
services: Services
vatType: VAT Type
digitalSignature: Digital signature
ticket: Delivery note {0}
ticket: Delivery note {0}
plantPassport: Plant passport

View File

@ -23,4 +23,5 @@ packagings: Cubos y embalajes
services: Servicios
vatType: Tipo de IVA
digitalSignature: Firma digital
ticket: Albarán {0}
ticket: Albarán {0}
plantPassport: Pasaporte fitosanitario

View File

@ -23,4 +23,5 @@ packagings: Bacs et emballages
services: Service
vatType: Type de TVA
digitalSignature: Signature numérique
ticket: BL {0}
ticket: BL {0}
plantPassport: Passeport phytosanitaire

View File

@ -23,4 +23,5 @@ packagings: Baldes e Embalagens
services: Serviços
vatType: Tipo de IVA
digitalSignature: Assinatura digital
ticket: Nota de Entrega {0}
ticket: Nota de Entrega {0}
plantPassport: Passaporte vegetal