mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #9270 from nextcloud/fix/dev-docs-l10n-code-syntax
Fix rendering of inline code block
This commit is contained in:
commit
f325292bb3
@ -16,7 +16,7 @@ In order to make your app translatable (internationalization), you should use Ne
|
||||
PHP
|
||||
^^^
|
||||
|
||||
If localized strings are used in the backend code, simply inject the``OCP\IL10N`` class into your service via type hinting it in the constructor. You will automatically get the language object containing the translations of your app:
|
||||
If localized strings are used in the backend code, simply inject the ``\OCP\IL10N`` class into your service via type hinting it in the constructor. You will automatically get the language object containing the translations of your app:
|
||||
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
Loading…
Reference in New Issue
Block a user