gparted r936 - in trunk: . src



Author: gedakc
Date: Thu Oct 16 19:59:30 2008
New Revision: 936
URL: http://svn.gnome.org/viewvc/gparted?rev=936&view=rev

Log:
Added call to get_lang() for (X)HTML lang tags

Modified:
   trunk/ChangeLog
   trunk/src/Dialog_Progress.cc

Modified: trunk/src/Dialog_Progress.cc
==============================================================================
--- trunk/src/Dialog_Progress.cc	(original)
+++ trunk/src/Dialog_Progress.cc	Thu Oct 16 19:59:30 2008
@@ -346,7 +346,8 @@
 		{
 			//Write out proper HTML start
 			out << "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>" << std::endl
-			<< "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>" << std::endl
+			<< "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='" << Utils::get_lang() << "'"
+			<< " lang='" << Utils::get_lang() << "'>" << std::endl
 			<< "<head>" << std::endl
 			<< "<meta http-equiv='Content-Type' content='text/html;charset=utf-8' />" << std::endl
 			<< "<title>GParted Details</title>" << std::endl



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