📝 Updated project URL

This commit is contained in:
Edgar 2018-12-12 21:06:17 +01:00
parent d7869bdf04
commit f700e85877
6 changed files with 15 additions and 20 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
.directory
*.exe
cmake-build-debug/
\.idea/

View File

@ -87,12 +87,6 @@
* See moReader[.exe] --help for details.
* You will find the libraries in %%projectdir%%/lib and the binary in %%projectdir%%/bin
*
* <h2>Compilation via provided batch-files (woe32 only)</h2>
*
* - Call compile_vc.bat or compile_mingw.bat with one of these options:
* - DLL - Compiles as dynamic loaded module.
* - LIB - Compiles as static library.
* - EXE - Compiles the executable.
*
* <h2>None of those?</h2>
*
@ -121,9 +115,7 @@
* so it should work on all machines where a C++-runtime is provided.
*
* \note We do not yet support .mo-Files with reversed magic-numbers, since I don't have
* a file to test it and I hate to release stuff I wasn't able to test.
* If you can provide such a file with reversed bytes, please compile %%projectdir%%/bin/i18n/de/moTest.po with
* gettext or poEdit and send it to scorcher24 [at] gmail [dot] com.
* a file to test it and I hate to release stuff I wasn't able to test.
*
* <h2>Changelog</h2>
*
@ -159,8 +151,7 @@
* All other Trademarks are property of their respective owners. \n
* \n
* Thanks for using this piece of OpenSource-Software.\n
* If you (dis)like it or have suggestions, questions, patches etc, please don't hesitate to write to my email-adress: scorcher24 [at] gmail [dot] com.
* Submit patches and/or bugs on http://mofilereader.googlecode.com. You must register with googlemail to sign in.
* Submit patches and/or bugs on https://github.com/AnotherFoxGuy/MofileReader.
* Send your flames, dumb comments etc to /dev/null, thank you.
*/

View File

@ -126,7 +126,7 @@ int main( int, char** argv )
std::cout << "This program is part of the moReaderSDK written by Domenico Gentner." << std::endl;
std::cout << "Released under the Terms of the MIT-License." << std::endl;
std::cout << "Type " << appname << " --license to view it." << std::endl;
std::cout << "Get all News and Updates from http://mofilereader.googlecode.com." << std::endl;
std::cout << "Get all News and Updates from https://github.com/AnotherFoxGuy/MofileReader." << std::endl;
return EXIT_SUCCESS;
}
else if ( std::string(argv[1]) == "--license" )

View File

@ -369,16 +369,17 @@ moFileReader::eErrorCode moFileReader::ExportAsHTML(std::string infile, std::str
std::ofstream stream(htmlfile.c_str());
if ( stream.is_open() )
{
stream << "<!DOCTYPE HTML PUBLIC \"- //W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">" << std::endl;
stream << R"(<!DOCTYPE HTML PUBLIC "- //W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">)"
<< std::endl;
stream << "<html><head><style type=\"text/css\">\n" << std::endl;
stream << css << std::endl;
stream << "</style>" << std::endl;
stream << "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">" << std::endl;
stream << R"(<meta http-equiv="content-type" content="text/html; charset=utf-8">)" << std::endl;
stream << "<title>Dump of " << fname << "</title></head>" << std::endl;
stream << "<body>" << std::endl;
stream << "<center>" <<std::endl;
stream << "<h1>" << fname << "</h1>" << std::endl;
stream << "<table border=\"1\"><th colspan=\"2\">Project Info</th>" << std::endl;
stream << R"(<table border="1"><th colspan="2">Project Info</th>)" << std::endl;
std::stringstream parsee;
parsee << reader.Lookup("");
@ -400,7 +401,7 @@ moFileReader::eErrorCode moFileReader::ExportAsHTML(std::string infile, std::str
stream << "<hr noshade/>" << std::endl;
// Now output the content
stream << "<table border=\"1\"><th colspan=\"2\">Content</th>" << std::endl;
stream << R"(<table border="1"><th colspan="2">Content</th>)" << std::endl;
for ( moLookupList::const_iterator it = reader.m_lookup.begin();
it != reader.m_lookup.end(); it++)
{
@ -412,7 +413,7 @@ moFileReader::eErrorCode moFileReader::ExportAsHTML(std::string infile, std::str
stream << "</table><br/>" << std::endl;
stream << "</center>" << std::endl;
stream << "<div class=\"copyleft\">File generated by <a href=\"http://mofilereader.googlecode.com\" target=\"_blank\">moFileReaderSDK</a></div>" << std::endl;
stream << R"(<div class="copyleft">File generated by <a href="https://github.com/AnotherFoxGuy/MofileReader" target="_blank">moFileReaderSDK</a></div>)" << std::endl;
stream << "</body></html>" << std::endl;
stream.close();
}
@ -442,7 +443,7 @@ void moFileReader::Trim(std::string& in)
bool moFileReader::GetPoEditorString(const char* buffer, std::string& name, std::string& value)
{
std::string line(buffer);
size_t first = line.find_first_of(":");
size_t first = line.find_first_of(':');
if ( first != std::string::npos )
{

1
test/.gitignore vendored
View File

@ -1 +0,0 @@
/*.exe

View File

@ -27,5 +27,5 @@ body { background-color: black; color: silver;}table {width: 80%;}th {back
<tr><td>String English Two</td><td>Zeichenkette Englisch Zwei </td></tr>
</table><br/>
</center>
<div class="copyleft">File generated by <a href="http://mofilereader.googlecode.com" target="_blank">moFileReaderSDK</a></div>
<div class="copyleft">File generated by <a href="https://github.com/AnotherFoxGuy/MofileReader" target="_blank">moFileReaderSDK</a></div>
</body></html>