[ekg2-commit] ekg2: themes.c (HEAD) [peres]

CVS commit cvs w toxygen.net
Nie, 6 Maj 2007, 22:57:08 CEST


Module name:	ekg2
Changes by:	peres	2007-05-06 22:57:06

Modified files:
	themes.c

Log message:
Moving jogger-like I/O-formats to core.

Index: themes.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/themes.c,v
diff -d -u -r1.184 -r1.185
--- themes.c	5 May 2007 11:52:06 -0000	1.184
+++ themes.c	6 May 2007 20:57:06 -0000	1.185
@@ -1940,6 +1940,13 @@
 	format_add("aspell_init_success", "%> Zainicjowano moduł sprawdzania pisowni\n", 1);
 	format_add("aspell_init_error", "%! Błąd modułu sprawdzania pisowni: %T%1%n\n", 1);
 #endif 
+	/* jogger-like I/O */
+	format_add("io_cantopen", _("%! Unable to open file!"), 1);
+	format_add("io_nonfile", _("%! Given path doesn't appear to be regular file!"), 1);
+	format_add("io_cantread", _("%! Unable to read file!"), 1);
+	format_add("io_truncated", _("%! WARNING: EOF before reaching filesize. File probably truncated!"), 1);
+	format_add("io_emptyfile", _("%! File is empty!"), 1);
+	format_add("io_binaryfile", _("%! %|WARNING: The file probably contains NULs (is binary), so it can't be properly handled. It will be read until first encountered NUL, i.e. to offset %g%1%n (in bytes)!"), 1);
 
 	theme_plugins_init();
 #endif	/* !NO_DEFAULT_THEME */


Więcej informacji o liście dyskusyjnej ekg2-commit