mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Merge pull request #9270 from nextcloud/fix/dev-docs-l10n-code-syntax
Fix rendering of inline code block
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user