[gnome-todo] application: Use positional formats in About dialog



commit 12c787f8662b6858e0a63792cec0e3865708a6dc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Oct 31 19:09:24 2017 -0200

    application: Use positional formats in About dialog

 src/gtd-application.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gtd-application.c b/src/gtd-application.c
index 5ffadd6..aacecfc 100644
--- a/src/gtd-application.c
+++ b/src/gtd-application.c
@@ -138,12 +138,12 @@ gtd_application_show_about (GSimpleAction *simple,
 
   if (g_date_time_get_year (date) <= created_year)
     {
-      copyright = g_strdup_printf (_("Copyright \xC2\xA9 %d "
+      copyright = g_strdup_printf (_("Copyright \xC2\xA9 %1$d "
                                      "The To Do authors"), created_year);
     }
   else
     {
-      copyright = g_strdup_printf (_("Copyright \xC2\xA9 %d\xE2\x80\x93%d "
+      copyright = g_strdup_printf (_("Copyright \xC2\xA9 %1$d\xE2\x80\x93%2$d "
                                      "The To Do authors"), created_year, g_date_time_get_year (date));
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]