about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r--WWW/Library/Implementation/HTFile.c4
-rw-r--r--WWW/Library/Implementation/HTGopher.c2
-rw-r--r--WWW/Library/Implementation/HTMIME.c5
3 files changed, 5 insertions, 6 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c
index 8a1ad8cd..103b1651 100644
--- a/WWW/Library/Implementation/HTFile.c
+++ b/WWW/Library/Implementation/HTFile.c
@@ -1704,7 +1704,7 @@ PRIVATE int print_local_dir ARGS5(
 	HTBTree * bt = HTBTree_new((HTComparer)AS_cmp);
 	int num_of_entries = 0;	    /* lines counter */
 
-	_HTProgress (gettext("Reading directory..."));
+	_HTProgress (READING_DIRECTORY);
 	status = HT_LOADED; /* assume we don't get interrupted */
 	while ((dirbuf = readdir(dp)) != NULL) {
 	    /*
@@ -1786,7 +1786,7 @@ PRIVATE int print_local_dir ARGS5(
 	}   /* end while directory entries left to read */
 
 	if (status != HT_PARTIAL_CONTENT)
-	    _HTProgress (gettext("OK"));
+	    _HTProgress (OPERATION_OK);
 	else
 	    CTRACE((tfp, "Reading the directory interrupted by user\n"));
 
diff --git a/WWW/Library/Implementation/HTGopher.c b/WWW/Library/Implementation/HTGopher.c
index 389d1fd7..b3ae7d99 100644
--- a/WWW/Library/Implementation/HTGopher.c
+++ b/WWW/Library/Implementation/HTGopher.c
@@ -1724,7 +1724,7 @@ PRIVATE int HTLoadGopher ARGS4(
 	CTRACE((tfp, "HTGopher: Passing to finger gateway.\n"));
 	return HTLoadFinger(arg, anAnchor, format_out, sink);
 #else /* finger is disabled */
-	HTAlert(gettext("Unable to access document!"));
+	HTAlert(COULD_NOT_ACCESS_DOCUMENT);
 	return HT_NOT_LOADED;
 #endif /* DISABLE_FINGER */
     }
diff --git a/WWW/Library/Implementation/HTMIME.c b/WWW/Library/Implementation/HTMIME.c
index 90094b8f..2e555000 100644
--- a/WWW/Library/Implementation/HTMIME.c
+++ b/WWW/Library/Implementation/HTMIME.c
@@ -381,14 +381,13 @@ PRIVATE int pumpData ARGS1(HTStream *, me)
 	    permanent_redirection = FALSE;
 	    if (me->location) {
 		CTRACE((tfp, "HTTP: 'Location:' is zero-length!\n"));
-		HTAlert(
-		    gettext("Got redirection with a bad Location header."));
+		HTAlert(REDIRECTION_WITH_BAD_LOCATION);
 	    }
 	    CTRACE((tfp, "HTTP: Failed to pick up location.\n"));
 	    if (me->location) {
 		FREE(me->location);
 	    } else {
-		HTAlert(gettext("Got redirection with no Location header."));
+		HTAlert(REDIRECTION_WITH_NO_LOCATION);
 	    }
 	}
     }