mirror of https://github.com/PCSX2/pcsx2.git
Qt: Make more precache strings translatable
This commit is contained in:
parent
dbfd506c8a
commit
48d88c5fea
pcsx2/CDVD
|
@ -254,13 +254,13 @@ bool ThreadedFileReader::TryCachedRead(void*& buffer, u64& offset, u32& size, co
|
|||
bool ThreadedFileReader::Precache(ProgressCallback* progress, Error* error)
|
||||
{
|
||||
CancelAndWaitUntilStopped();
|
||||
progress->SetStatusText(SmallString::from_format("Precaching {}...", Path::GetFileName(m_filename)).c_str());
|
||||
progress->SetStatusText(SmallString::from_format(TRANSLATE_FS("CDVD", "Precaching {}..."), Path::GetFileName(m_filename)).c_str());
|
||||
return Precache2(progress, error);
|
||||
}
|
||||
|
||||
bool ThreadedFileReader::Precache2(ProgressCallback* progress, Error* error)
|
||||
{
|
||||
Error::SetStringView(error, "Precaching is not supported for this file format.");
|
||||
Error::SetStringView(error, TRANSLATE_SV("CDVD","Precaching is not supported for this file format."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue