[longomatch] Move translators string to a more accesible place
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [longomatch] Move translators string to a more accesible place
- Date: Sat, 23 Jan 2010 14:13:24 +0000 (UTC)
commit 40ea688b7bd5f757429c7762ac44e5dea64d2669
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sat Jan 23 15:09:34 2010 +0100
Move translators string to a more accesible place
LongoMatch/Common/Constants.cs | 30 ++++++++++++++++++++++++++++++
LongoMatch/Gui/MainWindow.cs | 6 ++----
LongoMatch/Makefile.am | 1 +
Makefile.win32 | 1 +
4 files changed, 34 insertions(+), 4 deletions(-)
---
diff --git a/LongoMatch/Common/Constants.cs b/LongoMatch/Common/Constants.cs
new file mode 100644
index 0000000..efc8f97
--- /dev/null
+++ b/LongoMatch/Common/Constants.cs
@@ -0,0 +1,30 @@
+//
+// Copyright (C) 2007-2010 Andoni Morales Alastruey
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+
+using System;
+
+namespace LongoMatch.Common
+{
+ class Constants{
+ public const string TRANSLATORS = "Andoni Morales Alastruey (es)\n"+
+ "Mario Blättermann (de)\n"+
+ "Pavel Bárta (cs)\n"+
+ "Matej UrbanÄ?iÄ? (sl)\n";
+ }
+
+}
diff --git a/LongoMatch/Gui/MainWindow.cs b/LongoMatch/Gui/MainWindow.cs
index 896bff5..807ca91 100644
--- a/LongoMatch/Gui/MainWindow.cs
+++ b/LongoMatch/Gui/MainWindow.cs
@@ -487,9 +487,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.";
about.Authors = new string[] {"Andoni Morales Alastruey"};
about.Artists = new string[] {"Bencomo González Marrero"};
- about.TranslatorCredits = "Andoni Morales Alastruey (es)\n"+
- "Mario Blättermann (de)\n"+
- "Pavel Bárta (cs)\n";
+ about.TranslatorCredits = Constants.TRANSLATORS;
about.TransientFor = this;
Gtk.AboutDialog.SetUrlHook(delegate(AboutDialog dialog,string url) {
try {
@@ -550,4 +548,4 @@ GNU General Public License for more details.";
#endregion}
}
-}
\ No newline at end of file
+}
diff --git a/LongoMatch/Makefile.am b/LongoMatch/Makefile.am
index 5051f5b..9198029 100644
--- a/LongoMatch/Makefile.am
+++ b/LongoMatch/Makefile.am
@@ -76,6 +76,7 @@ all: $(ASSEMBLY) $(COMMONAPPLICATIONDATAROOT_IMAGES) $(COMMONAPPLICATIONDATAROO
FILES = \
AssemblyInfo.cs \
Common/Enums.cs \
+ Common/Constants.cs \
Compat/0.0/DatabaseMigrator.cs \
Compat/0.0/DB/DataBase.cs \
Compat/0.0/DB/MediaFile.cs \
diff --git a/Makefile.win32 b/Makefile.win32
index f5f25ac..7346f70 100644
--- a/Makefile.win32
+++ b/Makefile.win32
@@ -118,6 +118,7 @@ LONGOMATCH_COMPILE_TARGET = winexe
LONGOMATCH_FILES = \
AssemblyInfo.cs \
Common/Enums.cs \
+ Common/Constants.cs \
Compat/0.0/DatabaseMigrator.cs \
Compat/0.0/DB/DataBase.cs \
Compat/0.0/DB/MediaFile.cs \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]