FIX: formating of function

This commit is contained in:
Christoph Johannes Kleine 2025-07-19 14:28:39 +02:00
parent 16c6c0cff1
commit 693cef2af1
No known key found for this signature in database
GPG key ID: FF75D4DF473093E5
2 changed files with 12 additions and 12 deletions

View file

@ -884,7 +884,7 @@ void PostedListWidgetWithModel::insertBoardDetails(const RsPostedGroup& group)
case 365: sync_string = tr("1 year"); break;
case 1095: sync_string = tr("3 years"); break;
case 1825: sync_string = tr("5 years"); break;
case 0: sync_string = tr("indefinitely"); break;
case 0: sync_string = tr("indefinitely"); break;
default:
sync_string = tr("Unknown");
}

View file

@ -1290,17 +1290,17 @@ void GxsChannelPostsWidgetWithModel::insertChannelDetails(const RsGxsChannelGrou
QString sync_string;
switch(current_sync_time)
{
case 5: sync_string = tr("5 days"); break;
case 15: sync_string = tr("2 weeks"); break;
case 30: sync_string = tr("1 month"); break;
case 90: sync_string = tr("3 months"); break;
case 180: sync_string = tr("6 months"); break;
case 365: sync_string = tr("1 year"); break;
case 1095: sync_string = tr("3 years") ; break;
case 1825: sync_string = tr("5 years") ; break;
case 0: sync_string = tr("indefinitely"); break;
default:
sync_string = tr("Unknown");
case 5: sync_string = tr("5 days"); break;
case 15: sync_string = tr("2 weeks"); break;
case 30: sync_string = tr("1 month"); break;
case 90: sync_string = tr("3 months"); break;
case 180: sync_string = tr("6 months"); break;
case 365: sync_string = tr("1 year"); break;
case 1095: sync_string = tr("3 years"); break;
case 1825: sync_string = tr("5 years"); break;
case 0: sync_string = tr("indefinitely"); break;
default:
sync_string = tr("Unknown");
}
auto sync_period = rsGxsChannels->getSyncPeriod(group.mMeta.mGroupId) ;