diff --git a/LunaTranslator/LunaTranslator/gui/inputdialog.py b/LunaTranslator/LunaTranslator/gui/inputdialog.py index decf68a6..8c67801b 100644 --- a/LunaTranslator/LunaTranslator/gui/inputdialog.py +++ b/LunaTranslator/LunaTranslator/gui/inputdialog.py @@ -9,6 +9,21 @@ from myutils.config import globalconfig ,_TR,_TRL from gui.usefulwidget import MySwitch ,selectcolor from myutils.utils import makehtml from myutils.wrapper import Singleton +def autoinitdialog_items(dict): + items=[] + for arg in dict['args']: + items.append({ + 'l':arg,'d':dict['args'],'k':arg + }) + if 'argstype' in dict and arg in dict['argstype']: + + items[-1].update(dict['argstype'][arg]) + else: + items[-1].update( + {'t':'lineedit'} + ) + items.append({'t':'okcancel' }) + return items @Singleton class autoinitdialog(QDialog): def __init__(self, parent,title,width,lines,_=None ) -> None: @@ -184,58 +199,49 @@ class postconfigdialog_(QDialog): lb=QLabel(self) lb.setText(_TR(key) ) formLayout.addWidget(lb) - if type(configdict[key]) in (float,int): - spin=QSpinBox(self) - spin.setMinimum(1) - spin.setMaximum(100) - spin.setValue(configdict[key]) - spin.valueChanged.connect(lambda x:configdict.__setitem__(key,x)) - formLayout.addWidget(spin) - self.resize(QSize(600,1)) + + # lines=QTextEdit(self) + # lines.setPlainText('\n'.join(configdict[key])) + # lines.textChanged.connect(lambda :configdict.__setitem__(key,lines.toPlainText().split('\n'))) + # formLayout.addWidget(lines) + model=QStandardItemModel(len(configdict[key]),1 , self) + row=0 - elif type(configdict[key])==type({}): - # lines=QTextEdit(self) - # lines.setPlainText('\n'.join(configdict[key])) - # lines.textChanged.connect(lambda :configdict.__setitem__(key,lines.toPlainText().split('\n'))) - # formLayout.addWidget(lines) - model=QStandardItemModel(len(configdict[key]),1 , self) - row=0 + for key1 in ( (configdict[key])): # 2 - for key1 in ( (configdict[key])): # 2 + item = QStandardItem(key1) + model.setItem(row, 0, item) - item = QStandardItem(key1) - model.setItem(row, 0, item) - - item = QStandardItem(configdict[key][key1]) - model.setItem(row, 1, item) - row+=1 - model.setHorizontalHeaderLabels(_TRL([ '原文内容','替换为'])) - table = QTableView(self) - table.setModel(model) - table.setWordWrap(False) - table.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) - #table.setEditTriggers(QAbstractItemView.NoEditTriggers) - #table.clicked.connect(self.show_info) - button=QPushButton(self) - button.setText(_TR('添加行')) - def clicked1(): - model.insertRow(0,[QStandardItem(''),QStandardItem('')]) - button.clicked.connect(clicked1) - button2=QPushButton(self) - button2.setText(_TR('删除选中行')) - def clicked2(): - - model.removeRow(table.currentIndex().row()) - button2.clicked.connect(clicked2) - self.button=button - self.model=model - self.key=key - self.configdict=configdict - self.closeevent=True - formLayout.addWidget(table) - formLayout.addWidget(button) - formLayout.addWidget(button2) - self.resize(QSize(600,400)) + item = QStandardItem(configdict[key][key1]) + model.setItem(row, 1, item) + row+=1 + model.setHorizontalHeaderLabels(_TRL([ '原文内容','替换为'])) + table = QTableView(self) + table.setModel(model) + table.setWordWrap(False) + table.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) + #table.setEditTriggers(QAbstractItemView.NoEditTriggers) + #table.clicked.connect(self.show_info) + button=QPushButton(self) + button.setText(_TR('添加行')) + def clicked1(): + model.insertRow(0,[QStandardItem(''),QStandardItem('')]) + button.clicked.connect(clicked1) + button2=QPushButton(self) + button2.setText(_TR('删除选中行')) + def clicked2(): + + model.removeRow(table.currentIndex().row()) + button2.clicked.connect(clicked2) + self.button=button + self.model=model + self.key=key + self.configdict=configdict + self.closeevent=True + formLayout.addWidget(table) + formLayout.addWidget(button) + formLayout.addWidget(button2) + self.resize(QSize(600,400)) self.show() def postconfigdialog(parent,configdict,title): diff --git a/LunaTranslator/LunaTranslator/gui/selecthook.py b/LunaTranslator/LunaTranslator/gui/selecthook.py index e47b5961..7c24b87f 100644 --- a/LunaTranslator/LunaTranslator/gui/selecthook.py +++ b/LunaTranslator/LunaTranslator/gui/selecthook.py @@ -494,7 +494,7 @@ class hookselect(closeashidewindow): self.textOutput = QPlainTextEdit() self.textOutput.setUndoRedoEnabled(False) - self.textOutput.setReadOnly(True) + self.textOutput.setReadOnly(globalconfig['textboxreadonly']) self.sysOutput = QPlainTextEdit() diff --git a/LunaTranslator/LunaTranslator/gui/settingpage2.py b/LunaTranslator/LunaTranslator/gui/settingpage2.py index d7967639..d32d1be1 100644 --- a/LunaTranslator/LunaTranslator/gui/settingpage2.py +++ b/LunaTranslator/LunaTranslator/gui/settingpage2.py @@ -8,7 +8,7 @@ from gui.pretransfile import sqlite2json from myutils.config import globalconfig ,_TR,_TRL,static_data from myutils.utils import selectdebugfile,splittranslatortypes,checkportavailable import os ,time,requests,threading -from gui.inputdialog import autoinitdialog +from gui.inputdialog import autoinitdialog ,autoinitdialog_items from gui.usefulwidget import getspinbox,getcolorbutton,getsimpleswitch,selectcolor import time,hashlib def hashtext(a): @@ -33,19 +33,7 @@ def initsome11(self,l,label=None): if fanyi in translatorsetting : - items=[] - for arg in translatorsetting[fanyi]['args']: - items.append({ - 'l':arg,'d':translatorsetting[fanyi]['args'],'k':arg - }) - if 'argstype' in translatorsetting[fanyi] and arg in translatorsetting[fanyi]['argstype']: - - items[-1].update(translatorsetting[fanyi]['argstype'][arg]) - else: - items[-1].update( - {'t':'lineedit'} - ) - items.append({'t':'okcancel' }) + items=autoinitdialog_items(translatorsetting[fanyi]) last=getcolorbutton(globalconfig,'',callback=functools.partial(autoinitdialog,self, (globalconfig['fanyi'][fanyi]['name']),800,items),icon='fa.gear',constcolor="#FF69B4") elif fanyi=='selfbuild': last=getcolorbutton(globalconfig,'',callback=lambda:selectdebugfile('./userconfig/selfbuild.py' ),icon='fa.gear',constcolor="#FF69B4") diff --git a/LunaTranslator/LunaTranslator/gui/settingpage7.py b/LunaTranslator/LunaTranslator/gui/settingpage7.py index 716ee2bc..36376842 100644 --- a/LunaTranslator/LunaTranslator/gui/settingpage7.py +++ b/LunaTranslator/LunaTranslator/gui/settingpage7.py @@ -9,7 +9,7 @@ from myutils.config import globalconfig ,postprocessconfig,noundictconfig,transe import functools ,gobject from gui.usefulwidget import getcolorbutton,getsimpleswitch from gui.codeacceptdialog import codeacceptdialog -from gui.inputdialog import getsomepath1 ,postconfigdialog +from gui.inputdialog import getsomepath1 ,postconfigdialog,autoinitdialog,autoinitdialog_items from myutils.utils import selectdebugfile from myutils.wrapper import Singleton from myutils.config import savehook_new_list,savehook_new_data @@ -105,8 +105,12 @@ def setTab7_lazy(self) : if post=='_remove_chaos': config=(getcolorbutton(globalconfig,'',icon='fa.gear',constcolor="#FF69B4",callback=lambda:codeacceptdialog(self))) elif 'args' in postprocessconfig[post]: - - config=(getcolorbutton(globalconfig,'',callback= functools.partial( postconfigdialog,self,postprocessconfig[post]['args'],postprocessconfig[post]['name']),icon='fa.gear',constcolor="#FF69B4")) + if isinstance(list(postprocessconfig[post]['args'].values())[0],dict): + callback=functools.partial( postconfigdialog,self,postprocessconfig[post]['args'],postprocessconfig[post]['name']) + else: + items=autoinitdialog_items(postprocessconfig[post]) + callback=functools.partial(autoinitdialog,self,postprocessconfig[post]['name'],600,items) + config=(getcolorbutton(globalconfig,'',callback= callback,icon='fa.gear',constcolor="#FF69B4")) else: config=('') diff --git a/LunaTranslator/LunaTranslator/gui/settingpage_ocr.py b/LunaTranslator/LunaTranslator/gui/settingpage_ocr.py index faa54e3f..d2769ad0 100644 --- a/LunaTranslator/LunaTranslator/gui/settingpage_ocr.py +++ b/LunaTranslator/LunaTranslator/gui/settingpage_ocr.py @@ -1,7 +1,7 @@ import functools ,os from myutils.config import globalconfig ,ocrsetting,_TRL,ocrerrorfix from gui.usefulwidget import getsimplecombobox,getspinbox,getcolorbutton,yuitsu_switch,getsimpleswitch,selectcolor -from gui.inputdialog import autoinitdialog ,postconfigdialog +from gui.inputdialog import autoinitdialog ,postconfigdialog,autoinitdialog_items import gobject def getocrgrid(self) : @@ -18,19 +18,7 @@ def getocrgrid(self) : if os.path.exists(_f)==False: continue if name in ocrsetting: - items=[] - for arg in ocrsetting[name]['args']: - items.append({ - 'l':arg,'d':ocrsetting[name]['args'],'k':arg - }) - if 'argstype' in ocrsetting[name] and arg in ocrsetting[name]['argstype']: - - items[-1].update(ocrsetting[name]['argstype'][arg]) - else: - items[-1].update( - {'t':'lineedit'} - ) - items.append({'t':'okcancel' }) + items=autoinitdialog_items(ocrsetting[name]) _3=getcolorbutton(globalconfig,'',callback=functools.partial(autoinitdialog,self,globalconfig['ocr'][name]['name'],800,items),icon='fa.gear',constcolor="#FF69B4") else: diff --git a/LunaTranslator/LunaTranslator/gui/settingpage_xianshishezhi.py b/LunaTranslator/LunaTranslator/gui/settingpage_xianshishezhi.py index 7da42619..c41343b7 100644 --- a/LunaTranslator/LunaTranslator/gui/settingpage_xianshishezhi.py +++ b/LunaTranslator/LunaTranslator/gui/settingpage_xianshishezhi.py @@ -164,7 +164,7 @@ def setTabThree_lazy(self) : [('任务栏中显示',6),getsimpleswitch(globalconfig,'showintab' ,callback=__changeshowintab)], [('子窗口任务栏中显示',6),getsimpleswitch(globalconfig,'showintab_sub')], - + [('选择文本窗口中文本框只读',6),getsimpleswitch(globalconfig,'textboxreadonly',callback=lambda x:gobject.baseobject.hookselectdialog.textOutput.setReadOnly(x) )] ] alleffect=['无','Bicubic','Bilinear','Jinc','Lanczos','Nearest','SSimDownscaler'] downsname=magpie10_config.get('downscalingEffect',{'name':'无'}).get('name') diff --git a/LunaTranslator/LunaTranslator/myutils/post.py b/LunaTranslator/LunaTranslator/myutils/post.py index aa96eb9d..31173f71 100644 --- a/LunaTranslator/LunaTranslator/myutils/post.py +++ b/LunaTranslator/LunaTranslator/myutils/post.py @@ -6,6 +6,7 @@ import importlib,gobject from myutils.utils import getfilemd5 from myutils.config import postprocessconfig,globalconfig ,savehook_new_data,static_data def _2_f(line,args): + keepnodump=args['保持非重复字符'] times=args['重复次数(若为1则自动分析去重)'] if times>=2: @@ -27,9 +28,21 @@ def _2_f(line,args): guesstimes=sorted(x.keys(),key= lambda x1:x[x1])[-1] else: guesstimes=1 - - newline=[line[i*guesstimes] for i in range(len(line)//guesstimes)] - line=''.join(newline) + if keepnodump: + newline='' + i=0 + while iABC", "args": { - "重复次数(若为1则自动分析去重)": 1 + "重复次数(若为1则自动分析去重)": 1, + "保持非重复字符":true + }, + "argstype":{ + "保持非重复字符": { + "type": "switch" + }, + "重复次数(若为1则自动分析去重)": { + "type": "intspin", + "min": 0, + "max": 10000, + "step": 1 + } } }, "_3": { @@ -36,6 +48,14 @@ "name": "去除重复行_ABCDABCDABCD->ABCD", "args": { "重复次数(若为1则自动分析去重)": 1 + }, + "argstype":{ + "重复次数(若为1则自动分析去重)": { + "type": "intspin", + "min": 0, + "max": 10000, + "step": 1 + } } },"_3_2": { "use": false, diff --git a/LunaTranslator/files/lang/ar.json b/LunaTranslator/files/lang/ar.json index d66e24f9..b98b5d21 100644 --- a/LunaTranslator/files/lang/ar.json +++ b/LunaTranslator/files/lang/ar.json @@ -705,5 +705,7 @@ "外部缩放软件": "برامج التكبير الخارجي", "Hook Magpie进程使其不会退出缩放": "هوك ماجي العملية بحيث لا تخرج من التكبير", "Hook LosslessScaling进程使其不会退出缩放": "هوك looslessscaling العملية بحيث لا تخرج من التكبير", - "正在使用日语模型作为代替,可能效果不佳": "استخدام النموذج الياباني بدلا من ذلك ، قد لا تعمل بشكل جيد" + "正在使用日语模型作为代替,可能效果不佳": "استخدام النموذج الياباني بدلا من ذلك ، قد لا تعمل بشكل جيد", + "保持非重复字符": "الحفاظ على الطابع غير المتكرر", + "选择文本窗口中文本框只读": "حدد مربع النص للقراءة فقط في نافذة النص" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/cht.json b/LunaTranslator/files/lang/cht.json index 2726dc96..1a25f8db 100644 --- a/LunaTranslator/files/lang/cht.json +++ b/LunaTranslator/files/lang/cht.json @@ -705,5 +705,7 @@ "外部缩放软件": "外部縮放軟件", "Hook Magpie进程使其不会退出缩放": "Hook Magpie行程使其不會退出縮放", "Hook LosslessScaling进程使其不会退出缩放": "Hook LosslessScaling行程使其不會退出縮放", - "正在使用日语模型作为代替,可能效果不佳": "正在使用日語模型作為代替,可能效果不佳" + "正在使用日语模型作为代替,可能效果不佳": "正在使用日語模型作為代替,可能效果不佳", + "保持非重复字符": "保持非重複字元", + "选择文本窗口中文本框只读": "選擇文字視窗中文字方塊只讀" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/en.json b/LunaTranslator/files/lang/en.json index 5ba608a0..3f4ef6b4 100644 --- a/LunaTranslator/files/lang/en.json +++ b/LunaTranslator/files/lang/en.json @@ -705,5 +705,7 @@ "外部缩放软件": "External scaling software", "Hook Magpie进程使其不会退出缩放": "Hook Magpie process prevents it from exiting scaling", "Hook LosslessScaling进程使其不会退出缩放": "Hook LosslessScaling process prevents it from exiting scaling", - "正在使用日语模型作为代替,可能效果不佳": "Using Japanese models as a substitute may not be effective" + "正在使用日语模型作为代替,可能效果不佳": "Using Japanese models as a substitute may not be effective", + "保持非重复字符": "Keep non repeating characters", + "选择文本窗口中文本框只读": "Select read-only text boxes in the text window" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/es.json b/LunaTranslator/files/lang/es.json index cab4f7f2..bef1fc06 100644 --- a/LunaTranslator/files/lang/es.json +++ b/LunaTranslator/files/lang/es.json @@ -705,5 +705,7 @@ "外部缩放软件": "Software de zoom externo", "Hook Magpie进程使其不会退出缩放": "El proceso Hook magpie hace que no salga del zoom", "Hook LosslessScaling进程使其不会退出缩放": "El proceso Hook losslessscaling hace que no salga del zoom", - "正在使用日语模型作为代替,可能效果不佳": "Se está utilizando el modelo japonés como sustituto y puede que no funcione bien" + "正在使用日语模型作为代替,可能效果不佳": "Se está utilizando el modelo japonés como sustituto y puede que no funcione bien", + "保持非重复字符": "Mantener caracteres no repetitivos", + "选择文本窗口中文本框只读": "Seleccione la ventana de texto en la que el cuadro de texto es de solo lectura" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/fr.json b/LunaTranslator/files/lang/fr.json index 1a530682..c05c2b10 100644 --- a/LunaTranslator/files/lang/fr.json +++ b/LunaTranslator/files/lang/fr.json @@ -705,5 +705,7 @@ "外部缩放软件": "Logiciel de zoom externe", "Hook Magpie进程使其不会退出缩放": "Le processus Hook Magpie ne quitte pas le zoom", "Hook LosslessScaling进程使其不会退出缩放": "Hook losslesscaling processus pour ne pas quitter le zoom", - "正在使用日语模型作为代替,可能效果不佳": "Le modèle japonais est utilisé à la place, peut ne pas fonctionner aussi bien" + "正在使用日语模型作为代替,可能效果不佳": "Le modèle japonais est utilisé à la place, peut ne pas fonctionner aussi bien", + "保持非重复字符": "Garder les caractères non répétitifs", + "选择文本窗口中文本框只读": "Sélectionner une zone de texte en lecture seule dans la fenêtre de texte" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/it.json b/LunaTranslator/files/lang/it.json index 0fcc2d05..6c42b67d 100644 --- a/LunaTranslator/files/lang/it.json +++ b/LunaTranslator/files/lang/it.json @@ -705,5 +705,7 @@ "外部缩放软件": "Software di ridimensionamento esterno", "Hook Magpie进程使其不会退出缩放": "Il processo Hook Magpie impedisce di uscire dalla scala", "Hook LosslessScaling进程使其不会退出缩放": "Hook LosslessScaling processo impedisce di uscire dalla scalabilità", - "正在使用日语模型作为代替,可能效果不佳": "Utilizzare modelli giapponesi come sostituto potrebbe non essere efficace" + "正在使用日语模型作为代替,可能效果不佳": "Utilizzare modelli giapponesi come sostituto potrebbe non essere efficace", + "保持非重复字符": "Mantieni caratteri non ripetuti", + "选择文本窗口中文本框只读": "Selezionare le caselle di testo di sola lettura nella finestra di testo" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ja.json b/LunaTranslator/files/lang/ja.json index 670d6b9c..d3bbad89 100644 --- a/LunaTranslator/files/lang/ja.json +++ b/LunaTranslator/files/lang/ja.json @@ -705,5 +705,7 @@ "外部缩放软件": "外部ズームソフトウェア", "Hook Magpie进程使其不会退出缩放": "Hook Magpieプロセスはスケールを終了しないようにする", "Hook LosslessScaling进程使其不会退出缩放": "Hook LosslessScalingプロセスはスケーリングを終了しないようにする", - "正在使用日语模型作为代替,可能效果不佳": "代替として日本語モデルを使用していますが、効果が低いかもしれません" + "正在使用日语模型作为代替,可能效果不佳": "代替として日本語モデルを使用していますが、効果が低いかもしれません", + "保持非重复字符": "非反復文字の維持", + "选择文本窗口中文本框只读": "テキストウィンドウのテキストボックス読み取り専用を選択" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ko.json b/LunaTranslator/files/lang/ko.json index 2169a49f..01bde4fc 100644 --- a/LunaTranslator/files/lang/ko.json +++ b/LunaTranslator/files/lang/ko.json @@ -705,5 +705,7 @@ "外部缩放软件": "외부 확대 / 축소 소프트웨어", "Hook Magpie进程使其不会退出缩放": "Hook Magpie 프로세스로 인해 줌이 종료되지 않습니다.", "Hook LosslessScaling进程使其不会退出缩放": "Hook LosslessScaling 프로세스로 인해 줌이 종료되지 않습니다.", - "正在使用日语模型作为代替,可能效果不佳": "일본어 모델을 대체하는 중입니다. 효과가 없을 수 있습니다" + "正在使用日语模型作为代替,可能效果不佳": "일본어 모델을 대체하는 중입니다. 효과가 없을 수 있습니다", + "保持非重复字符": "비반복 문자 유지", + "选择文本窗口中文本框只读": "텍스트 선택 창의 텍스트 상자 읽기 전용" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/pl.json b/LunaTranslator/files/lang/pl.json index 5d35c434..c362f90a 100644 --- a/LunaTranslator/files/lang/pl.json +++ b/LunaTranslator/files/lang/pl.json @@ -705,5 +705,7 @@ "外部缩放软件": "Oprogramowanie do skalowania zewnętrznego", "Hook Magpie进程使其不会退出缩放": "Proces Hook Magpie zapobiega zakończeniu skalowania", "Hook LosslessScaling进程使其不会退出缩放": "Proces Hook Losslessless Scaling zapobiega zakończeniu skalowania", - "正在使用日语模型作为代替,可能效果不佳": "Używanie japońskich modeli jako substytutów może nie być skuteczne" + "正在使用日语模型作为代替,可能效果不佳": "Używanie japońskich modeli jako substytutów może nie być skuteczne", + "保持非重复字符": "Zachowaj niepowtarzające się znaki", + "选择文本窗口中文本框只读": "Zaznaczanie pola tekstowe tylko do odczytu w oknie tekstowym" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/ru.json b/LunaTranslator/files/lang/ru.json index c00a74d9..c401b615 100644 --- a/LunaTranslator/files/lang/ru.json +++ b/LunaTranslator/files/lang/ru.json @@ -705,5 +705,7 @@ "外部缩放软件": "Программное обеспечение для внешнего масштабирования", "Hook Magpie进程使其不会退出缩放": "Процесс Hook Magpie не выводит из масштабирования", "Hook LosslessScaling进程使其不会退出缩放": "Процесс Hook LosslessScaling не выводит из масштабирования", - "正在使用日语模型作为代替,可能效果不佳": "В качестве замены используется японская модель, которая может быть неэффективной" + "正在使用日语模型作为代替,可能效果不佳": "В качестве замены используется японская модель, которая может быть неэффективной", + "保持非重复字符": "Сохранить символ без повторения", + "选择文本窗口中文本框只读": "Выберите текстовое окно только для чтения" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/th.json b/LunaTranslator/files/lang/th.json index 2e2e3b6a..7a3d04dc 100644 --- a/LunaTranslator/files/lang/th.json +++ b/LunaTranslator/files/lang/th.json @@ -705,5 +705,7 @@ "外部缩放软件": "ซอฟต์แวร์ซูมภายนอก", "Hook Magpie进程使其不会退出缩放": "กระบวนการ Hook Magpie ทำให้ไม่ออกจากการซูม", "Hook LosslessScaling进程使其不会退出缩放": "Hook LosslessScaling กระบวนการทำให้มันไม่ออกจากซูม", - "正在使用日语模型作为代替,可能效果不佳": "ใช้แบบจำลองภาษาญี่ปุ่นแทนอาจไม่ได้ผล" + "正在使用日语模型作为代替,可能效果不佳": "ใช้แบบจำลองภาษาญี่ปุ่นแทนอาจไม่ได้ผล", + "保持非重复字符": "เก็บอักขระที่ไม่ซ้ำกัน", + "选择文本窗口中文本框只读": "เลือกกล่องข้อความในหน้าต่างข้อความ อ่านอย่างเดียว" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/tr.json b/LunaTranslator/files/lang/tr.json index f53790b6..6cae8015 100644 --- a/LunaTranslator/files/lang/tr.json +++ b/LunaTranslator/files/lang/tr.json @@ -705,5 +705,7 @@ "外部缩放软件": "Dışarı skalama yazılımı", "Hook Magpie进程使其不会退出缩放": "Hook Magpie süreci ölçeklenmesini engelledi", "Hook LosslessScaling进程使其不会退出缩放": "Hook LosslessScaling süreç ölçeklenmesini engelledi", - "正在使用日语模型作为代替,可能效果不佳": "Japon modellerini yerine koymak etkili olmayabilir." + "正在使用日语模型作为代替,可能效果不佳": "Japon modellerini yerine koymak etkili olmayabilir.", + "保持非重复字符": "Tekrarlamayan karakterleri tut", + "选择文本窗口中文本框只读": "Metin penceresindeki sadece okuyulmuş metin kutularını seçin" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/uk.json b/LunaTranslator/files/lang/uk.json index e73d0c5e..a8be3809 100644 --- a/LunaTranslator/files/lang/uk.json +++ b/LunaTranslator/files/lang/uk.json @@ -705,5 +705,7 @@ "外部缩放软件": "Зовнішнє програмне забезпечення масштабу", "Hook Magpie进程使其不会退出缩放": "Процес Hook Magpie забороняє їй вийти з масштабу", "Hook LosslessScaling进程使其不会退出缩放": "Процес безвтратного розміруScaling забороняє їй вийти з розміру", - "正在使用日语模型作为代替,可能效果不佳": "Використання японських моделей як заміни може бути неефективним" + "正在使用日语模型作为代替,可能效果不佳": "Використання японських моделей як заміни може бути неефективним", + "保持非重复字符": "Зберегти символи, які не повторюються", + "选择文本窗口中文本框只读": "Виберіть текстові поля для лише читання у текстовому вікні" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/vi.json b/LunaTranslator/files/lang/vi.json index b496bbf9..04eb65f8 100644 --- a/LunaTranslator/files/lang/vi.json +++ b/LunaTranslator/files/lang/vi.json @@ -705,5 +705,7 @@ "外部缩放软件": "Phần mềm Zoom ngoài", "Hook Magpie进程使其不会退出缩放": "Quá trình Hook Magpie làm cho nó không thoát khỏi zoom", "Hook LosslessScaling进程使其不会退出缩放": "Quá trình Hook LosslessScaling làm cho nó không thoát khỏi zoom", - "正在使用日语模型作为代替,可能效果不佳": "Các mô hình tiếng Nhật đang được sử dụng thay thế và có thể không hiệu quả" + "正在使用日语模型作为代替,可能效果不佳": "Các mô hình tiếng Nhật đang được sử dụng thay thế và có thể không hiệu quả", + "保持非重复字符": "Giữ các ký tự không trùng lặp", + "选择文本窗口中文本框只读": "Chọn hộp văn bản chỉ đọc trong cửa sổ văn bản" } \ No newline at end of file diff --git a/LunaTranslator/files/lang/zh.json b/LunaTranslator/files/lang/zh.json index ebcd8662..8a0625c7 100644 --- a/LunaTranslator/files/lang/zh.json +++ b/LunaTranslator/files/lang/zh.json @@ -705,5 +705,7 @@ "外部缩放软件": "", "Hook Magpie进程使其不会退出缩放": "", "Hook LosslessScaling进程使其不会退出缩放": "", - "正在使用日语模型作为代替,可能效果不佳": "" + "正在使用日语模型作为代替,可能效果不佳": "", + "保持非重复字符": "", + "选择文本窗口中文本框只读": "" } \ No newline at end of file