mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11366] Update FILE_NOT_FOUND language string
PHPBB3-11366
This commit is contained in:
parent
537d8b3c16
commit
64467f50db
3 changed files with 3 additions and 3 deletions
|
@ -3030,7 +3030,7 @@ function get_remote_file($host, $directory, $filename, &$errstr, &$errno, $port
|
||||||
}
|
}
|
||||||
else if (stripos($line, '404 not found') !== false)
|
else if (stripos($line, '404 not found') !== false)
|
||||||
{
|
{
|
||||||
$errstr = $user->lang['FILE_NOT_FOUND'] . ': ' . $filename;
|
$errstr = $user->lang('FILE_NOT_FOUND', $filename);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1240,7 +1240,7 @@ function get_config()
|
||||||
$filename = $convert->options['forum_path'] . '/' . $convert->config_schema['filename'];
|
$filename = $convert->options['forum_path'] . '/' . $convert->config_schema['filename'];
|
||||||
if (!file_exists($filename))
|
if (!file_exists($filename))
|
||||||
{
|
{
|
||||||
$convert->p_master->error($user->lang['FILE_NOT_FOUND'] . ': ' . $filename, __LINE__, __FILE__);
|
$convert->p_master->error($user->lang('FILE_NOT_FOUND', $filename), __LINE__, __FILE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($convert->config_schema['array_name']))
|
if (isset($convert->config_schema['array_name']))
|
||||||
|
|
|
@ -231,7 +231,7 @@ $lang = array_merge($lang, array(
|
||||||
'FILESIZE' => 'File size',
|
'FILESIZE' => 'File size',
|
||||||
'FILEDATE' => 'File date',
|
'FILEDATE' => 'File date',
|
||||||
'FILE_COMMENT' => 'File comment',
|
'FILE_COMMENT' => 'File comment',
|
||||||
'FILE_NOT_FOUND' => 'The requested file could not be found',
|
'FILE_NOT_FOUND' => 'The requested file could not be found: %s',
|
||||||
'FIND_USERNAME' => 'Find a member',
|
'FIND_USERNAME' => 'Find a member',
|
||||||
'FOLDER' => 'Folder',
|
'FOLDER' => 'Folder',
|
||||||
'FORGOT_PASS' => 'I forgot my password',
|
'FORGOT_PASS' => 'I forgot my password',
|
||||||
|
|
Loading…
Add table
Reference in a new issue