From 5c558eeeffd4e7713cc2357fd5bd315a2324b97f Mon Sep 17 00:00:00 2001 From: "donal.k.fellows@manchester.ac.uk" Date: Tue, 31 Jan 2006 21:39:28 +0000 Subject: Finish i18n of bgerror [Bug 1409264]. No l10n of that specific message though; that can wait for someone who really wants to use non-English to submit patches. --- ChangeLog | 38 +++++++++++++++++++++----------------- library/bgerror.tcl | 6 +++--- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index 552f5a7..b472eb8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ +2006-01-31 Donal K. Fellows + + * library/bgerror.tcl (::tk::dialog::error::bgerror): Finish the + internationalization of the error dialog. [Bug 1409264] + 2006-01-25 Don Porter - * library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch 1237759] + * library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch 1237759] * library/choosedir.tcl: * library/comdlg.tcl: * library/console.tcl: @@ -19,20 +24,19 @@ 2006-01-20 Joe English - * generic/tkEvent.c, unix/tkUnixEvent.c: XIM fixes - [See #905830, patch tk84-xim-fixes.patch]. - + Revert 2005-12-05 patch disabling XIM when SCIM in use; - + Make sure all X events get passed to XFilterEvent, + * generic/tkEvent.c, unix/tkUnixEvent.c: XIM fixes [See 905830, patch + tk84-xim-fixes.patch], and revert 2005-12-05 patch disabling XIM when + SCIM in use, and make sure all X events get passed to XFilterEvent, including those without a corresponding Tk window. 2006-01-13 Anton Kovalenko - * generic/tkUndo.c (TkUndoSetDepth): Don't free - TkUndoSubAtoms for separator entries that are deleted: - there is some unpredictable garbage instead of subatoms. + * generic/tkUndo.c (TkUndoSetDepth): Don't free TkUndoSubAtoms for + separator entries that are deleted: there is some unpredictable + garbage instead of subatoms. - Free both 'apply' and 'revert' action chains for - non-separator entries. + Free both 'apply' and 'revert' action chains for non-separator + entries. 2006-01-12 Donal K. Fellows @@ -44,8 +48,8 @@ 2006-01-11 Peter Spjuth - * generic/tkGrid.c: Removed a lingering error message from - TIP#147 implementation. + * generic/tkGrid.c: Removed a lingering error message from TIP#147 + implementation. 2006-01-10 Daniel Steffen @@ -68,14 +72,14 @@ * unix/configure: add caching, use AC_CACHE_CHECK instead of * unix/configure.in: AC_CACHE_VAL where possible, consistent message - * unix/tcl.m4: quoting, sync relevant tclconfig/tcl.m4 changes and - gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default - argument, Darwin improvements to SC_LOAD_*CONFIG. + * unix/tcl.m4: quoting, sync relevant tclconfig/tcl.m4 changes + and gratuitous formatting differences, fix SC_CONFIG_MANPAGES with + default argument, Darwin improvements to SC_LOAD_*CONFIG. 2005-12-28 Donal K. Fellows - * generic/tkUndo.c (TkUndoSetDepth): Apply [Patch 1391939] from - Ludwig Callewaert to fix [Bug 1380427]. + * generic/tkUndo.c (TkUndoSetDepth): Apply [Patch 1391939] from Ludwig + Callewaert to fix [Bug 1380427]. 2005-12-14 Daniel Steffen diff --git a/library/bgerror.tcl b/library/bgerror.tcl index 05569c1..d926269 100644 --- a/library/bgerror.tcl +++ b/library/bgerror.tcl @@ -9,8 +9,8 @@ # Copyright (c) 1998-2000 by Ajuba Solutions. # All rights reserved. # -# RCS: @(#) $Id: bgerror.tcl,v 1.30 2006/01/25 18:22:04 dgp Exp $ -# $Id: bgerror.tcl,v 1.30 2006/01/25 18:22:04 dgp Exp $ +# RCS: @(#) $Id: bgerror.tcl,v 1.31 2006/01/31 21:39:29 dkf Exp $ +# $Id: bgerror.tcl,v 1.31 2006/01/31 21:39:29 dkf Exp $ namespace eval ::tk::dialog::error { namespace import -force ::tk::msgcat::* @@ -124,7 +124,7 @@ proc ::tk::dialog::error::bgerror err { set w .bgerrorDialog set title [mc "Application Error"] - set text "Error: $displayedErr" + set text [mc "Error: %1\$s" $displayedErr] set buttons [list ok $ok dismiss [mc "Skip Messages"] \ function [mc "Details >>"]] -- cgit v0.12