Skip to content

Commit 4525d5a

Browse files
committed
Bump version to 4.0 and remove keyboard shortcuts docs
Updated all version references from 3.9 to 4.0 in scripts, HTML, JSON, and source code. Removed the keyboard shortcuts section from both English and Vietnamese README files.
1 parent a944edc commit 4525d5a

File tree

7 files changed

+14
-150
lines changed

7 files changed

+14
-150
lines changed

MakeReleaseZip.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SET APP_NAME=RSTGameTranslation
2-
SET APP_VERSION=3.9
2+
SET APP_VERSION=4.0
33
SET FNAME=%APP_NAME%_v%APP_VERSION%.zip
44
node update-version.js
55

@@ -34,7 +34,7 @@ copy app\webserver\RapidOCR\*.py tempbuild\webserver\RapidOCR
3434
copy app\translation_server\*.py tempbuild\translation_server
3535
copy app\translation_server\*.bat tempbuild\translation_server
3636
copy app\OneOcr\* tempbuild
37-
copy app\AudioModel\ggml-small-q5_1.bin tempbuild\AudioModel
37+
copy app\AudioModel\ggml-tiny.bin tempbuild\AudioModel
3838
copy app\translation_server\templates\*.html tempbuild\translation_server\templates
3939
copy app\webserver\*.bat tempbuild\webserver
4040
copy app\Languages\* tempbuild\Languages

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,6 @@ RSTGameTranslation will automatically check for updates when you start it. If th
7777

7878
---
7979

80-
## ⌨️ Keyboard Shortcuts
81-
82-
| Key | Function | | Key | Function |
83-
|-----|----------|-|-----|----------|
84-
| `Alt+G` | Start/Stop | | `Alt+F` | Show/Hide Overlay |
85-
| `Alt+Q` | Select Area | | `Alt+C` | Show/Hide ChatBox |
86-
| `Alt+P` | Settings | | `Alt+L` | Show/Hide Log |
87-
| `Alt+B` | Show/Hide Area | | `Alt+H` | Clear Area |
88-
89-
---
90-
9180
## ⚙️ Recommended Setups
9281

9382
### For Quick Use

README_vi.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,6 @@ RSTGameTranslation sẽ tự động kiểm tra cập nhật khi bạn khởi đ
7878

7979
---
8080

81-
## ⌨️ Phím tắt
82-
83-
| Phím | Chức năng | | Phím | Chức năng |
84-
|-----|----------|-|-----|----------|
85-
| `Alt+G` | Bắt đầu/Dừng | | `Alt+F` | Hiện/Ẩn Overlay |
86-
| `Alt+Q` | Chọn vùng | | `Alt+C` | Hiện/Ẩn ChatBox |
87-
| `Alt+P` | Cài đặt | | `Alt+L` | Hiện/Ẩn Log |
88-
| `Alt+B` | Hiện/Ẩn vùng đã chọn | | `Alt+H` | Xóa vùng đã chọn |
89-
90-
---
91-
9281
## ⚙️ Thiết lập đề xuất
9382

9483
### Cho sử dụng nhanh

index.html

