Skip to content

Commit

Permalink
<feature> replace &quot; to \\"
Browse files Browse the repository at this point in the history
update version to 1.2.6
  • Loading branch information
anonymousException committed Feb 1, 2024
1 parent 2171d97 commit 34105c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/renpy_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def TranslateFile(p, lang_target, lang_source):
dd = dd['decoded']
dd = dd.replace('&gt;', '>')
dd = dd.replace('&#39;', "'")
dd = dd.replace('&quot;', '\"')
dd = dd.replace('&quot;', '\\"')
_read_line[line_index] = _read_line[line_index].replace(
i, dd)
except:
Expand Down
2 changes: 1 addition & 1 deletion src/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def retranslateUi(self, MainWindow):
self.extractBtn.setText(QCoreApplication.translate("MainWindow", u"extract", None))
self.label_8.setText(QCoreApplication.translate("MainWindow", u"tl name", None))
self.tlNameText.setPlaceholderText(QCoreApplication.translate("MainWindow", u"only needs in file(s) mode,if you input the directory , just fill nothing. input the directory name under game\\tl Example: japanese or chinese or german", None))
self.versionLabel.setText(QCoreApplication.translate("MainWindow", u"Version 1.2.5", None))
self.versionLabel.setText(QCoreApplication.translate("MainWindow", u"Version 1.2.6", None))
self.copyrightLabel.setText(QCoreApplication.translate("MainWindow", u"\u00a92024 Last moment,All rights reserved.", None))
self.label_11.setText(QCoreApplication.translate("MainWindow", u"font", None))
self.selectFontText.setPlaceholderText(QCoreApplication.translate("MainWindow", u"input or choose or drag the font which supports the language after translation. Example : DejaVuSans.ttf (ren'py 's default font)", None))
Expand Down
2 changes: 1 addition & 1 deletion src/ui.ui
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
</rect>
</property>
<property name="text">
<string>Version 1.2.5</string>
<string>Version 1.2.6</string>
</property>
</widget>
<widget class="QLabel" name="copyrightLabel">
Expand Down

0 comments on commit 34105c8

Please sign in to comment.