spelling fixes for tools

merge-requests/518/head
Peter Marschall 2020-08-29 08:44:47 +02:00
rodzic ffff088641
commit b4c6cbeb1f
5 zmienionych plików z 12 dodań i 12 usunięć

Wyświetl plik

@ -23,14 +23,14 @@
# (and the percentage it represents), how many are fuzzy (and the # (and the percentage it represents), how many are fuzzy (and the
# percentage it represents amongst translated strings), and how # percentage it represents amongst translated strings), and how
# many are untranslated (and the percentage it represents). # many are untranslated (and the percentage it represents).
# It will _not_ tell you wether your file is syntactically correct # It will _not_ tell you whether your file is syntactically correct
# (eg. check for terminating double quotes!). And of course it # (eg. check for terminating double quotes!). And of course it
# will _not_ tell you wether the translations are correct! ;-] # will _not_ tell you whether the translations are correct! ;-]
# #
# It was originaly been written for SANE backends translations, but # It was originally been written for SANE backends translations, but
# shall be able to check any .po file. # shall be able to check any .po file.
# #
# Originally writen by Yann E. MORIN # Originally written by Yann E. MORIN
# <yann dot morin dot 1998 at anciens dot enib dot fr> # <yann dot morin dot 1998 at anciens dot enib dot fr>
# #
# Output will look like : # Output will look like :
@ -39,7 +39,7 @@
# | | | | | # | | | | |
# | | | | \-> Original untranslated string # | | | | \-> Original untranslated string
# | | | | # | | | |
# | | | \-> flag telling wether it is # | | | \-> flag telling whether it is
# | | | fuzzy (F) or not (-) # | | | fuzzy (F) or not (-)
# | | | # | | |
# | | \-> line number in the .po file # | | \-> line number in the .po file
@ -139,7 +139,7 @@ $1 ~ /msgid/ && first == 0 \
trans = trans a[i] trans = trans a[i]
} }
# Checks wether we have a translation or not, wether it is fuzzy or not # Checks whether we have a translation or not, whether it is fuzzy or not
if( ( trans == "" ) || ( is_fuzzy == 1 ) ) if( ( trans == "" ) || ( is_fuzzy == 1 ) )
{ {
# Enclose original messages between double quotes # Enclose original messages between double quotes

Wyświetl plik

@ -4291,7 +4291,7 @@ check_usb_chip (int verbosity,
if (ret < 0) if (ret < 0)
{ {
if (verbose > 2) if (verbose > 2)
printf ("couldnt set device to configuration %d\n", printf ("couldn't set device to configuration %d\n",
config0->bConfigurationValue); config0->bConfigurationValue);
return NULL; return NULL;
} }

Wyświetl plik

@ -17,7 +17,7 @@ instead.
using the vendor ID and the product ID of your scanner. Please contact the using the vendor ID and the product ID of your scanner. Please contact the
sane-devel mailing list in this case so the ids of your scanner can be added. sane-devel mailing list in this case so the ids of your scanner can be added.
o Make sure that the "scanner" group exists on your system and that every user o Make sure that the "scanner" group exists on your system and that every user
who should be allowed to acces the scanner is a member of that group. who should be allowed to access the scanner is a member of that group.
Alternatively, you can enable access for every user of your system in Alternatively, you can enable access for every user of your system in
libusbscanner. libusbscanner.

Wyświetl plik

@ -3,7 +3,7 @@
# Author: Petter Reinholdtsen <pere@td.org.uit.no> # Author: Petter Reinholdtsen <pere@td.org.uit.no>
# Date: 2000-03-18 # Date: 2000-03-18
# #
# Given a libtool lib*.la, return the dll extention used (ie. so, sl, # Given a libtool lib*.la, return the dll extension used (ie. so, sl,
# dll, etc) # dll, etc)
if test "x$1" = x; then if test "x$1" = x; then
echo "usage: $0 <libfile.la>" echo "usage: $0 <libfile.la>"

Wyświetl plik

@ -268,7 +268,7 @@ static const char *device_type_name[] =
{"Unknown", "Scanners", "Still cameras", "Video Cameras", "Meta backends", {"Unknown", "Scanners", "Still cameras", "Video Cameras", "Meta backends",
"APIs"}; "APIs"};
static const char *device_type_aname[] = static const char *device_type_aname[] =
{"UKNOWN", "SCANNERS", "STILL", "VIDEO", "META", {"UNKNOWN", "SCANNERS", "STILL", "VIDEO", "META",
"API"}; "API"};
static const char *status_color[] = static const char *status_color[] =
{COLOR_UNKNOWN, COLOR_UNSUPPORTED, COLOR_UNTESTED, COLOR_MINIMAL, {COLOR_UNKNOWN, COLOR_UNSUPPORTED, COLOR_UNTESTED, COLOR_MINIMAL,
@ -783,7 +783,7 @@ check_hex (SANE_String string)
return SANE_TRUE; return SANE_TRUE;
} }
/* Read and interprete the .desc files */ /* Read and interpret the .desc files */
static SANE_Bool static SANE_Bool
read_files (void) read_files (void)
{ {
@ -1698,7 +1698,7 @@ update_model_record_list (model_record_entry * first_model_record,
/* Insert manufacturer into list at the alphabetically correct position, */ /* Insert manufacturer into list at the alphabetically correct position, */
/* create new record if neccessary */ /* create new record if necessary */
static mfg_record_entry * static mfg_record_entry *
update_mfg_record_list (mfg_record_entry * first_mfg_record, mfg_entry * mfg, update_mfg_record_list (mfg_record_entry * first_mfg_record, mfg_entry * mfg,
backend_entry * be) backend_entry * be)