RinUI 0.1.1__py3-none-any.whl → 0.1.1.post1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
RinUI/core/translator.py CHANGED
@@ -21,5 +21,6 @@ class RinUITranslator(QTranslator):
21
21
  print(f"🌏 Current locale: {locale.name()}")
22
22
  path = os.path.join(RINUI_PATH, "RinUI", "languages", f"{locale.name()}.qm")
23
23
  if not os.path.exists(path):
24
- raise FileNotFoundError(f"Cannot find translation file: {path}")
24
+ print(f"Language file \"{path}\" not found. Fallback to default (en_US)")
25
+ path = os.path.join(RINUI_PATH, "RinUI", "languages", "en_US.qm")
25
26
  return super().load(path)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RinUI
3
- Version: 0.1.1
3
+ Version: 0.1.1.post1
4
4
  Summary: A Fluent Design-like UI library for Qt Quick (QML) based on PySide6
5
5
  Author-email: RinLit <lintu233_qwq@icloud.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -73,7 +73,7 @@ RinUI/core/__init__.py,sha256=LF4-YjoBLaix1UEWYzc5rhXiYGdZXC_J-NyCoYkCpUE,196
73
73
  RinUI/core/config.py,sha256=kO0bR1EhZB6Mh0KFa7uyBa0KgYr58DdBsHEP2oSGX7U,3722
74
74
  RinUI/core/launcher.py,sha256=sSPWi8iERTuVmtcIYe0PYcAkKKizrN_bNLhnChggv8k,4616
75
75
  RinUI/core/theme.py,sha256=BK9EovR2sHvcNarzptgsoMOll78R1B_ftKwEUqzqQhA,10672
76
- RinUI/core/translator.py,sha256=0U4QLatk_DbbQ3UBPjWaInvJLrg6qjD4F7bemrL0thg,950
76
+ RinUI/core/translator.py,sha256=5GK7Iy7-2iMicF8hQr79CwU9UWvCwE-8vGd8QkhJ1h8,1037
77
77
  RinUI/hooks/__init__.py,sha256=7sQJlly1ZbiZTzZUkCV2hI_gY-DAxWP_0kLyhZQ2Tm8,74
78
78
  RinUI/hooks/hook-RinUI.py,sha256=VvQui-b3YNuxvhqjRJqLPKdtnWQ6Ev8G9DEgzGNUUUI,116
79
79
  RinUI/languages/en_US.qm,sha256=mVm1ELFdGJN4SK0TAH4wRZ0umTxn5WS62_wY-TVpXIU,16
@@ -102,11 +102,11 @@ RinUI/windows/TitleBar.qml,sha256=zzOGP6fLm692BMY2UF_eDwjsgtVIZ0Fx90VDPGweHLA,37
102
102
  RinUI/windows/qmldir,sha256=LMeM0QzRNU0CIHemtD1j19hGRCuV987DRDuB5W6UJ-k,205
103
103
  RinUI/windows/window/ApplicationWindow.qml,sha256=4_COTBi9SoHeHdS0lIOPvqncevUB4P18svZfH3V5GaM,188
104
104
  RinUI/windows/window/Window.qml,sha256=pye3j-RI7Tzm8WW7oIctaeFxQ-FJsqXpW2U4Xp3m418,3485
105
- rinui-0.1.1.data/data/LICENSE,sha256=vgoqqpny5vKYu34VDBUWYQKzT7Nn-Xy9y8USmcOCyZQ,1063
106
- rinui-0.1.1.data/data/README.md,sha256=8ZcR55RYV2slRAQbhoYhqDTPOLXmewkFSvuA_cE6zD0,3044
107
- rinui-0.1.1.dist-info/licenses/LICENSE,sha256=vgoqqpny5vKYu34VDBUWYQKzT7Nn-Xy9y8USmcOCyZQ,1063
108
- rinui-0.1.1.dist-info/METADATA,sha256=5euifDbnZtVxmgkGN3bD_8eCfZRKcomQt5qV47Ckb_o,3589
109
- rinui-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
110
- rinui-0.1.1.dist-info/entry_points.txt,sha256=taxuZYCggoQa2LPubwcurQYRjBRC4cNYOjWaqOYZVxw,54
111
- rinui-0.1.1.dist-info/top_level.txt,sha256=vKKjXBXEw5OFRIzTxZWUC5ZOj0CK5e3atbymBB4eJ6w,6
112
- rinui-0.1.1.dist-info/RECORD,,
105
+ rinui-0.1.1.post1.data/data/LICENSE,sha256=vgoqqpny5vKYu34VDBUWYQKzT7Nn-Xy9y8USmcOCyZQ,1063
106
+ rinui-0.1.1.post1.data/data/README.md,sha256=8ZcR55RYV2slRAQbhoYhqDTPOLXmewkFSvuA_cE6zD0,3044
107
+ rinui-0.1.1.post1.dist-info/licenses/LICENSE,sha256=vgoqqpny5vKYu34VDBUWYQKzT7Nn-Xy9y8USmcOCyZQ,1063
108
+ rinui-0.1.1.post1.dist-info/METADATA,sha256=6kUNG4vqLk9kyI4iflqtlJfu9r4Sikrj6UqHgrQQv1Y,3595
109
+ rinui-0.1.1.post1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
110
+ rinui-0.1.1.post1.dist-info/entry_points.txt,sha256=taxuZYCggoQa2LPubwcurQYRjBRC4cNYOjWaqOYZVxw,54
111
+ rinui-0.1.1.post1.dist-info/top_level.txt,sha256=vKKjXBXEw5OFRIzTxZWUC5ZOj0CK5e3atbymBB4eJ6w,6
112
+ rinui-0.1.1.post1.dist-info/RECORD,,