Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Commit

Permalink
fixed markup
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Dec 16, 2010
1 parent fb861f9 commit b01e830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/i18n.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ templates. Here is a simple example to get you started::
Use the standard ``xgettext`` utility as you would have done with plain PHP
code:

.. code-block: plain
.. code-block: text

This comment has been minimized.

Copy link
@stof

stof Dec 17, 2010

Member

This does not fix the problem. You should add the missing : (same as previous commit for other blocks)

This comment has been minimized.

Copy link
@fabpot

fabpot Dec 18, 2010

Author Contributor

I think it's ok now.

This comment has been minimized.

Copy link
@stof

stof Dec 18, 2010

Member

No. This block does not appear in the documentation: http://www.twig-project.org/doc/extensions/i18n.html#extracting-template-strings

This comment has been minimized.

Copy link
@fabpot

fabpot Dec 18, 2010

Author Contributor

The generated doc was not updated yet ;)

xgettext --default-domain=messages -p ./locale --from-code=UTF-8 -n --omit-header -L PHP /tmp/cache/*.php
Expand Down

0 comments on commit b01e830

Please sign in to comment.