diff options
-rw-r--r-- | src/application.c | 4 | ||||
-rw-r--r-- | src/tab-label.c | 2 | ||||
-rw-r--r-- | src/web-view-schemes/normal.c | 2 | ||||
-rw-r--r-- | src/window.c | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/application.c b/src/application.c index cf1fe07..fcb0867 100644 --- a/src/application.c +++ b/src/application.c @@ -173,8 +173,8 @@ mq_application_quit(MqApplication *application, GtkWindow *parent) } /* Message */ - msg_tabs = g_strdup_printf(PL_("%d tab", "%d tabs", tabs), tabs); - msg_wins = g_strdup_printf(PL_("%d window", "%d windows", wins), wins); + msg_tabs = g_strdup_printf(PL_("%u tab", "%u tabs", tabs), tabs); + msg_wins = g_strdup_printf(PL_("%u window", "%u windows", wins), wins); /* TRANSLATORS: The "%s" conversion specifications are translations of either "%d tab" or "%d tabs" and either "%d window" or "%d windows". */ diff --git a/src/tab-label.c b/src/tab-label.c index 3680078..fd4b7b4 100644 --- a/src/tab-label.c +++ b/src/tab-label.c @@ -168,7 +168,7 @@ update_label(MqTabLabel *tab_label) title = tab_label->scrolling ? tab_label->scrolled_title : tab_label->title; - label = g_strdup_printf("%d. %s", tab_label->position, title); + label = g_strdup_printf("%u. %s", tab_label->position, title); gtk_label_set_text(GTK_LABEL(tab_label->label), label); gtk_widget_set_tooltip_text(GTK_WIDGET(tab_label), label); g_free(label); diff --git a/src/web-view-schemes/normal.c b/src/web-view-schemes/normal.c index 12b2582..f053cb2 100644 --- a/src/web-view-schemes/normal.c +++ b/src/web-view-schemes/normal.c @@ -270,7 +270,7 @@ menu_view_source_activate_cb(GtkAction G_GNUC_UNUSED *action, mq_notebook_insert_child( MQ_NOTEBOOK(gtk_widget_get_parent(GTK_WIDGET( mq_web_view_get_tab_page(web_view)))), - g_strdup_printf("view-source:origin-tab=%" PRId64 "&uri=%s", + g_strdup_printf("view-source:origin-tab=%" PRIu64 "&uri=%s", mq_tab_page_get_id(mq_web_view_get_tab_page(web_view)), mq_web_view_get_uri(web_view)), mq_web_view_get_tab_page(web_view), diff --git a/src/window.c b/src/window.c index 56f166c..d472ed5 100644 --- a/src/window.c +++ b/src/window.c @@ -124,9 +124,9 @@ delete_event_cb(MqWindow *window, GdkEvent G_GNUC_UNUSED *event) /* The number of tabs is always greater than 1, but some non-English * languages pluralize nouns differently depending on the number. */ message = g_strdup_printf(PL_( - "You are about to close %d tab. " + "You are about to close %u tab. " "Are you sure you want to continue?", - "You are about to close %d tabs. " + "You are about to close %u tabs. " "Are you sure you want to continue?", num_tabs), num_tabs); message_label = gtk_label_new(message); |