mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Fix years in affiliate program creation.
This commit is contained in:
parent
dc9fa9ccf2
commit
c3587ff46f
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue