[genius] Mon Aug 30 22:33:01 2010 Jiri (George) Lebl <jirka 5z com>



commit 5f1639ecdd9c55c5673d7bdcd66652d56f9b4d59
Author: Jiri (George) Lebl <jirka 5z com>
Date:   Mon Aug 30 22:33:15 2010 -0700

    Mon Aug 30 22:33:01 2010  Jiri (George) Lebl <jirka 5z com>
    
    	* cs.po: update
    
    Mon Aug 30 22:33:08 2010  Jiri (George) Lebl <jirka 5z com>
    
    	* src/calc.h, ssrc/funclib.c, src/genius.c, src/gnome-genius.c:
    	  update copyright string and make it translatable

 ChangeLog             |    5 +++++
 lib/library-strings.c |   14 +++++++-------
 po/ChangeLog          |    4 ++++
 po/POTFILES.in        |    1 +
 po/cs.po              |   26 +++++++++++++++-----------
 src/calc.h            |    2 +-
 src/funclib.c         |    2 +-
 src/genius.c          |    4 ++--
 src/gnome-genius.c    |    6 +++---
 9 files changed, 39 insertions(+), 25 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f15cd88..b724a5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Aug 30 22:33:08 2010  Jiri (George) Lebl <jirka 5z com>
+
+	* src/calc.h, ssrc/funclib.c, src/genius.c, src/gnome-genius.c:
+	  update copyright string and make it translatable
+
 Mon Aug 30 15:31:37 2010  Jiri (George) Lebl <jirka 5z com>
 
 	* help/C/genius.xml, help/C/gel-function-list.xml:
diff --git a/lib/library-strings.c b/lib/library-strings.c
index b6eb20d..ca69db5 100644
--- a/lib/library-strings.c
+++ b/lib/library-strings.c
@@ -64,7 +64,7 @@ char *fake = N_("Test if Mp is a Mersenne prime using the Lucas-Lehmer test");
 char *fake = N_("Return all maximal prime power factors of a number");
 char *fake = N_("Vector with the known Mersenne prime exponents");
 char *fake = N_("Return the Moebius mu function evaluated in n");
-char *fake = N_("Returns the padic valuation (number of trailing zeros in base p).");
+char *fake = N_("Returns the p-adic valuation (number of trailing zeros in base p).");
 char *fake = N_("Compute a^b mod m");
 char *fake = N_("Return all prime factors of a number");
 char *fake = N_("Pseudoprime test, true iff b^(n-1) == 1 (mod n)");
