From 574184f44cf5eb1e3480c250db33e07dbd565482 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Fri, 8 Mar 2019 01:32:18 +0200 Subject: [PATCH] - 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). --- FlatCAMApp.py | 62 +++++++-------- FlatCAMEditor.py | 4 + FlatCAMGUI.py | 4 + FlatCAMObj.py | 8 +- FlatCAMTranslation.py | 92 +++++++++++++++++++++-- ObjectCollection.py | 4 + ObjectUI.py | 4 + README.md | 4 +- camlib.py | 38 +++++++++- flatcamTools/ToolCalculators.py | 6 +- flatcamTools/ToolCutOut.py | 6 +- flatcamTools/ToolDblSided.py | 6 +- flatcamTools/ToolFilm.py | 7 +- flatcamTools/ToolImage.py | 7 +- flatcamTools/ToolMeasurement.py | 15 +++- flatcamTools/ToolMove.py | 6 +- flatcamTools/ToolNonCopperClear.py | 6 +- flatcamTools/ToolPaint.py | 7 +- flatcamTools/ToolPanelize.py | 6 +- flatcamTools/ToolProperties.py | 6 +- flatcamTools/ToolShell.py | 6 +- flatcamTools/ToolSolderPaste.py | 6 +- flatcamTools/ToolTransform.py | 6 +- locale/__init__.py | 1 - locale/de/LC_MESSAGES/ToolMeasurement.mo | Bin 0 -> 1715 bytes locale/de/LC_MESSAGES/ToolMeasurement.po | 92 +++++++++++++++++++++++ locale/en/LC_MESSAGES/ToolMeasurement.mo | Bin 0 -> 1715 bytes locale/en/LC_MESSAGES/ToolMeasurement.po | 92 +++++++++++++++++++++++ locale/es/LC_MESSAGES/ToolMeasurement.mo | Bin 0 -> 1715 bytes locale/es/LC_MESSAGES/ToolMeasurement.po | 92 +++++++++++++++++++++++ locale/fr/LC_MESSAGES/ToolMeasurement.mo | Bin 0 -> 1715 bytes locale/fr/LC_MESSAGES/ToolMeasurement.po | 92 +++++++++++++++++++++++ locale/it/LC_MESSAGES/ToolMeasurement.mo | Bin 0 -> 1715 bytes locale/it/LC_MESSAGES/ToolMeasurement.po | 92 +++++++++++++++++++++++ locale/ro/LC_MESSAGES/ToolMeasurement.mo | Bin 0 -> 1787 bytes locale/ro/LC_MESSAGES/ToolMeasurement.po | 92 +++++++++++++++++++++++ locale/ru/LC_MESSAGES/ToolMeasurement.mo | Bin 0 -> 1715 bytes locale/ru/LC_MESSAGES/ToolMeasurement.po | 92 +++++++++++++++++++++++ 38 files changed, 871 insertions(+), 90 deletions(-) delete mode 100644 locale/__init__.py create mode 100644 locale/de/LC_MESSAGES/ToolMeasurement.mo create mode 100644 locale/de/LC_MESSAGES/ToolMeasurement.po create mode 100644 locale/en/LC_MESSAGES/ToolMeasurement.mo create mode 100644 locale/en/LC_MESSAGES/ToolMeasurement.po create mode 100644 locale/es/LC_MESSAGES/ToolMeasurement.mo create mode 100644 locale/es/LC_MESSAGES/ToolMeasurement.po create mode 100644 locale/fr/LC_MESSAGES/ToolMeasurement.mo create mode 100644 locale/fr/LC_MESSAGES/ToolMeasurement.po create mode 100644 locale/it/LC_MESSAGES/ToolMeasurement.mo create mode 100644 locale/it/LC_MESSAGES/ToolMeasurement.po create mode 100644 locale/ro/LC_MESSAGES/ToolMeasurement.mo create mode 100644 locale/ro/LC_MESSAGES/ToolMeasurement.po create mode 100644 locale/ru/LC_MESSAGES/ToolMeasurement.mo create mode 100644 locale/ru/LC_MESSAGES/ToolMeasurement.po diff --git a/FlatCAMApp.py b/FlatCAMApp.py index e3687e0e..b903c3ee 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -45,7 +45,7 @@ from PlotCanvas import * from FlatCAMGUI import * from FlatCAMCommon import LoudDict from FlatCAMPostProc import load_postprocessors -from FlatCAMTranslation import * +import FlatCAMTranslation as fcTranslate from FlatCAMEditor import FlatCAMGeoEditor, FlatCAMExcEditor from FlatCAMProcess import * @@ -563,7 +563,7 @@ class App(QtCore.QObject): #### LOAD LANGUAGES #### ############################# - self.languages = load_languages(self) + self.languages = fcTranslate.load_languages() for name in list(self.languages.keys()): 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 ### + ############################### + if user_defaults: self.load_defaults(filename='current_defaults') ############################ ##### APPLY APP LANGUAGE ### - ########################### + ############################ - # apply the default language - self.on_language_apply() + ret_val = fcTranslate.apply_language('FlatCAMApp') + + 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' 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 ### ############################### 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) ############################### @@ -3267,31 +3283,6 @@ class App(QtCore.QObject): self.ui.general_defaults_form.general_app_group.units_radio.set_value("MM") 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): self.report_usage("on_fullscreen()") @@ -4941,8 +4932,13 @@ class App(QtCore.QObject): self.collection.set_all_inactive() # delete the possible selection box around a possible selected object self.delete_selection_shape() - # and as a convenience move the focus to the Project tab because Selected tab is now empty - self.ui.notebook.setCurrentWidget(self.ui.project_tab) + # 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) + else: + self.call_source = 'app' # delete any text in the status bar, implicitly the last object name that was selected self.inform.emit("") diff --git a/FlatCAMEditor.py b/FlatCAMEditor.py index c9ff97a3..dc1b75ce 100644 --- a/FlatCAMEditor.py +++ b/FlatCAMEditor.py @@ -33,6 +33,10 @@ from vispy.scene.visuals import Markers from copy import copy import freetype as ft +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('FlatCAMEditor') + class BufferSelectionTool(FlatCAMTool): """ diff --git a/FlatCAMGUI.py b/FlatCAMGUI.py index b8c7d296..d012f4c8 100644 --- a/FlatCAMGUI.py +++ b/FlatCAMGUI.py @@ -14,6 +14,10 @@ import webbrowser from FlatCAMEditor import FCShapeTool +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('FlatCAMGui') + class FlatCAMGUI(QtWidgets.QMainWindow): # Emitted when persistent window geometry needs to be retained diff --git a/FlatCAMObj.py b/FlatCAMObj.py index b97204b5..2a4e028b 100644 --- a/FlatCAMObj.py +++ b/FlatCAMObj.py @@ -22,9 +22,13 @@ from camlib import * from VisPyVisuals import ShapeCollectionVisual import itertools +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('FlatCAMObj') + -# Interrupts plotting process if FlatCAMObj has been deleted class ObjectDeleted(Exception): + # Interrupts plotting process if FlatCAMObj has been deleted pass @@ -37,6 +41,8 @@ class ValidationError(Exception): ######################################## ## FlatCAMObj ## ######################################## + + class FlatCAMObj(QtCore.QObject): """ Base type of objects handled in FlatCAM. These become interactive diff --git a/FlatCAMTranslation.py b/FlatCAMTranslation.py index f3310236..042206fc 100644 --- a/FlatCAMTranslation.py +++ b/FlatCAMTranslation.py @@ -1,11 +1,16 @@ import os -from datetime import datetime +import sys + +from PyQt5 import QtWidgets, QtGui +from PyQt5.QtCore import QSettings 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 languages_dict = { + 'zh': 'Chinese', 'de': 'German', 'en': 'English', 'es': 'Spanish', @@ -13,7 +18,6 @@ languages_dict = { 'it': 'Italian', 'ro': 'Romanian', 'ru': 'Russian', - 'zh': 'Chinese', } translations = {} @@ -21,8 +25,8 @@ translations = {} languages_path_search = '' -def load_languages(app): - languages_path_search = os.path.join('locale') +def load_languages(): + languages_path_search = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'locale') available_translations = next(os.walk(languages_path_search))[1] @@ -35,5 +39,79 @@ def load_languages(app): return translations -def languages_dir(app): - return os.path.join('locale') +def languages_dir(): + 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) + + diff --git a/ObjectCollection.py b/ObjectCollection.py index e63025ec..b3182cdb 100644 --- a/ObjectCollection.py +++ b/ObjectCollection.py @@ -14,6 +14,10 @@ from PyQt5 import QtGui, QtCore, QtWidgets from PyQt5.QtCore import Qt # import webbrowser +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ObjectCollection') + class KeySensitiveListView(QtWidgets.QTreeView): """ diff --git a/ObjectUI.py b/ObjectUI.py index 50e98441..0c2e05d0 100644 --- a/ObjectUI.py +++ b/ObjectUI.py @@ -5,6 +5,10 @@ from GUIElements import FCEntry, FloatEntry, EvalEntry, FCCheckBox, FCTable, \ LengthEntry, FCTextArea, IntEntry, RadioSet, OptionalInputSection, FCComboBox, FloatEntry2, EvalEntry2, FCButton from camlib import Excellon +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ObjectUI') + class ObjectUI(QtWidgets.QWidget): """ diff --git a/README.md b/README.md index 3bc210e5..b8f17244 100644 --- a/README.md +++ b/README.md @@ -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 - starting to work in internationalization using gettext() - 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 diff --git a/camlib.py b/camlib.py index ac0b2762..7bee87d7 100644 --- a/camlib.py +++ b/camlib.py @@ -5340,7 +5340,7 @@ class CNCjob(Geometry): self.f_plunge = self.app.defaults["geometry_f_plunge"] 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.") return 'fail' @@ -5354,6 +5354,23 @@ class CNCjob(Geometry): elif self.z_cut == 0: self.app.inform.emit("[WARNING] The Cut Z parameter is zero. " "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 # What points to index. @@ -5594,7 +5611,7 @@ class CNCjob(Geometry): self.f_plunge = self.app.defaults["geometry_f_plunge"] 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.") return 'fail' @@ -5608,6 +5625,23 @@ class CNCjob(Geometry): elif self.z_cut == 0: self.app.inform.emit("[WARNING] The Cut Z parameter is zero. " "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 # What points to index. diff --git a/flatcamTools/ToolCalculators.py b/flatcamTools/ToolCalculators.py index 75fa0b19..6294a0f6 100644 --- a/flatcamTools/ToolCalculators.py +++ b/flatcamTools/ToolCalculators.py @@ -3,10 +3,10 @@ from GUIElements import FCEntry from FlatCAMTool import FlatCAMTool from FlatCAMObj import * import math -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolCalculators') class ToolCalculator(FlatCAMTool): diff --git a/flatcamTools/ToolCutOut.py b/flatcamTools/ToolCutOut.py index 44e06a82..903950cd 100644 --- a/flatcamTools/ToolCutOut.py +++ b/flatcamTools/ToolCutOut.py @@ -2,10 +2,10 @@ from FlatCAMTool import FlatCAMTool from ObjectCollection import * from FlatCAMApp import * from shapely.geometry import box -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolCutOut') class CutOut(FlatCAMTool): diff --git a/flatcamTools/ToolDblSided.py b/flatcamTools/ToolDblSided.py index 9bfc1e22..3e00ffae 100644 --- a/flatcamTools/ToolDblSided.py +++ b/flatcamTools/ToolDblSided.py @@ -5,10 +5,10 @@ from FlatCAMObj import * from shapely.geometry import Point from shapely import affinity from PyQt5 import QtCore -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolDblSided') class DblSidedTool(FlatCAMTool): diff --git a/flatcamTools/ToolFilm.py b/flatcamTools/ToolFilm.py index 3be75efb..80c77c75 100644 --- a/flatcamTools/ToolFilm.py +++ b/flatcamTools/ToolFilm.py @@ -2,11 +2,10 @@ from FlatCAMTool import FlatCAMTool from GUIElements import RadioSet, FCEntry from PyQt5 import QtGui, QtCore, QtWidgets + import gettext - -def _(text): - return text - +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolFilm') class Film(FlatCAMTool): diff --git a/flatcamTools/ToolImage.py b/flatcamTools/ToolImage.py index f1993a94..a71ab59a 100644 --- a/flatcamTools/ToolImage.py +++ b/flatcamTools/ToolImage.py @@ -2,11 +2,10 @@ from FlatCAMTool import FlatCAMTool from GUIElements import RadioSet, FloatEntry, FCComboBox, IntEntry from PyQt5 import QtGui, QtCore, QtWidgets + import gettext - -def _(text): - return text - +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolImage') class ToolImage(FlatCAMTool): diff --git a/flatcamTools/ToolMeasurement.py b/flatcamTools/ToolMeasurement.py index e84abac1..caad61c1 100644 --- a/flatcamTools/ToolMeasurement.py +++ b/flatcamTools/ToolMeasurement.py @@ -1,13 +1,15 @@ from FlatCAMTool import FlatCAMTool from FlatCAMObj import * from VisPyVisuals import * +from PyQt5.QtCore import QSettings from copy import copy from math import sqrt -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolMeasurement') + class Measurement(FlatCAMTool): @@ -160,6 +162,11 @@ class Measurement(FlatCAMTool): if self.app.tool_tab_locked is True: 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.set_tool_ui() @@ -185,6 +192,7 @@ class Measurement(FlatCAMTool): if self.active is True: # DISABLE the Measuring TOOL self.active = False + # 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_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('mouse_release', self.app.exc_editor.on_canvas_click_release) + self.app.call_source = 'measurement' self.clicked_meas = 0 self.app.command_active = None # delete the measuring line diff --git a/flatcamTools/ToolMove.py b/flatcamTools/ToolMove.py index 00acb241..321f213c 100644 --- a/flatcamTools/ToolMove.py +++ b/flatcamTools/ToolMove.py @@ -4,10 +4,10 @@ from VisPyVisuals import * from io import StringIO from copy import copy -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolMove') class ToolMove(FlatCAMTool): diff --git a/flatcamTools/ToolNonCopperClear.py b/flatcamTools/ToolNonCopperClear.py index 28bf8874..26135fc3 100644 --- a/flatcamTools/ToolNonCopperClear.py +++ b/flatcamTools/ToolNonCopperClear.py @@ -2,10 +2,10 @@ from FlatCAMTool import FlatCAMTool from copy import copy,deepcopy from ObjectCollection import * import time -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolNonCopperClear') class NonCopperClear(FlatCAMTool, Gerber): diff --git a/flatcamTools/ToolPaint.py b/flatcamTools/ToolPaint.py index 8fcbef97..53170a09 100644 --- a/flatcamTools/ToolPaint.py +++ b/flatcamTools/ToolPaint.py @@ -1,11 +1,10 @@ from FlatCAMTool import FlatCAMTool from copy import copy,deepcopy from ObjectCollection import * + import gettext - -def _(text): - return text - +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolPaint') class ToolPaint(FlatCAMTool, Gerber): diff --git a/flatcamTools/ToolPanelize.py b/flatcamTools/ToolPanelize.py index 44cc125f..ac847307 100644 --- a/flatcamTools/ToolPanelize.py +++ b/flatcamTools/ToolPanelize.py @@ -2,10 +2,10 @@ from FlatCAMTool import FlatCAMTool from copy import copy, deepcopy from ObjectCollection import * import time -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolPanelize') class Panelize(FlatCAMTool): diff --git a/flatcamTools/ToolProperties.py b/flatcamTools/ToolProperties.py index 2502ddb0..d76ed14c 100644 --- a/flatcamTools/ToolProperties.py +++ b/flatcamTools/ToolProperties.py @@ -2,10 +2,10 @@ from PyQt5 import QtGui, QtCore, QtWidgets from PyQt5.QtCore import Qt from FlatCAMTool import FlatCAMTool from FlatCAMObj import * -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolProperties') class Properties(FlatCAMTool): diff --git a/flatcamTools/ToolShell.py b/flatcamTools/ToolShell.py index 937a997c..6ce45006 100644 --- a/flatcamTools/ToolShell.py +++ b/flatcamTools/ToolShell.py @@ -12,10 +12,10 @@ from PyQt5.QtGui import QTextCursor from PyQt5.QtWidgets import QVBoxLayout, QWidget from GUIElements import _BrowserTextEdit, _ExpandableTextEdit import html -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolShell') class TermWidget(QWidget): diff --git a/flatcamTools/ToolSolderPaste.py b/flatcamTools/ToolSolderPaste.py index dc178052..4b6c4f31 100644 --- a/flatcamTools/ToolSolderPaste.py +++ b/flatcamTools/ToolSolderPaste.py @@ -16,10 +16,10 @@ from shapely.ops import cascaded_union import traceback from io import StringIO -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolSolderPaste') class SolderPaste(FlatCAMTool): diff --git a/flatcamTools/ToolTransform.py b/flatcamTools/ToolTransform.py index 889da5f4..3364c531 100644 --- a/flatcamTools/ToolTransform.py +++ b/flatcamTools/ToolTransform.py @@ -3,10 +3,10 @@ from PyQt5.QtCore import Qt from GUIElements import FCEntry, FCButton, OptionalInputSection from FlatCAMTool import FlatCAMTool from FlatCAMObj import * -import gettext -def _(text): - return text +import gettext +import FlatCAMTranslation as fcTranslate +fcTranslate.apply_language('ToolTransform') class ToolTransform(FlatCAMTool): diff --git a/locale/__init__.py b/locale/__init__.py deleted file mode 100644 index fc80254b..00000000 --- a/locale/__init__.py +++ /dev/null @@ -1 +0,0 @@ -pass \ No newline at end of file diff --git a/locale/de/LC_MESSAGES/ToolMeasurement.mo b/locale/de/LC_MESSAGES/ToolMeasurement.mo new file mode 100644 index 0000000000000000000000000000000000000000..4504f62053a31adbf6e7565094685faf98ae7cdb GIT binary patch literal 1715 zcmeH`&u-H|5XKFZ0_Hy#E=Vi~L<_8OQlPD?NR%Y4Dm5iaQYgp8-X;squ4Ql9MyiCw z3B&~sAaUmfcmz&xnpa;g{ea;TPdI z4`G141joTw;BoK`$iWZbHSh~q0)K%n$PYWtF>nSv3El&bg3I6-*Z{ACk3bK6G2|zZ z^8Oso&m3`_yO@{2CURSlbbLh;((w(X`0pU;7)KG(;en(h21&;zNIIT_c%0W5NXJ`{ zbi4;i$LAq`gOv9&iqU!vBpurzWH^xLoPm>39nx|Nei}}7$f)iK_&GRfhV zBMoFIH?XoXX_PsYrDkh>rCfDt)%oUXV`*hEVC7ha&zRB7b|kCF%qlIc!aOlbTjqJ* zfzeGXQoDa#LuS3$vdYBPBrCD2-tBd^jah&1Ol4N+P!7L4H7PQWwTy}L*Ip`j*p=Ek zc`=M8aatXfF+5%D=%q@x*d2)Zd3c-Y0yo z7?TW7eJktE$@l8IF23VT{vG_BcYM}?hyY1Gf?C}iY0_0&9- zq2)^ve<;%oHyJRu{-DLnsmw2yS8y}|EBb|5?oV-lniZ!4fBJ@B^nC>KhTKrJZQr=U z>>zGg=yp%EC2vX5MSCjFe?X zujm!rWs#veWsQZUuWmi=r6T4FChcYc(@8$fO2s)gcr8t6cBRA$lXKWS=r3SWyUzdL J=b!m~{s2zP&GG;M literal 0 HcmV?d00001 diff --git a/locale/de/LC_MESSAGES/ToolMeasurement.po b/locale/de/LC_MESSAGES/ToolMeasurement.po new file mode 100644 index 00000000..1b39297a --- /dev/null +++ b/locale/de/LC_MESSAGES/ToolMeasurement.po @@ -0,0 +1,92 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , 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" diff --git a/locale/en/LC_MESSAGES/ToolMeasurement.mo b/locale/en/LC_MESSAGES/ToolMeasurement.mo new file mode 100644 index 0000000000000000000000000000000000000000..4504f62053a31adbf6e7565094685faf98ae7cdb GIT binary patch literal 1715 zcmeH`&u-H|5XKFZ0_Hy#E=Vi~L<_8OQlPD?NR%Y4Dm5iaQYgp8-X;squ4Ql9MyiCw z3B&~sAaUmfcmz&xnpa;g{ea;TPdI z4`G141joTw;BoK`$iWZbHSh~q0)K%n$PYWtF>nSv3El&bg3I6-*Z{ACk3bK6G2|zZ z^8Oso&m3`_yO@{2CURSlbbLh;((w(X`0pU;7)KG(;en(h21&;zNIIT_c%0W5NXJ`{ zbi4;i$LAq`gOv9&iqU!vBpurzWH^xLoPm>39nx|Nei}}7$f)iK_&GRfhV zBMoFIH?XoXX_PsYrDkh>rCfDt)%oUXV`*hEVC7ha&zRB7b|kCF%qlIc!aOlbTjqJ* zfzeGXQoDa#LuS3$vdYBPBrCD2-tBd^jah&1Ol4N+P!7L4H7PQWwTy}L*Ip`j*p=Ek zc`=M8aatXfF+5%D=%q@x*d2)Zd3c-Y0yo z7?TW7eJktE$@l8IF23VT{vG_BcYM}?hyY1Gf?C}iY0_0&9- zq2)^ve<;%oHyJRu{-DLnsmw2yS8y}|EBb|5?oV-lniZ!4fBJ@B^nC>KhTKrJZQr=U z>>zGg=yp%EC2vX5MSCjFe?X zujm!rWs#veWsQZUuWmi=r6T4FChcYc(@8$fO2s)gcr8t6cBRA$lXKWS=r3SWyUzdL J=b!m~{s2zP&GG;M literal 0 HcmV?d00001 diff --git a/locale/en/LC_MESSAGES/ToolMeasurement.po b/locale/en/LC_MESSAGES/ToolMeasurement.po new file mode 100644 index 00000000..1b39297a --- /dev/null +++ b/locale/en/LC_MESSAGES/ToolMeasurement.po @@ -0,0 +1,92 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , 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" diff --git a/locale/es/LC_MESSAGES/ToolMeasurement.mo b/locale/es/LC_MESSAGES/ToolMeasurement.mo new file mode 100644 index 0000000000000000000000000000000000000000..4504f62053a31adbf6e7565094685faf98ae7cdb GIT binary patch literal 1715 zcmeH`&u-H|5XKFZ0_Hy#E=Vi~L<_8OQlPD?NR%Y4Dm5iaQYgp8-X;squ4Ql9MyiCw z3B&~sAaUmfcmz&xnpa;g{ea;TPdI z4`G141joTw;BoK`$iWZbHSh~q0)K%n$PYWtF>nSv3El&bg3I6-*Z{ACk3bK6G2|zZ z^8Oso&m3`_yO@{2CURSlbbLh;((w(X`0pU;7)KG(;en(h21&;zNIIT_c%0W5NXJ`{ zbi4;i$LAq`gOv9&iqU!vBpurzWH^xLoPm>39nx|Nei}}7$f)iK_&GRfhV zBMoFIH?XoXX_PsYrDkh>rCfDt)%oUXV`*hEVC7ha&zRB7b|kCF%qlIc!aOlbTjqJ* zfzeGXQoDa#LuS3$vdYBPBrCD2-tBd^jah&1Ol4N+P!7L4H7PQWwTy}L*Ip`j*p=Ek zc`=M8aatXfF+5%D=%q@x*d2)Zd3c-Y0yo z7?TW7eJktE$@l8IF23VT{vG_BcYM}?hyY1Gf?C}iY0_0&9- zq2)^ve<;%oHyJRu{-DLnsmw2yS8y}|EBb|5?oV-lniZ!4fBJ@B^nC>KhTKrJZQr=U z>>zGg=yp%EC2vX5MSCjFe?X zujm!rWs#veWsQZUuWmi=r6T4FChcYc(@8$fO2s)gcr8t6cBRA$lXKWS=r3SWyUzdL J=b!m~{s2zP&GG;M literal 0 HcmV?d00001 diff --git a/locale/es/LC_MESSAGES/ToolMeasurement.po b/locale/es/LC_MESSAGES/ToolMeasurement.po new file mode 100644 index 00000000..1b39297a --- /dev/null +++ b/locale/es/LC_MESSAGES/ToolMeasurement.po @@ -0,0 +1,92 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , 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" diff --git a/locale/fr/LC_MESSAGES/ToolMeasurement.mo b/locale/fr/LC_MESSAGES/ToolMeasurement.mo new file mode 100644 index 0000000000000000000000000000000000000000..4504f62053a31adbf6e7565094685faf98ae7cdb GIT binary patch literal 1715 zcmeH`&u-H|5XKFZ0_Hy#E=Vi~L<_8OQlPD?NR%Y4Dm5iaQYgp8-X;squ4Ql9MyiCw z3B&~sAaUmfcmz&xnpa;g{ea;TPdI z4`G141joTw;BoK`$iWZbHSh~q0)K%n$PYWtF>nSv3El&bg3I6-*Z{ACk3bK6G2|zZ z^8Oso&m3`_yO@{2CURSlbbLh;((w(X`0pU;7)KG(;en(h21&;zNIIT_c%0W5NXJ`{ zbi4;i$LAq`gOv9&iqU!vBpurzWH^xLoPm>39nx|Nei}}7$f)iK_&GRfhV zBMoFIH?XoXX_PsYrDkh>rCfDt)%oUXV`*hEVC7ha&zRB7b|kCF%qlIc!aOlbTjqJ* zfzeGXQoDa#LuS3$vdYBPBrCD2-tBd^jah&1Ol4N+P!7L4H7PQWwTy}L*Ip`j*p=Ek zc`=M8aatXfF+5%D=%q@x*d2)Zd3c-Y0yo z7?TW7eJktE$@l8IF23VT{vG_BcYM}?hyY1Gf?C}iY0_0&9- zq2)^ve<;%oHyJRu{-DLnsmw2yS8y}|EBb|5?oV-lniZ!4fBJ@B^nC>KhTKrJZQr=U z>>zGg=yp%EC2vX5MSCjFe?X zujm!rWs#veWsQZUuWmi=r6T4FChcYc(@8$fO2s)gcr8t6cBRA$lXKWS=r3SWyUzdL J=b!m~{s2zP&GG;M literal 0 HcmV?d00001 diff --git a/locale/fr/LC_MESSAGES/ToolMeasurement.po b/locale/fr/LC_MESSAGES/ToolMeasurement.po new file mode 100644 index 00000000..1b39297a --- /dev/null +++ b/locale/fr/LC_MESSAGES/ToolMeasurement.po @@ -0,0 +1,92 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , 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" diff --git a/locale/it/LC_MESSAGES/ToolMeasurement.mo b/locale/it/LC_MESSAGES/ToolMeasurement.mo new file mode 100644 index 0000000000000000000000000000000000000000..4504f62053a31adbf6e7565094685faf98ae7cdb GIT binary patch literal 1715 zcmeH`&u-H|5XKFZ0_Hy#E=Vi~L<_8OQlPD?NR%Y4Dm5iaQYgp8-X;squ4Ql9MyiCw z3B&~sAaUmfcmz&xnpa;g{ea;TPdI z4`G141joTw;BoK`$iWZbHSh~q0)K%n$PYWtF>nSv3El&bg3I6-*Z{ACk3bK6G2|zZ z^8Oso&m3`_yO@{2CURSlbbLh;((w(X`0pU;7)KG(;en(h21&;zNIIT_c%0W5NXJ`{ zbi4;i$LAq`gOv9&iqU!vBpurzWH^xLoPm>39nx|Nei}}7$f)iK_&GRfhV zBMoFIH?XoXX_PsYrDkh>rCfDt)%oUXV`*hEVC7ha&zRB7b|kCF%qlIc!aOlbTjqJ* zfzeGXQoDa#LuS3$vdYBPBrCD2-tBd^jah&1Ol4N+P!7L4H7PQWwTy}L*Ip`j*p=Ek zc`=M8aatXfF+5%D=%q@x*d2)Zd3c-Y0yo z7?TW7eJktE$@l8IF23VT{vG_BcYM}?hyY1Gf?C}iY0_0&9- zq2)^ve<;%oHyJRu{-DLnsmw2yS8y}|EBb|5?oV-lniZ!4fBJ@B^nC>KhTKrJZQr=U z>>zGg=yp%EC2vX5MSCjFe?X zujm!rWs#veWsQZUuWmi=r6T4FChcYc(@8$fO2s)gcr8t6cBRA$lXKWS=r3SWyUzdL J=b!m~{s2zP&GG;M literal 0 HcmV?d00001 diff --git a/locale/it/LC_MESSAGES/ToolMeasurement.po b/locale/it/LC_MESSAGES/ToolMeasurement.po new file mode 100644 index 00000000..1b39297a --- /dev/null +++ b/locale/it/LC_MESSAGES/ToolMeasurement.po @@ -0,0 +1,92 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , 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" diff --git a/locale/ro/LC_MESSAGES/ToolMeasurement.mo b/locale/ro/LC_MESSAGES/ToolMeasurement.mo new file mode 100644 index 0000000000000000000000000000000000000000..8f591bb17eaf108fe2c2500658cc3a290cdeacfd GIT binary patch literal 1787 zcmb7^&vV;E6vr1RKk7n(a^S+@acD^>60+0MM5zkFaXXobTaV*FdR(NfEs%FLt5u1a zoah0#G0bpaIKn@`i6fWJP>$RmGryAz)9O$K=8JvKRLC0w(9n zgU{tNU&6#T0qfOx5#L;A9$X6^IKCcTV{B50?VY{R*6nUj^m|)-`@@~vw?gV>Y5WNp zO>UxSTNN(V(xq7ECe@C7-#=Bo=cIKf>xQZ*Ge_GihpQCPMgPh@I>KtUyh;lvb*!4- zMPJFnr;#yPby-?9=TvDYs>ASYaxt2u1>rNrj?$)jOv_GU&Xto;g};z;a>@L_dY?+j z+*h{B`+($O`uOs@C&-u0n7paVsb1>hI@9QSWt^o+D)qu7TQ`LwX;tO0)Tu+#nm(PR z@ua%7$Y)UsmH1*{&BrQs-cI6uplpFB8B%L-XXJIQsvfMjjnahF3ECT8u;vBVsIwNf zuUrl~K>(pQRQFTfcA{==qt@+8Juc-~c_SsKIH14N?;W4l_JdZ}Xou(Kjb=GcbL!B& zoo6!Dn-ou^EtHG)M>oCoW1W?{xTmbw)3L$x8;7+1QR-T^lvWmw6Yu?5Ncn8690&9B z8MXbZtpl$S7#q^Ss3djN@jHIIwJQsp&QUYz_}A7TE3M4Do5oIykaS)xi)d|=>dR9LnS>42ebxlIDrX{MDGyEE6 zs%gB@mgw^vi)T9TyIfIT>e!Xpaqp?R=}uQBs(In7=3MB8>NE75e4MUxa^7|OT1jjo z#GE#f*rbtGivGg~wOcXBR1DYRPHt0RD@NyG(-ZhPe8~k?i|(t+kjXj$nqOcS>m?N> b{t&ql(MOr$X5^v}x)i13iZ$Kqq%Zyjr)24^ literal 0 HcmV?d00001 diff --git a/locale/ro/LC_MESSAGES/ToolMeasurement.po b/locale/ro/LC_MESSAGES/ToolMeasurement.po new file mode 100644 index 00000000..51e33de9 --- /dev/null +++ b/locale/ro/LC_MESSAGES/ToolMeasurement.po @@ -0,0 +1,92 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , 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" diff --git a/locale/ru/LC_MESSAGES/ToolMeasurement.mo b/locale/ru/LC_MESSAGES/ToolMeasurement.mo new file mode 100644 index 0000000000000000000000000000000000000000..4504f62053a31adbf6e7565094685faf98ae7cdb GIT binary patch literal 1715 zcmeH`&u-H|5XKFZ0_Hy#E=Vi~L<_8OQlPD?NR%Y4Dm5iaQYgp8-X;squ4Ql9MyiCw z3B&~sAaUmfcmz&xnpa;g{ea;TPdI z4`G141joTw;BoK`$iWZbHSh~q0)K%n$PYWtF>nSv3El&bg3I6-*Z{ACk3bK6G2|zZ z^8Oso&m3`_yO@{2CURSlbbLh;((w(X`0pU;7)KG(;en(h21&;zNIIT_c%0W5NXJ`{ zbi4;i$LAq`gOv9&iqU!vBpurzWH^xLoPm>39nx|Nei}}7$f)iK_&GRfhV zBMoFIH?XoXX_PsYrDkh>rCfDt)%oUXV`*hEVC7ha&zRB7b|kCF%qlIc!aOlbTjqJ* zfzeGXQoDa#LuS3$vdYBPBrCD2-tBd^jah&1Ol4N+P!7L4H7PQWwTy}L*Ip`j*p=Ek zc`=M8aatXfF+5%D=%q@x*d2)Zd3c-Y0yo z7?TW7eJktE$@l8IF23VT{vG_BcYM}?hyY1Gf?C}iY0_0&9- zq2)^ve<;%oHyJRu{-DLnsmw2yS8y}|EBb|5?oV-lniZ!4fBJ@B^nC>KhTKrJZQr=U z>>zGg=yp%EC2vX5MSCjFe?X zujm!rWs#veWsQZUuWmi=r6T4FChcYc(@8$fO2s)gcr8t6cBRA$lXKWS=r3SWyUzdL J=b!m~{s2zP&GG;M literal 0 HcmV?d00001 diff --git a/locale/ru/LC_MESSAGES/ToolMeasurement.po b/locale/ru/LC_MESSAGES/ToolMeasurement.po new file mode 100644 index 00000000..1b39297a --- /dev/null +++ b/locale/ru/LC_MESSAGES/ToolMeasurement.po @@ -0,0 +1,92 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , 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"