From 007e31a7fa9b1f36784ebbbdb8df71883cebedc5 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 16 Nov 2017 17:12:52 -0300 Subject: [PATCH] TechDraw: Updated translation scripts --- .../Gui/Resources/translations/TechDraw.ts | 1669 +++++++++++++++++ src/Tools/updatecrowdin.py | 2 +- src/Tools/updatefromcrowdin.py | 2 +- 3 files changed, 1671 insertions(+), 2 deletions(-) create mode 100644 src/Mod/TechDraw/Gui/Resources/translations/TechDraw.ts diff --git a/src/Mod/TechDraw/Gui/Resources/translations/TechDraw.ts b/src/Mod/TechDraw/Gui/Resources/translations/TechDraw.ts new file mode 100644 index 0000000000..2ab4ca209e --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/translations/TechDraw.ts @@ -0,0 +1,1669 @@ + + + + + CmdTechDrawAnnotation + + + TechDraw + + + + + &Annotation + + + + + + Inserts an Annotation in the active drawing + + + + + CmdTechDrawArchView + + + TechDraw + + + + + Insert an ArchView + + + + + + Inserts a view of an Arch Section Plane into the active drawing + + + + + CmdTechDrawClip + + + TechDraw + + + + + &Clip + + + + + + Inserts a clip group in the active drawing + + + + + CmdTechDrawClipMinus + + + TechDraw + + + + + &ClipMinus + + + + + + Remove a View from a clip group in the active drawing + + + + + CmdTechDrawClipPlus + + + TechDraw + + + + + &ClipPlus + + + + + Add a View to a clip group in the active drawing + + + + + Adds a View into a clip group in the active drawing + + + + + CmdTechDrawDraftView + + + TechDraw + + + + + Insert a DraftView + + + + + + Inserts a Draft WB object into the active drawing + + + + + CmdTechDrawExportPage + + + File + + + + + &Export page... + + + + + + Export a page to an SVG file + + + + + CmdTechDrawImage + + + TechDraw + + + + + Insert bitmap image + + + + + + Inserts a bitmap from a file in the active drawing + + + + + Select an Image File + + + + + Image (*.png *.jpg *.jpeg) + + + + + CmdTechDrawLinkDimension + + + TechDraw + + + + + + Link a dimension to 3D geometry + + + + + CmdTechDrawNewAngleDimension + + + TechDraw + + + + + Insert a new angle dimension into the drawing + + + + + Insert a new angle dimension + + + + + CmdTechDrawNewDiameterDimension + + + TechDraw + + + + + Insert a new diameter dimension into the drawing + + + + + Insert a new diameter dimension feature for the selected view + + + + + CmdTechDrawNewDimension + + + TechDraw + + + + + Insert a dimension into the drawing + + + + + Insert a new dimension + + + + + CmdTechDrawNewDistanceXDimension + + + TechDraw + + + + + Insert a new horizontal dimension into the drawing + + + + + Insert a new horizontal-distance dimension + + + + + CmdTechDrawNewDistanceYDimension + + + TechDraw + + + + + Insert a new vertical dimension into the drawing + + + + + Insert a new vertical distance dimension + + + + + CmdTechDrawNewGeomHatch + + + TechDraw + + + + + + Apply geometric hatch to a Face + + + + + CmdTechDrawNewHatch + + + TechDraw + + + + + + Hatch a Face using image file + + + + + CmdTechDrawNewLengthDimension + + + TechDraw + + + + + Insert a new length dimension into the drawing + + + + + Insert a new length dimension + + + + + CmdTechDrawNewMulti + + + TechDraw + + + + + Insert multi-part view in drawing + + + + + Insert a new View of a multiple Parts in the active drawing + + + + + CmdTechDrawNewPage + + + TechDraw + + + + + + Insert new drawing page from template + + + + + Select a Template File + + + + + Template (*.svg *.dxf) + + + + + CmdTechDrawNewPageDef + + + TechDraw + + + + + + Insert new default drawing page + + + + + CmdTechDrawNewRadiusDimension + + + TechDraw + + + + + Insert a new radius dimension into the drawing + + + + + Insert a new radius dimension feature for the selected view + + + + + CmdTechDrawNewView + + + TechDraw + + + + + Insert view in drawing + + + + + Insert a new View of a Part in the active drawing + + + + + CmdTechDrawNewViewDetail + + + TechDraw + + + + + Insert detail view in drawing + + + + + Insert a new Detail View of a Part in the active drawing + + + + + CmdTechDrawNewViewSection + + + TechDraw + + + + + Insert section view in drawing + + + + + Insert a new Section View of a Part in the active drawing + + + + + CmdTechDrawProjGroup + + + TechDraw + + + + + Insert Projection Group + + + + + Insert multiple views of a single part into the active drawing + + + + + CmdTechDrawRedrawPage + + + TechDraw + + + + + + Redraw a page + + + + + CmdTechDrawSpreadsheet + + + TechDraw + + + + + Spreadsheet + + + + + + Inserts a view of a selected spreadsheet into a drawing + + + + + CmdTechDrawSymbol + + + TechDraw + + + + + Insert SVG &Symbol + + + + + + Inserts a symbol from a svg file in the active drawing + + + + + CmdTechDrawToggleFrame + + + TechDraw + + + + + + Turn View Frames on or off + + + + + QObject + + + + + + + + + + + + + + + + + Wrong selection + + + + + + + Select at least 1 object with a Shape. + + + + + + Select at least 1 DrawingView object. + + + + + Select 1 DrawViewClip and 1 DrawView. + + + + + + Select exactly one Drawing View object. + + + + + Select exactly one Clip object. + + + + + Clip and View must be from same Page. + + + + + View does not belong to a Clip + + + + + Choose an SVG file to open + + + + + Scalable Vector Graphic + + + + + Select at least one object. + + + + + Select exactly one Arch Section Plane object. + + + + + The selected object is not an Arch Section Plane. + + + + + Select exactly one Spreadsheet object. + + + + + No Drawing View + + + + + Open Drawing View before attempting export to SVG. + + + + + + + + + + + + + + + Incorrect Selection + + + + + Can't make a Dimension from this selection + + + + + Can't make an angle Dimension from this selection + + + + + There is no 3D object in your selection + + + + + There are no 3D Edges or Vertices in your selection + + + + + + + + + + + + Incorrect selection + + + + + Select an object first + + + + + Too many objects selected + + + + + + Create a page first. + + + + + + No DrawViewPart in selection. + + + + + No TechDraw Page + + + + + Need a TechDraw Page for this command + + + + + Select a Face first + + + + + No TechDraw object in selection + + + + + Create a page to insert. + + + + + Can't make a Hatched area from this selection + + + + + No Face in this selection + + + + + No page found + + + + + + Too many pages + + + + + Can not determine correct page. + + + + + Select exactly 1 page. + + + + + PDF (*.pdf) + + + + + + All Files (*.*) + + + + + Export Page As PDF + + + + + SVG (*.svg) + + + + + Export page as SVG + + + + + %1.%2.%3 + + + + + FreeCAD SVG Export + + + + + Show drawing + + + + + Drawing viewer + + + + + TechDrawGui::DlgPrefsTechDraw2Imp + + + TechDraw 2 + + + + + Dimensions + + + + + Arrow Style + + + + + Show Units + + + + + Color + + + + + Font Size + + + + + Diameter Symbol + + + + + ⌀ + + + + + Alternate Decimals + + + + + Use Global Decimals + + + + + Preferred arrowhead style + + + + + 0 - Filled Triangle + + + + + 1 - Open Arrowhead + + + + + 2 - Tick + + + + + 3 - Dot + + + + + 4 - Open Circle + + + + + Arrow Size + + + + + Decorations + + + + + Round + + + + + Square + + + + + Section Line Style + + + + + Center Line Style + + + + + Matting Style + + + + + + NeverShow + + + + + Sollid + + + + + + Dash + + + + + + Dot + + + + + + DashDot + + + + + + DashDotDot + + + + + Solid + + + + + Center Line Color + + + + + Section Line Color + + + + + Default weight for GeomHatch lines + + + + + Hatch Weight + + + + + TechDrawGui::DlgPrefsTechDrawImp + + + TechDraw 1 + + + + + General + + + + + Projection Angle + + + + + First + + + + + Third + + + + + + Hidden Line + + + + + NeverShow + + + + + Solid + + + + + Dash + + + + + Dot + + + + + DashDot + + + + + DashDotDot + + + + + Detect Faces + + + + + Show Section Edges + + + + + Keep Pages Up to Date + + + + + Template Dot Size + + + + + Colors + + + + + Section Hatch + + + + + Section Face + + + + + Normal + + + + + PreSelected + + + + + Selected + + + + + Background + + + + + Geom Hatch + + + + + Files + + + + + Template Directory + + + + + Default Template + + + + + Hatch Image + + + + + Location of default svg/png fill file + + + + + PAT File + + + + + Default location for PAT file + + + + + Default PAT pattern + + + + + Pattern Name + + + + + Labels + + + + + Label Font + + + + + osifont + + + + + Label Size + + + + + TechDrawGui::MDIViewPage + + + &Export SVG + + + + + &Native + + + + + &OpenGL + + + + + &Image + + + + + &High Quality Antialiasing + + + + + dummy[*] + + + + + &Renderer + + + + + Different orientation + + + + + The printer uses a different orientation than the drawing. +Do you want to continue? + + + + + + Different paper size + + + + + + The printer uses a different paper size than the drawing. +Do you want to continue? + + + + + Opening file failed + + + + + Can't open file '%1' for writing. + + + + + TechDrawGui::QGVPage + + + Drawing page: + + + + + exported from FreeCAD document: + + + + + TechDrawGui::TaskGeomHatch + + + Apply Geometric Hatch to Face + + + + + Define your pattern + + + + + The PAT file containing your pattern + + + + + Pattern File + + + + + Pattern Name + + + + + Line Weight + + + + + Pattern Scale + + + + + Line Color + + + + + Name of pattern within file + + + + + Color of pattern lines + + + + + Enlarges/shrinks the pattern + + + + + Thickness of lines within the pattern + + + + + TechDrawGui::TaskLinkDim + + + Link Dimension + + + + + Link This 3D Geometry + + + + + Feature2: + + + + + Feature1: + + + + + Geometry1: + + + + + Geometry2: + + + + + To These Dimensions + + + + + Available + + + + + Selected + + + + + TechDrawGui::TaskProjGroup + + + Projection Group + + + + + Projection + + + + + First or Third Angle + + + + + + Page + + + + + First Angle + + + + + Third Angle + + + + + Scale + + + + + Scale Page/Auto/Custom + + + + + Automatic + + + + + Custom + + + + + Custom Scale + + + + + Scale Numerator + + + + + : + + + + + Scale Denominator + + + + + Adjust Primary Direction + + + + + Primary View Direction + + + + + Rotate right + + + + + Rotate up + + + + + Rotate left + + + + + This function is temporarily unavailable. + + + + + Match 3D + + + + + Rotate down + + + + + Return Primary Direction to Initial Value + + + + + Reset + + + + + Secondary Projections + + + + + Bottom + + + + + Primary + + + + + Right + + + + + Left + + + + + LeftFrontBottom + + + + + Top + + + + + RightFrontBottom + + + + + RightFrontTop + + + + + Rear + + + + + LeftFrontTop + + + + + Spin CW + + + + + Spin CCW + + + + + TechDrawGui::TaskSectionView + + + Quick Section Parameters + + + + + Define Your Section + + + + + Symbol + + + + + Identifier for this section + + + + + Origin Y + + + + + + + Location of section plane + + + + + Origin X + + + + + Origin Z + + + + + Looking down + + + + + Looking right + + + + + Looking left + + + + + Looking up + + + + + Calculated Values + + + + + Projection Direction + + + + + Section Normal + + + + + Start over + + + + + Reset + + + + + TechDrawGui::dlgTemplateField + + + Change Editable Field + + + + + Text Name: + + + + + TextLabel + + + + + Value: + + + + diff --git a/src/Tools/updatecrowdin.py b/src/Tools/updatecrowdin.py index 1b803fe825..49c4db410e 100755 --- a/src/Tools/updatecrowdin.py +++ b/src/Tools/updatecrowdin.py @@ -77,7 +77,7 @@ files = [ ["Arch.ts", "/Mod/Arch/Resources/translations/Arch.ts"], ["Spreadsheet.ts", "/Mod/Spreadsheet/Gui/Resources/translations/Spreadsheet.ts"], ["Path.ts", "/Mod/Path/Gui/Resources/translations/Path.ts"], ["Tux.ts", "/Mod/Tux/Resources/translations/Tux.ts"], - ["TechDraw.ts", "/Mod/TechDraw/Resources/translations/TechDraw.ts"], + ["TechDraw.ts", "/Mod/TechDraw/Gui/Resources/translations/TechDraw.ts"], ] diff --git a/src/Tools/updatefromcrowdin.py b/src/Tools/updatefromcrowdin.py index a7db1e1f4c..18845f06b1 100755 --- a/src/Tools/updatefromcrowdin.py +++ b/src/Tools/updatefromcrowdin.py @@ -90,7 +90,7 @@ locations = [["Arch","../Mod/Arch/Resources/translations","../Mod/Arch/Resources ["Spreadsheet","../Mod/Spreadsheet/Gui/Resources/translations","../Mod/Spreadsheet/Gui/Resources/Spreadsheet.qrc"], ["Path","../Mod/Path/Gui/Resources/translations","../Mod/Path/Gui/Resources/Path.qrc"], ["Tux","../Mod/Tux/Resources/translations","../Mod/Tux/Resources/Tux.qrc"], - ["TechDraw","../Mod/TechDraw/Resources/translations","../Mod/TechDraw/Resources/TechDraw.qrc"], + ["TechDraw","../Mod/TechDraw/Gui/Resources/translations","../Mod/TechDraw/Gui/Resources/TechDraw.qrc"], ] default_languages = "af zh-CN zh-TW hr cs nl fi fr de hu ja no pl pt-PT ro ru sr es-ES sv-SE uk it pt-BR el sk tr sl eu ca gl kab ko"