gitk: Fix display of copyright symbol
The script file uses utf-8 encoding but when sourced it will be read using the default system encoding which is never utf8 on windows. This causes the copyright symbol to display incorrectly in the about dialog. Using the unicode escape sequence avoids incorrect decoding but does require a double escape in the .po files. Also adjusted the year range. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Pat Thoyts committed
Mar 12, 2010 at 18:31 UTC
e7d516b67b02cfc4c18408d2d39118c61345bf6d
9 files changed
+17
-17
gitk
+1
-1
@@ -2787,7 +2787,7 @@ proc about {} {
2787
message $w.m -text [mc "
2788
Gitk - a commit viewer for git
2789
2790
-Copyright © 2005-2009 Paul Mackerras
2790
+Copyright \u00a9 2005-2010 Paul Mackerras
2791
2792
Use and redistribute under the terms of the GNU General Public License"] \
2793
-justify center -aspect 400 -border 2 -bg white -relief groove
po/de.po
+2
-2
@@ -334,14 +334,14 @@ msgid ""
334
"\n"
335
"Gitk - a commit viewer for git\n"
336
"\n"
337
-"Copyright ©9 2005-2009 Paul Mackerras\n"
337
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
338
"\n"
339
"Use and redistribute under the terms of the GNU General Public License"
340
msgstr ""
341
"\n"
342
"Gitk - eine Visualisierung der Git-Historie\n"
343
"\n"
344
-"Copyright © 2005-2009 Paul Mackerras\n"
344
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
345
"\n"
346
"Benutzung und Weiterverbreitung gemäß den Bedingungen der GNU General Public License"
347
po/es.po
+2
-2
@@ -281,14 +281,14 @@ msgid ""
281
"\n"
282
"Gitk - a commit viewer for git\n"
283
"\n"
284
-"Copyright © 2005-2008 Paul Mackerras\n"
284
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
285
"\n"
286
"Use and redistribute under the terms of the GNU General Public License"
287
msgstr ""
288
"\n"
289
"Gitk - un visualizador de revisiones para git\n"
290
"\n"
291
-"Copyright © 2005-2008 Paul Mackerras\n"
291
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
292
"\n"
293
"Uso y redistribución permitidos según los términos de la Licencia Pública "
294
"General de GNU (GNU GPL)"
po/fr.po
+2
-2
@@ -334,14 +334,14 @@ msgid ""
334
"\n"
335
"Gitk - a commit viewer for git\n"
336
"\n"
337
-"Copyright © 2005-2008 Paul Mackerras\n"
337
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
338
"\n"
339
"Use and redistribute under the terms of the GNU General Public License"
340
msgstr ""
341
"\n"
342
"Gitk - visualisateur de commit pour git\n"
343
"\n"
344
-"Copyright © 2005-2008 Paul Mackerras\n"
344
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
345
"\n"
346
"Utilisation et redistribution soumises aux termes de la GNU General Public "
347
"License"
po/hu.po
+2
-2
@@ -333,14 +333,14 @@ msgid ""
333
"\n"
334
"Gitk - a commit viewer for git\n"
335
"\n"
336
-"Copyright ©9 2005-2009 Paul Mackerras\n"
336
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
337
"\n"
338
"Use and redistribute under the terms of the GNU General Public License"
339
msgstr ""
340
"\n"
341
"Gitk - commit nézegető a githez\n"
342
"\n"
343
-"Szerzői jog ©9 2005-2009 Paul Mackerras\n"
343
+"Szerzői jog \\u00a9 2005-2010 Paul Mackerras\n"
344
"\n"
345
"Használd és terjeszd a GNU General Public License feltételei mellett"
346
po/it.po
+2
-2
@@ -334,14 +334,14 @@ msgid ""
334
"\n"
335
"Gitk - a commit viewer for git\n"
336
"\n"
337
-"Copyright © 2005-2009 Paul Mackerras\n"
337
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
338
"\n"
339
"Use and redistribute under the terms of the GNU General Public License"
340
msgstr ""
341
"\n"
342
"Gitk - un visualizzatore di revisioni per git\n"
343
"\n"
344
-"Copyright © 2005-2009 Paul Mackerras\n"
344
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
345
"\n"
346
"Utilizzo e redistribuzione permessi sotto i termini della GNU General Public "
347
"License"
po/ja.po
+2
-2
@@ -335,14 +335,14 @@ msgid ""
335
"\n"
336
"Gitk - a commit viewer for git\n"
337
"\n"
338
-"Copyright © 2005-2008 Paul Mackerras\n"
338
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
339
"\n"
340
"Use and redistribute under the terms of the GNU General Public License"
341
msgstr ""
342
"\n"
343
"Gitk - gitコミットビューア\n"
344
"\n"
345
-"Copyright © 2005-2008 Paul Mackerras\n"
345
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
346
"\n"
347
"使用および再配布は GNU General Public License に従ってください"
348
po/ru.po
+2
-2
@@ -313,14 +313,14 @@ msgid ""
313
"\n"
314
"Gitk - a commit viewer for git\n"
315
"\n"
316
-"Copyright © 2005-2008 Paul Mackerras\n"
316
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
317
"\n"
318
"Use and redistribute under the terms of the GNU General Public License"
319
msgstr ""
320
"\n"
321
"Gitk - программа просмотра истории репозиториев Git\n"
322
"\n"
323
-"Copyright (c) 2005-2008 Paul Mackerras\n"
323
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
324
"\n"
325
"Использование и распространение согласно условиям GNU General Public License"
326
po/sv.po
+2
-2
@@ -334,14 +334,14 @@ msgid ""
334
"\n"
335
"Gitk - a commit viewer for git\n"
336
"\n"
337
-"Copyright ©9 2005-2009 Paul Mackerras\n"
337
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
338
"\n"
339
"Use and redistribute under the terms of the GNU General Public License"
340
msgstr ""
341
"\n"
342
"Gitk - en incheckningsvisare för git\n"
343
"\n"
344
-"Copyright © 2005-2009 Paul Mackerras\n"
344
+"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
345
"\n"
346
"Använd och vidareförmedla enligt villkoren i GNU General Public License"
347