Issue #46: Update texts

This commit is contained in:
Jakub Melka
2023-04-22 13:40:11 +02:00
parent 6224f226b2
commit 2c7257ac86

View File

@ -947,9 +947,9 @@ const PDFRendererInfo::Info& PDFRendererInfo::getHardwareAccelerationSupportedIn
if (!surface.isValid()) if (!surface.isValid())
{ {
info.renderer = PDFTranslationContext::tr("Unknown Device"); info.renderer = PDFTranslationContext::tr("GDI Generic");
info.version = PDFTranslationContext::tr("?.?"); info.version = PDFTranslationContext::tr("1.1");
info.vendor = PDFTranslationContext::tr("Generic"); info.vendor = PDFTranslationContext::tr("System");
return info; return info;
} }
@ -957,18 +957,18 @@ const PDFRendererInfo::Info& PDFRendererInfo::getHardwareAccelerationSupportedIn
if (!context.create()) if (!context.create())
{ {
info.renderer = PDFTranslationContext::tr("Unknown Device"); info.renderer = PDFTranslationContext::tr("GDI Generic");
info.version = PDFTranslationContext::tr("?.?"); info.version = PDFTranslationContext::tr("1.1");
info.vendor = PDFTranslationContext::tr("Generic"); info.vendor = PDFTranslationContext::tr("System");
surface.destroy(); surface.destroy();
return info; return info;
} }
if (!context.makeCurrent(&surface)) if (!context.makeCurrent(&surface))
{ {
info.renderer = PDFTranslationContext::tr("Unknown Device"); info.renderer = PDFTranslationContext::tr("GDI Generic");
info.version = PDFTranslationContext::tr("?.?"); info.version = PDFTranslationContext::tr("1.1");
info.vendor = PDFTranslationContext::tr("Generic"); info.vendor = PDFTranslationContext::tr("System");
surface.destroy(); surface.destroy();
return info; return info;
} }