Skip to content

Commit a99f437

Browse files
authored
Fix typos and grammars in repo root directory (#350)
1 parent e94861b commit a99f437

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎configure.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ function find_xml_files($path) // {{{
253253
$rootdir = dirname($basedir);
254254

255255
/**
256-
* When checking out this repository on GitHub Actions, the workspace directory is "/home/runner/work/doc-base/doc-base".
256+
* When checking out this repository on GitHub Actions, the workspace directory is "/home/runner/work/doc-base/doc-base".
257257
*
258258
* To avoid applying dirname() here, we check if we are running on GitHub Actions.
259259
*
@@ -910,7 +910,7 @@ function xinclude_run_byid( DOMDocument $dom )
910910
function xinclude_run_xpointer( DOMDocument $dom ) : int
911911
{
912912
// The return of xinclude() cannot be used for counting or stoping, as it
913-
// sometimes return zero/negative in cases of partial executions
913+
// sometimes returns zero/negative in cases of partial executions
914914

915915
$total = 0;
916916
for( $run = 0 ; $run < 10 ; $run++ )

‎languages.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ function print_usage()
4545
[--list-csv] [--list-ssv] [--rev] [--all]
4646
[lang] [lang] ...
4747
48-
Options that operates on local repositories:
48+
Options that operate on local repositories:
4949
50-
--clone Clone a sibling language repo, if not exists
50+
--clone Clone a sibling language repo, if it does not exist
5151
--undo Restore and clean up repositories to a pristine state
5252
--pull Executes git pull
5353
--mark Creates/deletes marking files
@@ -236,7 +236,7 @@ function gitUndo( Lang $lang )
236236

237237
if ( ! file_exists( $lang->path ) )
238238
{
239-
echo "undo {$lang->code}: path does not exists, skipping.\n";
239+
echo "undo {$lang->code}: path does not exist, skipping.\n";
240240
return;
241241
}
242242
else
@@ -259,7 +259,7 @@ function gitPull( Lang $lang )
259259

260260
if ( ! file_exists( $lang->path ) )
261261
{
262-
echo "pull {$lang->code}: path does not exists, skipping.\n";
262+
echo "pull {$lang->code}: path does not exist, skipping.\n";
263263
return;
264264
}
265265
else

0 commit comments

Comments
 (0)