[ekg2-commit] ekg2: drafts.c (HEAD) jogger.c (HEAD) [peres]
CVS commit
cvs w toxygen.net
Pon, 7 Maj 2007, 14:41:55 CEST
Module name: ekg2
Changes by: peres 2007-05-07 14:41:53
Modified files:
drafts.c jogger.c
Log message:
Warn if 'techblog' is the only category.
Index: drafts.c
===================================================================
RCS file: /home/cvs/ekg2/plugins/jogger/drafts.c,v
diff -d -u -r1.17 -r1.18
--- drafts.c 7 May 2007 08:23:00 -0000 1.17
+++ drafts.c 7 May 2007 12:41:52 -0000 1.18
@@ -279,6 +279,8 @@
char *values = xstrndup(sep+1, end-sep-1);
if (cssfind(values, "techblog", ',', 1) && cssfind(values, "miniblog", ',', 1))
WARN_PRINT("jogger_warning_miniblog_techblog");
+ else if (cssfind(values, "techblog", 0, 1))
+ WARN_PRINT("jogger_warning_techblog_only");
xfree(values);
}
} else if (i == 5) {
Index: jogger.c
===================================================================
RCS file: /home/cvs/ekg2/plugins/jogger/jogger.c,v
diff -d -u -r1.24 -r1.25
--- jogger.c 6 May 2007 20:57:06 -0000 1.24
+++ jogger.c 7 May 2007 12:41:52 -0000 1.25
@@ -237,6 +237,7 @@
format_add("jogger_warning_wrong_key_spaces", _("%> %|* Key in header mustn't be followed or preceeded by spaces at: %c%1%n"), 1);
format_add("jogger_warning_deprecated_miniblog", _("%> %|* Key %Tminiblog%n is deprecated in favor of such category at: %c%1%n"), 1);
format_add("jogger_warning_miniblog_techblog", _("%> %|* Miniblog entry will be posted to Techblog at: %c%1%n"), 1);
+ format_add("jogger_warning_techblog_only", _("%> * Entries posted to Techblog should have also some normal category: %c%1%n"), 1);
format_add("jogger_warning_malformed_url", _("%> %|* Malformed URL found at: %c%1%n"), 1);
format_add("jogger_warning_spacesep", _("%> %|* Possibility of accidentially using space as a separator instead of commas: %c%1%n"), 1);
format_add("jogger_warning_wrong_value", _("%> %|* Incorrect value found at: %c%1%n"), 1);
Więcej informacji o liście dyskusyjnej ekg2-commit