- fixed Measuring Tool - after doing a measurement the Notebook was switching to Project Tab without letting the user see the results
- more work on the translation engine; the app now restarts after a language is applied - added protection against using Travel Z parameter with negative or zero value (in Geometry).
This commit is contained in:
parent
934d971002
commit
574184f44c
@ -45,7 +45,7 @@ from PlotCanvas import *
|
|||||||
from FlatCAMGUI import *
|
from FlatCAMGUI import *
|
||||||
from FlatCAMCommon import LoudDict
|
from FlatCAMCommon import LoudDict
|
||||||
from FlatCAMPostProc import load_postprocessors
|
from FlatCAMPostProc import load_postprocessors
|
||||||
from FlatCAMTranslation import *
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
|
||||||
from FlatCAMEditor import FlatCAMGeoEditor, FlatCAMExcEditor
|
from FlatCAMEditor import FlatCAMGeoEditor, FlatCAMExcEditor
|
||||||
from FlatCAMProcess import *
|
from FlatCAMProcess import *
|
||||||
@ -563,7 +563,7 @@ class App(QtCore.QObject):
|
|||||||
#### LOAD LANGUAGES ####
|
#### LOAD LANGUAGES ####
|
||||||
#############################
|
#############################
|
||||||
|
|
||||||
self.languages = load_languages(self)
|
self.languages = fcTranslate.load_languages()
|
||||||
for name in list(self.languages.keys()):
|
for name in list(self.languages.keys()):
|
||||||
self.ui.general_defaults_form.general_app_group.language_cb.addItem(self.languages[name])
|
self.ui.general_defaults_form.general_app_group.language_cb.addItem(self.languages[name])
|
||||||
|
|
||||||
@ -835,15 +835,29 @@ class App(QtCore.QObject):
|
|||||||
|
|
||||||
###############################
|
###############################
|
||||||
### Load defaults from file ###
|
### Load defaults from file ###
|
||||||
|
###############################
|
||||||
|
|
||||||
if user_defaults:
|
if user_defaults:
|
||||||
self.load_defaults(filename='current_defaults')
|
self.load_defaults(filename='current_defaults')
|
||||||
|
|
||||||
############################
|
############################
|
||||||
##### APPLY APP LANGUAGE ###
|
##### APPLY APP LANGUAGE ###
|
||||||
###########################
|
############################
|
||||||
|
|
||||||
# apply the default language
|
ret_val = fcTranslate.apply_language('FlatCAMApp')
|
||||||
self.on_language_apply()
|
|
||||||
|
if ret_val == "no language":
|
||||||
|
self.inform.emit("[ERROR] Could not find the Language files. The App strings are missing.")
|
||||||
|
log.debug("Could not find the Language files. The App strings are missing.")
|
||||||
|
else:
|
||||||
|
# make the current language the current selection on the language combobox
|
||||||
|
self.ui.general_defaults_form.general_app_group.language_cb.setCurrentText(ret_val)
|
||||||
|
log.debug("App.__init__() --> Applied %s language." % str(ret_val).capitalize())
|
||||||
|
|
||||||
|
|
||||||
|
###################################
|
||||||
|
### CREATE UNIQUE SERIAL NUMBER ###
|
||||||
|
###################################
|
||||||
|
|
||||||
chars = 'abcdefghijklmnopqrstuvwxyz0123456789'
|
chars = 'abcdefghijklmnopqrstuvwxyz0123456789'
|
||||||
if self.defaults['global_serial'] == 0 or len(str(self.defaults['global_serial'])) < 10:
|
if self.defaults['global_serial'] == 0 or len(str(self.defaults['global_serial'])) < 10:
|
||||||
@ -1369,7 +1383,9 @@ class App(QtCore.QObject):
|
|||||||
### GUI PREFERENCES SIGNALS ###
|
### GUI PREFERENCES SIGNALS ###
|
||||||
###############################
|
###############################
|
||||||
self.ui.general_options_form.general_app_group.units_radio.group_toggle_fn = self.on_toggle_units
|
self.ui.general_options_form.general_app_group.units_radio.group_toggle_fn = self.on_toggle_units
|
||||||
self.ui.general_defaults_form.general_app_group.language_apply_btn.clicked.connect(self.on_language_apply)
|
self.ui.general_defaults_form.general_app_group.language_apply_btn.clicked.connect(
|
||||||
|
lambda: fcTranslate.on_language_apply_click(self, restart=True)
|
||||||
|
)
|
||||||
self.ui.general_defaults_form.general_app_group.units_radio.activated_custom.connect(self.on_toggle_units)
|
self.ui.general_defaults_form.general_app_group.units_radio.activated_custom.connect(self.on_toggle_units)
|
||||||
|
|
||||||
###############################
|
###############################
|
||||||
@ -3267,31 +3283,6 @@ class App(QtCore.QObject):
|
|||||||
self.ui.general_defaults_form.general_app_group.units_radio.set_value("MM")
|
self.ui.general_defaults_form.general_app_group.units_radio.set_value("MM")
|
||||||
self.on_toggle_units()
|
self.on_toggle_units()
|
||||||
|
|
||||||
def on_language_apply(self, lang=None):
|
|
||||||
"""
|
|
||||||
Using instructions from here:
|
|
||||||
https://inventwithpython.com/blog/2014/12/20/translate-your-python-3-program-with-the-gettext-module/
|
|
||||||
|
|
||||||
:return:
|
|
||||||
"""
|
|
||||||
name = ''
|
|
||||||
|
|
||||||
if lang is None:
|
|
||||||
name = self.ui.general_defaults_form.general_app_group.language_cb.currentText()
|
|
||||||
else:
|
|
||||||
name = lang
|
|
||||||
|
|
||||||
for lang_code, lang_usable in self.languages.items():
|
|
||||||
if lang_usable == name:
|
|
||||||
# break and then use the current key as language
|
|
||||||
break
|
|
||||||
|
|
||||||
try:
|
|
||||||
lang = gettext.translation('fc', localedir=str(languages_dir(self)), languages=[lang_code])
|
|
||||||
lang.install()
|
|
||||||
except Exception as e:
|
|
||||||
log.debug("App.on_language_apply() --> %s" % str(e))
|
|
||||||
|
|
||||||
def on_fullscreen(self):
|
def on_fullscreen(self):
|
||||||
self.report_usage("on_fullscreen()")
|
self.report_usage("on_fullscreen()")
|
||||||
|
|
||||||
@ -4941,8 +4932,13 @@ class App(QtCore.QObject):
|
|||||||
self.collection.set_all_inactive()
|
self.collection.set_all_inactive()
|
||||||
# delete the possible selection box around a possible selected object
|
# delete the possible selection box around a possible selected object
|
||||||
self.delete_selection_shape()
|
self.delete_selection_shape()
|
||||||
# and as a convenience move the focus to the Project tab because Selected tab is now empty
|
# and as a convenience move the focus to the Project tab because Selected tab is now empty but
|
||||||
|
# only when working on App
|
||||||
|
|
||||||
|
if self.call_source != 'measurement':
|
||||||
self.ui.notebook.setCurrentWidget(self.ui.project_tab)
|
self.ui.notebook.setCurrentWidget(self.ui.project_tab)
|
||||||
|
else:
|
||||||
|
self.call_source = 'app'
|
||||||
|
|
||||||
# delete any text in the status bar, implicitly the last object name that was selected
|
# delete any text in the status bar, implicitly the last object name that was selected
|
||||||
self.inform.emit("")
|
self.inform.emit("")
|
||||||
|
@ -33,6 +33,10 @@ from vispy.scene.visuals import Markers
|
|||||||
from copy import copy
|
from copy import copy
|
||||||
import freetype as ft
|
import freetype as ft
|
||||||
|
|
||||||
|
import gettext
|
||||||
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('FlatCAMEditor')
|
||||||
|
|
||||||
|
|
||||||
class BufferSelectionTool(FlatCAMTool):
|
class BufferSelectionTool(FlatCAMTool):
|
||||||
"""
|
"""
|
||||||
|
@ -14,6 +14,10 @@ import webbrowser
|
|||||||
|
|
||||||
from FlatCAMEditor import FCShapeTool
|
from FlatCAMEditor import FCShapeTool
|
||||||
|
|
||||||
|
import gettext
|
||||||
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('FlatCAMGui')
|
||||||
|
|
||||||
|
|
||||||
class FlatCAMGUI(QtWidgets.QMainWindow):
|
class FlatCAMGUI(QtWidgets.QMainWindow):
|
||||||
# Emitted when persistent window geometry needs to be retained
|
# Emitted when persistent window geometry needs to be retained
|
||||||
|
@ -22,9 +22,13 @@ from camlib import *
|
|||||||
from VisPyVisuals import ShapeCollectionVisual
|
from VisPyVisuals import ShapeCollectionVisual
|
||||||
import itertools
|
import itertools
|
||||||
|
|
||||||
|
import gettext
|
||||||
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('FlatCAMObj')
|
||||||
|
|
||||||
|
|
||||||
# Interrupts plotting process if FlatCAMObj has been deleted
|
|
||||||
class ObjectDeleted(Exception):
|
class ObjectDeleted(Exception):
|
||||||
|
# Interrupts plotting process if FlatCAMObj has been deleted
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
@ -37,6 +41,8 @@ class ValidationError(Exception):
|
|||||||
########################################
|
########################################
|
||||||
## FlatCAMObj ##
|
## FlatCAMObj ##
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
|
|
||||||
class FlatCAMObj(QtCore.QObject):
|
class FlatCAMObj(QtCore.QObject):
|
||||||
"""
|
"""
|
||||||
Base type of objects handled in FlatCAM. These become interactive
|
Base type of objects handled in FlatCAM. These become interactive
|
||||||
|
@ -1,11 +1,16 @@
|
|||||||
import os
|
import os
|
||||||
from datetime import datetime
|
import sys
|
||||||
|
|
||||||
|
from PyQt5 import QtWidgets, QtGui
|
||||||
|
from PyQt5.QtCore import QSettings
|
||||||
|
|
||||||
import FlatCAMApp
|
import FlatCAMApp
|
||||||
from FlatCAMApp import log
|
from GUIElements import log
|
||||||
|
import gettext
|
||||||
|
|
||||||
# ISO639-1 codes from here: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
|
# ISO639-1 codes from here: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
|
||||||
languages_dict = {
|
languages_dict = {
|
||||||
|
'zh': 'Chinese',
|
||||||
'de': 'German',
|
'de': 'German',
|
||||||
'en': 'English',
|
'en': 'English',
|
||||||
'es': 'Spanish',
|
'es': 'Spanish',
|
||||||
@ -13,7 +18,6 @@ languages_dict = {
|
|||||||
'it': 'Italian',
|
'it': 'Italian',
|
||||||
'ro': 'Romanian',
|
'ro': 'Romanian',
|
||||||
'ru': 'Russian',
|
'ru': 'Russian',
|
||||||
'zh': 'Chinese',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
translations = {}
|
translations = {}
|
||||||
@ -21,8 +25,8 @@ translations = {}
|
|||||||
languages_path_search = ''
|
languages_path_search = ''
|
||||||
|
|
||||||
|
|
||||||
def load_languages(app):
|
def load_languages():
|
||||||
languages_path_search = os.path.join('locale')
|
languages_path_search = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'locale')
|
||||||
|
|
||||||
available_translations = next(os.walk(languages_path_search))[1]
|
available_translations = next(os.walk(languages_path_search))[1]
|
||||||
|
|
||||||
@ -35,5 +39,79 @@ def load_languages(app):
|
|||||||
return translations
|
return translations
|
||||||
|
|
||||||
|
|
||||||
def languages_dir(app):
|
def languages_dir():
|
||||||
return os.path.join('locale')
|
return os.path.join(os.path.dirname(os.path.abspath(__file__)), 'locale')
|
||||||
|
|
||||||
|
|
||||||
|
def on_language_apply_click(app, restart=False):
|
||||||
|
"""
|
||||||
|
Using instructions from here:
|
||||||
|
https://inventwithpython.com/blog/2014/12/20/translate-your-python-3-program-with-the-gettext-module/
|
||||||
|
|
||||||
|
:return:
|
||||||
|
"""
|
||||||
|
name = app.ui.general_defaults_form.general_app_group.language_cb.currentText()
|
||||||
|
|
||||||
|
if restart:
|
||||||
|
msgbox = QtWidgets.QMessageBox()
|
||||||
|
|
||||||
|
msgbox.setInformativeText("Are you sure do you want to change the current language to %s?\n\n"
|
||||||
|
"The application will restart." % name.capitalize())
|
||||||
|
msgbox.setWindowTitle("Apply Language ...")
|
||||||
|
msgbox.setWindowIcon(QtGui.QIcon('share/save_as.png'))
|
||||||
|
msgbox.setStandardButtons(QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.Cancel)
|
||||||
|
msgbox.setDefaultButton(QtWidgets.QMessageBox.Yes)
|
||||||
|
|
||||||
|
response = msgbox.exec_()
|
||||||
|
|
||||||
|
if response == QtWidgets.QMessageBox.Cancel:
|
||||||
|
return
|
||||||
|
else:
|
||||||
|
settings = QSettings("Open Source", "FlatCAM")
|
||||||
|
saved_language = name
|
||||||
|
settings.setValue('language', saved_language)
|
||||||
|
# This will write the setting to the platform specific storage.
|
||||||
|
del settings
|
||||||
|
|
||||||
|
restart_program(app=app)
|
||||||
|
|
||||||
|
|
||||||
|
def apply_language(filename, lang=None):
|
||||||
|
lang_code = ''
|
||||||
|
|
||||||
|
if lang is None:
|
||||||
|
settings = QSettings("Open Source", "FlatCAM")
|
||||||
|
if settings.contains("language"):
|
||||||
|
name = settings.value('language')
|
||||||
|
else:
|
||||||
|
name = settings.value('English')
|
||||||
|
else:
|
||||||
|
name = str(lang)
|
||||||
|
|
||||||
|
for lang_code, lang_usable in load_languages().items():
|
||||||
|
if lang_usable == name:
|
||||||
|
# break and then use the current key as language
|
||||||
|
break
|
||||||
|
|
||||||
|
if lang_code == '':
|
||||||
|
return "no language"
|
||||||
|
else:
|
||||||
|
try:
|
||||||
|
current_lang = gettext.translation(str(filename), localedir=languages_dir(), languages=[lang_code])
|
||||||
|
current_lang.install()
|
||||||
|
except Exception as e:
|
||||||
|
log.debug("FlatCAMTranslation.apply_language() --> %s" % str(e))
|
||||||
|
|
||||||
|
return name
|
||||||
|
|
||||||
|
|
||||||
|
def restart_program(app):
|
||||||
|
"""Restarts the current program.
|
||||||
|
Note: this function does not return. Any cleanup action (like
|
||||||
|
saving data) must be done before calling this function.
|
||||||
|
"""
|
||||||
|
app.save_defaults()
|
||||||
|
python = sys.executable
|
||||||
|
os.execl(python, python, *sys.argv)
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,6 +14,10 @@ from PyQt5 import QtGui, QtCore, QtWidgets
|
|||||||
from PyQt5.QtCore import Qt
|
from PyQt5.QtCore import Qt
|
||||||
# import webbrowser
|
# import webbrowser
|
||||||
|
|
||||||
|
import gettext
|
||||||
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ObjectCollection')
|
||||||
|
|
||||||
|
|
||||||
class KeySensitiveListView(QtWidgets.QTreeView):
|
class KeySensitiveListView(QtWidgets.QTreeView):
|
||||||
"""
|
"""
|
||||||
|
@ -5,6 +5,10 @@ from GUIElements import FCEntry, FloatEntry, EvalEntry, FCCheckBox, FCTable, \
|
|||||||
LengthEntry, FCTextArea, IntEntry, RadioSet, OptionalInputSection, FCComboBox, FloatEntry2, EvalEntry2, FCButton
|
LengthEntry, FCTextArea, IntEntry, RadioSet, OptionalInputSection, FCComboBox, FloatEntry2, EvalEntry2, FCButton
|
||||||
from camlib import Excellon
|
from camlib import Excellon
|
||||||
|
|
||||||
|
import gettext
|
||||||
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ObjectUI')
|
||||||
|
|
||||||
|
|
||||||
class ObjectUI(QtWidgets.QWidget):
|
class ObjectUI(QtWidgets.QWidget):
|
||||||
"""
|
"""
|
||||||
|
@ -14,7 +14,9 @@ CAD program, and create G-Code for Isolation routing.
|
|||||||
- made showing a shape when hovering over objects, optional, by adding a Preferences -> General parameter
|
- made showing a shape when hovering over objects, optional, by adding a Preferences -> General parameter
|
||||||
- starting to work in internationalization using gettext()
|
- starting to work in internationalization using gettext()
|
||||||
- Finished adding _() in FlatCAM Tools
|
- Finished adding _() in FlatCAM Tools
|
||||||
-
|
- fixed Measuring Tool - after doing a measurement the Notebook was switching to Project Tab without letting the user see the results
|
||||||
|
- more work on the translation engine; the app now restarts after a language is applied
|
||||||
|
- added protection against using Travel Z parameter with negative or zero value (in Geometry).
|
||||||
|
|
||||||
6.03.2019
|
6.03.2019
|
||||||
|
|
||||||
|
38
camlib.py
38
camlib.py
@ -5340,7 +5340,7 @@ class CNCjob(Geometry):
|
|||||||
self.f_plunge = self.app.defaults["geometry_f_plunge"]
|
self.f_plunge = self.app.defaults["geometry_f_plunge"]
|
||||||
|
|
||||||
if self.z_cut is None:
|
if self.z_cut is None:
|
||||||
self.app.inform.emit("[ERROR_NOTCL] Cut_Z parameter is None. Most likely a bad combinations of "
|
self.app.inform.emit("[ERROR_NOTCL] Cut_Z parameter is None or zero. Most likely a bad combinations of "
|
||||||
"other parameters.")
|
"other parameters.")
|
||||||
return 'fail'
|
return 'fail'
|
||||||
|
|
||||||
@ -5354,6 +5354,23 @@ class CNCjob(Geometry):
|
|||||||
elif self.z_cut == 0:
|
elif self.z_cut == 0:
|
||||||
self.app.inform.emit("[WARNING] The Cut Z parameter is zero. "
|
self.app.inform.emit("[WARNING] The Cut Z parameter is zero. "
|
||||||
"There will be no cut, skipping %s file" % self.options['name'])
|
"There will be no cut, skipping %s file" % self.options['name'])
|
||||||
|
return 'fail'
|
||||||
|
|
||||||
|
if self.z_move is None:
|
||||||
|
self.app.inform.emit("[ERROR_NOTCL] Travel Z parameter is None or zero.")
|
||||||
|
return 'fail'
|
||||||
|
|
||||||
|
if self.z_move < 0:
|
||||||
|
self.app.inform.emit("[WARNING] The Travel Z parameter has negative value. "
|
||||||
|
"It is the height value to travel between cuts.\n"
|
||||||
|
"The Z Travel parameter needs to have a positive value, assuming it is a typo "
|
||||||
|
"therefore the app will convert the value to positive."
|
||||||
|
"Check the resulting CNC code (Gcode etc).")
|
||||||
|
self.z_move = -self.z_move
|
||||||
|
elif self.z_move == 0:
|
||||||
|
self.app.inform.emit("[WARNING] The Z Travel parameter is zero. "
|
||||||
|
"This is dangerous, skipping %s file" % self.options['name'])
|
||||||
|
return 'fail'
|
||||||
|
|
||||||
## Index first and last points in paths
|
## Index first and last points in paths
|
||||||
# What points to index.
|
# What points to index.
|
||||||
@ -5594,7 +5611,7 @@ class CNCjob(Geometry):
|
|||||||
self.f_plunge = self.app.defaults["geometry_f_plunge"]
|
self.f_plunge = self.app.defaults["geometry_f_plunge"]
|
||||||
|
|
||||||
if self.z_cut is None:
|
if self.z_cut is None:
|
||||||
self.app.inform.emit("[ERROR_NOTCL] Cut_Z parameter is None. Most likely a bad combinations of "
|
self.app.inform.emit("[ERROR_NOTCL] Cut_Z parameter is None or zero. Most likely a bad combinations of "
|
||||||
"other parameters.")
|
"other parameters.")
|
||||||
return 'fail'
|
return 'fail'
|
||||||
|
|
||||||
@ -5608,6 +5625,23 @@ class CNCjob(Geometry):
|
|||||||
elif self.z_cut == 0:
|
elif self.z_cut == 0:
|
||||||
self.app.inform.emit("[WARNING] The Cut Z parameter is zero. "
|
self.app.inform.emit("[WARNING] The Cut Z parameter is zero. "
|
||||||
"There will be no cut, skipping %s file" % geometry.options['name'])
|
"There will be no cut, skipping %s file" % geometry.options['name'])
|
||||||
|
return 'fail'
|
||||||
|
|
||||||
|
if self.z_move is None:
|
||||||
|
self.app.inform.emit("[ERROR_NOTCL] Travel Z parameter is None or zero.")
|
||||||
|
return 'fail'
|
||||||
|
|
||||||
|
if self.z_move < 0:
|
||||||
|
self.app.inform.emit("[WARNING] The Travel Z parameter has negative value. "
|
||||||
|
"It is the height value to travel between cuts.\n"
|
||||||
|
"The Z Travel parameter needs to have a positive value, assuming it is a typo "
|
||||||
|
"therefore the app will convert the value to positive."
|
||||||
|
"Check the resulting CNC code (Gcode etc).")
|
||||||
|
self.z_move = -self.z_move
|
||||||
|
elif self.z_move == 0:
|
||||||
|
self.app.inform.emit("[WARNING] The Z Travel parameter is zero. "
|
||||||
|
"This is dangerous, skipping %s file" % self.options['name'])
|
||||||
|
return 'fail'
|
||||||
|
|
||||||
## Index first and last points in paths
|
## Index first and last points in paths
|
||||||
# What points to index.
|
# What points to index.
|
||||||
|
@ -3,10 +3,10 @@ from GUIElements import FCEntry
|
|||||||
from FlatCAMTool import FlatCAMTool
|
from FlatCAMTool import FlatCAMTool
|
||||||
from FlatCAMObj import *
|
from FlatCAMObj import *
|
||||||
import math
|
import math
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolCalculators')
|
||||||
|
|
||||||
|
|
||||||
class ToolCalculator(FlatCAMTool):
|
class ToolCalculator(FlatCAMTool):
|
||||||
|
@ -2,10 +2,10 @@ from FlatCAMTool import FlatCAMTool
|
|||||||
from ObjectCollection import *
|
from ObjectCollection import *
|
||||||
from FlatCAMApp import *
|
from FlatCAMApp import *
|
||||||
from shapely.geometry import box
|
from shapely.geometry import box
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolCutOut')
|
||||||
|
|
||||||
|
|
||||||
class CutOut(FlatCAMTool):
|
class CutOut(FlatCAMTool):
|
||||||
|
@ -5,10 +5,10 @@ from FlatCAMObj import *
|
|||||||
from shapely.geometry import Point
|
from shapely.geometry import Point
|
||||||
from shapely import affinity
|
from shapely import affinity
|
||||||
from PyQt5 import QtCore
|
from PyQt5 import QtCore
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolDblSided')
|
||||||
|
|
||||||
|
|
||||||
class DblSidedTool(FlatCAMTool):
|
class DblSidedTool(FlatCAMTool):
|
||||||
|
@ -2,11 +2,10 @@ from FlatCAMTool import FlatCAMTool
|
|||||||
|
|
||||||
from GUIElements import RadioSet, FCEntry
|
from GUIElements import RadioSet, FCEntry
|
||||||
from PyQt5 import QtGui, QtCore, QtWidgets
|
from PyQt5 import QtGui, QtCore, QtWidgets
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
|
import FlatCAMTranslation as fcTranslate
|
||||||
def _(text):
|
fcTranslate.apply_language('ToolFilm')
|
||||||
return text
|
|
||||||
|
|
||||||
|
|
||||||
class Film(FlatCAMTool):
|
class Film(FlatCAMTool):
|
||||||
|
|
||||||
|
@ -2,11 +2,10 @@ from FlatCAMTool import FlatCAMTool
|
|||||||
|
|
||||||
from GUIElements import RadioSet, FloatEntry, FCComboBox, IntEntry
|
from GUIElements import RadioSet, FloatEntry, FCComboBox, IntEntry
|
||||||
from PyQt5 import QtGui, QtCore, QtWidgets
|
from PyQt5 import QtGui, QtCore, QtWidgets
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
|
import FlatCAMTranslation as fcTranslate
|
||||||
def _(text):
|
fcTranslate.apply_language('ToolImage')
|
||||||
return text
|
|
||||||
|
|
||||||
|
|
||||||
class ToolImage(FlatCAMTool):
|
class ToolImage(FlatCAMTool):
|
||||||
|
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
from FlatCAMTool import FlatCAMTool
|
from FlatCAMTool import FlatCAMTool
|
||||||
from FlatCAMObj import *
|
from FlatCAMObj import *
|
||||||
from VisPyVisuals import *
|
from VisPyVisuals import *
|
||||||
|
from PyQt5.QtCore import QSettings
|
||||||
|
|
||||||
from copy import copy
|
from copy import copy
|
||||||
from math import sqrt
|
from math import sqrt
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolMeasurement')
|
||||||
|
|
||||||
|
|
||||||
class Measurement(FlatCAMTool):
|
class Measurement(FlatCAMTool):
|
||||||
|
|
||||||
@ -160,6 +162,11 @@ class Measurement(FlatCAMTool):
|
|||||||
|
|
||||||
if self.app.tool_tab_locked is True:
|
if self.app.tool_tab_locked is True:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# if the splitter is hidden, display it, else hide it but only if the current widget is the same
|
||||||
|
if self.app.ui.splitter.sizes()[0] == 0:
|
||||||
|
self.app.ui.splitter.setSizes([1, 1])
|
||||||
|
|
||||||
self.toggle()
|
self.toggle()
|
||||||
|
|
||||||
self.set_tool_ui()
|
self.set_tool_ui()
|
||||||
@ -185,6 +192,7 @@ class Measurement(FlatCAMTool):
|
|||||||
if self.active is True:
|
if self.active is True:
|
||||||
# DISABLE the Measuring TOOL
|
# DISABLE the Measuring TOOL
|
||||||
self.active = False
|
self.active = False
|
||||||
|
|
||||||
# disconnect the mouse/key events from functions of measurement tool
|
# disconnect the mouse/key events from functions of measurement tool
|
||||||
self.app.plotcanvas.vis_disconnect('mouse_move', self.on_mouse_move_meas)
|
self.app.plotcanvas.vis_disconnect('mouse_move', self.on_mouse_move_meas)
|
||||||
self.app.plotcanvas.vis_disconnect('mouse_press', self.on_click_meas)
|
self.app.plotcanvas.vis_disconnect('mouse_press', self.on_click_meas)
|
||||||
@ -206,6 +214,7 @@ class Measurement(FlatCAMTool):
|
|||||||
self.app.exc_editor.canvas.vis_connect('key_press', self.app.exc_editor.on_canvas_key)
|
self.app.exc_editor.canvas.vis_connect('key_press', self.app.exc_editor.on_canvas_key)
|
||||||
self.app.exc_editor.canvas.vis_connect('mouse_release', self.app.exc_editor.on_canvas_click_release)
|
self.app.exc_editor.canvas.vis_connect('mouse_release', self.app.exc_editor.on_canvas_click_release)
|
||||||
|
|
||||||
|
self.app.call_source = 'measurement'
|
||||||
self.clicked_meas = 0
|
self.clicked_meas = 0
|
||||||
self.app.command_active = None
|
self.app.command_active = None
|
||||||
# delete the measuring line
|
# delete the measuring line
|
||||||
|
@ -4,10 +4,10 @@ from VisPyVisuals import *
|
|||||||
|
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
from copy import copy
|
from copy import copy
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolMove')
|
||||||
|
|
||||||
|
|
||||||
class ToolMove(FlatCAMTool):
|
class ToolMove(FlatCAMTool):
|
||||||
|
@ -2,10 +2,10 @@ from FlatCAMTool import FlatCAMTool
|
|||||||
from copy import copy,deepcopy
|
from copy import copy,deepcopy
|
||||||
from ObjectCollection import *
|
from ObjectCollection import *
|
||||||
import time
|
import time
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolNonCopperClear')
|
||||||
|
|
||||||
|
|
||||||
class NonCopperClear(FlatCAMTool, Gerber):
|
class NonCopperClear(FlatCAMTool, Gerber):
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
from FlatCAMTool import FlatCAMTool
|
from FlatCAMTool import FlatCAMTool
|
||||||
from copy import copy,deepcopy
|
from copy import copy,deepcopy
|
||||||
from ObjectCollection import *
|
from ObjectCollection import *
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
|
import FlatCAMTranslation as fcTranslate
|
||||||
def _(text):
|
fcTranslate.apply_language('ToolPaint')
|
||||||
return text
|
|
||||||
|
|
||||||
|
|
||||||
class ToolPaint(FlatCAMTool, Gerber):
|
class ToolPaint(FlatCAMTool, Gerber):
|
||||||
|
|
||||||
|
@ -2,10 +2,10 @@ from FlatCAMTool import FlatCAMTool
|
|||||||
from copy import copy, deepcopy
|
from copy import copy, deepcopy
|
||||||
from ObjectCollection import *
|
from ObjectCollection import *
|
||||||
import time
|
import time
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolPanelize')
|
||||||
|
|
||||||
|
|
||||||
class Panelize(FlatCAMTool):
|
class Panelize(FlatCAMTool):
|
||||||
|
@ -2,10 +2,10 @@ from PyQt5 import QtGui, QtCore, QtWidgets
|
|||||||
from PyQt5.QtCore import Qt
|
from PyQt5.QtCore import Qt
|
||||||
from FlatCAMTool import FlatCAMTool
|
from FlatCAMTool import FlatCAMTool
|
||||||
from FlatCAMObj import *
|
from FlatCAMObj import *
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolProperties')
|
||||||
|
|
||||||
|
|
||||||
class Properties(FlatCAMTool):
|
class Properties(FlatCAMTool):
|
||||||
|
@ -12,10 +12,10 @@ from PyQt5.QtGui import QTextCursor
|
|||||||
from PyQt5.QtWidgets import QVBoxLayout, QWidget
|
from PyQt5.QtWidgets import QVBoxLayout, QWidget
|
||||||
from GUIElements import _BrowserTextEdit, _ExpandableTextEdit
|
from GUIElements import _BrowserTextEdit, _ExpandableTextEdit
|
||||||
import html
|
import html
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolShell')
|
||||||
|
|
||||||
|
|
||||||
class TermWidget(QWidget):
|
class TermWidget(QWidget):
|
||||||
|
@ -16,10 +16,10 @@ from shapely.ops import cascaded_union
|
|||||||
|
|
||||||
import traceback
|
import traceback
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolSolderPaste')
|
||||||
|
|
||||||
|
|
||||||
class SolderPaste(FlatCAMTool):
|
class SolderPaste(FlatCAMTool):
|
||||||
|
@ -3,10 +3,10 @@ from PyQt5.QtCore import Qt
|
|||||||
from GUIElements import FCEntry, FCButton, OptionalInputSection
|
from GUIElements import FCEntry, FCButton, OptionalInputSection
|
||||||
from FlatCAMTool import FlatCAMTool
|
from FlatCAMTool import FlatCAMTool
|
||||||
from FlatCAMObj import *
|
from FlatCAMObj import *
|
||||||
import gettext
|
|
||||||
|
|
||||||
def _(text):
|
import gettext
|
||||||
return text
|
import FlatCAMTranslation as fcTranslate
|
||||||
|
fcTranslate.apply_language('ToolTransform')
|
||||||
|
|
||||||
|
|
||||||
class ToolTransform(FlatCAMTool):
|
class ToolTransform(FlatCAMTool):
|
||||||
|
@ -1 +0,0 @@
|
|||||||
pass
|
|
BIN
locale/de/LC_MESSAGES/ToolMeasurement.mo
Normal file
BIN
locale/de/LC_MESSAGES/ToolMeasurement.mo
Normal file
Binary file not shown.
92
locale/de/LC_MESSAGES/ToolMeasurement.po
Normal file
92
locale/de/LC_MESSAGES/ToolMeasurement.po
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"POT-Creation-Date: 2019-03-07 23:07+0200\n"
|
||||||
|
"PO-Revision-Date: 2019-03-07 23:19+0200\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
"X-Generator: Poedit 2.2.1\n"
|
||||||
|
"Last-Translator: \n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"Language: en\n"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:28
|
||||||
|
msgid "Measurement"
|
||||||
|
msgstr "Measurement"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
msgid "Start"
|
||||||
|
msgstr "Start"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Coords"
|
||||||
|
msgstr "Coords"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:50
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:101
|
||||||
|
msgid "This is measuring Start point coordinates."
|
||||||
|
msgstr "This is measuring Start point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Stop"
|
||||||
|
msgstr "Stop"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:53
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:106
|
||||||
|
msgid "This is the measuring Stop point coordinates."
|
||||||
|
msgstr "This is the measuring Stop point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:56
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:111
|
||||||
|
msgid "This is the distance measured over the X axis."
|
||||||
|
msgstr "This is the distance measured over the X axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:59
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:117
|
||||||
|
msgid "This is the distance measured over the Y axis."
|
||||||
|
msgstr "This is the distance measured over the Y axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:61
|
||||||
|
msgid "DISTANCE"
|
||||||
|
msgstr "DISTANCE"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:62
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:123
|
||||||
|
msgid "This is the point to point Euclidian distance."
|
||||||
|
msgstr "This is the point to point Euclidian distance."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:65
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:72
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:79
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:86
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:93
|
||||||
|
msgid "Those are the units in which the distance is measured."
|
||||||
|
msgstr "Those are the units in which the distance is measured."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:126
|
||||||
|
msgid "Measure"
|
||||||
|
msgstr "Measure"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:185
|
||||||
|
msgid "Meas. Tool"
|
||||||
|
msgstr "Meas. Tool"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:278
|
||||||
|
msgid "MEASURING: Click on the Start point ..."
|
||||||
|
msgstr "MEASURING: Click on the Start point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:307
|
||||||
|
msgid "MEASURING: Click on the Destination point ..."
|
||||||
|
msgstr "MEASURING: Click on the Destination point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:328
|
||||||
|
msgid "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
||||||
|
msgstr "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
BIN
locale/en/LC_MESSAGES/ToolMeasurement.mo
Normal file
BIN
locale/en/LC_MESSAGES/ToolMeasurement.mo
Normal file
Binary file not shown.
92
locale/en/LC_MESSAGES/ToolMeasurement.po
Normal file
92
locale/en/LC_MESSAGES/ToolMeasurement.po
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"POT-Creation-Date: 2019-03-07 23:07+0200\n"
|
||||||
|
"PO-Revision-Date: 2019-03-07 23:19+0200\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
"X-Generator: Poedit 2.2.1\n"
|
||||||
|
"Last-Translator: \n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"Language: en\n"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:28
|
||||||
|
msgid "Measurement"
|
||||||
|
msgstr "Measurement"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
msgid "Start"
|
||||||
|
msgstr "Start"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Coords"
|
||||||
|
msgstr "Coords"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:50
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:101
|
||||||
|
msgid "This is measuring Start point coordinates."
|
||||||
|
msgstr "This is measuring Start point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Stop"
|
||||||
|
msgstr "Stop"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:53
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:106
|
||||||
|
msgid "This is the measuring Stop point coordinates."
|
||||||
|
msgstr "This is the measuring Stop point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:56
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:111
|
||||||
|
msgid "This is the distance measured over the X axis."
|
||||||
|
msgstr "This is the distance measured over the X axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:59
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:117
|
||||||
|
msgid "This is the distance measured over the Y axis."
|
||||||
|
msgstr "This is the distance measured over the Y axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:61
|
||||||
|
msgid "DISTANCE"
|
||||||
|
msgstr "DISTANCE"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:62
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:123
|
||||||
|
msgid "This is the point to point Euclidian distance."
|
||||||
|
msgstr "This is the point to point Euclidian distance."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:65
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:72
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:79
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:86
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:93
|
||||||
|
msgid "Those are the units in which the distance is measured."
|
||||||
|
msgstr "Those are the units in which the distance is measured."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:126
|
||||||
|
msgid "Measure"
|
||||||
|
msgstr "Measure"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:185
|
||||||
|
msgid "Meas. Tool"
|
||||||
|
msgstr "Meas. Tool"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:278
|
||||||
|
msgid "MEASURING: Click on the Start point ..."
|
||||||
|
msgstr "MEASURING: Click on the Start point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:307
|
||||||
|
msgid "MEASURING: Click on the Destination point ..."
|
||||||
|
msgstr "MEASURING: Click on the Destination point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:328
|
||||||
|
msgid "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
||||||
|
msgstr "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
BIN
locale/es/LC_MESSAGES/ToolMeasurement.mo
Normal file
BIN
locale/es/LC_MESSAGES/ToolMeasurement.mo
Normal file
Binary file not shown.
92
locale/es/LC_MESSAGES/ToolMeasurement.po
Normal file
92
locale/es/LC_MESSAGES/ToolMeasurement.po
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"POT-Creation-Date: 2019-03-07 23:07+0200\n"
|
||||||
|
"PO-Revision-Date: 2019-03-07 23:19+0200\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
"X-Generator: Poedit 2.2.1\n"
|
||||||
|
"Last-Translator: \n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"Language: en\n"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:28
|
||||||
|
msgid "Measurement"
|
||||||
|
msgstr "Measurement"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
msgid "Start"
|
||||||
|
msgstr "Start"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Coords"
|
||||||
|
msgstr "Coords"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:50
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:101
|
||||||
|
msgid "This is measuring Start point coordinates."
|
||||||
|
msgstr "This is measuring Start point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Stop"
|
||||||
|
msgstr "Stop"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:53
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:106
|
||||||
|
msgid "This is the measuring Stop point coordinates."
|
||||||
|
msgstr "This is the measuring Stop point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:56
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:111
|
||||||
|
msgid "This is the distance measured over the X axis."
|
||||||
|
msgstr "This is the distance measured over the X axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:59
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:117
|
||||||
|
msgid "This is the distance measured over the Y axis."
|
||||||
|
msgstr "This is the distance measured over the Y axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:61
|
||||||
|
msgid "DISTANCE"
|
||||||
|
msgstr "DISTANCE"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:62
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:123
|
||||||
|
msgid "This is the point to point Euclidian distance."
|
||||||
|
msgstr "This is the point to point Euclidian distance."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:65
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:72
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:79
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:86
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:93
|
||||||
|
msgid "Those are the units in which the distance is measured."
|
||||||
|
msgstr "Those are the units in which the distance is measured."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:126
|
||||||
|
msgid "Measure"
|
||||||
|
msgstr "Measure"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:185
|
||||||
|
msgid "Meas. Tool"
|
||||||
|
msgstr "Meas. Tool"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:278
|
||||||
|
msgid "MEASURING: Click on the Start point ..."
|
||||||
|
msgstr "MEASURING: Click on the Start point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:307
|
||||||
|
msgid "MEASURING: Click on the Destination point ..."
|
||||||
|
msgstr "MEASURING: Click on the Destination point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:328
|
||||||
|
msgid "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
||||||
|
msgstr "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
BIN
locale/fr/LC_MESSAGES/ToolMeasurement.mo
Normal file
BIN
locale/fr/LC_MESSAGES/ToolMeasurement.mo
Normal file
Binary file not shown.
92
locale/fr/LC_MESSAGES/ToolMeasurement.po
Normal file
92
locale/fr/LC_MESSAGES/ToolMeasurement.po
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"POT-Creation-Date: 2019-03-07 23:07+0200\n"
|
||||||
|
"PO-Revision-Date: 2019-03-07 23:19+0200\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
"X-Generator: Poedit 2.2.1\n"
|
||||||
|
"Last-Translator: \n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"Language: en\n"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:28
|
||||||
|
msgid "Measurement"
|
||||||
|
msgstr "Measurement"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
msgid "Start"
|
||||||
|
msgstr "Start"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Coords"
|
||||||
|
msgstr "Coords"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:50
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:101
|
||||||
|
msgid "This is measuring Start point coordinates."
|
||||||
|
msgstr "This is measuring Start point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Stop"
|
||||||
|
msgstr "Stop"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:53
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:106
|
||||||
|
msgid "This is the measuring Stop point coordinates."
|
||||||
|
msgstr "This is the measuring Stop point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:56
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:111
|
||||||
|
msgid "This is the distance measured over the X axis."
|
||||||
|
msgstr "This is the distance measured over the X axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:59
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:117
|
||||||
|
msgid "This is the distance measured over the Y axis."
|
||||||
|
msgstr "This is the distance measured over the Y axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:61
|
||||||
|
msgid "DISTANCE"
|
||||||
|
msgstr "DISTANCE"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:62
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:123
|
||||||
|
msgid "This is the point to point Euclidian distance."
|
||||||
|
msgstr "This is the point to point Euclidian distance."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:65
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:72
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:79
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:86
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:93
|
||||||
|
msgid "Those are the units in which the distance is measured."
|
||||||
|
msgstr "Those are the units in which the distance is measured."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:126
|
||||||
|
msgid "Measure"
|
||||||
|
msgstr "Measure"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:185
|
||||||
|
msgid "Meas. Tool"
|
||||||
|
msgstr "Meas. Tool"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:278
|
||||||
|
msgid "MEASURING: Click on the Start point ..."
|
||||||
|
msgstr "MEASURING: Click on the Start point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:307
|
||||||
|
msgid "MEASURING: Click on the Destination point ..."
|
||||||
|
msgstr "MEASURING: Click on the Destination point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:328
|
||||||
|
msgid "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
||||||
|
msgstr "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
BIN
locale/it/LC_MESSAGES/ToolMeasurement.mo
Normal file
BIN
locale/it/LC_MESSAGES/ToolMeasurement.mo
Normal file
Binary file not shown.
92
locale/it/LC_MESSAGES/ToolMeasurement.po
Normal file
92
locale/it/LC_MESSAGES/ToolMeasurement.po
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"POT-Creation-Date: 2019-03-07 23:07+0200\n"
|
||||||
|
"PO-Revision-Date: 2019-03-07 23:19+0200\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
"X-Generator: Poedit 2.2.1\n"
|
||||||
|
"Last-Translator: \n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"Language: en\n"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:28
|
||||||
|
msgid "Measurement"
|
||||||
|
msgstr "Measurement"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
msgid "Start"
|
||||||
|
msgstr "Start"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Coords"
|
||||||
|
msgstr "Coords"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:50
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:101
|
||||||
|
msgid "This is measuring Start point coordinates."
|
||||||
|
msgstr "This is measuring Start point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Stop"
|
||||||
|
msgstr "Stop"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:53
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:106
|
||||||
|
msgid "This is the measuring Stop point coordinates."
|
||||||
|
msgstr "This is the measuring Stop point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:56
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:111
|
||||||
|
msgid "This is the distance measured over the X axis."
|
||||||
|
msgstr "This is the distance measured over the X axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:59
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:117
|
||||||
|
msgid "This is the distance measured over the Y axis."
|
||||||
|
msgstr "This is the distance measured over the Y axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:61
|
||||||
|
msgid "DISTANCE"
|
||||||
|
msgstr "DISTANCE"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:62
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:123
|
||||||
|
msgid "This is the point to point Euclidian distance."
|
||||||
|
msgstr "This is the point to point Euclidian distance."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:65
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:72
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:79
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:86
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:93
|
||||||
|
msgid "Those are the units in which the distance is measured."
|
||||||
|
msgstr "Those are the units in which the distance is measured."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:126
|
||||||
|
msgid "Measure"
|
||||||
|
msgstr "Measure"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:185
|
||||||
|
msgid "Meas. Tool"
|
||||||
|
msgstr "Meas. Tool"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:278
|
||||||
|
msgid "MEASURING: Click on the Start point ..."
|
||||||
|
msgstr "MEASURING: Click on the Start point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:307
|
||||||
|
msgid "MEASURING: Click on the Destination point ..."
|
||||||
|
msgstr "MEASURING: Click on the Destination point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:328
|
||||||
|
msgid "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
||||||
|
msgstr "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
BIN
locale/ro/LC_MESSAGES/ToolMeasurement.mo
Normal file
BIN
locale/ro/LC_MESSAGES/ToolMeasurement.mo
Normal file
Binary file not shown.
92
locale/ro/LC_MESSAGES/ToolMeasurement.po
Normal file
92
locale/ro/LC_MESSAGES/ToolMeasurement.po
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"POT-Creation-Date: 2019-03-07 23:14+0200\n"
|
||||||
|
"PO-Revision-Date: 2019-03-07 23:39+0200\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
"X-Generator: Poedit 2.2.1\n"
|
||||||
|
"Last-Translator: \n"
|
||||||
|
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n==0 || (n!=1 && n%100>=1 && n%100<=19) ? 1 : 2);\n"
|
||||||
|
"Language: ro\n"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:28
|
||||||
|
msgid "Measurement"
|
||||||
|
msgstr "Măsurare"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
msgid "Start"
|
||||||
|
msgstr "Plecare"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Coords"
|
||||||
|
msgstr "Coordonatele"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:50
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:101
|
||||||
|
msgid "This is measuring Start point coordinates."
|
||||||
|
msgstr "Aceasta măsoară coordonatele punctului de start."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Stop"
|
||||||
|
msgstr "Oprire"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:53
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:106
|
||||||
|
msgid "This is the measuring Stop point coordinates."
|
||||||
|
msgstr "Acesta masoara coordonatele punctului de stop."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:56
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:111
|
||||||
|
msgid "This is the distance measured over the X axis."
|
||||||
|
msgstr "Aceasta este distanța măsurată pe axa X."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:59
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:117
|
||||||
|
msgid "This is the distance measured over the Y axis."
|
||||||
|
msgstr "Aceasta este distanța măsurată pe axa Y."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:61
|
||||||
|
msgid "DISTANCE"
|
||||||
|
msgstr "DISTANTA"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:62
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:123
|
||||||
|
msgid "This is the point to point Euclidian distance."
|
||||||
|
msgstr "Aceata este distanta Euclidiana de la punct la punct."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:65
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:72
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:79
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:86
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:93
|
||||||
|
msgid "Those are the units in which the distance is measured."
|
||||||
|
msgstr "Aestea sunt unitatile in care se masoara distanta."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:126
|
||||||
|
msgid "Measure"
|
||||||
|
msgstr "Masoara"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:185
|
||||||
|
msgid "Meas. Tool"
|
||||||
|
msgstr "Unealta de masurare"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:278
|
||||||
|
msgid "MEASURING: Click on the Start point ..."
|
||||||
|
msgstr "Masurare: Click pe punctul de Start ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:307
|
||||||
|
msgid "MEASURING: Click on the Destination point ..."
|
||||||
|
msgstr "Masurare: Click pe punctul Destinatie ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:328
|
||||||
|
msgid "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
||||||
|
msgstr "Masurare: Rezultat D(x) = %.4f | D(y) = %.4f | Distanta = %.4f"
|
BIN
locale/ru/LC_MESSAGES/ToolMeasurement.mo
Normal file
BIN
locale/ru/LC_MESSAGES/ToolMeasurement.mo
Normal file
Binary file not shown.
92
locale/ru/LC_MESSAGES/ToolMeasurement.po
Normal file
92
locale/ru/LC_MESSAGES/ToolMeasurement.po
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR ORGANIZATION
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: \n"
|
||||||
|
"POT-Creation-Date: 2019-03-07 23:07+0200\n"
|
||||||
|
"PO-Revision-Date: 2019-03-07 23:19+0200\n"
|
||||||
|
"Language-Team: \n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: pygettext.py 1.5\n"
|
||||||
|
"X-Generator: Poedit 2.2.1\n"
|
||||||
|
"Last-Translator: \n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"Language: en\n"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:28
|
||||||
|
msgid "Measurement"
|
||||||
|
msgstr "Measurement"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
msgid "Start"
|
||||||
|
msgstr "Start"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:49
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Coords"
|
||||||
|
msgstr "Coords"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:50
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:101
|
||||||
|
msgid "This is measuring Start point coordinates."
|
||||||
|
msgstr "This is measuring Start point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:52
|
||||||
|
msgid "Stop"
|
||||||
|
msgstr "Stop"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:53
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:106
|
||||||
|
msgid "This is the measuring Stop point coordinates."
|
||||||
|
msgstr "This is the measuring Stop point coordinates."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:56
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:111
|
||||||
|
msgid "This is the distance measured over the X axis."
|
||||||
|
msgstr "This is the distance measured over the X axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:59
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:117
|
||||||
|
msgid "This is the distance measured over the Y axis."
|
||||||
|
msgstr "This is the distance measured over the Y axis."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:61
|
||||||
|
msgid "DISTANCE"
|
||||||
|
msgstr "DISTANCE"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:62
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:123
|
||||||
|
msgid "This is the point to point Euclidian distance."
|
||||||
|
msgstr "This is the point to point Euclidian distance."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:65
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:72
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:79
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:86
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:93
|
||||||
|
msgid "Those are the units in which the distance is measured."
|
||||||
|
msgstr "Those are the units in which the distance is measured."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:126
|
||||||
|
msgid "Measure"
|
||||||
|
msgstr "Measure"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:185
|
||||||
|
msgid "Meas. Tool"
|
||||||
|
msgstr "Meas. Tool"
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:278
|
||||||
|
msgid "MEASURING: Click on the Start point ..."
|
||||||
|
msgstr "MEASURING: Click on the Start point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:307
|
||||||
|
msgid "MEASURING: Click on the Destination point ..."
|
||||||
|
msgstr "MEASURING: Click on the Destination point ..."
|
||||||
|
|
||||||
|
#: D:\1.DEV\FlatCAM_beta\flatcamTools\ToolMeasurement.py:328
|
||||||
|
msgid "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
||||||
|
msgstr "MEASURING: Result D(x) = %.4f | D(y) = %.4f | Distance = %.4f"
|
Loading…
Reference in New Issue
Block a user