diff libmlk-ui/mlk/ui/notify.c @ 587:c027304ced27

misc: add NLS for ui/rpg
author David Demelier <markand@malikania.fr>
date Sat, 18 Mar 2023 20:29:15 +0100
parents d49a05e7a5b5
children ed1d3244ed57
line wrap: on
line diff
--- a/libmlk-ui/mlk/ui/notify.c	Sat Mar 18 20:05:58 2023 +0100
+++ b/libmlk-ui/mlk/ui/notify.c	Sat Mar 18 20:29:15 2023 +0100
@@ -30,6 +30,7 @@
 #include "align.h"
 #include "notify.h"
 #include "ui.h"
+#include "ui_p.h"
 
 #define WIDTH   (mlk_window.w / 2.5)
 #define HEIGHT  (mlk_window.h / 10)
@@ -75,7 +76,7 @@
 
 	/* Align icon at the left center. */
 	if (n->icon->h >= HEIGHT) {
-		mlk_tracef("notification icon is too large: %u > %u", n->icon->h, HEIGHT);
+		mlk_tracef(_("notification icon is too large: %u > %u"), n->icon->h, HEIGHT);
 		geo->icon_x = x + mlk_notify_style.padding;
 		geo->icon_y = y + mlk_notify_style.padding;
 	} else {