diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php index 9ca99f8634b..972858a808f 100644 --- a/htdocs/comm/action/document.php +++ b/htdocs/comm/action/document.php @@ -261,7 +261,7 @@ if ($object->id > 0) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } $db->close(); diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php index 50bc205d9f5..d3766ae27ce 100644 --- a/htdocs/comm/propal/document.php +++ b/htdocs/comm/propal/document.php @@ -137,7 +137,7 @@ if ($object->id > 0) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } llxFooter(); diff --git a/htdocs/compta/deplacement/document.php b/htdocs/compta/deplacement/document.php index 4c44fffa6e5..fb9df1fcb37 100644 --- a/htdocs/compta/deplacement/document.php +++ b/htdocs/compta/deplacement/document.php @@ -128,7 +128,7 @@ if ($object->id) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } llxFooter(); diff --git a/htdocs/compta/facture/document.php b/htdocs/compta/facture/document.php index cc16e5dcf77..1eb5909544b 100644 --- a/htdocs/compta/facture/document.php +++ b/htdocs/compta/facture/document.php @@ -160,7 +160,7 @@ if ($id > 0 || ! empty($ref)) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } $db->close(); diff --git a/htdocs/compta/sociales/document.php b/htdocs/compta/sociales/document.php index 2e86a7a6986..88c888de62e 100644 --- a/htdocs/compta/sociales/document.php +++ b/htdocs/compta/sociales/document.php @@ -167,7 +167,7 @@ if ($object->id) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } diff --git a/htdocs/contrat/document.php b/htdocs/contrat/document.php index c29d3b3186c..ea951f85941 100644 --- a/htdocs/contrat/document.php +++ b/htdocs/contrat/document.php @@ -130,7 +130,7 @@ if ($object->id) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } diff --git a/htdocs/fichinter/document.php b/htdocs/fichinter/document.php index 76fff7b9834..27e1c4995c1 100644 --- a/htdocs/fichinter/document.php +++ b/htdocs/fichinter/document.php @@ -128,7 +128,7 @@ if ($object->id) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); } llxFooter(); diff --git a/htdocs/fourn/facture/document.php b/htdocs/fourn/facture/document.php index 6c47f66ec7d..57cece25772 100644 --- a/htdocs/fourn/facture/document.php +++ b/htdocs/fourn/facture/document.php @@ -183,7 +183,7 @@ if ($object->id > 0) } else { - print $langs->trans('UnkownError'); + print $langs->trans('ErrorUnknown'); } diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index d889dedc9d6..c6e8f96bebe 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -34,7 +34,7 @@ ErrorFailedToOpenFile=Failed to open file %s ErrorCanNotCreateDir=Can not create dir %s ErrorCanNotReadDir=Can not read dir %s ErrorConstantNotDefined=Parameter %s not defined -ErrorUnknown=Unkown error +ErrorUnknown=Unknown error ErrorSQL=SQL Error ErrorLogoFileNotFound=Logo file '%s' was not found ErrorGoToGlobalSetup=Go to 'Company/Foundation' setup to fix this diff --git a/htdocs/product/document.php b/htdocs/product/document.php index 4a5d1691613..3137f31b793 100644 --- a/htdocs/product/document.php +++ b/htdocs/product/document.php @@ -147,7 +147,7 @@ if ($object->id) } else { - print $langs->trans("UnkownError"); + print $langs->trans("ErrorUnknown"); }