supervertaler 1.9.187__py3-none-any.whl → 1.9.188__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of supervertaler might be problematic. Click here for more details.

Supervertaler.py CHANGED
@@ -32,7 +32,7 @@ License: MIT
32
32
  """
33
33
 
34
34
  # Version Information.
35
- __version__ = "1.9.187"
35
+ __version__ = "1.9.188"
36
36
  __phase__ = "0.9"
37
37
  __release_date__ = "2026-02-01"
38
38
  __edition__ = "Qt"
@@ -20353,7 +20353,7 @@ class SupervertalerQt(QMainWindow):
20353
20353
  sort_btn = QPushButton("⇅ Sort")
20354
20354
  sort_btn.setMaximumWidth(100)
20355
20355
  sort_btn.setStyleSheet("background-color: #FF9800; color: white; font-weight: bold;")
20356
- sort_menu = QMenu(sort_btn)
20356
+ sort_menu = QMenu(self)
20357
20357
 
20358
20358
  # Initialize sort state if not exists
20359
20359
  if not hasattr(self, 'current_sort'):
@@ -37697,8 +37697,18 @@ OUTPUT ONLY THE SEGMENT MARKERS. DO NOT ADD EXPLANATIONS BEFORE OR AFTER."""
37697
37697
  # If sort_type is None, restore document order
37698
37698
  if sort_type is None:
37699
37699
  self.current_project.segments = self._original_segment_order.copy()
37700
+
37701
+ # Set pagination to "All" to show all segments
37702
+ if hasattr(self, 'page_size_combo') and self._widget_is_alive(self.page_size_combo):
37703
+ self.page_size_combo.blockSignals(True)
37704
+ self.page_size_combo.setCurrentText("All")
37705
+ self.page_size_combo.blockSignals(False)
37706
+ # Update the internal page size variable
37707
+ if hasattr(self, 'grid_page_size'):
37708
+ self.grid_page_size = 999999
37709
+
37700
37710
  self.load_segments_to_grid()
37701
- self.log("↩️ Restored document order")
37711
+ self.log("↩️ Restored document order (showing all segments)")
37702
37712
  return
37703
37713
 
37704
37714
  # Helper function to get text without tags for more accurate sorting
@@ -37779,9 +37789,18 @@ OUTPUT ONLY THE SEGMENT MARKERS. DO NOT ADD EXPLANATIONS BEFORE OR AFTER."""
37779
37789
  self.log(f"⚠️ Unknown sort type: {sort_type}")
37780
37790
  return
37781
37791
 
37792
+ # Set pagination to "All" to show all sorted segments
37793
+ if hasattr(self, 'page_size_combo') and self._widget_is_alive(self.page_size_combo):
37794
+ self.page_size_combo.blockSignals(True)
37795
+ self.page_size_combo.setCurrentText("All")
37796
+ self.page_size_combo.blockSignals(False)
37797
+ # Update the internal page size variable
37798
+ if hasattr(self, 'grid_page_size'):
37799
+ self.grid_page_size = 999999
37800
+
37782
37801
  # Reload grid to reflect new order
37783
37802
  self.load_segments_to_grid()
37784
- self.log(f"⇅ Sorted by: {sort_name}")
37803
+ self.log(f"⇅ Sorted by: {sort_name} (showing all segments)")
37785
37804
 
37786
37805
  except Exception as e:
37787
37806
  self.log(f"❌ Error sorting segments: {e}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: supervertaler
3
- Version: 1.9.187
3
+ Version: 1.9.188
4
4
  Summary: Professional AI-enhanced translation workbench with multi-LLM support, glossary system, TM, spellcheck, voice commands, and PyQt6 interface. Batteries included (core).
5
5
  Home-page: https://supervertaler.com
6
6
  Author: Michael Beijer
@@ -1,4 +1,4 @@
1
- Supervertaler.py,sha256=yjoU32F4RBdhk9YDkX_nDgdi43NcOj5pqCiAFNwP_Kc,2351549
1
+ Supervertaler.py,sha256=A1mrclFgUCGhQmplbECjOl66vWosWT0npDn-dgzmiPA,2352573
2
2
  modules/__init__.py,sha256=G58XleS-EJ2sX4Kehm-3N2m618_W2Es0Kg8CW_eBG7g,327
3
3
  modules/ai_actions.py,sha256=i5MJcM-7Y6CAvKUwxmxrVHeoZAVtAP7aRDdWM5KLkO0,33877
4
4
  modules/ai_attachment_manager.py,sha256=juZlrW3UPkIkcnj0SREgOQkQROLf0fcu3ShZcKXMxsI,11361
@@ -79,9 +79,9 @@ modules/unified_prompt_manager_qt.py,sha256=HkGUnH0wlfxt-hVe-nKCeWLyProYdefuuq2s
79
79
  modules/voice_commands.py,sha256=iBb-gjWxRMLhFH7-InSRjYJz1EIDBNA2Pog8V7TtJaY,38516
80
80
  modules/voice_dictation.py,sha256=QmitXfkG-vRt5hIQATjphHdhXfqmwhzcQcbXB6aRzIg,16386
81
81
  modules/voice_dictation_lite.py,sha256=jorY0BmWE-8VczbtGrWwt1zbnOctMoSlWOsQrcufBcc,9423
82
- supervertaler-1.9.187.dist-info/licenses/LICENSE,sha256=m28u-4qL5nXIWnJ6xlQVw__H30rWFtRK3pCOais2OuY,1092
83
- supervertaler-1.9.187.dist-info/METADATA,sha256=9cptaoXjY9Z34yHQFE26tjGpuiEElxmslgd31e-kA70,5725
84
- supervertaler-1.9.187.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
85
- supervertaler-1.9.187.dist-info/entry_points.txt,sha256=NP4hiCvx-_30YYKqgr-jfJYQvHr1qTYBMfoVmKIXSM8,53
86
- supervertaler-1.9.187.dist-info/top_level.txt,sha256=9tUHBYUSfaE4S2E4W3eavJsDyYymkwLfeWAHHAPT6Dk,22
87
- supervertaler-1.9.187.dist-info/RECORD,,
82
+ supervertaler-1.9.188.dist-info/licenses/LICENSE,sha256=m28u-4qL5nXIWnJ6xlQVw__H30rWFtRK3pCOais2OuY,1092
83
+ supervertaler-1.9.188.dist-info/METADATA,sha256=yQEbyUHJJ3bownTFzAotI23O-tVUEvW61TK6j1jJplQ,5725
84
+ supervertaler-1.9.188.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
85
+ supervertaler-1.9.188.dist-info/entry_points.txt,sha256=NP4hiCvx-_30YYKqgr-jfJYQvHr1qTYBMfoVmKIXSM8,53
86
+ supervertaler-1.9.188.dist-info/top_level.txt,sha256=9tUHBYUSfaE4S2E4W3eavJsDyYymkwLfeWAHHAPT6Dk,22
87
+ supervertaler-1.9.188.dist-info/RECORD,,