Supervertaler 3.7.0__tar.gz
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-3.7.0/CHANGELOG.md +281 -0
- supervertaler-3.7.0/FAQ.md +1181 -0
- supervertaler-3.7.0/MANIFEST.in +31 -0
- supervertaler-3.7.0/PKG-INFO +324 -0
- supervertaler-3.7.0/README.md +289 -0
- supervertaler-3.7.0/Supervertaler.egg-info/PKG-INFO +324 -0
- supervertaler-3.7.0/Supervertaler.egg-info/SOURCES.txt +63 -0
- supervertaler-3.7.0/Supervertaler.egg-info/dependency_links.txt +1 -0
- supervertaler-3.7.0/Supervertaler.egg-info/not-zip-safe +1 -0
- supervertaler-3.7.0/Supervertaler.egg-info/requires.txt +6 -0
- supervertaler-3.7.0/Supervertaler.egg-info/top_level.txt +1 -0
- supervertaler-3.7.0/api_keys.example.txt +57 -0
- supervertaler-3.7.0/assets/MB.ico +0 -0
- supervertaler-3.7.0/assets/README.md +0 -0
- supervertaler-3.7.0/assets/supervertaler_icon_colours.png +0 -0
- supervertaler-3.7.0/docs/CNAME +1 -0
- supervertaler-3.7.0/docs/Figure1.png +0 -0
- supervertaler-3.7.0/docs/GITHUB_PAGES_SETUP.md +298 -0
- supervertaler-3.7.0/docs/README.md +0 -0
- supervertaler-3.7.0/docs/guides/AI_PROMPT_ASSISTANT_USER_GUIDE.md +331 -0
- supervertaler-3.7.0/docs/guides/FAQ.md +1185 -0
- supervertaler-3.7.0/docs/guides/INSTALLATION.md +290 -0
- supervertaler-3.7.0/docs/guides/JSON_EDITORS_AND_HUMAN_READABLE_FORMAT.md +297 -0
- supervertaler-3.7.0/docs/guides/PDF_RESCUE.md +564 -0
- supervertaler-3.7.0/docs/guides/PROMPT_ASSISTANT_USER_GUIDE.md +331 -0
- supervertaler-3.7.0/docs/guides/USER_GUIDE.md +2094 -0
- supervertaler-3.7.0/docs/index.html +499 -0
- supervertaler-3.7.0/docs/screenshots/2025-10-13_00-46-16.jpg +0 -0
- supervertaler-3.7.0/docs/screenshots/2025-10-13_00-50-24.jpg +0 -0
- supervertaler-3.7.0/docs/script.js +114 -0
- supervertaler-3.7.0/docs/specifications/AI_ASSISTANT_PHASE2_IMPLEMENTATION.md +519 -0
- supervertaler-3.7.0/docs/specifications/AI_PROMPT_ASSISTANT.md +487 -0
- supervertaler-3.7.0/docs/specifications/AI_PROMPT_ASSISTANT_IMPLEMENTATION.md +341 -0
- supervertaler-3.7.0/docs/specifications/EXPORT_MENU_UPDATE.md +468 -0
- supervertaler-3.7.0/docs/specifications/IMPLEMENTATION_SUMMARY.md +235 -0
- supervertaler-3.7.0/docs/specifications/SUPERVERTALER_DATA_FORMAT.md +427 -0
- supervertaler-3.7.0/docs/specifications/TASK_TYPE_SYSTEM.md +0 -0
- supervertaler-3.7.0/docs/specifications/TERMINOLOGY_UPDATE_SUMMARY.md +234 -0
- supervertaler-3.7.0/docs/styles.css +1039 -0
- supervertaler-3.7.0/docs/supervertaler_icon_colours.png +0 -0
- supervertaler-3.7.0/modules/__init__.py +10 -0
- supervertaler-3.7.0/modules/cafetran_docx_handler.py +379 -0
- supervertaler-3.7.0/modules/document_analyzer.py +427 -0
- supervertaler-3.7.0/modules/docx_handler.py +511 -0
- supervertaler-3.7.0/modules/figure_context_manager.py +339 -0
- supervertaler-3.7.0/modules/find_replace.py +164 -0
- supervertaler-3.7.0/modules/mqxliff_handler.py +638 -0
- supervertaler-3.7.0/modules/pdf_rescue.py +909 -0
- supervertaler-3.7.0/modules/prompt_assistant.py +277 -0
- supervertaler-3.7.0/modules/prompt_library.py +660 -0
- supervertaler-3.7.0/modules/simple_segmenter.py +128 -0
- supervertaler-3.7.0/modules/tag_manager.py +298 -0
- supervertaler-3.7.0/modules/tmx_generator.py +106 -0
- supervertaler-3.7.0/modules/tracked_changes.py +900 -0
- supervertaler-3.7.0/modules/trados_docx_handler.py +0 -0
- supervertaler-3.7.0/modules/translation_memory.py +346 -0
- supervertaler-3.7.0/pyproject.toml +59 -0
- supervertaler-3.7.0/setup.cfg +4 -0
- supervertaler-3.7.0/setup.py +85 -0
- supervertaler-3.7.0/tests/test_multi_selection.py +0 -0
- supervertaler-3.7.0/tests/test_real_trados_tag_fix.py +0 -0
- supervertaler-3.7.0/tests/test_suite.py +269 -0
- supervertaler-3.7.0/tests/test_tag_regex_fix.py +0 -0
- supervertaler-3.7.0/tests/test_tag_styling_export.py +0 -0
- supervertaler-3.7.0/tests/test_xml_declaration_fix.py +0 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
# Supervertaler - Complete Changelog
|
|
2
|
+
|
|
3
|
+
**Latest Version**: v3.7.0 (2025-10-19)
|
|
4
|
+
**Product**: Unified Supervertaler (v3.x CAT Edition)
|
|
5
|
+
**Status**: Active Development
|
|
6
|
+
|
|
7
|
+
> As of v3.7.0, Supervertaler is a unified product focusing exclusively on the CAT (Computer-Aided Translation) editor experience. The previous Classic Edition (v2.x) is archived for reference but no longer actively developed.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## [3.7.0] - 2025-10-19 🎯 STABLE RELEASE
|
|
12
|
+
|
|
13
|
+
### ✨ MAJOR RESTRUCTURING
|
|
14
|
+
|
|
15
|
+
**Product Unification**:
|
|
16
|
+
- **Deprecated**: v2.5.0-CLASSIC (archived to `.dev/previous_versions/`)
|
|
17
|
+
- **Focus**: All development now concentrated on v3.x CAT Edition
|
|
18
|
+
- **Branding**: Removed "CAT" suffix - Supervertaler IS the CAT editor
|
|
19
|
+
- **Messaging**: Single product line, clear value proposition to users
|
|
20
|
+
|
|
21
|
+
**Repository Cleanup**:
|
|
22
|
+
- Moved all v2.x and earlier v3.x versions to `.dev/previous_versions/` folder
|
|
23
|
+
- Unified changelog (consolidated CHANGELOG-CAT.md and CHANGELOG-CLASSIC.md)
|
|
24
|
+
- Removed confusing dual-version documentation
|
|
25
|
+
- Main executable: `Supervertaler_v3.7.0-beta.py`
|
|
26
|
+
|
|
27
|
+
**Folder Structure Reorganization** (v3.6.9 continued):
|
|
28
|
+
```
|
|
29
|
+
user data/
|
|
30
|
+
├── Prompt_Library/
|
|
31
|
+
│ ├── System_prompts/ (19 Markdown files)
|
|
32
|
+
│ └── Custom_instructions/ (8 Markdown files)
|
|
33
|
+
├── Translation_Resources/
|
|
34
|
+
│ ├── Glossaries/
|
|
35
|
+
│ ├── TMs/
|
|
36
|
+
│ ├── Non-translatables/
|
|
37
|
+
│ └── Segmentation_rules/
|
|
38
|
+
└── Projects/
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Benefits**:
|
|
42
|
+
- ✅ Clearer product identity
|
|
43
|
+
- ✅ Reduced user confusion
|
|
44
|
+
- ✅ Simplified documentation
|
|
45
|
+
- ✅ Better focus for development
|
|
46
|
+
- ✅ Easier to present to LSPs (single unified tool)
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## [3.6.9-beta] - 2025-10-19 📁 FOLDER STRUCTURE REORGANIZATION
|
|
51
|
+
|
|
52
|
+
### 🗂️ MAJOR RESTRUCTURING
|
|
53
|
+
|
|
54
|
+
**Hierarchical Folder Organization**:
|
|
55
|
+
- Created `Prompt_Library/` to group all prompt-related resources:
|
|
56
|
+
- `System_prompts/` - Domain-specific system prompts (19 files)
|
|
57
|
+
- `Custom_instructions/` - User custom instructions (8 files)
|
|
58
|
+
- Created `Translation_Resources/` to centralize translation assets:
|
|
59
|
+
- `Glossaries/` - Terminology databases
|
|
60
|
+
- `TMs/` - Translation Memory files
|
|
61
|
+
- `Non-translatables/` - Non-translatable terms lists
|
|
62
|
+
- `Segmentation_rules/` - Segmentation rule files
|
|
63
|
+
|
|
64
|
+
**Migration Details**:
|
|
65
|
+
- Successfully migrated all 27 prompt files
|
|
66
|
+
- Full dev mode support (both `user data/` and `user data_private/`)
|
|
67
|
+
- Backward compatibility with auto-migration function
|
|
68
|
+
- Old folders automatically cleaned up
|
|
69
|
+
|
|
70
|
+
**Code Updates**:
|
|
71
|
+
- Updated `get_user_data_path()` function calls throughout
|
|
72
|
+
- Added `migrate_old_folder_structure()` for automatic migration
|
|
73
|
+
- Updated folder link operations
|
|
74
|
+
- Enhanced documentation examples
|
|
75
|
+
|
|
76
|
+
**Benefits**:
|
|
77
|
+
- ✨ **Better Scalability**: Clear hierarchy for future features
|
|
78
|
+
- ✨ **Improved Navigation**: Logical grouping of resources
|
|
79
|
+
- ✨ **Professional Polish**: Well-organized data structure
|
|
80
|
+
- ✨ **Future-Ready**: Easy to add new resource types
|
|
81
|
+
|
|
82
|
+
### 📦 REPOSITORY CLEANUP
|
|
83
|
+
|
|
84
|
+
**Previous Versions Folder**:
|
|
85
|
+
- Moved to `.dev/previous_versions/` (centralized archive)
|
|
86
|
+
- Archived: v2.5.0-CLASSIC.py
|
|
87
|
+
- Archived: v3.6.6-beta_CAT.py
|
|
88
|
+
- Archived: v3.6.7-beta_CAT.py
|
|
89
|
+
- Root now contains only: v3.7.0.py
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## [3.6.8-beta] - 2025-10-19 📝 MARKDOWN PROMPT FORMAT
|
|
94
|
+
|
|
95
|
+
### ✨ MAJOR ENHANCEMENT
|
|
96
|
+
|
|
97
|
+
**Complete Markdown Format Migration for Prompts**:
|
|
98
|
+
- **NEW**: All prompts (System Prompts + Custom Instructions) now use Markdown with YAML frontmatter
|
|
99
|
+
- **NEW**: Save dialogs default to `.md` format instead of `.json`
|
|
100
|
+
- **NEW**: Beautiful native Markdown tables for glossaries and structured data
|
|
101
|
+
- **NEW**: YAML frontmatter provides clean, human-readable metadata
|
|
102
|
+
- **NEW**: Mixed format support - loads both `.json` and `.md` files automatically
|
|
103
|
+
- **MIGRATION**: All 27 existing prompts converted from JSON to Markdown
|
|
104
|
+
|
|
105
|
+
**User Experience**:
|
|
106
|
+
- ✅ Double-click prompts to open in any text editor
|
|
107
|
+
- ✅ Read and edit prompts naturally with section headers
|
|
108
|
+
- ✅ No escaped quotes or verbose JSON syntax
|
|
109
|
+
- ✅ Glossaries display as beautiful Markdown tables
|
|
110
|
+
- ✅ Human-friendly editing experience
|
|
111
|
+
|
|
112
|
+
**Format Example**:
|
|
113
|
+
```markdown
|
|
114
|
+
---
|
|
115
|
+
name: "Patent Translation Specialist"
|
|
116
|
+
description: "Expert patent translator"
|
|
117
|
+
domain: "Intellectual Property"
|
|
118
|
+
version: "2.2.0"
|
|
119
|
+
task_type: "Translation"
|
|
120
|
+
created: "2025-10-19"
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
# Patent Translation Guide
|
|
124
|
+
|
|
125
|
+
You are an expert translator with deep expertise in intellectual property...
|
|
126
|
+
|
|
127
|
+
## Key Principles
|
|
128
|
+
|
|
129
|
+
- Maintain technical precision
|
|
130
|
+
- Preserve claim structure
|
|
131
|
+
- Use consistent terminology
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Technical Implementation**:
|
|
135
|
+
- `parse_markdown()` - Parse Markdown with YAML frontmatter
|
|
136
|
+
- `dict_to_markdown()` - Save prompt data as formatted Markdown
|
|
137
|
+
- `_parse_yaml()` - Simple YAML parser for frontmatter
|
|
138
|
+
- `_load_from_directory()` - Enhanced for `.json` and `.md` files
|
|
139
|
+
- `convert_json_to_markdown()` - Convert JSON to Markdown
|
|
140
|
+
- `convert_all_prompts_to_markdown()` - Batch conversion
|
|
141
|
+
|
|
142
|
+
**Migration Summary**:
|
|
143
|
+
- ✅ 19 System Prompts converted
|
|
144
|
+
- ✅ 8 Custom Instructions converted
|
|
145
|
+
- ⚠️ 3 empty corrupted files skipped
|
|
146
|
+
- **Total**: 27 prompts successfully migrated
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## [3.6.7-beta] - 2025-10-18 ✨ POLISH & FIXES
|
|
151
|
+
|
|
152
|
+
### ✨ ENHANCEMENTS
|
|
153
|
+
|
|
154
|
+
**UI Polish & Usability**:
|
|
155
|
+
- **Reduced Tab Height**: Lowered vertical padding for better screen density
|
|
156
|
+
- **Removed Maximize View**: Eliminated obsolete maximize functionality (~725 lines cleaned)
|
|
157
|
+
- **Better Button Names**: "📝 View/Edit Analysis Prompts" for clarity
|
|
158
|
+
- **Clickable Folder Links**: System_prompts and Custom_instructions folders now clickable
|
|
159
|
+
- Opens Windows Explorer / macOS Finder / Linux file manager
|
|
160
|
+
|
|
161
|
+
**Website Enhancements**:
|
|
162
|
+
- **NEW About Section**: Beautiful gradient design telling Supervertaler's story
|
|
163
|
+
- Three story cards showing evolution from manual workflow to full CAT features
|
|
164
|
+
- Vision dialogue for future AI interaction
|
|
165
|
+
- Responsive design with modern effects
|
|
166
|
+
|
|
167
|
+
### 🐛 BUG FIXES
|
|
168
|
+
|
|
169
|
+
**Translation Error with Prompt Manager**:
|
|
170
|
+
- Fixed: `'Supervertaler' object has no attribute 'custom_instructions_text'`
|
|
171
|
+
- Root cause: Functions looking for old text widget
|
|
172
|
+
- Solution: Check `self.active_custom_instruction` first with fallback
|
|
173
|
+
|
|
174
|
+
**System Prompts Not Appearing**:
|
|
175
|
+
- Fixed: Saved prompts not showing in Prompt Manager
|
|
176
|
+
- Root cause: JSON using wrong name field
|
|
177
|
+
- Solution: Use `user_entered_name` for metadata
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
## [3.6.6-beta] - 2025-10-18 🤖 PROMPT ASSISTANT UX OVERHAUL
|
|
182
|
+
|
|
183
|
+
### 🎯 MAJOR UX IMPROVEMENTS
|
|
184
|
+
|
|
185
|
+
**Renamed "AI Assistant" to "Prompt Assistant"**:
|
|
186
|
+
- Better describes its purpose (analyzing documents and generating prompts)
|
|
187
|
+
- More professional terminology
|
|
188
|
+
|
|
189
|
+
**Moved to Prompt Library as Third Tab**:
|
|
190
|
+
- Consolidates all prompt-related features in one place
|
|
191
|
+
- Natural workflow: Analyze → Generate → Browse/Edit → Apply
|
|
192
|
+
- Auto-hides editor panel when active to maximize workspace
|
|
193
|
+
- Auto-shows editor when switching to other prompt tabs
|
|
194
|
+
|
|
195
|
+
**Smart Editor Panel Visibility**:
|
|
196
|
+
- Context-aware UI adapts based on current task
|
|
197
|
+
- Full width workspace for document analysis
|
|
198
|
+
- Better screen real estate utilization
|
|
199
|
+
|
|
200
|
+
### 🔄 TECHNICAL CHANGES
|
|
201
|
+
|
|
202
|
+
- Renamed UI components
|
|
203
|
+
- Updated event handlers for tab switching
|
|
204
|
+
- Preserved all functionality
|
|
205
|
+
- Enhanced documentation
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## Previous Versions (Archived)
|
|
210
|
+
|
|
211
|
+
### v3.6.5-beta, v3.6.4-beta, v3.6.3-beta
|
|
212
|
+
See [.dev/previous_versions/](.dev/previous_versions/) folder
|
|
213
|
+
|
|
214
|
+
### v2.5.0-CLASSIC (Archived - No Longer Developed)
|
|
215
|
+
**Production-ready DOCX-based workflow** (last update: 2025-10-14):
|
|
216
|
+
- CAT tool integration (CafeTran, memoQ, Trados)
|
|
217
|
+
- Translation Memory with fuzzy matching
|
|
218
|
+
- Multiple AI providers
|
|
219
|
+
- Custom prompts with variable substitution
|
|
220
|
+
- Full document context awareness
|
|
221
|
+
|
|
222
|
+
**Note**: This version is archived but remains available at [GitHub Release v2.4.1](https://github.com/michaelbeijer/Supervertaler/releases/tag/v2.4.1) for users who prefer the simpler DOCX-based workflow.
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## Release Strategy
|
|
227
|
+
|
|
228
|
+
**Current Focus**: v3.7.0+ (Unified CAT Edition)
|
|
229
|
+
- Weekly incremental improvements
|
|
230
|
+
- User feedback integration
|
|
231
|
+
- LSP consulting feedback incorporation
|
|
232
|
+
- Feature expansion based on professional translator needs
|
|
233
|
+
|
|
234
|
+
**Version Numbering**:
|
|
235
|
+
- **v3.x-beta**: Active development (current)
|
|
236
|
+
- **.dev/previous_versions/**: Archived but working versions
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
## Notable Features Across All Versions
|
|
241
|
+
|
|
242
|
+
### Core Translation Engine
|
|
243
|
+
- ✅ Multiple AI providers (OpenAI, Claude, Gemini)
|
|
244
|
+
- ✅ Custom prompts with variable substitution
|
|
245
|
+
- ✅ Translation Memory with fuzzy matching
|
|
246
|
+
- ✅ Full document context awareness
|
|
247
|
+
- ✅ Tracked changes learning
|
|
248
|
+
|
|
249
|
+
### Professional CAT Features
|
|
250
|
+
- ✅ Segment-based editing (CAT Editor)
|
|
251
|
+
- ✅ Grid pagination system (50 segments/page)
|
|
252
|
+
- ✅ Dual selection support (memoQ-style)
|
|
253
|
+
- ✅ CAT tool integration (memoQ, CafeTran, Trados)
|
|
254
|
+
- ✅ Figure context support (multimodal AI)
|
|
255
|
+
|
|
256
|
+
### Data Management
|
|
257
|
+
- ✅ Import/Export: DOCX, TSV, JSON, XLIFF, TMX
|
|
258
|
+
- ✅ Session reports in HTML and Markdown
|
|
259
|
+
- ✅ Project save/load with context preservation
|
|
260
|
+
- ✅ Automatic backups
|
|
261
|
+
|
|
262
|
+
### Prompt Management
|
|
263
|
+
- ✅ System Prompts (domain-specific)
|
|
264
|
+
- ✅ Custom Instructions (user-defined)
|
|
265
|
+
- ✅ Prompt Assistant (AI-powered generation)
|
|
266
|
+
- ✅ Markdown + YAML frontmatter format
|
|
267
|
+
- ✅ Mixed format support
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
## For Questions or Issues
|
|
272
|
+
|
|
273
|
+
- **GitHub Issues**: [michaelbeijer/Supervertaler](https://github.com/michaelbeijer/Supervertaler/issues)
|
|
274
|
+
- **Website**: [supervertaler.com](https://supervertaler.com)
|
|
275
|
+
- **Documentation**: See `/docs` folder and README.md
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
**Last Updated**: October 19, 2025
|
|
280
|
+
**Maintainer**: Michael Beijer
|
|
281
|
+
**License**: Open Source (MIT)
|