aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/widgets/date_separator.vala
diff options
context:
space:
mode:
authorTranslations <translations@dino.im>2024-09-14 21:55:16 +0200
committerfiaxh <git@lightrise.org>2024-09-14 21:55:16 +0200
commita9a21a2dc8f89188b338ffd8101b444c53155ff9 (patch)
tree3bea0925f890f7ea0e01152cee3f95ed8082393b /main/src/ui/widgets/date_separator.vala
parent5a4e31e888417eee0f664aa062f0f511a1fd30cd (diff)
downloaddino-a9a21a2dc8f89188b338ffd8101b444c53155ff9.tar.gz
dino-a9a21a2dc8f89188b338ffd8101b444c53155ff9.zip
Update translations
Diffstat (limited to 'main/src/ui/widgets/date_separator.vala')
-rw-r--r--main/src/ui/widgets/date_separator.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/ui/widgets/date_separator.vala b/main/src/ui/widgets/date_separator.vala
index fcaa61d1..589bc9a6 100644
--- a/main/src/ui/widgets/date_separator.vala
+++ b/main/src/ui/widgets/date_separator.vala
@@ -28,13 +28,13 @@ public class Dino.Ui.ViewModel.CompatDateSeparatorModel : DateSeparatorModel {
return _("Yesterday");
}
if (time_local.get_year() != now_local.get_year()) {
- return time_local.format("%x");
+ return /* xgettext:no-c-format */ time_local.format("%x");
}
TimeSpan timespan = now_local.difference(time_local);
if (timespan < 7 * TimeSpan.DAY) {
- return time_local.format(_("%a, %b %d"));
+ return /* xgettext:no-c-format */ time_local.format(_("%a, %b %d"));
} else {
- return time_local.format(_("%b %d"));
+ return /* xgettext:no-c-format */ time_local.format(_("%b %d"));
}
}