Skip to content

suntrise/Pseudo-localization-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 伪本地化演示程序

截图

这是一个伪本地化工具, 可用于某些本地化工作用途, 当然也可以作为一个玩具或者工具~

GitHub Action GitHub repo stars GitHub repo contributors GitHub repo license GitHub issues GitHub release GitHub download counts GitHub repo size Python requirement

网页版:https://suntrise.github.io/pseudo

👇 使用

如果您没有Python环境且比较懒, 可以移步 Release 下载, tar.gz 版本适用于 Linux, exe 版本适用于 Windows, 其他操作系统建议下载源码并执行 (macOS 版用户可以到 Actions 页下载)

注意, 要在本地查看并修改源码, 需要安装 Python, 版本最少为 3.10 以保障兼容性

🚀 依赖安装

🧩 Poetry 安装

本项目使用 poetry 进行依赖管理, 请务必先安装它, 并将其添加在 PATH 环境变量中!

安装指南详见: https://python-poetry.cn/docs/#installation

通用

如果您已经安装了 pipx 则可以执行...

pipx install poetry
Windows

您可以在 PowerShell 中执行...

(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -

如果您通过 Microsoft Store 安装了 Python, 请在上面的命令中将 py 替换为 python

*nix

在安装了 curl 的前提下执行...

curl -sSL https://install.python-poetry.org | python3 -
macOS

如果您不喜欢使用上面 curl 的方式, 如果已经安装了 Homebrew, 可以执行...

brew install --formula poetry

🗿正式依赖安装

创建完虚拟环境后运行...

poetry install

它将会自动安装需要的依赖

🛠️编译

详见: https://flet.dev/docs/publish

在进行打包的过程中会需要您拥有良好的网络链接

如果遇到 Flutter 网络问题, 可参考 https://docs.flutter.cn/community/china/ 进行换源!

🗒️备注

  • 经过测试, 在虚拟机下运行可能会造成非正常闪烁现象

  • 以上命令可能会有些许滞后, 若编译效果不佳, 可参考 Workflow 脚本进行参数补充

  • 若想获取最新测试版本, 可以看看 Action 里面哟(未经过完整测试)

  • 代码写的有点难看, 望各位大佬多多指导!

📦 使用到的第三方项目

flet-dev/flet

asweigart/pyperclip

📄 许可协议

使用 WTFPL 许可协议开源1, 你想干嘛就干嘛

WTFPL

Footnotes

  1. 或许可以解释为Windows Tiny Form Pseudo-Localization

About

A Pseudo-localization Demo 伪本地化演示程序

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages