1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-30 18:32:34 +01:00

Fix spelling errors

* "unknow" -> "unknown"
* "occured" -> "occurred"

Remove some entries from PO files where these entries contain spelling errors
and there are other entries that are identical except for these mistakes.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
This commit is contained in:
Jeremy Sowden
2024-11-09 13:51:43 +00:00
committed by Carlos R. Mafra
parent 5cd40deb20
commit b179803c11
44 changed files with 73 additions and 95 deletions

View File

@@ -91,7 +91,7 @@ while [ $# -gt 0 ]; do
;;
-h|-help|--help) print_help ;;
-*) arg_error "unknow option '$1'" ;;
-*) arg_error "unknown option '$1'" ;;
*)
arg_error "argument '$1' is not understood"

View File

@@ -75,7 +75,7 @@ while [ $# -gt 0 ]; do
;;
-h|-help|--help) print_help ;;
-*) arg_error "unknow option '$1'" ;;
-*) arg_error "unknown option '$1'" ;;
*)
[ "x$trans_dir" != "x" ] || arg_error "only 1 directory can be specified for translation"
@@ -226,7 +226,7 @@ END {
error_count++;
}
# If error(s) occured, use non-zero status to stop 'make'
# If error(s) occurred, use non-zero status to stop 'make'
# We use 3 to distinguish for awk's possible own problems (status 1 or 2)
if (error_count > 0) { exit 3 }
}"

View File

@@ -120,7 +120,7 @@ $1"
;;
-h|-help|--help) print_help ;;
-*) arg_error "unknow option '$1'" ;;
-*) arg_error "unknown option '$1'" ;;
*)
arg_error "argument '$1' is not understood"

View File

@@ -119,7 +119,7 @@ while [ $# -gt 0 ]; do
;;
-h|-help|--help) print_help ;;
-*) arg_error "unknow option '$1'" ;;
-*) arg_error "unknown option '$1'" ;;
*)
[ -z "$input_file" ] || arg_error "only 1 man page can be specified"

View File

@@ -83,7 +83,7 @@ while [ $# -gt 0 ]; do
;;
-h|-help|--help) print_help ;;
-*) arg_error "unknow option '$1'" ;;
-*) arg_error "unknown option '$1'" ;;
*)
[ -r "$1" ] || arg_error "source file \"$1\" is not readable"

View File

@@ -90,7 +90,7 @@ while [ $# -gt 0 ]; do
project_version="$1"
;;
-*) arg_error "unknow option '$1'" ;;
-*) arg_error "unknown option '$1'" ;;
*)
[ "x$lang_file" = "x" ] || arg_error "only 1 po file can be specified, not \"$lang_file\" and \"$1\""

View File

@@ -151,7 +151,7 @@ while [ $# -gt 0 ]; do
project_version="$1"
;;
-*) arg_error "unknow option '$1'" ;;
-*) arg_error "unknown option '$1'" ;;
*)
[ "x$input_file" = "x" ] || arg_error "only 1 input file can be specified, not \"$input_file\" and \"$1\""
@@ -903,7 +903,7 @@ function execute_commands(line, replaced_line, command) {
# Variable and Conditional commands ########################################
} else if (command == "value") {
if (variable[cmdargs] == "") {
report_error("variable '" cmdargs "' is unknow, for @value at line " NR);
report_error("variable '" cmdargs "' is unknown, for @value at line " NR);
}
line = variable[cmdargs] line;
@@ -913,7 +913,7 @@ function execute_commands(line, replaced_line, command) {
line = "";
} else {
report_error("unknow command @" command " at line " NR);
report_error("unknown command @" command " at line " NR);
}
}
@@ -971,7 +971,7 @@ function process_end(line) {
par_indent = 0;
} else {
report_error("unknow command @end " line " at line " NR);
report_error("unknown command @end " line " at line " NR);
}
}

View File

@@ -108,7 +108,7 @@ while [ $# -gt 0 ]; do
-h|-help|--help) print_help ;;
-o) shift ; output_file="$1" ;;
-*) arg_error "unknow option '$1'" ;;
-*) arg_error "unknown option '$1'" ;;
*)
[ "x$input_file" = "x" ] || arg_error "only 1 input file can be specified, not \"$input_file\" and \"$1\""

View File

@@ -120,7 +120,7 @@ while [ $# -gt 0 ]; do
list_replaces="$list_replaces $1"
;;
-*) arg_error "unknow option '$1'" ;;
-*) arg_error "unknown option '$1'" ;;
*)
[ "x$input_file" = "x" ] || arg_error "only 1 input file can be specified, not \"$input_file\" and \"$1\""

View File

@@ -93,7 +93,7 @@ while [ $# -gt 0 ]; do
;;
-h|-help|--help) print_help ;;
-*) arg_error "unknow option '$1'" ;;
-*) arg_error "unknown option '$1'" ;;
*)
[ -z "$edit_file" ] || arg_error "only 1 file to modify can be specified"