Skip to content

Commit e7d516b

Browse files
patthoytspaulusmack
authored andcommitted
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 <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
1 parent adab0da commit e7d516b

File tree

9 files changed

+17
-17
lines changed

9 files changed

+17
-17
lines changed

gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2787,7 +2787,7 @@ proc about {} {
27872787
message $w.m -text [mc "
27882788
Gitk - a commit viewer for git
27892789
2790-
Copyright © 2005-2009 Paul Mackerras
2790+
Copyright \u00a9 2005-2010 Paul Mackerras
27912791
27922792
Use and redistribute under the terms of the GNU General Public License"] \
27932793
-justify center -aspect 400 -border 2 -bg white -relief groove

po/de.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,14 +334,14 @@ msgid ""
334334
"\n"
335335
"Gitk - a commit viewer for git\n"
336336
"\n"
337-
"Copyright ©9 2005-2009 Paul Mackerras\n"
337+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
338338
"\n"
339339
"Use and redistribute under the terms of the GNU General Public License"
340340
msgstr ""
341341
"\n"
342342
"Gitk - eine Visualisierung der Git-Historie\n"
343343
"\n"
344-
"Copyright © 2005-2009 Paul Mackerras\n"
344+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
345345
"\n"
346346
"Benutzung und Weiterverbreitung gemäß den Bedingungen der GNU General Public License"
347347

po/es.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,14 +281,14 @@ msgid ""
281281
"\n"
282282
"Gitk - a commit viewer for git\n"
283283
"\n"
284-
"Copyright © 2005-2008 Paul Mackerras\n"
284+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
285285
"\n"
286286
"Use and redistribute under the terms of the GNU General Public License"
287287
msgstr ""
288288
"\n"
289289
"Gitk - un visualizador de revisiones para git\n"
290290
"\n"
291-
"Copyright © 2005-2008 Paul Mackerras\n"
291+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
292292
"\n"
293293
"Uso y redistribución permitidos según los términos de la Licencia Pública "
294294
"General de GNU (GNU GPL)"

po/fr.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,14 +334,14 @@ msgid ""
334334
"\n"
335335
"Gitk - a commit viewer for git\n"
336336
"\n"
337-
"Copyright © 2005-2008 Paul Mackerras\n"
337+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
338338
"\n"
339339
"Use and redistribute under the terms of the GNU General Public License"
340340
msgstr ""
341341
"\n"
342342
"Gitk - visualisateur de commit pour git\n"
343343
"\n"
344-
"Copyright © 2005-2008 Paul Mackerras\n"
344+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
345345
"\n"
346346
"Utilisation et redistribution soumises aux termes de la GNU General Public "
347347
"License"

po/hu.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,14 +333,14 @@ msgid ""
333333
"\n"
334334
"Gitk - a commit viewer for git\n"
335335
"\n"
336-
"Copyright ©9 2005-2009 Paul Mackerras\n"
336+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
337337
"\n"
338338
"Use and redistribute under the terms of the GNU General Public License"
339339
msgstr ""
340340
"\n"
341341
"Gitk - commit nézegető a githez\n"
342342
"\n"
343-
"Szerzői jog ©9 2005-2009 Paul Mackerras\n"
343+
"Szerzői jog \\u00a9 2005-2010 Paul Mackerras\n"
344344
"\n"
345345
"Használd és terjeszd a GNU General Public License feltételei mellett"
346346

po/it.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,14 +334,14 @@ msgid ""
334334
"\n"
335335
"Gitk - a commit viewer for git\n"
336336
"\n"
337-
"Copyright © 2005-2009 Paul Mackerras\n"
337+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
338338
"\n"
339339
"Use and redistribute under the terms of the GNU General Public License"
340340
msgstr ""
341341
"\n"
342342
"Gitk - un visualizzatore di revisioni per git\n"
343343
"\n"
344-
"Copyright © 2005-2009 Paul Mackerras\n"
344+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
345345
"\n"
346346
"Utilizzo e redistribuzione permessi sotto i termini della GNU General Public "
347347
"License"

po/ja.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,14 +335,14 @@ msgid ""
335335
"\n"
336336
"Gitk - a commit viewer for git\n"
337337
"\n"
338-
"Copyright © 2005-2008 Paul Mackerras\n"
338+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
339339
"\n"
340340
"Use and redistribute under the terms of the GNU General Public License"
341341
msgstr ""
342342
"\n"
343343
"Gitk - gitコミットビューア\n"
344344
"\n"
345-
"Copyright © 2005-2008 Paul Mackerras\n"
345+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
346346
"\n"
347347
"使用および再配布は GNU General Public License に従ってください"
348348

po/ru.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,14 @@ msgid ""
313313
"\n"
314314
"Gitk - a commit viewer for git\n"
315315
"\n"
316-
"Copyright © 2005-2008 Paul Mackerras\n"
316+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
317317
"\n"
318318
"Use and redistribute under the terms of the GNU General Public License"
319319
msgstr ""
320320
"\n"
321321
"Gitk - программа просмотра истории репозиториев Git\n"
322322
"\n"
323-
"Copyright (c) 2005-2008 Paul Mackerras\n"
323+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
324324
"\n"
325325
"Использование и распространение согласно условиям GNU General Public License"
326326

po/sv.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,14 +334,14 @@ msgid ""
334334
"\n"
335335
"Gitk - a commit viewer for git\n"
336336
"\n"
337-
"Copyright ©9 2005-2009 Paul Mackerras\n"
337+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
338338
"\n"
339339
"Use and redistribute under the terms of the GNU General Public License"
340340
msgstr ""
341341
"\n"
342342
"Gitk - en incheckningsvisare för git\n"
343343
"\n"
344-
"Copyright © 2005-2009 Paul Mackerras\n"
344+
"Copyright \\u00a9 2005-2010 Paul Mackerras\n"
345345
"\n"
346346
"Använd och vidareförmedla enligt villkoren i GNU General Public License"
347347

0 commit comments

Comments
 (0)