Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Duplicate message definition error when generating .po file. #215

Closed
cryptonerdcn opened this issue Oct 13, 2023 · 2 comments
Closed

Duplicate message definition error when generating .po file. #215

cryptonerdcn opened this issue Oct 13, 2023 · 2 comments

Comments

@cryptonerdcn
Copy link
Contributor

In some environments, trying to run the generating language .po file command will cause an error like this:

po/messages.pot:964: duplicate message definition...
po/messages.pot:3: ...this is the location of the first definition

It looks like:

#: src/ch01-00-getting-started.md:13
#: src/ch01-00-getting-started.md:127
#: src/ch02-07-starknet-js.md:11
#: src/ch03-00-architecture.md:26
#: src/ch03-02-sequencers.md:52
#: src/ch03-02-sequencers.md:211
#: src/ch03-04-nodes.md:66
#: src/ch03-04-nodes.md:350
#: src/ch03-04-nodes.md:420
#: src/ch03-05-layer-3.md:18
msgid ""
msgstr ""

It was because of this. google/mdbook-i18n-helpers#64

@cryptonerdcn
Copy link
Contributor Author

Will be fixed by #214

@omarespejel
Copy link
Collaborator

Fixed by @cryptonerdcn, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants