mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-27 13:13:17 +00:00
Make error messages more consistent
This commit is contained in:
parent
fac625173a
commit
eb628e9b62
@ -172,7 +172,7 @@ public class FileSystem
|
|||||||
{
|
{
|
||||||
if( m_writableMount == null )
|
if( m_writableMount == null )
|
||||||
{
|
{
|
||||||
throw new FileSystemException( "Access Denied" );
|
throw new FileSystemException( "Access denied" );
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -199,7 +199,7 @@ public class FileSystem
|
|||||||
{
|
{
|
||||||
if( m_writableMount == null )
|
if( m_writableMount == null )
|
||||||
{
|
{
|
||||||
throw new FileSystemException( "Access Denied" );
|
throw new FileSystemException( "Access denied" );
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -219,7 +219,7 @@ public class FileSystem
|
|||||||
{
|
{
|
||||||
if( m_writableMount == null )
|
if( m_writableMount == null )
|
||||||
{
|
{
|
||||||
throw new FileSystemException( "Access Denied" );
|
throw new FileSystemException( "Access denied" );
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -251,7 +251,7 @@ public class FileSystem
|
|||||||
{
|
{
|
||||||
if( m_writableMount == null )
|
if( m_writableMount == null )
|
||||||
{
|
{
|
||||||
throw new FileSystemException( "Access Denied" );
|
throw new FileSystemException( "Access denied" );
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -310,7 +310,7 @@ local function accessMenu()
|
|||||||
-- Select an option
|
-- Select an option
|
||||||
if mChoices[selection]=="Save" then
|
if mChoices[selection]=="Save" then
|
||||||
if bReadOnly then
|
if bReadOnly then
|
||||||
fMessage = "Access Denied"
|
fMessage = "Access denied"
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
local success = save(sPath)
|
local success = save(sPath)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user