eudicots / Cactus

Static site generator for designers. Uses Python and Django templates.
BSD 3-Clause "New" or "Revised" License
3.47k stars 313 forks source link

locale/README.md gives erroneous information #162

Closed fedelibre closed 9 years ago

fedelibre commented 9 years ago

The README inside the locale skeleton directory gives wrong information.

$ cactus makemessages
usage: cactus [-h]
              {create,build,deploy,serve,messages:make,domain:setup,domain:list}
              ...
cactus: error: invalid choice: 'makemessages' (choose from 'create', 'build', 'deploy', 'serve', 'messages:make', 'domain:setup', 'domain:list')

I think that the last commit was wrong, as cactus messages:make seems to work. At least, it runs and creates some directories but no files:

ls -a locale/en/LC_MESSAGES/
.  ..

I made a simple test. Is it correct?

<p>{% trans %}Esempio di traduzione{% endtrans %}</p>
fedelibre commented 9 years ago

Sorry, I totally misread the diff, I guess. The instructions are ok