quarto-dev / quarto-dev/quarto-cli

callout-note-title localization not working as expected

Open
#8,281 11 comments 3 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.