mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[ticket/17361] Use new adapter options format in acp_storage
PHPBB-17361
This commit is contained in:
@@ -230,10 +230,10 @@ class language
|
||||
* Params are the language key and the parameters to be substituted.
|
||||
* This function/functionality is inspired by SHS` and Ashe.
|
||||
*
|
||||
* Example call: <samp>$user->lang('NUM_POSTS_IN_QUEUE', 1);</samp>
|
||||
* Example call: <samp>$language->lang('NUM_POSTS_IN_QUEUE', 1);</samp>
|
||||
*
|
||||
* If the first parameter is an array, the elements are used as keys and subkeys to get the language entry:
|
||||
* Example: <samp>$user->lang(array('datetime', 'AGO'), 1)</samp> uses $user->lang['datetime']['AGO'] as language entry.
|
||||
* Example: <samp>$language->lang(array('datetime', 'AGO'), 1)</samp> uses $language->lang['datetime']['AGO'] as language entry.
|
||||
*
|
||||
* @return string Return localized string or the language key if the translation is not available
|
||||
*/
|
||||
|
Reference in New Issue
Block a user