Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Fix for gettext with defined text_domain #62

Merged
merged 1 commit into from
May 17, 2017

Conversation

ma-si
Copy link
Contributor

@ma-si ma-si commented Jan 10, 2017

Ex. 1 - Missing translations with defined text_domain in PoEdit Source keywords:
translate:1,2c
translatePlural:1,2,4c

Ex. 2 - Working PoEdit Source keywords (but without text_domain):
translate:1
translatePlural:1,2

Cause:
Gettext with defined text_domain gives \x04' EOT in storage array key Ex. 1 ui\x04name Ex. 2name`

Resolves #53

Ex. 1 - Missing translations with defined text_domain in PoEdit Source keywords:
`translate:1,2c`
`translatePlural:1,2,4c`

Ex. 2 - Working PoEdit Source keywords (but without text_domain):
`translate:1`
`translatePlural:1,2`

Cause:
Gettext with defined text_domain gives `\x04' EOT in storage array key
Ex. 1 `ui\x04name`
Ex. 2`name`

Resolves zendframework#53
@weierophinney weierophinney added this to the 2.7.4 milestone May 17, 2017
@weierophinney weierophinney merged commit b4f3109 into zendframework:master May 17, 2017
weierophinney added a commit that referenced this pull request May 17, 2017
Fix for gettext with defined text_domain
weierophinney added a commit that referenced this pull request May 17, 2017
weierophinney added a commit that referenced this pull request May 17, 2017
weierophinney added a commit that referenced this pull request May 17, 2017
@weierophinney
Copy link
Member

Thanks, @ma-si

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

Successfully merging this pull request may close these issues.

2 participants