Thu, 27 Feb 2020 11:56:41 +0200
use glm::unProject to implement screenToModelCoordinates
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> <TS version="2.1" language="fi"> <context> <name>Document</name> <message> <location filename="../src/document.ui" line="14"/> <source>Form</source> <translation type="unfinished"></translation> </message> </context> <context> <name>KeyboardShortcutsEditor</name> <message> <location filename="../src/settingseditor/keyboardshortcutseditor.cpp" line="51"/> <source>Action</source> <translation>Toiminto</translation> </message> <message> <location filename="../src/settingseditor/keyboardshortcutseditor.cpp" line="53"/> <source>Shortcut</source> <translation>Yhdistelmä</translation> </message> </context> <context> <name>LibrariesEditor</name> <message> <location filename="../src/settingseditor/librarieseditor.ui" line="14"/> <source>Form</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.ui" line="25"/> <source>…</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.ui" line="32"/> <source>Add</source> <translation type="unfinished">Lisää</translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.cpp" line="39"/> <source>Browse LDraw library</source> <translation type="unfinished">Hae LDraw-kirjasto</translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.cpp" line="52"/> <source>Library does not exist</source> <translation type="unfinished">Kirjastoa ei ole</translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.cpp" line="54"/> <source>The directory %1 does not exist.</source> <translation type="unfinished">Hakemisto %1 ei ole olemassa.</translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.cpp" line="62"/> <source>Unreadable library</source> <translation type="unfinished">Lukukelvoton kirjasto</translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.cpp" line="64"/> <source>The directory %1 cannot be read.</source> <translation type="unfinished">Hakemistoa %1 ei voida lukea.</translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.cpp" line="78"/> <source>Remove library</source> <translation type="unfinished">Poista kirjasto</translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.cpp" line="84"/> <source>Set role</source> <translation>Aseta rooli</translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.cpp" line="96"/> <source>Move up</source> <translation>Siirrä ylös</translation> </message> <message> <location filename="../src/settingseditor/librarieseditor.cpp" line="102"/> <source>Move down</source> <translation>Siirrä alas</translation> </message> </context> <context> <name>LibraryManager</name> <message> <location filename="../src/libraries.cpp" line="248"/> <source>Official library</source> <translation>Virallinen kirjasto</translation> </message> <message> <location filename="../src/libraries.cpp" line="250"/> <source>Unofficial library</source> <translation>Epävirallinen kirjasto</translation> </message> <message> <location filename="../src/libraries.cpp" line="252"/> <source>Working library</source> <translation>Työskentelykirjasto</translation> </message> <message> <location filename="../src/libraries.cpp" line="311"/> <source>Path</source> <translation>Polku</translation> </message> <message> <location filename="../src/libraries.cpp" line="313"/> <source>Role</source> <translation>Rooli</translation> </message> </context> <context> <name>MainWindow</name> <message> <location filename="../src/mainwindow.ui" line="14"/> <source>LDForge</source> <translation type="unfinished">LDForge</translation> </message> <message> <location filename="../src/mainwindow.ui" line="34"/> <source>File</source> <translation>Tiedosto</translation> </message> <message> <location filename="../src/mainwindow.ui" line="38"/> <source>Recent files</source> <translation>Viimeaikaiset tiedostot</translation> </message> <message> <location filename="../src/mainwindow.ui" line="51"/> <source>View</source> <translation>Näkymä</translation> </message> <message> <location filename="../src/mainwindow.ui" line="63"/> <source>Quit</source> <translation>Lopeta</translation> </message> <message> <location filename="../src/mainwindow.ui" line="68"/> <source>Open…</source> <translation>Avaa...</translation> </message> <message> <location filename="../src/mainwindow.ui" line="71"/> <source>Ctrl+O</source> <translation>Ctrl+O</translation> </message> <message> <location filename="../src/mainwindow.ui" line="76"/> <source>New</source> <translation>Uusi</translation> </message> <message> <location filename="../src/mainwindow.ui" line="79"/> <source>Ctrl+N</source> <translation>Ctrl+N</translation> </message> <message> <location filename="../src/mainwindow.ui" line="84"/> <source>Preferences…</source> <translation>Asetukset...</translation> </message> <message> <location filename="../src/mainwindow.ui" line="92"/> <source>Normal colours</source> <translation type="unfinished">Perusvärit</translation> </message> <message> <location filename="../src/mainwindow.ui" line="100"/> <source>BFC color coding</source> <translation type="unfinished">BFC-värikoodaus</translation> </message> <message> <location filename="../src/mainwindow.ui" line="108"/> <source>Random colours</source> <translation type="unfinished">Satunnaiset värit</translation> </message> <message> <location filename="../src/mainwindow.cpp" line="97"/> <source>Open model</source> <translation>Avaa malli</translation> </message> <message> <location filename="../src/mainwindow.cpp" line="99"/> <source>LDraw models (*.ldr *.dat)</source> <translation>LDraw-mallit (*.ldr *.dat)</translation> </message> <message> <location filename="../src/mainwindow.cpp" line="118"/> <source>Problem loading references</source> <translation type="unfinished">Ongelma viitteiden lataamisessa</translation> </message> <message> <location filename="../src/mainwindow.cpp" line="128"/> <source>Problem opening file</source> <translation>Ongelma tiedoston avaamisessa</translation> </message> <message> <location filename="../src/mainwindow.cpp" line="130"/> <source>Could not open %1: %2</source> <translation>Ei voitu avata %1: %2</translation> </message> </context> <context> <name>PartRenderer</name> <message> <location filename="../src/gl/partrenderer.cpp" line="201"/> <source>Failed to render: %1</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/gl/partrenderer.cpp" line="202"/> <source>Rendering error</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/gl/partrenderer.cpp" line="204"/> <source>Damn it</source> <translation type="unfinished"></translation> </message> </context> <context> <name>SettingsEditor</name> <message> <location filename="../src/settingseditor/settingseditor.ui" line="14"/> <source>Dialog</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="24"/> <source>General</source> <translation>Yleiset</translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="30"/> <source>Interface</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="36"/> <source>Language:</source> <translation>Kieli:</translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="46"/> <location filename="../src/settingseditor/settingseditor.cpp" line="59"/> <source>System language</source> <translation>Järjestelmän kieli</translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="51"/> <source>English</source> <translation>Englanti</translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="77"/> <source>Rendering</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="85"/> <source>Main colour:</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="99"/> <source>Background colour:</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="113"/> <source>Line thickness:</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="123"/> <source>Line anti-aliasing</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="162"/> <source>LDraw parts libraries</source> <translation>LDraw-osakirjastot</translation> </message> <message> <location filename="../src/settingseditor/settingseditor.ui" line="167"/> <source>Keyboard shortcuts</source> <translation>Näppäinyhdistelmät</translation> </message> </context> <context> <name>gl::Compiler</name> <message> <location filename="../src/gl/compiler.cpp" line="126"/> <source>Vertex shader:</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/gl/compiler.cpp" line="131"/> <source>Fragment shader:</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/gl/compiler.cpp" line="135"/> <source>Shader compile error</source> <translation type="unfinished"></translation> </message> <message> <location filename="../src/gl/compiler.cpp" line="135"/> <source>Could not compile shaders.</source> <translation type="unfinished"></translation> </message> </context> </TS>