@@ -19,7 +19,6 @@ import shutil
|
|||||||
from stat import S_IREAD, S_IRGRP, S_IROTH
|
from stat import S_IREAD, S_IRGRP, S_IROTH
|
||||||
import subprocess
|
import subprocess
|
||||||
import ctypes
|
import ctypes
|
||||||
import winreg
|
|
||||||
|
|
||||||
import tkinter as tk
|
import tkinter as tk
|
||||||
from PyQt5 import QtPrintSupport
|
from PyQt5 import QtPrintSupport
|
||||||
@@ -62,6 +61,9 @@ import gettext
|
|||||||
import FlatCAMTranslation as fcTranslate
|
import FlatCAMTranslation as fcTranslate
|
||||||
import builtins
|
import builtins
|
||||||
|
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
import winreg
|
||||||
|
|
||||||
fcTranslate.apply_language('strings')
|
fcTranslate.apply_language('strings')
|
||||||
if '_' not in builtins.__dict__:
|
if '_' not in builtins.__dict__:
|
||||||
_ = gettext.gettext
|
_ = gettext.gettext
|
||||||
@@ -3878,12 +3880,12 @@ class App(QtCore.QObject):
|
|||||||
"{title}<BR>"
|
"{title}<BR>"
|
||||||
"<BR>"
|
"<BR>"
|
||||||
"<BR>"
|
"<BR>"
|
||||||
"<B>{devel}</B> "
|
# "<B>{devel}</B> "
|
||||||
"<a href = \"https://bitbucket.org/jpcgt/flatcam/src/Beta/\">here.</a><BR>"
|
"<a href = \"https://bitbucket.org/jpcgt/flatcam/src/Beta/\"><B>{devel}</B></a><BR>"
|
||||||
"<b>{down}</B> area "
|
# "<b>{down}</B> area "
|
||||||
"<a href = \"https://bitbucket.org/jpcgt/flatcam/downloads/\">here.</a><BR>"
|
"<a href = \"https://bitbucket.org/jpcgt/flatcam/downloads/\"><b>{down}</B></a><BR>"
|
||||||
"<b> {issue}</B> "
|
# "<b> {issue}</B> "
|
||||||
"<a href = \"https://bitbucket.org/jpcgt/flatcam/issues?status=new&status=open/\">here.</a><BR>".
|
"<a href = \"https://bitbucket.org/jpcgt/flatcam/issues?status=new&status=open/\"><B>{issue}</B></a><BR>".
|
||||||
format(title=_("2D Computer-Aided Printed Circuit Board Manufacturing"),
|
format(title=_("2D Computer-Aided Printed Circuit Board Manufacturing"),
|
||||||
devel=_("Development"), down=_("DOWNLOAD"), issue=_("Issue tracker"))
|
devel=_("Development"), down=_("DOWNLOAD"), issue=_("Issue tracker"))
|
||||||
)
|
)
|
||||||
@@ -3912,10 +3914,10 @@ class App(QtCore.QObject):
|
|||||||
'to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n'
|
'to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n'
|
||||||
'copies of the Software, and to permit persons to whom the Software is\n'
|
'copies of the Software, and to permit persons to whom the Software is\n'
|
||||||
' furnished to do so, subject to the following conditions:\n\n'
|
' furnished to do so, subject to the following conditions:\n\n'
|
||||||
|
|
||||||
'The above copyright notice and this permission notice shall be included in\n'
|
'The above copyright notice and this permission notice shall be included in\n'
|
||||||
'all copies or substantial portions of the Software.\n\n'
|
'all copies or substantial portions of the Software.\n\n'
|
||||||
|
|
||||||
'THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n'
|
'THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n'
|
||||||
'IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n'
|
'IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n'
|
||||||
'FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n'
|
'FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n'
|
||||||
@@ -10221,11 +10223,11 @@ class App(QtCore.QObject):
|
|||||||
<br />
|
<br />
|
||||||
%s:<br />
|
%s:<br />
|
||||||
<br />
|
<br />
|
||||||
<strong>%s</strong> -> %s -> %s -><strong> %s </strong> -> %s -> %s -><strong> %s
|
<strong>%s</strong> -> %s -> %s -><strong> %s </strong> -> %s -> %s -><strong> %s
|
||||||
</strong>-> %s <strong>%s) </strong>-> %s</span></li>
|
</strong>-> %s <strong>%s) </strong>-> %s</span></li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<p><span style="font-size:{fsize}px">%s <strong>%s -> %s</strong> %s it's %s:
|
<p><span style="font-size:{fsize}px">%s <strong>%s -> %s</strong> %s it's %s:
|
||||||
<strong>F3</strong>.</span></p>
|
<strong>F3</strong>.</span></p>
|
||||||
''' % (
|
''' % (
|
||||||
_("Selected Tab - Choose an Item from Project Tab"), _("Details"),
|
_("Selected Tab - Choose an Item from Project Tab"), _("Details"),
|
||||||
|
|||||||
@@ -1267,7 +1267,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
|||||||
<tr height="20">
|
<tr height="20">
|
||||||
<td height="20"><strong>ALT+F10</strong></td>
|
<td height="20"><strong>ALT+F10</strong></td>
|
||||||
<td> %s</td>
|
<td> %s</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr height="20">
|
<tr height="20">
|
||||||
<td height="20"> </td>
|
<td height="20"> </td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
@@ -1275,7 +1275,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
|
|||||||
<tr height="20">
|
<tr height="20">
|
||||||
<td height="20"><strong>CTRL+ALT+X</strong></td>
|
<td height="20"><strong>CTRL+ALT+X</strong></td>
|
||||||
<td> %s</td>
|
<td> %s</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr height="20">
|
<tr height="20">
|
||||||
<td height="20"> </td>
|
<td height="20"> </td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
@@ -6438,7 +6438,7 @@ class CNCJobGenPrefGroupUI(OptionsGroupUI):
|
|||||||
# hidden for the time being, until implemented
|
# hidden for the time being, until implemented
|
||||||
coords_type_label.hide()
|
coords_type_label.hide()
|
||||||
self.coords_type_radio.hide()
|
self.coords_type_radio.hide()
|
||||||
|
|
||||||
self.layout.addStretch()
|
self.layout.addStretch()
|
||||||
|
|
||||||
|
|
||||||
@@ -7808,7 +7808,7 @@ class FAExcPrefGroupUI(OptionsGroupUI):
|
|||||||
|
|
||||||
self.layout.addWidget(self.exc_list_text)
|
self.layout.addWidget(self.exc_list_text)
|
||||||
|
|
||||||
self.exc_list_btn = FCButton("Apply")
|
self.exc_list_btn = FCButton(_("Apply"))
|
||||||
self.exc_list_btn.setToolTip(_("Apply the file associations between\n"
|
self.exc_list_btn.setToolTip(_("Apply the file associations between\n"
|
||||||
"FlatCAM and the files with above extensions.\n"
|
"FlatCAM and the files with above extensions.\n"
|
||||||
"They will be active after next logon.\n"
|
"They will be active after next logon.\n"
|
||||||
@@ -7841,7 +7841,7 @@ class FAGcoPrefGroupUI(OptionsGroupUI):
|
|||||||
|
|
||||||
self.layout.addWidget(self.gco_list_text)
|
self.layout.addWidget(self.gco_list_text)
|
||||||
|
|
||||||
self.gco_list_btn = FCButton("Apply")
|
self.gco_list_btn = FCButton(_("Apply"))
|
||||||
self.gco_list_btn.setToolTip(_("Apply the file associations between\n"
|
self.gco_list_btn.setToolTip(_("Apply the file associations between\n"
|
||||||
"FlatCAM and the files with above extensions.\n"
|
"FlatCAM and the files with above extensions.\n"
|
||||||
"They will be active after next logon.\n"
|
"They will be active after next logon.\n"
|
||||||
@@ -7873,7 +7873,7 @@ class FAGrbPrefGroupUI(OptionsGroupUI):
|
|||||||
font.setPointSize(12)
|
font.setPointSize(12)
|
||||||
self.grb_list_text.setFont(font)
|
self.grb_list_text.setFont(font)
|
||||||
|
|
||||||
self.grb_list_btn = FCButton("Apply")
|
self.grb_list_btn = FCButton(_("Apply"))
|
||||||
self.grb_list_btn.setToolTip(_("Apply the file associations between\n"
|
self.grb_list_btn.setToolTip(_("Apply the file associations between\n"
|
||||||
"FlatCAM and the files with above extensions.\n"
|
"FlatCAM and the files with above extensions.\n"
|
||||||
"They will be active after next logon.\n"
|
"They will be active after next logon.\n"
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -8454,6 +8454,10 @@ msgid ""
|
|||||||
"associated with FlatCAM."
|
"associated with FlatCAM."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: flatcamGUI/FlatCAMGUI.py:7747 flatcamGUI/FlatCAMGUI.py:7780 flatcamGUI/FlatCAMGUI.py:7812
|
||||||
|
msgid "Apply"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: flatcamGUI/FlatCAMGUI.py:7748 flatcamGUI/FlatCAMGUI.py:7781
|
#: flatcamGUI/FlatCAMGUI.py:7748 flatcamGUI/FlatCAMGUI.py:7781
|
||||||
#: flatcamGUI/FlatCAMGUI.py:7813
|
#: flatcamGUI/FlatCAMGUI.py:7813
|
||||||
msgid ""
|
msgid ""
|
||||||
|
|||||||
Reference in New Issue
Block a user