arrow icon indicating copy to clipboard operation
arrow copied to clipboard

Fix Italian locale plural seconds timeframe

Open bysiber opened this issue 9 months ago • 1 comments

Summary

Fix the Italian locale's "seconds" timeframe to use the correct plural form.

Problem

The "seconds" timeframe in ItalianLocale is:

"seconds": "{0} qualche secondo",

"qualche secondo" means "a few seconds" / "some seconds" in Italian. When the {0} placeholder is substituted with a number, the output is grammatically wrong:

"15 qualche secondo fa"  → "15 some second ago" (nonsensical)

Other timeframes in the same locale use correct plural forms:

  • "minutes": "{0} minuti" ✓
  • "hours": "{0} ore" ✓
  • "days": "{0} giorni" ✓

Fix

Change to "{0} secondi" which is the standard Italian plural:

"15 secondi fa"  → "15 seconds ago" ✓

bysiber avatar Feb 20 '26 05:02 bysiber

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 100.00%. Comparing base (b423717) to head (b248b54). :warning: Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #1249   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines         2315      2315           
  Branches       358       358           
=========================================
  Hits          2315      2315           

:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 20 '26 05:02 codecov[bot]