From 7d8404d8958896ab6380bbc5fe61be7da30458aa Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Fri, 10 Sep 2021 02:52:23 +0200 Subject: [PATCH] Remove repetiton in the QR code message As noted by ~ferenc, the message for QR code popups translates to "QR-Code code" which doesn't look nice. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 97b048c..975f77b 100644 --- a/src/main.c +++ b/src/main.c @@ -543,7 +543,7 @@ on_zbar_code_tapped(GtkWidget *widget, const MPZBarCode *code) flags, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, - "Found a URL '%s' encoded in a %s code.", + "Found a URL '%s' encoded in a %s.", code->data, code->type); gtk_dialog_add_buttons( @@ -557,7 +557,7 @@ on_zbar_code_tapped(GtkWidget *widget, const MPZBarCode *code) flags, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, - "Found '%s' encoded in a %s code.", + "Found '%s' encoded in a %s.", code->data, code->type); }