quarto-dev / quarto-dev/quarto-cli
callout-note-title localization not working as expected
Open
@cscheid is already working on this.
Since Jan 15, 2024.
bug
callouts
crossref
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
I would like to cross-reference a callout note in a German Quarto document. Therefore, the reference should have the prefix "Hinweis" instead of note. As I understand it, this should work with
language:
de:
callout-note-title: "Hinweis"
in the yaml header. The reference is still labeled "Note 1". Am I doing something wrong?
Steps to reproduce
---
title: "Reproducible Quarto Document"
format: html
lang: de
language:
de:
callout-note-title: "Hinweis"
---
# A title
This is a reproducible Quarto document.
::: {#nte-test .callout-note collapse="true" appearance="simple"}
## This is a callout note
Some text.
:::
This is @nte-test.
The end.
Expected behavior
The reference should be labeled "Hinweis 1".
Actual behavior
The reference is still labeled "Note 1".
Your environment
RStudio Server
2023.09.0 Build 463
Quarto check output
1.4.542
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.