mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-06 16:19:07 -04:00
docs: Use correct lexer name for code blocks
This commit is contained in:
parent
a8512d83f3
commit
0f5be1b051
11 changed files with 37 additions and 37 deletions
|
@ -5,7 +5,7 @@ Translations
|
|||
Blueprint files can be translated with xgettext. To mark a string as translated,
|
||||
use the following syntax:
|
||||
|
||||
.. code-block::
|
||||
.. code-block:: blueprint
|
||||
|
||||
_("translated string")
|
||||
|
||||
|
@ -34,7 +34,7 @@ conflicts. Two strings that are the same in English, but appear in different
|
|||
contexts, might be different in another language! To disambiguate, use ``C_``
|
||||
instead of ``_`` and add a context string as the first argument:
|
||||
|
||||
.. code-block::
|
||||
.. code-block:: blueprint
|
||||
|
||||
C_("shortcuts window", "Quit")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue