mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 18:38:31 +03:00
Fix docs about language code standard
This commit is contained in:
parent
7410a0019b
commit
3bb7507fe5
@ -21,7 +21,7 @@ use Mibew\Database;
|
||||
/**
|
||||
* Get information about all existing canned message from database
|
||||
*
|
||||
* @param string $locale 2-digit ISO-639-1 code for language
|
||||
* @param string $locale RFC 5646 code for language
|
||||
* @param integer $group_id Group ID for the canned messages
|
||||
*
|
||||
* @return array Each its element is canned message structure. contains
|
||||
@ -84,7 +84,7 @@ function save_canned_message($key, $title, $message)
|
||||
/**
|
||||
* Add new canned message to database
|
||||
*
|
||||
* @param string $locale 2-digit ISO-639-1 code for language
|
||||
* @param string $locale RFC 5646 code for language
|
||||
* @param integer $group_id Group ID for the canned messages
|
||||
* @param string $title title of canned message
|
||||
* @param string $message body of canned message
|
||||
|
@ -24,7 +24,7 @@ use Mibew\Style\InvitationStyle;
|
||||
* Return chat button code.
|
||||
*
|
||||
* @param string $title Page title
|
||||
* @param string $locale 2-digit ISO-639-1 code for language
|
||||
* @param string $locale RFC 5646 code for language
|
||||
* @param string $style name of available style from styles/dialogs folder
|
||||
* @param string $invitation_style_name name of avalabel style from
|
||||
* styles/invitations folder
|
||||
|
Loading…
Reference in New Issue
Block a user