Skip to content

Commit

Permalink
Include quotes directly in the string
Browse files Browse the repository at this point in the history
This makes it easier for tranlators to handle.

Issue #12987

Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Mar 1, 2017
1 parent 0a8490f commit dfa7995
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions libraries/sql_query_form.lib.php
Expand Up @@ -136,14 +136,11 @@ function PMA_initQueryForm($query)
if (strlen($GLOBALS['db']) === 0) {
// prepare for server related
$legend = sprintf(
__('Run SQL query/queries on server %s'),
sprintf(
__('&ldquo;%s&rdquo;'),
htmlspecialchars(
! empty($GLOBALS['cfg']['Servers'][$GLOBALS['server']]['verbose'])
? $GLOBALS['cfg']['Servers'][$GLOBALS['server']]['verbose']
: $GLOBALS['cfg']['Servers'][$GLOBALS['server']]['host']
)
__('Run SQL query/queries on server “%s”'),
htmlspecialchars(
! empty($GLOBALS['cfg']['Servers'][$GLOBALS['server']]['verbose'])
? $GLOBALS['cfg']['Servers'][$GLOBALS['server']]['verbose']
: $GLOBALS['cfg']['Servers'][$GLOBALS['server']]['host']
)
);
} elseif (strlen($GLOBALS['table']) === 0) {
Expand Down

0 comments on commit dfa7995

Please sign in to comment.