-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix localization rule \Localization\[CultureName]\[ModuleId].po #16419
Changes from all commits
40898cf
a5d3281
c3dda09
f0aed7a
b9bf8bf
247011c
5656aa4
fc0a885
e5f756b
e7e5867
bc73079
398141b
314bd0b
fb212c2
4969c0e
51b4481
be6222a
39124a1
648eb28
83bfaf4
66b500c
95b1b54
42d7293
58785a6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
msgctxt "OrchardCore.Tests.Localization.LocalizationManagerTests" | ||
msgid "hello!" | ||
msgstr "Hello en !" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
msgctxt "OrchardCore.Tests.Localization.LocalizationManagerTests" | ||
msgid "hello!" | ||
msgstr "你好!" |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,12 @@ | |
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="Localization\*\OrchardCore.Tests.po"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
Comment on lines
+83
to
+88
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No need, you can add them as embedded resources There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They are not same. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why do we need to preserve the newest? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because the target rule needs to copy it to the output directory. |
||
<Import Project="..\..\src\OrchardCore.Build\OrchardCore.Commons.targets" /> | ||
|
||
</Project> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must do this, or you will lose the PO files. You can try it.