From c2576d418b71986c224c7d23316b348517d8d4d4 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Fri, 27 Apr 2012 17:42:09 +0200 Subject: [PATCH] Read the credits from the "about.txt" file. The credits have also been updated. --- data/platform/dingux/about.txt | 19 +++++++++++ data/platform/nanonote/about.txt | 19 +++++++++++ data/platform/pandora/about.txt | 19 +++++++++++ src/gmenu2x.cpp | 58 +++++++------------------------- 4 files changed, 70 insertions(+), 45 deletions(-) create mode 100644 data/platform/dingux/about.txt create mode 100644 data/platform/nanonote/about.txt create mode 100644 data/platform/pandora/about.txt diff --git a/data/platform/dingux/about.txt b/data/platform/dingux/about.txt new file mode 100644 index 0000000..ddeeedb --- /dev/null +++ b/data/platform/dingux/about.txt @@ -0,0 +1,19 @@ +GMenu2X has been created by Massimiliano "Ryo" Torromeo, and is released under the GPL-v2 license. + +This version is maintained by the Qi-Hardware and OpenDingux crew. The credits, as well as the latest source code can be found here: +http://projects.qi-hardware.com/index.php/p/gmenu2x + +Credits for the translations: +----- +English & Italian by Massimiliano Torromeo +French by Yodaz +Danish by claus +Dutch by superfly +Spanish by pedator +Portuguese (Portugal) by NightShadow +Slovak by Jozef +Swedish by Esslan and Micket +German by fusion_power, johnnysnet and Waldteufel +Finnish by Jontte and Atte +Norwegian by cowai +Russian by XaMMaX90 diff --git a/data/platform/nanonote/about.txt b/data/platform/nanonote/about.txt new file mode 100644 index 0000000..ddeeedb --- /dev/null +++ b/data/platform/nanonote/about.txt @@ -0,0 +1,19 @@ +GMenu2X has been created by Massimiliano "Ryo" Torromeo, and is released under the GPL-v2 license. + +This version is maintained by the Qi-Hardware and OpenDingux crew. The credits, as well as the latest source code can be found here: +http://projects.qi-hardware.com/index.php/p/gmenu2x + +Credits for the translations: +----- +English & Italian by Massimiliano Torromeo +French by Yodaz +Danish by claus +Dutch by superfly +Spanish by pedator +Portuguese (Portugal) by NightShadow +Slovak by Jozef +Swedish by Esslan and Micket +German by fusion_power, johnnysnet and Waldteufel +Finnish by Jontte and Atte +Norwegian by cowai +Russian by XaMMaX90 diff --git a/data/platform/pandora/about.txt b/data/platform/pandora/about.txt new file mode 100644 index 0000000..ddeeedb --- /dev/null +++ b/data/platform/pandora/about.txt @@ -0,0 +1,19 @@ +GMenu2X has been created by Massimiliano "Ryo" Torromeo, and is released under the GPL-v2 license. + +This version is maintained by the Qi-Hardware and OpenDingux crew. The credits, as well as the latest source code can be found here: +http://projects.qi-hardware.com/index.php/p/gmenu2x + +Credits for the translations: +----- +English & Italian by Massimiliano Torromeo +French by Yodaz +Danish by claus +Dutch by superfly +Spanish by pedator +Portuguese (Portugal) by NightShadow +Slovak by Jozef +Swedish by Esslan and Micket +German by fusion_power, johnnysnet and Waldteufel +Finnish by Jontte and Atte +Norwegian by cowai +Russian by XaMMaX90 diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index af6a259..e86f397 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -595,51 +595,19 @@ void GMenu2X::initMenu() { void GMenu2X::about() { vector text; - split(text,"GMenu2X is developed by Massimiliano \"Ryo\" Torromeo, and is released under the GPL-v2 license.\n\ -Website: http://gmenu2x.sourceforge.net\n\ -E-Mail & PayPal account: massimiliano.torromeo@gmail.com\n\ -\n\ -Thanks goes to...\n\ -\n\ - Contributors\n\ -----\n\ -NoidZ for his gp2x' buttons graphics\n\ -\n\ - Beta testers\n\ -----\n\ -Goemon4, PokeParadox, PSyMastR and Tripmonkey_uk\n\ -\n\ - Translators\n\ -----\n\ -English & Italian by me\n\ -French by Yodaz\n\ -Danish by claus\n\ -Dutch by superfly\n\ -Spanish by pedator\n\ -Portuguese (Portugal) by NightShadow\n\ -Slovak by Jozef\n\ -Swedish by Esslan and Micket\n\ -German by fusion_power, johnnysnet and Waldteufel\n\ -Finnish by Jontte and Atte\n\ -Norwegian by cowai\n\ -Russian by XaMMaX90\n\ -\n\ - Donors\n\ -----\n\ -EvilDragon (www.gp2x.de)\n\ -Tecnologie Creative (www.tecnologiecreative.it)\n\ -TelcoLou\n\ -gaterooze\n\ -deepmenace\n\ -superfly\n\ -halo9\n\ -sbock\n\ -b._.o._.b\n\ -Jacopastorius\n\ -lorystorm90\n\ -and all the anonymous donors...\n\ -(If I missed to list you or if you want to be removed, contact me.)","\n"); - TextDialog td(this, "GMenu2X", tr.translate("Version $1 (Build date: $2)","0.10-test4",__DATE__,NULL), "icons/about.png", &text); + string line; + string fn(GMENU2X_SYSTEM_DIR); + string build_date("Build date: "); + fn.append("/about.txt"); + build_date.append(__DATE__); + + ifstream inf(fn.c_str(), ios_base::in); + + while(getline(inf, line, '\n')) + text.push_back(line); + inf.close(); + + TextDialog td(this, "GMenu2X", build_date, "icons/about.png", &text); td.exec(); }