po plugin: updated doc to reflect current status of automatic PO files update
Signed-off-by: intrigeri <intrigeri@boum.org>master
parent
6424d748a4
commit
37222492a5
|
@ -173,21 +173,14 @@ Automatic PO files update
|
||||||
|
|
||||||
Committing changes to a "master" page must:
|
Committing changes to a "master" page must:
|
||||||
|
|
||||||
1. update the POT file and the PO files for the supported languages,
|
1. update the POT file and the PO files for the supported languages;
|
||||||
before putting them under version control
|
this is done in the `needsbuild` hook; the updated PO files must
|
||||||
2. trigger a refresh of the corresponding HTML slave pages
|
then be put under version control
|
||||||
|
|
||||||
The former is to be done at a time when:
|
2. trigger a refresh of the corresponding HTML slave pages; this can
|
||||||
|
be implemented by making any "slave" page depend on the
|
||||||
- we know which "master" page was modified, and thus, which POT/PO
|
corresponding "master" page. The `add_depends` function can achieve
|
||||||
files have to be updated: the `needsbuild` hook is the first one to
|
this, if used in a **FIXME** hook.
|
||||||
run that provides us with the necessary information
|
|
||||||
- we can modify the list of pages needing a refresh; this is
|
|
||||||
`needsbuild` hook's job
|
|
||||||
|
|
||||||
The latter 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.
|
|
||||||
|
|
||||||
UI consistency: rename "Edit" button on slave pages
|
UI consistency: rename "Edit" button on slave pages
|
||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue