Skip to content

Add italic to STET occurrence reference counting - #323

Merged
PurpleGuitar merged 1 commit into
WycliffeAssociates:doc-dev.walink.orgfrom
linearcombination:stet-occurrence-instances-in-bold-italics
Jul 10, 2026
Merged

Add italic to STET occurrence reference counting#323
PurpleGuitar merged 1 commit into
WycliffeAssociates:doc-dev.walink.orgfrom
linearcombination:stet-occurrence-instances-in-bold-italics

Conversation

@linearcombination

Copy link
Copy Markdown
Contributor

When a reference count is shown the PO wants it not just bold but also italicized.

When a reference count is shown the PO wants it not just bold but also
italicized.
Comment on lines 351 to 360
source_ref_display = verse.source_reference
if verse.occurrence_total > 1:
source_ref_display += (
f" ({verse.occurrence_index}/{verse.occurrence_total})"
)
target_ref_display = verse.target_reference
if verse.occurrence_total > 1:
target_ref_display += (
f" ({verse.occurrence_index}/{verse.occurrence_total})"
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think lines 351-360 are now dead code -- I don't see any references to source_ref_display or target_ref_display elsewhere in this block. Recommend removing them if they're not used anymore.

@PurpleGuitar
PurpleGuitar merged commit 31d6523 into WycliffeAssociates:doc-dev.walink.org Jul 10, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from In progress to Done in DOC Project Management Jul 10, 2026
@linearcombination
linearcombination deleted the stet-occurrence-instances-in-bold-italics branch July 28, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants