Added call to get_lang() for (X)HTML lang tags
svn path=/trunk/; revision=936
This commit is contained in:
parent
6a28b6810a
commit
0f88eeaec5
|
@ -1,5 +1,7 @@
|
||||||
2008-10-16 Curtis Gedak <gedakc@gmail.com>
|
2008-10-16 Curtis Gedak <gedakc@gmail.com>
|
||||||
|
|
||||||
|
* src/Dialog_Progress.cc: Added call to get_lang() for lang tags
|
||||||
|
|
||||||
* include/Utils.h,
|
* include/Utils.h,
|
||||||
src/Utils.cc: Created function get_lang()
|
src/Utils.cc: Created function get_lang()
|
||||||
|
|
||||||
|
|
|
@ -346,7 +346,8 @@ void Dialog_Progress::on_save()
|
||||||
{
|
{
|
||||||
//Write out proper HTML start
|
//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
|
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
|
<< "<head>" << std::endl
|
||||||
<< "<meta http-equiv='Content-Type' content='text/html;charset=utf-8' />" << std::endl
|
<< "<meta http-equiv='Content-Type' content='text/html;charset=utf-8' />" << std::endl
|
||||||
<< "<title>GParted Details</title>" << std::endl
|
<< "<title>GParted Details</title>" << std::endl
|
||||||
|
|
Loading…
Reference in New Issue