Merged in camellan/flatcam/Beta (pull request #205)

Beta
This commit is contained in:
Camellan 2019-09-16 17:33:53 +00:00 committed by Marius Stanciu
commit f71e6992a1
5 changed files with 2843 additions and 4283 deletions

View File

@ -19,7 +19,6 @@ import shutil
from stat import S_IREAD, S_IRGRP, S_IROTH
import subprocess
import ctypes
import winreg
import tkinter as tk
from PyQt5 import QtPrintSupport
@ -62,6 +61,9 @@ import gettext
import FlatCAMTranslation as fcTranslate
import builtins
if sys.platform == 'win32':
import winreg
fcTranslate.apply_language('strings')
if '_' not in builtins.__dict__:
_ = gettext.gettext
@ -3878,12 +3880,12 @@ class App(QtCore.QObject):
"{title}<BR>"
"<BR>"
"<BR>"
"<B>{devel}</B> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
"<a href = \"https://bitbucket.org/jpcgt/flatcam/src/Beta/\">here.</a><BR>"
"<b>{down}</B> area &nbsp;&nbsp;&nbsp;&nbsp;"
"<a href = \"https://bitbucket.org/jpcgt/flatcam/downloads/\">here.</a><BR>"
"<b> {issue}</B> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
"<a href = \"https://bitbucket.org/jpcgt/flatcam/issues?status=new&status=open/\">here.</a><BR>".
# "<B>{devel}</B> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
"<a href = \"https://bitbucket.org/jpcgt/flatcam/src/Beta/\"><B>{devel}</B></a><BR>"
# "<b>{down}</B> area &nbsp;&nbsp;&nbsp;&nbsp;"
"<a href = \"https://bitbucket.org/jpcgt/flatcam/downloads/\"><b>{down}</B></a><BR>"
# "<b> {issue}</B> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"
"<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"),
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'
'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'
'The above copyright notice and this permission notice shall be included in\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'
'IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n'
'FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n'
@ -10221,11 +10223,11 @@ class App(QtCore.QObject):
<br />
%s:<br />
<br />
<strong>%s</strong> -&gt; %s -&gt; %s -&gt;<strong> %s </strong> -&gt; %s -&gt; %s -&gt;<strong> %s
<strong>%s</strong> -&gt; %s -&gt; %s -&gt;<strong> %s </strong> -&gt; %s -&gt; %s -&gt;<strong> %s
</strong>-&gt; %s <strong>%s)&nbsp;</strong>-&gt; %s</span></li>
</ol>
<p><span style="font-size:{fsize}px">%s <strong>%s -&gt; %s</strong>&nbsp;%s it&#39;s %s:
<p><span style="font-size:{fsize}px">%s <strong>%s -&gt; %s</strong>&nbsp;%s it&#39;s %s:
<strong>F3</strong>.</span></p>
''' % (
_("Selected Tab - Choose an Item from Project Tab"), _("Details"),

View File

@ -1267,7 +1267,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
<tr height="20">
<td height="20"><strong>ALT+F10</strong></td>
<td>&nbsp;%s</td>
</tr>
</tr>
<tr height="20">
<td height="20">&nbsp;</td>
<td>&nbsp;</td>
@ -1275,7 +1275,7 @@ class FlatCAMGUI(QtWidgets.QMainWindow):
<tr height="20">
<td height="20"><strong>CTRL+ALT+X</strong></td>
<td>&nbsp;%s</td>
</tr>
</tr>
<tr height="20">
<td height="20">&nbsp;</td>
<td>&nbsp;</td>
@ -6438,7 +6438,7 @@ class CNCJobGenPrefGroupUI(OptionsGroupUI):
# hidden for the time being, until implemented
coords_type_label.hide()
self.coords_type_radio.hide()
self.layout.addStretch()
@ -7808,7 +7808,7 @@ class FAExcPrefGroupUI(OptionsGroupUI):
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"
"FlatCAM and the files with above extensions.\n"
"They will be active after next logon.\n"
@ -7841,7 +7841,7 @@ class FAGcoPrefGroupUI(OptionsGroupUI):
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"
"FlatCAM and the files with above extensions.\n"
"They will be active after next logon.\n"
@ -7873,7 +7873,7 @@ class FAGrbPrefGroupUI(OptionsGroupUI):
font.setPointSize(12)
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"
"FlatCAM and the files with above extensions.\n"
"They will be active after next logon.\n"

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -8454,6 +8454,10 @@ msgid ""
"associated with FlatCAM."
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:7813
msgid ""