]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/pinger.pm
po plugin: move translatable pages to setup file, refactor
[git.ikiwiki.info.git] / IkiWiki / Plugin / pinger.pm
index 89b4365abf1c1393d24d254748b387f247efb554..043b074a7986d8e23ac3d8f0ede649f9e289c6c9 100644 (file)
@@ -18,9 +18,13 @@ sub import { #{{{
 
 sub getsetup () { #{{{
        return
+               plugin => {
+                       safe => 1,
+                       rebuild => 0,
+               },
                pinger_timeout => {
-                       type => "int",
-                       default => 15,
+                       type => "integer",
+                       example => 15,
                        description => "how many seconds to try pinging before timing out",
                        safe => 1,
                        rebuild => 0,