@@ -74,7 +74,7 @@ char *fake = N_("Find square root of n mod p (a prime). Null is returned if not
 char *fake = N_("Apply a function over all entries of a matrix and return a matrix of the results");
 char *fake = N_("Apply a function over all entries of 2 matrices (or 1 value and 1 matrix) and return a matrix of the results");
 char *fake = N_("Remove column(s) and row(s) from a matrix");
-char *fake = N_("Calculate the kth compund matrix of A");
+char *fake = N_("Calculate the kth compound matrix of A");
 char *fake = N_("Delete a column of a matrix");
 char *fake = N_("Delete a row of a matrix");
 char *fake = N_("Get the dot product of two vectors (no conjugates)");
@@ -93,7 +93,7 @@ char *fake = N_("Removes any all-zero rows of M");
 char *fake = N_("Return column(s) and row(s) from a matrix");
 char *fake = N_("Swap two rows in a matrix");
 char *fake = N_("Zero out entries below the diagonal");
-char *fake = N_("Get the auxilliary unit matrix of size n");
+char *fake = N_("Get the auxiliary unit matrix of size n");
 char *fake = N_("Evaluate (v,w) with respect to the bilinear form given by the matrix A");
 char *fake = N_("Return a function that evaluates two vectors with respect to the bilinear form given by A");
 char *fake = N_("Get the characteristic polynomial as a vector");
@@ -110,21 +110,21 @@ char *fake = N_("Direct sum of matrices");
 char *fake = N_("Direct sum of a vector of matrices");
 char *fake = N_("Get the eigenvalues of a matrix (Currently only for up to 4x4 or triangular matrices)");
 char *fake = N_("Get the eigenvalues and eigenvectors of a matrix (Currently only for up to 2x2 matrices)");
-char *fake = N_("Apply the Gram-Schmidt process (to the columns) with respect to inner product given by B (if not given use hermitian product)");
+char *fake = N_("Apply the Gram-Schmidt process (to the columns) with respect to inner product given by B (if not given use Hermitian product)");
 char *fake = N_("Hankel matrix");
 char *fake = N_("Hilbert matrix of order n");
 char *fake = N_("Get the image (columnspace) of a linear transform");
 char *fake = N_("Get the Inf Norm of a vector");
 char *fake = N_("Get the invariant factors of a square integer matrix (not its characteristic)");
 char *fake = N_("Inverse Hilbert matrix of order n");
-char *fake = N_("Is a matrix hermitian");
+char *fake = N_("Is a matrix Hermitian");
 char *fake = N_("Test if a vector is in a subspace");
 char *fake = N_("Is a matrix (or number) invertible (Integer matrix is invertible iff it's invertible over the integers)");
 char *fake = N_("Is a matrix (or number) invertible over a field");
 char *fake = N_("Is a matrix normal");
 char *fake = N_("Is a matrix positive definite");
 char *fake = N_("Is a matrix positive semidefinite");
-char *fake = N_("Is a matrix skew-hermitian");
+char *fake = N_("Is a matrix skew-Hermitian");
 char *fake = N_("Is a matrix unitary");
 char *fake = N_("Get the jordan block corresponding to lambda and n");
 char *fake = N_("Get the kernel (nullspace) of a linear transform");
@@ -134,7 +134,7 @@ char *fake = N_("Return the columns that are not the pivot columns of a matrix")
 char *fake = N_("Get the p Norm (or 2 Norm if no p is supplied) of a vector");
 char *fake = N_("Get the nullity of a matrix");
 char *fake = N_("Get the orthogonal complement of the columnspace");
-char *fake = N_("Projection of vector v onto subspace W given a sesquilinear form B (if not given use hermitian product)");
+char *fake = N_("Projection of vector v onto subspace W given a sesquilinear form B (if not given use Hermitian product)");
 char *fake = N_("Get the QR decomposition of A, returns R and Q can be a reference");
 char *fake = N_("Get the rank of a matrix");
 char *fake = N_("Return the Rayleigh quotient of a matrix and a vector");
diff --git a/po/ChangeLog b/po/ChangeLog
index 6431630..49a5c5c 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -1,3 +1,7 @@
+Mon Aug 30 22:33:01 2010  Jiri (George) Lebl <jirka 5z com>
+
+	* cs.po: update
+
 Mon Aug 30 16:05:32 2010  Jiri (George) Lebl <jirka 5z com>
 
 	* cs.po: update
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 07e4b04..9346423 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,6 +2,7 @@
 # Please keep this file sorted alphabetically.
 lib/library-strings.c
 src/calc.c
+src/calc.h
 src/compil.c
 src/eval.c
 src/funclib.c
diff --git a/po/cs.po b/po/cs.po
index 404a127..4efc47d 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -1,16 +1,16 @@
 # Czech translation of genius.
-# Copyright (C) 2009 the author(s) of genius.
+# Copyright (C) 1998-2010 the author(s) of genius.
 # Copyrigyt (C) 2004, 2005 Miloslav Trmac <mitr volny cz>
 #
 # Miloslav Trmac <mitr volny cz>, 2003, 2004, 2005.
-# Jiri Lebl <jirka 5z com>, 1998-2009
+# Jiri Lebl <jirka 5z com>, 1998-2010
 # Marek Ä?ernocký <marek manet cz>, 2009, 2010.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: genius master\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-30 16:05-0700\n"
+"POT-Creation-Date: 2010-08-30 22:32-0700\n"
 "PO-Revision-Date: 2010-06-29 19:42+0200\n"
 "Last-Translator: Marek Ä?ernocký <marek manet cz>\n"
 "Language-Team: Czech <gnome-cs-list gnome org>\n"
@@ -346,8 +346,8 @@ msgid "Return the Moebius mu function evaluated in n"
 msgstr "Vrátit Moebiovu funkci mu vyhodnocenou v n"
 
 #: ../lib/library-strings.c:67
-msgid "Returns the padic valuation (number of trailing zeros in base p)."
-msgstr "Vrátí padické ohodnocení (poÄ?et koncových nul v základu p)."
+msgid "Returns the p-adic valuation (number of trailing zeros in base p)."
+msgstr "Vrátí p-adické ohodnocení (poÄ?et koncových nul v základu p)."
 
 #: ../lib/library-strings.c:68
 msgid "Compute a^b mod m"
@@ -400,7 +400,7 @@ msgid "Remove column(s) and row(s) from a matrix"
 msgstr "Odstranit Å?ádky a sloupce z matice"
 
 #: ../lib/library-strings.c:77
-msgid "Calculate the kth compund matrix of A"
+msgid "Calculate the kth compound matrix of A"
 msgstr "SpoÄ?ítat k-ou složenou matici A"
 
 #: ../lib/library-strings.c:78
@@ -476,7 +476,7 @@ msgid "Zero out entries below the diagonal"
 msgstr "Vynulovat prvky pod diagonálou"
 
 #: ../lib/library-strings.c:96
-msgid "Get the auxilliary unit matrix of size n"
+msgid "Get the auxiliary unit matrix of size n"
 msgstr "Získat pomocnou jednotkovou matici velikosti n"
 
 #: ../lib/library-strings.c:97
@@ -561,7 +561,7 @@ msgstr ""
 #: ../lib/library-strings.c:113
 msgid ""
 "Apply the Gram-Schmidt process (to the columns) with respect to inner "
-"product given by B (if not given use hermitian product)"
+"product given by B (if not given use Hermitian product)"
 msgstr ""
 "Provést Gram-Schmidtův proces (na sloupce) vzhledem ke skalárnímu souÄ?inu "
 "danému B (pokud není souÄ?in dán, je použit hermitovský souÄ?in)"
@@ -594,7 +594,7 @@ msgid "Inverse Hilbert matrix of order n"
 msgstr "Inverzní Hilbertova matice Å?ádu n"
 
 #: ../lib/library-strings.c:120
-msgid "Is a matrix hermitian"
+msgid "Is a matrix Hermitian"
 msgstr "Je matice hermitovská"
 
 #: ../lib/library-strings.c:121
@@ -626,7 +626,7 @@ msgid "Is a matrix positive semidefinite"
 msgstr "Je matice positivnÄ? semidefinitní"
 
 #: ../lib/library-strings.c:127
-msgid "Is a matrix skew-hermitian"
+msgid "Is a matrix skew-Hermitian"
 msgstr "Je matice antihermitovská"
 
 #: ../lib/library-strings.c:128
@@ -672,7 +672,7 @@ msgstr "Získat ortogonální doplnÄ?k sloupcového prostoru"
 #: ../lib/library-strings.c:137
 msgid ""
 "Projection of vector v onto subspace W given a sesquilinear form B (if not "
-"given use hermitian product)"
+"given use Hermitian product)"
 msgstr ""
 "PrůmÄ?t vektoru v do podprostoru W, je-li dána sesquilineární forma B (pokud "
 "není souÄ?in dán, je použit hermitovský souÄ?in)"
@@ -1531,6 +1531,10 @@ msgstr "CHYBA: %s na konci vstupu"
 msgid "ERROR: %s before '%s'"
 msgstr "CHYBA: %s pÅ?ed â??%sâ??"
 
+#: ../src/calc.h:32
+msgid "Copyright (C) 1997-2010 JiÅ?í (George) Lebl, Ph.D."
+msgstr "Copyright (C) 1997-2010 JiÅ?í (George) Lebl, Ph.D."
+
 #: ../src/compil.c:537 ../src/compil.c:543
 msgid "Bad tree record when decompiling"
 msgstr "Å patný záznam stromu pÅ?i dekompilaci"
diff --git a/src/calc.h b/src/calc.h
index ca4c97a..e503cd0 100644
--- a/src/calc.h
+++ b/src/calc.h
@@ -29,7 +29,7 @@
 
 #include "structs.h"
 
-#define GENIUS_COPYRIGHT_STRING "Copyright (C) 1997-2009 JiÅ?í (George) Lebl, Ph.D."
+#define GENIUS_COPYRIGHT_STRING N_("Copyright (C) 1997-2010 JiÅ?í (George) Lebl, Ph.D.")
 
 typedef enum {
 	GEL_NO_ERROR = 0,
diff --git a/src/funclib.c b/src/funclib.c
index c68e3fe..148558b 100644
--- a/src/funclib.c
+++ b/src/funclib.c
@@ -184,7 +184,7 @@ warranty_op(GelCtx *ctx, GelETree * * a, gboolean *exception)
 		       "    You should have received a copy of the GNU General Public License\n"
 		       "    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n"),
 			    VERSION,
-			    GENIUS_COPYRIGHT_STRING);
+			    _(GENIUS_COPYRIGHT_STRING));
 	gel_error_num = GEL_IGNORE_ERROR;
 	RAISE_EXCEPTION (exception);
 	return NULL;
