diff --git a/LunaTranslator/LunaTranslator/gui/transhist.py b/LunaTranslator/LunaTranslator/gui/transhist.py index 2430a882..1d0b0cda 100644 --- a/LunaTranslator/LunaTranslator/gui/transhist.py +++ b/LunaTranslator/LunaTranslator/gui/transhist.py @@ -47,10 +47,12 @@ class transhist(closeashidewindow): hideshowraw = QAction(_TR("显示原文" if self.hiderawflag else "不显示原文")) hideshowapi = QAction(_TR("显示api" if self.hideapiflag else "不显示api")) hidetime = QAction(_TR("显示时间" if self.hidetime else "不显示时间")) + scrolltoend = QAction(_TR("滚动到最后")) menu.addAction(qingkong) menu.addAction(baocun) if len(self.textOutput.textCursor().selectedText()): menu.addAction(copy) + menu.addAction(scrolltoend) menu.addSeparator() menu.addAction(hideshowraw) menu.addAction(hideshowapi) @@ -76,6 +78,9 @@ class transhist(closeashidewindow): elif action == hideshowapi: self.hideapiflag = not self.hideapiflag + elif action == scrolltoend: + scrollbar = self.textOutput.verticalScrollBar() + scrollbar.setValue(scrollbar.maximum()) def getnewsentence(self, sentence): diff --git a/LunaTranslator/files/lang/ar.json b/LunaTranslator/files/lang/ar.json index 3ad316b9..bc723e32 100644 --- a/LunaTranslator/files/lang/ar.json +++ b/LunaTranslator/files/lang/ar.json @@ -812,5 +812,6 @@ "上传游戏列表": "تحميل قائمة الألعاب", "上传游戏": "تحميل العاب", "以当前md5复制选中行": "حدد صف مع نسخة MD5 الحالي", - "修改列表名称": "تعديل اسم القائمة" + "修改列表名称": "تعديل اسم القائمة", + "滚动到最后": "انتقل إلى آخر" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/cht.json b/LunaTranslator/files/lang/cht.json index 0cf13988..ce9ed9eb 100644 --- a/LunaTranslator/files/lang/cht.json +++ b/LunaTranslator/files/lang/cht.json @@ -812,5 +812,6 @@ "上传游戏列表": "上傳遊戲清單", "上传游戏": "上傳遊戲", "以当前md5复制选中行": "以當前md5複製選中行", - "修改列表名称": "修改清單名稱" + "修改列表名称": "修改清單名稱", + "滚动到最后": "滾動到最後" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/en.json b/LunaTranslator/files/lang/en.json index 48e218ab..6c76e7a5 100644 --- a/LunaTranslator/files/lang/en.json +++ b/LunaTranslator/files/lang/en.json @@ -812,5 +812,6 @@ "上传游戏列表": "Upload game list", "上传游戏": "Upload game", "以当前md5复制选中行": "Copy the selected row with the current MD5", - "修改列表名称": "Modify List Name" + "修改列表名称": "Modify List Name", + "滚动到最后": "Scroll to the end" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/es.json b/LunaTranslator/files/lang/es.json index ef7512ea..7d9e828f 100644 --- a/LunaTranslator/files/lang/es.json +++ b/LunaTranslator/files/lang/es.json @@ -812,5 +812,6 @@ "上传游戏列表": "Subir la lista de juegos", "上传游戏": "Sube el juego", "以当前md5复制选中行": "Copiar la línea seleccionada con el MD5 actual", - "修改列表名称": "Modificar el nombre de la lista" + "修改列表名称": "Modificar el nombre de la lista", + "滚动到最后": "Rodar hasta el final" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/fr.json b/LunaTranslator/files/lang/fr.json index e9b73316..0de47099 100644 --- a/LunaTranslator/files/lang/fr.json +++ b/LunaTranslator/files/lang/fr.json @@ -812,5 +812,6 @@ "上传游戏列表": "Télécharger une liste de jeux", "上传游戏": "Télécharger un jeu", "以当前md5复制选中行": "Copier la ligne sélectionnée avec le MD5 actuel", - "修改列表名称": "Modifier le nom de la Liste" + "修改列表名称": "Modifier le nom de la Liste", + "滚动到最后": "Rouler jusqu'à la fin" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/it.json b/LunaTranslator/files/lang/it.json index 96e9090b..257e762f 100644 --- a/LunaTranslator/files/lang/it.json +++ b/LunaTranslator/files/lang/it.json @@ -812,5 +812,6 @@ "上传游戏列表": "Carica la lista dei giochi", "上传游戏": "Carica gioco", "以当前md5复制选中行": "Copia la riga selezionata con l'MD5 corrente", - "修改列表名称": "Modifica nome elenco" + "修改列表名称": "Modifica nome elenco", + "滚动到最后": "Scorri fino alla fine" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ja.json b/LunaTranslator/files/lang/ja.json index 13db016b..d4f02b69 100644 --- a/LunaTranslator/files/lang/ja.json +++ b/LunaTranslator/files/lang/ja.json @@ -812,5 +812,6 @@ "上传游戏列表": "ゲームリストをアップロード", "上传游戏": "ゲームをアップロード", "以当前md5复制选中行": "選択した行を現在のmd 5でコピー", - "修改列表名称": "リスト名の変更" + "修改列表名称": "リスト名の変更", + "滚动到最后": "最後までスクロール" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ko.json b/LunaTranslator/files/lang/ko.json index 0c47b183..925bccf3 100644 --- a/LunaTranslator/files/lang/ko.json +++ b/LunaTranslator/files/lang/ko.json @@ -812,5 +812,6 @@ "上传游戏列表": "게임 목록 업로드", "上传游戏": "게임 업로드", "以当前md5复制选中行": "선택된 행을 현재 md5로 복사", - "修改列表名称": "목록 이름 수정" + "修改列表名称": "목록 이름 수정", + "滚动到最后": "끝까지 스크롤" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/pl.json b/LunaTranslator/files/lang/pl.json index 79a6ec03..2a9d9cde 100644 --- a/LunaTranslator/files/lang/pl.json +++ b/LunaTranslator/files/lang/pl.json @@ -812,5 +812,6 @@ "上传游戏列表": "Wyślij listę gier", "上传游戏": "Przesyłaj grę", "以当前md5复制选中行": "Kopiuj zaznaczony wiersz z bieżącym MD5", - "修改列表名称": "Zmień nazwę listy" + "修改列表名称": "Zmień nazwę listy", + "滚动到最后": "Przewiń do końca" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ru.json b/LunaTranslator/files/lang/ru.json index 30c7f428..83a94b4d 100644 --- a/LunaTranslator/files/lang/ru.json +++ b/LunaTranslator/files/lang/ru.json @@ -812,5 +812,6 @@ "上传游戏列表": "Загрузить список игр", "上传游戏": "Загрузить игру", "以当前md5复制选中行": "Копировать выделенную строку в текущем MD5", - "修改列表名称": "Изменить имя списка" + "修改列表名称": "Изменить имя списка", + "滚动到最后": "Прокрутить до конца" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/th.json b/LunaTranslator/files/lang/th.json index 4f430a93..d4ed7f68 100644 --- a/LunaTranslator/files/lang/th.json +++ b/LunaTranslator/files/lang/th.json @@ -812,5 +812,6 @@ "上传游戏列表": "อัปโหลดรายการเกม", "上传游戏": "อัปโหลดเกม", "以当前md5复制选中行": "คัดลอกแถวที่เลือกด้วย md5 ปัจจุบัน", - "修改列表名称": "แก้ไขชื่อรายการ" + "修改列表名称": "แก้ไขชื่อรายการ", + "滚动到最后": "เลื่อนไปจนสุด" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/tr.json b/LunaTranslator/files/lang/tr.json index 34ec911d..72636bdd 100644 --- a/LunaTranslator/files/lang/tr.json +++ b/LunaTranslator/files/lang/tr.json @@ -812,5 +812,6 @@ "上传游戏列表": "Oyun listesini yükle", "上传游戏": "Oyunu yükle", "以当前md5复制选中行": "Seçili satırı mevcut MD5 ile kopyalayın", - "修改列表名称": "Liste ismini değiştir" + "修改列表名称": "Liste ismini değiştir", + "滚动到最后": "Sonuna doğru yürüt" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/uk.json b/LunaTranslator/files/lang/uk.json index f682f5e0..bb16d207 100644 --- a/LunaTranslator/files/lang/uk.json +++ b/LunaTranslator/files/lang/uk.json @@ -812,5 +812,6 @@ "上传游戏列表": "Вивантажити список гр", "上传游戏": "Вивантажити гру", "以当前md5复制选中行": "Копіювати вибраний рядок поточним MD5", - "修改列表名称": "Змінити назву списку" + "修改列表名称": "Змінити назву списку", + "滚动到最后": "Пересунутися до кінця" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/vi.json b/LunaTranslator/files/lang/vi.json index 21476de7..b79af6c7 100644 --- a/LunaTranslator/files/lang/vi.json +++ b/LunaTranslator/files/lang/vi.json @@ -812,5 +812,6 @@ "上传游戏列表": "Tải lên danh sách trò chơi", "上传游戏": "Tải lên trò chơi", "以当前md5复制选中行": "Dòng đã chọn sao chép md5 hiện tại", - "修改列表名称": "Thay đổi tên danh sách" + "修改列表名称": "Thay đổi tên danh sách", + "滚动到最后": "Cuộn đến cuối" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/zh.json b/LunaTranslator/files/lang/zh.json index 89d3f344..51ff193c 100644 --- a/LunaTranslator/files/lang/zh.json +++ b/LunaTranslator/files/lang/zh.json @@ -812,5 +812,6 @@ "上传游戏列表": "", "上传游戏": "", "以当前md5复制选中行": "", - "修改列表名称": "" + "修改列表名称": "", + "滚动到最后": "" } \ No newline at end of file