Coder Social home page Coder Social logo

meodinger / labelplusfx Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 3.0 16.63 MB

⁉️ A JavaFX LabelPlus for version [1,0]

License: GNU Affero General Public License v3.0

Kotlin 97.74% Batchfile 0.29% Java 0.35% Shell 0.07% C# 0.55% C 0.40% C++ 0.61%
javafx jdk17 kotlin manga translation

labelplusfx's Introduction

Meodinger Wang here 👋

  • 📖 Student of UESTC (but not major in CS)
  • JVM Language
  • 📺 Anime lover
  • 🐱 Have a cat

🔧 Projects I am working on

  • LabelPlusFX : A comic translation marker inspired by LabelPlus.
  • ProofreadFX : LPFX-based self-improve tool for translator to see diffs between proofreading and translation.
  • PS-Script : Photoshop script to import translations from Json (LPFX File) or text (Legacy LP File).
  • soundlibs-module : JDK 11 implementation of com.google.soundlibs, plus code update.

🎉 Be my friend!

  • 🌱 I am currently learning Kotlin & Clojure, and have interests in Javascript/Typescript;

  • 🎲 I love Minecraft and Fallout series, also play Maj-soul. Contact me to let us be Steam friends or so on;

  • 🐧 QQ : 2024816256 | 📧 Mail : [email protected]

labelplusfx's People

Contributors

meodinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

labelplusfx's Issues

setting dialog's prefSize not effected under Linux KDE

Operating System: Arch Linux
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.2.1-arch1-1 (64-bit)
JavaFX Version:17.0.2

如下图所示:
Screenshot_20230302_045750

设定窗口的显示高度有问题,

dialogPane.prefWidth = 600.0
dialogPane.prefHeight = 480.0

这里设定了窗口宽度600像素,高度480像素。可是只有宽度是有生效的,而高度只有100+像素,并且窗口无法手动调整大小。
查了一下这好像是javafx的Dialog类在linux平台下(其中比较多反馈是在KDE桌面下)的bug。

我没学过java,所以也不知道是哪里出问题。我查到Dialog类下有setResizable()函数可以把窗口设置成允许调整窗口大小,所以把这作为治标不治本的暂时方案了。

    init {
        title = I18N["settings.title"]
        setResizable(true)
        dialogPane.prefWidth = 600.0
        dialogPane.prefHeight = 480.0
        ...
        ...

Screenshot_20230302_055656

不知道有没有更好的方法?

语言显示似乎存在一些问题?

我使用的是英文版的Windows,在使用LabelPlusFX的时候发现中文会识别出错而形成乱码,但导出后的中文记事本显示却是正确的,除了更换Windows语言外还有什么解决办法吗?
YV3P8KB$RGLK8 5~XNDSG B

增加隐藏程式的快捷键

Labelplus原版其中一个功能
虽然有Windows+D直接显示桌面,但难免有点不自然
建议crtl /alt + D / QWRF等容易单手按的键

问个另外的问题

mac版下载之后,一直安装不了说放进垃圾桶。
查了下,隐私,任何来源也开了。
还是不行,是使用姿势不正确吗?

failed to build in linux

使用的是arch linux。
尝试下载了maven然后运行mvn package,出现了一些错误,有一些依赖找不到。
完整的错误日志请查看:
https://paste2.org/DtOOdAa8

[ERROR] Failed to execute goal on project lpfx: Could not resolve dependencies for project ink.meodinger:lpfx:jar:2.3.3: The following artifacts could not be resolved: com.twelvemonkeys.imageio:imageio-webp:jar:3.9.0-SNAPSHOT, org.jsoup:jsoup:jar:1.14.3-module: com.twelvemonkeys.imageio:imageio-webp:jar:3.9.0-SNAPSHOT was not found in https://repo1.maven.org/maven2/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of mavenCentral has elapsed or updates are forced -> [Help 1]

将图片路径分离(指定图片路径)

我正使用git来驱动汉化,此为背景。
我的需求是,漫画图片能从非同一目录下读取。
我是要单独管理整个翻译工程。
而图源则是分开管理。
如果能指定路径,可以是相对路径。

这是彩蛋吗?

1.mov

关掉软件后还有声音,把我吓了一跳,,,(你成功让我心跳停止一秒钟)
然后我立刻去下了杀毒软件。

当前图片为第一张图片时,使用编辑项目图片排除当前图片会导致切换到最后一张图片,而非新列表的第一张。

问题比较绕。

编辑项目图片删除包含在翻译文件中的图片,LPFX会进行如下处理:

  • 当被删除的图片不是当前正在显示的图片时:编辑数据,更新图片选框列表,不更新界面;
  • 当被删除的图片是当前正在显示的图片时:编辑数据,更新图片选框列表,更新界面到第一张图片;

假设我们的项目有10张图片1.png到10.png,正在显示3.png,我们希望有以下处理:

  • 删除4.png,图片选框的列表更新,看不到什么改变(因为不需要更新界面);
  • 删除3.png,图片选框的列表更新,切换显示第一张图片(1.png);

当前图片是2.png到10.png时,LPFX的行为和预期一样;
当前图片是第一张图片(1.png)时,预期切换到新的第一张图片(2.png),但LPFX会切换显示到10.png,而且切换很慢,Debug发现图片选框的value会从2.png一直跑到10.png然后最终不再改变。

给打包功能的建议

  1. 对于嵌字来说他们本来就有自己的PS导入脚本,压缩包带着的Meo_PS_Script.jsx以及ps_script_res文件夹并没有用,反而因为psd的体积过大导致压缩包体积比原来的要大;
  2. images文件夹下的标号器文档文件名并不是原来的标号器文档名,而是一个通用的“translation.txt”,对校对和嵌字来说非常麻烦——校对和嵌字必须将每个压缩包解压到单个文件夹下,防止互相覆盖。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.