diff --git a/src/genius.c b/src/genius.c
index affd7e7..d92d28d 100644
--- a/src/genius.c
+++ b/src/genius.c
@@ -485,7 +485,7 @@ main(int argc, char *argv[])
 			g_print (_("Genius %s\n"
 				   "%s%s\n"),
 				 VERSION,
-				 GENIUS_COPYRIGHT_STRING,
+				 _(GENIUS_COPYRIGHT_STRING),
 				 get_version_details ());
 			exit (0);
 		} else {
@@ -540,7 +540,7 @@ main(int argc, char *argv[])
 			   "For license details type `warranty'.\n"
 			   "For help type 'manual' or 'help'.%s\n\n"),
 			 VERSION,
-			 GENIUS_COPYRIGHT_STRING,
+			 _(GENIUS_COPYRIGHT_STRING),
 			 get_version_details ());
 		be_quiet = FALSE;
 	}
diff --git a/src/gnome-genius.c b/src/gnome-genius.c
index c871e54..462fb88 100644
--- a/src/gnome-genius.c
+++ b/src/gnome-genius.c
@@ -1892,11 +1892,11 @@ aboutcb(GtkWidget * widget, gpointer data)
 	       "    You should have received a copy of the GNU General Public License\n"
 	       "    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n"),
 		    VERSION,
-		    GENIUS_COPYRIGHT_STRING);
+		    _(GENIUS_COPYRIGHT_STRING));
 	gtk_show_about_dialog (GTK_WINDOW (genius_window),
 			      "program-name", _("Genius Mathematical Tool"), 
 			      "version", VERSION,
-			      "copyright", GENIUS_COPYRIGHT_STRING,
+			      "copyright", _(GENIUS_COPYRIGHT_STRING),
 			      "comments",
 			      _("The Gnome calculator style edition of "
 				"the Genius Mathematical Tool."),
@@ -5045,7 +5045,7 @@ main (int argc, char *argv[])
 			   "\e[0;32m" /* green */,
 			   "\e[0m" /* white on black */,
 			   VERSION,
-			   GENIUS_COPYRIGHT_STRING,
+			   _(GENIUS_COPYRIGHT_STRING),
 			   "\e[01;36m" /* cyan */,
 			   "\e[0m" /* white on black */,
 			   "\e[01;36m" /* cyan */,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]