Tk Source Code

Artifact [03c56c98]
Login

Artifact 03c56c989adc985caabdcdf5a23e892a407bb22008ac89995a41cc67b338d9e3:

Attachment "msgcat.patch" to ticket [dcb35fbd] added by Adam 2020-07-24 19:12:39. (unpublished)
--- library/console.tcl	2020-07-24 21:07:12.000000000 +0200
+++ library/console_fixed.tcl	2020-07-24 21:08:15.000000000 +0200
@@ -740,9 +740,9 @@
 }
 proc ::tk::console::FontchooserVisibility {index} {
     if {[tk fontchooser configure -visible]} {
-	.menubar.edit entryconfigure $index -label [msgcat::mc "Hide Fonts"]
+	.menubar.edit entryconfigure $index -label [::tk::msgcat::mc "Hide Fonts"]
     } else {
-	.menubar.edit entryconfigure $index -label [msgcat::mc "Show Fonts"]
+	.menubar.edit entryconfigure $index -label [::tk::msgcat::mc "Show Fonts"]
     }
 }
 proc ::tk::console::FontchooserFocus {w isFocusIn} {