[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_2-15440-g08967fe

Michal Čihař nijel at users.sourceforge.net
Wed Aug 17 12:31:24 CEST 2011


The branch, master has been updated
       via  08967fec6a44c61ef1ea3ad04dae46f3644c9900 (commit)
       via  e89da7e7e49519483d8023d1489fc7c1dca7d439 (commit)
      from  16b0a64d0bef53c3f57fa6cf79191a7fb71fd175 (commit)


- Log -----------------------------------------------------------------
commit 08967fec6a44c61ef1ea3ad04dae46f3644c9900
Author: Michal Čihař <michal at cihar.com>
Date:   Wed Aug 17 12:31:04 2011 +0200

    Make the string translatable

commit e89da7e7e49519483d8023d1489fc7c1dca7d439
Author: Michal Čihař <michal at cihar.com>
Date:   Wed Aug 17 12:30:15 2011 +0200

    Fix typo

-----------------------------------------------------------------------

Summary of changes:
 libraries/Advisor.class.php |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/libraries/Advisor.class.php b/libraries/Advisor.class.php
index 26696bd..b3c8b73 100644
--- a/libraries/Advisor.class.php
+++ b/libraries/Advisor.class.php
@@ -141,7 +141,11 @@ class Advisor
                             /* Translate */
                             $str = $this->translate($jst[0], $jst[1]);
                         } catch (Exception $e) {
-                            $this->runResult['errors'][] = 'Failed formattingstring for rule \''.$rule['name'].'\'. PHP threw following error: '.$e->getMessage();
+                            $this->runResult['errors'][] = sprintf(
+                                __('Failed formatting string for rule \'%s\'. PHP threw following error: %s'),
+                                $rule['name'],
+                                $e->getMessage()
+                            );
                             return;
                         }
 


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list