Add link to message translation doc (#2609)

This commit is contained in:
Maxime Besson 2021-09-07 19:45:15 +02:00
parent 00f6a6ca94
commit 5b08fb15e8
2 changed files with 5 additions and 2 deletions

View File

@ -152,12 +152,14 @@ Plugins may declare additional session fields to be stored in the :doc:`loginhis
_language => '__hidden__',
# This field will be displayed on the portal. The column name
# can be internationalized
# is treated like a message and can be internationalized
authenticationLevel => "Human friendly column name",
});
return 1;
}
Column names can be translated by :ref:`overriding the corresponding message <intlmessages>`
Example
-------

View File

@ -212,11 +212,12 @@ lemonldap-ng-cli:
/usr/share/lemonldap-ng/bin/lemonldap-ng-cli -yes 1 set portalSkin 'myskin' portalSkinBackground ''
You can find additional documentation on the syntax of template files in the
`official documentation of the HTML::Template module
<https://metacpan.org/pod/HTML::Template>`__
.. _intlmessages:
Messages
~~~~~~~~