Translate tagrendering

This commit is contained in:
Robin van der Linde 2022-12-16 23:39:02 +01:00
parent a8c9de81f9
commit c2f94fd791
Signed by: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
3 changed files with 83 additions and 4 deletions

View file

@ -918,7 +918,8 @@
"ifnot": "payment:coins=no",
"icon": "./assets/tagRenderings/coins.svg",
"then": {
"en": "Coins are accepted here"
"en": "Coins are accepted here",
"nl": "Muntgeld wordt hier aanvaard"
}
},
{
@ -926,7 +927,8 @@
"ifnot": "payment:notes=no",
"icon": "./assets/tagRenderings/notes.svg",
"then": {
"en": "Bank notes are accepted here"
"en": "Bank notes are accepted here",
"nl": "Bankbiljetten worden hier aanvaard"
}
},
{
@ -934,7 +936,8 @@
"ifnot": "payment_debit_cards=no",
"icon": "./assets/tagRenderings/payment_card.svg",
"then": {
"en": "Debit cards are accepted here"
"en": "Debit cards are accepted here",
"nl": "Betalen met debetkaarten kan hier"
}
},
{
@ -942,7 +945,8 @@
"ifnot": "payment:credit_cards=no",
"icon": "./assets/tagRenderings/payment_card.svg",
"then": {
"en": "Credit cards are accepted here"
"en": "Credit cards are accepted here",
"nl": "Betalen met creditkaarten kan hier"
}
}
]

View file

@ -169,6 +169,15 @@
},
"atm": {
"description": "ATMS to withdraw money",
"filter": {
"1": {
"options": {
"0": {
"question": "With speech output"
}
}
}
},
"name": "ATMs",
"presets": {
"0": {
@ -183,6 +192,34 @@
"question": "What brand is this ATM?",
"render": "The brand of this ATM is {brand}"
},
"cash_in": {
"mappings": {
"0": {
"then": "You probably cannot deposit cash into this ATM"
},
"1": {
"then": "You can deposit cash into this ATM"
},
"2": {
"then": "You cannot deposit cash into this ATM"
}
},
"question": "Can you deposit cash into this ATM?"
},
"cash_out": {
"mappings": {
"0": {
"then": "You can withdraw cash from this ATM"
},
"1": {
"then": "You can withdraw cash from this ATM"
},
"2": {
"then": "You cannot withdraw cash from this ATM"
}
},
"question": "Can you withdraw cash from this ATM?"
},
"name": {
"render": "The name of this ATM is {name}"
},
@ -192,6 +229,26 @@
},
"question": "What company operates this ATM?",
"render": "The ATM is operated by {operator}"
},
"speech_output": {
"mappings": {
"0": {
"then": "This ATM has speech output, usually available through a headphone jack"
},
"1": {
"then": "This ATM does not have speech output"
}
},
"question": "Does this ATM have speech output for visually impaired users?"
},
"speech_output_language": {
"render": {
"special": {
"question": "In which languages does this ATM have speech output?",
"render_list_item": "This ATM has speech output in {language():font-bold}",
"render_single_language": "This ATM has speech output in {language():font-bold}"
}
}
}
},
"title": {

View file

@ -150,6 +150,24 @@
}
}
},
"payment-options-split": {
"override": {
"mappings+": {
"0": {
"then": "Muntgeld wordt hier aanvaard"
},
"1": {
"then": "Bankbiljetten worden hier aanvaard"
},
"2": {
"then": "Betalen met debetkaarten kan hier"
},
"3": {
"then": "Betalen met creditkaarten kan hier"
}
}
}
},
"phone": {
"question": "Wat is het telefoonnummer van {title()}?"
},