From 3bb7507fe53878ea47d455c57a56b5f9c8f1a5ca Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Thu, 5 Jun 2014 10:04:23 +0000 Subject: [PATCH] Fix docs about language code standard --- src/mibew/libs/canned.php | 4 ++-- src/mibew/libs/getcode.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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