summaryrefslogtreecommitdiffstats
path: root/generic/tkGrid.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-07-08 20:24:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-07-08 20:24:37 (GMT)
commit10a2957a7673270de54a5054fb8c9c31f5845237 (patch)
treedf1e1255c706724d891af43eeaf60ea4b53ff1fc /generic/tkGrid.c
parent365059dd56e66d2056e28432b1420bfe676c260b (diff)
downloadtk-10a2957a7673270de54a5054fb8c9c31f5845237.zip
tk-10a2957a7673270de54a5054fb8c9c31f5845237.tar.gz
tk-10a2957a7673270de54a5054fb8c9c31f5845237.tar.bz2
[https://core.tcl-lang.org/tcl/tktview/0439e1e1a3|0439e1e1a3] can't -> cannot in all error-messagescore-bug-0439e1e1a3
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r--generic/tkGrid.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c
index 50068b5..019dee7 100644
--- a/generic/tkGrid.c
+++ b/generic/tkGrid.c
@@ -3165,7 +3165,7 @@ ConfigureContent(
if (Tk_TopWinHierarchy(content)) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "can't manage \"%s\": it's a top-level window",
+ "cannot manage \"%s\": it's a top-level window",
Tcl_GetString(objv[j])));
Tcl_SetErrorCode(interp, "TK", "GEOMETRY", "TOPLEVEL", NULL);
return TCL_ERROR;
@@ -3224,7 +3224,7 @@ ConfigureContent(
}
if (other == content) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
- "window can't be managed in itself", TCL_INDEX_NONE));
+ "window cannot be managed in itself", TCL_INDEX_NONE));
Tcl_SetErrorCode(interp, "TK", "GEOMETRY", "SELF", NULL);
return TCL_ERROR;
}
@@ -3368,7 +3368,7 @@ ConfigureContent(
}
if (Tk_TopWinHierarchy(ancestor)) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "can't put \"%s\" inside \"%s\"", Tcl_GetString(objv[j]),
+ "cannot put \"%s\" inside \"%s\"", Tcl_GetString(objv[j]),
Tk_PathName(containerPtr->tkwin)));
Tcl_SetErrorCode(interp, "TK", "GEOMETRY", "HIERARCHY", NULL);
Unlink(contentPtr);
@@ -3384,7 +3384,7 @@ ConfigureContent(
container = (TkWindow *)TkGetContainer(container)) {
if (container == (TkWindow *)content) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
- "can't put \"%s\" inside \"%s\": would cause management loop",
+ "cannot put \"%s\" inside \"%s\": would cause management loop",
Tcl_GetString(objv[j]), Tk_PathName(containerPtr->tkwin)));
Tcl_SetErrorCode(interp, "TK", "GEOMETRY", "LOOP", NULL);
Unlink(contentPtr);
@@ -3469,7 +3469,7 @@ ConfigureContent(
if (containerPtr == NULL) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
- "can't use '^', can't find container window", TCL_INDEX_NONE));
+ "cannot use '^', cannot find container window", TCL_INDEX_NONE));
Tcl_SetErrorCode(interp, "TK", "GRID", "SHORTCUT_USAGE", NULL);
return TCL_ERROR;
}
@@ -3523,7 +3523,7 @@ ConfigureContent(
}
if (!match) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
- "can't find content to extend with \"^\"", TCL_INDEX_NONE));
+ "cannot find content to extend with \"^\"", TCL_INDEX_NONE));
Tcl_SetErrorCode(interp, "TK", "GRID", "SHORTCUT_USAGE", NULL);
return TCL_ERROR;
}
@@ -3531,7 +3531,7 @@ ConfigureContent(
if (containerPtr == NULL) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
- "can't determine container window", TCL_INDEX_NONE));
+ "cannot determine container window", TCL_INDEX_NONE));
Tcl_SetErrorCode(interp, "TK", "GRID", "SHORTCUT_USAGE", NULL);
return TCL_ERROR;
}