Fix error message
This commit is contained in:
parent
de4d5f3888
commit
2cd9289de1
@ -1667,7 +1667,7 @@ class Setup extends DolibarrApi
|
|||||||
}
|
}
|
||||||
if ($xmlremote && !preg_match('/\.xml$/', $xmlremote)) {
|
if ($xmlremote && !preg_match('/\.xml$/', $xmlremote)) {
|
||||||
$langs->load("errors");
|
$langs->load("errors");
|
||||||
throw new RestException(500, $langs->trans("ErrorURLMustEndWith", '.xml'));
|
throw new RestException(500, $langs->trans("ErrorURLMustEndWith", $xmlremote, '.xml'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($target == 'local') {
|
if ($target == 'local') {
|
||||||
|
|||||||
@ -226,6 +226,7 @@ ErrorAPageWithThisNameOrAliasAlreadyExists=The page/container <strong>%s</strong
|
|||||||
ErrorDuringChartLoad=Error when loading chart of accounts. If few accounts were not loaded, you can still enter them manually.
|
ErrorDuringChartLoad=Error when loading chart of accounts. If few accounts were not loaded, you can still enter them manually.
|
||||||
ErrorBadSyntaxForParamKeyForContent=Bad syntax for param keyforcontent. Must have a value starting with %s or %s
|
ErrorBadSyntaxForParamKeyForContent=Bad syntax for param keyforcontent. Must have a value starting with %s or %s
|
||||||
ErrorVariableKeyForContentMustBeSet=Error, the constant with name %s (with text content to show) or %s (with external url to show) must be set.
|
ErrorVariableKeyForContentMustBeSet=Error, the constant with name %s (with text content to show) or %s (with external url to show) must be set.
|
||||||
|
ErrorURLMustEndWith=URL %s must end %s
|
||||||
ErrorURLMustStartWithHttp=URL %s must start with http:// or https://
|
ErrorURLMustStartWithHttp=URL %s must start with http:// or https://
|
||||||
ErrorHostMustNotStartWithHttp=Host name %s must NOT start with http:// or https://
|
ErrorHostMustNotStartWithHttp=Host name %s must NOT start with http:// or https://
|
||||||
ErrorNewRefIsAlreadyUsed=Error, the new reference is already used
|
ErrorNewRefIsAlreadyUsed=Error, the new reference is already used
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user