OrchardCoreContrib / OrchardCoreContrib.PoExtractor

Extracts localizable strings from .cs, .vb, .cshtml and .liquid files into POT files
MIT License
48 stars 35 forks source link

Wrong message context while extract localizer string in Razor pages #67

Closed dung691 closed 1 year ago

dung691 commented 1 year ago

While extract po using command:

extractpo ..\WebApplication1\WebApplication1 .\Output

The output of po file wrong msgctxt for Razor page Index

instead of msgctxt is WebApplication1.Pages.Index. it output msgctxt Pages.Index.

see attached project WebApplication1.zip

hishamco commented 1 year ago

Are you using the latest bits? If Yes we need to fix it before release 1.0.0

hishamco commented 1 year ago

@rjpowers10 did you come across this issue with the latest bits?

hishamco commented 1 year ago

There was unexpected but, I will fix it soon

hishamco commented 1 year ago

Fixed in https://github.com/OrchardCoreContrib/OrchardCoreContrib.PoExtractor/commit/441dffb51f77fc7b9520e82a1aa8c03860e50bd6