[gtk+] Avoid picking up long description as translator comment



commit 22db3e57cb400bfafe007188b72c120906279a15
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 22 01:10:24 2014 -0400

    Avoid picking up long description as translator comment
    
    Rearrange a few lines to help xgettext avoid picking up the
    long description of GtkAboutDialog as translator comment.

 gtk/gtkaboutdialog.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index f5decfe..85daec4 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -98,17 +98,17 @@
  * the “Close” button returns the #GTK_RESPONSE_CANCEL response id.
  */
 
-/* Translators: this is the license preamble; the string at the end
- * contains the name of the license as link text.
- */
-static const gchar *gtk_license_preamble = N_("This program comes with ABSOLUTELY NO WARRANTY.\nSee the <a 
href=\"%s\">%s</a> for details.");
-
 typedef struct
 {
   const gchar *name;
   const gchar *url;
 } LicenseInfo;
 
+/* Translators: this is the license preamble; the string at the end
+ * contains the name of the license as link text.
+ */
+static const gchar *gtk_license_preamble = N_("This program comes with ABSOLUTELY NO WARRANTY.\nSee the <a 
href=\"%s\">%s</a> for details.");
+
 /* LicenseInfo for each GtkLicense type; keep in the same order as the enumeration */
 static const LicenseInfo gtk_license_info [] = {
   { N_("License"), NULL },


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