QPrintDialog 本地化

发布于 2024-12-29 03:23:32 字数 99 浏览 1 评论 0原文

如何本地化 QPrintDialog?我尝试使用 /usr/share/qt4/translations/qt_ru.qm 但它只翻译单词“Cancel”,对话框的其余部分仍然是英语。

How to localize QPrintDialog? I've tried to use /usr/share/qt4/translations/qt_ru.qm but it only translates word "Cancel" and the rest of dialog remains in English.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

从来不烧饼 2025-01-05 03:23:32

尝试从此处下载 qt_ru.ts 的更新版本。并通过运行lrelease qt_ru.ts将其转换为qm。

更新

我相信结果应该是这样的:
在此处输入图像描述

此 ts 文件是我最初发布的链接中的文件

Try to download an updated version of qt_ru.ts from here. And convert it to qm by running lrelease qt_ru.ts.

update

I believe this is what the result should be:
enter image description here

This ts file is the one from the link I posted originally

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文