[ekg2-commit] ekg2: themes.c (HEAD) [peres]
CVS commit
cvs w toxygen.net
Nie, 6 Maj 2007, 23:55:23 CEST
Module name: ekg2
Changes by: peres 2007-05-06 23:55:20
Modified files:
themes.c
Log message:
Checking filesize after read, better reporting of truncated/expanded.
Index: themes.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/themes.c,v
diff -d -u -r1.185 -r1.186
--- themes.c 6 May 2007 20:57:06 -0000 1.185
+++ themes.c 6 May 2007 21:55:20 -0000 1.186
@@ -1944,8 +1944,11 @@
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_truncated", _("%! %|WARNING: Filesize smaller than before. File probably truncated!"), 1);
+ format_add("io_truncated", _("%! %|WARNING: EOF before reaching filesize. File probably truncated (somehow)!"), 1);
+ format_add("io_expanded", _("%! %|WARNING: Filesize larger than before. File probably got expanded!"), 1);
format_add("io_emptyfile", _("%! File is empty!"), 1);
+ format_add("io_toobig", _("%! File size exceeds maximum allowed length!"), 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();
Więcej informacji o liście dyskusyjnej ekg2-commit