gpt4 book ai didi

php - xgettext 给了我一个简单的行 : 的奇怪输出

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:36:52 28 4
gpt4 key购买 nike

我正在使用 xgettext 生成 .po 文件。但它给了我一个简单的行的奇怪输出:

<?php echo _("You must click the link to verify your e-mail and activate your account."); ?>

结果:

msgid ""
"You must click the link to verify your e-mail and activate your account."
msgstr ""

当我删除 - 或点时,一切正常。

是否有解决方案/已知错误?我真的很困惑:)

谢谢!

最佳答案

将行更改为:

<?php echo _("You must click the link to verify your e\-mail and activate your account\."); ?>

那应该转义字符。

关于php - xgettext 给了我一个简单的行 : 的奇怪输出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16361313/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com