mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
Improve grammar.
This commit is contained in:
parent
735fc1fc7a
commit
dbeba76fa9
1 changed files with 2 additions and 2 deletions
|
@ -20,12 +20,12 @@ source $VESTA/conf/vesta.conf
|
||||||
|
|
||||||
is_language_valid() {
|
is_language_valid() {
|
||||||
if ! [[ "$1" =~ ^[[:alnum:]_-]+$ ]]; then
|
if ! [[ "$1" =~ ^[[:alnum:]_-]+$ ]]; then
|
||||||
echo "Error: language $1 not valid"
|
echo "Error: language $1 is not valid"
|
||||||
log_event "$E_INVALID" "$EVENT"
|
log_event "$E_INVALID" "$EVENT"
|
||||||
exit $E_INVALID
|
exit $E_INVALID
|
||||||
fi
|
fi
|
||||||
if [ ! -e "$VESTA/web/inc/i18n/$1.php" ]; then
|
if [ ! -e "$VESTA/web/inc/i18n/$1.php" ]; then
|
||||||
echo "Error: language $1 not exist"
|
echo "Error: language $1 doesn't exist"
|
||||||
log_event "$E_NOTEXIST" "$EVENT"
|
log_event "$E_NOTEXIST" "$EVENT"
|
||||||
exit $E_NOTEXIST
|
exit $E_NOTEXIST
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue