pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Translations with warnings are not categorized as warnings in Pontoon UI

Open flodolo opened this issue 8 months ago • 4 comments

This string

Reference

%1$s can’t automatically reject cookie requests on this site. You can send a request to support this site in the future.

Was translated as

Hindi kusang makakapagtanggi ng cookie request sa Firefox sa site na ito. Maaari kang magpadala ng request para suportahan ang site na ito sa hinaharap.

The translation was accepted, no warning, and submitted to the repository (this is me rejecting the translation this morning).

I double-checked compare-locales, and the string is flagged as a warning (Formatter %1$s not found in translation) (same error as %s, since it's normalized for checks).

Note that this is, like #3589, breaking translation for all locales on both Nightly and Beta, so it's likely a P1.

flodolo avatar Apr 21 '25 05:04 flodolo

I tried on stage, and I get the warning when submitting a suggestion. Once submitted, the warning is nowhere to be seen.

flodolo avatar Apr 21 '25 15:04 flodolo

The following works as expected:

  1. The warning is diplayed on sumission.
  2. The warning is stored in the DB: https://pontoon.mozilla.org/a/checks/warning/30957/change/.
  3. Translations with warnings are committed to the repository.

So this seems like a frontend bug, where warnings are not displayed when openning a translation after it has been submitted.

mathjazz avatar Apr 22 '25 07:04 mathjazz

So this seems like a frontend bug, where warnings are not displayed when openning a translation after it has been submitted.

That's correct.

flodolo avatar Apr 22 '25 09:04 flodolo

Hello here,

would like to be assigned this issue

RafaelJohn9 avatar Apr 29 '25 11:04 RafaelJohn9