php - 目录更新后 Poedit 崩溃

标签 php linux ubuntu poedit

我尝试从源更新目录。完成更新后 poedit 崩溃。在命令行工具中,我收到以下消息:

b/x86_64-linux-gnu/libdbusmenu-glib.so.4.0.13Aborted (core dumped)

我可以看到 poedit 如何在源代码中搜索文本片段。进度条一直工作到 100%。然后 poedit 崩溃而没有错误消息。 我正在使用 linux ubuntu。源代码是用 php 编写的。

最佳答案

对我来说,这个指南帮助了我:http://www.cssigniter.com/ignite/wordpress-poedit-translation-secrets/其中提到了以下用于配置 po 文件的 header :

"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"

关于php - 目录更新后 Poedit 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16039691/

相关文章:

docker - 错误 : Service 'ubuntu' failed to build: The command '/bin/sh -c apt-get update

ubuntu - 如何设置本地服务器进行开发?

php - 如何将 nginx 配置为基本负载均衡器

php - 使用 Json 将 PHP MySQL 中的图像显示到 Android 中的 imageview 中(解析数据时出错)

php - 用户名(和密码)中的 Unicode?

linux - OpenDeploy 基础服务器在开始部署时挂起

ruby-on-rails - 由于调试检查器失败,Ruby On Rails 在 Fresh Ubuntu、Mint 和 Fedora 上失败

php - 从搜索栏中的用户输入中删除单引号

linux - `/var/log/kern.log` 中最右边的数字是什么意思?

shell - SED 用单引号和双引号替换内容