ekiga r6093 - in branches/gnome-2-22: . src/gui



Author: dsandras
Date: Sun Mar 30 10:23:58 2008
New Revision: 6093
URL: http://svn.gnome.org/viewvc/ekiga?rev=6093&view=rev

Log:
Added missing translation.


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/src/gui/callbacks.cpp

Modified: branches/gnome-2-22/src/gui/callbacks.cpp
==============================================================================
--- branches/gnome-2-22/src/gui/callbacks.cpp	(original)
+++ branches/gnome-2-22/src/gui/callbacks.cpp	Sun Mar 30 10:23:58 2008
@@ -164,26 +164,27 @@
     NULL
   };
 
-  const gchar *license = "\
-This program is free software; you can redistribute it and/or modify \
+  const gchar *license[] = {
+N_("This program is free software; you can redistribute it and/or modify \
 it under the terms of the GNU General Public License as published by \
 the Free Software Foundation; either version 2 of the License, or \
-(at your option) any later version. \
-\n\n\
-This program is distributed in the hope that it will be useful, \
+(at your option) any later version. "),
+N_("This program is distributed in the hope that it will be useful, \
 but WITHOUT ANY WARRANTY; without even the implied warranty of \
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \
 GNU General Public License for more details. \
 You should have received a copy of the GNU General Public License \
 along with this program; if not, write to the Free Software Foundation, \
-Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. \
-\n\n\
-Ekiga is licensed under the GPL license and as a special exception, \
+Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."),
+N_("Ekiga is licensed under the GPL license and as a special exception, \
 you have permission to link or otherwise combine this program with the \
 programs OPAL, OpenH323 and PWLIB, and distribute the combination, \
 without applying the requirements of the GNU GPL to the OPAL, OpenH323 \
 and PWLIB programs, as long as you do follow the requirements of the \
-GNU GPL for all the rest of the software thus combined.";
+GNU GPL for all the rest of the software thus combined.")
+  };
+
+  gchar *license_trans;
 
   /* Translators: Please write translator credits here, and
    * separate names with \n */
@@ -194,6 +195,9 @@
  
   const gchar *comments =  _("Ekiga is full-featured SIP and H.323 compatible VoIP, IP-Telephony and Videoconferencing application that allows you to make audio and video calls to remote users with SIP and H.323 hardware or software.");
  
+  license_trans = g_strconcat (_(license[0]), "\n\n", _(license[1]), "\n\n",
+                               _(license[2]), "\n\n", NULL);
+
   gtk_show_about_dialog (GTK_WINDOW (parent_window),
 		"name", "Ekiga",
 		"version", VERSION,
@@ -205,10 +209,12 @@
 #ifndef WIN32                 
 		"logo-icon-name", PACKAGE_NAME,
 #endif                
-		"license", license,
+		"license", license_trans,
 		"wrap-license", TRUE,
 		"website", "http://www.ekiga.org";,
 		NULL);
+
+  g_free (license_trans);
 }
 
 



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