[gedit] About dialog: minor code improvements



commit 74bdfa58bd3bf4ead1bc491a967096afaa00dd09
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu May 7 02:38:13 2020 +0200

    About dialog: minor code improvements
    
    - Welcome to UTF-8.
    - Don't care too much about long lines of code.
    - For the copyright, the © is not required since the text "Copyright" is
    already present.
    - I don't know why Desktop was capitalized. "GNOME desktop" seems fine
    too.

 gedit/gedit-commands-help.c | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/gedit/gedit-commands-help.c b/gedit/gedit-commands-help.c
index 02c19ad19..0e3dd573c 100644
--- a/gedit/gedit-commands-help.c
+++ b/gedit/gedit-commands-help.c
@@ -88,9 +88,9 @@ _gedit_cmd_help_about (GeditWindow *window)
                "Jesse van den Kieboom <jessevdk gnome org>",
                "Paolo Borelli <pborelli gnome org>",
                "Paolo Maggi <paolo gnome org>",
-               "S\303\251bastien Lafargue <slafargue gnome org>",
-               "S\303\251bastien Wilmet <swilmet gnome org>",
-               "Steve Fr\303\251cinaux <steve istique net>",
+               "Sébastien Lafargue <slafargue gnome org>",
+               "Sébastien Wilmet <swilmet gnome org>",
+               "Steve Frécinaux <steve istique net>",
                NULL
        };
 
@@ -102,18 +102,13 @@ _gedit_cmd_help_about (GeditWindow *window)
                NULL
        };
 
-       static const gchar copyright[] = "Copyright \xc2\xa9 1998-2020 - the gedit team";
-
-       static const gchar comments[] = \
-               N_("gedit is a small and lightweight text editor for the GNOME Desktop");
-
        gedit_debug (DEBUG_COMMANDS);
 
        gtk_show_about_dialog (GTK_WINDOW (window),
                               "program-name", "gedit",
                               "authors", authors,
-                              "comments", _(comments),
-                              "copyright", copyright,
+                              "comments", _("gedit is a small and lightweight text editor for the GNOME 
desktop"),
+                              "copyright", "Copyright 1998-2020 – the gedit team",
                               "license-type", GTK_LICENSE_GPL_2_0,
                               "logo-icon-name", "org.gnome.gedit",
                               "documenters", documenters,


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