[gnome-commander] Use hardcoded format specifiers to make gettext work again
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Use hardcoded format specifiers to make gettext work again
- Date: Mon, 12 Jul 2021 16:02:26 +0000 (UTC)
commit 2556a8aaf7d2bc6d9f399c06119d2adcf4d3a36f
Author: Uwe Scholz <u scholz83 gmx de>
Date: Mon Jul 12 18:02:17 2021 +0200
Use hardcoded format specifiers to make gettext work again
See
https://gitlab.gnome.org/GNOME/gnome-commander/-/commit/d77e058a7b53c54d270eec70baa04562b503e629#note_1201756
src/dialogs/gnome-cmd-delete-dialog.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/dialogs/gnome-cmd-delete-dialog.cc b/src/dialogs/gnome-cmd-delete-dialog.cc
index 27fcc9bc..e4106e8a 100644
--- a/src/dialogs/gnome-cmd-delete-dialog.cc
+++ b/src/dialogs/gnome-cmd-delete-dialog.cc
@@ -91,8 +91,8 @@ static void delete_progress_update (DeleteData *data)
{
gfloat f = (gfloat)data->itemsDeleted/(gfloat)data->itemsTotal;
g_free (data->msg);
- data->msg = g_strdup_printf (ngettext("Deleted %" G_GUINT64_FORMAT " of %" G_GUINT64_FORMAT " file",
- "Deleted %" G_GUINT64_FORMAT " of %" G_GUINT64_FORMAT " files",
+ data->msg = g_strdup_printf (ngettext("Deleted %lu of %lu file",
+ "Deleted %lu of %lu files",
data->itemsTotal),
data->itemsDeleted, data->itemsTotal);
if (f < 0.001f) f = 0.001f;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]