Commit b3ab7587 authored by dmMaze's avatar dmMaze
Browse files

bugfixes (#107 & #103)

parent 57d89865
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# Changelogs

### 2023-02-27
[v1.3.32](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.3.32) 发布
[v1.3.34](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.3.34) 发布
1. 修复繁体直排bug (#96)
2. 彩云和deepl目标语言支持繁体 (#100)
3. 支持读取.webp图片 (#85)
+1 −1
Original line number Diff line number Diff line
# Changelogs

### 2023-02-27
[v1.3.32](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.3.32) released
[v1.3.34](https://github.com/dmMaze/BallonsTranslator/releases/tag/v1.3.34) released
1. fix incorrect orientation assignment for CHT  (#96)
2. convert CHS to CHT if it is required for Caiyun & DeepL (#100)
3. support for webp (#85)
+1 −1
Original line number Diff line number Diff line
@@ -4,4 +4,4 @@ __appname__ = "BallonTranslator"
# 1. MAJOR version when you make incompatible API changes;
# 2. MINOR version when you add functionality in a backwards-compatible manner;
# 3. PATCH version when you make backwards-compatible bug fixes.
__version__ = "1.3.32"
 No newline at end of file
__version__ = "1.3.34"
 No newline at end of file
+4 −1
Original line number Diff line number Diff line
@@ -53,7 +53,10 @@ def main():
    )
    app.installTranslator(translator)

    C.LDPI = QGuiApplication.primaryScreen().logicalDotsPerInch()
    ps = QGuiApplication.primaryScreen()
    C.LDPI = ps.logicalDotsPerInch()
    C.SCREEN_W = ps.geometry().width()
    C.SCREEN_H = ps.geometry().height()
    yahei = QFont('Microsoft YaHei UI')
    if yahei.exactMatch():
        QGuiApplication.setFont(yahei)
+2 −2
Original line number Diff line number Diff line
@@ -77,8 +77,8 @@ app = BUNDLE(
      'CFBundleName': 'BallonsTranslator',
      'CFBundlePackageType': 'APPL',
      'CFBundleSignature': 'BATR',
      'CFBundleShortVersionString': '1.3.32',
      'CFBundleVersion': '1.3.32',
      'CFBundleShortVersionString': '1.3.34',
      'CFBundleVersion': '1.3.34',
      'CFBundleExecutable': '__main__',
      'CFBundleIconFile': 'icon.icns',
      'CFBundleIdentifier': 'dev.dmmaze.batr',
Loading