Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » Some corrections in Report package
Some corrections in Report package [message #27052] Wed, 23 June 2010 14:03 Go to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

I propose make some changes in Localization of Report package:

This patch show changes:
--- home/serg/upp/uppsrc/Report/ReportDlg.cpp 
+++ tmp/ReportDlg-HEAD.2.cpp 
@@ -226,10 +226,10 @@
 	static FileSel fs;
 	static bool b;
 	if(!b) {
-		fs.Type(t_("PDF file"), "*.pdf");
+		fs.Type("PDF file", "*.pdf");
 		fs.AllFilesType();
 	}
-	if(!fs.ExecuteSaveAs(t_("Output PDF file")))
+	if(!fs.ExecuteSaveAs("Output PDF file"))
 		return;
 	SaveFile(~fs, UPP::Pdf(*report));
 }



New version of files in attachments.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Re: Some corrections in Report package [message #27078 is a reply to message #27052] Thu, 24 June 2010 20:17 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks.

Mirek
Previous Topic: How to change language "on the fly"?
Next Topic: Catalan translation
Goto Forum:
  


Current Time: Fri Mar 29 11:36:54 CET 2024

Total time taken to generate the page: 0.02055 seconds