leonelquinteros / gotext

Go (Golang) GNU gettext utilities package
Other
432 stars 58 forks source link

GetN and GetNC don't honor domain package variable set by SetDomain() #14

Closed leonelquinteros closed 6 years ago

leonelquinteros commented 6 years ago

Please describe your issue

Is this a bug, an improvement, a proposal or something else?

Briefly explain your issue

Using the global package functions GetN() and GetNC() after setting a different domain than "default", these functions still load translations from the "default" domain.

What's the expected behaviour?

That the mentioned functions load the translations from the domain set by SetDomain()

What's the actual behaviour?

They still load translations from the "default" domain.

What are the steps to reproduce the actual behaviour?

Comments