Merge pull request #9270 from nextcloud/fix/dev-docs-l10n-code-syntax

Fix rendering of inline code block
This commit is contained in:
Joas Schilling
2022-10-31 15:39:22 +01:00
committed by GitHub

View File

@@ -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