diff --git a/src/mibew/libs/canned.php b/src/mibew/libs/canned.php index 94057689..3fa0aae1 100644 --- a/src/mibew/libs/canned.php +++ b/src/mibew/libs/canned.php @@ -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 diff --git a/src/mibew/libs/getcode.php b/src/mibew/libs/getcode.php index 89665d3f..752dcf10 100644 --- a/src/mibew/libs/getcode.php +++ b/src/mibew/libs/getcode.php @@ -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