mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
fix: add i18n options for past tense, future tense time (#3245)
This commit is contained in:
@@ -79,13 +79,13 @@ bool StatsDialog::Impl::updateStats()
|
||||
|
||||
setLabel(one_up_lb_, tr_strlsize(one.uploadedBytes));
|
||||
setLabel(one_down_lb_, tr_strlsize(one.downloadedBytes));
|
||||
setLabel(one_time_lb_, tr_strltime(one.secondsActive));
|
||||
setLabel(one_time_lb_, tr_format_time(one.secondsActive));
|
||||
setLabelFromRatio(one_ratio_lb_, one.ratio);
|
||||
|
||||
setLabel(all_sessions_lb_, startedTimesText(all.sessionCount));
|
||||
setLabel(all_up_lb_, tr_strlsize(all.uploadedBytes));
|
||||
setLabel(all_down_lb_, tr_strlsize(all.downloadedBytes));
|
||||
setLabel(all_time_lb_, tr_strltime(all.secondsActive));
|
||||
setLabel(all_time_lb_, tr_format_time(all.secondsActive));
|
||||
setLabelFromRatio(all_ratio_lb_, all.ratio);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user