Skip to content

Commit

Permalink
Update vignettes/_translation_links.R
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Chirico <[email protected]>
  • Loading branch information
rikivillalba and MichaelChirico authored Dec 16, 2024
1 parent 7c661b4 commit ed25195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/_translation_links.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
pattern = glob2rx(knitr::current_input(FALSE))
)
transl_lang = ifelse(dirname(translation) == ".", "en", dirname(translation))
block = if (length(which(transl_lang != lang))) {
block = if (!all(transl_lang == lang)) {
sprintf(
fmt, paste(collapse = " | ", sprintf(
"[%s](%s)",
Expand Down

0 comments on commit ed25195

Please sign in to comment.