diff --git a/Valentina.pro b/Valentina.pro index 78c5ed24e..81ed324c7 100644 --- a/Valentina.pro +++ b/Valentina.pro @@ -53,6 +53,3 @@ unix { TEMPLATE = subdirs SUBDIRS = src - -RESOURCES += \ - src/app/puzzle/share/resources/puzzleicon.qrc diff --git a/dist/debian/menu b/dist/debian/menu index 3addde6b9..3e2e6f89d 100644 --- a/dist/debian/menu +++ b/dist/debian/menu @@ -1,2 +1,3 @@ ?package(valentina): needs="X11" section="Applications/Graphics" title="Valentina" command="valentina" ?package(valentina): needs="X11" section="Applications/Data Management" title="Tape" command="tape" +?package(valentina): needs="X11" section="Applications/Data Management" title="Puzzle" command="puzzle" diff --git a/dist/debian/puzzle.1 b/dist/debian/puzzle.1 index 27ff0a68f..3c04b8ad7 100644 --- a/dist/debian/puzzle.1 +++ b/dist/debian/puzzle.1 @@ -20,7 +20,7 @@ The filename of exported layout file. Use it to enable console export mode. .IP "-r, --rawLayout " Load pattern pieces form the raw layout data file. .IP "-f, --format " -Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): +Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): .IP "--bdxf" Export dxf in binary form. .IP "--text2paths" @@ -40,20 +40,16 @@ Tiled page top margin in current units like 3.0 (export mode). If not set will b .IP "--tiledbmargin " Tiled page bottom margin in current units like 3.0 (export mode). If not set will be used value default value 1 cm. .IP "--tiledLandscape" -Set tiled page orienatation to landscape (export mode). Default value if not set portrait. +Set tiled page orienatation to landscape (export mode). Default value if not set portrait. .IP "-t, --test" -Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key 'exportFile'. +Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key 'exportFile'. .IP "--no-scaling" -Disable high dpi scaling. Call this option if has problem with scaling (by default scaling enabled). Alternatively you can use the QT_AUTO_SCREEN_SCALE_FACTOR=0 environment variable. +Disable high dpi scaling. Call this option if has problem with scaling (by default scaling enabled). Alternatively you can use the QT_AUTO_SCREEN_SCALE_FACTOR=0 environment variable. .IP Arguments: .I filename \- the manual layout file. .SH AUTHOR .RI "This manual page was written by Roman Telezhynskyi <" dismine@gmail.com ">" -.SH "SEE ALSO" -.RB "Full " "User Manual" " is availiable in" -.UR https://bitbucket.org/dismine/valentina/wiki/manual/Content -.UE .BR valentina (1) diff --git a/dist/debian/source/include-binaries b/dist/debian/source/include-binaries index 5f9e9000a..92ff0082c 100644 --- a/dist/debian/source/include-binaries +++ b/dist/debian/source/include-binaries @@ -1,10 +1,13 @@ debian/usr/share/pixmaps/valentina.png debian/usr/share/pixmaps/tape.png +debian/usr/share/pixmaps/puzzle.png debian/usr/share/pixmaps/application-x-valentina-pattern.png debian/usr/share/pixmaps/application-x-valentina-i-measurements.png debian/usr/share/pixmaps/application-x-valentina-s-measurements.png +debian/usr/share/pixmaps/application-x-valentina-layout.png debian/valentina/usr/bin/valentina debian/valentina/usr/bin/tape +debian/valentina/usr/bin/puzzle debian/valentina/usr/share/valentina/diagrams.rcc debian/valentina/usr/share/valentina/translations/measurements_p0_cs_CZ.qm debian/valentina/usr/share/valentina/translations/measurements_p0_de_DE.qm diff --git a/dist/debian/valentina.manpages b/dist/debian/valentina.manpages index e2540884d..ca51f67c3 100644 --- a/dist/debian/valentina.manpages +++ b/dist/debian/valentina.manpages @@ -1,2 +1,3 @@ debian/valentina.1 debian/tape.1 +debian/puzzle.1 diff --git a/dist/debian/valentina.mime b/dist/debian/valentina.mime index 94de3debe..b863ec357 100644 --- a/dist/debian/valentina.mime +++ b/dist/debian/valentina.mime @@ -1,3 +1,4 @@ application/x-valentina-pattern; valentina %s; nametemplate=%s.val; description="Valentina pattern" edit=valentina '%s'; priority=6 application/x-valentina-i-pattern; tape %s; nametemplate=%s.vit; description="Valentina individual measurments" edit=tape '%s'; priority=6 application/x-valentina-s-pattern; tape %s; nametemplate=%s.vst; description="Valentina standard measurments" edit=tape '%s'; priority=6 +application/x-valentina-layout; puzzle %s; nametemplate=%s.vlt; description="Valentina layout" edit=puzzle '%s'; priority=6 diff --git a/dist/debian/valentina.sharedmimeinfo b/dist/debian/valentina.sharedmimeinfo index 41bb06377..ac60d8b05 100644 --- a/dist/debian/valentina.sharedmimeinfo +++ b/dist/debian/valentina.sharedmimeinfo @@ -282,4 +282,98 @@ + + + <_comment>Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina раскладка + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina розкладка + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + Valentina layout + + + diff --git a/dist/ebuild/valentina-0.0.0_alpha(template_unstable).ebuild b/dist/ebuild/valentina-0.0.0_alpha(template_unstable).ebuild index e1721b09e..b5e2e5047 100644 --- a/dist/ebuild/valentina-0.0.0_alpha(template_unstable).ebuild +++ b/dist/ebuild/valentina-0.0.0_alpha(template_unstable).ebuild @@ -59,6 +59,7 @@ src_install() { doman dist/debian/${PN}.1 doman dist/debian/tape.1 + doman dist/debian/puzzle.1 cp dist/debian/valentina.sharedmimeinfo dist/debian/${PN}.xml || die insinto /usr/share/mime/packages diff --git a/dist/macx/layout.icns b/dist/macx/layout.icns new file mode 100644 index 000000000..831979454 Binary files /dev/null and b/dist/macx/layout.icns differ diff --git a/dist/macx/puzzle/Info.plist b/dist/macx/puzzle/Info.plist index 5eaa2370b..b68500345 100755 --- a/dist/macx/puzzle/Info.plist +++ b/dist/macx/puzzle/Info.plist @@ -9,9 +9,9 @@ CFBundlePackageType APPL LSMinimumSystemVersion - 10.6 + 10.7 NSHumanReadableCopyright - © 2013-2020, Valentina project + © 2013-2021, Valentina project CFBundleSignature @TYPEINFO@ CFBundleExecutable @@ -19,11 +19,53 @@ CFBundleIdentifier io.bitbucket.valentinaproject.@EXECUTABLE@ CFBundleShortVersionString - 0.7.0 + 0.7.47 CFBundleVersion - 0.7.0.0 + 0.7.47.0 CFBundleInfoDictionaryVersion 6.0 + CFBundleDocumentTypes + + + CFBundleTypeRole + Editor + CFBundleTypeIconFile + layout.incs + LSItemContentTypes + + io.bitbucket.valentinaproject.vlt + + CFBundleTypeName + Valentina layout + LSHandlerRank + Owner + + + UTExportedTypeDeclarations + + + UTTypeConformsTo + + public.text + public.xml + + UTTypeDescription + Valentina layout + UTTypeIconFile + layout.icns + UTTypeIdentifier + io.bitbucket.valentinaproject.vlt + UTTypeTagSpecification + + public.filename-extension + + vlt + + public.mime-type + text/xml + + + NSRequiresAquaSystemAppearance diff --git a/dist/puzzle.desktop b/dist/puzzle.desktop new file mode 100644 index 000000000..b166d63fe --- /dev/null +++ b/dist/puzzle.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Type=Application +Name=Puzzle +Exec=puzzle %F +Version=1.0 +GenericName=Valentina's layout editor +Comment=Create and edit layouts +Comment[uk]=Створюйте і редагуйте розкладки +Comment[ru]=Создавайте и редактируйте раскладку +Icon=puzzle +Terminal=false +MimeType=application/x-valentina-layout; +Categories=Qt;Utility;FileTools; +TryExec=puzzle diff --git a/dist/rpm/valentina.spec b/dist/rpm/valentina.spec index 328c78c10..f5cdb0b93 100644 --- a/dist/rpm/valentina.spec +++ b/dist/rpm/valentina.spec @@ -151,6 +151,9 @@ gzip -9c dist/debian/%{name}.1 > dist/debian/%{name}.1.gz && gzip -9c dist/debian/tape.1 > dist/debian/tape.1.gz && %{__install} -Dm 644 dist/debian/tape.1.gz %{buildroot}%{_mandir}/man1/tape.1.gz +gzip -9c dist/debian/puzzle.1 > dist/debian/puzzle.1.gz && +%{__install} -Dm 644 dist/debian/puzzle.1.gz %{buildroot}%{_mandir}/man1/puzzle.1.gz + cp dist/debian/valentina.sharedmimeinfo dist/debian/%{name}.xml && %{__install} -Dm 644 dist/debian/%{name}.xml %{buildroot}%{_datadir}/mime/packages/%{name}.xml @@ -160,6 +163,7 @@ cp dist/debian/valentina.mime dist/debian/%{name} && %if 0%{?suse_version} > 0 %suse_update_desktop_file -r %{name} Graphics VectorGraphics 2DGraphics %suse_update_desktop_file -r tape Utility Applet +%suse_update_desktop_file -r puzzle Utility Applet %endif %post @@ -194,8 +198,10 @@ fi %license LICENSE_GPL.txt %doc %{_mandir}/man1/%{name}.1* %doc %{_mandir}/man1/tape.1* +%doc %{_mandir}/man1/puzzle.1* %{_bindir}/valentina %{_bindir}/tape +%{_bindir}/puzzle %{_libdir}/libvpropertyexplorer.so %{_libdir}/libvpropertyexplorer.so.* %{_libdir}/libqmuparser.so @@ -208,6 +214,7 @@ fi %{_datadir}/mime/packages/%{name}.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/tape.desktop +%{_datadir}/applications/puzzle.desktop %dir %{_datadir}/icons/ %dir %{_datadir}/icons/hicolor/ @@ -242,7 +249,7 @@ fi %{_datadir}/%{name}/labels/*.xml %clean -rm -f dist/debian/%{name}.1.gz dist/debian/tape.1.gz dist/debian/%{name}.xml dist/debian/%{name} +rm -f dist/debian/%{name}.1.gz dist/debian/tape.1.gz dist/debian/puzzle.1.gz dist/debian/%{name}.xml dist/debian/%{name} [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} diff --git a/dist/win/inno/valentina.iss b/dist/win/inno/valentina.iss index 518b888b3..3340818cc 100644 --- a/dist/win/inno/valentina.iss +++ b/dist/win/inno/valentina.iss @@ -86,6 +86,7 @@ Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescrip Name: "fileassoc1"; Description: "{cm:CreateFileAssocVal}"; GroupDescription: "{cm:FileAssoc}" Name: "fileassoc2"; Description: "{cm:CreateFileAssocVit}"; GroupDescription: "{cm:FileAssoc}" Name: "fileassoc3"; Description: "{cm:CreateFileAssocVst}"; GroupDescription: "{cm:FileAssoc}" +Name: "fileassoc4"; Description: "{cm:CreateFileAssocVlt}"; GroupDescription: "{cm:FileAssoc}" Name: "deletesettings"; Description: "{cm:RemoveAnyExistingSettings}"; GroupDescription: "{cm:ManageSettings}"; Flags: unchecked [Types] @@ -161,6 +162,7 @@ Name: "lang_files\chinese"; Description: "Chinese (China)"; Types: full custom; ; Signing Source: ".\valentina\valentina.exe"; DestDir: "{app}"; Flags: ignoreversion sign Source: ".\valentina\tape.exe"; DestDir: "{app}"; Flags: ignoreversion sign +Source: ".\valentina\puzzle.exe"; DestDir: "{app}"; Flags: ignoreversion sign Source: ".\valentina\vpropertyexplorer.dll"; DestDir: "{app}"; Flags: ignoreversion sign Source: ".\valentina\qmuparser2.dll"; DestDir: "{app}"; Flags: ignoreversion sign ; Localizations @@ -249,6 +251,7 @@ Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChang Root: "HKCR"; Subkey: ".val"; ValueType: string; ValueName: ""; ValueData: "Valentina.Pattern"; Flags: uninsdeletevalue; Tasks: fileassoc1 Root: "HKCR"; Subkey: ".vit"; ValueType: string; ValueName: ""; ValueData: "Valentina.IndividualMeasurements"; Flags: uninsdeletevalue; Tasks: fileassoc2 Root: "HKCR"; Subkey: ".vst"; ValueType: string; ValueName: ""; ValueData: "Valentina.StandardMeasurements"; Flags: uninsdeletevalue; Tasks: fileassoc3 +Root: "HKCR"; Subkey: ".vlt"; ValueType: string; ValueName: ""; ValueData: "Valentina.Layout"; Flags: uninsdeletevalue; Tasks: fileassoc3 Root: "HKCR"; Subkey: "Valentina.Pattern"; ValueType: string; ValueData: "Valentina pattern file"; Flags: uninsdeletekey; Tasks: fileassoc1 Root: "HKCR"; Subkey: "Valentina.Pattern\DefaultIcon"; ValueType: string; ValueData: "{app}\pattern.ico,0"; Tasks: fileassoc1 @@ -262,6 +265,10 @@ Root: "HKCR"; Subkey: "Valentina.StandardMeasurements"; ValueType: string; Value Root: "HKCR"; Subkey: "Valentina.StandardMeasurements\DefaultIcon"; ValueType: string; ValueData: "{app}\s-measurements.ico,0"; Tasks: fileassoc3 Root: "HKCR"; Subkey: "Valentina.StandardMeasurements\shell\open\command"; ValueType: string; ValueData: """{app}\tape.exe"" ""%1"""; Tasks: fileassoc3 +Root: "HKCR"; Subkey: "Valentina.Layout"; ValueType: string; ValueData: "Valentina layout file"; Flags: uninsdeletekey; Tasks: fileassoc1 +Root: "HKCR"; Subkey: "Valentina.Layout\DefaultIcon"; ValueType: string; ValueData: "{app}\layout.ico,0"; Tasks: fileassoc1 +Root: "HKCR"; Subkey: "Valentina.Layout\shell\open\command"; ValueType: string; ValueData: """{app}\puzzle.exe"" ""%1"""; Tasks: fileassoc1 + [CustomMessages] FileAssoc = Create file associations english.FileAssoc = Create file associations @@ -287,6 +294,12 @@ russian.CreateFileAssocVst = *.vst (Мультиразмерный файл ме ukrainian.CreateFileAssocVst = *.vst (Мультирозмірний файл мірок) german.CreateFileAssocVst = *.vst (Multi-Size Maßdatei) +CreateFileAssocVlt = *.vlt (Layout file) +english.CreateFileAssocVlt = *.vlt (Layout file) +russian.CreateFileAssocVlt = *.vlt (Файл раскладки) +ukrainian.CreateFileAssocVlt = *.vlt (Файл роскладки) +german.CreateFileAssocVlt = *.vlt (Layoutdatei) + WarnRemoveOld = is installed at the moment. Remove old version? english.WarnRemoveOld = is installed at the moment. Remove old version? russian.WarnRemoveOld = установлена на данный момент. Удалить старую версию? diff --git a/dist/win/layout.ico b/dist/win/layout.ico new file mode 100644 index 000000000..3888c30e0 Binary files /dev/null and b/dist/win/layout.ico differ diff --git a/share/icons/128x128/apps/puzzle.png b/share/icons/128x128/apps/puzzle.png new file mode 100644 index 000000000..f28c66ef4 Binary files /dev/null and b/share/icons/128x128/apps/puzzle.png differ diff --git a/share/icons/128x128/mimetypes/application-x-valentina-layout.png b/share/icons/128x128/mimetypes/application-x-valentina-layout.png new file mode 100644 index 000000000..e424b5bb4 Binary files /dev/null and b/share/icons/128x128/mimetypes/application-x-valentina-layout.png differ diff --git a/share/icons/256x256/apps/puzzle.png b/share/icons/256x256/apps/puzzle.png new file mode 100644 index 000000000..d8b12f68b Binary files /dev/null and b/share/icons/256x256/apps/puzzle.png differ diff --git a/share/icons/256x256/mimetypes/application-x-valentina-layout.png b/share/icons/256x256/mimetypes/application-x-valentina-layout.png new file mode 100644 index 000000000..c71a5c413 Binary files /dev/null and b/share/icons/256x256/mimetypes/application-x-valentina-layout.png differ diff --git a/share/icons/48x48/apps/puzzle.png b/share/icons/48x48/apps/puzzle.png new file mode 100644 index 000000000..fe729270a Binary files /dev/null and b/share/icons/48x48/apps/puzzle.png differ diff --git a/share/icons/48x48/mimetypes/application-x-valentina-layout.png b/share/icons/48x48/mimetypes/application-x-valentina-layout.png new file mode 100644 index 000000000..d85f939c2 Binary files /dev/null and b/share/icons/48x48/mimetypes/application-x-valentina-layout.png differ diff --git a/share/icons/512x512/apps/puzzle.png b/share/icons/512x512/apps/puzzle.png new file mode 100644 index 000000000..03c919de0 Binary files /dev/null and b/share/icons/512x512/apps/puzzle.png differ diff --git a/share/icons/512x512/mimetypes/application-x-valentina-layout.png b/share/icons/512x512/mimetypes/application-x-valentina-layout.png new file mode 100644 index 000000000..9f370f115 Binary files /dev/null and b/share/icons/512x512/mimetypes/application-x-valentina-layout.png differ diff --git a/share/icons/64x64/apps/puzzle.png b/share/icons/64x64/apps/puzzle.png new file mode 100644 index 000000000..ea9aa050e Binary files /dev/null and b/share/icons/64x64/apps/puzzle.png differ diff --git a/share/icons/64x64/mimetypes/application-x-valentina-layout.png b/share/icons/64x64/mimetypes/application-x-valentina-layout.png new file mode 100644 index 000000000..2b37af605 Binary files /dev/null and b/share/icons/64x64/mimetypes/application-x-valentina-layout.png differ diff --git a/share/translations/translations.pro b/share/translations/translations.pro index 2a161330b..c343e6691 100644 --- a/share/translations/translations.pro +++ b/share/translations/translations.pro @@ -10,6 +10,7 @@ TEMPLATE = app DEPENDPATH += \ ../../src/app/valentina \ ../../src/app/tape \ + ../../src/app/puzzle \ ../../src/libs/qmuparser \ ../../src/libs/vpropertyexplorer \ ../../src/libs/ifc \ @@ -25,6 +26,7 @@ DEPENDPATH += \ include(../../src/app/valentina/valentina.pri) include(../../src/app/tape/tape.pri) +include(../../src/app/puzzle/puzzle.pri) include(../../src/libs/qmuparser/qmuparser.pri) include(../../src/libs/vpropertyexplorer/vpropertyexplorer.pri) include(../../src/libs/ifc/ifc.pri) diff --git a/share/translations/valentina.ts b/share/translations/valentina.ts index 36d73c707..ecd9811e8 100644 --- a/share/translations/valentina.ts +++ b/share/translations/valentina.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4893,6 +4901,10 @@ Apply settings anyway? yyyy-MM-dd yyyy-MM-dd + + Passmark length: + + DialogPatternXmlEdit @@ -6090,6 +6102,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6117,6 +6145,28 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Configuration + + + Paths + Paths + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -8478,7 +8528,7 @@ Do you want to save your changes? This file already opened in another window. - This file already opened in another window. + This file already opened in another window. Wrong units. @@ -8931,27 +8981,27 @@ Do you want to save your changes? Locking file - Locking file + Locking file This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. - The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. Unknown error happened, for instance a full partition prevented writing out the lock file. - Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. Report Bug... @@ -9109,18 +9159,6 @@ Do you want to save your changes? Select main path objects clockwise. - - The document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -9537,10 +9575,6 @@ Do you want to save your changes? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -9589,6 +9623,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10337,6 +10375,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + Export options can be used with single input file only. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Form + + + Language + Language + + + GUI language: + GUI language: + + + Toolbar + Toolbar + + + The text appears under the icon (recommended for beginners). + The text appears under the icon (recommended for beginners). + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + Form + + + Paths that Valentina uses + + + + Type + Type + + + Path + Path + + + Default + Default + + + Edit + Edit + + + Open Directory + Open Directory + + + My Individual Measurements + + + + My Multisize Measurements + + + + My Patterns + + + + My Templates + + + + My Layouts + + + QApplication @@ -10750,6 +10893,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11358,7 +11513,7 @@ This option will take an affect after restart. untitled - untitled + untitled <Empty> @@ -11595,27 +11750,27 @@ Do you want to save your changes? Locking file - Locking file + Locking file This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. - The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. Unknown error happened, for instance a full partition prevented writing out the lock file. - Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. Export to CSV @@ -11661,18 +11816,6 @@ Do you want to save your changes? All files All files - - The measurements document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -11801,10 +11944,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -12822,6 +12961,10 @@ Do you want to save your changes? My Patterns + + My Layouts + + ToggleDetailInLayout @@ -13187,6 +13330,50 @@ Do you want to save your changes? Export to CSV Export to CSV + + The measurements document has no write permissions. + + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + + + + Locking file + Locking file + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + This file already opened in another window. + This file already opened in another window. + + + The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. + VAbstractNode @@ -13968,6 +14155,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -14277,6 +14492,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 Creating file '%1' failed! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14455,6 +14682,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + Error parsing file. Program will be terminated. + + + Error bad id. Program will be terminated. + Error bad id. Program will be terminated. + + + Error can't convert value. Program will be terminated. + Error can't convert value. Program will be terminated. + + + Error empty parameter. Program will be terminated. + Error empty parameter. Program will be terminated. + + + Error wrong id. Program will be terminated. + Error wrong id. Program will be terminated. + + + Something's wrong!! + Something's wrong!! + + + Exception thrown: %1. Program will be terminated. + Exception thrown: %1. Program will be terminated. + + + Can't begin to listen for incoming connections on name '%1' + Can't begin to listen for incoming connections on name '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Please, provide one input file. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Delete + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Build revision: + + + This program is part of Valentina project. + This program is part of Valentina project. + + + Check For Updates + Check For Updates + + + Cannot open your default browser + Cannot open your default browser + + + Build revision: %1 + Build revision: %1 + + + Built on %1 at %2 + Built on %1 at %2 + + + Web site : %1 + Web site : %1 + + VPE::VBoolProperty @@ -14477,6 +14812,573 @@ Do you want to save your changes? Open File + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &File + + + &Edit + + + + &Window + + + + &Help + &Help + + + Menu + Menu + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Name: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Rotation + + + Angle: + Angle: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Width + + + Length + Length + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + Right: + + + Top: + Top: + + + Left: + Left: + + + Bottom: + Bottom: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Export + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Layout + + + Name + Name + + + Description + Description + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Open + + + Ctrl+O + + + + &Save + &Save + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + E&xit + + + Ctrl+Q + + + + &New + &New + + + Ctrl+N + + + + About &Qt + About &Qt + + + About &Puzzle + + + + Zoom in + Zoom in + + + Zoom out + Zoom out + + + Zoom 1:1 + + + + Zoom fit best + Zoom fit best + + + Zoom sheet + + + + Preferences + Preferences + + + File '%1' doesn't exist! + File '%1' doesn't exist! + + + File error. + File error. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centimeters + + + Millimiters + Millimiters + + + Inches + Inches + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + &New Window + + + Layout files + + + + Open file + Open file + + + Could not save the file + + + + layout + + + + Save as + Save as + + + Failed to lock. This file already opened in another window. + Failed to lock. This file already opened in another window. + + + Could not save file + Could not save file + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + Raw Layout files + + + + About Qt + About Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Letter + + + Legal + Legal + + + Tabloid + + + + Roll 24in + Roll 24in + + + Roll 30in + Roll 30in + + + Roll 36in + Roll 36in + + + Roll 42in + Roll 42in + + + Roll 44in + Roll 44in + + + Roll 48in + Roll 44in {48i?} + + + Roll 62in + Roll 44in {62i?} + + + Roll 72in + Roll 44in {72i?} + + + Custom + Custom + + + + VPTileFactory + + Grid ( %1 , %2 ) + + + + Page %1 of %2 + + + VPattern @@ -14765,6 +15667,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -15016,6 +15922,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Length + + + Angle + Angle + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCut @@ -15898,6 +16824,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_cs_CZ.ts b/share/translations/valentina_cs_CZ.ts index 2a6506318..cdc14f842 100644 --- a/share/translations/valentina_cs_CZ.ts +++ b/share/translations/valentina_cs_CZ.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4931,6 +4939,10 @@ Přesto použít nastavení? yyyy-MM-dd rrrr mm dd + + Passmark length: + + DialogPatternXmlEdit @@ -6116,6 +6128,22 @@ Přesto použít nastavení? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6144,6 +6172,29 @@ Přesto použít nastavení? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Nastavení + + + Paths + Cesty + + + Followed %n option(s) require restart to take effect: %1. + + + + + + + DialogRestrictDimension @@ -8354,7 +8405,7 @@ Chcete uložit své změny? This file already opened in another window. - Tento soubor je již otevřen v jiném okně. + Tento soubor je již otevřen v jiném okně. Wrong units. @@ -8807,27 +8858,27 @@ Chcete uložit své změny? Locking file - Uzamyká se soubor + Uzamyká se soubor This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Tento soubor je již otevřen v jiném okně. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). + Tento soubor je již otevřen v jiném okně. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Soubor se zámkem se nepodařilo vytvořit kvůli nedostatku oprávnění. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). + Soubor se zámkem se nepodařilo vytvořit kvůli nedostatku oprávnění. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Vyskytla se neznámá chyba. Například plný disk zabránil tomu, aby byl soubor se zámkem zapsán. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). + Vyskytla se neznámá chyba. Například plný disk zabránil tomu, aby byl soubor se zámkem zapsán. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). The lock file could not be created, for lack of permissions. - Soubor se zámkem se nepodařilo vytvořit kvůli nedostatku oprávnění. + Soubor se zámkem se nepodařilo vytvořit kvůli nedostatku oprávnění. Unknown error happened, for instance a full partition prevented writing out the lock file. - Vyskytla se neznámá chyba. Například plný disk zabránil tomu, aby byl soubor se zámkem zapsán. + Vyskytla se neznámá chyba. Například plný disk zabránil tomu, aby byl soubor se zámkem zapsán. Report Bug... @@ -8987,15 +9038,15 @@ Chcete uložit své změny? The document has no write permissions. - Dokument nemá žádná oprávnění k zápisu. + Dokument nemá žádná oprávnění k zápisu. Cannot set permissions for %1 to writable. - Nelze nastavit oprávnění pro %1 na zapisovatelný. + Nelze nastavit oprávnění pro %1 na zapisovatelný. Could not save the file. - Nepodařilo se uložit soubor. + Nepodařilo se uložit soubor. Could not save the file @@ -9419,7 +9470,7 @@ Chcete uložit své změny? Do you want to change the premissions? - Chcete změnit oprávnění? + Chcete změnit oprávnění? Unable to prepare raw layout data. @@ -9469,6 +9520,10 @@ Chcete uložit své změny? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10206,6 +10261,111 @@ Tato volba se projeví po opětovném spuštění. Vykreslení scény + + Puzzle + + Export options can be used with single input file only. + Volby pro vyvedení lze použít jen s jedním vstupním souborem. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Formulář + + + Language + Jazyk + + + GUI language: + Jazyk rozhraní: + + + Toolbar + Nástrojový panel + + + The text appears under the icon (recommended for beginners). + Text se ukáže pod symbolem (doporučeno pro začátečníky). + + + User Interface + Uživatelské rozhraní + + + Activate dark mode + Zapnout tmavý vzhled + + + Don't use the native file dialog + + + + dark mode + Tmavý vzhled + + + + PuzzlePreferencesPathPage + + Form + Formulář + + + Paths that Valentina uses + Cesty, které používá Valentina + + + Type + Typ + + + Path + Cesta + + + Default + Výchozí + + + Edit + Upravit + + + Open Directory + Otevřít adresář + + + My Individual Measurements + Moje individuální rozměry + + + My Multisize Measurements + Moje vícevelikostní rozměry + + + My Patterns + Moje střihy + + + My Templates + Moje předlohy + + + My Layouts + Moje rozvržení + + QApplication @@ -10619,6 +10779,18 @@ Tato volba se projeví po opětovném spuštění. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11212,7 +11384,7 @@ Tato volba se projeví po opětovném spuštění. untitled - bez názvu + bez názvu <Empty> @@ -11449,27 +11621,27 @@ Chcete uložit změny? Locking file - Uzamyká se soubor + Uzamyká se soubor This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Tento soubor je již otevřen v jiném okně. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). + Tento soubor je již otevřen v jiném okně. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Soubor se zámkem se nepodařilo vytvořit kvůli nedostatku oprávnění. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). + Soubor se zámkem se nepodařilo vytvořit kvůli nedostatku oprávnění. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Vyskytla se neznámá chyba. Například plný disk zabránil tomu, aby byl soubor se zámkem zapsán. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). + Vyskytla se neznámá chyba. Například plný disk zabránil tomu, aby byl soubor se zámkem zapsán. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). The lock file could not be created, for lack of permissions. - Soubor se zámkem se nepodařilo vytvořit kvůli nedostatku oprávnění. + Soubor se zámkem se nepodařilo vytvořit kvůli nedostatku oprávnění. Unknown error happened, for instance a full partition prevented writing out the lock file. - Vyskytla se neznámá chyba. Například plný disk zabránil tomu, aby byl soubor se zámkem zapsán. + Vyskytla se neznámá chyba. Například plný disk zabránil tomu, aby byl soubor se zámkem zapsán. Export to CSV @@ -11517,15 +11689,15 @@ Chcete uložit změny? The measurements document has no write permissions. - Dokument s rozměry nemá žádná oprávnění k zápisu. + Dokument s rozměry nemá žádná oprávnění k zápisu. Cannot set permissions for %1 to writable. - Nelze nastavit oprávnění pro %1 na zapisovatelný. + Nelze nastavit oprávnění pro %1 na zapisovatelný. Could not save the file. - Nepodařilo se uložit soubor. + Nepodařilo se uložit soubor. Could not save the file @@ -11669,7 +11841,7 @@ Chcete uložit změny? Do you want to change the premissions? - Chcete změnit oprávnění? + Chcete změnit oprávnění? Cannot read settings from a malformed .INI file. @@ -12629,6 +12801,10 @@ Chcete uložit změny? My Patterns Moje střihy + + My Layouts + Moje rozvržení + ToggleDetailInLayout @@ -12915,6 +13091,50 @@ Chcete uložit změny? Export to CSV Vyvést do CSV + + The measurements document has no write permissions. + Dokument s rozměry nemá žádná oprávnění k zápisu. + + + Do you want to change the premissions? + Chcete změnit oprávnění? + + + Cannot set permissions for %1 to writable. + Nelze nastavit oprávnění pro %1 na zapisovatelný. + + + Could not save the file. + Nepodařilo se uložit soubor. + + + Locking file + Uzamyká se soubor + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + Tento soubor je již otevřen v jiném okně. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + Soubor se zámkem se nepodařilo vytvořit kvůli nedostatku oprávnění. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Vyskytla se neznámá chyba. Například plný disk zabránil tomu, aby byl soubor se zámkem zapsán. Nevšímejte si této zprávy, pokud chcete pokračovat (nedoporučuje se, může vést k poškození dat). + + + This file already opened in another window. + Tento soubor je již otevřen v jiném okně. + + + The lock file could not be created, for lack of permissions. + Soubor se zámkem se nepodařilo vytvořit kvůli nedostatku oprávnění. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Vyskytla se neznámá chyba. Například plný disk zabránil tomu, aby byl soubor se zámkem zapsán. + VAbstractNode @@ -13704,6 +13924,34 @@ Chcete uložit změny? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -14006,6 +14254,18 @@ Chcete uložit změny? Creating file '%1' failed! %2 Vytvoření souboru '%1' se nezdařilo! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14180,6 +14440,114 @@ Chcete uložit změny? Značka okénko + + VPApplication + + Error parsing file. Program will be terminated. + Chyba při zpracování souboru. Program bude ukončen. + + + Error bad id. Program will be terminated. + Chyba. Špatný identifikátor. Program bude ukončen. + + + Error can't convert value. Program will be terminated. + Chyba. Nelze převést hodnotu. Program bude ukončen. + + + Error empty parameter. Program will be terminated. + Chyba. Prázdný parametr. Program bude ukončen. + + + Error wrong id. Program will be terminated. + Chyba. Špatný identifikátor. Program bude ukončen. + + + Something's wrong!! + Něco je špatně! + + + Exception thrown: %1. Program will be terminated. + Způsobena chyba: %1. Program bude ukončen. + + + Can't begin to listen for incoming connections on name '%1' + Nelze začít naslouchat příchozímu spojení '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Poskytněte, prosím, jeden vstupní soubor. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Smazat + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Revize sestavení: + + + This program is part of Valentina project. + Tento program je částí projektu Valentina. + + + Check For Updates + Zkontrolovat aktualizace + + + Cannot open your default browser + Nelze otevřít váš výchozí prohlížeč + + + Build revision: %1 + Revize sestavení: %1 + + + Built on %1 at %2 + Sestaveno %1 v %2 + + + Web site : %1 + Stránky: %1 + + VPE::VBoolProperty @@ -14202,6 +14570,573 @@ Chcete uložit změny? Otevřít soubor + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Soubor + + + &Edit + + + + &Window + &Okno + + + &Help + &Nápověda + + + Menu + Nabídka + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Název: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Otáčení + + + Angle: + Úhel: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Šířka + + + Length + Délka + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + Okraje + + + Right: + Pravý: + + + Top: + Nahoře: + + + Left: + Levý: + + + Bottom: + Dole: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + Nastavení + + + Follow grainline + Následovat dráhu nitě + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Vyvést + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Rozvržení + + + Name + Název + + + Description + Popis + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + Měřítko + + + &Open + &Otevřít + + + Ctrl+O + Ctrl+O + + + &Save + &Uložit + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + &Ukončit + + + Ctrl+Q + + + + &New + &Nový + + + Ctrl+N + + + + About &Qt + O &Qt + + + About &Puzzle + + + + Zoom in + Přiblížit + + + Zoom out + Oddálit + + + Zoom 1:1 + + + + Zoom fit best + Přizpůsobit velikost oknu aplikace + + + Zoom sheet + + + + Preferences + Nastavení + + + File '%1' doesn't exist! + Soubor '%1' není! + + + File error. + Chyba souboru. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centimetry + + + Millimiters + Milimetry + + + Inches + Palce + + + Scale: + Měřítko: + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + Pouze pro čtení + + + Cannot read settings from a malformed .INI file. + Nelze číst nastavení z poškozeného souboru .INI. + + + Cannot save settings. Access denied. + Nelze uložit nastavení. Přístup odepřen. + + + Failed to open file, is it writable? + + + + &New Window + &Nové okno + + + Layout files + + + + Open file + Otevřít soubor + + + Could not save the file + Nepodařilo se uložit soubor + + + layout + + + + Save as + Uložit jako + + + Failed to lock. This file already opened in another window. + Nepodařilo se uzamknout. Tento soubor je již otevřen v jiném okně. + + + Could not save file + Nepodařilo se uložit soubor + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Nepodařilo se uzamknout. Tento soubor je již otevřen v jiném okně. Při zdvojeném vykonávání (dvě kopie programu) může dojít ke střetům. + + + Raw Layout files + + + + About Qt + O Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Dopis + + + Legal + Legal + + + Tabloid + + + + Roll 24in + Role 24 palců + + + Roll 30in + Role 30 palců + + + Roll 36in + Role 36 palců + + + Roll 42in + Role 42 palců + + + Roll 44in + Role 44 palců + + + Roll 48in + Role 48 palců + + + Roll 62in + Role 62 palců + + + Roll 72in + Role 72 palců + + + Custom + Vlastní + + + + VPTileFactory + + Grid ( %1 , %2 ) + Mřížka ( %1 , %2 ) + + + Page %1 of %2 + Strana %1 z %2 + + VPattern @@ -14490,6 +15425,10 @@ Chcete uložit změny? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14752,6 +15691,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° Chyba při výpočtu bodu '%1'. Není tu žádný průsečík s křivkou '%2' a osou skrze bod '%3' s úhlem %4° + + Length + Délka + + + Angle + Úhel + + + Label + Popis + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15627,6 +16586,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection Chyba při výpočtu bodu '%1'. Křivky '%2' a '%3' nemají žádný průsečík + + Label + Popis + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_de_DE.ts b/share/translations/valentina_de_DE.ts index ac8bb5fc8..3b6cdd53a 100644 --- a/share/translations/valentina_de_DE.ts +++ b/share/translations/valentina_de_DE.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4930,6 +4938,10 @@ Einstellungen trotzdem anwenden? yyyy-MM-dd yyyy-MM-dd + + Passmark length: + + DialogPatternXmlEdit @@ -6115,6 +6127,22 @@ Einstellungen trotzdem anwenden? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6142,6 +6170,28 @@ Einstellungen trotzdem anwenden? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + + + + Paths + + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -8351,7 +8401,7 @@ Sollen die Änderungen gespeichert werden? This file already opened in another window. - Diese Datei ist bereits geöffnet. + Diese Datei ist bereits geöffnet. Wrong units. @@ -8804,27 +8854,27 @@ Sollen die Änderungen gespeichert werden? Locking file - Datei wird gesperrt + Datei wird gesperrt This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Diese Datei ist bereits in einem anderen Fenster geöffnet. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). + Diese Datei ist bereits in einem anderen Fenster geöffnet. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - DIe Sperrdatei konnte aufgrund fehlender Berechtigungen nicht erstellt werden. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverust führen). + DIe Sperrdatei konnte aufgrund fehlender Berechtigungen nicht erstellt werden. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverust führen). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Ein unbekannter Fehler ist aufgetreten, zum Beispiel hat eine volle Festplatten-Partition verhindert, dass die Sperrdatei geschrieben werden konnte. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). + Ein unbekannter Fehler ist aufgetreten, zum Beispiel hat eine volle Festplatten-Partition verhindert, dass die Sperrdatei geschrieben werden konnte. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). The lock file could not be created, for lack of permissions. - Die Sperrdatei konnte aufgrund fehlender Berechtigungen nicht erstellt werden. + Die Sperrdatei konnte aufgrund fehlender Berechtigungen nicht erstellt werden. Unknown error happened, for instance a full partition prevented writing out the lock file. - Ein unbekannter Fehler ist aufgetreten, zum Beispiel hat eine volle Festplatten-Partition verhindert, dass die Sperrdatei geschrieben werden konnte. + Ein unbekannter Fehler ist aufgetreten, zum Beispiel hat eine volle Festplatten-Partition verhindert, dass die Sperrdatei geschrieben werden konnte. Report Bug... @@ -8984,15 +9034,15 @@ Sollen die Änderungen gespeichert werden? The document has no write permissions. - Dokument hat keine Schreibrechte. + Dokument hat keine Schreibrechte. Cannot set permissions for %1 to writable. - Berechtigungen für %1 können nicht auf beschreibbar gesetzt werden. + Berechtigungen für %1 können nicht auf beschreibbar gesetzt werden. Could not save the file. - Datei konnte nicht gespeichert werden. + Datei konnte nicht gespeichert werden. Could not save the file @@ -9416,7 +9466,7 @@ Sollen die Änderungen gespeichert werden? Do you want to change the premissions? - Wollen Sie die Berechtigung ändern ? + Wollen Sie die Berechtigung ändern ? Unable to prepare raw layout data. @@ -9466,6 +9516,10 @@ Sollen die Änderungen gespeichert werden? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10203,6 +10257,111 @@ Diese Option wird nach einem Neustart aktiv. Szene berechnen + + Puzzle + + Export options can be used with single input file only. + Exportoptionen können nur mit einer Eingabedatei verwendet werden. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Form + + + Language + Sprache + + + GUI language: + Sprache der Benutzeroberfläche: + + + Toolbar + + + + The text appears under the icon (recommended for beginners). + + + + User Interface + Benutzeroberfläche + + + Activate dark mode + Dunklen Hintergrund aktivieren + + + Don't use the native file dialog + + + + dark mode + Dunkler Hintergrund + + + + PuzzlePreferencesPathPage + + Form + Form + + + Paths that Valentina uses + Pfade die Valentina benutzt + + + Type + Typ + + + Path + + + + Default + Standard + + + Edit + Bearbeiten + + + Open Directory + + + + My Individual Measurements + Meine Persönlichen Maße + + + My Multisize Measurements + Meine MultiMaß Masse + + + My Patterns + Meine Schnittmuster + + + My Templates + meine Vorlagen + + + My Layouts + Meine Layouts + + QApplication @@ -10616,6 +10775,18 @@ Diese Option wird nach einem Neustart aktiv. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11209,7 +11380,7 @@ Diese Option wird nach einem Neustart aktiv. untitled - ohne Titel + ohne Titel <Empty> @@ -11445,27 +11616,27 @@ Do you want to save your changes? Locking file - Datei wird gesperrt + Datei wird gesperrt This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Diese Datei ist bereits in einem anderen Fenster geöffnet. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). + Diese Datei ist bereits in einem anderen Fenster geöffnet. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - DIe Sperrdatei konnte aufgrund fehlender Berechtigungen nicht erstellt werden. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). + DIe Sperrdatei konnte aufgrund fehlender Berechtigungen nicht erstellt werden. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Ein unbekannter Fehler ist aufgetreten, zum Beispiel hat eine volle Festplattenpartition verhindert, dass die Sperrdatei geschrieben werden konnte. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). + Ein unbekannter Fehler ist aufgetreten, zum Beispiel hat eine volle Festplattenpartition verhindert, dass die Sperrdatei geschrieben werden konnte. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). The lock file could not be created, for lack of permissions. - Die Sperrdatei konnte aufgrund fehlender Berechtigungen nicht erstellt werden. + Die Sperrdatei konnte aufgrund fehlender Berechtigungen nicht erstellt werden. Unknown error happened, for instance a full partition prevented writing out the lock file. - Ein unbekannter Fehler ist aufgetreten, zum Beispiel hat eine volle Festplattenpartition verhindert, dass die Sperrdatei geschrieben werden konnte. + Ein unbekannter Fehler ist aufgetreten, zum Beispiel hat eine volle Festplattenpartition verhindert, dass die Sperrdatei geschrieben werden konnte. Export to CSV @@ -11513,15 +11684,15 @@ Do you want to save your changes? The measurements document has no write permissions. - Die Maß-Datei hat keine Schreibrechte. + Die Maß-Datei hat keine Schreibrechte. Cannot set permissions for %1 to writable. - Berechtigungen für %1 können nicht auf beschreibbar gesetzt werden. + Berechtigungen für %1 können nicht auf beschreibbar gesetzt werden. Could not save the file. - Datei konnte nicht gespeichert werden. + Datei konnte nicht gespeichert werden. Could not save the file @@ -11665,7 +11836,7 @@ Do you want to save your changes? Do you want to change the premissions? - Wollen Sie die Berechtigung ändern ? + Wollen Sie die Berechtigung ändern ? Cannot read settings from a malformed .INI file. @@ -12632,6 +12803,10 @@ Do you want to save your changes? My Patterns Meine Schnittmuster + + My Layouts + Meine Layouts + ToggleDetailInLayout @@ -12917,6 +13092,50 @@ Do you want to save your changes? Export to CSV Als CSV exportieren + + The measurements document has no write permissions. + Die Maß-Datei hat keine Schreibrechte. + + + Do you want to change the premissions? + Wollen Sie die Berechtigung ändern ? + + + Cannot set permissions for %1 to writable. + Berechtigungen für %1 können nicht auf beschreibbar gesetzt werden. + + + Could not save the file. + Datei konnte nicht gespeichert werden. + + + Locking file + Datei wird gesperrt + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + Diese Datei ist bereits in einem anderen Fenster geöffnet. Ignorieren Sie diese Nachricht, wenn Sie fortfahren wollen (nicht empfohlen, kann zu Datenverlust führen). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + This file already opened in another window. + Diese Datei ist bereits geöffnet. + + + The lock file could not be created, for lack of permissions. + Die Sperrdatei konnte aufgrund fehlender Berechtigungen nicht erstellt werden. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + + VAbstractNode @@ -13698,6 +13917,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -13999,6 +14246,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 Fehler beim Erstellen der Datei '%1'! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14173,6 +14432,114 @@ Do you want to save your changes? Box Markierung + + VPApplication + + Error parsing file. Program will be terminated. + Fehler beim Verarbeiten der Datei. Das Programm wird geschlossen. + + + Error bad id. Program will be terminated. + Fehler - unbekannte ID. Das Programm wird geschlossen. + + + Error can't convert value. Program will be terminated. + Fehler - Wert kann nicht konvertiert werden. Das Programm wird geschlossen. + + + Error empty parameter. Program will be terminated. + Fehler - leerer Parameter. Das Programm wird geschlossen. + + + Error wrong id. Program will be terminated. + Fehler - falsche ID. Das Programm wird geschlossen. + + + Something's wrong!! + Etwas ist schiefgegangen! + + + Exception thrown: %1. Program will be terminated. + Ausnahme ausgelöst: %1. Programm wird beendet. + + + Can't begin to listen for incoming connections on name '%1' + Eingehende Verbindung '%1' kann nicht aufgefangen werden + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Bitte stellen Sie eine Eingabedatei zur Verfügung. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Build-Revision: + + + This program is part of Valentina project. + Dieses Programm ist Teil des Valentina-Projekts. + + + Check For Updates + Nach Updates suchen + + + Cannot open your default browser + Konnte den Standard-Browser nicht starten + + + Build revision: %1 + Build-Revision: %1 + + + Built on %1 at %2 + + + + Web site : %1 + Webseite: %1 + + VPE::VBoolProperty @@ -14195,6 +14562,573 @@ Do you want to save your changes? Datei öffnen + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Datei + + + &Edit + + + + &Window + + + + &Help + &Hilfe + + + Menu + Menü + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Name: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Drehung + + + Angle: + Winkel: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Breite + + + Length + Länge + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + Rechts: + + + Top: + Oben: + + + Left: + Links: + + + Bottom: + Unten: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + Steuerung + + + Follow grainline + Folge der Fadenlauf-Linie + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Export + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Layout + + + Name + + + + Description + Beschreibung + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Öffnen + + + Ctrl+O + Strg+O + + + &Save + &Speichern + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + Valentina &beenden + + + Ctrl+Q + + + + &New + &Neu + + + Ctrl+N + + + + About &Qt + Über &Qt + + + About &Puzzle + + + + Zoom in + Vergrößern + + + Zoom out + Verkleinern + + + Zoom 1:1 + + + + Zoom fit best + In Ansicht einpassen + + + Zoom sheet + + + + Preferences + Einstellungen + + + File '%1' doesn't exist! + Datei '%1' existiert nicht! + + + File error. + Dateifehler. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Zentimeter + + + Millimiters + Millimeter + + + Inches + + + + Scale: + Maßstab: + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + schreibgeschützt + + + Cannot read settings from a malformed .INI file. + Kann Einstellungen nicht aus fehlerhafter .INI Datei lesen. + + + Cannot save settings. Access denied. + Kann Einstellungen nicht speichern. Zugriff verwehrt. + + + Failed to open file, is it writable? + + + + &New Window + &Neues Fenster + + + Layout files + + + + Open file + Datei öffnen + + + Could not save the file + Datei konnte nicht gespeichert werden + + + layout + + + + Save as + + + + Failed to lock. This file already opened in another window. + Fehler beim Sperren. Diese Datei ist bereits in einem anderen Fenster geöffnet. + + + Could not save file + + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Fehler beim Sperren. Diese Datei ist bereits in einem anderen Fenster geöffnet. Bei zweifachem Ausführen kann es zu Konflikten kommen. + + + Raw Layout files + + + + About Qt + + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Letter (US-Papiergröße) + + + Legal + Legal (US-Papiergröße) + + + Tabloid + Tablett + + + Roll 24in + Rolle 24 Zoll + + + Roll 30in + Rolle 30 Zoll + + + Roll 36in + Rolle 36 Zoll + + + Roll 42in + Rolle 42 Zoll + + + Roll 44in + Rolle 44 Zoll + + + Roll 48in + Rolle 44 Zoll {48 Zoll ?} + + + Roll 62in + Rolle 44 Zoll {62 Zoll ?} + + + Roll 72in + Rolle 44 Zoll {72 Zoll ?} + + + Custom + Benutzerdefiniert + + + + VPTileFactory + + Grid ( %1 , %2 ) + + + + Page %1 of %2 + + + VPattern @@ -14483,6 +15417,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14734,6 +15672,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Länge + + + Angle + Winkel + + + Label + Bezeichnung + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15577,6 +16535,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + Bezeichnung + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_el_GR.ts b/share/translations/valentina_el_GR.ts index c25d0f722..b7df3fcad 100644 --- a/share/translations/valentina_el_GR.ts +++ b/share/translations/valentina_el_GR.ts @@ -1192,6 +1192,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4798,6 +4806,10 @@ Apply settings anyway? yyyy-MM-dd χχχχ-ΜΜ-ηη + + Passmark length: + + DialogPatternXmlEdit @@ -5975,6 +5987,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6002,6 +6030,28 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + + + + Paths + + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -8179,7 +8229,7 @@ Do you want to save your changes? This file already opened in another window. - Αυτό το αρχείο είναι ήδη ανοιχτό σε ένα άλλο παράθυρο. + Αυτό το αρχείο είναι ήδη ανοιχτό σε ένα άλλο παράθυρο. Wrong units. @@ -8616,27 +8666,15 @@ Do you want to save your changes? Locking file - Κλείδωμα αρχείου + Κλείδωμα αρχείου This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Αυτό το αρχείο είναι ήδη ανοιχτό σε άλλο παράθυρο. Αγνοήστε αν θέλετε να συνεχίσετε (δε συνιστάται, μπορεί να προκαλέσει καταστροφή δεδομένων). - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - + Αυτό το αρχείο είναι ήδη ανοιχτό σε άλλο παράθυρο. Αγνοήστε αν θέλετε να συνεχίσετε (δε συνιστάται, μπορεί να προκαλέσει καταστροφή δεδομένων). Unknown error happened, for instance a full partition prevented writing out the lock file. - Παρουσιάστηκε άγνωστο σφάλμα, για παράδειγμα μία πλήρης διχοτόμηση εμπόδισε την εγγραφή του αρχείου κλειδώματος. + Παρουσιάστηκε άγνωστο σφάλμα, για παράδειγμα μία πλήρης διχοτόμηση εμπόδισε την εγγραφή του αρχείου κλειδώματος. Report Bug... @@ -8778,17 +8816,9 @@ Do you want to save your changes? Select main path objects clockwise. - - The document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - Could not save the file. - Could not save the file. + Could not save the file. Could not save the file @@ -9202,10 +9232,6 @@ Do you want to save your changes? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -9254,6 +9280,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -9906,6 +9936,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + Οι επιλογές εξαγωγής μπορούν να χρησιμοποιηθούν μόνο με ένα αρχείο εισαγωγής. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + + + + Language + Γλώσσα + + + GUI language: + + + + Toolbar + + + + The text appears under the icon (recommended for beginners). + + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + + + + Paths that Valentina uses + Διαδρομές φακέλων που χρησιμοποιεί το Valentina + + + Type + Τύπος + + + Path + + + + Default + Προεπιλογή + + + Edit + Επεξεργασία + + + Open Directory + Άνοιγμα φακέλου + + + My Individual Measurements + + + + My Multisize Measurements + + + + My Patterns + Πατρόν μου + + + My Templates + Πρότυπά μου + + + My Layouts + Διατάξεις μου + + QCommandLineParser @@ -10296,6 +10431,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QmuParser @@ -10859,7 +11006,7 @@ This option will take an affect after restart. untitled - ανώνυμο + ανώνυμο <Empty> @@ -11076,27 +11223,15 @@ Do you want to save your changes? Locking file - Κλείδωμα αρχείου + Κλείδωμα αρχείου This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Αυτό το αρχείο είναι ήδη ανοιχτό σε άλλο παράθυρο. Αγνοήστε αν θέλετε να συνεχίσετε (δε συνιστάται, μπορεί να προκαλέσει καταστροφή δεδομένων). - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - + Αυτό το αρχείο είναι ήδη ανοιχτό σε άλλο παράθυρο. Αγνοήστε αν θέλετε να συνεχίσετε (δε συνιστάται, μπορεί να προκαλέσει καταστροφή δεδομένων). Unknown error happened, for instance a full partition prevented writing out the lock file. - Παρουσιάστηκε άγνωστο σφάλμα, για παράδειγμα μία πλήρης διχοτόμηση εμπόδισε την εγγραφή του αρχείου κλειδώματος. + Παρουσιάστηκε άγνωστο σφάλμα, για παράδειγμα μία πλήρης διχοτόμηση εμπόδισε την εγγραφή του αρχείου κλειδώματος. Export to CSV @@ -11142,17 +11277,9 @@ Do you want to save your changes? All files Όλα τα αρχεία - - The measurements document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - Could not save the file. - Could not save the file. + Could not save the file. Could not save the file @@ -11282,10 +11409,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -12224,6 +12347,10 @@ Do you want to save your changes? My Patterns Πατρόν μου + + My Layouts + Διατάξεις μου + TogglePieceForceForbidFlipping @@ -12489,6 +12616,50 @@ Do you want to save your changes? Export to CSV Εξαγωγή σε CSV + + The measurements document has no write permissions. + + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + + + + Locking file + Κλείδωμα αρχείου + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + Αυτό το αρχείο είναι ήδη ανοιχτό σε άλλο παράθυρο. Αγνοήστε αν θέλετε να συνεχίσετε (δε συνιστάται, μπορεί να προκαλέσει καταστροφή δεδομένων). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + This file already opened in another window. + Αυτό το αρχείο είναι ήδη ανοιχτό σε ένα άλλο παράθυρο. + + + The lock file could not be created, for lack of permissions. + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Παρουσιάστηκε άγνωστο σφάλμα, για παράδειγμα μία πλήρης διχοτόμηση εμπόδισε την εγγραφή του αρχείου κλειδώματος. + VAbstractNode @@ -13142,6 +13313,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -13401,6 +13600,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 Η δημιουργία αρχείου '%1' απέτυχε! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -13575,6 +13786,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + + + + Error bad id. Program will be terminated. + Σφάλμα κακής ταυτότητας. Το πρόγραμμα θα τερματιστεί. + + + Error can't convert value. Program will be terminated. + Σφάλμα λόγω αδυναμίας μετατροπής της τιμής. Το πρόγραμμα θα τερματιστεί. + + + Error empty parameter. Program will be terminated. + Σφάλμα λόγω κενής παραμέτρου. Το πρόγραμμα θα τερματιστεί. + + + Error wrong id. Program will be terminated. + Σφάλμα λόγω λάθους ταυτότητας. Το πρόγραμμα θα τερματιστεί. + + + Something's wrong!! + Υπάρχει σφάλμα!! + + + Exception thrown: %1. Program will be terminated. + + + + Can't begin to listen for incoming connections on name '%1' + Δεν μπορεί να αρχίσει να ακούει τις εισερχόμενες συνδέσεις στο όνομα '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Παρακαλώ, δώστε ένα αρχείο εισόδου. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Διαγραφή + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Αναθεώρηση έκδοσης: + + + This program is part of Valentina project. + Αυτό το πρόγραμμα είναι μέρος του Valentina project. + + + Check For Updates + Έλεγχος για ενημερώσεις + + + Cannot open your default browser + Δεν είναι δυνατό το άνοιγμα του προεπιλεγμένου περιηγητή + + + Build revision: %1 + Αναθεώρηση έκδοσης: %1 + + + Built on %1 at %2 + + + + Web site : %1 + Ιστοσελίδα : %1 + + VPE::VBoolProperty @@ -13597,6 +13916,573 @@ Do you want to save your changes? Άνοιγμα αρχείου + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Αρχείο + + + &Edit + + + + &Window + + + + &Help + &Βοήθεια + + + Menu + Μενού + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Όνομα: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Περιστροφή + + + Angle: + Γωνία: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Φάρδος + + + Length + Μήκος + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + Περιθώρια + + + Right: + Δεξιά: + + + Top: + Επάνω: + + + Left: + Αριστερά: + + + Bottom: + Κάτω: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Εξαγωγή + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Τοποθέτηση + + + Name + Όνομα + + + Description + Περιγραφή + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Άνοιγμα + + + Ctrl+O + + + + &Save + &Αποθήκευση + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + Έ&ξοδος + + + Ctrl+Q + + + + &New + &Νέο + + + Ctrl+N + + + + About &Qt + Σχετικά &Qt + + + About &Puzzle + + + + Zoom in + Μεγέθυνση + + + Zoom out + Σμίκρυνση + + + Zoom 1:1 + + + + Zoom fit best + Προσαρμογή zoom + + + Zoom sheet + + + + Preferences + Προτιμήσεις + + + File '%1' doesn't exist! + Το αρχείο '%1' δεν υπάρχει! + + + File error. + Σφάλμα στο αρχείο. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Εκατοστά + + + Millimiters + Χιλιοστά + + + Inches + Ίντσες + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + μόνο για ανάγνωση + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + &Νέο παράθυρο + + + Layout files + + + + Open file + Άνοιγμα αρχείου + + + Could not save the file + Δεν ήταν δυνατή η αποθήκευση του αρχείου + + + layout + + + + Save as + Αποθήκευση ως + + + Failed to lock. This file already opened in another window. + Αποτυχία κλειδώματος. Το αρχείο έχει ήδη ανοιχτεί σε ένα άλλο παράθυρο. + + + Could not save file + Δεν είναι δυνατή η αποθήκευση αρχείου + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Αποτυχία κλειδώματος. Αυτό το αρχείο έχει ήδη ανοιχτεί σε ένα άλλο παράθυρο. Αναμένετε συγκρούσεις όταν τρέχετε 2 αντίγραφα του προγράμματος. + + + Raw Layout files + + + + About Qt + Σχετικά με το Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Letter + + + Legal + Legal + + + Tabloid + + + + Roll 24in + Ρολό 24 ιντσών + + + Roll 30in + Ρολό 30 ιντσών + + + Roll 36in + Ρολό 36 ιντσών + + + Roll 42in + Ρολό 42 ιντσών + + + Roll 44in + Ρολό 44 ιντσών + + + Roll 48in + Ρολό 44 ιντσών {48i?} + + + Roll 62in + Ρολό 44 ιντσών {62i?} + + + Roll 72in + Ρολό 44 ιντσών {72i?} + + + Custom + Προσαρμογή + + + + VPTileFactory + + Grid ( %1 , %2 ) + + + + Page %1 of %2 + + + VPattern @@ -13885,6 +14771,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14124,6 +15014,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Μήκος + + + Angle + Γωνία + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -14991,6 +15901,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_en_CA.ts b/share/translations/valentina_en_CA.ts index 6495e4d08..27f20af7b 100644 --- a/share/translations/valentina_en_CA.ts +++ b/share/translations/valentina_en_CA.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4873,6 +4881,10 @@ Apply settings anyway? yyyy-MM-dd yyyy-MM-dd + + Passmark length: + + DialogPatternXmlEdit @@ -6058,6 +6070,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6085,6 +6113,28 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Configuration + + + Paths + Paths + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -8294,7 +8344,7 @@ Do you want to save your changes? This file already opened in another window. - This file already opened in another window. + This file already opened in another window. Wrong units. @@ -8747,27 +8797,27 @@ Do you want to save your changes? Locking file - Locking file + Locking file This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. - The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. Unknown error happened, for instance a full partition prevented writing out the lock file. - Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. Report Bug... @@ -8927,15 +8977,15 @@ Do you want to save your changes? The document has no write permissions. - The document has no write permissions. + The document has no write permissions. Cannot set permissions for %1 to writable. - Cannot set permissions for %1 to writable. + Cannot set permissions for %1 to writable. Could not save the file. - Could not save the file. + Could not save the file. Could not save the file @@ -9349,10 +9399,6 @@ Do you want to save your changes? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -9401,6 +9447,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10113,6 +10163,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + Export options can be used with single input file only. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Form + + + Language + Language + + + GUI language: + GUI language: + + + Toolbar + Toolbar + + + The text appears under the icon (recommended for beginners). + The text appears under the icon (recommended for beginners). + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + Form + + + Paths that Valentina uses + Paths that Valentina uses + + + Type + Type + + + Path + Path + + + Default + Default + + + Edit + Edit + + + Open Directory + Open Directory + + + My Individual Measurements + My Individual Measurements + + + My Multisize Measurements + My Multisize Measurements + + + My Patterns + My Patterns + + + My Templates + My Templates + + + My Layouts + My Layouts + + QApplication @@ -10526,6 +10681,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11119,7 +11286,7 @@ This option will take an affect after restart. untitled - untitled + untitled <Empty> @@ -11356,27 +11523,27 @@ Do you want to save your changes? Locking file - Locking file + Locking file This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. - The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. Unknown error happened, for instance a full partition prevented writing out the lock file. - Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. Export to CSV @@ -11424,15 +11591,15 @@ Do you want to save your changes? The measurements document has no write permissions. - The measurements document has no write permissions. + The measurements document has no write permissions. Cannot set permissions for %1 to writable. - Cannot set permissions for %1 to writable. + Cannot set permissions for %1 to writable. Could not save the file. - Could not save the file. + Could not save the file. Could not save the file @@ -11562,10 +11729,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -12512,6 +12675,10 @@ Do you want to save your changes? My Patterns My Patterns + + My Layouts + My Layouts + ToggleDetailInLayout @@ -12798,6 +12965,50 @@ Do you want to save your changes? Export to CSV Export to CSV + + The measurements document has no write permissions. + The measurements document has no write permissions. + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + Cannot set permissions for %1 to writable. + + + Could not save the file. + Could not save the file. + + + Locking file + Locking file + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + This file already opened in another window. + This file already opened in another window. + + + The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. + VAbstractNode @@ -13579,6 +13790,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -13881,6 +14120,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 Creating file '%1' failed! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14055,6 +14306,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + Error parsing file. Program will be terminated. + + + Error bad id. Program will be terminated. + Error bad id. Program will be terminated. + + + Error can't convert value. Program will be terminated. + Error can't convert value. Program will be terminated. + + + Error empty parameter. Program will be terminated. + Error empty parameter. Program will be terminated. + + + Error wrong id. Program will be terminated. + Error wrong id. Program will be terminated. + + + Something's wrong!! + Something's wrong!! + + + Exception thrown: %1. Program will be terminated. + Exception thrown: %1. Program will be terminated. + + + Can't begin to listen for incoming connections on name '%1' + Can't begin to listen for incoming connections on name '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Please, provide one input file. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Delete + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Build revision: + + + This program is part of Valentina project. + This program is part of Valentina project. + + + Check For Updates + Check For Updates + + + Cannot open your default browser + Cannot open your default browser + + + Build revision: %1 + Build revision: %1 + + + Built on %1 at %2 + Built on %1 at %2 + + + Web site : %1 + Web site : %1 + + VPE::VBoolProperty @@ -14077,6 +14436,573 @@ Do you want to save your changes? Open File + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &File + + + &Edit + + + + &Window + + + + &Help + &Help + + + Menu + Menu + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Name: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Rotation + + + Angle: + Angle: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Width + + + Length + Length + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + Right: + + + Top: + Top: + + + Left: + Left: + + + Bottom: + Bottom: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Export + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Layout + + + Name + Name + + + Description + Description + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Open + + + Ctrl+O + + + + &Save + &Save + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + E&xit + + + Ctrl+Q + + + + &New + &New + + + Ctrl+N + + + + About &Qt + About &Qt + + + About &Puzzle + + + + Zoom in + Zoom in + + + Zoom out + Zoom out + + + Zoom 1:1 + + + + Zoom fit best + Zoom fit best + + + Zoom sheet + + + + Preferences + Preferences + + + File '%1' doesn't exist! + File '%1' doesn't exist! + + + File error. + File error. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centimeters + + + Millimiters + Millimiters + + + Inches + Inches + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + read only + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + &New Window + + + Layout files + + + + Open file + Open file + + + Could not save the file + Could not save the file + + + layout + + + + Save as + Save as + + + Failed to lock. This file already opened in another window. + Failed to lock. This file already opened in another window. + + + Could not save file + Could not save file + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + Raw Layout files + + + + About Qt + About Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Letter + + + Legal + Legal + + + Tabloid + + + + Roll 24in + Roll 24in + + + Roll 30in + Roll 30in + + + Roll 36in + Roll 36in + + + Roll 42in + Roll 42in + + + Roll 44in + Roll 44in + + + Roll 48in + Roll 44in {48i?} + + + Roll 62in + Roll 44in {62i?} + + + Roll 72in + Roll 44in {72i?} + + + Custom + Custom + + + + VPTileFactory + + Grid ( %1 , %2 ) + Grid ( %1 , %2 ) + + + Page %1 of %2 + Page %1 of %2 + + VPattern @@ -14365,6 +15291,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14623,6 +15553,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Length + + + Angle + Angle + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15498,6 +16448,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_en_IN.ts b/share/translations/valentina_en_IN.ts index b3cc537bd..d64d53aa1 100644 --- a/share/translations/valentina_en_IN.ts +++ b/share/translations/valentina_en_IN.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4873,6 +4881,10 @@ Apply settings anyway? yyyy-MM-dd yyyy-MM-dd + + Passmark length: + + DialogPatternXmlEdit @@ -6058,6 +6070,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6085,6 +6113,28 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Configuration + + + Paths + Paths + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -8294,7 +8344,7 @@ Do you want to save your changes? This file already opened in another window. - This file already opened in another window. + This file already opened in another window. Wrong units. @@ -8747,27 +8797,27 @@ Do you want to save your changes? Locking file - Locking file + Locking file This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. - The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. Unknown error happened, for instance a full partition prevented writing out the lock file. - Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. Report Bug... @@ -8927,15 +8977,15 @@ Do you want to save your changes? The document has no write permissions. - The document has no write permissions. + The document has no write permissions. Cannot set permissions for %1 to writable. - Cannot set permissions for %1 to writable. + Cannot set permissions for %1 to writable. Could not save the file. - Could not save the file. + Could not save the file. Could not save the file @@ -9349,10 +9399,6 @@ Do you want to save your changes? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -9401,6 +9447,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10113,6 +10163,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + Export options can be used with single input file only. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Form + + + Language + Language + + + GUI language: + GUI language: + + + Toolbar + Toolbar + + + The text appears under the icon (recommended for beginners). + The text appears under the icon (recommended for beginners). + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + Form + + + Paths that Valentina uses + Paths that Valentina uses + + + Type + Type + + + Path + Path + + + Default + Default + + + Edit + Edit + + + Open Directory + Open Directory + + + My Individual Measurements + My Individual Measurements + + + My Multisize Measurements + My Multisize Measurements + + + My Patterns + My Patterns + + + My Templates + My Templates + + + My Layouts + My Layouts + + QApplication @@ -10526,6 +10681,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11119,7 +11286,7 @@ This option will take an affect after restart. untitled - untitled + untitled <Empty> @@ -11356,27 +11523,27 @@ Do you want to save your changes? Locking file - Locking file + Locking file This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. - The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. Unknown error happened, for instance a full partition prevented writing out the lock file. - Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. Export to CSV @@ -11424,15 +11591,15 @@ Do you want to save your changes? The measurements document has no write permissions. - The measurements document has no write permissions. + The measurements document has no write permissions. Cannot set permissions for %1 to writable. - Cannot set permissions for %1 to writable. + Cannot set permissions for %1 to writable. Could not save the file. - Could not save the file. + Could not save the file. Could not save the file @@ -11562,10 +11729,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -12512,6 +12675,10 @@ Do you want to save your changes? My Patterns My Patterns + + My Layouts + My Layouts + ToggleDetailInLayout @@ -12798,6 +12965,50 @@ Do you want to save your changes? Export to CSV Export to CSV + + The measurements document has no write permissions. + The measurements document has no write permissions. + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + Cannot set permissions for %1 to writable. + + + Could not save the file. + Could not save the file. + + + Locking file + Locking file + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + This file already opened in another window. + This file already opened in another window. + + + The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. + VAbstractNode @@ -13579,6 +13790,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -13881,6 +14120,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 Creating file '%1' failed! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14055,6 +14306,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + Error parsing file. Program will be terminated. + + + Error bad id. Program will be terminated. + Error bad id. Program will be terminated. + + + Error can't convert value. Program will be terminated. + Error can't convert value. Program will be terminated. + + + Error empty parameter. Program will be terminated. + Error empty parameter. Program will be terminated. + + + Error wrong id. Program will be terminated. + Error wrong id. Program will be terminated. + + + Something's wrong!! + Something's wrong!! + + + Exception thrown: %1. Program will be terminated. + Exception thrown: %1. Program will be terminated. + + + Can't begin to listen for incoming connections on name '%1' + Can't begin to listen for incoming connections on name '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Please, provide one input file. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Delete + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Build revision: + + + This program is part of Valentina project. + This program is part of Valentina project. + + + Check For Updates + Check For Updates + + + Cannot open your default browser + Cannot open your default browser + + + Build revision: %1 + Build revision: %1 + + + Built on %1 at %2 + Built on %1 at %2 + + + Web site : %1 + Web site : %1 + + VPE::VBoolProperty @@ -14077,6 +14436,573 @@ Do you want to save your changes? Open File + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &File + + + &Edit + + + + &Window + + + + &Help + &Help + + + Menu + Menu + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Name: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Rotation + + + Angle: + Angle: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Width + + + Length + Length + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + Right: + + + Top: + Top: + + + Left: + Left: + + + Bottom: + Bottom: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Export + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Layout + + + Name + Name + + + Description + Description + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Open + + + Ctrl+O + + + + &Save + &Save + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + E&xit + + + Ctrl+Q + + + + &New + &New + + + Ctrl+N + + + + About &Qt + About &Qt + + + About &Puzzle + + + + Zoom in + Zoom in + + + Zoom out + Zoom out + + + Zoom 1:1 + + + + Zoom fit best + Zoom fit best + + + Zoom sheet + + + + Preferences + Preferences + + + File '%1' doesn't exist! + File '%1' doesn't exist! + + + File error. + File error. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centimeters + + + Millimiters + Millimiters + + + Inches + Inches + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + read only + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + &New Window + + + Layout files + + + + Open file + Open file + + + Could not save the file + Could not save the file + + + layout + + + + Save as + Save as + + + Failed to lock. This file already opened in another window. + Failed to lock. This file already opened in another window. + + + Could not save file + Could not save file + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + Raw Layout files + + + + About Qt + About Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Letter + + + Legal + Legal + + + Tabloid + + + + Roll 24in + Roll 24in + + + Roll 30in + Roll 30in + + + Roll 36in + Roll 36in + + + Roll 42in + Roll 42in + + + Roll 44in + Roll 44in + + + Roll 48in + Roll 44in {48i?} + + + Roll 62in + Roll 44in {62i?} + + + Roll 72in + Roll 44in {72i?} + + + Custom + Custom + + + + VPTileFactory + + Grid ( %1 , %2 ) + Grid ( %1 , %2 ) + + + Page %1 of %2 + Page %1 of %2 + + VPattern @@ -14365,6 +15291,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14623,6 +15553,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Length + + + Angle + Angle + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15498,6 +16448,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_en_US.ts b/share/translations/valentina_en_US.ts index 84eb86b4c..2f81af094 100644 --- a/share/translations/valentina_en_US.ts +++ b/share/translations/valentina_en_US.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4873,6 +4881,10 @@ Apply settings anyway? yyyy-MM-dd yyyy-MM-dd + + Passmark length: + + DialogPatternXmlEdit @@ -6058,6 +6070,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6085,6 +6113,28 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Configuration + + + Paths + Paths + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -8294,7 +8344,7 @@ Do you want to save your changes? This file already opened in another window. - This file already opened in another window. + This file already opened in another window. Wrong units. @@ -8747,27 +8797,27 @@ Do you want to save your changes? Locking file - Locking file + Locking file This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. - The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. Unknown error happened, for instance a full partition prevented writing out the lock file. - Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. Report Bug... @@ -8927,15 +8977,15 @@ Do you want to save your changes? The document has no write permissions. - The document has no write permissions. + The document has no write permissions. Cannot set permissions for %1 to writable. - Cannot set permissions for %1 to writable. + Cannot set permissions for %1 to writable. Could not save the file. - Could not save the file. + Could not save the file. Could not save the file @@ -9349,10 +9399,6 @@ Do you want to save your changes? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -9401,6 +9447,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10113,6 +10163,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + Export options can be used with single input file only. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Form + + + Language + Language + + + GUI language: + GUI language: + + + Toolbar + Toolbar + + + The text appears under the icon (recommended for beginners). + The text appears under the icon (recommended for beginners). + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + Form + + + Paths that Valentina uses + Paths that Valentina uses + + + Type + Type + + + Path + Path + + + Default + Default + + + Edit + Edit + + + Open Directory + Open Directory + + + My Individual Measurements + My Individual Measurements + + + My Multisize Measurements + My Multisize Measurements + + + My Patterns + My Patterns + + + My Templates + My Templates + + + My Layouts + My Layouts + + QApplication @@ -10526,6 +10681,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11119,7 +11286,7 @@ This option will take an affect after restart. untitled - untitled + untitled <Empty> @@ -11356,27 +11523,27 @@ Do you want to save your changes? Locking file - Locking file + Locking file This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). The lock file could not be created, for lack of permissions. - The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. Unknown error happened, for instance a full partition prevented writing out the lock file. - Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. Export to CSV @@ -11424,15 +11591,15 @@ Do you want to save your changes? The measurements document has no write permissions. - The measurements document has no write permissions. + The measurements document has no write permissions. Cannot set permissions for %1 to writable. - Cannot set permissions for %1 to writable. + Cannot set permissions for %1 to writable. Could not save the file. - Could not save the file. + Could not save the file. Could not save the file @@ -11562,10 +11729,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -12512,6 +12675,10 @@ Do you want to save your changes? My Patterns My Patterns + + My Layouts + My Layouts + ToggleDetailInLayout @@ -12798,6 +12965,50 @@ Do you want to save your changes? Export to CSV Export to CSV + + The measurements document has no write permissions. + The measurements document has no write permissions. + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + Cannot set permissions for %1 to writable. + + + Could not save the file. + Could not save the file. + + + Locking file + Locking file + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + This file already opened in another window. + This file already opened in another window. + + + The lock file could not be created, for lack of permissions. + The lock file could not be created, for lack of permissions. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Unknown error happened, for instance a full partition prevented writing out the lock file. + VAbstractNode @@ -13579,6 +13790,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -13881,6 +14120,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 Creating file '%1' failed! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14055,6 +14306,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + Error parsing file. Program will be terminated. + + + Error bad id. Program will be terminated. + Error bad id. Program will be terminated. + + + Error can't convert value. Program will be terminated. + Error can't convert value. Program will be terminated. + + + Error empty parameter. Program will be terminated. + Error empty parameter. Program will be terminated. + + + Error wrong id. Program will be terminated. + Error wrong id. Program will be terminated. + + + Something's wrong!! + Something's wrong!! + + + Exception thrown: %1. Program will be terminated. + Exception thrown: %1. Program will be terminated. + + + Can't begin to listen for incoming connections on name '%1' + Can't begin to listen for incoming connections on name '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Please, provide one input file. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Delete + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Build revision: + + + This program is part of Valentina project. + This program is part of Valentina project. + + + Check For Updates + Check For Updates + + + Cannot open your default browser + Cannot open your default browser + + + Build revision: %1 + Build revision: %1 + + + Built on %1 at %2 + Built on %1 at %2 + + + Web site : %1 + Web site : %1 + + VPE::VBoolProperty @@ -14077,6 +14436,573 @@ Do you want to save your changes? Open File + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &File + + + &Edit + + + + &Window + + + + &Help + &Help + + + Menu + Menu + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Name: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Rotation + + + Angle: + Angle: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Width + + + Length + Length + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + Right: + + + Top: + Top: + + + Left: + Left: + + + Bottom: + Bottom: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Export + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Layout + + + Name + Name + + + Description + Description + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Open + + + Ctrl+O + + + + &Save + &Save + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + E&xit + + + Ctrl+Q + + + + &New + &New + + + Ctrl+N + + + + About &Qt + About &Qt + + + About &Puzzle + + + + Zoom in + Zoom in + + + Zoom out + Zoom out + + + Zoom 1:1 + + + + Zoom fit best + Zoom fit best + + + Zoom sheet + + + + Preferences + Preferences + + + File '%1' doesn't exist! + File '%1' doesn't exist! + + + File error. + File error. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centimeters + + + Millimiters + Millimiters + + + Inches + Inches + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + read only + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + &New Window + + + Layout files + + + + Open file + Open file + + + Could not save the file + Could not save the file + + + layout + + + + Save as + Save as + + + Failed to lock. This file already opened in another window. + Failed to lock. This file already opened in another window. + + + Could not save file + Could not save file + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + Raw Layout files + + + + About Qt + About Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Letter + + + Legal + Legal + + + Tabloid + + + + Roll 24in + Roll 24in + + + Roll 30in + Roll 30in + + + Roll 36in + Roll 36in + + + Roll 42in + Roll 42in + + + Roll 44in + Roll 44in + + + Roll 48in + Roll 44in {48i?} + + + Roll 62in + Roll 44in {62i?} + + + Roll 72in + Roll 44in {72i?} + + + Custom + Custom + + + + VPTileFactory + + Grid ( %1 , %2 ) + Grid ( %1 , %2 ) + + + Page %1 of %2 + Page %1 of %2 + + VPattern @@ -14365,6 +15291,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14623,6 +15553,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Length + + + Angle + Angle + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15498,6 +16448,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_es_ES.ts b/share/translations/valentina_es_ES.ts index bb67d3091..6080ef3f4 100644 --- a/share/translations/valentina_es_ES.ts +++ b/share/translations/valentina_es_ES.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4930,6 +4938,10 @@ Aplicar características de todos modos? yyyy-MM-dd yyyy-MM-dd + + Passmark length: + + DialogPatternXmlEdit @@ -6115,6 +6127,22 @@ Aplicar características de todos modos? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6142,6 +6170,28 @@ Aplicar características de todos modos? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Configuración + + + Paths + + + + Followed %n option(s) require restart to take effect: %1. + + Para seguir %n opción(es) se requiere re-inicializar el programa: %1. + Para seguir %n opción(es) se requiere re-inicializar el programa: %1. + + + DialogRestrictDimension @@ -8351,7 +8401,7 @@ Quiere guardar los cambios? This file already opened in another window. - Este archivo ha sido abierto en otra ventana. + Este archivo ha sido abierto en otra ventana. Wrong units. @@ -8805,27 +8855,27 @@ el patrón. Locking file - Cerrando archivo + Cerrando archivo This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Este archivo esta abierto en otra ventana. Si desea continuar: click en Ignorar (no recomendado puede causar datos erroneos). + Este archivo esta abierto en otra ventana. Si desea continuar: click en Ignorar (no recomendado puede causar datos erroneos). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Archivo bloqueado, no puede ser mostrado por falta de permisos. Si desea continuar apriete ignorar (no recomendado, puede causar errores). + Archivo bloqueado, no puede ser mostrado por falta de permisos. Si desea continuar apriete ignorar (no recomendado, puede causar errores). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Ocurrió un error desconocido, por ejemplo una partición llena evitando que se escriba el archivo de bloqueo. Ignorelo si desea continuar (no se recomienda, puede causar corrupción de datos). + Ocurrió un error desconocido, por ejemplo una partición llena evitando que se escriba el archivo de bloqueo. Ignorelo si desea continuar (no se recomienda, puede causar corrupción de datos). The lock file could not be created, for lack of permissions. - No se pudo crear el archivo de bloqueo, por falta de permisos. + No se pudo crear el archivo de bloqueo, por falta de permisos. Unknown error happened, for instance a full partition prevented writing out the lock file. - Ocurrió un error desconocido, por ejemplo, una partición completa impedido escribir el archivo de bloqueo. + Ocurrió un error desconocido, por ejemplo, una partición completa impedido escribir el archivo de bloqueo. Report Bug... @@ -8985,15 +9035,15 @@ el patrón. The document has no write permissions. - El documento no tiene permisos de escritura. + El documento no tiene permisos de escritura. Cannot set permissions for %1 to writable. - No se pueden establecer permisos para %1 para escribir. + No se pueden establecer permisos para %1 para escribir. Could not save the file. - No pudo guardarse el archivo. + No pudo guardarse el archivo. Could not save the file @@ -9417,7 +9467,7 @@ el patrón. Do you want to change the premissions? - ¿Quieres cambiar los permisos? + ¿Quieres cambiar los permisos? Unable to prepare raw layout data. @@ -9467,6 +9517,10 @@ el patrón. Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10204,6 +10258,111 @@ Esta opción surtirá efecto después de reiniciar. retratar una escena + + Puzzle + + Export options can be used with single input file only. + Las opciones de exportación solo puede usarse con un solo archivo de entrada. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + + + + Language + Idioma + + + GUI language: + + + + Toolbar + Barra de herramientas + + + The text appears under the icon (recommended for beginners). + + + + User Interface + Interfaz de usuario + + + Activate dark mode + Activar el modo oscuro + + + Don't use the native file dialog + + + + dark mode + modo oscuro + + + + PuzzlePreferencesPathPage + + Form + + + + Paths that Valentina uses + Rutas que usa Valentina + + + Type + Tipo + + + Path + + + + Default + + + + Edit + Editar + + + Open Directory + + + + My Individual Measurements + Mis Medidas Individuales + + + My Multisize Measurements + Mis Medidas Multitalla + + + My Patterns + Mis Patrones + + + My Templates + Mis Plantillas + + + My Layouts + Mis Diseños + + QApplication @@ -10617,6 +10776,18 @@ Esta opción surtirá efecto después de reiniciar. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11210,7 +11381,7 @@ Esta opción surtirá efecto después de reiniciar. untitled - Sin título + Sin título <Empty> @@ -11447,27 +11618,27 @@ Quieres guardar los cambios? Locking file - Archivo de bloqueo + Archivo de bloqueo This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Este archivo esta abierto en otra ventana. Si desea continuar: click en Ignorar (no recomendado puede causar datos erroneos). + Este archivo esta abierto en otra ventana. Si desea continuar: click en Ignorar (no recomendado puede causar datos erroneos). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Archivo bloqueado, no puede ser mostrado por falta de permisos. Si desea continuar apriete ignorar (no recomendado, puede causar errores). + Archivo bloqueado, no puede ser mostrado por falta de permisos. Si desea continuar apriete ignorar (no recomendado, puede causar errores). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Ocurrió un error desconocido, por ejemplo una partición llena evitando que se escriba el archivo de bloqueo. Ignorelo si desea continuar (no se recomienda, puede causar corrupción de datos). + Ocurrió un error desconocido, por ejemplo una partición llena evitando que se escriba el archivo de bloqueo. Ignorelo si desea continuar (no se recomienda, puede causar corrupción de datos). The lock file could not be created, for lack of permissions. - No se pudo crear el archivo de bloqueo, por falta de permisos. + No se pudo crear el archivo de bloqueo, por falta de permisos. Unknown error happened, for instance a full partition prevented writing out the lock file. - Ocurrió un error desconocido, por ejemplo, una partición completa impedido escribir el archivo de bloqueo. + Ocurrió un error desconocido, por ejemplo, una partición completa impedido escribir el archivo de bloqueo. Export to CSV @@ -11515,15 +11686,15 @@ Quieres guardar los cambios? The measurements document has no write permissions. - El documento de medidas no tiene escrito permisos. + El documento de medidas no tiene escrito permisos. Cannot set permissions for %1 to writable. - No se pueden establecer permisos para %1 para escribir. + No se pueden establecer permisos para %1 para escribir. Could not save the file. - No ha podido guardar el archivo. + No ha podido guardar el archivo. Could not save the file @@ -11667,7 +11838,7 @@ Quieres guardar los cambios? Do you want to change the premissions? - ¿Quieres cambiar los permisos? + ¿Quieres cambiar los permisos? Cannot read settings from a malformed .INI file. @@ -12634,6 +12805,10 @@ Quieres guardar los cambios? My Patterns Mis Patrones + + My Layouts + Mis Diseños + ToggleDetailInLayout @@ -12920,6 +13095,50 @@ Quieres guardar los cambios? Export to CSV Exportar a CSV + + The measurements document has no write permissions. + El documento de medidas no tiene escrito permisos. + + + Do you want to change the premissions? + ¿Quieres cambiar los permisos? + + + Cannot set permissions for %1 to writable. + No se pueden establecer permisos para %1 para escribir. + + + Could not save the file. + + + + Locking file + + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + Este archivo esta abierto en otra ventana. Si desea continuar: click en Ignorar (no recomendado puede causar datos erroneos). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + Archivo bloqueado, no puede ser mostrado por falta de permisos. Si desea continuar apriete ignorar (no recomendado, puede causar errores). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Ocurrió un error desconocido, por ejemplo una partición llena evitando que se escriba el archivo de bloqueo. Ignorelo si desea continuar (no se recomienda, puede causar corrupción de datos). + + + This file already opened in another window. + Este archivo ha sido abierto en otra ventana. + + + The lock file could not be created, for lack of permissions. + No se pudo crear el archivo de bloqueo, por falta de permisos. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Ocurrió un error desconocido, por ejemplo, una partición completa impedido escribir el archivo de bloqueo. + VAbstractNode @@ -13709,6 +13928,34 @@ Quieres guardar los cambios? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -14011,6 +14258,18 @@ Quieres guardar los cambios? Creating file '%1' failed! %2 ¡La creación del archivo '%1' falló! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14185,6 +14444,114 @@ Quieres guardar los cambios? Marca Caja + + VPApplication + + Error parsing file. Program will be terminated. + Error al procesar el archivo. El programa se terminará. + + + Error bad id. Program will be terminated. + Error de identificación. El programa se cerrará. + + + Error can't convert value. Program will be terminated. + Error al convertir valor. El programa se cerrará. + + + Error empty parameter. Program will be terminated. + Error de parámetro vacío. El programa se cerrará. + + + Error wrong id. Program will be terminated. + Error de identidad equivocada. El programa se cerrará. + + + Something's wrong!! + ¡¡Algo ha fallado!! + + + Exception thrown: %1. Program will be terminated. + Se ha lanzado una excepción: %1. El programa se terminará. + + + Can't begin to listen for incoming connections on name '%1' + No se puede comenzar a escuchar por conexiones entrantes en el nombre '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Por favor, proporcione un archivo de entrada. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Revisión de la construcción: + + + This program is part of Valentina project. + Este programa es parte del proyecto Valentina. + + + Check For Updates + Buscar actualizaciones + + + Cannot open your default browser + No se puede abrir su navegador predeterminado + + + Build revision: %1 + Revisión de la construcción: %1 + + + Built on %1 at %2 + Construido el %1 a la %2 + + + Web site : %1 + Sitio web: %1 + + VPE::VBoolProperty @@ -14207,6 +14574,573 @@ Quieres guardar los cambios? Abrir archivo + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Archivo + + + &Edit + + + + &Window + &Ventana + + + &Help + &Ayuda + + + Menu + Menú + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Nombre: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Rotación + + + Angle: + + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Ancho + + + Length + Longitud + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + Margenes + + + Right: + Derecha: + + + Top: + + + + Left: + Izquierda: + + + Bottom: + + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + Control + + + Follow grainline + Seguir hilo de la tela + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Exportar + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Diseño + + + Name + Nombre + + + Description + Descripción + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + Escala + + + &Open + &Abrir + + + Ctrl+O + Ctrl+O + + + &Save + &Guardar + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + &Salida + + + Ctrl+Q + + + + &New + &Nuevo + + + Ctrl+N + + + + About &Qt + Sobre &Qt + + + About &Puzzle + + + + Zoom in + Aumentar zoom + + + Zoom out + Alejar zoom + + + Zoom 1:1 + + + + Zoom fit best + Encajar a mejor zoom + + + Zoom sheet + + + + Preferences + Preferencias + + + File '%1' doesn't exist! + ¡El archivo '%1' no existe! + + + File error. + Error en archivo. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centímetros + + + Millimiters + Milímetros + + + Inches + Pulgadas + + + Scale: + Escala: + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + sólo lectura + + + Cannot read settings from a malformed .INI file. + No se puede leer la configuración desde un archivo .INI deforme. + + + Cannot save settings. Access denied. + No se puede guardar configuración. Acceso denegado. + + + Failed to open file, is it writable? + + + + &New Window + &Nueva Ventana + + + Layout files + + + + Open file + Abrir archivo + + + Could not save the file + + + + layout + + + + Save as + Guardar como + + + Failed to lock. This file already opened in another window. + + + + Could not save file + + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + + Raw Layout files + + + + About Qt + Sobre Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + + + + Legal + Legal + + + Tabloid + Tabloide + + + Roll 24in + Rollo 44 pulg {72i?} {24i?} + + + Roll 30in + Rollo 44 pulg {72i?} {30i?} + + + Roll 36in + Rollo 44 pulg {72i?} {36i?} + + + Roll 42in + Rollo 44 pulg {72i?} {42i?} + + + Roll 44in + Rollo 44 pulg {72i?} {44i?} + + + Roll 48in + Rollo 44 pulg {48 i?} + + + Roll 62in + Rollo 44 pulg {62i?} + + + Roll 72in + Rollo 44 pulg {72i?} + + + Custom + Personalizado + + + + VPTileFactory + + Grid ( %1 , %2 ) + Cuadricula ( %1 , %2 ) + + + Page %1 of %2 + Pagina %1 de %2 + + VPattern @@ -14495,6 +15429,10 @@ Quieres guardar los cambios? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. Valor para medida final '%1' es infinito o no es un numero. Por favor, revise sus cálculos. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14757,6 +15695,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° Error calculando el punto '%1'. No hay intersección con la curva '%2' y el eje a través del punto '%3' con el angulo %4° + + Length + Longitud + + + Angle + + + + Label + Etiqueta + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15632,6 +16590,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection Error calculando el punto '%1'. Las curvas '%2' y '%3' no tienen punto de intersección + + Label + Etiqueta + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_fi_FI.ts b/share/translations/valentina_fi_FI.ts index 5810d5847..02506f067 100644 --- a/share/translations/valentina_fi_FI.ts +++ b/share/translations/valentina_fi_FI.ts @@ -1072,6 +1072,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4286,6 +4294,10 @@ Apply settings anyway? Label language: + + Passmark length: + + DialogPatternXmlEdit @@ -5395,6 +5407,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -5422,6 +5450,28 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Asetukset + + + Paths + Polut + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -7475,7 +7525,7 @@ Haluatko tallentaa muutokset? This file already opened in another window. - Tämä tiedosto on jo avattu toiseen ikkunaan. + Tämä tiedosto on jo avattu toiseen ikkunaan. Wrong units. @@ -7793,30 +7843,6 @@ Haluatko tallentaa muutokset? Don't Save - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Point intersection curves @@ -7933,18 +7959,6 @@ Haluatko tallentaa muutokset? Select main path objects clockwise. - - The document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -8357,10 +8371,6 @@ Haluatko tallentaa muutokset? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -8409,6 +8419,10 @@ Haluatko tallentaa muutokset? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -9013,6 +9027,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + + + + Language + Kieli + + + GUI language: + + + + Toolbar + + + + The text appears under the icon (recommended for beginners). + + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + + + + Paths that Valentina uses + + + + Type + Tyyppi + + + Path + Polku + + + Default + Oletus + + + Edit + Muokkaa + + + Open Directory + Avaa kansio + + + My Individual Measurements + + + + My Multisize Measurements + + + + My Patterns + + + + My Templates + + + + My Layouts + + + QCoreApplication @@ -9364,6 +9483,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QmuParser @@ -9864,7 +9995,7 @@ This option will take an affect after restart. untitled - nimetön + nimetön Unsaved changes @@ -10038,30 +10169,6 @@ Do you want to save your changes? Don't Save - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Export to CSV @@ -10086,18 +10193,6 @@ Do you want to save your changes? All files - - The measurements document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -10226,10 +10321,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -11120,6 +11211,10 @@ Do you want to save your changes? My Patterns + + My Layouts + + TogglePieceForceForbidFlipping @@ -11391,6 +11486,50 @@ Do you want to save your changes? Export to CSV + + The measurements document has no write permissions. + + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + + + + Locking file + + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + This file already opened in another window. + Tämä tiedosto on jo avattu toiseen ikkunaan. + + + The lock file could not be created, for lack of permissions. + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + + VAbstractNode @@ -12032,6 +12171,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -12330,6 +12497,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 Tiedoston '%1' luonti epäonnistui! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -12504,6 +12683,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + Jäsentämis virhe tiedostossa. Ohjelma lopetetaan. + + + Error bad id. Program will be terminated. + Väärä id. Ohjelma lopetetaan. + + + Error can't convert value. Program will be terminated. + Arvoa ei voi muuttaa. Ohjelma lopetetaan. + + + Error empty parameter. Program will be terminated. + Tyhjä parametri. Ohjelma lopetetaan. + + + Error wrong id. Program will be terminated. + Väärä id. Ohjelma lopetetaan. + + + Something's wrong!! + Joku on vialla!! + + + Exception thrown: %1. Program will be terminated. + + + + Can't begin to listen for incoming connections on name '%1' + + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Poista + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Käännös versio: + + + This program is part of Valentina project. + + + + Check For Updates + + + + Cannot open your default browser + Oletus selaimen aukaiseminen epäonnistui + + + Build revision: %1 + + + + Built on %1 at %2 + Käännetty %3 klo %2 {1 ?} + + + Web site : %1 + Kotisivu: %1 + + VPE::VBoolProperty @@ -12526,6 +12813,573 @@ Do you want to save your changes? Avaa Tiedosto + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Tiedosto + + + &Edit + + + + &Window + + + + &Help + &Apua + + + Menu + + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Nmi: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + + + + Angle: + + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Leveys + + + Length + Pituus + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + + + + Top: + + + + Left: + + + + Bottom: + + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Sommittelu + + + Name + Nimi + + + Description + Kuvaus + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Avaa + + + Ctrl+O + + + + &Save + &Tallenna + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + L&opeta + + + Ctrl+Q + + + + &New + &Uusi + + + Ctrl+N + + + + About &Qt + Tietoja &Qt + + + About &Puzzle + + + + Zoom in + Tarkenna + + + Zoom out + Loitonna + + + Zoom 1:1 + + + + Zoom fit best + Tarkenna sopivasti + + + Zoom sheet + + + + Preferences + Asetukset + + + File '%1' doesn't exist! + + + + File error. + Tiedostovirhe. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + + + + Millimiters + + + + Inches + + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + + + + Layout files + + + + Open file + Avaa tiedosto + + + Could not save the file + + + + layout + + + + Save as + Talenna nimellä + + + Failed to lock. This file already opened in another window. + + + + Could not save file + Tiedostoa ei voitu tallentaa + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + + Raw Layout files + + + + About Qt + Tietoja Qt:stä + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + + + + Legal + + + + Tabloid + + + + Roll 24in + + + + Roll 30in + + + + Roll 36in + + + + Roll 42in + + + + Roll 44in + + + + Roll 48in + + + + Roll 62in + + + + Roll 72in + + + + Custom + + + + + VPTileFactory + + Grid ( %1 , %2 ) + + + + Page %1 of %2 + + + VPattern @@ -12814,6 +13668,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -13038,6 +13896,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Pituus + + + Angle + Kulma + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -13813,6 +14691,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_fr_FR.ts b/share/translations/valentina_fr_FR.ts index c22443b19..1fe8f6d7d 100644 --- a/share/translations/valentina_fr_FR.ts +++ b/share/translations/valentina_fr_FR.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4882,6 +4890,10 @@ Apply settings anyway? yyyy-MM-dd yyyy-MM-dd + + Passmark length: + + DialogPatternXmlEdit @@ -6067,6 +6079,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6094,6 +6122,28 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Configuration + + + Paths + Chemins + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -8303,7 +8353,7 @@ Voulez-vous sauvegarder les changements? This file already opened in another window. - Ce fichier est déjà ouvert dans une autre fenêtre. + Ce fichier est déjà ouvert dans une autre fenêtre. Wrong units. @@ -8756,27 +8806,27 @@ Voulez-vous sauvegarder les changements? Locking file - Verrouiller le fichier (en lecture seule) + Verrouiller le fichier (en lecture seule) This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Le fichier est déjà ouvert dans une autre fenêtre. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). + Le fichier est déjà ouvert dans une autre fenêtre. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Le fichier en lecture seule ne peut être créer par manque de permission. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). + Le fichier en lecture seule ne peut être créer par manque de permission. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Une erreur inconnue s'est produite, par exemple une partition pleine empêche d'écrire le fichier en lecture seule. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). + Une erreur inconnue s'est produite, par exemple une partition pleine empêche d'écrire le fichier en lecture seule. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). The lock file could not be created, for lack of permissions. - Le fichier en lecture seule ne peut être créer par manque de permission. + Le fichier en lecture seule ne peut être créer par manque de permission. Unknown error happened, for instance a full partition prevented writing out the lock file. - Une erreur inconnue s'est produite, par exemple une partition pleine empêche d'écrire le fichier en lecture seule. + Une erreur inconnue s'est produite, par exemple une partition pleine empêche d'écrire le fichier en lecture seule. Report Bug... @@ -8930,18 +8980,6 @@ Voulez-vous sauvegarder les changements? Select main path objects clockwise. - - The document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -9354,10 +9392,6 @@ Voulez-vous sauvegarder les changements? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -9406,6 +9440,10 @@ Voulez-vous sauvegarder les changements? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10102,6 +10140,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + Les options d'export ne peuvent être utilisé qu'avec un fichier d'entrée simple. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Formulaire + + + Language + Langue + + + GUI language: + Langue de l'interface: + + + Toolbar + Barre d'outils + + + The text appears under the icon (recommended for beginners). + + + + User Interface + Thème de l'interface + + + Activate dark mode + Mode nuit + + + Don't use the native file dialog + + + + dark mode + Mode nuit + + + + PuzzlePreferencesPathPage + + Form + Formulaire + + + Paths that Valentina uses + + + + Type + Type + + + Path + Chemin + + + Default + + + + Edit + + + + Open Directory + Ouvrir un dossier + + + My Individual Measurements + + + + My Multisize Measurements + + + + My Patterns + + + + My Templates + + + + My Layouts + + + QApplication @@ -10515,6 +10658,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11108,7 +11263,7 @@ This option will take an affect after restart. untitled - sans titre + sans titre <Empty> @@ -11345,27 +11500,27 @@ Voulez-vous enregistrer les changements? Locking file - Verrouiller le fichier (lecture seule) + Verrouiller le fichier (lecture seule) This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Le fichier est déjà ouvert dans une autre fenêtre. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). + Le fichier est déjà ouvert dans une autre fenêtre. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Le fichier en lecture seule ne peut être créer par manque de permission. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). + Le fichier en lecture seule ne peut être créer par manque de permission. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Une erreur inconnue s'est produite, par exemple une partition pleine empêche d'écrire le fichier en lecture seule. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). + Une erreur inconnue s'est produite, par exemple une partition pleine empêche d'écrire le fichier en lecture seule. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). The lock file could not be created, for lack of permissions. - Le fichier en lecture seule ne peut être créer par manque de permission. + Le fichier en lecture seule ne peut être créer par manque de permission. Unknown error happened, for instance a full partition prevented writing out the lock file. - Une erreur inconnue s'est produite, par exemple une partition pleine empêche d'écrire le fichier en lecture seule. + Une erreur inconnue s'est produite, par exemple une partition pleine empêche d'écrire le fichier en lecture seule. Export to CSV @@ -11411,18 +11566,6 @@ Voulez-vous enregistrer les changements? All files Tous les fichiers - - The measurements document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -11551,10 +11694,6 @@ Voulez-vous enregistrer les changements? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -12501,6 +12640,10 @@ Voulez-vous enregistrer les changements? My Patterns + + My Layouts + + ToggleDetailInLayout @@ -12782,6 +12925,50 @@ Voulez-vous enregistrer les changements? Export to CSV Exporter vers CVS + + The measurements document has no write permissions. + + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + + + + Locking file + + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + Le fichier est déjà ouvert dans une autre fenêtre. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + Le fichier en lecture seule ne peut être créer par manque de permission. Ignorer pour continuer (déconseillé car pouvant causer une corruption de données). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + This file already opened in another window. + Ce fichier est déjà ouvert dans une autre fenêtre. + + + The lock file could not be created, for lack of permissions. + Le fichier en lecture seule ne peut être créer par manque de permission. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Une erreur inconnue s'est produite, par exemple une partition pleine empêche d'écrire le fichier en lecture seule. + VAbstractNode @@ -13559,6 +13746,34 @@ Voulez-vous enregistrer les changements? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -13860,6 +14075,18 @@ Voulez-vous enregistrer les changements? Creating file '%1' failed! %2 Création du fichier '%1' A échoué ! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14034,6 +14261,114 @@ Voulez-vous enregistrer les changements? + + VPApplication + + Error parsing file. Program will be terminated. + Erreur d'interprétation du fichier. Fin du programme. + + + Error bad id. Program will be terminated. + Erreur d'identifiant. Fin du programme. + + + Error can't convert value. Program will be terminated. + Erreur : valeur non convertissable. Fin du programme. + + + Error empty parameter. Program will be terminated. + Erreur : paramètre vide. Fin du programme. + + + Error wrong id. Program will be terminated. + Erreur : mauvais identifiant. Fin du programme. + + + Something's wrong!! + + + + Exception thrown: %1. Program will be terminated. + + + + Can't begin to listen for incoming connections on name '%1' + Ne peut être à l'écoute des connexions entrantes de %1 + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Merci de choisir un fichier. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + + + + This program is part of Valentina project. + Ce programme fait partie du projet Valentina. + + + Check For Updates + Vérifier les Mises à Jour + + + Cannot open your default browser + Impossible d'ouvrir votre navigateur par défaut + + + Build revision: %1 + N° de version : %1 + + + Built on %1 at %2 + Compilé le %1 à %2 + + + Web site : %1 + Site web : %1 + + VPE::VBoolProperty @@ -14056,6 +14391,573 @@ Voulez-vous enregistrer les changements? Ouvrir fichier + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Fichier + + + &Edit + + + + &Window + + + + &Help + Aid&e + + + Menu + Menu + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Rotation + + + Angle: + Angle: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Largeur + + + Length + Longueur + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + Droite: + + + Top: + Haut: + + + Left: + Gauche: + + + Bottom: + Bas: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Exporter + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Plan de coupe + + + Name + Nom + + + Description + Description du patron + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Ouvrir + + + Ctrl+O + + + + &Save + &Sauver + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + &Quitter + + + Ctrl+Q + + + + &New + &Nouveau + + + Ctrl+N + + + + About &Qt + À propos de &Qt + + + About &Puzzle + + + + Zoom in + Zoom avant + + + Zoom out + Zoom arrière + + + Zoom 1:1 + + + + Zoom fit best + Zoom optimal + + + Zoom sheet + + + + Preferences + Préférences + + + File '%1' doesn't exist! + Le fichier '%1' n'existe pas! + + + File error. + Erreur de fichier. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centimètres + + + Millimiters + Millimètres + + + Inches + Pouces + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + Lecture seule + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + &Nouvelle Fenêtre + + + Layout files + + + + Open file + Ouvrir fichier + + + Could not save the file + + + + layout + + + + Save as + Enregistrer sous + + + Failed to lock. This file already opened in another window. + Impossible à verrouiller. Le fichier est déjà ouvert dans une autre fenêtre. + + + Could not save file + + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Impossible à verrouiller. Le fichier est déjà ouvert dans une autre fenêtre. cela arrive quand 2 copie du programme, tournent. + + + Raw Layout files + + + + About Qt + À propos de Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Lettre + + + Legal + Légal + + + Tabloid + + + + Roll 24in + Roulleau 24 pouces + + + Roll 30in + Rouleau de 30po + + + Roll 36in + Rouleau de 36po + + + Roll 42in + Rouleau de 42po + + + Roll 44in + Rouleau de 44po + + + Roll 48in + Rouleau de 44po {48i?} + + + Roll 62in + Rouleau de 44po {62i?} + + + Roll 72in + Rouleau de 44po {72i?} + + + Custom + Personnalisé + + + + VPTileFactory + + Grid ( %1 , %2 ) + + + + Page %1 of %2 + + + VPattern @@ -14344,6 +15246,10 @@ Voulez-vous enregistrer les changements? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14595,6 +15501,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Longueur + + + Angle + Angle + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15458,6 +16384,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_he_IL.ts b/share/translations/valentina_he_IL.ts index 3c2ae06a1..9f077cac1 100644 --- a/share/translations/valentina_he_IL.ts +++ b/share/translations/valentina_he_IL.ts @@ -805,6 +805,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -3731,6 +3739,10 @@ Apply settings anyway? Label language: + + Passmark length: + + DialogPiecePath @@ -4661,6 +4673,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -4688,6 +4716,28 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + + + + Paths + + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -6526,10 +6576,6 @@ Do you want to save your changes? Enter a new label for the pattern piece. - - This file already opened in another window. - - File error. @@ -6810,30 +6856,6 @@ Do you want to save your changes? Don't Save - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Point intersection curves @@ -6946,18 +6968,6 @@ Do you want to save your changes? Select main path objects clockwise. - - The document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -7370,10 +7380,6 @@ Do you want to save your changes? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -7422,6 +7428,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -7940,6 +7950,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + + + + Language + + + + GUI language: + + + + Toolbar + + + + The text appears under the icon (recommended for beginners). + + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + + + + Paths that Valentina uses + + + + Type + + + + Path + + + + Default + + + + Edit + + + + Open Directory + + + + My Individual Measurements + + + + My Multisize Measurements + + + + My Patterns + + + + My Templates + + + + My Layouts + + + QCoreApplication @@ -8287,6 +8402,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QmuParser @@ -8909,30 +9036,6 @@ Do you want to save your changes? Don't Save - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Export to CSV @@ -8957,18 +9060,6 @@ Do you want to save your changes? All files - - The measurements document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -9097,10 +9188,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -9251,6 +9338,10 @@ Do you want to save your changes? Restrict first dimension + + untitled + + TabGrainline @@ -9910,6 +10001,10 @@ Do you want to save your changes? My Patterns + + My Layouts + + TogglePieceForceForbidFlipping @@ -10155,6 +10250,50 @@ Do you want to save your changes? Export to CSV + + The measurements document has no write permissions. + + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + + + + Locking file + + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + This file already opened in another window. + + + + The lock file could not be created, for lack of permissions. + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + + VAbstractNode @@ -10792,6 +10931,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -11035,6 +11202,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -11209,6 +11388,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + + + + Error bad id. Program will be terminated. + + + + Error can't convert value. Program will be terminated. + + + + Error empty parameter. Program will be terminated. + + + + Error wrong id. Program will be terminated. + + + + Something's wrong!! + + + + Exception thrown: %1. Program will be terminated. + + + + Can't begin to listen for incoming connections on name '%1' + + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + למחוק + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + + + + This program is part of Valentina project. + + + + Check For Updates + + + + Cannot open your default browser + + + + Build revision: %1 + + + + Built on %1 at %2 + + + + Web site : %1 + + + VPE::VBoolProperty @@ -11231,6 +11518,573 @@ Do you want to save your changes? + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + + + + &Edit + + + + &Window + + + + &Help + + + + Menu + + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + + + + Angle: + + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + רוחב + + + Length + אורך + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + + + + Top: + + + + Left: + + + + Bottom: + + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + + + + Name + + + + Description + + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + + + + Ctrl+O + + + + &Save + + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + + + + Ctrl+Q + + + + &New + + + + Ctrl+N + + + + About &Qt + + + + About &Puzzle + + + + Zoom in + + + + Zoom out + + + + Zoom 1:1 + + + + Zoom fit best + + + + Zoom sheet + + + + Preferences + + + + File '%1' doesn't exist! + + + + File error. + + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + סנטימטרים + + + Millimiters + מילימטר + + + Inches + + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + + + + Layout files + + + + Open file + + + + Could not save the file + + + + layout + + + + Save as + שמירה בשם + + + Failed to lock. This file already opened in another window. + + + + Could not save file + + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + + Raw Layout files + + + + About Qt + + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + + + + Legal + + + + Tabloid + + + + Roll 24in + + + + Roll 30in + + + + Roll 36in + + + + Roll 42in + + + + Roll 44in + + + + Roll 48in + + + + Roll 62in + + + + Roll 72in + + + + Custom + + + + + VPTileFactory + + Grid ( %1 , %2 ) + + + + Page %1 of %2 + + + VPattern @@ -11500,6 +12354,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -11720,6 +12578,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + אורך + + + Angle + + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -12455,6 +13333,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_id_ID.ts b/share/translations/valentina_id_ID.ts index 067f2a493..6443c44f0 100644 --- a/share/translations/valentina_id_ID.ts +++ b/share/translations/valentina_id_ID.ts @@ -1016,6 +1016,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4030,6 +4038,10 @@ Apply settings anyway? Label language: + + Passmark length: + + DialogPiecePath @@ -4984,6 +4996,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -5010,6 +5038,27 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Konfigurasi + + + Paths + + + + Followed %n option(s) require restart to take effect: %1. + + + + + DialogRestrictDimension @@ -6864,10 +6913,6 @@ Apakah anda ingin menyimpan perubahan anda? Enter a new label for the pattern piece. - - This file already opened in another window. - - File error. @@ -7148,30 +7193,6 @@ Apakah anda ingin menyimpan perubahan anda? Don't Save - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Point intersection curves @@ -7284,18 +7305,6 @@ Apakah anda ingin menyimpan perubahan anda? Select main path objects clockwise. - - The document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -7708,10 +7717,6 @@ Apakah anda ingin menyimpan perubahan anda? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -7760,6 +7765,10 @@ Apakah anda ingin menyimpan perubahan anda? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -8278,6 +8287,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + + + + Language + Bahasa + + + GUI language: + + + + Toolbar + + + + The text appears under the icon (recommended for beginners). + + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + + + + Paths that Valentina uses + + + + Type + + + + Path + + + + Default + + + + Edit + + + + Open Directory + + + + My Individual Measurements + + + + My Multisize Measurements + + + + My Patterns + + + + My Templates + + + + My Layouts + + + QCoreApplication @@ -8625,6 +8739,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QmuParser @@ -9247,30 +9373,6 @@ Do you want to save your changes? Don't Save - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Export to CSV @@ -9295,18 +9397,6 @@ Do you want to save your changes? All files - - The measurements document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -9435,10 +9525,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -9589,6 +9675,10 @@ Do you want to save your changes? Restrict first dimension + + untitled + + TabGrainline @@ -10290,6 +10380,10 @@ Do you want to save your changes? My Patterns + + My Layouts + + TogglePieceForceForbidFlipping @@ -10535,6 +10629,50 @@ Do you want to save your changes? Export to CSV + + The measurements document has no write permissions. + + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + + + + Locking file + + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + This file already opened in another window. + + + + The lock file could not be created, for lack of permissions. + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + + VAbstractNode @@ -11176,6 +11314,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -11419,6 +11585,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -11593,6 +11771,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + + + + Error bad id. Program will be terminated. + + + + Error can't convert value. Program will be terminated. + + + + Error empty parameter. Program will be terminated. + + + + Error wrong id. Program will be terminated. + + + + Something's wrong!! + + + + Exception thrown: %1. Program will be terminated. + + + + Can't begin to listen for incoming connections on name '%1' + + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + hapus + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + + + + This program is part of Valentina project. + + + + Check For Updates + + + + Cannot open your default browser + Tidak dapat membuka peramban bawaan Anda + + + Build revision: %1 + + + + Built on %1 at %2 + Dibuat pada %3 at %2 {1 ?} + + + Web site : %1 + Situs web : %1 + + VPE::VBoolProperty @@ -11615,6 +11901,573 @@ Do you want to save your changes? + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + + + + &Edit + + + + &Window + + + + &Help + + + + Menu + + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + + + + Angle: + + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + lebar + + + Length + panjang + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + + + + Top: + + + + Left: + + + + Bottom: + + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + + + + Name + Nama + + + Description + + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + + + + Ctrl+O + + + + &Save + + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + + + + Ctrl+Q + + + + &New + + + + Ctrl+N + + + + About &Qt + + + + About &Puzzle + + + + Zoom in + + + + Zoom out + + + + Zoom 1:1 + + + + Zoom fit best + + + + Zoom sheet + + + + Preferences + + + + File '%1' doesn't exist! + + + + File error. + + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centimeter + + + Millimiters + Milimeter + + + Inches + Inchi + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + + + + Layout files + + + + Open file + Buka File + + + Could not save the file + + + + layout + + + + Save as + + + + Failed to lock. This file already opened in another window. + + + + Could not save file + + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + + Raw Layout files + + + + About Qt + + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + + + + Legal + + + + Tabloid + + + + Roll 24in + + + + Roll 30in + + + + Roll 36in + + + + Roll 42in + + + + Roll 44in + + + + Roll 48in + + + + Roll 62in + + + + Roll 72in + + + + Custom + + + + + VPTileFactory + + Grid ( %1 , %2 ) + + + + Page %1 of %2 + + + VPattern @@ -11884,6 +12737,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -12104,6 +12961,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + panjang + + + Angle + sudut + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -12851,6 +13728,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_it_IT.ts b/share/translations/valentina_it_IT.ts index f2c308af4..aaa749b27 100644 --- a/share/translations/valentina_it_IT.ts +++ b/share/translations/valentina_it_IT.ts @@ -1208,6 +1208,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4919,6 +4927,10 @@ Applicare la configurazione comunque? yyyy-MM-dd aaaa-MM-gg + + Passmark length: + + DialogPatternXmlEdit @@ -6104,6 +6116,22 @@ Applicare la configurazione comunque? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6131,6 +6159,28 @@ Applicare la configurazione comunque? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Configurazione + + + Paths + + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -8340,7 +8390,7 @@ Vuoi salvare i cambiamenti? This file already opened in another window. - Questo file è già aperto in un'altra finestra. + Questo file è già aperto in un'altra finestra. Wrong units. @@ -8793,27 +8843,27 @@ Vuoi salvare i cambiamenti? Locking file - File bloccato + File bloccato This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Questo file è già aperto in un'altra finestra. Ignora se vuoi continuare (non consigliato, può provocare un danneggiamento dei dati). + Questo file è già aperto in un'altra finestra. Ignora se vuoi continuare (non consigliato, può provocare un danneggiamento dei dati). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Il file bloccato non può essere creato, per mancanza di autorizzazione. Ignora se vuoi continuare (scelta non consigliata, può causare un danneggiamento dei dati). + Il file bloccato non può essere creato, per mancanza di autorizzazione. Ignora se vuoi continuare (scelta non consigliata, può causare un danneggiamento dei dati). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Si è verificato un errore sconosciuto, come ad esempio il fallimento di una partizione completa durante la trascrizione di un file bloccato. Ignora se vuoi continuare (scelta non consigliata, può causare un danneggiamento dei dati). + Si è verificato un errore sconosciuto, come ad esempio il fallimento di una partizione completa durante la trascrizione di un file bloccato. Ignora se vuoi continuare (scelta non consigliata, può causare un danneggiamento dei dati). The lock file could not be created, for lack of permissions. - Il file bloccato non può essere creato, per mancanza di autorizzazione. + Il file bloccato non può essere creato, per mancanza di autorizzazione. Unknown error happened, for instance a full partition prevented writing out the lock file. - Si è verificato un errore sconosciuto, come ad esempio il fallimento di una partizione completa durante la trascrizione di un file bloccato. + Si è verificato un errore sconosciuto, come ad esempio il fallimento di una partizione completa durante la trascrizione di un file bloccato. Report Bug... @@ -8969,15 +9019,11 @@ Vuoi salvare i cambiamenti? The document has no write permissions. - Il documento è in sola lettura. - - - Cannot set permissions for %1 to writable. - + Il documento è in sola lettura. Could not save the file. - Impossibile salvare il file. + Impossibile salvare il file. Could not save the file @@ -9399,10 +9445,6 @@ Vuoi salvare i cambiamenti? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -9451,6 +9493,10 @@ Vuoi salvare i cambiamenti? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10168,6 +10214,111 @@ Questa opzione sarà effettiva dopo il riavvio del programma. Render di scena + + Puzzle + + Export options can be used with single input file only. + Le opzioni di esportazione posso venire utilizzate solo con file di input singoli. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + + + + Language + Lingua + + + GUI language: + Lingua di interfaccia: + + + Toolbar + + + + The text appears under the icon (recommended for beginners). + Il testo appare sotto l'icona. (raccomandato per i principianti). + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + + + + Paths that Valentina uses + + + + Type + Tipo + + + Path + Percorso + + + Default + Default + + + Edit + Modifica + + + Open Directory + Apri Cartella + + + My Individual Measurements + Le mie misure individuali + + + My Multisize Measurements + Le mie misure multitaglia + + + My Patterns + I miei modelli + + + My Templates + I miei Modelli + + + My Layouts + I miei Layout + + QApplication @@ -10581,6 +10732,18 @@ Questa opzione sarà effettiva dopo il riavvio del programma. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11174,7 +11337,7 @@ Questa opzione sarà effettiva dopo il riavvio del programma. untitled - senza titolo + senza titolo <Empty> @@ -11411,27 +11574,27 @@ Vuoi salvare le tue modifiche? Locking file - File bloccato + File bloccato This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Questo file è già aperto in un'altra finestra. Ignora se vuoi continuare (non consigliato, può provocare un danneggiamento dei dati). + Questo file è già aperto in un'altra finestra. Ignora se vuoi continuare (non consigliato, può provocare un danneggiamento dei dati). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Il file bloccato non può essere creato, per mancanza di autorizzazione. Ignora se vuoi continuare (scelta non consigliata, può causare un danneggiamento dei dati). + Il file bloccato non può essere creato, per mancanza di autorizzazione. Ignora se vuoi continuare (scelta non consigliata, può causare un danneggiamento dei dati). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Si è verificato un errore sconosciuto, come ad esempio il fallimento di una partizione completa durante la trascrizione di un file bloccato. Ignora se vuoi continuare (scelta non consigliata, può causare un danneggiamento dei dati). + Si è verificato un errore sconosciuto, come ad esempio il fallimento di una partizione completa durante la trascrizione di un file bloccato. Ignora se vuoi continuare (scelta non consigliata, può causare un danneggiamento dei dati). The lock file could not be created, for lack of permissions. - Il file bloccato non può essere creato, per mancanza di autorizzazione. + Il file bloccato non può essere creato, per mancanza di autorizzazione. Unknown error happened, for instance a full partition prevented writing out the lock file. - Si è verificato un errore sconosciuto, come ad esempio il fallimento di una partizione completa durante la trascrizione di un file bloccato. + Si è verificato un errore sconosciuto, come ad esempio il fallimento di una partizione completa durante la trascrizione di un file bloccato. Export to CSV @@ -11479,15 +11642,11 @@ Vuoi salvare le tue modifiche? The measurements document has no write permissions. - Il file di misure è in sola lettura. - - - Cannot set permissions for %1 to writable. - + Il file di misure è in sola lettura. Could not save the file. - Impossibile salvare il file. + Impossibile salvare il file. Could not save the file @@ -11617,10 +11776,6 @@ Vuoi salvare le tue modifiche? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -12567,6 +12722,10 @@ Vuoi salvare le tue modifiche? My Patterns I miei modelli + + My Layouts + I miei Layout + ToggleDetailInLayout @@ -12848,6 +13007,50 @@ Vuoi salvare le tue modifiche? Export to CSV Esporta in CSV + + The measurements document has no write permissions. + Il file di misure è in sola lettura. + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + Impossibile salvare il file. + + + Locking file + File bloccato + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + Questo file è già aperto in un'altra finestra. Ignora se vuoi continuare (non consigliato, può provocare un danneggiamento dei dati). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + Il file bloccato non può essere creato, per mancanza di autorizzazione. Ignora se vuoi continuare (scelta non consigliata, può causare un danneggiamento dei dati). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Si è verificato un errore sconosciuto, come ad esempio il fallimento di una partizione completa durante la trascrizione di un file bloccato. Ignora se vuoi continuare (scelta non consigliata, può causare un danneggiamento dei dati). + + + This file already opened in another window. + Questo file è già aperto in un'altra finestra. + + + The lock file could not be created, for lack of permissions. + Il file bloccato non può essere creato, per mancanza di autorizzazione. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Si è verificato un errore sconosciuto, come ad esempio il fallimento di una partizione completa durante la trascrizione di un file bloccato. + VAbstractNode @@ -13597,6 +13800,34 @@ Vuoi salvare le tue modifiche? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -13861,6 +14092,18 @@ Vuoi salvare le tue modifiche? Creating file '%1' failed! %2 Creare file '%1' respinto! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14035,6 +14278,114 @@ Vuoi salvare le tue modifiche? + + VPApplication + + Error parsing file. Program will be terminated. + + + + Error bad id. Program will be terminated. + + + + Error can't convert value. Program will be terminated. + Errore impossibile convertire errore. Il programma verrà interrotto. + + + Error empty parameter. Program will be terminated. + Errore parametro vuoto. Il programma verrà interrotto. + + + Error wrong id. Program will be terminated. + Errore id scorretto. Il programma verrà interrotto. + + + Something's wrong!! + Qualcosa non va!! + + + Exception thrown: %1. Program will be terminated. + Eccezione generata:%1. Il programma verrà terminato. + + + Can't begin to listen for incoming connections on name '%1' + Impossibile iniziare a registrare le connessioni in entrata sul nome '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Elimina + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Costruisci revisione: + + + This program is part of Valentina project. + Questo programma è parte del progetto Valentina. + + + Check For Updates + Controlla gli aggiornamenti + + + Cannot open your default browser + Non è possibile aprire il browser predefinito + + + Build revision: %1 + Costruisci revisione: %1 + + + Built on %1 at %2 + Compilato il %1 alle %2 + + + Web site : %1 + Sito web : %1 + + VPE::VBoolProperty @@ -14057,6 +14408,573 @@ Vuoi salvare le tue modifiche? Apri file + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &File + + + &Edit + + + + &Window + + + + &Help + &Help + + + Menu + Menu + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Nome: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Rotazione + + + Angle: + Angolo: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Larghezza + + + Length + Lunghezza + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + Margini + + + Right: + Destra: + + + Top: + Top: + + + Left: + Sinistra: + + + Bottom: + Fondo: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + Rispetta drittofilo + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Esporta + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Layout + + + Name + + + + Description + Descrizione + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Apri + + + Ctrl+O + + + + &Save + &Salva + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + U&scita + + + Ctrl+Q + + + + &New + &Nuovo + + + Ctrl+N + + + + About &Qt + About &Qt + + + About &Puzzle + + + + Zoom in + Ingrandire + + + Zoom out + Rimpicciolire + + + Zoom 1:1 + + + + Zoom fit best + Zoom migliore adattamento + + + Zoom sheet + + + + Preferences + Preferenze + + + File '%1' doesn't exist! + File '%1' non esiste! + + + File error. + + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centimetri + + + Millimiters + Millimetri + + + Inches + Pollici + + + Scale: + Scala: + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + Sola lettura + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + Impossibile salvare le configurazioni. Accesso negato. + + + Failed to open file, is it writable? + + + + &New Window + &New Window + + + Layout files + + + + Open file + Apri il file + + + Could not save the file + Impossibile salvare il file + + + layout + + + + Save as + Salva come + + + Failed to lock. This file already opened in another window. + Impossibile bloccare. Questo file è già aperto in un'altra finestra. + + + Could not save file + Impossibile salvare il file + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Impossibile bloccare. Questo file è già aperto in un altra finestra. Previsti conflitti quando 2 copie del programma sono in esecuzione. + + + Raw Layout files + + + + About Qt + About Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Lettera + + + Legal + Legale + + + Tabloid + + + + Roll 24in + Rotolo 24pollici + + + Roll 30in + Rotolo 30pollici + + + Roll 36in + Rotolo 36pollici + + + Roll 42in + Rotolo 42pollici + + + Roll 44in + Rotolo 44pollici + + + Roll 48in + Rotolo 44pollici {48i?} + + + Roll 62in + Rotolo 44pollici {62i?} + + + Roll 72in + Rotolo 44pollici {72i?} + + + Custom + Personalizzato + + + + VPTileFactory + + Grid ( %1 , %2 ) + Griglia ( %1 , %2 ) + + + Page %1 of %2 + Pagina %1 of %2 + + VPattern @@ -14345,6 +15263,10 @@ Vuoi salvare le tue modifiche? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14599,6 +15521,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Lunghezza + + + Angle + + + + Label + Etichetta + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15466,6 +16408,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection Errore di calcolazione del punto '%1'. Curve '%2' e '%3' non hanno alcun punto d'intersezione + + Label + Etichetta + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_nl_NL.ts b/share/translations/valentina_nl_NL.ts index 2fd2207f4..a584b5574 100644 --- a/share/translations/valentina_nl_NL.ts +++ b/share/translations/valentina_nl_NL.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4943,6 +4951,10 @@ Toch de instellingen aanpassen? yyyy-MM-dd yyyy-MM-dd + + Passmark length: + + DialogPatternXmlEdit @@ -6128,6 +6140,22 @@ Toch de instellingen aanpassen? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6155,6 +6183,28 @@ Toch de instellingen aanpassen? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + + + + Paths + Paden + + + Followed %n option(s) require restart to take effect: %1. + + Volgende optie vereist een herstart om geactiveerd te worden: %1. + Volgende %n optie(s) vereisen een herstart om geactiveerd te worden: %1. + + + DialogRestrictDimension @@ -8363,7 +8413,7 @@ Do you want to save your changes? This file already opened in another window. - Dit bestand is al geopend in een ander venster. + Dit bestand is al geopend in een ander venster. Wrong units. @@ -8816,27 +8866,27 @@ Do you want to save your changes? Locking file - Vergrendelingsbestand + Vergrendelingsbestand This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Dit bestand is al geopend in een ander venster. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). + Dit bestand is al geopend in een ander venster. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Het vergrendelingsbestand kon niet worden aangemaakt, wegens het ontbreken van machtigingen. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). + Het vergrendelingsbestand kon niet worden aangemaakt, wegens het ontbreken van machtigingen. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Onbekende fout gebeurd, bijvoorbeeld een volledige partitie voorkomt het schrijven uit het vergrendelingsbestand. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). + Onbekende fout gebeurd, bijvoorbeeld een volledige partitie voorkomt het schrijven uit het vergrendelingsbestand. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). The lock file could not be created, for lack of permissions. - Het vergrendelingsbestand kon niet worden aangemaakt, wegens het ontbreken van machtigingen. + Het vergrendelingsbestand kon niet worden aangemaakt, wegens het ontbreken van machtigingen. Unknown error happened, for instance a full partition prevented writing out the lock file. - Onbekende fout gebeurd, bijvoorbeeld een volledige partitie voorkomt het schrijven uit het vergrendelingsbestand. + Onbekende fout gebeurd, bijvoorbeeld een volledige partitie voorkomt het schrijven uit het vergrendelingsbestand. Report Bug... @@ -8996,15 +9046,15 @@ Do you want to save your changes? The document has no write permissions. - Dit document kan niet gewijzigd worden. + Dit document kan niet gewijzigd worden. Cannot set permissions for %1 to writable. - Kan geen schrijftoestemming geven voor %1. + Kan geen schrijftoestemming geven voor %1. Could not save the file. - Het bestand is niet bewaard. + Het bestand is niet bewaard. Could not save the file @@ -9432,7 +9482,7 @@ Do you want to save your changes? Do you want to change the premissions? - Wens je de rechten te veranderen? + Wens je de rechten te veranderen? Unable to prepare raw layout data. @@ -9482,6 +9532,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10219,6 +10273,111 @@ Deze optie wordt actief na een herstart.. scene weergeven + + Puzzle + + Export options can be used with single input file only. + Exportopties kunnen worden gebruikt met slechts één invoerbestand. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Vorm + + + Language + Taal + + + GUI language: + GUI taal: + + + Toolbar + Werkbalk + + + The text appears under the icon (recommended for beginners). + De tekst verschijnt onder het icoon. (Aanbevolen voor beginners). + + + User Interface + Gebruikers Interface + + + Activate dark mode + Activeer donkere modus + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + Vorm + + + Paths that Valentina uses + Pad welke Valentina gebruikt + + + Type + Soort + + + Path + Pad + + + Default + + + + Edit + Verander + + + Open Directory + + + + My Individual Measurements + Mijn Individuele Maten + + + My Multisize Measurements + Mijn Multimaten Maten + + + My Patterns + Mijn patronen + + + My Templates + Mijn Sjablonen + + + My Layouts + Mijn opmaak + + QApplication @@ -10632,6 +10791,18 @@ Deze optie wordt actief na een herstart.. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11225,7 +11396,7 @@ Deze optie wordt actief na een herstart.. untitled - zonder titel + zonder titel <Empty> @@ -11462,27 +11633,27 @@ Wil je deze veranderingen opslaan? Locking file - Vergrendelingsbestand + Vergrendelingsbestand This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Dit bestand is al geopend in een ander venster. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). + Dit bestand is al geopend in een ander venster. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Het vergrendelingsbestand kon niet worden aangemaakt, wegens het ontbreken van machtigingen. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). + Het vergrendelingsbestand kon niet worden aangemaakt, wegens het ontbreken van machtigingen. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Onbekende fout gebeurd, bijvoorbeeld een volledige partitie voorkomt het schrijven uit het vergrendelingsbestand. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). + Onbekende fout gebeurd, bijvoorbeeld een volledige partitie voorkomt het schrijven uit het vergrendelingsbestand. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). The lock file could not be created, for lack of permissions. - Het vergrendelingsbestand kon niet worden aangemaakt, wegens het ontbreken van machtigingen. + Het vergrendelingsbestand kon niet worden aangemaakt, wegens het ontbreken van machtigingen. Unknown error happened, for instance a full partition prevented writing out the lock file. - Onbekende fout gebeurd, bijvoorbeeld een volledige partitie voorkomt het schrijven uit het vergrendelingsbestand. + Onbekende fout gebeurd, bijvoorbeeld een volledige partitie voorkomt het schrijven uit het vergrendelingsbestand. Export to CSV @@ -11530,15 +11701,15 @@ Wil je deze veranderingen opslaan? The measurements document has no write permissions. - Het maten-dokument heeft geen schrijftoestemming. + Het maten-dokument heeft geen schrijftoestemming. Cannot set permissions for %1 to writable. - Kan geen toestemming geven voor %1 om te wijzigen. + Kan geen toestemming geven voor %1 om te wijzigen. Could not save the file. - Het bestand is niet bewaard. + Het bestand is niet bewaard. Could not save the file @@ -11682,7 +11853,7 @@ Wil je deze veranderingen opslaan? Do you want to change the premissions? - Wens je de rechten te veranderen? + Wens je de rechten te veranderen? Cannot read settings from a malformed .INI file. @@ -12649,6 +12820,10 @@ Wil je deze veranderingen opslaan? My Patterns Mijn patronen + + My Layouts + Mijn opmaak + ToggleDetailInLayout @@ -12935,6 +13110,50 @@ Wil je deze veranderingen opslaan? Export to CSV Exporteer naar CSV + + The measurements document has no write permissions. + Het maten-dokument heeft geen schrijftoestemming. + + + Do you want to change the premissions? + Wens je de rechten te veranderen? + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + Het bestand is niet bewaard. + + + Locking file + Vergrendelingsbestand + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + Dit bestand is al geopend in een ander venster. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + Het vergrendelingsbestand kon niet worden aangemaakt, wegens het ontbreken van machtigingen. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Onbekende fout gebeurd, bijvoorbeeld een volledige partitie voorkomt het schrijven uit het vergrendelingsbestand. Negeren als u wilt doorgaan (niet aanbevolen, kan leiden tot gegevensbeschadiging). + + + This file already opened in another window. + Dit bestand is al geopend in een ander venster. + + + The lock file could not be created, for lack of permissions. + Het vergrendelingsbestand kon niet worden aangemaakt, wegens het ontbreken van machtigingen. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Onbekende fout gebeurd, bijvoorbeeld een volledige partitie voorkomt het schrijven uit het vergrendelingsbestand. + VAbstractNode @@ -13724,6 +13943,34 @@ Wil je deze veranderingen opslaan? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -14026,6 +14273,18 @@ Wil je deze veranderingen opslaan? Creating file '%1' failed! %2 Bestand '%1' maken heeft gefaald! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14200,6 +14459,114 @@ Wil je deze veranderingen opslaan? Vierkant merkteken + + VPApplication + + Error parsing file. Program will be terminated. + Fout bij opsplitsen bestand. Programma wordt beëindigd. + + + Error bad id. Program will be terminated. + Fout slechte ID. Programma wordt beëindigd. + + + Error can't convert value. Program will be terminated. + Fout kan waarde niet omzetten. Programma wordt beëindigd. + + + Error empty parameter. Program will be terminated. + Fout lege parameter. Programma wordt beëindigd. + + + Error wrong id. Program will be terminated. + Fout verkeerde ID. Programma wordt beëindigd. + + + Something's wrong!! + Er gaat iets verkeerd!! + + + Exception thrown: %1. Program will be terminated. + Uitgeworpen uitzondering: %1. Programma wordt beëindigd. + + + Can't begin to listen for incoming connections on name '%1' + Kan niet beginnen met verwerken van inkomende connecties op naam '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Herziene uitgave gebouwd: + + + This program is part of Valentina project. + Dit programma is een deel van het Valentina project. + + + Check For Updates + + + + Cannot open your default browser + Kan uw standaard browser niet openen + + + Build revision: %1 + Herziene uitgave gebouwd: %1 + + + Built on %1 at %2 + Gebouwd op %1 op %2 + + + Web site : %1 + Website: %1 + + VPE::VBoolProperty @@ -14222,6 +14589,573 @@ Wil je deze veranderingen opslaan? Open bestand + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Bestand + + + &Edit + + + + &Window + &Venster + + + &Help + &Help + + + Menu + Menu + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Naam: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Rotatie + + + Angle: + Hoek: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Breedte + + + Length + Lengte + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + Marges + + + Right: + Rechts: + + + Top: + Bovenaan: + + + Left: + Links: + + + Bottom: + Onderaan: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + Controle + + + Follow grainline + Langs de recht-van-draad + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Export + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Opmaak + + + Name + Naam + + + Description + Beschrijving + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + Schaal + + + &Open + &Open + + + Ctrl+O + Ctrl+O + + + &Save + &Opslaan + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + E&xit + + + Ctrl+Q + + + + &New + &Nieuw + + + Ctrl+N + + + + About &Qt + Over &Qt + + + About &Puzzle + + + + Zoom in + Inzoomen + + + Zoom out + Uitzoomen + + + Zoom 1:1 + + + + Zoom fit best + Zoom naar best passend + + + Zoom sheet + + + + Preferences + Voorkeuren + + + File '%1' doesn't exist! + Bestand '%1' bestaat niet! + + + File error. + Bestandsfout. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centimeters + + + Millimiters + + + + Inches + Inches + + + Scale: + Schaal: + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + alleen lezen + + + Cannot read settings from a malformed .INI file. + Kan instellingen niet inlezen wegens een niet-conform .INI-bestand. + + + Cannot save settings. Access denied. + Kan instellingen niet opslaan. Toegang geweigerd. + + + Failed to open file, is it writable? + + + + &New Window + &Nieuw Venster + + + Layout files + + + + Open file + Open bestand + + + Could not save the file + Het bestand is niet bewaard + + + layout + + + + Save as + Opslaan als + + + Failed to lock. This file already opened in another window. + Afsluiten is mislukt. Dit bestand is al geopend in een ander venster. + + + Could not save file + Kon bestand niet opslaan + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Afsluiten is mislukt. Dit bestand is al geopend in een ander venster. Verwacht een conflict als 2 kopieën van het programma gaan lopen. + + + Raw Layout files + + + + About Qt + Over Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Letter + + + Legal + Legaal + + + Tabloid + Tablet + + + Roll 24in + Roll 44inch {72inch?} {24i?} + + + Roll 30in + Roll 44inch {72inch?} {30i?} + + + Roll 36in + Roll 44inch {72inch?} {36i?} + + + Roll 42in + Roll 44inch {72inch?} {42i?} + + + Roll 44in + Roll 44inch {72inch?} {44i?} + + + Roll 48in + Roll 44inch {48inch?} + + + Roll 62in + Roll 44inch {62inch?} + + + Roll 72in + Roll 44inch {72inch?} + + + Custom + Op maat + + + + VPTileFactory + + Grid ( %1 , %2 ) + Raster ( %1 , %2 ) + + + Page %1 of %2 + Pagina %1 van %2 + + VPattern @@ -14510,6 +15444,10 @@ Wil je deze veranderingen opslaan? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. Waarde voor de definitieve maten '%1' is oneindig of NaN. Controlleer uw berekeningen. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14772,6 +15710,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° Fout berekenen punt '%1'. Er is geen kruispunt met de kromme '%2' en de aslijn door punt '%3' met hoek %4° + + Length + Lengte + + + Angle + Hoek + + + Label + Label + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15647,6 +16605,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection Fout bij berekenen van punt '%1'. Krommen '%2' en '%3' hebben geen kruispunt + + Label + Label + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_pl_PL.ts b/share/translations/valentina_pl_PL.ts index 2df7c9edb..b81367ae8 100644 --- a/share/translations/valentina_pl_PL.ts +++ b/share/translations/valentina_pl_PL.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4522,6 +4530,10 @@ Apply settings anyway? Label language: Język etykiet: + + Passmark length: + + DialogPatternXmlEdit @@ -5555,6 +5567,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -5583,6 +5611,29 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + + + + Paths + Ścieżki + + + Followed %n option(s) require restart to take effect: %1. + + + + + + + DialogRestrictDimension @@ -7568,7 +7619,7 @@ Do you want to save your changes? This file already opened in another window. - Plik ten otwarty jest w innym oknie. + Plik ten otwarty jest w innym oknie. File error. @@ -7882,30 +7933,6 @@ Do you want to save your changes? Don't Save Nie zapisuj - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Point intersection curves @@ -8026,18 +8053,6 @@ Do you want to save your changes? Select main path objects clockwise. - - The document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -8450,10 +8465,6 @@ Do you want to save your changes? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -8502,6 +8513,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -9114,6 +9129,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + + + + Language + Język + + + GUI language: + Język interfejsu: + + + Toolbar + Pasek narzędzi + + + The text appears under the icon (recommended for beginners). + Wyświetl napisy pod ikonkami (zalecane dla początkujących). + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + + + + Paths that Valentina uses + Ścieżki używane przez program + + + Type + Typ + + + Path + Ścieżka + + + Default + Domyślny + + + Edit + Edytuj + + + Open Directory + Otwórz katalog + + + My Individual Measurements + Moje osobiste wymiary + + + My Multisize Measurements + + + + My Patterns + Moje wykroje + + + My Templates + Moje szablony + + + My Layouts + + + QApplication @@ -9483,6 +9603,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QmuParser @@ -10014,7 +10146,7 @@ This option will take an affect after restart. untitled - bez nazwy + bez nazwy <Empty> @@ -10220,30 +10352,6 @@ Do you want to save your changes? Don't Save Nie zapisuj - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Export to CSV Eksportuj do CSV @@ -10280,18 +10388,6 @@ Do you want to save your changes? All files Wszystkie pliki - - The measurements document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -10420,10 +10516,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -11366,6 +11458,10 @@ Do you want to save your changes? My Patterns Moje wykroje + + My Layouts + + TogglePieceForceForbidFlipping @@ -11631,6 +11727,50 @@ Do you want to save your changes? Export to CSV Eksportuj do CSV + + The measurements document has no write permissions. + + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + + + + Locking file + + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + This file already opened in another window. + Plik ten otwarty jest w innym oknie. + + + The lock file could not be created, for lack of permissions. + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + + VAbstractNode @@ -12272,6 +12412,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -12519,6 +12687,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -12693,6 +12873,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + + + + Error bad id. Program will be terminated. + + + + Error can't convert value. Program will be terminated. + + + + Error empty parameter. Program will be terminated. + + + + Error wrong id. Program will be terminated. + + + + Something's wrong!! + + + + Exception thrown: %1. Program will be terminated. + + + + Can't begin to listen for incoming connections on name '%1' + + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Usuń + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Rewizja: + + + This program is part of Valentina project. + Ten program jest częścią projektu Valentina. + + + Check For Updates + Sprawdź aktualizacje + + + Cannot open your default browser + Nie mogę otworzyć domyślnej przeglądarki + + + Build revision: %1 + Rewizja: %1 + + + Built on %1 at %2 + Zdudowano %1 o %2 + + + Web site : %1 + Strona www : %1 + + VPE::VBoolProperty @@ -12715,6 +13003,573 @@ Do you want to save your changes? Otwórz plik + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Plik + + + &Edit + + + + &Window + + + + &Help + P&omoc + + + Menu + + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Nazwa: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + + + + Angle: + Kąt: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Szerokość + + + Length + Długość + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + Marginesy + + + Right: + Prawy: + + + Top: + + + + Left: + Lewy: + + + Bottom: + + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Eksport + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Układ + + + Name + Nazwa + + + Description + Opis + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Otwórz + + + Ctrl+O + + + + &Save + &Save + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + + + + Ctrl+Q + + + + &New + &Nowy + + + Ctrl+N + + + + About &Qt + O &Qt + + + About &Puzzle + + + + Zoom in + Przybliż + + + Zoom out + Oddal + + + Zoom 1:1 + + + + Zoom fit best + Dopasuj przybliżenie + + + Zoom sheet + + + + Preferences + Ustawienia + + + File '%1' doesn't exist! + Plik '%1' nie istnieje! + + + File error. + + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centymetry + + + Millimiters + Milimetry + + + Inches + Cale + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + tylko do odczytu + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + &Nowe okno + + + Layout files + + + + Open file + Otwórz plik + + + Could not save the file + + + + layout + + + + Save as + Zapisz jako + + + Failed to lock. This file already opened in another window. + + + + Could not save file + Nie można zapisać pliku + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + + Raw Layout files + + + + About Qt + O Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + + + + Legal + + + + Tabloid + + + + Roll 24in + Rolka 24 cale + + + Roll 30in + Rolka 30 cali + + + Roll 36in + Rolka 36 cali + + + Roll 42in + Rolka 42 cale + + + Roll 44in + Rolka 44 cale + + + Roll 48in + Rolka 44 cale {48i?} + + + Roll 62in + Rolka 44 cale {62i?} + + + Roll 72in + Rolka 44 cale {72i?} + + + Custom + + + + + VPTileFactory + + Grid ( %1 , %2 ) + + + + Page %1 of %2 + + + VPattern @@ -12995,6 +13850,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -13215,6 +14074,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Długość + + + Angle + Kąt + + + Label + Etykieta + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -13986,6 +14865,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + Etykieta + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_pt_BR.ts b/share/translations/valentina_pt_BR.ts index bcc6f64bc..999d92529 100644 --- a/share/translations/valentina_pt_BR.ts +++ b/share/translations/valentina_pt_BR.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4927,6 +4935,10 @@ Aplicar configurações de qualquer forma? yyyy-MM-dd yyyy-MM-dd + + Passmark length: + + DialogPatternXmlEdit @@ -6112,6 +6124,22 @@ Aplicar configurações de qualquer forma? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6139,6 +6167,28 @@ Aplicar configurações de qualquer forma? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Configuração + + + Paths + + + + Followed %n option(s) require restart to take effect: %1. + + + + + + DialogRestrictDimension @@ -8344,7 +8394,7 @@ Você quer salvar suas mudanças? This file already opened in another window. - Este arquivo já foi aberto em outra janela. + Este arquivo já foi aberto em outra janela. Wrong units. @@ -8797,27 +8847,27 @@ Você quer salvar suas mudanças? Locking file - Arquivo bloqueado + Arquivo bloqueado This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Este arquivo já foi aberto em outra janela. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). + Este arquivo já foi aberto em outra janela. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Não foi possível criar o arquivo blequado, por falta de permissões. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). + Não foi possível criar o arquivo blequado, por falta de permissões. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Ocorreu um erro desconhecido, como por exemplo, uma partição cheia impediu a gravação do arquivo bloqueado. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). + Ocorreu um erro desconhecido, como por exemplo, uma partição cheia impediu a gravação do arquivo bloqueado. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). The lock file could not be created, for lack of permissions. - Não foi possível criar o arquivo blequado, por falta de permissões. + Não foi possível criar o arquivo blequado, por falta de permissões. Unknown error happened, for instance a full partition prevented writing out the lock file. - Ocorreu um erro desconhecido, como por exemplo, uma partição cheia impediu a gravação do arquivo bloqueado. + Ocorreu um erro desconhecido, como por exemplo, uma partição cheia impediu a gravação do arquivo bloqueado. Report Bug... @@ -8977,15 +9027,15 @@ Você quer salvar suas mudanças? The document has no write permissions. - O documento não tem permissões para gravação. + O documento não tem permissões para gravação. Cannot set permissions for %1 to writable. - Não é possível definir permissões para %1 para gravável. + Não é possível definir permissões para %1 para gravável. Could not save the file. - Não foi possível salvar o arquivo. + Não foi possível salvar o arquivo. Could not save the file @@ -9407,10 +9457,6 @@ Você quer salvar suas mudanças? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -9459,6 +9505,10 @@ Você quer salvar suas mudanças? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10156,6 +10206,111 @@ Esta opção terá um efeito após o reinício. cena renderizada + + Puzzle + + Export options can be used with single input file only. + As opções de exportação podem ser usadas apenas com um único arquivo de entrada. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Forma + + + Language + Idioma + + + GUI language: + Linguagem GUI: + + + Toolbar + Barra de ferramentas + + + The text appears under the icon (recommended for beginners). + A legenda aparece sob o ícone. (recomendado para iniciantes). + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + Forma + + + Paths that Valentina uses + Caminhos que Valentina usa + + + Type + Tipo + + + Path + Caminho + + + Default + Padrão + + + Edit + Editar + + + Open Directory + Abrir Diretório + + + My Individual Measurements + Minhas Medidas Individuais + + + My Multisize Measurements + + + + My Patterns + Meus Moldes + + + My Templates + Meus modelos + + + My Layouts + Meus Layouts + + QApplication @@ -10569,6 +10724,18 @@ Esta opção terá um efeito após o reinício. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11162,7 +11329,7 @@ Esta opção terá um efeito após o reinício. untitled - sem título + sem título <Empty> @@ -11399,27 +11566,27 @@ Deseja salvar suas mudanças? Locking file - Arquivo bloqueado + Arquivo bloqueado This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Este arquivo já foi aberto em outra janela. Ignore se deseja continuar (não recomendado, pode causar uma corrupção de dados). + Este arquivo já foi aberto em outra janela. Ignore se deseja continuar (não recomendado, pode causar uma corrupção de dados). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Não foi possível criar o arquivo blequado, por falta de permissões. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). + Não foi possível criar o arquivo blequado, por falta de permissões. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Ocorreu um erro desconhecido, como por exemplo, uma partição cheia impediu a gravação do arquivo bloqueado. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). + Ocorreu um erro desconhecido, como por exemplo, uma partição cheia impediu a gravação do arquivo bloqueado. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). The lock file could not be created, for lack of permissions. - Não foi possível criar o arquivo blequado, por falta de permissões. + Não foi possível criar o arquivo blequado, por falta de permissões. Unknown error happened, for instance a full partition prevented writing out the lock file. - Ocorreu um erro desconhecido, como por exemplo, uma partição cheia impediu a gravação do arquivo bloqueado. + Ocorreu um erro desconhecido, como por exemplo, uma partição cheia impediu a gravação do arquivo bloqueado. Export to CSV @@ -11467,15 +11634,15 @@ Deseja salvar suas mudanças? The measurements document has no write permissions. - O documento de medidas não possui permissões de gravação. + O documento de medidas não possui permissões de gravação. Cannot set permissions for %1 to writable. - Não é possível definir permissões para %1 para gravável. + Não é possível definir permissões para %1 para gravável. Could not save the file. - Não foi possível salvar o arquivo. + Não foi possível salvar o arquivo. Could not save the file @@ -11617,10 +11784,6 @@ Deseja salvar suas mudanças? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -12567,6 +12730,10 @@ Deseja salvar suas mudanças? My Patterns Meus Moldes + + My Layouts + Meus Layouts + ToggleDetailInLayout @@ -12849,6 +13016,50 @@ Deseja salvar suas mudanças? Export to CSV Exportar para CSV + + The measurements document has no write permissions. + O documento de medidas não possui permissões de gravação. + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + Não é possível definir permissões para %1 para gravável. + + + Could not save the file. + Não foi possível salvar o arquivo. + + + Locking file + Arquivo bloqueado + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + Não foi possível criar o arquivo blequado, por falta de permissões. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Ocorreu um erro desconhecido, como por exemplo, uma partição cheia impediu a gravação do arquivo bloqueado. Ignore caso deseje continuar (não recomendado, pode causar uma corrupção de dados). + + + This file already opened in another window. + Este arquivo já foi aberto em outra janela. + + + The lock file could not be created, for lack of permissions. + Não foi possível criar o arquivo blequado, por falta de permissões. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + Ocorreu um erro desconhecido, como por exemplo, uma partição cheia impediu a gravação do arquivo bloqueado. + VAbstractNode @@ -13598,6 +13809,34 @@ Deseja salvar suas mudanças? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -13884,6 +14123,18 @@ Deseja salvar suas mudanças? Creating file '%1' failed! %2 Criação do arquivo '%1' falhou! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14058,6 +14309,114 @@ Deseja salvar suas mudanças? + + VPApplication + + Error parsing file. Program will be terminated. + Erro ao analisar o arquivo. O programa será encerrado. + + + Error bad id. Program will be terminated. + Erro de identidade incorreta. O programa será encerrado. + + + Error can't convert value. Program will be terminated. + Erro impossível converter o valor. O programa será encerrado. + + + Error empty parameter. Program will be terminated. + Erro de parâmetro vazio. O programa será encerrado. + + + Error wrong id. Program will be terminated. + Erro de identidate errada. O programa será encerrado. + + + Something's wrong!! + Algo está errado!! + + + Exception thrown: %1. Program will be terminated. + Exceção jogada: %1. O programa será encerrado. + + + Can't begin to listen for incoming connections on name '%1' + Não é possível começar a ouvir conexões recebidas no nome '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Por favor, forneça um arquivo de entrada. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Excluir + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Versão revista: + + + This program is part of Valentina project. + Este programa é parte do projero Valentina. + + + Check For Updates + Checar atualizações + + + Cannot open your default browser + Não é possível abrir seu navegador padrão + + + Build revision: %1 + Criar revisão: %1 + + + Built on %1 at %2 + Construído de %1 a %2 + + + Web site : %1 + Web site: %1 + + VPE::VBoolProperty @@ -14080,6 +14439,573 @@ Deseja salvar suas mudanças? Abrir arquivo + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Arquivo + + + &Edit + + + + &Window + + + + &Help + &Ajuda + + + Menu + Menu + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Nome: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Rotação + + + Angle: + Ângulo: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Largura + + + Length + Comprimento + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + Margens + + + Right: + Direita: + + + Top: + Topo: + + + Left: + Esquerda: + + + Bottom: + Base: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + Controle + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Exportar + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Layout + + + Name + Nome + + + Description + Descrição + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Abrir + + + Ctrl+O + + + + &Save + &Salvar + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + S&air + + + Ctrl+Q + + + + &New + &Novo + + + Ctrl+N + + + + About &Qt + Sobre &Qt + + + About &Puzzle + + + + Zoom in + Ampliar + + + Zoom out + Reduzir + + + Zoom 1:1 + + + + Zoom fit best + Ajustar à janela + + + Zoom sheet + + + + Preferences + Preferências + + + File '%1' doesn't exist! + O arquivo '%1' não existe! + + + File error. + Erro de arquivo. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + + + + Millimiters + + + + Inches + Polegadas + + + Scale: + Escala: + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + somente leitura + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + &Nova Janela + + + Layout files + + + + Open file + Abrir arquivo + + + Could not save the file + Não foi possível salvar o arquivo + + + layout + + + + Save as + Salvar como + + + Failed to lock. This file already opened in another window. + Falha ao bloquear. Este arquivo já foi aberto em outra janela. + + + Could not save file + Não foi possível salvar o arquivo + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Falha ao bloquear. Este arquivo já foi aberto em outra janela. Expectativa de colisão ao executar 2 cópias do programa. + + + Raw Layout files + + + + About Qt + Sobre Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Carta + + + Legal + Ofício + + + Tabloid + + + + Roll 24in + Rolo de 24" + + + Roll 30in + Rolo de 30" + + + Roll 36in + Rolo de 36" + + + Roll 42in + Rolo de 42" + + + Roll 44in + Rolo de 44" + + + Roll 48in + Rolo de 44" {481?} + + + Roll 62in + Rolo de 44" {62i?} + + + Roll 72in + Rolo de 44" {72i?} + + + Custom + Personalizado + + + + VPTileFactory + + Grid ( %1 , %2 ) + Grade ( %1, %2 ) + + + Page %1 of %2 + Página %1 de %2 + + VPattern @@ -14368,6 +15294,10 @@ Deseja salvar suas mudanças? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14626,6 +15556,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Comprimento + + + Angle + Ângulo + + + Label + Rótulo + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15501,6 +16451,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + Rótulo + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_ro_RO.ts b/share/translations/valentina_ro_RO.ts index 70a78abda..c940dc45d 100644 --- a/share/translations/valentina_ro_RO.ts +++ b/share/translations/valentina_ro_RO.ts @@ -1177,6 +1177,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4459,6 +4467,10 @@ Apply settings anyway? Label language: Limbă etichetă: + + Passmark length: + + DialogPatternXmlEdit @@ -5472,6 +5484,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -5500,6 +5528,29 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Configurație + + + Paths + Căi + + + Followed %n option(s) require restart to take effect: %1. + + + + + + + DialogRestrictDimension @@ -7527,10 +7578,6 @@ Do you want to save your changes? Enter a new label for the pattern piece. - - This file already opened in another window. - - Wrong units. Unități de măsură greșite. @@ -7827,30 +7874,6 @@ Do you want to save your changes? Don't Save - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Point intersection curves @@ -7967,18 +7990,6 @@ Do you want to save your changes? Select main path objects clockwise. - - The document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -8391,10 +8402,6 @@ Do you want to save your changes? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -8443,6 +8450,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -8976,6 +8987,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + + + + Language + Limba + + + GUI language: + Limbaj GUI: + + + Toolbar + Bară de instrumente + + + The text appears under the icon (recommended for beginners). + + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + + + + Paths that Valentina uses + + + + Type + + + + Path + + + + Default + + + + Edit + + + + Open Directory + + + + My Individual Measurements + + + + My Multisize Measurements + + + + My Patterns + + + + My Templates + + + + My Layouts + + + QCoreApplication @@ -9323,6 +9439,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QmuParser @@ -9993,30 +10121,6 @@ Do you want to save your changes? Don't Save - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Export to CSV @@ -10041,18 +10145,6 @@ Do you want to save your changes? All files - - The measurements document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -10181,10 +10273,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -10335,6 +10423,10 @@ Do you want to save your changes? Restrict first dimension + + untitled + + TabGrainline @@ -11071,6 +11163,10 @@ Do you want to save your changes? My Patterns + + My Layouts + + TogglePieceForceForbidFlipping @@ -11316,6 +11412,50 @@ Do you want to save your changes? Export to CSV + + The measurements document has no write permissions. + + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + + + + Locking file + + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + This file already opened in another window. + + + + The lock file could not be created, for lack of permissions. + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + + VAbstractNode @@ -11957,6 +12097,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -12204,6 +12372,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -12378,6 +12558,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + + + + Error bad id. Program will be terminated. + + + + Error can't convert value. Program will be terminated. + + + + Error empty parameter. Program will be terminated. + + + + Error wrong id. Program will be terminated. + + + + Something's wrong!! + + + + Exception thrown: %1. Program will be terminated. + + + + Can't begin to listen for incoming connections on name '%1' + + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Șterge + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Revizie Versiune: + + + This program is part of Valentina project. + Acest program face parte din proiectul Valentina. + + + Check For Updates + + + + Cannot open your default browser + Nu pot deschide browser-ul implicit + + + Build revision: %1 + Revizie Versiune: %1 + + + Built on %1 at %2 + Construit pe %1 la %2 + + + Web site : %1 + Site Web: %1 + + VPE::VBoolProperty @@ -12400,6 +12688,573 @@ Do you want to save your changes? + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + & Fișier + + + &Edit + + + + &Window + + + + &Help + & Ajutor + + + Menu + + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + + + + Angle: + Unghi: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Lățime + + + Length + Lungime + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + + + + Top: + + + + Left: + + + + Bottom: + + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + + + + Name + Nume + + + Description + Descriere + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Deschide + + + Ctrl+O + + + + &Save + &Salvează + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + E&xit + + + Ctrl+Q + + + + &New + & Nou + + + Ctrl+N + + + + About &Qt + Despre&Qt + + + About &Puzzle + + + + Zoom in + Mărește + + + Zoom out + Micșorează + + + Zoom 1:1 + + + + Zoom fit best + Zoom se potrivesc cel mai bine + + + Zoom sheet + + + + Preferences + Preferințe + + + File '%1' doesn't exist! + + + + File error. + Eroare de fișier. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Centimetrii + + + Millimiters + Milimetrii + + + Inches + Inci + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + + + + Layout files + + + + Open file + Deschide fișier + + + Could not save the file + + + + layout + + + + Save as + Salvează ca și + + + Failed to lock. This file already opened in another window. + + + + Could not save file + Fișierul nu a putut fii salvat + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + + Raw Layout files + + + + About Qt + Despre Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + + + + Legal + + + + Tabloid + + + + Roll 24in + + + + Roll 30in + + + + Roll 36in + + + + Roll 42in + + + + Roll 44in + + + + Roll 48in + + + + Roll 62in + + + + Roll 72in + + + + Custom + + + + + VPTileFactory + + Grid ( %1 , %2 ) + + + + Page %1 of %2 + + + VPattern @@ -12669,6 +13524,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -12889,6 +13748,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Lungime + + + Angle + Unghi + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -13648,6 +14527,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_ru_RU.ts b/share/translations/valentina_ru_RU.ts index 72aba45ab..557e00887 100644 --- a/share/translations/valentina_ru_RU.ts +++ b/share/translations/valentina_ru_RU.ts @@ -1212,6 +1212,14 @@ Notes Заметки + + Alias1: + Псевдоним 1: + + + Alias2: + Псевдоним 2: + DialogCutArc @@ -4931,6 +4939,10 @@ Apply settings anyway? yyyy-MM-dd гггг-мм-дд + + Passmark length: + + DialogPatternXmlEdit @@ -6116,6 +6128,22 @@ Apply settings anyway? Notes Заметки + + Curve 1 + + + + Alias1: + Псевдоним 1: + + + Alias2: + Псевдоним 2: + + + Curve 2 + + DialogPreferences @@ -6144,6 +6172,29 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Настройки + + + Paths + + + + Followed %n option(s) require restart to take effect: %1. + + Следующий %n параметр требует перезапуск, чтобы вступить в силу: %1. + Следующие %n параметры требуют перезапуск, чтобы вступить в силу: %1. + Следующие %n параметров требуют перезапуск, чтобы вступить в силу: %1. + + + DialogRestrictDimension @@ -8353,7 +8404,7 @@ Do you want to save your changes? This file already opened in another window. - Этот файл уже открыт в другом окне. + Этот файл уже открыт в другом окне. Wrong units. @@ -8806,27 +8857,27 @@ Do you want to save your changes? Locking file - Блокировка файла + Блокировка файла This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Этот файл уже открыт в другом окне. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). + Этот файл уже открыт в другом окне. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Файл блокировки не может быть создан из-за отсутствия разрешений. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). + Файл блокировки не может быть создан из-за отсутствия разрешений. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Произошла неизвестная ошибка, например, полностью заполненный раздел предотвращает запись файла блокировки. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). + Произошла неизвестная ошибка, например, полностью заполненный раздел предотвращает запись файла блокировки. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). The lock file could not be created, for lack of permissions. - Файл блокировки не может быть создан, не хватает прав доступа. + Файл блокировки не может быть создан, не хватает прав доступа. Unknown error happened, for instance a full partition prevented writing out the lock file. - Произошла неизвестная ошибка, например, полностью заполненный раздел предотвращает запись файла блокировки. + Произошла неизвестная ошибка, например, полностью заполненный раздел предотвращает запись файла блокировки. Report Bug... @@ -8986,15 +9037,15 @@ Do you want to save your changes? The document has no write permissions. - Документ не имеет прав на запись. + Документ не имеет прав на запись. Cannot set permissions for %1 to writable. - Невозможно установить разрешения для %1 для записи. + Невозможно установить разрешения для %1 для записи. Could not save the file. - Не удалось сохранить файл. + Не удалось сохранить файл. Could not save the file @@ -9418,7 +9469,7 @@ Do you want to save your changes? Do you want to change the premissions? - Вы хотите изменить настройки? + Вы хотите изменить настройки? Unable to prepare raw layout data. @@ -9468,6 +9519,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10205,6 +10260,111 @@ This option will take an affect after restart. рендер сцены + + Puzzle + + Export options can be used with single input file only. + Параметры экспорта могут использоваться только с одним входным файлом. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Форма + + + Language + Язык + + + GUI language: + Язык интерфейса: + + + Toolbar + Панель инструментов + + + The text appears under the icon (recommended for beginners). + Текст отображается под иконками (рекомендуется для начинающих). + + + User Interface + Пользовательский интерфейс + + + Activate dark mode + Активировать тёмный режим + + + Don't use the native file dialog + + + + dark mode + тёмный режим + + + + PuzzlePreferencesPathPage + + Form + Форма + + + Paths that Valentina uses + Пути, что использует Валентина + + + Type + Тип + + + Path + + + + Default + По умолчанию + + + Edit + + + + Open Directory + + + + My Individual Measurements + Мои индивидуальные мерки + + + My Multisize Measurements + Мои мультиразмерные мерки + + + My Patterns + Мои выкройки + + + My Templates + Мои шаблоны + + + My Layouts + Мои раскладки + + QApplication @@ -10618,6 +10778,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11211,7 +11383,7 @@ This option will take an affect after restart. untitled - безымянный + безымянный <Empty> @@ -11448,27 +11620,27 @@ Do you want to save your changes? Locking file - Файл блокировки + Файл блокировки This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Этот файл уже открыт в другом окне. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). + Этот файл уже открыт в другом окне. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Файл блокировки не может быть создан из-за отсутствия разрешений. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). + Файл блокировки не может быть создан из-за отсутствия разрешений. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Произошла неизвестная ошибка, например, полностью заполненный раздел предотвращает запись файла блокировки. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). + Произошла неизвестная ошибка, например, полностью заполненный раздел предотвращает запись файла блокировки. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). The lock file could not be created, for lack of permissions. - Файл блокировки не может быть создан, не хватает прав доступа. + Файл блокировки не может быть создан, не хватает прав доступа. Unknown error happened, for instance a full partition prevented writing out the lock file. - Произошла неизвестная ошибка, например, полностью заполненный раздел предотвращает запись lock файла. + Произошла неизвестная ошибка, например, полностью заполненный раздел предотвращает запись lock файла. Export to CSV @@ -11516,15 +11688,15 @@ Do you want to save your changes? The measurements document has no write permissions. - Документ мерок не имеет прав на запись. + Документ мерок не имеет прав на запись. Cannot set permissions for %1 to writable. - Невозможно установить разрешения для %1 для записи. + Невозможно установить разрешения для %1 для записи. Could not save the file. - Не удалось сохранить файл. + Не удалось сохранить файл. Could not save the file @@ -11668,7 +11840,7 @@ Do you want to save your changes? Do you want to change the premissions? - Вы хотите изменить настройки? + Вы хотите изменить настройки? Cannot read settings from a malformed .INI file. @@ -12631,6 +12803,10 @@ Do you want to save your changes? My Patterns Мои выкройки + + My Layouts + Мои раскладки + ToggleDetailInLayout @@ -12917,6 +13093,50 @@ Do you want to save your changes? Export to CSV Экспорт в CSV + + The measurements document has no write permissions. + Документ мерок не имеет прав на запись. + + + Do you want to change the premissions? + Вы хотите изменить настройки? + + + Cannot set permissions for %1 to writable. + Невозможно установить разрешения для %1 для записи. + + + Could not save the file. + Не удалось сохранить файл. + + + Locking file + + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + Этот файл уже открыт в другом окне. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + Файл блокировки не может быть создан из-за отсутствия разрешений. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + Произошла неизвестная ошибка, например, полностью заполненный раздел предотвращает запись файла блокировки. Игнорируйте, если вы хотите продолжить (не рекомендуется, может привести к повреждению данных). + + + This file already opened in another window. + Этот файл уже открыт в другом окне. + + + The lock file could not be created, for lack of permissions. + Файл блокировки не может быть создан, не хватает прав доступа. + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + + VAbstractNode @@ -13706,6 +13926,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -14008,6 +14256,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 Ошибка при создании файла «%1»! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14182,6 +14442,114 @@ Do you want to save your changes? П метка + + VPApplication + + Error parsing file. Program will be terminated. + + + + Error bad id. Program will be terminated. + + + + Error can't convert value. Program will be terminated. + + + + Error empty parameter. Program will be terminated. + + + + Error wrong id. Program will be terminated. + + + + Something's wrong!! + + + + Exception thrown: %1. Program will be terminated. + Программное исключение: %1. Работа программы будет завершена. + + + Can't begin to listen for incoming connections on name '%1' + Невозможно начать слушать входящие соединения с именем '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Удалить + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Ревизия: + + + This program is part of Valentina project. + Эта программа является частью проекта Valentina. + + + Check For Updates + Проверить наличие обновлений + + + Cannot open your default browser + Невозможно открыть браузер по умолчанию + + + Build revision: %1 + Ревизия: %1 + + + Built on %1 at %2 + Собрано %1 в %2 + + + Web site : %1 + + + VPE::VBoolProperty @@ -14204,6 +14572,573 @@ Do you want to save your changes? Открыть файл + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Файл + + + &Edit + + + + &Window + &Окно + + + &Help + &Помощь + + + Menu + Меню + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Поворот + + + Angle: + Угол: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Ширина + + + Length + Длина + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + Поля + + + Right: + Правое: + + + Top: + Верхнее: + + + Left: + Левое: + + + Bottom: + Нижнее: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + Контроль + + + Follow grainline + Раскладка по долевой + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Экспорт + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Раскладка + + + Name + + + + Description + Описание + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + Масштаб + + + &Open + &Открыть + + + Ctrl+O + Ctrl+O + + + &Save + &Сохранить + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + &Выход + + + Ctrl+Q + + + + &New + &Новый + + + Ctrl+N + + + + About &Qt + + + + About &Puzzle + + + + Zoom in + Увеличить + + + Zoom out + Уменьшить + + + Zoom 1:1 + + + + Zoom fit best + Уместить + + + Zoom sheet + + + + Preferences + + + + File '%1' doesn't exist! + Файл «%1» не существует! + + + File error. + Ошибка файла. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Сантиметры + + + Millimiters + Миллиметры + + + Inches + Дюймы + + + Scale: + Масштаб: + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + только для чтения + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + Невозможно сохранить настройки. Доступ запрещен. + + + Failed to open file, is it writable? + + + + &New Window + &Новое окно + + + Layout files + + + + Open file + Открыть файл + + + Could not save the file + Не удалось сохранить файл + + + layout + + + + Save as + Сохранить как + + + Failed to lock. This file already opened in another window. + Невозможно заблокировать. Этот файл уже открыт в другом окне. + + + Could not save file + + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + Невозможно заблокировать. Этот файл уже открыт в другом окне. Возможны конфликты, если одновременно запущено несколько экземпляров программы. + + + Raw Layout files + + + + About Qt + Про Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + + + + Legal + Legal + + + Tabloid + + + + Roll 24in + Рулон 24 дюйма + + + Roll 30in + Рулон 30 дюймов + + + Roll 36in + Рулон 36 дюймов + + + Roll 42in + Рулон 42 дюйма + + + Roll 44in + Рулон 44 дюйма + + + Roll 48in + Рулон 44 дюйма {не 48 ли?} + + + Roll 62in + Рулон 44 дюйма {не 62 ли?} + + + Roll 72in + Рулон 44 дюйма {не 72 ли?} + + + Custom + + + + + VPTileFactory + + Grid ( %1 , %2 ) + Сетка ( %1 , %2 ) + + + Page %1 of %2 + Страница %1 из %2 + + VPattern @@ -14492,6 +15427,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14754,6 +15693,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° Ошибка при вычислении точки '%1'. Между кривой '%2' и осью через точку '%3' с углом %4° нет пересечений + + Length + Длина + + + Angle + Угол + + + Label + Метка + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15629,6 +16588,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection Ошибка при вычислении точки '%1'. Кривые '%2' и '%3' не имеют точек пересечения + + Label + Метка + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_uk_UA.ts b/share/translations/valentina_uk_UA.ts index 9d99c9d66..161f1ddae 100644 --- a/share/translations/valentina_uk_UA.ts +++ b/share/translations/valentina_uk_UA.ts @@ -1212,6 +1212,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -4873,6 +4881,10 @@ Apply settings anyway? yyyy-MM-dd yyyy-MM-dd + + Passmark length: + + DialogPatternXmlEdit @@ -6058,6 +6070,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -6086,6 +6114,29 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + Налаштування + + + Paths + Шляхи + + + Followed %n option(s) require restart to take effect: %1. + + + + + + + DialogRestrictDimension @@ -8295,7 +8346,7 @@ Do you want to save your changes? This file already opened in another window. - Цей файл вже відкрито в іншому вікні. + Цей файл вже відкрито в іншому вікні. Wrong units. @@ -8748,27 +8799,27 @@ Do you want to save your changes? Locking file - Блокування файлу + Блокування файлу This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Цей файл вже відкритий в іншому вікні. Ігноруйте якщо ви хочете продовжити (не рекомендується, може призвести до втрати даних). + Цей файл вже відкритий в іншому вікні. Ігноруйте якщо ви хочете продовжити (не рекомендується, може призвести до втрати даних). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Не вдалося створити lock файл через відсутність дозволів. Ігноруйте якщо хочете продовжити (не рекомендується, може призвести до втрати даних). + Не вдалося створити lock файл через відсутність дозволів. Ігноруйте якщо хочете продовжити (не рекомендується, може призвести до втрати даних). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Сталася невідома помилка, наприклад переповнення розділу попередило запис lock файлу. Ігноруйте якщо бажаєте продовжити (не рекомендується, може призвести до втрати даних). + Сталася невідома помилка, наприклад переповнення розділу попередило запис lock файлу. Ігноруйте якщо бажаєте продовжити (не рекомендується, може призвести до втрати даних). The lock file could not be created, for lack of permissions. - Не вдалося створити lock файл через відсутність дозволів. + Не вдалося створити lock файл через відсутність дозволів. Unknown error happened, for instance a full partition prevented writing out the lock file. - Сталася невідома помилка, наприклад переповнення розділу попередило запис lock файлу. + Сталася невідома помилка, наприклад переповнення розділу попередило запис lock файлу. Report Bug... @@ -8928,15 +8979,15 @@ Do you want to save your changes? The document has no write permissions. - Документ не має прав на запис. + Документ не має прав на запис. Cannot set permissions for %1 to writable. - Не вдалося встановити права для %1 на запис. + Не вдалося встановити права для %1 на запис. Could not save the file. - Не вдалося зберегти файл. + Не вдалося зберегти файл. Could not save the file @@ -9350,10 +9401,6 @@ Do you want to save your changes? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -9402,6 +9449,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -10114,6 +10165,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + Параметри експорту можуть використовуватися тільки з одним вхідним файлом. + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + Форма + + + Language + Мова + + + GUI language: + Мова інтерфейсу: + + + Toolbar + Панель інструментів + + + The text appears under the icon (recommended for beginners). + Текст відображається під іконкою (рекомендується для новачків). + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + Форма + + + Paths that Valentina uses + Шляхи, що використовує Валентина + + + Type + Тип + + + Path + + + + Default + По замовчуванню + + + Edit + Редагувати + + + Open Directory + Відкрити директорію + + + My Individual Measurements + Мої індивідуальні мірки + + + My Multisize Measurements + Мої стандартні мірки + + + My Patterns + Мої лекала + + + My Templates + Мої шаблони + + + My Layouts + Мої розкладки + + QApplication @@ -10527,6 +10683,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QSaveFile @@ -11120,7 +11288,7 @@ This option will take an affect after restart. untitled - без імені + без імені <Empty> @@ -11357,27 +11525,27 @@ Do you want to save your changes? Locking file - Файл блокування + Файл блокування This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - Цей файл вже відкрит в іншому вікні. Ігноруйте, якщо бажаєте продовжити (не рекомендується, може призвести до пошкодження даних). + Цей файл вже відкрит в іншому вікні. Ігноруйте, якщо бажаєте продовжити (не рекомендується, може призвести до пошкодження даних). The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - Файл блокування не може бути створений через відсутність дозволу. Ігноруйте, якщо бажаєте продовжити (не рекомендується, може призвести до пошкодження даних). + Файл блокування не може бути створений через відсутність дозволу. Ігноруйте, якщо бажаєте продовжити (не рекомендується, може призвести до пошкодження даних). Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - Виникла невідома помилка, наприклад, повністю заповнений розділ заважає запису файлу блокування. Ігноруйте, якщо ви хочете продовжити (не рекомендується, може призвести до пошкодження даних). + Виникла невідома помилка, наприклад, повністю заповнений розділ заважає запису файлу блокування. Ігноруйте, якщо ви хочете продовжити (не рекомендується, може призвести до пошкодження даних). The lock file could not be created, for lack of permissions. - Файл блокування не може бути створений, не вистачає прав доступу. + Файл блокування не може бути створений, не вистачає прав доступу. Unknown error happened, for instance a full partition prevented writing out the lock file. - Виникла невідома помилка, наприклад, повністю заповнений розділ заважає запису файла блокування. + Виникла невідома помилка, наприклад, повністю заповнений розділ заважає запису файла блокування. Export to CSV @@ -11425,15 +11593,15 @@ Do you want to save your changes? The measurements document has no write permissions. - Документ мірок не має прав на запис. + Документ мірок не має прав на запис. Cannot set permissions for %1 to writable. - Не вдалося встановити права для %1 на запис. + Не вдалося встановити права для %1 на запис. Could not save the file. - Не вдалося зберегти файл. + Не вдалося зберегти файл. Could not save the file @@ -11563,10 +11731,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -12513,6 +12677,10 @@ Do you want to save your changes? My Patterns Мої лекала + + My Layouts + Мої розкладки + ToggleDetailInLayout @@ -12798,6 +12966,50 @@ Do you want to save your changes? Export to CSV Експортувати до CSV + + The measurements document has no write permissions. + Документ мірок не має прав на запис. + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + Не вдалося встановити права для %1 на запис. + + + Could not save the file. + Не вдалося зберегти файл. + + + Locking file + + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + This file already opened in another window. + Цей файл вже відкрито в іншому вікні. + + + The lock file could not be created, for lack of permissions. + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + + VAbstractNode @@ -13579,6 +13791,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -13880,6 +14120,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 Створення файлу '%1' не вдалося! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -14054,6 +14306,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + Помилка парсінгу файла. Програма буде закрита. + + + Error bad id. Program will be terminated. + Помилка неправильний id. Програма буде закрита. + + + Error can't convert value. Program will be terminated. + Помилка конвертації значення. Програма буде закрита. + + + Error empty parameter. Program will be terminated. + Помилка пустий параметр. Програма буде закрита. + + + Error wrong id. Program will be terminated. + Помилка неправильний id. Програма буде закрита. + + + Something's wrong!! + Щось не так!! + + + Exception thrown: %1. Program will be terminated. + + + + Can't begin to listen for incoming connections on name '%1' + Не вдається почати слухати вхідні з'єднання за іменем '%1' + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + Будь ласка, надайте один вхідний файл. + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + Видалити + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + Ревізія: + + + This program is part of Valentina project. + Ця програма є частиною проекту Valentina. + + + Check For Updates + Перевірити наявність оновлень + + + Cannot open your default browser + Не можу відкрити браузер по замовчуванню + + + Build revision: %1 + Ревізія: %1 + + + Built on %1 at %2 + Зібрано %1 в %2 + + + Web site : %1 + Веб сайт : %1 + + VPE::VBoolProperty @@ -14076,6 +14436,573 @@ Do you want to save your changes? Відкрити файл + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + &Файл + + + &Edit + + + + &Window + + + + &Help + &Допомога + + + Menu + Меню + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + Імя: + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + Поворот + + + Angle: + Кут: + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + Ширина + + + Length + Довжина + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + Праве: + + + Top: + Верхнє: + + + Left: + Ліве: + + + Bottom: + Нижнє: + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + Експорт + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + Розкладка + + + Name + + + + Description + Опис + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + &Відкрити + + + Ctrl+O + + + + &Save + &Зберегти + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + &Вихід + + + Ctrl+Q + + + + &New + &Новий + + + Ctrl+N + + + + About &Qt + Про &Qt + + + About &Puzzle + + + + Zoom in + Збільшити + + + Zoom out + Зменшити + + + Zoom 1:1 + + + + Zoom fit best + Помістити все + + + Zoom sheet + + + + Preferences + Властивості + + + File '%1' doesn't exist! + Файл '%1' не існує! + + + File error. + Помилка файла. + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + Сантиметри + + + Millimiters + Міліметри + + + Inches + Дюйми + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + тільки читання + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + &Нове вікно + + + Layout files + + + + Open file + Відкрити файл + + + Could not save the file + Не вдалося зберегти файл + + + layout + + + + Save as + Зберегти як + + + Failed to lock. This file already opened in another window. + + + + Could not save file + Не вдалося зберегти файл + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + + Raw Layout files + + + + About Qt + Про Qt + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + Лист + + + Legal + Legal + + + Tabloid + + + + Roll 24in + Рулон 24 дюйми + + + Roll 30in + Рулон 30 дюймів + + + Roll 36in + Рулон 36 дюймів + + + Roll 42in + Рулон 42 дюйми + + + Roll 44in + Рулон 44 дюйми + + + Roll 48in + Рулон 44 дюйми {48i?} + + + Roll 62in + Рулон 44 дюйми {62i?} + + + Roll 72in + Рулон 44 дюйми {72i?} + + + Custom + + + + + VPTileFactory + + Grid ( %1 , %2 ) + Сітка ( %1 , %2 ) + + + Page %1 of %2 + Сторінка %1 з %2 + + VPattern @@ -14364,6 +15291,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -14622,6 +15553,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + Довжина + + + Angle + Кут + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -15497,6 +16448,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/share/translations/valentina_zh_CN.ts b/share/translations/valentina_zh_CN.ts index ef09ee6d2..bf8c968af 100644 --- a/share/translations/valentina_zh_CN.ts +++ b/share/translations/valentina_zh_CN.ts @@ -969,6 +969,14 @@ Notes + + Alias1: + + + + Alias2: + + DialogCutArc @@ -3879,6 +3887,10 @@ Apply settings anyway? yyyy-MM-dd 年年年年-月月-日日 + + Passmark length: + + DialogPiecePath @@ -4773,6 +4785,22 @@ Apply settings anyway? Notes + + Curve 1 + + + + Alias1: + + + + Alias2: + + + + Curve 2 + + DialogPreferences @@ -4799,6 +4827,27 @@ Apply settings anyway? + + DialogPuzzlePreferences + + Puzzle preferences + + + + Configuration + + + + Paths + 路径 + + + Followed %n option(s) require restart to take effect: %1. + + + + + DialogRestrictDimension @@ -6642,7 +6691,7 @@ Do you want to save your changes? This file already opened in another window. - 这个文件已经在别的窗李打开的. + 这个文件已经在别的窗李打开的. File error. @@ -6928,30 +6977,6 @@ Do you want to save your changes? Don't Save 不保存 - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Point intersection curves @@ -7064,18 +7089,6 @@ Do you want to save your changes? Select main path objects clockwise. - - The document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -7488,10 +7501,6 @@ Do you want to save your changes? Update manual layout - - Do you want to change the premissions? - - Unable to prepare raw layout data. @@ -7540,6 +7549,10 @@ Do you want to save your changes? Couldn't set dimension C. File wasn't opened. + + Could not create recipe file. %1 + + MainWindowsNoGUI @@ -8076,6 +8089,111 @@ This option will take an affect after restart. + + Puzzle + + Export options can be used with single input file only. + + + + Valentina's manual layout editor. + + + + The manual layout file. + + + + + PuzzlePreferencesConfigurationPage + + Form + + + + Language + 语言 + + + GUI language: + GUI语言: + + + Toolbar + 工具栏 + + + The text appears under the icon (recommended for beginners). + + + + User Interface + + + + Activate dark mode + + + + Don't use the native file dialog + + + + dark mode + + + + + PuzzlePreferencesPathPage + + Form + + + + Paths that Valentina uses + + + + Type + + + + Path + + + + Default + + + + Edit + + + + Open Directory + + + + My Individual Measurements + + + + My Multisize Measurements + + + + My Patterns + + + + My Templates + + + + My Layouts + + + QCoreApplication @@ -8423,6 +8541,18 @@ This option will take an affect after restart. Piece '%1'. Grainline is not valid. + + Invalid global value for a passmark length. Piece '%1'. Length is less than minimal allowed. + + + + Unplaced pieces + + + + Sheet 1 + + QmuParser @@ -9057,30 +9187,6 @@ Do you want to save your changes? Don't Save 不保存 - - Locking file - - - - This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). - - - - The lock file could not be created, for lack of permissions. - - - - Unknown error happened, for instance a full partition prevented writing out the lock file. - - Export to CSV @@ -9105,18 +9211,6 @@ Do you want to save your changes? All files - - The measurements document has no write permissions. - - - - Cannot set permissions for %1 to writable. - - - - Could not save the file. - - Could not save the file @@ -9245,10 +9339,6 @@ Do you want to save your changes? <html><head/><body><p>Search measurements by term. </p><p>Prepend &quot;/r/&quot; to the front of the search string to search measurements by regex.</p></body></html> - - Do you want to change the premissions? - - Cannot read settings from a malformed .INI file. @@ -9399,6 +9489,10 @@ Do you want to save your changes? Restrict first dimension + + untitled + + TabGrainline @@ -10115,6 +10209,10 @@ Do you want to save your changes? My Patterns + + My Layouts + + TogglePieceForceForbidFlipping @@ -10360,6 +10458,50 @@ Do you want to save your changes? Export to CSV + + The measurements document has no write permissions. + + + + Do you want to change the premissions? + + + + Cannot set permissions for %1 to writable. + + + + Could not save the file. + + + + Locking file + + + + This file already opened in another window. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + The lock file could not be created, for lack of permissions. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. Ignore if you want to continue (not recommended, can cause a data corruption). + + + + This file already opened in another window. + 这个文件已经在别的窗李打开的. + + + The lock file could not be created, for lack of permissions. + + + + Unknown error happened, for instance a full partition prevented writing out the lock file. + + VAbstractNode @@ -10997,6 +11139,34 @@ Do you want to save your changes? The dimension C base + + The filename of exported layout file. Use it to enable console export mode. + + + + The filename of layout file + + + + Load pattern pieces form the raw layout data file. + + + + The raw layout data file + + + + Number corresponding to output format (default = 0, export mode): <not defined> + + + + Number corresponding to tiled pdf page template (default = 0, export mode with tiled pdf format): <not defined> + + + + Run the program in a test mode. The program in this mode loads a single layout file and silently quit without showing the main window. The key have priority before key '%1'. + + VCommonSettings @@ -11240,6 +11410,18 @@ Do you want to save your changes? Creating file '%1' failed! %2 + + Can't create an flat dxf file. + + + + Can't create an AAMA dxf file. + + + + Can't create an ASTM dxf file. + + VLayoutPiece @@ -11414,6 +11596,114 @@ Do you want to save your changes? + + VPApplication + + Error parsing file. Program will be terminated. + + + + Error bad id. Program will be terminated. + + + + Error can't convert value. Program will be terminated. + + + + Error empty parameter. Program will be terminated. + + + + Error wrong id. Program will be terminated. + + + + Something's wrong!! + + + + Exception thrown: %1. Program will be terminated. + + + + Can't begin to listen for incoming connections on name '%1' + + + + Export mode doesn't support openning several files. + + + + Import raw layout data does not support openning several layout files. + + + + Please, provide one input file. + + + + + VPCarrousel + + Pieces of + + + + + VPCarrouselPieceList + + Move to Sheet + + + + Delete + 删除 + + + Remove from Sheet + + + + + VPDialogAbout + + About Puzzle + + + + Puzzle version + + + + Build revision: + + + + This program is part of Valentina project. + + + + Check For Updates + + + + Cannot open your default browser + + + + Build revision: %1 + + + + Built on %1 at %2 + + + + Web site : %1 + + + VPE::VBoolProperty @@ -11436,6 +11726,573 @@ Do you want to save your changes? 打开文件 + + VPGraphicsPiece + + Move to + + + + Remove from Sheet + + + + + VPLayoutFileReader + + Piece List + + + + Piece + + + + Got empty attribute '%1' + + + + + VPMainWindow + + Puzzle + + + + &File + + + + &Edit + + + + &Window + + + + &Help + + + + Menu + + + + Piece Carrousel + + + + Properties + + + + Current piece properties + + + + Current piece + + + + Infos + + + + Name: + + + + DummyName + + + + UUID: + + + + {7b2ce4ae-96f5-4905-bb34-405cb40ca208} + + + + Seamline + + + + Show Seamline + + + + Geometry + + + + Mirror piece + + + + Rotation + + + + Angle: + + + + Rotate the piece by 90° clockwise + + + + Rotate the piece by 90° anti-clockwise + + + + Rotate the piece so that the grainline is vertical + + + + Rotate the piece so that the grainline is horizontal + + + + Placement + + + + X: + + + + Y: + + + + No piece selected + + + + Multiple pieces selected + + + + Sheet properties + + + + Current sheet + + + + Name + + + + Format + + + + Template + + + + Width + 宽度 + + + Length + 长度 + + + Orientation + + + + Portrait + + + + Landscape + + + + Remove unused length + + + + Margins + + + + Right: + + + + Top: + + + + Left: + + + + Bottom: + + + + Placement Grid + + + + Show Grid + + + + Column width + + + + Row height + + + + Control + + + + Follow grainline + + + + No + + + + Vertical grainline + + + + Horizontal grainline + + + + Pieces gap + + + + Sticky edges + + + + Export + + + + Export Sheet + + + + Tiles properties + + + + Tiled Pdf Export + + + + Show Tiles on sheet + + + + Export Tiled Pdf + + + + Layout properties + + + + Layout + + + + Name + + + + Description + + + + Unit + + + + Warning superposition of pieces + + + + Warning pieces out of bound + + + + zoom + + + + Scale + + + + &Open + + + + Ctrl+O + + + + &Save + + + + Ctrl+S + + + + Save &As + + + + Ctrl+Shift+S + + + + &Import Raw Layout Data + + + + E&xit + + + + Ctrl+Q + + + + &New + + + + Ctrl+N + + + + About &Qt + + + + About &Puzzle + + + + Zoom in + + + + Zoom out + + + + Zoom 1:1 + + + + Zoom fit best + + + + Zoom sheet + + + + Preferences + + + + File '%1' doesn't exist! + + + + File error. + + + + Unable to read a layout file + + + + Fail to create layout. + + + + Could not extract data from file '%1'. %2 + + + + Centimeters + 公分 + + + Millimiters + 毫米 + + + Inches + 英寸 + + + Scale: + + + + untitled %1.vlt + + + + untitled.vlt + + + + read only + + + + Cannot read settings from a malformed .INI file. + + + + Cannot save settings. Access denied. + + + + Failed to open file, is it writable? + + + + &New Window + + + + Layout files + + + + Open file + 打开文件 + + + Could not save the file + + + + layout + + + + Save as + + + + Failed to lock. This file already opened in another window. + + + + Could not save file + + + + Failed to lock. This file already opened in another window. Expect collissions when run 2 copies of the program. + + + + Raw Layout files + + + + About Qt + + + + PDF Files + + + + SVG Files + + + + + VPSheet + + Letter + + + + Legal + + + + Tabloid + + + + Roll 24in + + + + Roll 30in + + + + Roll 36in + + + + Roll 42in + + + + Roll 44in + + + + Roll 48in + + + + Roll 62in + + + + Roll 72in + + + + Custom + + + + + VPTileFactory + + Grid ( %1 , %2 ) + + + + Page %1 of %2 + + + VPattern @@ -11705,6 +12562,10 @@ Do you want to save your changes? Value for final measurtement '%1' is infinite or NaN. Please, check your calculations. + + Unable to create record for final measurement '%1'. Error: %2 + + VPiece @@ -11925,6 +12786,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. There is no intersection with curve '%2' and axis through point '%3' with angle %4° + + Length + 长度 + + + Angle + + + + Label + + + + Segment 1 + + + + Segment 2 + + VToolCutArc @@ -12656,6 +13537,26 @@ Raw layout format compatibility error: actualFileVersion = %1 and fileVersion = Error calculating point '%1'. Curves '%2' and '%3' have no point of intersection + + Label + + + + Curve 1 segment 1 + + + + Curve 1 segment 2 + + + + Curve 2 segment 1 + + + + Curve 2 segment 2 + + VToolRotation diff --git a/src/app/puzzle/dialogs/configpages/puzzlepreferencesconfigurationpage.cpp b/src/app/puzzle/dialogs/configpages/puzzlepreferencesconfigurationpage.cpp new file mode 100644 index 000000000..f5c06d700 --- /dev/null +++ b/src/app/puzzle/dialogs/configpages/puzzlepreferencesconfigurationpage.cpp @@ -0,0 +1,104 @@ +/************************************************************************ + ** + ** @file puzzlepreferencesconfigurationpage.cpp + ** @author Roman Telezhynskyi + ** @date 21 5, 2021 + ** + ** @brief + ** @copyright + ** This source code is part of the Valentina project, a pattern making + ** program, whose allow create and modeling patterns of clothing. + ** Copyright (C) 2021 Valentina project + ** All Rights Reserved. + ** + ** Valentina is free software: you can redistribute it and/or modify + ** it under the terms of the GNU General Public License as published by + ** the Free Software Foundation, either version 3 of the License, or + ** (at your option) any later version. + ** + ** Valentina is distributed in the hope that it will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ** GNU General Public License for more details. + ** + ** You should have received a copy of the GNU General Public License + ** along with Valentina. If not, see . + ** + *************************************************************************/ + +#include "puzzlepreferencesconfigurationpage.h" +#include "ui_puzzlepreferencesconfigurationpage.h" +#include "../../vpapplication.h" + +//--------------------------------------------------------------------------------------------------------------------- +PuzzlePreferencesConfigurationPage::PuzzlePreferencesConfigurationPage(QWidget *parent) : + QWidget(parent), + ui(new Ui::PuzzlePreferencesConfigurationPage) +{ + ui->setupUi(this); + + InitLanguages(ui->langCombo); + connect(ui->langCombo, QOverload::of(&QComboBox::currentIndexChanged), this, [this]() + { + m_langChanged = true; + }); + + // Theme + ui->darkModeCheck->setChecked(VPApplication::VApp()->PuzzleSettings()->GetDarkMode()); + + // Native dialogs + ui->checkBoxDontUseNativeDialog->setChecked(VPApplication::VApp()->PuzzleSettings()->IsDontUseNativeDialog()); + + //----------------------- Toolbar + ui->toolBarStyleCheck->setChecked(VPApplication::VApp()->PuzzleSettings()->GetToolBarStyle()); +} + +//--------------------------------------------------------------------------------------------------------------------- +PuzzlePreferencesConfigurationPage::~PuzzlePreferencesConfigurationPage() +{ + delete ui; +} + +//--------------------------------------------------------------------------------------------------------------------- +QStringList PuzzlePreferencesConfigurationPage::Apply() +{ + QStringList preferences; + VPSettings *settings = VPApplication::VApp()->PuzzleSettings(); + + settings->SetToolBarStyle(ui->toolBarStyleCheck->isChecked()); + + if (settings->GetDarkMode() != ui->darkModeCheck->isChecked()) + { + settings->SetDarkMode(ui->darkModeCheck->isChecked()); + preferences.append(tr("dark mode")); + } + + if (settings->IsDontUseNativeDialog() != ui->checkBoxDontUseNativeDialog->isChecked()) + { + settings->SetDontUseNativeDialog(ui->checkBoxDontUseNativeDialog->isChecked()); + } + + if (m_langChanged) + { + const QString locale = qvariant_cast(ui->langCombo->currentData()); + settings->SetLocale(locale); + m_langChanged = false; + + VAbstractApplication::VApp()->LoadTranslation(locale); + qApp->processEvents();// force to call changeEvent + } + + return preferences; +} + +//--------------------------------------------------------------------------------------------------------------------- +void PuzzlePreferencesConfigurationPage::changeEvent(QEvent *event) +{ + if (event->type() == QEvent::LanguageChange) + { + // retranslate designer form (single inheritance approach) + ui->retranslateUi(this); + } + // remember to call base class implementation + QWidget::changeEvent(event); +} diff --git a/src/app/puzzle/dialogs/configpages/puzzlepreferencesconfigurationpage.h b/src/app/puzzle/dialogs/configpages/puzzlepreferencesconfigurationpage.h new file mode 100644 index 000000000..1656a2922 --- /dev/null +++ b/src/app/puzzle/dialogs/configpages/puzzlepreferencesconfigurationpage.h @@ -0,0 +1,57 @@ +/************************************************************************ + ** + ** @file puzzlepreferencesconfigurationpage.h + ** @author Roman Telezhynskyi + ** @date 21 5, 2021 + ** + ** @brief + ** @copyright + ** This source code is part of the Valentina project, a pattern making + ** program, whose allow create and modeling patterns of clothing. + ** Copyright (C) 2021 Valentina project + ** All Rights Reserved. + ** + ** Valentina is free software: you can redistribute it and/or modify + ** it under the terms of the GNU General Public License as published by + ** the Free Software Foundation, either version 3 of the License, or + ** (at your option) any later version. + ** + ** Valentina is distributed in the hope that it will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ** GNU General Public License for more details. + ** + ** You should have received a copy of the GNU General Public License + ** along with Valentina. If not, see . + ** + *************************************************************************/ +#ifndef PUZZLEPREFERENCESCONFIGURATIONPAGE_H +#define PUZZLEPREFERENCESCONFIGURATIONPAGE_H + +#include + +namespace Ui +{ + class PuzzlePreferencesConfigurationPage; +} + +class PuzzlePreferencesConfigurationPage : public QWidget +{ + Q_OBJECT + +public: + explicit PuzzlePreferencesConfigurationPage(QWidget *parent = nullptr); + virtual ~PuzzlePreferencesConfigurationPage(); + + QStringList Apply(); + +protected: + virtual void changeEvent(QEvent* event) override; + +private: + Q_DISABLE_COPY(PuzzlePreferencesConfigurationPage) + Ui::PuzzlePreferencesConfigurationPage *ui; + bool m_langChanged{false}; +}; + +#endif // PUZZLEPREFERENCESCONFIGURATIONPAGE_H diff --git a/src/app/puzzle/dialogs/configpages/puzzlepreferencesconfigurationpage.ui b/src/app/puzzle/dialogs/configpages/puzzlepreferencesconfigurationpage.ui new file mode 100644 index 000000000..7f10c762d --- /dev/null +++ b/src/app/puzzle/dialogs/configpages/puzzlepreferencesconfigurationpage.ui @@ -0,0 +1,117 @@ + + + PuzzlePreferencesConfigurationPage + + + + 0 + 0 + 505 + 548 + + + + Form + + + + + + true + + + + + 0 + 0 + 494 + 514 + + + + + + + Language + + + + QFormLayout::ExpandingFieldsGrow + + + + + GUI language: + + + + + + + + + + + + + Toolbar + + + + + + The text appears under the icon (recommended for beginners). + + + true + + + + + + + + + + User Interface + + + + + + Activate dark mode + + + + + + + Don't use the native file dialog + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + diff --git a/src/app/puzzle/dialogs/configpages/puzzlepreferencespathpage.cpp b/src/app/puzzle/dialogs/configpages/puzzlepreferencespathpage.cpp new file mode 100644 index 000000000..cc8a79429 --- /dev/null +++ b/src/app/puzzle/dialogs/configpages/puzzlepreferencespathpage.cpp @@ -0,0 +1,220 @@ +/************************************************************************ + ** + ** @file puzzlepreferencespathpage.cpp + ** @author Roman Telezhynskyi + ** @date 21 5, 2021 + ** + ** @brief + ** @copyright + ** This source code is part of the Valentina project, a pattern making + ** program, whose allow create and modeling patterns of clothing. + ** Copyright (C) 2021 Valentina project + ** All Rights Reserved. + ** + ** Valentina is free software: you can redistribute it and/or modify + ** it under the terms of the GNU General Public License as published by + ** the Free Software Foundation, either version 3 of the License, or + ** (at your option) any later version. + ** + ** Valentina is distributed in the hope that it will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ** GNU General Public License for more details. + ** + ** You should have received a copy of the GNU General Public License + ** along with Valentina. If not, see . + ** + *************************************************************************/ +#include "puzzlepreferencespathpage.h" +#include "ui_puzzlepreferencespathpage.h" +#include "../../vpapplication.h" + +//--------------------------------------------------------------------------------------------------------------------- +PuzzlePreferencesPathPage::PuzzlePreferencesPathPage(QWidget *parent) : + QWidget(parent), + ui(new Ui::PuzzlePreferencesPathPage) +{ + ui->setupUi(this); + + InitTable(); + + connect(ui->pathTable, &QTableWidget::itemSelectionChanged, this, [this]() + { + ui->defaultButton->setEnabled(not ui->pathTable->selectedItems().isEmpty()); + ui->defaultButton->setDefault(false); + + ui->editButton->setEnabled(not ui->pathTable->selectedItems().isEmpty()); + ui->editButton->setDefault(true); + }); + + connect(ui->defaultButton, &QPushButton::clicked, this, &PuzzlePreferencesPathPage::DefaultPath); + connect(ui->editButton, &QPushButton::clicked, this, &PuzzlePreferencesPathPage::EditPath); +} + +//--------------------------------------------------------------------------------------------------------------------- +PuzzlePreferencesPathPage::~PuzzlePreferencesPathPage() +{ + delete ui; +} + +//--------------------------------------------------------------------------------------------------------------------- +void PuzzlePreferencesPathPage::Apply() +{ + VPSettings *settings = VPApplication::VApp()->PuzzleSettings(); + settings->SetPathIndividualMeasurements(ui->pathTable->item(0, 1)->text()); + settings->SetPathMultisizeMeasurements(ui->pathTable->item(1, 1)->text()); + settings->SetPathPattern(ui->pathTable->item(2, 1)->text()); + settings->SetPathTemplate(ui->pathTable->item(3, 1)->text()); + settings->SetPathManualLayouts(ui->pathTable->item(4, 1)->text()); +} + +//--------------------------------------------------------------------------------------------------------------------- +void PuzzlePreferencesPathPage::changeEvent(QEvent *event) +{ + if (event->type() == QEvent::LanguageChange) + { + // retranslate designer form (single inheritance approach) + ui->retranslateUi(this); + InitTable(); + } + // remember to call base class implementation + QWidget::changeEvent(event); +} + +//--------------------------------------------------------------------------------------------------------------------- +void PuzzlePreferencesPathPage::DefaultPath() +{ + const int row = ui->pathTable->currentRow(); + QTableWidgetItem *item = ui->pathTable->item(row, 1); + SCASSERT(item != nullptr) + + QString path; + switch (row) + { + case 0: // individual measurements + path = VCommonSettings::GetDefPathIndividualMeasurements(); + break; + case 1: // multisize measurements + path = VCommonSettings::GetDefPathMultisizeMeasurements(); + break; + case 2: // pattern path + path = VCommonSettings::GetDefPathPattern(); + break; + case 3: // templates + path = VCommonSettings::GetDefPathTemplate(); + break; + case 4: // layouts + path = VCommonSettings::GetDefPathManualLayouts(); + break; + default: + break; + } + + item->setText(path); + item->setToolTip(path); +} + +//--------------------------------------------------------------------------------------------------------------------- +void PuzzlePreferencesPathPage::EditPath() +{ + const int row = ui->pathTable->currentRow(); + QTableWidgetItem *item = ui->pathTable->item(row, 1); + SCASSERT(item != nullptr) + + QString path; + switch (row) + { + case 0: // individual measurements + path = VPApplication::VApp()->PuzzleSettings()->GetPathIndividualMeasurements(); + break; + case 1: // multisize measurements + path = VPApplication::VApp()->PuzzleSettings()->GetPathMultisizeMeasurements(); + path = VCommonSettings::PrepareMultisizeTables(path); + break; + case 2: // pattern path + path = VPApplication::VApp()->PuzzleSettings()->GetPathPattern(); + break; + case 3: // templates + path = VPApplication::VApp()->PuzzleSettings()->GetPathTemplate(); + break; + case 4: // layouts + path = VPApplication::VApp()->PuzzleSettings()->GetPathManualLayouts(); + break; + default: + break; + } + + bool usedNotExistedDir = false; + QDir directory(path); + if (not directory.exists()) + { + usedNotExistedDir = directory.mkpath(QChar('.')); + } + + const QString dir = QFileDialog::getExistingDirectory( + this, tr("Open Directory"), path, + VAbstractApplication::VApp()->NativeFileDialog(QFileDialog::ShowDirsOnly | QFileDialog::DontResolveSymlinks)); + if (dir.isEmpty()) + { + if (usedNotExistedDir) + { + QDir(path).rmpath(QChar('.')); + } + + DefaultPath(); + return; + } + + item->setText(dir); + item->setToolTip(dir); +} + +//--------------------------------------------------------------------------------------------------------------------- +void PuzzlePreferencesPathPage::InitTable() +{ + ui->pathTable->clearContents(); + ui->pathTable->setRowCount(5); + ui->pathTable->setColumnCount(2); + + const VPSettings *settings = VPApplication::VApp()->PuzzleSettings(); + + { + ui->pathTable->setItem(0, 0, new QTableWidgetItem(tr("My Individual Measurements"))); + QTableWidgetItem *item = new QTableWidgetItem(settings->GetPathIndividualMeasurements()); + item->setToolTip(settings->GetPathIndividualMeasurements()); + ui->pathTable->setItem(0, 1, item); + } + + { + ui->pathTable->setItem(1, 0, new QTableWidgetItem(tr("My Multisize Measurements"))); + QTableWidgetItem *item = new QTableWidgetItem(settings->GetPathMultisizeMeasurements()); + item->setToolTip(settings->GetPathMultisizeMeasurements()); + ui->pathTable->setItem(1, 1, item); + } + + { + ui->pathTable->setItem(2, 0, new QTableWidgetItem(tr("My Patterns"))); + QTableWidgetItem *item = new QTableWidgetItem(settings->GetPathPattern()); + item->setToolTip(settings->GetPathPattern()); + ui->pathTable->setItem(2, 1, item); + } + + { + ui->pathTable->setItem(3, 0, new QTableWidgetItem(tr("My Templates"))); + QTableWidgetItem *item = new QTableWidgetItem(settings->GetPathTemplate()); + item->setToolTip(settings->GetPathTemplate()); + ui->pathTable->setItem(3, 1, item); + } + + { + ui->pathTable->setItem(4, 0, new QTableWidgetItem(tr("My Layouts"))); + QTableWidgetItem *item = new QTableWidgetItem(settings->GetPathManualLayouts()); + item->setToolTip(settings->GetPathManualLayouts()); + ui->pathTable->setItem(4, 1, item); + } + + ui->pathTable->verticalHeader()->setDefaultSectionSize(20); + ui->pathTable->resizeColumnsToContents(); + ui->pathTable->resizeRowsToContents(); + ui->pathTable->horizontalHeader()->setStretchLastSection(true); +} diff --git a/src/app/puzzle/dialogs/configpages/puzzlepreferencespathpage.h b/src/app/puzzle/dialogs/configpages/puzzlepreferencespathpage.h new file mode 100644 index 000000000..139208758 --- /dev/null +++ b/src/app/puzzle/dialogs/configpages/puzzlepreferencespathpage.h @@ -0,0 +1,62 @@ +/************************************************************************ + ** + ** @file puzzlepreferencespathpage.h + ** @author Roman Telezhynskyi + ** @date 21 5, 2021 + ** + ** @brief + ** @copyright + ** This source code is part of the Valentina project, a pattern making + ** program, whose allow create and modeling patterns of clothing. + ** Copyright (C) 2021 Valentina project + ** All Rights Reserved. + ** + ** Valentina is free software: you can redistribute it and/or modify + ** it under the terms of the GNU General Public License as published by + ** the Free Software Foundation, either version 3 of the License, or + ** (at your option) any later version. + ** + ** Valentina is distributed in the hope that it will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ** GNU General Public License for more details. + ** + ** You should have received a copy of the GNU General Public License + ** along with Valentina. If not, see . + ** + *************************************************************************/ +#ifndef PUZZLEPREFERENCESPATHPAGE_H +#define PUZZLEPREFERENCESPATHPAGE_H + +#include + +namespace Ui +{ + class PuzzlePreferencesPathPage; +} + +class PuzzlePreferencesPathPage : public QWidget +{ + Q_OBJECT + +public: + explicit PuzzlePreferencesPathPage(QWidget *parent = nullptr); + virtual ~PuzzlePreferencesPathPage(); + + void Apply(); + +protected: + virtual void changeEvent(QEvent* event) override; + +private slots: + void DefaultPath(); + void EditPath(); + +private: + Q_DISABLE_COPY(PuzzlePreferencesPathPage) + Ui::PuzzlePreferencesPathPage *ui; + + void InitTable(); +}; + +#endif // PUZZLEPREFERENCESPATHPAGE_H diff --git a/src/app/puzzle/dialogs/configpages/puzzlepreferencespathpage.ui b/src/app/puzzle/dialogs/configpages/puzzlepreferencespathpage.ui new file mode 100644 index 000000000..9c8da0ff1 --- /dev/null +++ b/src/app/puzzle/dialogs/configpages/puzzlepreferencespathpage.ui @@ -0,0 +1,111 @@ + + + PuzzlePreferencesPathPage + + + + 0 + 0 + 586 + 808 + + + + Form + + + + + + Paths that Valentina uses + + + + + + QAbstractItemView::NoEditTriggers + + + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows + + + false + + + true + + + false + + + + Type + + + + + Path + + + + + + + + + + + + + false + + + + 0 + 0 + + + + Default + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + false + + + + 0 + 0 + + + + Edit + + + + + + + + + + diff --git a/src/app/puzzle/dialogs/dialogpuzzlepreferences.cpp b/src/app/puzzle/dialogs/dialogpuzzlepreferences.cpp new file mode 100644 index 000000000..1691fbab3 --- /dev/null +++ b/src/app/puzzle/dialogs/dialogpuzzlepreferences.cpp @@ -0,0 +1,160 @@ +/************************************************************************ + ** + ** @file dialogpuzzlepreferences.cpp + ** @author Roman Telezhynskyi + ** @date 21 5, 2021 + ** + ** @brief + ** @copyright + ** This source code is part of the Valentina project, a pattern making + ** program, whose allow create and modeling patterns of clothing. + ** Copyright (C) 2021 Valentina project + ** All Rights Reserved. + ** + ** Valentina is free software: you can redistribute it and/or modify + ** it under the terms of the GNU General Public License as published by + ** the Free Software Foundation, either version 3 of the License, or + ** (at your option) any later version. + ** + ** Valentina is distributed in the hope that it will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ** GNU General Public License for more details. + ** + ** You should have received a copy of the GNU General Public License + ** along with Valentina. If not, see . + ** + *************************************************************************/ + +#include "dialogpuzzlepreferences.h" +#include "ui_dialogpuzzlepreferences.h" +#include "../vpapplication.h" +#include "configpages/puzzlepreferencesconfigurationpage.h" +#include "configpages/puzzlepreferencespathpage.h" + +#include +#include +#include + +//--------------------------------------------------------------------------------------------------------------------- +DialogPuzzlePreferences::DialogPuzzlePreferences(QWidget *parent) : + QDialog(parent), + ui(new Ui::DialogPuzzlePreferences), + m_configurationPage(new PuzzlePreferencesConfigurationPage), + m_pathPage(new PuzzlePreferencesPathPage) +{ + ui->setupUi(this); + +#if defined(Q_OS_MAC) + setWindowFlags(Qt::Window); +#endif + + VAbstractApplication::VApp()->Settings()->GetOsSeparator() ? setLocale(QLocale()) : setLocale(QLocale::c()); + + QPushButton *bOk = ui->buttonBox->button(QDialogButtonBox::Ok); + SCASSERT(bOk != nullptr) + connect(bOk, &QPushButton::clicked, this, &DialogPuzzlePreferences::Ok); + + QPushButton *bApply = ui->buttonBox->button(QDialogButtonBox::Apply); + SCASSERT(bApply != nullptr) + connect(bApply, &QPushButton::clicked, this, &DialogPuzzlePreferences::Apply); + + ui->pagesWidget->insertWidget(0, m_configurationPage); + ui->pagesWidget->insertWidget(1, m_pathPage); + + connect(ui->contentsWidget, &QListWidget::currentItemChanged, this, &DialogPuzzlePreferences::PageChanged); + ui->pagesWidget->setCurrentIndex(0); +} + +//--------------------------------------------------------------------------------------------------------------------- +DialogPuzzlePreferences::~DialogPuzzlePreferences() +{ + delete ui; +} + +//--------------------------------------------------------------------------------------------------------------------- +void DialogPuzzlePreferences::showEvent(QShowEvent *event) +{ + QDialog::showEvent( event ); + if ( event->spontaneous() ) + { + return; + } + + if (m_isInitialized) + { + return; + } + // do your init stuff here + + QSize sz = VAbstractApplication::VApp()->Settings()->GetPreferenceDialogSize(); + if (not sz.isEmpty()) + { + resize(sz); + } + + m_isInitialized = true;//first show windows are held +} + +//--------------------------------------------------------------------------------------------------------------------- +void DialogPuzzlePreferences::resizeEvent(QResizeEvent *event) +{ + Q_UNUSED(event) + // remember the size for the next time this dialog is opened, but only + // if widget was already initialized, which rules out the resize at + // dialog creating, which would + if (m_isInitialized) + { + VAbstractApplication::VApp()->Settings()->SetPreferenceDialogSize(size()); + } +} + +//--------------------------------------------------------------------------------------------------------------------- +void DialogPuzzlePreferences::changeEvent(QEvent *event) +{ + if (event->type() == QEvent::LanguageChange) + { + // retranslate designer form (single inheritance approach) + ui->retranslateUi(this); + } + // remember to call base class implementation + QDialog::changeEvent(event); +} + +//--------------------------------------------------------------------------------------------------------------------- +void DialogPuzzlePreferences::Apply() +{ + QStringList preferences; + + preferences += m_configurationPage->Apply(); + m_pathPage->Apply(); + + if (not preferences.isEmpty()) + { + const QString text = tr("Followed %n option(s) require restart to take effect: %1.", "", + preferences.size()).arg(preferences.join(QStringLiteral(", "))); + QMessageBox::information(this, QCoreApplication::applicationName(), text); + } + + VPApplication::VApp()->PuzzleSettings()->GetOsSeparator() ? setLocale(QLocale()) : setLocale(QLocale::c()); + emit UpdateProperties(); + setResult(QDialog::Accepted); +} + +//--------------------------------------------------------------------------------------------------------------------- +void DialogPuzzlePreferences::Ok() +{ + Apply(); + done(QDialog::Accepted); +} + +//--------------------------------------------------------------------------------------------------------------------- +void DialogPuzzlePreferences::PageChanged(QListWidgetItem *current, QListWidgetItem *previous) +{ + if (current == nullptr) + { + current = previous; + } + int rowIndex = ui->contentsWidget->row(current); + ui->pagesWidget->setCurrentIndex(rowIndex); +} diff --git a/src/app/puzzle/dialogs/dialogpuzzlepreferences.h b/src/app/puzzle/dialogs/dialogpuzzlepreferences.h new file mode 100644 index 000000000..487a558cc --- /dev/null +++ b/src/app/puzzle/dialogs/dialogpuzzlepreferences.h @@ -0,0 +1,71 @@ +/************************************************************************ + ** + ** @file dialogpuzzlepreferences.h + ** @author Roman Telezhynskyi + ** @date 21 5, 2021 + ** + ** @brief + ** @copyright + ** This source code is part of the Valentina project, a pattern making + ** program, whose allow create and modeling patterns of clothing. + ** Copyright (C) 2021 Valentina project + ** All Rights Reserved. + ** + ** Valentina is free software: you can redistribute it and/or modify + ** it under the terms of the GNU General Public License as published by + ** the Free Software Foundation, either version 3 of the License, or + ** (at your option) any later version. + ** + ** Valentina is distributed in the hope that it will be useful, + ** but WITHOUT ANY WARRANTY; without even the implied warranty of + ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ** GNU General Public License for more details. + ** + ** You should have received a copy of the GNU General Public License + ** along with Valentina. If not, see . + ** + *************************************************************************/ +#ifndef DIALOGPUZZLEPREFERENCES_H +#define DIALOGPUZZLEPREFERENCES_H + +#include + +namespace Ui +{ + class DialogPuzzlePreferences; +} + +class PuzzlePreferencesConfigurationPage; +class PuzzlePreferencesPathPage; +class QListWidgetItem; + +class DialogPuzzlePreferences : public QDialog +{ + Q_OBJECT + +public: + explicit DialogPuzzlePreferences(QWidget *parent = nullptr); + virtual ~DialogPuzzlePreferences(); + +signals: + void UpdateProperties(); + +protected: + virtual void showEvent(QShowEvent *event) override; + virtual void resizeEvent(QResizeEvent *event) override; + virtual void changeEvent(QEvent* event) override; + +private slots: + void Apply(); + void Ok(); + void PageChanged(QListWidgetItem *current, QListWidgetItem *previous); + +private: + Q_DISABLE_COPY(DialogPuzzlePreferences) + Ui::DialogPuzzlePreferences *ui; + bool m_isInitialized{false}; + PuzzlePreferencesConfigurationPage *m_configurationPage; + PuzzlePreferencesPathPage *m_pathPage; +}; + +#endif // DIALOGPUZZLEPREFERENCES_H diff --git a/src/app/puzzle/dialogs/dialogpuzzlepreferences.ui b/src/app/puzzle/dialogs/dialogpuzzlepreferences.ui new file mode 100644 index 000000000..632f93440 --- /dev/null +++ b/src/app/puzzle/dialogs/dialogpuzzlepreferences.ui @@ -0,0 +1,159 @@ + + + DialogPuzzlePreferences + + + + 0 + 0 + 851 + 551 + + + + Puzzle preferences + + + + :/puzzleicon/64x64/logo.png:/puzzleicon/64x64/logo.png + + + + + + + + + 128 + 0 + + + + + 128 + 16777215 + + + + + 96 + 84 + + + + Qt::ElideMiddle + + + QListView::Static + + + 12 + + + QListView::IconMode + + + 0 + + + + Configuration + + + AlignCenter + + + + :/icon/config.png:/icon/config.png + + + ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled + + + + + Paths + + + AlignCenter + + + + :/icon/path_config.png:/icon/path_config.png + + + ItemIsSelectable|ItemIsUserCheckable|ItemIsEnabled + + + + + + + + + 0 + 0 + + + + + 0 + 0 + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + + + + buttonBox + accepted() + DialogPuzzlePreferences + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + DialogPuzzlePreferences + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff --git a/src/app/puzzle/main.cpp b/src/app/puzzle/main.cpp index f104053db..d282fe43a 100644 --- a/src/app/puzzle/main.cpp +++ b/src/app/puzzle/main.cpp @@ -53,6 +53,11 @@ int main(int argc, char *argv[]) #endif // defined(APPIMAGE) && defined(Q_OS_LINUX) Q_INIT_RESOURCE(puzzleicon); + Q_INIT_RESOURCE(theme); + Q_INIT_RESOURCE(icon); + Q_INIT_RESOURCE(schema); + Q_INIT_RESOURCE(flags); + Q_INIT_RESOURCE(style); QT_REQUIRE_VERSION(argc, argv, "5.4.0")// clazy:exclude=qstring-arg,qstring-allocations diff --git a/src/app/puzzle/puzzle.pri b/src/app/puzzle/puzzle.pri index 209521fe3..d4be14864 100644 --- a/src/app/puzzle/puzzle.pri +++ b/src/app/puzzle/puzzle.pri @@ -2,6 +2,9 @@ # This need for corect working file translations.pro SOURCES += \ + $$PWD/dialogs/configpages/puzzlepreferencesconfigurationpage.cpp \ + $$PWD/dialogs/configpages/puzzlepreferencespathpage.cpp \ + $$PWD/dialogs/dialogpuzzlepreferences.cpp \ $$PWD/dialogs/vpdialogabout.cpp \ $$PWD/main.cpp \ $$PWD/vpapplication.cpp \ @@ -30,6 +33,9 @@ SOURCES += \ *msvc*:SOURCES += $$PWD/stable.cpp HEADERS += \ + $$PWD/dialogs/configpages/puzzlepreferencesconfigurationpage.h \ + $$PWD/dialogs/configpages/puzzlepreferencespathpage.h \ + $$PWD/dialogs/dialogpuzzlepreferences.h \ $$PWD/dialogs/vpdialogabout.h \ $$PWD/stable.h \ $$PWD/vpapplication.h \ @@ -56,6 +62,9 @@ HEADERS += \ $$PWD/xml/vplayoutliterals.h FORMS += \ + $$PWD/dialogs/configpages/puzzlepreferencesconfigurationpage.ui \ + $$PWD/dialogs/configpages/puzzlepreferencespathpage.ui \ + $$PWD/dialogs/dialogpuzzlepreferences.ui \ $$PWD/dialogs/vpdialogabout.ui \ $$PWD/vpcarrousel.ui \ $$PWD/vpmainwindow.ui diff --git a/src/app/puzzle/puzzle.pro b/src/app/puzzle/puzzle.pro index 4d1e2fbd8..b77dc420f 100644 --- a/src/app/puzzle/puzzle.pro +++ b/src/app/puzzle/puzzle.pro @@ -66,17 +66,9 @@ include(../translations.pri) # Set "make install" command for Unix-like systems. unix{ - # Prefix for binary file. - isEmpty(PREFIX){ - PREFIX = $$DEFAULT_PREFIX - } - - unix:!macx{ - DATADIR =$$PREFIX/share - DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\" - + !macx{ # Path to bin file after installation - target.path = $$PREFIX/bin + target.path = $$BINDIR INSTALLS += \ target @@ -112,8 +104,7 @@ unix{ QMAKE_INFO_PLIST = $$PWD/../../../dist/macx/puzzle/Info.plist format.path = $$RESOURCES_DIR/ - format.files += $$PWD/../../../dist/macx/i-measurements.icns - format.files += $$PWD/../../../dist/macx/s-measurements.icns + format.files += $$PWD/../../../dist/macx/layout.icns QMAKE_BUNDLE_DATA += \ #libraries \ diff --git a/src/app/puzzle/vpapplication.cpp b/src/app/puzzle/vpapplication.cpp index ef5d0abcd..d517136b3 100644 --- a/src/app/puzzle/vpapplication.cpp +++ b/src/app/puzzle/vpapplication.cpp @@ -61,7 +61,7 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con // writing a multithreaded application and the error happens on // a non-GUI thread, you'll have to queue the message to the GUI QCoreApplication *instance = QCoreApplication::instance(); - const bool isGuiThread = instance && (QThread::currentThread() == instance->thread()); + const bool isGuiThread = (instance != nullptr) && (QThread::currentThread() == instance->thread()); if (not isGuiThread) { @@ -199,7 +199,7 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con if (type == QtWarningMsg || type == QtCriticalMsg || type == QtFatalMsg) { - if (qApp->IsAppInGUIMode()) + if (VPApplication::VApp()->IsAppInGUIMode()) { if (topWinAllowsPop) { @@ -234,9 +234,7 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con //--------------------------------------------------------------------------------------------------------------------- VPApplication::VPApplication(int &argc, char **argv) - :VAbstractApplication(argc, argv), - mainWindows(), - localServer(nullptr) + :VAbstractApplication(argc, argv) { setApplicationDisplayName(VER_PRODUCTNAME_STR); setApplicationName(VER_INTERNALNAME_STR); @@ -264,7 +262,7 @@ VPApplication::~VPApplication() * @return value that is returned from the receiver's event handler. */ // reimplemented from QApplication so we can throw exceptions in slots -bool VPApplication::notify(QObject *receiver, QEvent *event) +auto VPApplication::notify(QObject *receiver, QEvent *event) -> bool { try { @@ -325,26 +323,24 @@ bool VPApplication::notify(QObject *receiver, QEvent *event) /** * @brief IsAppInGUIMode little hack that allow to have access to application state from VAbstractApplication class. */ -bool VPApplication::IsAppInGUIMode() const +auto VPApplication::IsAppInGUIMode() const -> bool { return CommandLine()->IsGuiEnabled(); } //--------------------------------------------------------------------------------------------------------------------- -VPMainWindow *VPApplication::MainWindow() +auto VPApplication::MainWindow()-> VPMainWindow * { Clean(); if (mainWindows.isEmpty()) { - VPCommandLinePtr cmd; - VPCommandLine::ProcessInstance(cmd, QStringList()); - NewMainWindow(VPCommandLinePtr()); + NewMainWindow(); } return mainWindows[0]; } //--------------------------------------------------------------------------------------------------------------------- -QList VPApplication::MainWindows() +auto VPApplication::MainWindows() -> QList { Clean(); QList list; @@ -356,13 +352,22 @@ QList VPApplication::MainWindows() } //--------------------------------------------------------------------------------------------------------------------- -VPMainWindow *VPApplication::NewMainWindow(const VPCommandLinePtr &cmd) +auto VPApplication::NewMainWindow() -> VPMainWindow * { - VPMainWindow *puzzle = new VPMainWindow(cmd); + VPCommandLinePtr cmd; + VPCommandLine::ProcessInstance(cmd, {ConstFirst(VPApplication::arguments())}); + return NewMainWindow(cmd); +} + +//--------------------------------------------------------------------------------------------------------------------- +auto VPApplication::NewMainWindow(const VPCommandLinePtr &cmd) -> VPMainWindow * +{ + auto *puzzle = new VPMainWindow(cmd); mainWindows.prepend(puzzle); - if (cmd->IsGuiEnabled()) + if (not cmd->IsTestModeEnabled()) { puzzle->show(); + puzzle->UpdateWindowTitle(); } puzzle->InitZoom(); return puzzle; @@ -399,7 +404,7 @@ void VPApplication::InitOptions() } //--------------------------------------------------------------------------------------------------------------------- -const VTranslateVars *VPApplication::TrVars() +auto VPApplication::TrVars() -> const VTranslateVars * { return nullptr; } @@ -412,7 +417,7 @@ void VPApplication::OpenSettings() } //--------------------------------------------------------------------------------------------------------------------- -VPSettings *VPApplication::PuzzleSettings() +auto VPApplication::PuzzleSettings() -> VPSettings * { SCASSERT(settings != nullptr) return qobject_cast(settings); @@ -421,7 +426,7 @@ VPSettings *VPApplication::PuzzleSettings() //--------------------------------------------------------------------------------------------------------------------- void VPApplication::ActivateDarkMode() { - VPSettings *settings = qApp->PuzzleSettings(); + VPSettings *settings = VPApplication::VApp()->PuzzleSettings(); if (settings->GetDarkMode()) { QFile f(":qdarkstyle/style.qss"); @@ -498,14 +503,14 @@ void VPApplication::ProcessArguments(const VPCommandLinePtr &cmd) cmd.get()->parser.showHelp(V_EX_USAGE); } - if (args.count() > 1 && rawLayouts.size() > 0) + if (args.count() > 1 && not rawLayouts.isEmpty()) { qCCritical(pApp, "%s\n", - qPrintable(tr("Import raw layout data does not support penning several layout files."))); + qPrintable(tr("Import raw layout data does not support openning several layout files."))); cmd.get()->parser.showHelp(V_EX_USAGE); } - for (auto &arg : args) + for (const auto &arg : args) { NewMainWindow(cmd); if (not MainWindow()->LoadFile(arg)) @@ -518,7 +523,7 @@ void VPApplication::ProcessArguments(const VPCommandLinePtr &cmd) continue; } - if (rawLayouts.size() > 0) + if (not rawLayouts.isEmpty()) { MainWindow()->ImportRawLayouts(rawLayouts); } @@ -533,7 +538,7 @@ void VPApplication::ProcessArguments(const VPCommandLinePtr &cmd) } NewMainWindow(cmd); - if (rawLayouts.size() > 0) + if (not rawLayouts.isEmpty()) { // MainWindow()->New(); // prepare layout settings MainWindow()->ImportRawLayouts(rawLayouts); @@ -553,7 +558,7 @@ void VPApplication::ProcessCMD() } //--------------------------------------------------------------------------------------------------------------------- -bool VPApplication::event(QEvent *e) +auto VPApplication::event(QEvent *e) -> bool { switch(e->type()) { @@ -561,12 +566,12 @@ bool VPApplication::event(QEvent *e) // Mac specific). case QEvent::FileOpen: { - QFileOpenEvent *fileOpenEvent = static_cast(e); + auto *fileOpenEvent = static_cast(e); const QString macFileOpen = fileOpenEvent->file(); if(not macFileOpen.isEmpty()) { VPMainWindow *mw = MainWindow(); - if (mw) + if (mw != nullptr) { mw->LoadFile(macFileOpen); // open file in existing window } @@ -639,8 +644,14 @@ void VPApplication::Clean() } } -//-------------------------------------------------------------------------------------------- -VPCommandLinePtr VPApplication::CommandLine() const +//--------------------------------------------------------------------------------------------------------------------- +auto VPApplication::CommandLine() -> VPCommandLinePtr { return VPCommandLine::instance; } + +//--------------------------------------------------------------------------------------------------------------------- +VPApplication *VPApplication::VApp() +{ + return qobject_cast(QCoreApplication::instance()); +} diff --git a/src/app/puzzle/vpapplication.h b/src/app/puzzle/vpapplication.h index bc0ca4b6e..e66e98003 100644 --- a/src/app/puzzle/vpapplication.h +++ b/src/app/puzzle/vpapplication.h @@ -35,15 +35,9 @@ #include -class VPApplication;// use in define class VPMainWindow; class QLocalServer; -#if defined(qApp) -#undef qApp -#endif -#define qApp (static_cast(VAbstractApplication::instance())) - enum class SocketConnection : bool {Client = false, Server = true}; class VPApplication : public VAbstractApplication @@ -58,6 +52,7 @@ public: virtual bool IsAppInGUIMode() const override; VPMainWindow *MainWindow(); QList MainWindows(); + VPMainWindow *NewMainWindow(); VPMainWindow *NewMainWindow(const VPCommandLinePtr &cmd); void InitOptions(); @@ -70,7 +65,9 @@ public: void ParseCommandLine(const SocketConnection &connection, const QStringList &arguments); void ProcessArguments(const VPCommandLinePtr &cmd); - VPCommandLinePtr CommandLine() const; + + static VPCommandLinePtr CommandLine(); + static VPApplication *VApp(); public slots: void ProcessCMD(); @@ -86,8 +83,8 @@ private slots: private: Q_DISABLE_COPY(VPApplication) - QList > mainWindows; - QLocalServer *localServer; + QList > mainWindows{}; + QLocalServer *localServer{nullptr}; void Clean(); }; diff --git a/src/app/puzzle/vpmainwindow.cpp b/src/app/puzzle/vpmainwindow.cpp index 17d467911..317b473ce 100644 --- a/src/app/puzzle/vpmainwindow.cpp +++ b/src/app/puzzle/vpmainwindow.cpp @@ -44,6 +44,13 @@ #include "../ifc/exception/vexception.h" #include "../vwidgets/vmaingraphicsscene.h" #include "vpsheet.h" +#include "dialogs/dialogpuzzlepreferences.h" + +#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0) +#include "../vmisc/backport/qscopeguard.h" +#else +#include +#endif #include @@ -57,19 +64,18 @@ QT_WARNING_POP //--------------------------------------------------------------------------------------------------------------------- VPMainWindow::VPMainWindow(const VPCommandLinePtr &cmd, QWidget *parent) : - QMainWindow(parent), + VAbstractMainWindow(parent), ui(new Ui::VPMainWindow), - m_cmd(cmd) + m_cmd(cmd), + m_statusLabel(new QLabel(this)) { - m_layout = new VPLayout(); - // create a standard sheet - VPSheet *sheet = new VPSheet(m_layout); + auto *sheet = new VPSheet(m_layout); sheet->SetName(QObject::tr("Sheet 1")); m_layout->AddSheet(sheet); m_layout->SetFocusedSheet(); - // ----- for test purposes, to be removed------------------ +// // ----- for test purposes, to be removed------------------ sheet->SetSheetMarginsConverted(1, 1, 1, 1); sheet->SetSheetSizeConverted(84.1, 118.9); sheet->SetPiecesGapConverted(1); @@ -82,31 +88,42 @@ VPMainWindow::VPMainWindow(const VPCommandLinePtr &cmd, QWidget *parent) : m_layout->SetTilesSizeConverted(21,29.7); m_layout->SetTilesOrientation(PageOrientation::Portrait); m_layout->SetTilesMarginsConverted(1,1,1,1); -// m_layout->SetShowTiles(true); + m_layout->SetShowTiles(true); // -------------------------------------------------------- ui->setupUi(this); // init the tile factory - m_tileFactory = new VPTileFactory(m_layout, qApp->Settings()); + m_tileFactory = new VPTileFactory(m_layout, VPApplication::VApp()->Settings()); m_tileFactory->refreshTileInfos(); // init the export tool m_exporter = new VPExporter(m_layout, qApp->Settings()); - - InitMenuBar(); + + // init status bar + statusBar()->addPermanentWidget(m_statusLabel, 1); + + SetupMenu(); InitProperties(); InitCarrousel(); InitMainGraphics(); InitZoomToolBar(); + InitScaleToolBar(); SetPropertiesData(); ReadSettings(); +#if defined(Q_OS_MAC) + // Mac OS Dock Menu + QMenu *menu = new QMenu(this); + connect(menu, &QMenu::aboutToShow, this, &VPMainWindow::AboutToShowDockMenu); + AboutToShowDockMenu(); + menu->setAsDockMenu(); +#endif //defined(Q_OS_MAC) } //--------------------------------------------------------------------------------------------------------------------- @@ -117,11 +134,50 @@ VPMainWindow::~VPMainWindow() } //--------------------------------------------------------------------------------------------------------------------- -bool VPMainWindow::LoadFile(QString path) +auto VPMainWindow::CurrentFile() const -> QString { + return curFile; +} + +//--------------------------------------------------------------------------------------------------------------------- +auto VPMainWindow::LoadFile(QString path) -> bool +{ + if (not QFileInfo::exists(path)) + { + qCCritical(pWindow, "%s", qUtf8Printable(tr("File '%1' doesn't exist!").arg(path))); + if (m_cmd->IsTestModeEnabled()) + { + qApp->exit(V_EX_NOINPUT); + } + return false; + } + + // Check if file already opened + QList list = VPApplication::VApp()->MainWindows(); + auto w = std::find_if(list.begin(), list.end(), + [path](VPMainWindow *window) { return window->CurrentFile() == path; }); + if (w != list.end()) + { + (*w)->activateWindow(); + close(); + return false; + } + + VlpCreateLock(lock, path); + + if (not lock->IsLocked()) + { + if (not IgnoreLocking(lock->GetLockError(), path, m_cmd->IsGuiEnabled())) + { + return false; + } + } + try { VLayoutConverter converter(path); + m_curFileFormatVersion = converter.GetCurrentFormatVersion(); + m_curFileFormatVersionStr = converter.GetFormatVersionStr(); path = converter.Convert(); } catch (VException &e) @@ -134,31 +190,81 @@ bool VPMainWindow::LoadFile(QString path) QFile file(path); file.open(QIODevice::ReadOnly); - QScopedPointer fileReader(new VPLayoutFileReader()); + VPLayoutFileReader fileReader; if(m_layout == nullptr) { m_layout = new VPLayout(); } - fileReader->ReadFile(m_layout, &file); + fileReader.ReadFile(m_layout, &file); - // TODO / FIXME : better return value and error handling + if (fileReader.hasError()) + { + qCCritical(pWindow, "%s\n\n%s", qUtf8Printable(tr("File error.")), + qUtf8Printable(tr("Unable to read a layout file"))); + lock.reset(); + + if (m_cmd->IsTestModeEnabled()) + { + qApp->exit(V_EX_NOINPUT); + } + return false; + } + + // updates the properties with the loaded data + SetPropertiesData(); + + // TODO : update the Carrousel and the QGraphicView return true; } //--------------------------------------------------------------------------------------------------------------------- -bool VPMainWindow::SaveFile(const QString &path) +void VPMainWindow::LayoutWasSaved(bool saved) +{ + setWindowModified(!saved); + not lIsReadOnly ? ui->actionSave->setEnabled(!saved): ui->actionSave->setEnabled(false); +} + +//--------------------------------------------------------------------------------------------------------------------- +void VPMainWindow::SetCurrentFile(const QString &fileName) +{ + curFile = fileName; + if (not curFile.isEmpty()) + { + auto *settings = VPApplication::VApp()->PuzzleSettings(); + QStringList files = settings->GetRecentFileList(); + files.removeAll(fileName); + files.prepend(fileName); + while (files.size() > MaxRecentFiles) + { + files.removeLast(); + } + settings->SetRecentFileList(files); + UpdateRecentFileActions(); + } + + UpdateWindowTitle(); +} + +//--------------------------------------------------------------------------------------------------------------------- +auto VPMainWindow::SaveLayout(const QString &path, QString &error) -> bool { QFile file(path); file.open(QIODevice::WriteOnly); - VPLayoutFileWriter *fileWriter = new VPLayoutFileWriter(); - fileWriter->WriteFile(m_layout, &file); + VPLayoutFileWriter fileWriter; + fileWriter.WriteFile(m_layout, &file); - // TODO / FIXME : better return value and error handling + if (fileWriter.hasError()) + { + error = tr("Fail to create layout."); + return false; + } + SetCurrentFile(path); + LayoutWasSaved(true); return true; } @@ -207,7 +313,10 @@ void VPMainWindow::ImportRawLayouts(const QStringList &rawLayouts) //--------------------------------------------------------------------------------------------------------------------- void VPMainWindow::InitZoom() { - m_graphicsView->ZoomFitBest(); + if (m_graphicsView != nullptr) + { + m_graphicsView->ZoomFitBest(); + } } //--------------------------------------------------------------------------------------------------------------------- @@ -234,13 +343,17 @@ VPPiece* VPMainWindow::CreatePiece(const VLayoutPiece &rawPiece) } //--------------------------------------------------------------------------------------------------------------------- -void VPMainWindow::InitMenuBar() +void VPMainWindow::SetupMenu() { // most of the actions are connected through name convention (auto-connection) - // -------------------- connects the actions for the file menu + ui->actionNew->setShortcuts(QKeySequence::New); + ui->actionSave->setShortcuts(QKeySequence::Save); + ui->actionSaveAs->setShortcuts(QKeySequence::SaveAs); + connect(ui->actionExit, &QAction::triggered, this, &VPMainWindow::close); + ui->actionExit->setShortcuts(QKeySequence::Quit); // -------------------- connects the actions for the edit menu // TODO : initialise the undo / redo @@ -250,8 +363,43 @@ void VPMainWindow::InitMenuBar() // Add dock properties action QAction* actionDockWidgetToolOptions = ui->dockWidgetProperties->toggleViewAction(); - ui->menuWindows->addAction(actionDockWidgetToolOptions); + ui->menuEdit->addAction(actionDockWidgetToolOptions); + // File + m_recentFileActs.fill(nullptr); + for (auto & recentFileAct : m_recentFileActs) + { + auto *action = new QAction(this); + recentFileAct = action; + connect(action, &QAction::triggered, this, [this]() + { + if (auto *senderAction = qobject_cast(sender())) + { + const QString filePath = senderAction->data().toString(); + if (not filePath.isEmpty()) + { + LoadFile(filePath); + } + } + }); + ui->menuFile->insertAction(ui->actionPreferences, recentFileAct); + recentFileAct->setVisible(false); + } + + m_separatorAct = new QAction(this); + m_separatorAct->setSeparator(true); + m_separatorAct->setVisible(false); + ui->menuFile->insertAction(ui->actionPreferences, m_separatorAct); + + // Actions for recent files loaded by a puzzle window application. + UpdateRecentFileActions(); + + // Window + connect(ui->menuWindow, &QMenu::aboutToShow, this, [this]() + { + ui->menuWindow->clear(); + CreateWindowMenu(ui->menuWindow); + }); } //--------------------------------------------------------------------------------------------------------------------- @@ -603,10 +751,7 @@ void VPMainWindow::InitZoomToolBar() delete m_doubleSpinBoxScale; } - if (m_mouseCoordinate != nullptr) - { - delete m_mouseCoordinate; - } + delete m_mouseCoordinate; // connect the zoom buttons and shortcuts to the slots QList zoomInShortcuts; @@ -631,27 +776,29 @@ void VPMainWindow::InitZoomToolBar() zoomFitBestShortcuts.append(QKeySequence(Qt::ControlModifier + Qt::Key_Equal)); ui->actionZoomFitBest->setShortcuts(zoomFitBestShortcuts); connect(ui->actionZoomFitBest, &QAction::triggered, m_graphicsView, &VPMainGraphicsView::ZoomFitBest); +} - // defined the scale - ui->toolBarZoom->addSeparator(); - QLabel* zoomScale = new QLabel(tr("Scale:"), this); - ui->toolBarZoom->addWidget(zoomScale); +//--------------------------------------------------------------------------------------------------------------------- +void VPMainWindow::InitScaleToolBar() +{ + auto* zoomScale = new QLabel(tr("Scale:"), this); + ui->toolBarScale->addWidget(zoomScale); m_doubleSpinBoxScale = new QDoubleSpinBox(this); m_doubleSpinBoxScale->setDecimals(1); - m_doubleSpinBoxScale->setSuffix("%"); + m_doubleSpinBoxScale->setSuffix(QChar('%')); on_ScaleChanged(m_graphicsView->transform().m11()); connect(m_doubleSpinBoxScale.data(), QOverload::of(&QDoubleSpinBox::valueChanged), this, [this](double d){m_graphicsView->Zoom(d/100.0);}); - ui->toolBarZoom->addWidget(m_doubleSpinBoxScale); + ui->toolBarScale->addWidget(m_doubleSpinBoxScale); // define the mouse position - ui->toolBarZoom->addSeparator(); + ui->toolBarScale->addSeparator(); - m_mouseCoordinate = new QLabel(QString("0, 0 (%1)").arg(UnitsToStr(m_layout->GetUnit(), true))); - ui->toolBarZoom->addWidget(m_mouseCoordinate); - ui->toolBarZoom->addSeparator(); + m_mouseCoordinate = new QLabel(QStringLiteral("0, 0 (%1)").arg(UnitsToStr(m_layout->GetUnit(), true))); + ui->toolBarScale->addWidget(m_mouseCoordinate); + ui->toolBarScale->addSeparator(); } //--------------------------------------------------------------------------------------------------------------------- @@ -670,11 +817,75 @@ void VPMainWindow::SetCheckBoxValue(QCheckBox *checkbox, bool value) checkbox->blockSignals(false); } +//--------------------------------------------------------------------------------------------------------------------- +void VPMainWindow::UpdateWindowTitle() +{ + QString showName; + bool isFileWritable = true; + if (not curFile.isEmpty()) + { +#ifdef Q_OS_WIN32 + qt_ntfs_permission_lookup++; // turn checking on +#endif /*Q_OS_WIN32*/ + isFileWritable = QFileInfo(curFile).isWritable(); +#ifdef Q_OS_WIN32 + qt_ntfs_permission_lookup--; // turn it off again +#endif /*Q_OS_WIN32*/ + showName = StrippedName(curFile); + } + else + { + int index = VPApplication::VApp()->MainWindows().indexOf(this); + if (index != -1) + { + showName = tr("untitled %1.vlt").arg(index+1); + } + else + { + showName = tr("untitled.vlt"); + } + } + + showName += QLatin1String("[*]"); + + if (lIsReadOnly || not isFileWritable) + { + showName += QStringLiteral(" (") + tr("read only") + QChar(')'); + } + + setWindowTitle(showName); + setWindowFilePath(curFile); + +#if defined(Q_OS_MAC) + static QIcon fileIcon = QIcon(QCoreApplication::applicationDirPath() + + QLatin1String("/../Resources/layout.icns")); + QIcon icon; + if (not curFile.isEmpty()) + { + if (not isWindowModified()) + { + icon = fileIcon; + } + else + { + static QIcon darkIcon; + + if (darkIcon.isNull()) + { + darkIcon = QIcon(darkenPixmap(fileIcon.pixmap(16, 16))); + } + icon = darkIcon; + } + } + setWindowIcon(icon); +#endif //defined(Q_OS_MAC) +} + //--------------------------------------------------------------------------------------------------------------------- void VPMainWindow::ReadSettings() { qCDebug(pWindow, "Reading settings."); - const VPSettings *settings = qApp->PuzzleSettings(); + const VPSettings *settings = VPApplication::VApp()->PuzzleSettings(); if (settings->status() == QSettings::NoError) { @@ -682,6 +893,9 @@ void VPMainWindow::ReadSettings() restoreState(settings->GetWindowState()); restoreState(settings->GetToolbarsState(), APP_VERSION); + // Text under tool buton icon + ToolBarStyles(); + ui->dockWidgetProperties->setVisible(settings->IsDockWidgetPropertiesActive()); ui->dockWidgetPropertiesContents->setVisible(settings->IsDockWidgetPropertiesContentsActive()); @@ -700,7 +914,7 @@ void VPMainWindow::ReadSettings() //--------------------------------------------------------------------------------------------------------------------- void VPMainWindow::WriteSettings() { - VPSettings *settings = qApp->PuzzleSettings(); + VPSettings *settings = VPApplication::VApp()->PuzzleSettings(); settings->SetGeometry(saveGeometry()); settings->SetWindowState(saveState()); settings->SetToolbarsState(saveState(APP_VERSION)); @@ -837,20 +1051,56 @@ void VPMainWindow::generateTiledPdf(QString fileName) } } +//--------------------------------------------------------------------------------------------------------------------- +void VPMainWindow::CreateWindowMenu(QMenu *menu) +{ + SCASSERT(menu != nullptr) + + QAction *action = menu->addAction(tr("&New Window")); + connect(action, &QAction::triggered, this, []() + { + VPApplication::VApp()->NewMainWindow()->activateWindow(); + }); + action->setMenuRole(QAction::NoRole); + menu->addSeparator(); + + const QList windows = VPApplication::VApp()->MainWindows(); + for (int i = 0; i < windows.count(); ++i) + { + VPMainWindow *window = windows.at(i); + + QString title = QStringLiteral("%1. %2").arg(i+1).arg(window->windowTitle()); + const int index = title.lastIndexOf(QLatin1String("[*]")); + if (index != -1) + { + window->isWindowModified() ? title.replace(index, 3, QChar('*')) : title.replace(index, 3, QString()); + } + +#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0) + QAction *action = menu->addAction(title, this, SLOT(ShowWindow())); +#else + QAction *action = menu->addAction(title, this, &VPMainWindow::ShowWindow); +#endif //QT_VERSION < QT_VERSION_CHECK(5, 6, 0) + action->setData(i); + action->setCheckable(true); + action->setMenuRole(QAction::NoRole); + if (window->isActiveWindow()) + { + action->setChecked(true); + } + } +} //--------------------------------------------------------------------------------------------------------------------- void VPMainWindow::on_actionNew_triggered() { - // just for test purpuses, to be removed: - QMessageBox msgBox; - msgBox.setText("TODO VPMainWindow::New"); - int ret = msgBox.exec(); - - Q_UNUSED(ret); - - // TODO - + VPApplication::VApp()->NewMainWindow(); +} +//--------------------------------------------------------------------------------------------------------------------- +void VPMainWindow::ShowToolTip(const QString &toolTip) +{ + m_statusLabel->setText(toolTip); } //--------------------------------------------------------------------------------------------------------------------- @@ -877,102 +1127,196 @@ void VPMainWindow::closeEvent(QCloseEvent *event) } } +//--------------------------------------------------------------------------------------------------------------------- +void VPMainWindow::changeEvent(QEvent *event) +{ + if (event->type() == QEvent::LanguageChange) + { + // retranslate designer form (single inheritance approach) + ui->retranslateUi(this); + + WindowsLocale(); + UpdateWindowTitle(); + } + + // remember to call base class implementation + QMainWindow::changeEvent(event); +} + +//--------------------------------------------------------------------------------------------------------------------- +QStringList VPMainWindow::RecentFileList() const +{ + return VPApplication::VApp()->PuzzleSettings()->GetRecentFileList(); +} + //--------------------------------------------------------------------------------------------------------------------- void VPMainWindow::on_actionOpen_triggered() { qCDebug(pWindow, "Openning puzzle layout file."); const QString filter(tr("Layout files") + QLatin1String(" (*.vlt)")); + //Use standard path to individual measurements + const QString pathTo = VPApplication::VApp()->PuzzleSettings()->GetPathManualLayouts(); - //Get list last open files - QStringList recentFiles = qApp->PuzzleSettings()->GetRecentFileList(); - QString dir; - if (recentFiles.isEmpty()) + bool usedNotExistedDir = false; + QDir directory(pathTo); + if (not directory.exists()) { - dir = QDir::homePath(); - } - else - { - //Absolute path to last open file - dir = QFileInfo(recentFiles.first()).absolutePath(); - } - qCDebug(pWindow, "Run QFileDialog::getOpenFileName: dir = %s.", qUtf8Printable(dir)); - const QString filePath = QFileDialog::getOpenFileName(this, tr("Open file"), dir, filter, nullptr); - - if (filePath.isEmpty()) - { - return; + usedNotExistedDir = directory.mkpath(QChar('.')); } + const QString mPath = QFileDialog::getOpenFileName(this, tr("Open file"), pathTo, filter, nullptr, + VAbstractApplication::VApp()->NativeFileDialog()); - // TODO : if m_layout == nullptr, open in current window - // otherwise open in new window - - // TODO : if layout file has a lock, warning message - - - if(!LoadFile(filePath)) + if (not mPath.isEmpty()) { - return; + VPApplication::VApp()->NewMainWindow()->LoadFile(mPath); } - // Updates the list of recent files - recentFiles.removeAll(filePath); - recentFiles.prepend(filePath); - while (recentFiles.size() > MaxRecentFiles) + if (usedNotExistedDir) { - recentFiles.removeLast(); + QDir(pathTo).rmpath(QChar('.')); } - qApp->PuzzleSettings()->SetRecentFileList(recentFiles); - - // updates the properties with the loaded data - SetPropertiesData(); - - // TODO : update the Carrousel and the QGraphicView } //--------------------------------------------------------------------------------------------------------------------- -void VPMainWindow::on_actionSave_triggered() +bool VPMainWindow::on_actionSave_triggered() { - // just for test purpuses, to be removed: - QMessageBox msgBox; - msgBox.setText("TODO VPMainWindow::Save"); - int ret = msgBox.exec(); + if (curFile.isEmpty() || lIsReadOnly) + { + return on_actionSaveAs_triggered(); + } - Q_UNUSED(ret); + if (m_curFileFormatVersion < VLayoutConverter::LayoutMaxVer + && not ContinueFormatRewrite(m_curFileFormatVersionStr, VLayoutConverter::LayoutMaxVerStr)) + { + return false; + } - // TODO + if (not CheckFilePermissions(curFile, this)) + { + return false; + } + + QString error; + if (not SaveLayout(curFile, error)) + { + QMessageBox messageBox; + messageBox.setIcon(QMessageBox::Warning); + messageBox.setText(tr("Could not save the file")); + messageBox.setDefaultButton(QMessageBox::Ok); + messageBox.setDetailedText(error); + messageBox.setStandardButtons(QMessageBox::Ok); + messageBox.exec(); + return false; + } + + m_curFileFormatVersion = VLayoutConverter::LayoutMaxVer; + m_curFileFormatVersionStr = VLayoutConverter::LayoutMaxVerStr; + + return true; } //--------------------------------------------------------------------------------------------------------------------- -void VPMainWindow::on_actionSaveAs_triggered() +bool VPMainWindow::on_actionSaveAs_triggered() { - // TODO / FIXME : See valentina how the save is done over there. we need to add the - // extension .vlt, check for empty file names etc. + QString filters = tr("Layout files") + QStringLiteral(" (*.vlt)"); + QString suffix = QStringLiteral("vlt"); + QString fName = tr("layout") + QChar('.') + suffix; - //Get list last open files - QStringList recentFiles = qApp->PuzzleSettings()->GetRecentFileList(); QString dir; - if (recentFiles.isEmpty()) + if (curFile.isEmpty()) { - dir = QDir::homePath(); + dir = VPApplication::VApp()->PuzzleSettings()->GetPathManualLayouts(); } else { - //Absolute path to last open file - dir = QFileInfo(recentFiles.first()).absolutePath(); + dir = QFileInfo(curFile).absolutePath(); } - QString filters(tr("Layout files") + QLatin1String("(*.vlt)")); - QString fileName = QFileDialog::getSaveFileName(this, tr("Save as"), - dir + QLatin1String("/") + tr("Layout") + QLatin1String(".vlt"), - filters, nullptr -#ifdef Q_OS_LINUX - , QFileDialog::DontUseNativeDialog -#endif - ); + bool usedNotExistedDir = false; + QDir directory(dir); + if (not directory.exists()) + { + usedNotExistedDir = directory.mkpath(QChar('.')); + } - SaveFile(fileName); + QString fileName = QFileDialog::getSaveFileName(this, tr("Save as"), dir + QChar('/') + fName, filters, nullptr, + VAbstractApplication::VApp()->NativeFileDialog()); + + auto RemoveTempDir = qScopeGuard([usedNotExistedDir, dir]() + { + if (usedNotExistedDir) + { + QDir(dir).rmpath(QChar('.')); + } + }); + + if (fileName.isEmpty()) + { + return false; + } + + QFileInfo f( fileName ); + if (f.suffix().isEmpty() && f.suffix() != suffix) + { + fileName += QChar('.') + suffix; + } + + if (QFileInfo::exists(fileName) && curFile != fileName) + { + // Temporary try to lock the file before saving + VLockGuard tmp(fileName); + if (not tmp.IsLocked()) + { + qCCritical(pWindow, "%s", + qUtf8Printable(tr("Failed to lock. This file already opened in another window."))); + return false; + } + } + + // Need for restoring previous state in case of failure +// const bool readOnly = m_layout->IsReadOnly(); + +// m_layout->SetReadOnly(false); + lIsReadOnly = false; + + QString error; + bool result = SaveLayout(fileName, error); + if (not result) + { + QMessageBox messageBox; + messageBox.setIcon(QMessageBox::Warning); + messageBox.setInformativeText(tr("Could not save file")); + messageBox.setDefaultButton(QMessageBox::Ok); + messageBox.setDetailedText(error); + messageBox.setStandardButtons(QMessageBox::Ok); + messageBox.exec(); + + // Restore previous state +// m_layout->SetReadOnly(readOnly); +// lIsReadOnly = readOnly; + return false; + } + + m_curFileFormatVersion = VLayoutConverter::LayoutMaxVer; + m_curFileFormatVersionStr = VLayoutConverter::LayoutMaxVerStr; + +// UpdatePadlock(false); + UpdateWindowTitle(); + + if (curFile == fileName && not lock.isNull()) + { + lock->Unlock(); + } + VlpCreateLock(lock, fileName); + if (not lock->IsLocked()) + { + qCCritical(pWindow, "%s", qUtf8Printable(tr("Failed to lock. This file already opened in another window. " + "Expect collissions when run 2 copies of the program."))); + return false; + } + return true; } //--------------------------------------------------------------------------------------------------------------------- @@ -1004,19 +1348,6 @@ void VPMainWindow::on_actionImportRawLayout_triggered() } -//--------------------------------------------------------------------------------------------------------------------- -void VPMainWindow::on_actionCloseLayout_triggered() -{ - // just for test purpuses, to be removed: - QMessageBox msgBox; - msgBox.setText("TODO VPMainWindow::CloseLayout"); - int ret = msgBox.exec(); - - Q_UNUSED(ret); - - // TODO -} - //--------------------------------------------------------------------------------------------------------------------- void VPMainWindow::on_actionAboutQt_triggered() { @@ -1509,3 +1840,64 @@ void VPMainWindow::on_MouseMoved(const QPointF &scenePos) .arg(UnitsToStr(m_layout->GetUnit(), true))); } } + +//--------------------------------------------------------------------------------------------------------------------- +void VPMainWindow::ShowWindow() const +{ + if (auto *action = qobject_cast(sender())) + { + const QVariant v = action->data(); + if (v.canConvert()) + { + const int offset = qvariant_cast(v); + const QList windows = VPApplication::VApp()->MainWindows(); + windows.at(offset)->raise(); + windows.at(offset)->activateWindow(); + } + } +} + +//--------------------------------------------------------------------------------------------------------------------- +void VPMainWindow::on_actionPreferences_triggered() +{ + // Calling constructor of the dialog take some time. Because of this user have time to call the dialog twice. + static QPointer guard;// Prevent any second run + if (guard.isNull()) + { + QGuiApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); + auto *preferences = new DialogPuzzlePreferences(this); + // QScopedPointer needs to be sure any exception will never block guard + QScopedPointer dlg(preferences); + guard = preferences; + // Must be first + connect(dlg.data(), &DialogPuzzlePreferences::UpdateProperties, this, &VPMainWindow::WindowsLocale); + connect(dlg.data(), &DialogPuzzlePreferences::UpdateProperties, this, &VPMainWindow::ToolBarStyles); + QGuiApplication::restoreOverrideCursor(); + dlg->exec(); + } +} + +//--------------------------------------------------------------------------------------------------------------------- +void VPMainWindow::ToolBarStyles() +{ + ToolBarStyle(ui->mainToolBar); + ToolBarStyle(ui->toolBarZoom); +} + +//--------------------------------------------------------------------------------------------------------------------- +#if defined(Q_OS_MAC) +void VPMainWindow::AboutToShowDockMenu() +{ + if (QMenu *menu = qobject_cast(sender())) + { + menu->clear(); + CreateWindowMenu(menu); + + menu->addSeparator(); + + QAction *actionPreferences = menu->addAction(tr("Preferences")); + actionPreferences->setMenuRole(QAction::NoRole); + connect(actionPreferences, &QAction::triggered, this, &VPMainWindow::Preferences); + } +} +#endif //defined(Q_OS_MAC) diff --git a/src/app/puzzle/vpmainwindow.h b/src/app/puzzle/vpmainwindow.h index 5085a675b..aea66ba34 100644 --- a/src/app/puzzle/vpmainwindow.h +++ b/src/app/puzzle/vpmainwindow.h @@ -43,13 +43,15 @@ #include "vpexporter.h" #include "vpcommandline.h" #include "../vlayout/vlayoutdef.h" +#include "../vwidgets/vabstractmainwindow.h" +#include "../vmisc/vlockguard.h" namespace Ui { class VPMainWindow; } -class VPMainWindow : public QMainWindow +class VPMainWindow : public VAbstractMainWindow { Q_OBJECT @@ -57,6 +59,8 @@ public: explicit VPMainWindow(const VPCommandLinePtr &cmd, QWidget *parent = nullptr); virtual ~VPMainWindow(); + QString CurrentFile() const; + /** * @brief LoadFile Loads the layout file of given path in m_layout. * This function doesn't update the gui. @@ -65,12 +69,15 @@ public: */ bool LoadFile(QString path); + void LayoutWasSaved(bool saved); + void SetCurrentFile(const QString &fileName); + /** - * @brief SaveFile Saves the current layout to the layout file of given path + * @brief SaveLayout Saves the current layout to the layout file of given path * @param path path to layout file * @return true if success */ - bool SaveFile(const QString &path); + bool SaveLayout(const QString &path, QString &error); /** * @brief ImportRawLayouts The function imports the raw layouts of given paths @@ -83,6 +90,8 @@ public: */ void InitZoom(); + void UpdateWindowTitle(); + public slots: /** * @brief on_actionNew_triggered When the menu action File > New @@ -90,146 +99,14 @@ public slots: */ void on_actionNew_triggered(); + virtual void ShowToolTip(const QString &toolTip) override; + protected: - enum { MaxRecentFiles = 5 }; - virtual void closeEvent(QCloseEvent *event) override; + virtual void changeEvent(QEvent* event) override; + virtual QStringList RecentFileList() const override; -private: - Q_DISABLE_COPY(VPMainWindow) - Ui::VPMainWindow *ui; - - VPCarrousel *m_carrousel{nullptr}; - VPMainGraphicsView *m_graphicsView{nullptr}; - - VPCommandLinePtr m_cmd; - - VPLayout *m_layout{nullptr}; - QListm_selectedPieces{QList()}; - - VPTileFactory *m_tileFactory{nullptr}; - VPExporter *m_exporter{nullptr}; - - /** - * @brief spin box with the scale factor of the graphic view - */ - QPointer m_doubleSpinBoxScale{nullptr}; - - /** - * @brief mouseCoordinate pointer to label who show mouse coordinate. - */ - QLabel* m_mouseCoordinate{nullptr}; - - /** - * @brief CreatePiece creates a piece from the given VLayoutPiece data - * @param rawPiece the raw piece data - */ - VPPiece* CreatePiece(const VLayoutPiece &rawPiece); - - /** - * @brief InitMenuBar Inits the menu bar (File, Edit, Help ...) - */ - void InitMenuBar(); - - /** - * @brief InitProperties Init the properties - */ - void InitProperties(); - - /** - * @brief InitPropertyTabCurrentPiece Inits the current piece tab in the properties - */ - void InitPropertyTabCurrentPiece(); - - /** - * @brief InitPropertyTabCurrentSheet Inits the current sheet tab in the properties; - */ - void InitPropertyTabCurrentSheet(); - - /** - * @brief InitPropertyTabLayout Inits the layout tab in the properties - */ - void InitPropertyTabLayout(); - - /** - * @brief InitPropertyTabTiles Inits the tiles tab in the properties - */ - void InitPropertyTabTiles(); - - /** - * @brief InitCarrousel Inits the carrousel - */ - void InitCarrousel(); - - /** - * @brief InitMainGraphics Initialises the puzzle main graphics - */ - void InitMainGraphics(); - - /** - * @brief InitToolBar Initialises the tool bar - */ - void InitZoomToolBar(); - - /** - * @brief SetPropertiesData Sets the values of UI elements - * in all the property tabs to the values saved in m_layout - */ - void SetPropertiesData(); - - /** - * @brief SetPropertyTabCurrentPieceData Sets the values of UI elements - * in the Current Piece Tab to the values saved in m_layout - */ - void SetPropertyTabCurrentPieceData(); - - /** - * @brief SetPropertyTabSheetData Sets the values of UI elements - * in the Sheet Tab to the values saved in focused sheet - */ - void SetPropertyTabSheetData(); - - /** - * @brief SetPropertyTabTilesData Sets the values of UI elements - * in the Tiles Tab to the values saved in m_layout - */ - void SetPropertyTabTilesData(); - - /** - * @brief SetPropertyTabLayoutData Sets the values of UI elements - * in the Layout Tab to the values saved in m_layout - */ - void SetPropertyTabLayoutData(); - - /** - * @brief SetDoubleSpinBoxValue sets the given spinbox to the given value. - * the signals are blocked before changing the value and unblocked after - * @param spinBox pointer to spinbox - * @param value spinbox value - */ - void SetDoubleSpinBoxValue(QDoubleSpinBox *spinBox, qreal value); - - /** - * @brief SetCheckBoxValue sets the given checkbox to the given value. - * the signals are blocked before changing the value and unblocked after - * @param checkbox pointer to checkbox - * @param value checkbox value - */ - void SetCheckBoxValue(QCheckBox *checkbox, bool value); - - void ReadSettings(); - void WriteSettings(); - - bool MaybeSave(); - - /** - * @brief generateTiledPdf Generates the tiled Pdf in the given filename - * @param fileName output file name - */ - void generateTiledPdf(QString fileName); - - -private slots: + private slots: /** * @brief on_actionOpen_triggered When the menu action File > Open is * triggered. @@ -242,14 +119,14 @@ private slots: * triggered. * The slot is automatically connected through name convention. */ - void on_actionSave_triggered(); + bool on_actionSave_triggered(); /** * @brief on_actionSaveAs_triggered When the menu action File > Save As * is triggered. * The slot is automatically connected through name convention. */ - void on_actionSaveAs_triggered(); + bool on_actionSaveAs_triggered(); /** * @brief on_actionImportRawLayout_triggered When the menu action @@ -258,13 +135,6 @@ private slots: */ void on_actionImportRawLayout_triggered(); - /** - * @brief on_actionCloseLayout_triggered When the menu action - * File > Close Layout is triggered. - * The slot is automatically connected through name convention. - */ - void on_actionCloseLayout_triggered(); - /** * @brief on_actionAboutQt_triggered When the menu action Help > About Qt * is triggered. @@ -523,6 +393,165 @@ private slots: * @param scenePos position mouse. */ void on_MouseMoved(const QPointF &scenePos); + + void on_actionPreferences_triggered(); + + void ShowWindow() const; + + void ToolBarStyles(); + +#if defined(Q_OS_MAC) + void AboutToShowDockMenu(); +#endif //defined(Q_OS_MAC) + +private: + Q_DISABLE_COPY(VPMainWindow) + Ui::VPMainWindow *ui; + + VPCarrousel *m_carrousel{nullptr}; + VPMainGraphicsView *m_graphicsView{nullptr}; + + VPCommandLinePtr m_cmd; + + VPLayout *m_layout{new VPLayout()}; + QListm_selectedPieces{QList()}; + + VPTileFactory *m_tileFactory{nullptr}; + VPExporter *m_exporter{nullptr}; + + /** + * @brief spin box with the scale factor of the graphic view + */ + QPointer m_doubleSpinBoxScale{nullptr}; + + /** + * @brief mouseCoordinate pointer to label who show mouse coordinate. + */ + QLabel* m_mouseCoordinate{nullptr}; + + QLabel* m_statusLabel{nullptr}; + + QString curFile{}; + + bool isInitialized{false}; + bool lIsReadOnly{false}; + + QSharedPointer> lock{nullptr}; + + /** + * @brief CreatePiece creates a piece from the given VLayoutPiece data + * @param rawPiece the raw piece data + */ + VPPiece* CreatePiece(const VLayoutPiece &rawPiece); + + /** + * @brief InitMenuBar Inits the menu bar (File, Edit, Help ...) + */ + void SetupMenu(); + + /** + * @brief InitProperties Init the properties + */ + void InitProperties(); + + /** + * @brief InitPropertyTabCurrentPiece Inits the current piece tab in the properties + */ + void InitPropertyTabCurrentPiece(); + + /** + * @brief InitPropertyTabCurrentSheet Inits the current sheet tab in the properties; + */ + void InitPropertyTabCurrentSheet(); + + /** + * @brief InitPropertyTabLayout Inits the layout tab in the properties + */ + void InitPropertyTabLayout(); + + /** + * @brief InitPropertyTabTiles Inits the tiles tab in the properties + */ + void InitPropertyTabTiles(); + + /** + * @brief InitCarrousel Inits the carrousel + */ + void InitCarrousel(); + + /** + * @brief InitMainGraphics Initialises the puzzle main graphics + */ + void InitMainGraphics(); + + /** + * @brief InitToolBar Initialises the tool bar + */ + void InitZoomToolBar(); + + /** + * @brief InitScaleToolBar Initialises the scale tool bar + */ + void InitScaleToolBar(); + + /** + * @brief SetPropertiesData Sets the values of UI elements + * in all the property tabs to the values saved in m_layout + */ + void SetPropertiesData(); + + /** + * @brief SetPropertyTabCurrentPieceData Sets the values of UI elements + * in the Current Piece Tab to the values saved in m_layout + */ + void SetPropertyTabCurrentPieceData(); + + /** + * @brief SetPropertyTabSheetData Sets the values of UI elements + * in the Sheet Tab to the values saved in focused sheet + */ + void SetPropertyTabSheetData(); + + /** + * @brief SetPropertyTabTilesData Sets the values of UI elements + * in the Tiles Tab to the values saved in m_layout + */ + void SetPropertyTabTilesData(); + + /** + * @brief SetPropertyTabLayoutData Sets the values of UI elements + * in the Layout Tab to the values saved in m_layout + */ + void SetPropertyTabLayoutData(); + + /** + * @brief SetDoubleSpinBoxValue sets the given spinbox to the given value. + * the signals are blocked before changing the value and unblocked after + * @param spinBox pointer to spinbox + * @param value spinbox value + */ + void SetDoubleSpinBoxValue(QDoubleSpinBox *spinBox, qreal value); + + /** + * @brief SetCheckBoxValue sets the given checkbox to the given value. + * the signals are blocked before changing the value and unblocked after + * @param checkbox pointer to checkbox + * @param value checkbox value + */ + void SetCheckBoxValue(QCheckBox *checkbox, bool value); + + void ReadSettings(); + void WriteSettings(); + + bool MaybeSave(); + + /** + * @brief generateTiledPdf Generates the tiled Pdf in the given filename + * @param fileName output file name + */ + void generateTiledPdf(QString fileName); + + void CreateWindowMenu(QMenu *menu); }; #endif // VPMAINWINDOW_H diff --git a/src/app/puzzle/vpmainwindow.ui b/src/app/puzzle/vpmainwindow.ui index 360554bfa..8f7fdea5c 100644 --- a/src/app/puzzle/vpmainwindow.ui +++ b/src/app/puzzle/vpmainwindow.ui @@ -14,7 +14,7 @@ Puzzle - + :/puzzleicon/64x64/logo.png:/puzzleicon/64x64/logo.png @@ -53,6 +53,8 @@ + + @@ -61,11 +63,10 @@ - + - &Windows + &Window - @@ -77,18 +78,29 @@ - + + + true + + + Menu + + + Qt::ToolButtonTextUnderIcon + TopToolBarArea false + + + - @@ -163,6 +175,9 @@ + + true + 0 @@ -192,7 +207,7 @@ - + :/puzzleicon/64x64/iconCurrentPiece.png:/puzzleicon/64x64/iconCurrentPiece.png @@ -216,6 +231,9 @@ + + true + @@ -390,7 +408,7 @@ - + :/puzzleicon/64x64/iconRotate90Clockwise.png:/puzzleicon/64x64/iconRotate90Clockwise.png @@ -410,7 +428,7 @@ - + :/puzzleicon/64x64/iconRotate90Anticlockwise.png:/puzzleicon/64x64/iconRotate90Anticlockwise.png @@ -430,7 +448,7 @@ - + :/puzzleicon/64x64/iconRotateGrainlineVertical.png:/puzzleicon/64x64/iconRotateGrainlineVertical.png @@ -450,7 +468,7 @@ - + :/puzzleicon/64x64/iconRotateGrainlineHorizontal.png:/puzzleicon/64x64/iconRotateGrainlineHorizontal.png @@ -610,7 +628,7 @@ - + :/puzzleicon/64x64/iconLayout.png:/puzzleicon/64x64/iconLayout.png @@ -762,7 +780,7 @@ - + :/puzzleicon/64x64/iconPortrait.png:/puzzleicon/64x64/iconPortrait.png @@ -785,7 +803,7 @@ - + :/puzzleicon/64x64/iconLandscape.png:/puzzleicon/64x64/iconLandscape.png @@ -977,7 +995,7 @@ - + :/puzzleicon/64x64/iconGrainlineVertical.png:/puzzleicon/64x64/iconGrainlineVertical.png @@ -997,7 +1015,7 @@ - + :/puzzleicon/64x64/iconGrainlineHorizontal.png:/puzzleicon/64x64/iconGrainlineHorizontal.png @@ -1083,7 +1101,7 @@ - + :/puzzleicon/64x64/iconTiles.png:/puzzleicon/64x64/iconTiles.png @@ -1125,7 +1143,7 @@ 0 0 356 - 717 + 700 @@ -1193,7 +1211,7 @@ - + :/puzzleicon/64x64/iconPortrait.png:/puzzleicon/64x64/iconPortrait.png @@ -1213,7 +1231,7 @@ - + :/puzzleicon/64x64/iconLandscape.png:/puzzleicon/64x64/iconLandscape.png @@ -1371,7 +1389,7 @@ - + :/puzzleicon/64x64/iconProperties.png:/puzzleicon/64x64/iconProperties.png @@ -1413,7 +1431,7 @@ 0 0 356 - 717 + 700 @@ -1539,7 +1557,7 @@ - toolBar + zoom Qt::ToolButtonTextUnderIcon @@ -1555,7 +1573,26 @@ + + + + Scale + + + Qt::AllToolBarAreas + + + BottomToolBarArea + + + false + + + + + .. + &Open @@ -1564,6 +1601,13 @@ + + true + + + + .. + &Save @@ -1572,6 +1616,13 @@ + + true + + + + .. + Save &As @@ -1579,12 +1630,10 @@ Ctrl+Shift+S - - - &Close Layout - - + + true + &Import Raw Layout Data @@ -1603,8 +1652,15 @@ Ctrl+Q + + QAction::QuitRole + + + + .. + &New @@ -1616,11 +1672,21 @@ About &Qt + + QAction::AboutQtRole + + + + .. + About &Puzzle + + QAction::AboutRole + @@ -1629,11 +1695,20 @@ true + + true + Properties + + QAction::PreferencesRole + + + true + .. @@ -1643,6 +1718,9 @@ + + true + .. @@ -1652,6 +1730,9 @@ + + true + .. @@ -1661,6 +1742,9 @@ + + true + .. @@ -1672,6 +1756,11 @@ Zoom sheet + + + Preferences + + @@ -1721,9 +1810,6 @@ checkBoxLayoutWarningPiecesSuperposition checkBoxLayoutWarningPiecesOutOfBound - - - - + diff --git a/src/app/puzzle/vpsheet.h b/src/app/puzzle/vpsheet.h index 5558b0a94..ecbefc919 100644 --- a/src/app/puzzle/vpsheet.h +++ b/src/app/puzzle/vpsheet.h @@ -70,8 +70,6 @@ class VPSheet : public QObject { Q_OBJECT public: - - explicit VPSheet(VPLayout* layout); ~VPSheet(); diff --git a/src/app/puzzle/xml/vplayoutfilereader.cpp b/src/app/puzzle/xml/vplayoutfilereader.cpp index ac5cea16d..4936a44ef 100644 --- a/src/app/puzzle/xml/vplayoutfilereader.cpp +++ b/src/app/puzzle/xml/vplayoutfilereader.cpp @@ -33,19 +33,6 @@ #include "../ifc/exception/vexception.h" #include "../ifc/exception/vexceptionconversionerror.h" -//--------------------------------------------------------------------------------------------------------------------- -VPLayoutFileReader::VPLayoutFileReader() -{ - -} - -//--------------------------------------------------------------------------------------------------------------------- -VPLayoutFileReader::~VPLayoutFileReader() -{ - // TODO -} - - //--------------------------------------------------------------------------------------------------------------------- bool VPLayoutFileReader::ReadFile(VPLayout *layout, QFile *file) { @@ -56,7 +43,7 @@ bool VPLayoutFileReader::ReadFile(VPLayout *layout, QFile *file) ReadLayout(layout); } - return !error(); + return hasError(); } //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/app/puzzle/xml/vplayoutfilereader.h b/src/app/puzzle/xml/vplayoutfilereader.h index 7ed40f1a8..f7b2b8d59 100644 --- a/src/app/puzzle/xml/vplayoutfilereader.h +++ b/src/app/puzzle/xml/vplayoutfilereader.h @@ -39,8 +39,8 @@ class VPLayoutFileReader : public QXmlStreamReader { Q_DECLARE_TR_FUNCTIONS(VPLayoutFileReader) public: - VPLayoutFileReader(); - ~VPLayoutFileReader(); + VPLayoutFileReader()=default; + ~VPLayoutFileReader()=default; bool ReadFile(VPLayout *layout, QFile *file); @@ -64,7 +64,7 @@ private: static QString ReadAttributeEmptyString(const QXmlStreamAttributes &attribs, const QString &name); static bool ReadAttributeBool(const QXmlStreamAttributes &attribs, const QString &name, const QString &defValue); static qreal ReadAttributeDouble(const QXmlStreamAttributes &attribs, const QString &name, - const QString &defValue); + const QString &defValue); }; #endif // VPLAYOUTFILEREADER_H diff --git a/src/app/puzzle/xml/vplayoutfilewriter.cpp b/src/app/puzzle/xml/vplayoutfilewriter.cpp index 5f2295f41..3991483d5 100644 --- a/src/app/puzzle/xml/vplayoutfilewriter.cpp +++ b/src/app/puzzle/xml/vplayoutfilewriter.cpp @@ -34,18 +34,6 @@ #include "vplayoutliterals.h" #include "../ifc/xml/vlayoutconverter.h" -//--------------------------------------------------------------------------------------------------------------------- -VPLayoutFileWriter::VPLayoutFileWriter() -{ - -} - -//--------------------------------------------------------------------------------------------------------------------- -VPLayoutFileWriter::~VPLayoutFileWriter() -{ - -} - //--------------------------------------------------------------------------------------------------------------------- void VPLayoutFileWriter::WriteFile(VPLayout *layout, QFile *file) { diff --git a/src/app/puzzle/xml/vplayoutfilewriter.h b/src/app/puzzle/xml/vplayoutfilewriter.h index 4498277c4..2836c5186 100644 --- a/src/app/puzzle/xml/vplayoutfilewriter.h +++ b/src/app/puzzle/xml/vplayoutfilewriter.h @@ -31,6 +31,7 @@ #include #include +#include #include "../vmisc/literals.h" @@ -43,14 +44,14 @@ class QMarginsF; class VPLayoutFileWriter : public QXmlStreamWriter { + Q_DECLARE_TR_FUNCTIONS(VPLayoutFileWriter) public: - VPLayoutFileWriter(); - ~VPLayoutFileWriter(); + VPLayoutFileWriter()= default; + ~VPLayoutFileWriter()= default; void WriteFile(VPLayout *layout, QFile *file); private: - void WriteLayout(VPLayout *layout); void WriteProperties(VPLayout *layout); void WriteUnplacePiecesList(VPLayout *layout); @@ -69,7 +70,6 @@ private: template void SetAttribute(const QString &name, const char (&value)[N]); - }; //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/app/tape/dialogs/configpages/tapepreferencespathpage.cpp b/src/app/tape/dialogs/configpages/tapepreferencespathpage.cpp index 09edac40b..0b958396d 100644 --- a/src/app/tape/dialogs/configpages/tapepreferencespathpage.cpp +++ b/src/app/tape/dialogs/configpages/tapepreferencespathpage.cpp @@ -70,6 +70,7 @@ void TapePreferencesPathPage::Apply() settings->SetPathMultisizeMeasurements(ui->pathTable->item(1, 1)->text()); settings->SetPathPattern(ui->pathTable->item(2, 1)->text()); settings->SetPathTemplate(ui->pathTable->item(3, 1)->text()); + settings->SetPathManualLayouts(ui->pathTable->item(4, 1)->text()); } //--------------------------------------------------------------------------------------------------------------------- @@ -107,6 +108,9 @@ void TapePreferencesPathPage::DefaultPath() case 3: // templates path = VCommonSettings::GetDefPathTemplate(); break; + case 4: // layouts + path = VCommonSettings::GetDefPathManualLayouts(); + break; default: break; } @@ -138,6 +142,9 @@ void TapePreferencesPathPage::EditPath() case 3: // templates path = MApplication::VApp()->TapeSettings()->GetPathTemplate(); break; + case 4: // layouts + path = MApplication::VApp()->TapeSettings()->GetPathManualLayouts(); + break; default: break; } @@ -171,7 +178,7 @@ void TapePreferencesPathPage::EditPath() void TapePreferencesPathPage::InitTable() { ui->pathTable->clearContents(); - ui->pathTable->setRowCount(4); + ui->pathTable->setRowCount(5); ui->pathTable->setColumnCount(2); const VTapeSettings *settings = MApplication::VApp()->TapeSettings(); @@ -204,6 +211,13 @@ void TapePreferencesPathPage::InitTable() ui->pathTable->setItem(3, 1, item); } + { + ui->pathTable->setItem(4, 0, new QTableWidgetItem(tr("My Layouts"))); + QTableWidgetItem *item = new QTableWidgetItem(settings->GetPathManualLayouts()); + item->setToolTip(settings->GetPathManualLayouts()); + ui->pathTable->setItem(4, 1, item); + } + ui->pathTable->verticalHeader()->setDefaultSectionSize(20); ui->pathTable->resizeColumnsToContents(); ui->pathTable->resizeRowsToContents(); diff --git a/src/app/tape/dialogs/dialogtapepreferences.cpp b/src/app/tape/dialogs/dialogtapepreferences.cpp index 11cf0e732..8be017276 100644 --- a/src/app/tape/dialogs/dialogtapepreferences.cpp +++ b/src/app/tape/dialogs/dialogtapepreferences.cpp @@ -89,7 +89,7 @@ void DialogTapePreferences::showEvent(QShowEvent *event) // do your init stuff here QSize sz = VAbstractApplication::VApp()->Settings()->GetPreferenceDialogSize(); - if (sz.isEmpty() == false) + if (not sz.isEmpty()) { resize(sz); } diff --git a/src/app/tape/mapplication.cpp b/src/app/tape/mapplication.cpp index 592dbd0b8..584921b69 100644 --- a/src/app/tape/mapplication.cpp +++ b/src/app/tape/mapplication.cpp @@ -374,7 +374,7 @@ bool MApplication::IsTestMode() const */ bool MApplication::IsAppInGUIMode() const { - return IsTestMode(); + return not IsTestMode(); } //--------------------------------------------------------------------------------------------------------------------- @@ -854,6 +854,7 @@ TMainWindow *MApplication::NewMainWindow() if (not MApplication::VApp()->IsTestMode()) { tape->show(); + tape->UpdateWindowTitle(); } return tape; } diff --git a/src/app/tape/mapplication.h b/src/app/tape/mapplication.h index ff73c78b1..2e7010618 100644 --- a/src/app/tape/mapplication.h +++ b/src/app/tape/mapplication.h @@ -35,7 +35,6 @@ #include "../vmisc/vabstractapplication.h" #include "dialogs/dialogmdatabase.h" -class MApplication;// use in define class TMainWindow; class QLocalServer; diff --git a/src/app/tape/tmainwindow.cpp b/src/app/tape/tmainwindow.cpp index e93e86962..bc54072b7 100644 --- a/src/app/tape/tmainwindow.cpp +++ b/src/app/tape/tmainwindow.cpp @@ -133,7 +133,7 @@ TMainWindow::TMainWindow(QWidget *parent) connect(gradation, &QTimer::timeout, this, &TMainWindow::GradationChanged); SetupMenu(); - UpdateWindowTitle(); + ReadSettings(); #if defined(Q_OS_MAC) @@ -278,21 +278,20 @@ bool TMainWindow::LoadFile(const QString &path) // Check if file already opened const QList list = MApplication::VApp()->MainWindows(); - for (auto w : list) + auto w = std::find_if(list.begin(), list.end(), + [path](TMainWindow *window) { return window->CurrentFile() == path; }); + if (w != list.end()) { - if (w->CurrentFile() == path) - { - w->activateWindow(); - close(); - return false; - } + (*w)->activateWindow(); + close(); + return false; } VlpCreateLock(lock, path); if (not lock->IsLocked()) { - if (not IgnoreLocking(lock->GetLockError(), path)) + if (not IgnoreLocking(lock->GetLockError(), path, MApplication::VApp()->IsAppInGUIMode())) { return false; } @@ -388,13 +387,6 @@ bool TMainWindow::LoadFile(const QString &path) return true; } -//--------------------------------------------------------------------------------------------------------------------- -void TMainWindow::ShowToolTip(const QString &toolTip) -{ - Q_UNUSED(toolTip) - // do nothing -} - //--------------------------------------------------------------------------------------------------------------------- void TMainWindow::FileNew() { @@ -597,11 +589,13 @@ void TMainWindow::changeEvent(QEvent *event) { if (event->type() == QEvent::LanguageChange) { - VAbstractApplication::VApp()->Settings()->GetOsSeparator() ? setLocale(QLocale()) : setLocale(QLocale::c()); + WindowsLocale(); // retranslate designer form (single inheritance approach) ui->retranslateUi(this); + UpdateWindowTitle(); + InitMeasurementUnits(); if (mType == MeasurementsType::Multisize) @@ -782,48 +776,9 @@ bool TMainWindow::FileSave() return false; } -#ifdef Q_OS_WIN32 - qt_ntfs_permission_lookup++; // turn checking on -#endif /*Q_OS_WIN32*/ - const bool isFileWritable = QFileInfo(curFile).isWritable(); -#ifdef Q_OS_WIN32 - qt_ntfs_permission_lookup--; // turn it off again -#endif /*Q_OS_WIN32*/ - if (not isFileWritable) + if (not CheckFilePermissions(curFile, this)) { - QMessageBox messageBox(this); - messageBox.setIcon(QMessageBox::Question); - messageBox.setText(tr("The measurements document has no write permissions.")); - messageBox.setInformativeText(tr("Do you want to change the premissions?")); - messageBox.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel); - messageBox.setDefaultButton(QMessageBox::Yes); - - if (messageBox.exec() == QMessageBox::Yes) - { -#ifdef Q_OS_WIN32 - qt_ntfs_permission_lookup++; // turn checking on -#endif /*Q_OS_WIN32*/ - bool changed = QFile::setPermissions(curFile, - QFileInfo(curFile).permissions() | QFileDevice::WriteUser); -#ifdef Q_OS_WIN32 - qt_ntfs_permission_lookup--; // turn it off again -#endif /*Q_OS_WIN32*/ - - if (not changed) - { - messageBox.setIcon(QMessageBox::Warning); - messageBox.setText(tr("Cannot set permissions for %1 to writable.").arg(curFile)); - messageBox.setInformativeText(tr("Could not save the file.")); - messageBox.setStandardButtons(QMessageBox::Ok); - messageBox.setDefaultButton(QMessageBox::Ok); - messageBox.exec(); - return false; - } - } - else - { - return false; - } + return false; } QString error; @@ -2410,7 +2365,6 @@ void TMainWindow::SetupMenu() m_separatorAct->setVisible(false); ui->menuFile->insertAction(ui->actionPreferences, m_separatorAct ); - connect(ui->actionQuit, &QAction::triggered, this, &TMainWindow::close); ui->actionQuit->setShortcuts(QKeySequence::Quit); @@ -3289,7 +3243,15 @@ void TMainWindow::UpdateWindowTitle() } else { - showName = tr("untitled %1").arg(MApplication::VApp()->MainWindows().size()+1); + int index = MApplication::VApp()->MainWindows().indexOf(this); + if (index != -1) + { + showName = tr("untitled %1").arg(index+1); + } + else + { + showName = tr("untitled"); + } mType == MeasurementsType::Multisize ? showName += QLatin1String(".vst") : showName += QLatin1String(".vit"); } @@ -3525,21 +3487,20 @@ bool TMainWindow::LoadFromExistingFile(const QString &path) // Check if file already opened const QList list = MApplication::VApp()->MainWindows(); - for (auto w : list) + auto w = std::find_if(list.begin(), list.end(), + [path](TMainWindow *window) { return window->CurrentFile() == path; }); + if (w != list.end()) { - if (w->CurrentFile() == path) - { - w->activateWindow(); - close(); - return false; - } + (*w)->activateWindow(); + close(); + return false; } VlpCreateLock(lock, path); if (not lock->IsLocked()) { - if (not IgnoreLocking(lock->GetLockError(), path)) + if (not IgnoreLocking(lock->GetLockError(), path, MApplication::VApp()->IsAppInGUIMode())) { return false; } @@ -3653,7 +3614,11 @@ void TMainWindow::CreateWindowMenu(QMenu *menu) window->isWindowModified() ? title.replace(index, 3, QChar('*')) : title.replace(index, 3, QString()); } +#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0) QAction *action = menu->addAction(title, this, SLOT(ShowWindow())); +#else + QAction *action = menu->addAction(title, this, &TMainWindow::ShowWindow); +#endif //QT_VERSION < QT_VERSION_CHECK(5, 6, 0) action->setData(i); action->setCheckable(true); action->setMenuRole(QAction::NoRole); @@ -3664,72 +3629,6 @@ void TMainWindow::CreateWindowMenu(QMenu *menu) } } -//--------------------------------------------------------------------------------------------------------------------- -bool TMainWindow::IgnoreLocking(int error, const QString &path) -{ - QMessageBox::StandardButton answer = QMessageBox::Abort; - if (not MApplication::VApp()->IsTestMode()) - { - switch(error) - { - case QLockFile::LockFailedError: - answer = QMessageBox::warning(this, tr("Locking file"), - tr("This file already opened in another window. Ignore if you want " - "to continue (not recommended, can cause a data corruption)."), - QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort); - break; - case QLockFile::PermissionError: - answer = QMessageBox::question(this, tr("Locking file"), - tr("The lock file could not be created, for lack of permissions. " - "Ignore if you want to continue (not recommended, can cause " - "a data corruption)."), - QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort); - break; - case QLockFile::UnknownError: - answer = QMessageBox::question(this, tr("Locking file"), - tr("Unknown error happened, for instance a full partition " - "prevented writing out the lock file. Ignore if you want to " - "continue (not recommended, can cause a data corruption)."), - QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort); - break; - default: - answer = QMessageBox::Abort; - break; - } - } - - if (answer == QMessageBox::Abort) - { - qCDebug(tMainWindow, "Failed to lock %s", qUtf8Printable(path)); - qCDebug(tMainWindow, "Error type: %d", error); - if (MApplication::VApp()->IsTestMode()) - { - switch(error) - { - case QLockFile::LockFailedError: - qCCritical(tMainWindow, "%s", - qUtf8Printable(tr("This file already opened in another window."))); - break; - case QLockFile::PermissionError: - qCCritical(tMainWindow, "%s", - qUtf8Printable(tr("The lock file could not be created, for lack of permissions."))); - break; - case QLockFile::UnknownError: - qCCritical(tMainWindow, "%s", - qUtf8Printable(tr("Unknown error happened, for instance a full partition " - "prevented writing out the lock file."))); - break; - default: - break; - } - - qApp->exit(V_EX_NOINPUT); - } - return false; - } - return true; -} - //--------------------------------------------------------------------------------------------------------------------- void TMainWindow::HackDimensionBaseValue() { diff --git a/src/app/tape/tmainwindow.h b/src/app/tape/tmainwindow.h index d8040d6f3..2bb9436e1 100644 --- a/src/app/tape/tmainwindow.h +++ b/src/app/tape/tmainwindow.h @@ -65,8 +65,7 @@ public: bool LoadFile(const QString &path); -public slots: - virtual void ShowToolTip(const QString &toolTip) override; + void UpdateWindowTitle(); protected: virtual void closeEvent(QCloseEvent *event) override; @@ -218,7 +217,6 @@ private: void MeasurementGUI(); void Controls(); void MFields(bool enabled); - void UpdateWindowTitle(); void ReadSettings(); void WriteSettings(); @@ -231,8 +229,6 @@ private: void CreateWindowMenu(QMenu *menu); - bool IgnoreLocking(int error, const QString &path); - template void HackWidget(T **widget); void HackDimensionBaseValue(); diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 1cb786c75..ce4f302b7 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -3253,52 +3253,9 @@ bool MainWindow::on_actionSave_triggered() return false; } -#ifdef Q_OS_WIN32 - qt_ntfs_permission_lookup++; // turn checking on -#endif /*Q_OS_WIN32*/ - const bool isFileWritable = QFileInfo(VAbstractValApplication::VApp()->GetPatternPath()).isWritable(); -#ifdef Q_OS_WIN32 - qt_ntfs_permission_lookup--; // turn it off again -#endif /*Q_OS_WIN32*/ - if (not isFileWritable) + if (not CheckFilePermissions(VAbstractValApplication::VApp()->GetPatternPath(), this)) { - QMessageBox messageBox(this); - messageBox.setIcon(QMessageBox::Question); - messageBox.setText(tr("The document has no write permissions.")); - messageBox.setInformativeText(tr("Do you want to change the premissions?")); - messageBox.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel); - messageBox.setDefaultButton(QMessageBox::Yes); - - if (messageBox.exec() == QMessageBox::Yes) - { -#ifdef Q_OS_WIN32 - qt_ntfs_permission_lookup++; // turn checking on -#endif /*Q_OS_WIN32*/ - bool changed = - QFile::setPermissions(VAbstractValApplication::VApp()->GetPatternPath(), - QFileInfo(VAbstractValApplication::VApp() - ->GetPatternPath()).permissions() | QFileDevice::WriteUser); -#ifdef Q_OS_WIN32 - qt_ntfs_permission_lookup--; // turn it off again -#endif /*Q_OS_WIN32*/ - - if (not changed) - { - QMessageBox messageBox(this); - messageBox.setIcon(QMessageBox::Warning); - messageBox.setText(tr("Cannot set permissions for %1 to writable.") - .arg(VAbstractValApplication::VApp()->GetPatternPath())); - messageBox.setInformativeText(tr("Could not save the file.")); - messageBox.setDefaultButton(QMessageBox::Ok); - messageBox.setStandardButtons(QMessageBox::Ok); - messageBox.exec(); - return false; - } - } - else - { - return false; - } + return false; } QString error; @@ -5325,7 +5282,7 @@ bool MainWindow::LoadPattern(QString fileName, const QString& customMeasureFile) } else { - if (not IgnoreLocking(lock->GetLockError(), fileName)) + if (not IgnoreLocking(lock->GetLockError(), fileName, VApplication::IsGUIMode())) { return false; } @@ -6433,73 +6390,6 @@ void MainWindow::UpdateWindowTitle() #endif //defined(Q_OS_MAC) } -//--------------------------------------------------------------------------------------------------------------------- -bool MainWindow::IgnoreLocking(int error, const QString &path) -{ - QMessageBox::StandardButton answer = QMessageBox::Abort; - if (VApplication::IsGUIMode()) - { - switch(error) - { - case QLockFile::LockFailedError: - answer = QMessageBox::warning(this, tr("Locking file"), - tr("This file already opened in another window. Ignore if you want " - "to continue (not recommended, can cause a data corruption)."), - QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort); - break; - case QLockFile::PermissionError: - answer = QMessageBox::question(this, tr("Locking file"), - tr("The lock file could not be created, for lack of permissions. " - "Ignore if you want to continue (not recommended, can cause " - "a data corruption)."), - QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort); - break; - case QLockFile::UnknownError: - answer = QMessageBox::question(this, tr("Locking file"), - tr("Unknown error happened, for instance a full partition prevented " - "writing out the lock file. Ignore if you want to continue (not " - "recommended, can cause a data corruption)."), - QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort); - break; - default: - answer = QMessageBox::Abort; - break; - } - } - - if (answer == QMessageBox::Abort) - { - qCDebug(vMainWindow, "Failed to lock %s", qUtf8Printable(path)); - qCDebug(vMainWindow, "Error type: %d", error); - Clear(); - if (not VApplication::IsGUIMode()) - { - switch(error) - { - case QLockFile::LockFailedError: - qCCritical(vMainWindow, "%s", - qUtf8Printable(tr("This file already opened in another window."))); - break; - case QLockFile::PermissionError: - qCCritical(vMainWindow, "%s", - qUtf8Printable(tr("The lock file could not be created, for lack of permissions."))); - break; - case QLockFile::UnknownError: - qCCritical(vMainWindow, "%s", - qUtf8Printable(tr("Unknown error happened, for instance a full partition prevented " - "writing out the lock file."))); - break; - default: - break; - } - - qApp->exit(V_EX_NOINPUT); - } - return false; - } - return true; -} - //--------------------------------------------------------------------------------------------------------------------- void MainWindow::ToolSelectPoint() { diff --git a/src/app/valentina/mainwindow.h b/src/app/valentina/mainwindow.h index 487f564b4..ed8049af7 100644 --- a/src/app/valentina/mainwindow.h +++ b/src/app/valentina/mainwindow.h @@ -392,8 +392,6 @@ private: void UpdateWindowTitle(); - bool IgnoreLocking(int error, const QString &path); - void ToolSelectPoint(); void ToolSelectPointByPress(); void ToolSelectPointByRelease(); diff --git a/src/app/valentina/valentina.pro b/src/app/valentina/valentina.pro index f726878b6..1a77bfac3 100644 --- a/src/app/valentina/valentina.pro +++ b/src/app/valentina/valentina.pro @@ -149,66 +149,80 @@ unix{ tape.path = $$BINDIR tape.files += $${OUT_PWD}/../tape/$${DESTDIR}/tape + puzzle.path = $$BINDIR + puzzle.files += $${OUT_PWD}/../puzzle/$${DESTDIR}/puzzle + # .desktop file desktop.path = $$DATADIR/applications/ desktop.files += ../../../dist/$${TARGET}.desktop \ - desktop.files += ../../../dist/tape.desktop + desktop.files += ../../../dist/tape.desktop \ + desktop.files += ../../../dist/puzzle.desktop # logo hicolor_48_apps.path = $$DATADIR/icons/hicolor/48x48/apps/ hicolor_48_apps.files += \ ../../../share/icons/48x48/apps/$${TARGET}.png \ - ../../../share/icons/48x48/apps/tape.png + ../../../share/icons/48x48/apps/tape.png \ + ../../../share/icons/48x48/apps/puzzle.png hicolor_48_mimetypes.path = $$DATADIR/icons/hicolor/48x48/mimetypes/ hicolor_48_mimetypes.files += \ ../../../share/icons/48x48/mimetypes/application-x-valentina-pattern.png \ ../../../share/icons/48x48/mimetypes/application-x-valentina-i-measurements.png \ - ../../../share/icons/48x48/mimetypes/application-x-valentina-s-measurements.png + ../../../share/icons/48x48/mimetypes/application-x-valentina-s-measurements.png \ + ../../../share/icons/48x48/mimetypes/application-x-valentina-layout.png hicolor_64_apps.path = $$DATADIR/icons/hicolor/64x64/apps/ hicolor_64_apps.files += \ ../../../share/icons/64x64/apps/$${TARGET}.png \ - ../../../share/icons/64x64/apps/tape.png + ../../../share/icons/64x64/apps/tape.png \ + ../../../share/icons/64x64/apps/puzzle.png hicolor_64_mimetypes.path = $$DATADIR/icons/hicolor/64x64/mimetypes/ hicolor_64_mimetypes.files += \ ../../../share/icons/64x64/mimetypes/application-x-valentina-pattern.png \ ../../../share/icons/64x64/mimetypes/application-x-valentina-i-measurements.png \ - ../../../share/icons/64x64/mimetypes/application-x-valentina-s-measurements.png + ../../../share/icons/64x64/mimetypes/application-x-valentina-s-measurements.png \ + ../../../share/icons/64x64/mimetypes/application-x-valentina-layout.png hicolor_128_apps.path = $$DATADIR/icons/hicolor/128x128/apps/ hicolor_128_apps.files += \ ../../../share/icons/128x128/apps/$${TARGET}.png \ - ../../../share/icons/128x128/apps/tape.png + ../../../share/icons/128x128/apps/tape.png \ + ../../../share/icons/128x128/apps/puzzle.png hicolor_128_mimetypes.path = $$DATADIR/icons/hicolor/128x128/mimetypes/ hicolor_128_mimetypes.files += \ ../../../share/icons/128x128/mimetypes/application-x-valentina-pattern.png \ ../../../share/icons/128x128/mimetypes/application-x-valentina-i-measurements.png \ - ../../../share/icons/128x128/mimetypes/application-x-valentina-s-measurements.png + ../../../share/icons/128x128/mimetypes/application-x-valentina-s-measurements.png \ + ../../../share/icons/128x128/mimetypes/application-x-valentina-layout.png hicolor_256_apps.path = $$DATADIR/icons/hicolor/256x256/apps/ hicolor_256_apps.files += \ ../../../share/icons/256x256/apps/$${TARGET}.png \ - ../../../share/icons/256x256/apps/tape.png + ../../../share/icons/256x256/apps/tape.png \ + ../../../share/icons/256x256/apps/puzzle.png hicolor_256_mimetypes.path = $$DATADIR/icons/hicolor/256x256/mimetypes/ hicolor_256_mimetypes.files += \ ../../../share/icons/256x256/mimetypes/application-x-valentina-pattern.png \ ../../../share/icons/256x256/mimetypes/application-x-valentina-i-measurements.png \ - ../../../share/icons/256x256/mimetypes/application-x-valentina-s-measurements.png + ../../../share/icons/256x256/mimetypes/application-x-valentina-s-measurements.png \ + ../../../share/icons/256x256/mimetypes/application-x-valentina-layout.png hicolor_512_apps.path = $$DATADIR/icons/hicolor/512x512/apps/ hicolor_512_apps.files += \ ../../../share/icons/512x512/apps/$${TARGET}.png \ - ../../../share/icons/512x512/apps/tape.png + ../../../share/icons/512x512/apps/tape.png \ + ../../../share/icons/512x512/apps/puzzle.png hicolor_512_mimetypes.path = $$DATADIR/icons/hicolor/512x512/mimetypes/ hicolor_512_mimetypes.files += \ ../../../share/icons/512x512/mimetypes/application-x-valentina-pattern.png \ ../../../share/icons/512x512/mimetypes/application-x-valentina-i-measurements.png \ - ../../../share/icons/512x512/mimetypes/application-x-valentina-s-measurements.png + ../../../share/icons/512x512/mimetypes/application-x-valentina-s-measurements.png \ + ../../../share/icons/512x512/mimetypes/application-x-valentina-layout.png # Path to translation files after installation translations.path = $$PKGDATADIR/translations/ @@ -229,6 +243,7 @@ unix{ INSTALLS += \ target \ tape \ + puzzle \ desktop \ hicolor_48_apps \ hicolor_48_mimetypes \ @@ -273,6 +288,9 @@ unix{ tape.path = $$MACOS_DIR tape.files += $${OUT_PWD}/../tape/$${DESTDIR}/tape.app/$$MACOS_DIR/tape + puzzle.path = $$MACOS_DIR + puzzle.files += $${OUT_PWD}/../puzzle/$${DESTDIR}/puzzle.app/$$MACOS_DIR/puzzle + # Utility pdftops need for saving a layout image to PS and EPS formates. xpdf.path = $$MACOS_DIR xpdf.files += $${PWD}/../../../dist/macx/bin64/pdftops @@ -298,6 +316,7 @@ unix{ icns_resources.files += $$PWD/../../../dist/macx/i-measurements.icns icns_resources.files += $$PWD/../../../dist/macx/s-measurements.icns icns_resources.files += $$PWD/../../../dist/macx/pattern.icns + icns_resources.files += $$PWD/../../../dist/macx/layout.icns # Copy to bundle multisize measurements files # We cannot add none exist files to bundle through QMAKE_BUNDLE_DATA. That's why we must do this manually. @@ -309,6 +328,7 @@ unix{ label \ libraries \ tape \ + puzzle \ xpdf \ icns_resources } @@ -322,11 +342,13 @@ win32:*g++* { package.files += \ $${OUT_PWD}/$${DESTDIR}/valentina.exe \ $${OUT_PWD}/../tape/$${DESTDIR}/tape.exe \ + $${OUT_PWD}/../puzzle/$${DESTDIR}/puzzle.exe \ $${OUT_PWD}/../tape/$${DESTDIR}/diagrams.rcc \ $$PWD/../../../dist/win/valentina.ico \ $$PWD/../../../dist/win/i-measurements.ico \ $$PWD/../../../dist/win/s-measurements.ico \ $$PWD/../../../dist/win/pattern.ico \ + $$PWD/../../../dist/win/layout.ico \ $$PWD/../../../dist/win/pdftops.exe \ $$PWD/../../../dist/win/EUDC.TTE \ $$PWD/../../../AUTHORS.txt \ diff --git a/src/libs/vmisc/vabstractapplication.cpp b/src/libs/vmisc/vabstractapplication.cpp index b64817bab..74e436254 100644 --- a/src/libs/vmisc/vabstractapplication.cpp +++ b/src/libs/vmisc/vabstractapplication.cpp @@ -153,16 +153,14 @@ QString VAbstractApplication::translationsPath(const QString &locale) const { return dir.absolutePath(); } - else - { + #if defined(APPIMAGE) && defined(Q_OS_LINUX) - /* Fix path to trasnaltions when run inside AppImage. */ - return AppImageRoot() + PKGDATADIR + trPath; + /* Fix path to trasnaltions when run inside AppImage. */ + return AppImageRoot() + PKGDATADIR + trPath; #else - return PKGDATADIR + trPath; + return PKGDATADIR + trPath; #endif // defined(APPIMAGE) && defined(Q_OS_LINUX) - } -#endif +#endif // Unix } //--------------------------------------------------------------------------------------------------------------------- diff --git a/src/libs/vmisc/vcommonsettings.h b/src/libs/vmisc/vcommonsettings.h index 6c4f90897..8f4a049d3 100644 --- a/src/libs/vmisc/vcommonsettings.h +++ b/src/libs/vmisc/vcommonsettings.h @@ -1,4 +1,4 @@ -/************************************************************************ +/************************************************************************ ** ** @file vcommonsettings.h ** @author Roman Telezhynskyi diff --git a/src/libs/vpatterndb/vpassmark.cpp b/src/libs/vpatterndb/vpassmark.cpp index f7135acde..84d4ab4e0 100644 --- a/src/libs/vpatterndb/vpassmark.cpp +++ b/src/libs/vpatterndb/vpassmark.cpp @@ -831,12 +831,20 @@ QVector VPassmark::BuiltInSAPassmarkBaseLine(const VPiece &piece) const } else { - const QString errorMsg = QObject::tr("Cannot calculate a notch for point '%1' in piece '%2' with built in " - "seam allowance. User must manually provide length.") - .arg(m_data.nodeName, m_data.pieceName); - VAbstractApplication::VApp()->IsPedantic() ? throw VExceptionInvalidNotch(errorMsg) : - qWarning() << VAbstractValApplication::warningMessageSignature + errorMsg; - return QVector(); + if (m_data.globalPassmarkLength > accuracyPointOnLine) + { + length = m_data.globalPassmarkLength; + } + else + { + const QString errorMsg = QObject::tr("Cannot calculate a notch for point '%1' in piece '%2' with built " + "in seam allowance. User must manually provide length.") + .arg(m_data.nodeName, m_data.pieceName); + VAbstractApplication::VApp()->IsPedantic() + ? throw VExceptionInvalidNotch(errorMsg) + : qWarning() << VAbstractValApplication::warningMessageSignature + errorMsg; + return {}; + } } } diff --git a/src/libs/vwidgets/vabstractmainwindow.cpp b/src/libs/vwidgets/vabstractmainwindow.cpp index ff5616f33..2fe16c266 100644 --- a/src/libs/vwidgets/vabstractmainwindow.cpp +++ b/src/libs/vwidgets/vabstractmainwindow.cpp @@ -31,18 +31,31 @@ #include "../vmisc/vabstractapplication.h" #include "../vmisc/compatibility.h" #include "../vmisc/def.h" +#include "../vmisc/vsysexits.h" #include "dialogs/dialogexporttocsv.h" +#include "../vwidgets/vmaingraphicsview.h" #include #include #include #include +#include +#include #if defined(Q_OS_MAC) -#include "../vwidgets/vmaingraphicsview.h" #include #endif +#include + +QT_WARNING_PUSH +QT_WARNING_DISABLE_CLANG("-Wmissing-prototypes") +QT_WARNING_DISABLE_INTEL(1418) + +Q_LOGGING_CATEGORY(abstactMainWindow, "abs.MainWindow") + +QT_WARNING_POP + namespace { //--------------------------------------------------------------------------------------------------------------------- @@ -134,6 +147,13 @@ VAbstractMainWindow::VAbstractMainWindow(QWidget *parent) } } +//--------------------------------------------------------------------------------------------------------------------- +void VAbstractMainWindow::ShowToolTip(const QString &toolTip) +{ + Q_UNUSED(toolTip) + // do nothing +} + //--------------------------------------------------------------------------------------------------------------------- bool VAbstractMainWindow::ContinueFormatRewrite(const QString ¤tFormatVersion, const QString &maxFormatVersion) @@ -197,6 +217,16 @@ QString VAbstractMainWindow::CSVFilePath() return fileName; } +//--------------------------------------------------------------------------------------------------------------------- +void VAbstractMainWindow::ExportToCSVData(const QString &fileName, bool withHeader, int mib, const QChar &separator) +{ + Q_UNUSED(fileName) + Q_UNUSED(withHeader) + Q_UNUSED(mib) + Q_UNUSED(separator) + // do nothing +} + //--------------------------------------------------------------------------------------------------------------------- void VAbstractMainWindow::UpdateRecentFileActions() { @@ -219,6 +249,121 @@ void VAbstractMainWindow::UpdateRecentFileActions() m_separatorAct->setVisible(numRecentFiles>0); } +//--------------------------------------------------------------------------------------------------------------------- +auto VAbstractMainWindow::CheckFilePermissions(const QString &path, QWidget *messageBoxParent) -> bool +{ +#ifdef Q_OS_WIN32 + qt_ntfs_permission_lookup++; // turn checking on +#endif /*Q_OS_WIN32*/ + // cppcheck-suppress unreadVariable + const bool isFileWritable = QFileInfo(path).isWritable(); +#ifdef Q_OS_WIN32 + qt_ntfs_permission_lookup--; // turn it off again +#endif /*Q_OS_WIN32*/ + if (not isFileWritable) + { + QMessageBox messageBox(messageBoxParent); + messageBox.setIcon(QMessageBox::Question); + messageBox.setText(tr("The measurements document has no write permissions.")); + messageBox.setInformativeText(tr("Do you want to change the premissions?")); + messageBox.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel); + messageBox.setDefaultButton(QMessageBox::Yes); + + if (messageBox.exec() == QMessageBox::Yes) + { +#ifdef Q_OS_WIN32 + qt_ntfs_permission_lookup++; // turn checking on +#endif /*Q_OS_WIN32*/ + bool changed = QFile::setPermissions(path, QFileInfo(path).permissions() | QFileDevice::WriteUser); +#ifdef Q_OS_WIN32 + qt_ntfs_permission_lookup--; // turn it off again +#endif /*Q_OS_WIN32*/ + + if (not changed) + { + messageBox.setIcon(QMessageBox::Warning); + messageBox.setText(tr("Cannot set permissions for %1 to writable.").arg(path)); + messageBox.setInformativeText(tr("Could not save the file.")); + messageBox.setStandardButtons(QMessageBox::Ok); + messageBox.setDefaultButton(QMessageBox::Ok); + messageBox.exec(); + return false; + } + } + else + { + return false; + } + } + return true; +} + +//--------------------------------------------------------------------------------------------------------------------- +bool VAbstractMainWindow::IgnoreLocking(int error, const QString &path, bool guiMode) +{ + QMessageBox::StandardButton answer = QMessageBox::Abort; + if (guiMode) + { + switch(error) + { + case QLockFile::LockFailedError: + answer = QMessageBox::warning(this, tr("Locking file"), + tr("This file already opened in another window. Ignore if you want " + "to continue (not recommended, can cause a data corruption)."), + QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort); + break; + case QLockFile::PermissionError: + answer = QMessageBox::question(this, tr("Locking file"), + tr("The lock file could not be created, for lack of permissions. " + "Ignore if you want to continue (not recommended, can cause " + "a data corruption)."), + QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort); + break; + case QLockFile::UnknownError: + answer = QMessageBox::question(this, tr("Locking file"), + tr("Unknown error happened, for instance a full partition " + "prevented writing out the lock file. Ignore if you want to " + "continue (not recommended, can cause a data corruption)."), + QMessageBox::Abort|QMessageBox::Ignore, QMessageBox::Abort); + break; + default: + answer = QMessageBox::Abort; + break; + } + } + + if (answer == QMessageBox::Abort) + { + qCDebug(abstactMainWindow, "Failed to lock %s", qUtf8Printable(path)); + qCDebug(abstactMainWindow, "Error type: %d", error); + if (not guiMode) + { + switch(error) + { + case QLockFile::LockFailedError: + qCCritical(abstactMainWindow, "%s", + qUtf8Printable(tr("This file already opened in another window."))); + break; + case QLockFile::PermissionError: + qCCritical(abstactMainWindow, "%s", + qUtf8Printable(tr("The lock file could not be created, for lack of permissions."))); + break; + case QLockFile::UnknownError: + qCCritical(abstactMainWindow, "%s", + qUtf8Printable(tr("Unknown error happened, for instance a full partition " + "prevented writing out the lock file."))); + break; + default: + break; + } + + qApp->exit(V_EX_NOINPUT); + } + return false; + } + return true; +} + //--------------------------------------------------------------------------------------------------------------------- void VAbstractMainWindow::WindowsLocale() { diff --git a/src/libs/vwidgets/vabstractmainwindow.h b/src/libs/vwidgets/vabstractmainwindow.h index ad0e4e526..424231817 100644 --- a/src/libs/vwidgets/vabstractmainwindow.h +++ b/src/libs/vwidgets/vabstractmainwindow.h @@ -45,7 +45,7 @@ public: virtual ~VAbstractMainWindow() Q_DECL_EQ_DEFAULT; public slots: - virtual void ShowToolTip(const QString &toolTip)=0; + virtual void ShowToolTip(const QString &toolTip); virtual void UpdateVisibilityGroups(); virtual void UpdateDetailsList(); virtual void ZoomFitBestCurrent(); @@ -66,11 +66,15 @@ protected: QString CSVFilePath(); - virtual void ExportToCSVData(const QString &fileName, bool withHeader, int mib, const QChar &separator)=0; + virtual void ExportToCSVData(const QString &fileName, bool withHeader, int mib, const QChar &separator); virtual QStringList RecentFileList() const =0; void UpdateRecentFileActions(); + static bool CheckFilePermissions(const QString &path, QWidget *messageBoxParent=nullptr); + + bool IgnoreLocking(int error, const QString &path, bool guiMode); + private: Q_DISABLE_COPY(VAbstractMainWindow) };