Просмотр исходного кода

Fix translate string,edit Russian translation.

camellan 6 лет назад
Родитель
Сommit
a196140942
3 измененных файлов с 247 добавлено и 230 удалено
  1. 10 10
      flatcamGUI/PreferencesUI.py
  2. BIN
      locale/ru/LC_MESSAGES/strings.mo
  3. 237 220
      locale/ru/LC_MESSAGES/strings.po

+ 10 - 10
flatcamGUI/PreferencesUI.py

@@ -323,7 +323,7 @@ class GeneralGUIPrefGroupUI(OptionsGroupUI):
 
         self.setTitle(str(_("GUI Preferences")))
         self.decimals = decimals
-        
+
         # Create a grid layout for the Application general settings
         grid0 = QtWidgets.QGridLayout()
         self.layout.addLayout(grid0)
@@ -1299,7 +1299,7 @@ class GeneralAPPSetGroupUI(OptionsGroupUI):
         grid0.addWidget(self.open_style_cb, 31, 0, 1, 2)
 
         # Enable/Disable ToolTips globally
-        self.toggle_tooltips_cb = FCCheckBox(label='Enable ToolTips')
+        self.toggle_tooltips_cb = FCCheckBox(label=_('Enable ToolTips'))
         self.toggle_tooltips_cb.setToolTip(
             _("Check this box if you want to have toolTips displayed\n"
               "when hovering with mouse over items throughout the App.")
@@ -1394,7 +1394,7 @@ class GeneralAppPrefGroupUI(OptionsGroupUI):
 
         self.setTitle(str(_("App Preferences")))
         self.decimals = decimals
-        
+
         # Create a form layout for the Application general settings
         grid0 = QtWidgets.QGridLayout()
         self.layout.addLayout(grid0)
@@ -1425,7 +1425,7 @@ class GeneralAppPrefGroupUI(OptionsGroupUI):
 
         grid0.addWidget(self.precision_metric_label, 1, 0)
         grid0.addWidget(self.precision_metric_entry, 1, 1)
-        
+
         # Precision Inch
         self.precision_inch_label = QtWidgets.QLabel('%s:' % _('Precision INCH'))
         self.precision_inch_label.setToolTip(
@@ -1439,7 +1439,7 @@ class GeneralAppPrefGroupUI(OptionsGroupUI):
 
         grid0.addWidget(self.precision_inch_label, 2, 0)
         grid0.addWidget(self.precision_inch_entry, 2, 1)
-        
+
         # Graphic Engine for FlatCAM
         self.ge_label = QtWidgets.QLabel('<b>%s:</b>' % _('Graphic Engine'))
         self.ge_label.setToolTip(_("Choose what graphic engine to use in FlatCAM.\n"
@@ -1757,7 +1757,7 @@ class GerberGenPrefGroupUI(OptionsGroupUI):
 
         self.setTitle(str(_("Gerber General")))
         self.decimals = decimals
-        
+
         # ## Plot options
         self.plot_options_label = QtWidgets.QLabel("<b>%s:</b>" % _("Plot Options"))
         self.layout.addWidget(self.plot_options_label)
@@ -2671,7 +2671,7 @@ class ExcellonGenPrefGroupUI(OptionsGroupUI):
 
         self.setTitle(str(_("Excellon General")))
         self.decimals = decimals
-        
+
         # Plot options
         self.plot_options_label = QtWidgets.QLabel("<b>%s:</b>" % _("Plot Options"))
         self.layout.addWidget(self.plot_options_label)
@@ -3047,7 +3047,7 @@ class ExcellonOptPrefGroupUI(OptionsGroupUI):
 
         self.setTitle(str(_("Excellon Options")))
         self.decimals = decimals
-        
+
         # ## Create CNC Job
         self.cncjob_label = QtWidgets.QLabel('<b>%s</b>' % _('Create CNC Job'))
         self.cncjob_label.setToolTip(
@@ -3265,7 +3265,7 @@ class ExcellonAdvOptPrefGroupUI(OptionsGroupUI):
 
         self.setTitle(str(_("Excellon Adv. Options")))
         self.decimals = decimals
-        
+
         # #######################
         # ## ADVANCED OPTIONS ###
         # #######################
@@ -3399,7 +3399,7 @@ class ExcellonExpPrefGroupUI(OptionsGroupUI):
 
         self.setTitle(str(_("Excellon Export")))
         self.decimals = decimals
-        
+
         # Plot options
         self.export_options_label = QtWidgets.QLabel("<b>%s:</b>" % _("Export Options"))
         self.export_options_label.setToolTip(

BIN
locale/ru/LC_MESSAGES/strings.mo


Разница между файлами не показана из-за своего большого размера
+ 237 - 220
locale/ru/LC_MESSAGES/strings.po


Некоторые файлы не были показаны из-за большого количества измененных файлов