diff options
-rw-r--r-- | core/libraries/I18n.php | 2 | ||||
-rw-r--r-- | installer/install.sql | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/libraries/I18n.php b/core/libraries/I18n.php index edf6a6ac..546919b9 100644 --- a/core/libraries/I18n.php +++ b/core/libraries/I18n.php @@ -169,7 +169,7 @@ class I18n_Core { public static function get_message_key($message) { $as_string = is_array($message) ? implode('|', $message) : $message; - return md5($as_string, true); + return md5($as_string); } private function interpolate($locale, $string, $values) { diff --git a/installer/install.sql b/installer/install.sql index 153057f1..349f0354 100644 --- a/installer/install.sql +++ b/installer/install.sql @@ -99,7 +99,7 @@ SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `incoming_translations` ( `id` int(9) NOT NULL auto_increment, - `key` binary(16) NOT NULL, + `key` char(32) NOT NULL, `locale` char(10) NOT NULL, `message` text NOT NULL, `translation` text, @@ -201,7 +201,7 @@ SET @saved_cs_client = @@character_set_client; SET character_set_client = utf8; CREATE TABLE `outgoing_translations` ( `id` int(9) NOT NULL auto_increment, - `key` binary(16) NOT NULL, + `key` char(32) NOT NULL, `locale` char(10) NOT NULL, `message` text NOT NULL, `translation` text, |