From d33d352d94a5c1ff2ca36820446c0bfb70548c7f Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sun, 30 Dec 2018 12:38:03 -0200 Subject: [PATCH] Fixed translations of startpage --- .../Gui/Resources/translations/StartPage.ts | 682 +++++++++++------- src/Tools/updatets.py | 6 +- 2 files changed, 409 insertions(+), 279 deletions(-) diff --git a/src/Mod/Start/Gui/Resources/translations/StartPage.ts b/src/Mod/Start/Gui/Resources/translations/StartPage.ts index 72400923a4..dc6d716173 100644 --- a/src/Mod/Start/Gui/Resources/translations/StartPage.ts +++ b/src/Mod/Start/Gui/Resources/translations/StartPage.ts @@ -1,345 +1,471 @@ - + + StartPage + + + Start + + + + + Documents + + + + + Help + + + + + Activity + + + + + Recent files + + + + + Tip + + + + + Adjust the number of recent files to be shown here in menu Edit -> Preferences -> General -> Size of recent file list + + + + + Examples + + + + + General documentation + + + + + User hub + + + + + This section contains documentation useful for FreeCAD users in general: a list of all the workbenches, detailed instructions on how to install and use the FreeCAD application, tutorials, and all you need to get started. + + + + + Power users hub + + + + + This section gathers documentation for advanced users and people interested in writing python scripts. You will also find there a repository of macros, instructions on how to install and use them, and more information about customizing FreeCAD to your specific needs. + + + + + Developers hub + + + + + This section contains material for developers: How to compile FreeCAD yourself, how the FreeCAD source code is structured and how to navigate in it, and how to develop new workbenches, or embed FreeCAD in your own application. + + + + + Manual + + - FreeCAD Start Center + The FreeCAD manual is another, more linear way to present the information contained in this wiki. It is made to be read like a book, and will gently introduce you to many other pages from the hubs above. <a href="https://www.gitbook.com/book/yorikvanhavre/a-freecad-manual/details">e-book versions</a> are also available. - Start a new project + Workbenches documentation - Recent Files - - - - - Tutorials - - - - - FreeCAD Homepage - - - - - Example projects - - - - - Schenkel STEP file - - - - - Load a PartDesign example - - - - - Load a Drawing extraction - - - - - Load a Robot simulation example - - - - - Projects from the Web - - - - - Schenkel STEP - - - - - Complex Part - - - - - Close this window after opening or creating a file - - - - - Don't show me this window again next time - - - - - Designing parts - - - - - The <b>Part Design</b> workbench is designed to create complex pieces based on constrained 2D sketches. Use it to draw 2D shapes, constrain some of their elements and extrude them to form 3D pieces. - - - - - Example workflow - - - - - Part Design - - - - - Designing architectural elements - - - - - Working with Meshes - - - - - The <b>Mesh Workbench</b> is used to work with Mesh objects. Meshes are simpler 3D objects than Part objects, but they are often easier to import and export to/from other applications. - - - - - FreeCAD offers you several tools to convert between Mesh and Part objects. - - - - - Work with Meshes - - - - - The complete workbench - - - - - FreeCAD Complete workbench - - - - - file size: - - - - - creation time: - - - - - last modified: - - - - - populated with some of the most commonly used tools. + These are the help pages of all the workbenches currently installed on this computer. - Latest videos - - - - - On the web - - - - - This is the FreeCAD Homepage. Here you will be able to find a lot of information about FreeCAD, including tutorials, examples and user documentation. - - - - - location: - - - - - User manual - - - - - Python resources - - - - - File not found - - - - - from <a href=http://twitter.com/FreeCADNews>@FreeCADNews</a> - - - - - The FreeCAD-tutorial blog - - - - - from <a href=http://www.youtube.com/user/FreeCADNews?feature=mhee>FreeCADNews channel</a> - - - - - This is the official user manual of FreeCAD, built, maintained and translated by the FreeCAD community. - - - - - The tutorials section on the FreeCAD website - - - - - A blog dedicated to teaching FreeCAD, maintained by members of the FreeCAD community - - - - - Getting started - - - - - The FreeCAD interface is divided in workbenches, which are sets of tools suited for a specific task. You can start with one of the workbenches in this list, or with the complete workbench, which presents you with some of the most used tools gathered from other workbenches. Click to read more about workbenches on the FreeCAD website. - - - - - Ship Design - - - - - Designing and calculating ships - - - - - The <b>Ship Design</b> module offers several tools to help ship designers to view, model and calculate profiles and other specific properties of ship hulls. - - - - - Load an Architectural example model - - - - - Architectural Design - - - - - The section of the FreeCAD website dedicated to python scripting, with examples, explanations, and API commands. - - - - - Your version of FreeCAD is up to date. - - - - - There is a new release of FreeCAD available. + Getting help from the community - Latest commits + The <a href="http://forum.freecadweb.org">FreeCAD forum</a> is a great place to get help from other FreeCAD users and developers. The forum has many sections for different types of issues and discussion subjects. If in doubt, post in the more general <a href="https://forum.freecadweb.org/viewforum.php?f=3">Help on using FreeCAD</a> section. - - Obtain a development version + + If it is the first time you are posting on the forum, be sure to <a href="https://forum.freecadweb.org/viewtopic.php?f=3&t=2264">read the guidelines</a> first! - - <b>Development versions</b> are made available by community members from time to time and usually contain the latest changes, but are more likely to contain bugs. + + FreeCAD also maintains a public <a href="https://www.freecadweb.org/tracker">bug tracker</a> where anybody can submit bugs and propose new features. To avoid causing extra work and give the best chances to see your bug solved, make sure you read the <a href="https://forum.freecadweb.org/viewtopic.php?f=3&t=5236">bug submission guide</a> before posting. - - See all commits + + Available addons - - Load an FEM 3D example analysis + + Below is a list of available extra workbenches that can be added to your FreeCAD installation. Browse and install them from menu Tools -> Addons manager. You can learn more about any of them by clicking the links below. - - Load an FEM 2D example analysis + + If not bundled with your FreeCAD version, install the FreeCAD documentation package to get documentation hubs, workbench help and individual command documentation without an internet connection. - - http://www.freecadweb.org/wiki/Online_Help_Toc + + Cannot fetch information from GitHub. <a href="EnableDownload.py">Authorize FreeCAD to access the internet</a> and reload the Start page. - - http://www.freecadweb.org/wiki/Tutorials + + Recent commits - - http://www.freecadweb.org/wiki/Power_users_hub + + Below are the latest changes added to the <a href="http://github.com/FreeCAD/FreeCAD/">FreeCAD source code</a>. These changes might not reflect yet in the FreeCAD version that you are currently running. Check the <a href="https://www.freecadweb.org/wiki/Downloads">available options</a> if you wish to obtain a development version. - - FreeCAD Standard File + + See all commits on github - - Author + + You can configure a custom folder to display here in menu Edit -> Preferences -> Start -> Custom folder - - Company + + version - - License + + build + + + + + Create new... + + + + + Unknown + + + + + Forum + + + + + The latest posts on the <a href="https://forum.freecadweb.org">FreeCAD forum</a>: + + + + + To open any of the links above in your desktop browser, Right-click -> Open in external browser + + + + + Creation date - The <b>Architectural Design</b> workbench is specially designed for working with architectural elements such as walls or windows. Start by drawing 2D shapes, and use them as guides to build architectural objects. + Last modification - - http://www.freecadweb.org/wiki/Getting_started + + Notes + + + + + Workbench + + + + Start page + + + + + CmdStartPage + + + Start + + + + + Start Page + + + + + Displays the start page in a browser view + + + + + DlgStartPreferences + + + Start page options + + + + + Start page template + + + + + An optional HTML template that will be used instead of the default start page. + + + + + Contents + + + + + Show forum + + + + + Show examples folder contents + + + + + Show additional folder + + + + + If you want the examples to show on the first page + + + + + If this is checked, the latest posts from the FreeCAD forum will be displayed on the Activity tab + + + + + An optional custom folder to be displayed at the bottom of the first page + + + + + Show notepad + + + + + Shows a notepad next to the file thumbnails, where you can keep notes across FreeCAD sessions + + + + + Fonts and colors + + + + + The background of the main start page area + + + + + Background color + + + + + in FreeCAD + + + + + In external browser + + + + + Background color gradient down + + + + + The color of the version text + + + + + Link color + + + + + An optional image to display as background + + + + + If this is checked, if a style sheet is specified in General preferences, it will be used and override the colors below + + + + + Page background color + + + + + The color of the text on the main pages + + + + + Background image + + + + + Page text color + + + + + The color of the links + + + + + The background color of the boxes inside the pages + + + + + Box background color + + + + + The background color behind the panels + + + + + The down gradient for the background color (currently unsupported) + + + + + Open links + + + + + Background text color + + + + + Use FreeCAD style sheet + + + + + Font family + + + + + The font family to use on the start page. Can be a font name or a comma-separated series of fallback fonts + + + + + Arial,Helvetica,sans + + + + + The base font size to use for all texts of the Start page + + + + + px + + + + + Use gradient for New File icon + + + + + Options + + + + + Should the start page be closed after loading? + + + + + Switch workbench after loading + + + + + Close start page after loading + + + + + Close & switch on file open + + + + + If FreeCAD is started by opening a file, apply the two settings above diff --git a/src/Tools/updatets.py b/src/Tools/updatets.py index 6736bb2fad..cc30596147 100755 --- a/src/Tools/updatets.py +++ b/src/Tools/updatets.py @@ -62,7 +62,11 @@ PyCommands = [["src/Mod/Draft", ["src/Mod/OpenSCAD", "pylupdate *.py Resources/ui/*.ui -ts Resources/translations/OpenSCAD.ts"], ["src/Mod/Start", - "pylupdate StartPage/*.py -ts Gui/Resources/translations/StartPage.ts"], + "pylupdate StartPage/*.py -ts Gui/Resources/translations/StartPagepy.ts"], + ["src/Mod/Start", + 'lconvert -i Gui/Resources/translations/StartPagepy.ts Gui/Resources/translations/StartPage.ts -o Gui/Resources/translations/StartPage.ts'], + ["src/Mod/Start", + 'rm Gui/Resources/translations/StartPagepy.ts'], ["src/Mod/Ship", 'pylupdate `find ./ -name "*.py"` -ts resources/translations/Ship.ts'], ["src/Mod/Plot",