Wed, 25 May 2022 20:36:34 +0300
Fix pick() picking from weird places on the screen with high DPI scaling
glReadPixels reads data from the frame buffer, which contains data after
high DPI scaling, so any reads to that need to take this scaling into account
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="sv_FI"> <context> <name>ColorSelectDialog</name> <message> <source>Choose colour</source> <translation type="unfinished"></translation> </message> <message> <source>Search...</source> <translation type="unfinished"></translation> </message> <message> <source>TextLabel</source> <translation type="unfinished"></translation> </message> <message> <source>Colour index:</source> <translation type="unfinished"></translation> </message> <message> <source>Direct colour...</source> <translation type="unfinished"></translation> </message> </context> <context> <name>Dialog</name> <message> <source>System language</source> <translation type="obsolete">Systemspråk</translation> </message> </context> <context> <name>Document</name> <message> <source>Form</source> <translation type="unfinished"></translation> </message> </context> <context> <name>DrawTool</name> <message> <source>Draw</source> <translation type="unfinished"></translation> </message> <message> <source>Draw new elements into the model.</source> <translation type="unfinished"></translation> </message> </context> <context> <name>KeyboardShortcutsEditor</name> <message> <source>Action</source> <translation>Åtgärd</translation> </message> <message> <source>Shortcut</source> <translation>Genväg</translation> </message> </context> <context> <name>Libraries</name> <message> <source>Official library</source> <translation type="vanished">Officiellt bitbibliotek</translation> </message> <message> <source>Unofficial library</source> <translation type="vanished">Inofficiellt bitbibliotek</translation> </message> <message> <source>Working library</source> <translation type="vanished">Utvecklingsbitbibliotek</translation> </message> <message> <source>Path</source> <translation type="obsolete">Stig</translation> </message> <message> <source>Role</source> <translation type="obsolete">Roll</translation> </message> </context> <context> <name>LibrariesEditor</name> <message> <source>Form</source> <translation type="unfinished"></translation> </message> <message> <source>…</source> <translation type="unfinished"></translation> </message> <message> <source>Add</source> <translation>Infoga</translation> </message> <message> <source>Role</source> <translation type="vanished">Roll</translation> </message> <message> <source>Path</source> <translation type="vanished">Stig</translation> </message> <message> <source>Browse LDraw library</source> <translation>Välja LDraw-bitbibliotek</translation> </message> <message> <source>Library does not exist</source> <translation>Bitbiblioteket finns inte</translation> </message> <message> <source>The directory %1 does not exist.</source> <translation type="unfinished">Katalogen %1 finns inte.</translation> </message> <message> <source>Unreadable library</source> <translation>Oläslig katalog</translation> </message> <message> <source>The directory %1 cannot be read.</source> <translation>Katalogen %1 kan läsas inte</translation> </message> <message> <source>Remove library</source> <translation>Ta bort biblioteket</translation> </message> <message> <source>Set role</source> <translation>Sätta roll</translation> </message> <message> <source>Move up</source> <translation>Flytta upp</translation> </message> <message> <source>Move down</source> <translation>Flytta ner</translation> </message> </context> <context> <name>LibrariesModel</name> <message> <source>Path</source> <translation type="obsolete">Stig</translation> </message> <message> <source>Role</source> <translation type="obsolete">Roll</translation> </message> </context> <context> <name>LibraryManager</name> <message> <source>Official library</source> <translation type="unfinished">Officiellt bitbibliotek</translation> </message> <message> <source>Unofficial library</source> <translation type="unfinished">Inofficiellt bitbibliotek</translation> </message> <message> <source>Working library</source> <translation type="unfinished">Utvecklingsbitbibliotek</translation> </message> <message> <source>Path</source> <translation type="unfinished">Stig</translation> </message> <message> <source>Role</source> <translation type="unfinished">Roll</translation> </message> </context> <context> <name>MainWindow</name> <message> <source>File</source> <translation>Arkiv</translation> </message> <message> <source>Quit</source> <translation>Avsluta</translation> </message> <message> <source>Open…</source> <translation>Öppna...</translation> </message> <message> <source>Ctrl+O</source> <translation>Ctrl+O</translation> </message> <message> <source>New</source> <translation>Ny</translation> </message> <message> <source>Ctrl+N</source> <translation>Ctrl+N</translation> </message> <message> <source>Language</source> <translation type="vanished">Språk</translation> </message> <message> <source>Open model</source> <translation>Öppna modell</translation> </message> <message> <source>LDraw models (*.ldr *.dat)</source> <translation>LDrawmodeller (*.ldr *.dat)</translation> </message> <message> <source>Problem opening file</source> <translation>Problem att öppna filen</translation> </message> <message> <source>Could not open %1: %2</source> <translation>Kunde inte öppna %1: %2</translation> </message> <message> <source>LDForge</source> <translation>LDForge</translation> </message> <message> <source>System language</source> <translation type="vanished">Systemspråk</translation> </message> <message> <source>Preferences…</source> <translation>Inställningar…</translation> </message> <message> <source>Recent files</source> <translation>Senaste filer</translation> </message> <message> <source>Problem loading references</source> <translation>Problem med att öppna referenser</translation> </message> <message> <source>View</source> <translation>Vy</translation> </message> <message> <source>Normal colours</source> <translation>Normala färger</translation> </message> <message> <source>BFC color coding</source> <translation>BFC-färgkodning</translation> </message> <message> <source>Random colours</source> <translation>Slumpmässiga färger</translation> </message> <message> <source>Pick scene colours</source> <translation type="unfinished"></translation> </message> <message> <source>Error</source> <translation type="unfinished"></translation> </message> <message> <source>Unable to construct %1</source> <translation type="unfinished"></translation> </message> <message> <source>toolBar</source> <translation type="unfinished"></translation> </message> </context> <context> <name>MatrixEditor</name> <message> <source>Form</source> <translation type="unfinished"></translation> </message> <message> <source>×</source> <translation type="unfinished"></translation> </message> </context> <context> <name>MultiplyFactorDialog</name> <message> <source>Multiply with a scalar</source> <translation type="unfinished"></translation> </message> <message> <source>Factor:</source> <translation type="unfinished"></translation> </message> <message> <source>Invert</source> <translation type="unfinished"></translation> </message> <message> <source>Preview</source> <translation type="unfinished"></translation> </message> </context> <context> <name>PartRenderer</name> <message> <source>Rendering error</source> <translation type="vanished">Renderingsfel</translation> </message> </context> <context> <name>QObject</name> <message> <source>OpenGL error: %1</source> <translation>OpenGLfel: %1</translation> </message> <message> <source>OpenGL error</source> <translation>OpenGLfel</translation> </message> <message> <source>Damn it</source> <translation>Sablas</translation> </message> <message> <source>Vertex shader:</source> <translation>Hörnshadern:</translation> </message> <message> <source>Fragment shader:</source> <translation>Fragmentshadern:</translation> </message> <message> <source>Shader compile error</source> <translation>Fel med att kompilera shaders</translation> </message> <message> <source>Could not compile shaders.</source> <translation>Kunde inte kompilera shaders.</translation> </message> <message> <source>Shader link error</source> <translation>Fel med att länka shaders</translation> </message> <message> <source>Could not link shaders: %1</source> <translation>Kunde inte länka shaders: %1</translation> </message> </context> <context> <name>SelectTool</name> <message> <source>Select</source> <translation type="unfinished"></translation> </message> <message> <source>Select elements from the model.</source> <translation type="unfinished"></translation> </message> </context> <context> <name>SettingsEditor</name> <message> <source>Dialog</source> <translation type="unfinished"></translation> </message> <message> <source>General</source> <translation>Generell</translation> </message> <message> <source>Language:</source> <translation>Språk:</translation> </message> <message> <source>System language</source> <translation>Systemspråk</translation> </message> <message> <source>English</source> <translation>Engelska</translation> </message> <message> <source>LDraw libraries</source> <translation type="vanished">LDraw-bitbibliotek</translation> </message> <message> <source>LDraw parts libraries</source> <translation>LDraw-bitbibliotek</translation> </message> <message> <source>Keyboard shortcuts</source> <translation>Tangentbordsgenvägar</translation> </message> <message> <source>Interface</source> <translation>Gränssnitt</translation> </message> <message> <source>Rendering</source> <translation>Renderning</translation> </message> <message> <source>Main colour:</source> <translation>Basfärg:</translation> </message> <message> <source>Background colour:</source> <translation>Bakgrundsfärg:</translation> </message> <message> <source>Line thickness:</source> <translation>Linjetjocklek:</translation> </message> <message> <source>Line anti-aliasing</source> <translation>Linjekantutjämning</translation> </message> <message> <source>Selected colour:</source> <translation>Urvalsfärg:</translation> </message> </context> <context> <name>Vec3Editor</name> <message> <source>Form</source> <translation type="unfinished"></translation> </message> <message> <source>x = </source> <translation type="unfinished"></translation> </message> <message> <source>y = </source> <translation type="unfinished"></translation> </message> <message> <source>z = </source> <translation type="unfinished"></translation> </message> <message> <source>×</source> <translation type="unfinished"></translation> </message> </context> <context> <name>gl::Compiler</name> <message> <source>Vertex shader:</source> <translation type="vanished">Hörnshadern:</translation> </message> <message> <source>Fragment shader:</source> <translation type="vanished">Fragmentshadern:</translation> </message> <message> <source>Shader compile error</source> <translation type="vanished">Fel med att kompilera shaders</translation> </message> <message> <source>Could not compile shaders.</source> <translation type="vanished">Kunde inte kompilera shaders.</translation> </message> </context> </TS>