Skip to content

strutil/quantity: make "ages!" duration-overflow string translatable - #17413

Open
Basit-Balogun10 wants to merge 1 commit into
canonical:masterfrom
Basit-Balogun10:fix-lp1986413-ages-i18n
Open

strutil/quantity: make "ages!" duration-overflow string translatable#17413
Basit-Balogun10 wants to merge 1 commit into
canonical:masterfrom
Basit-Balogun10:fix-lp1986413-ages-i18n

Conversation

@Basit-Balogun10

Copy link
Copy Markdown

The overflow fallback in FormatDuration returns the bare string "ages!" instead of running it through i18n.G like every other unit suffix in this file, so it can never be translated.

Fixes: LP#1986413

Every other unit suffix in FormatDuration is routed through i18n.G so
translators can localize it, but the overflow fallback string was a
bare Go literal, unlike everything else in the file.

Fixes: LP#1986413
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant