Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Single quotes in gTxt()
  • Loading branch information
makss committed Nov 14, 2017
1 parent aa446fd commit 7b7755e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions textpattern/include/txp_article.php
Expand Up @@ -1259,11 +1259,11 @@ function get_status_message($Status)
{
switch ($Status) {
case STATUS_PENDING:
return gTxt("article_saved_pending");
return gTxt('article_saved_pending');
case STATUS_HIDDEN:
return gTxt("article_saved_hidden");
return gTxt('article_saved_hidden');
case STATUS_DRAFT:
return gTxt("article_saved_draft");
return gTxt('article_saved_draft');
default:
return gTxt('article_posted');
}
Expand Down
6 changes: 3 additions & 3 deletions textpattern/publish/taghandlers.php
Expand Up @@ -2098,14 +2098,14 @@ function comments_form($atts, $thing = null)
$blacklisted = is_blacklisted($ip);

if (!checkCommentsAllowed($thisid)) {
$out = graf(gTxt("comments_closed"), ' id="comments_closed"');
$out = graf(gTxt('comments_closed'), ' id="comments_closed"');
} elseif ($blacklisted) {
$out = graf(gTxt('your_ip_is_blacklisted_by'.' '.$blacklisted), ' id="comments_blacklisted"');
} elseif (gps('commented') !== '') {
$out = gTxt("comment_posted");
$out = gTxt('comment_posted');

if (gps('commented') === '0') {
$out .= " ".gTxt("comment_moderated");
$out .= " ".gTxt('comment_moderated');
}

$out = graf($out, ' id="txpCommentInputForm"');
Expand Down
2 changes: 1 addition & 1 deletion textpattern/setup/index.php
Expand Up @@ -370,7 +370,7 @@ function printConfig()
// exit;
// }

echo hed(gTxt("checking_database"), 2);
echo hed(gTxt('checking_database'), 2);

if (strpos($_SESSION['dhost'], ':') === false) {
$dhost = $_SESSION['dhost'];
Expand Down

0 comments on commit 7b7755e

Please sign in to comment.