Opened 6 years ago

Last modified 3 days ago

#2165 new enhancement

Add a last translated date to docs

Reported by: bakaniko Owned by: osgeolive@…
Priority: trivial Milestone: OSGeoLive17.0
Component: Documentation Keywords:
Cc: osgeolive@…

Description

As suggested by Cameron Shorter: "It would be useful if we could add a “last translated date”"

This needs to be investigated.

Change History (4)

comment:1 by kalxas, 4 years ago

Milestone: OSGeoLive14.0OSGeoLive15.0

Ticket retargeted after milestone closed

comment:2 by kalxas, 2 years ago

Milestone: OSGeoLive15.0OSGeoLive16.0

Ticket retargeted after milestone closed

comment:3 by kalxas, 9 months ago

Milestone: OSGeoLive16.0OSGeoLive17.0

Ticket retargeted after milestone closed

comment:4 by cvvergara, 3 days ago

Once the html has been generated get the translation date from the locale

This experiment seems to work

git grep PO-Revision-Date locale/es | grep "/contact.po"| awk '{print $2'} | xargs -I {} perl -pi -e 's/<\/body>/<footer>last translated {}<\/footer><\/body>/' build/_build/html/es/contact.html
Note: See TracTickets for help on using tickets.