]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/po.mdwn
po plugin: make any slave page dependent on the corresponding master page
[ikiwiki.git] / doc / plugins / po.mdwn
index e114e34fa2dbf7395b99b10acce6a582547f0be8..06ecedc246dfdc9af0973646e9ec7768f76b88e3 100644 (file)
@@ -177,10 +177,12 @@ Committing changes to a "master" page must:
    this is done in the `needsbuild` hook; the updated PO files must
    then be put under version control
 
-2. trigger a refresh of the corresponding HTML slave pages; this can
-   be implemented by making any "slave" page depend on the
-   corresponding "master" page. The `add_depends` function can achieve
-   this, if used in a **FIXME** hook.
+2. trigger a refresh of the corresponding HTML slave pages: this is
+   achieved by making any "slave" page dependent on the corresponding
+   "master" page, in the `needsbuild` hook.
+
+Also, when the plugin has just been enabled, all the needed POT and PO
+files have to be created.
 
 UI consistency: rename "Edit" button on slave pages
 ---------------------------------------------------