[英]How to disable references in poedit
如何禁用添加對* .po文件的引用? 在POedit中?
poedit添加引用,但不需要引用。
我的gettext文件的示例:
#: ../../../tests/cases/Command/SysInfoTest.php:49
#: ../../../tests/cases/Command/SysInfoTest.php:238
#: ../../../tests/cases/Command/SysInfoTest.php:248
msgid "ERROR__SYSINFO__INVALID_SAVE_PATH"
msgstr "The source type for the request is invalid."
這就是我想要的:
msgid "ERROR__SYSINFO__INVALID_SAVE_PATH"
msgstr "The source type for the request is invalid."
有什么解決辦法嗎? 還是我需要手動解析和刪除引用?
GNU gettext手冊記錄了xgettext
的--no-location
標志,該標志恰好滿足您的要求。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.