-
Notifications
You must be signed in to change notification settings - Fork 9
/
custom-language.typ
69 lines (68 loc) · 1.77 KB
/
custom-language.typ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#import "../invoice-maker.typ": *
#show: invoice.with(
hourly-rate: 1,
issuing-date: "2024-03-24", // Must be set to not break tests
language: (
id: "es",
country: "ES",
recipient: "Destinatario",
biller: "Emisor",
invoice: "Factura",
cancellation-invoice: "Factura de Cancelación",
cancellation-notice: (id, issuing-date) => [
Como acordado, recibirá una nota de crédito
por la factura *#id* con fecha *#issuing-date*.
],
invoice-id: "ID de Factura",
issuing-date: "Fecha de Emisión",
delivery-date: "Fecha de Entrega",
items: "Ítems",
closing: "¡Gracias por la buena cooperación!",
number: "№",
date: "Fecha",
description: "Descripción",
duration: "Duración",
quantity: "Cantidad",
price: "Precio",
total-time: "Tiempo total de trabajo",
subtotal: "Total parcial",
discount-of: "Descuento de",
vat: "IVA de",
reverse-charge: "Inversión del Sujeto Pasivo",
total: "Total",
due-text: val =>
[Por favor, transfiera el dinero a la siguiente
cuenta bancaria antes de *#val*:],
owner: "Propietario",
iban: "IBAN",
),
biller: (
name: "ACME Corporation",
vat-id: "GB123456789",
iban: "GB29 NWBK 6016 1331 9268 19",
address: (
country: "United Kingdom",
city: "London",
street: "Abbey Road",
postal-code: "NW8 0AE",
),
),
recipient: (
name: "John Doe",
vat-id: "GB987654321",
address: (
country: "United Kingdom",
city: "London",
street: "Baker Street",
postal-code: "W1U 6TJ",
)
),
items: (
(
date: "2024-03-20",
description: "Minimal amount of work",
price: 1,
),
),
styling: ( font: none ), // Explicitly use Typst's default font
)