[Monodevelop-patches-list] r1689 - in trunk/MonoDevelop/src/Main/Base: . Gui/Dialogs
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Wed Jun 2 17:22:21 EDT 2004
Author: tberman
Date: 2004-06-02 17:22:21 -0400 (Wed, 02 Jun 2004)
New Revision: 1689
Modified:
trunk/MonoDevelop/src/Main/Base/ChangeLog
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs
Log:
this is the proper way to handle translator credits. update you po file and
translate the magic string, and the magic happens.
Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-06-02 21:15:36 UTC (rev 1688)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-06-02 21:22:21 UTC (rev 1689)
@@ -1,5 +1,12 @@
2004-06-02 Todd Berman <tberman at sevenl.net>
+ * Gui/Dialogs/CommonAboutDialog.cs: This is actually how translator
+ credits are supposed to work. Update the po and go ahead and
+ translate the string "translator_credits" to include what you want
+ it to include. It will then show up properly.
+
+2004-06-02 Todd Berman <tberman at sevenl.net>
+
* MonoDevelop.Base.prjx: fixed ICSharpCode.SharpZipLib reference and
added new file.
* Gui/Dialogs/CombineConfiguration/CombineBuildOptions.cs: new dialog
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs 2004-06-02 21:15:36 UTC (rev 1688)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs 2004-06-02 21:22:21 UTC (rev 1689)
@@ -53,8 +53,15 @@
ResourceService resourceService = (ResourceService)ServiceManager.Services.GetService(typeof(IResourceService));
image = resourceService.GetBitmap ("Icons.AboutImage");
+ string trans = GettextCatalog.GetString ("translator_credits");
- text = "<b>Ported and developed by:</b>\nTodd Berman\nPedro Abelleira Seco\nJohn Luke\nDaniel Kornhauser\nAlex Graveley\nnricciar\nJohn Bou Antoun\nBen Maurer\nJeroen Zwartepoorte\nGustavo Giráldez\nMiguel de Icaza\nInigo Illan\nIain McCoy\nNick Drochak\nPaweł Różański\nRichard Torkar\nErik Dasque\nPaco Martinez\nAtsushi Enomoto\nMartin Willemoes Hansen\nAntonio Ognio\nAndre Filipe de Assuncao e Brito\nMaurício de Lemos Rodrigues Collares Neto\n ";
+ text = "<b>Ported and developed by:</b>\nTodd Berman\nPedro Abelleira Seco\nJohn Luke\nDaniel Kornhauser\nAlex Graveley\nnricciar\nJohn Bou Antoun\nBen Maurer\nJeroen Zwartepoorte\nGustavo Giráldez\nMiguel de Icaza\nInigo Illan\nIain McCoy\nNick Drochak\nPaweł Różański\nRichard Torkar\nErik Dasque\nPaco Martinez\nLluis Sanchez Gual";
+
+ if (trans != "translator_credits") {
+ text += "\n\n<b>Translated by:</b>\n" + trans + " ";
+ } else {
+ text += " ";
+ }
//text = "\"The most successful method of programming is to begin a program as simply as possible, test it, and then add to the program until it performs the required job.\"\n -- PDP8 handbook, Pg 9-64\n\n\n";
//text = "\"The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every\n appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change.\"\n -- FORTRAN manual for Xerox computers\n\n\n";
More information about the Monodevelop-patches-list
mailing list