diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2017-06-24 02:24:39 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2017-06-29 03:17:18 +0300 |
commit | 13c0f7bc3cb8900a2a3b9e938b6d2914efbfe4c5 (patch) | |
tree | 3e61ba21b02fe1369047c8b81bbe6c20a9de9007 /scripts/advisor2po | |
parent | 3048161603dc874768e2c13bb1ab01e187ff7489 (diff) |
Move classes to PhpMyAdmin namespace
- Move Advisor to PhpMyAdmin namespace
- Move Bookmark to PhpMyAdmin namespace
- Move Charsets to PhpMyAdmin namespace
- Move Config class to PhpMyAdmin namespace
- Move Console class to PhpMyAdmin namespace
- Move Core to PhpMyAdmin namespace
- Move DatabaseInterface to PhpMyAdmin namespace
- Move DbList to PhpMyAdmin namespace
- Move DbQbe to PhpMyAdmin namespace
- Move DbSearch to PhpMyAdmin namespace
- Move DisplayResults to PhpMyAdmin namespace
- Move Encoding to PhpMyAdmin namespace
- Move Error to PhpMyAdmin namespace
- Move ErrorHandler to PhpMyAdmin namespace
- Move File to PhpMyAdmin namespace
- Move Font to PhpMyAdmin namespace
- Move Footer to PhpMyAdmin namespace
- Move Header to PhpMyAdmin namespace
- Move Index to PhpMyAdmin namespace
- Move IndexColumn to PhpMyAdmin namespace
- Move LanguageManager to PhpMyAdmin namespace
- Move Language to PhpMyAdmin namespace
- Move Linter to PhpMyAdmin namespace
- Move ListAbstract to PhpMyAdmin namespace
- Move ListDatabase to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'scripts/advisor2po')
-rw-r--r-- | scripts/advisor2po | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/advisor2po b/scripts/advisor2po index fe0b34b0d2..128a5ecf50 100644 --- a/scripts/advisor2po +++ b/scripts/advisor2po @@ -15,7 +15,7 @@ function add_message($rules, $idx, $type) { global $messages, $locations; // Get message text if ($type == 'justification') { - $msgs = PMA\libraries\Advisor::splitJustification($rules['rules'][$idx]); + $msgs = PhpMyAdmin\Advisor::splitJustification($rules['rules'][$idx]); $msg = $msgs[0]; } else { $msg = $rules['rules'][$idx][$type]; @@ -43,7 +43,7 @@ function print_message($idx) { echo '#, php-format'; echo "\n"; } - echo 'msgid "' . addcslashes(PMA\libraries\Advisor::escapePercent($messages[$idx]), '"\\') . '"'; + echo 'msgid "' . addcslashes(PhpMyAdmin\Advisor::escapePercent($messages[$idx]), '"\\') . '"'; echo "\n"; echo 'msgstr ""'; echo "\n"; @@ -53,7 +53,7 @@ define('PHPMYADMIN', 1); require_once 'libraries/vendor_config.php'; require_once AUTOLOAD_FILE; -$rules = PMA\libraries\Advisor::parseRulesFile(); +$rules = PhpMyAdmin\Advisor::parseRulesFile(); foreach($rules['rules'] as $idx => $rule) { add_message($rules, $idx, 'name'); |