[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Sun Oct 14 15:32:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-10-14 20:31:54 UTC
Commited by: Federico Mennite <ite at techmonkeys.org>

Modified files:
     src/mod/blowfish.mod/blowfish.c

Log message:

Finished gettextification in blowfish.mod.

---------------------- diff included ----------------------
Index: eggdrop1.7/src/mod/blowfish.mod/blowfish.c
diff -u eggdrop1.7/src/mod/blowfish.mod/blowfish.c:1.23 eggdrop1.7/src/mod/blowfish.mod/blowfish.c:1.24
--- eggdrop1.7/src/mod/blowfish.mod/blowfish.c:1.23	Wed Oct 10 05:44:05 2001
+++ eggdrop1.7/src/mod/blowfish.mod/blowfish.c	Sun Oct 14 15:31:44 2001
@@ -2,7 +2,7 @@
  * blowfish.c -- part of blowfish.mod
  *   encryption and decryption of passwords
  *
- * $Id: blowfish.c,v 1.23 2001/10/10 10:44:05 tothwolf Exp $
+ * $Id: blowfish.c,v 1.24 2001/10/14 20:31:44 ite Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -134,11 +134,12 @@
     for (i = 0; i < BOXES; i++)
       if (box[i].P != NULL)
 	tot++;
-    dprintf(idx, "    Blowfish encryption module:\n");
-    dprintf(idx, "    %d of %d boxes in use: ", tot, BOXES);
+    dprintf(idx, "    %s\n", _("Blowfish encryption module:"));
+    dprintf(idx, "    ");
+    dprintf(idx, _("%d of %d boxes in use:"), tot, BOXES);
     for (i = 0; i < BOXES; i++)
       if (box[i].P != NULL) {
-	dprintf(idx, "(age: %d) ", now - box[i].lastuse);
+	dprintf(idx, " (%s: %d)", _("age"), now - box[i].lastuse);
       }
     dprintf(idx, "\n");
   }
@@ -423,7 +424,7 @@
  */
 static char *blowfish_close()
 {
-  return "You can't unload an encryption module";
+  return _("You can't unload an encryption module");
 }
 
 EXPORT_SCOPE char *start(Function *);
@@ -453,7 +454,7 @@
     global = global_funcs;
 
     if (!module_rename("blowfish", MODULE_NAME))
-      return "Already loaded.";
+      return _("Already loaded.");
     /* Initialize buffered boxes */
     for (i = 0; i < BOXES; i++) {
       box[i].P = NULL;
@@ -464,7 +465,7 @@
     module_register(MODULE_NAME, blowfish_table, 2, 1);
     if (!module_depend(MODULE_NAME, "eggdrop", 107, 0)) {
       module_undepend(MODULE_NAME);
-      return "This module requires eggdrop1.7.0 or later";
+      return _("This module requires eggdrop1.7.0 or later");
     }
     add_hook(HOOK_ENCRYPT_PASS, (Function) blowfish_encrypt_pass);
     add_hook(HOOK_ENCRYPT_STRING, (Function) encrypt_string);
----------------------- End of diff -----------------------



More information about the Changes mailing list