Skip to content

Commit

Permalink
Fix years in affiliate program creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jan 9, 2025
1 parent dc9fa9c commit c3587ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ void InnerWidget::setupDuration() {
return (value < 12)
? tr::lng_months_tiny(tr::now, lt_count, value)
: (value < 999)
? tr::lng_years_tiny(tr::now, lt_count, value)
? tr::lng_years_tiny(tr::now, lt_count, value / 12)
: QString::fromUtf8("\xE2\x88\x9E"); // utf-8 infinity
};
_container->add(
Expand Down

0 comments on commit c3587ff

Please sign in to comment.