From 6ed7472889fdd8196f43161783a7ef0835692897 Mon Sep 17 00:00:00 2001 From: Ryo Nakano Date: Sun, 2 Mar 2025 18:59:02 +0900 Subject: [PATCH] CloseProjectsConfirmationDialog: Don't use printf in the plural form Use printf in one form but not in the other form should be problem in languages that does not have singular/plural forms. In these languages only a single translated text is provided. --- src/Dialogs/CloseProjectsConfirmationDialog.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dialogs/CloseProjectsConfirmationDialog.vala b/src/Dialogs/CloseProjectsConfirmationDialog.vala index 698b33afb9..7d0bdac84f 100644 --- a/src/Dialogs/CloseProjectsConfirmationDialog.vala +++ b/src/Dialogs/CloseProjectsConfirmationDialog.vala @@ -38,7 +38,7 @@ public class Scratch.Dialogs.CloseProjectsConfirmationDialog : Granite.MessageDi if (n_children > 0) { primary_text = ngettext ( "This folder is the parent of an open project", - "This folder is the parent of %u open projects".printf (n_children), + "This folder is the parent of open projects", (ulong) n_children ); ;