Lines changed: 5 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
"price": "0",
255255
"priceCurrency": "USD"
256256
},
257-
"softwareVersion": "3.9",
257+
"softwareVersion": "4",
258258
"author": {
259259
"@type": "Person",
260260
"name": "thanhkeke97"
@@ -275,7 +275,7 @@
275275
<h1>🎮 RSTGameTranslation</h1>
276276
<p>Real-time Screen Translation for Gaming</p>
277277
<div style="text-align:center;margin-top:6px;">
278-
<div class="version-badge">Version 3.9</div>
278+
<div class="version-badge">Version 4</div>
279279
<div>
280280
<a class="bmc-btn" href="https://www.buymeacoffee.com/thanhkeke97" target="_blank" rel="noopener noreferrer">☕ Buy me a coffee</a>
281281
</div>
@@ -291,7 +291,7 @@ <h2>Quick Navigation</h2>
291291
<li><a href="#important-notes">⚠️ Important Notes</a></li>
292292
<li><a href="#installation">🚀 Installation</a></li>
293293
<li><a href="#updates">🔄 Updates</a></li>
294-
<li><a href="#shortcuts">⌨️ Shortcuts</a></li>
294+
<!-- Shortcuts removed: application displays hotkeys in-app -->
295295
<li><a href="#advanced-settings">⚙️ Advanced Settings</a></li>
296296
<li><a href="#settings">⚙️ All Settings</a></li>
297297
<li><a href="#faq">❓ FAQ</a></li>
@@ -406,60 +406,7 @@ <h2>🔄 How to Update</h2>
406406
</ul>
407407
</section>
408408

409-
<section id="shortcuts">
410-
<h2>⌨️ Shortcuts</h2>
411-
<table class="shortcut-table">
412-
<thead>
413-
<tr>
414-
<th>Shortcut</th>
415-
<th>Function</th>
416-
<th>Notes</th>
417-
</tr>
418-
</thead>
419-
<tbody>
420-
<tr>
421-
<td>Alt+G</td>
422-
<td>Start/Stop OCR</td>
423-
<td>Works globally</td>
424-
</tr>
425-
<tr>
426-
<td>Alt+Q</td>
427-
<td>Select Translation Area</td>
428-
<td>Works globally</td>
429-
</tr>
430-
<tr>
431-
<td>Alt+F</td>
432-
<td>Show/Hide text overlay mode</td>
433-
<td>Works globally</td>
434-
</tr>
435-
<tr>
436-
<td>Alt+C</td>
437-
<td>Show/Hide ChatBox</td>
438-
<td>Works globally</td>
439-
</tr>
440-
<tr>
441-
<td>Alt+P</td>
442-
<td>Show/Hide Settings</td>
443-
<td>Works globally</td>
444-
</tr>
445-
<tr>
446-
<td>Alt+L</td>
447-
<td>Show/Hide log panel</td>
448-
<td>Works globally</td>
449-
</tr>
450-
<tr>
451-
<td>Alt+B</td>
452-
<td>Show/Hide selected area</td>
453-
<td>Works globally</td>
454-
</tr>
455-
<tr>
456-
<td>Alt+H</td>
457-
<td>Clear selected area</td>
458-
<td>Works globally</td>
459-
</tr>
460-
</tbody>
461-
</table>
462-
</section>
409+
<!-- Shortcuts section removed — hotkeys displayed in-app -->
463410

464411
<section id="advanced-settings">
465412
<h2>⚙️ Advanced Settings</h2>
@@ -529,11 +476,7 @@ <h3>Text-to-Speech (TTS)</h3>
529476
<li>Provide API keys for cloud services; choose voice from the list (system voices are auto-detected).</li>
530477
<li>Exclude character names: toggle to avoid speaking character names in TTS output.</li>
531478
</ul>
532-
<h3>Hotkeys</h3>
533-
<ul>
534-
<li>Enable hotkeys globally, select a function and set a two-key combination (modifier + key) then click Set.</li>
535-
<li>Common defaults: Alt+G Start/Stop, Alt+Q Select Area, Alt+F Toggle Overlay, Alt+C ChatBox.</li>
536-
</ul>
479+
<!-- Hotkeys subsection removed — hotkeys are shown in-app -->
537480
<h3>Audio Processing</h3>
538481
<ul>
539482
<li>Auto-translate audio: starts/stops local Whisper service for live speech-to-text translation.</li>

index_vi.html

Lines changed: 5 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@
261261
"price": "0",
262262
"priceCurrency": "VND"
263263
},
264-
"softwareVersion": "3.9",
264+
"softwareVersion": "4",
265265
"author": {
266266
"@type": "Person",
267267
"name": "thanhkeke97"
@@ -283,7 +283,7 @@
283283
<h1>🎮 RSTGameTranslation</h1>
284284
<p>Phần mềm Dịch Màn hình Game Thời gian thực</p>
285285
<div style="text-align:center;margin-top:6px;">
286-
<div class="version-badge">Phiên bản 3.9</div>
286+
<div class="version-badge">Phiên bản 4</div>
287287
<div>
288288
<a class="bmc-btn" href="https://www.buymeacoffee.com/thanhkeke97" target="_blank" rel="noopener noreferrer">☕ Ủng hộ tác giả</a>
289289
</div>
@@ -299,7 +299,7 @@ <h2>Điều hướng nhanh</h2>
299299
<li><a href="#luu-y">⚠️ Lưu ý quan trọng</a></li>
300300
<li><a href="#cai-dat">🚀 Cách cài đặt</a></li>
301301
<li><a href="#cap-nhat">🔄 Cách cập nhật</a></li>
302-
<li><a href="#phim-tat">⌨️ Phím tắt</a></li>
302+
<!-- Phím tắt removed: ứng dụng hiển thị phím tắt -->
303303
<li><a href="#cai-dat-nang-cao">⚙️ Cài đặt nâng cao</a></li>
304304
<li><a href="#settings">⚙️ Tất cả cài đặt</a></li>
305305
<li><a href="#faq">❓ Câu hỏi thường gặp</a></li>
@@ -440,60 +440,7 @@ <h2>🔄 Cách cập nhật phiên bản</h2>
440440
</ul>
441441
</section>
442442

443-
<section id="phim-tat">
444-
<h2>⌨️ Phím tắt</h2>
445-
<table class="shortcut-table">
446-
<thead>
447-
<tr>
448-
<th>Phím tắt</th>
449-
<th>Chức năng</th>
450-
<th>Ghi chú</th>
451-
</tr>
452-
</thead>
453-
<tbody>
454-
<tr>
455-
<td>Alt+G</td>
456-
<td>Bắt đầu/Dừng</td>
457-
<td>Hoạt động toàn cục</td>
458-
</tr>
459-
<tr>
460-
<td>Alt+Q</td>
461-
<td>Chọn vùng dịch</td>
462-
<td>Hoạt động toàn cục</td>
463-
</tr>
464-
<tr>
465-
<td>Alt+F</td>
466-
<td>Hiện/Ẩn chế độ hiển thị văn bản dịch đè lên text gốc</td>
467-
<td>Hoạt động toàn cục</td>
468-
</tr>
469-
<tr>
470-
<td>Alt+C</td>
471-
<td>Hiện/Ẩn ChatBox</td>
472-
<td>Hoạt động toàn cục</td>
473-
</tr>
474-
<tr>
475-
<td>Alt+P</td>
476-
<td>Hiện/Ẩn Cài đặt</td>
477-
<td>Hoạt động toàn cục</td>
478-
</tr>
479-
<tr>
480-
<td>Alt+L</td>
481-
<td>Hiện/Ẩn bảng điều khiển nhật ký</td>
482-
<td>Hoạt động toàn cục</td>
483-
</tr>
484-
<tr>
485-
<td>Alt+B</td>
486-
<td>Hiện/Ẩn vị trí vùng dịch</td>
487-
<td>Hoạt động toàn cục</td>
488-
</tr>
489-
<tr>
490-
<td>Alt+H</td>
491-
<td>Xóa vùng dịch đang chọn</td>
492-
<td>Hoạt động toàn cục</td>
493-
</tr>
494-
</tbody>
495-
</table>
496-
</section>
443+
<!-- Phím tắt section removed — ứng dụng hiển thị phím tắt -->
497444

498445
<section id="cai-dat-nang-cao">
499446
<h2>⚙️ Cài đặt nâng cao</h2>
@@ -566,11 +513,7 @@ <h3>Text-to-Speech (TTS)</h3>
566513
<li>Nhập API key cho dịch vụ cloud, chọn giọng từ danh sách (giọng hệ thống sẽ được load tự động).</li>
567514
<li>Exclude character name: bật để tránh đọc tên nhân vật trong TTS.</li>
568515
</ul>
569-
<h3>Phím tắt</h3>
570-
<ul>
571-
<li>Bật/tắt hotkeys, chọn chức năng và thiết lập tổ hợp 2 phím (modifier + key) rồi nhấn Set.</li>
572-
<li>Mặc định phổ biến: Alt+G Bắt đầu/Dừng, Alt+Q Chọn vùng, Alt+F Bật/Tắt Overlay, Alt+C ChatBox.</li>
573-
</ul>
516+
<!-- Phím tắt subsection removed — ứng dụng hiển thị phím tắt -->
574517
<h3>Xử lý âm thanh</h3>
575518
<ul>
576519
<li>Audio auto-translate: khởi động/dừng dịch âm thanh bằng local Whisper khi bật.</li>

media/latest_version_checker.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name":"Real Time Game Translation",
3-
"latest_version":3.9,
3+
"latest_version":4.0,
44
"message":"Download V{VERSION_STRING} now from github?"
55
}

src/SplashManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class SplashManager
3232
// Event to notify when splash screen is closed
3333
public event EventHandler? SplashClosed;
3434

35-
public const double CurrentVersion = 3.9;
35+
public const double CurrentVersion = 4.0;
3636
private const string VersionCheckerUrl = "https://raw.githubusercontent.com/thanhkeke97/RSTGameTranslation/refs/heads/main/media/latest_version_checker.json";
3737

3838
private class VersionInfo

0 commit comments

Comments
 (0)