Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix spelling mistakes:

 * s/we/were
 * s/get text/gettext
  • Loading branch information...
commit bcffb1288a45c7ee500e4e18eb0e0331d43f65c1 1 parent 23edb7e
@mfields mfields authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 vip-scanner/checks/InternationalizedStringCheck.php
View
4 vip-scanner/checks/InternationalizedStringCheck.php
@@ -24,7 +24,7 @@ function check( $files ) {
$checks = array(
array(
'pattern' => '/' . $prefix . '[\s]*\([\s]*\)/',
- 'message' => __( 'No parameters we passed to a gettext function.', 'vip-scanner' ),
+ 'message' => __( 'No parameters were passed to a gettext function.', 'vip-scanner' ),
),
array(
'pattern' => '/' . $prefix . "[\s]*\([\s]*'[\s]*'/",
@@ -40,7 +40,7 @@ function check( $files ) {
),
array(
'pattern' => '/' . $prefix . '[\s]*\([\s][a-z_][\w]+/',
- 'message' => __( 'The return value of a function may have been passed as the first parameter to a get text function.', 'vip-scanner' ),
+ 'message' => __( 'The return value of a function may have been passed as the first parameter to a gettext function.', 'vip-scanner' ),
),
);
Please sign in to comment.
Something went wrong with that request. Please try again.