feat(i18n): seed en.json and wire locale copy to app output
This commit is contained in:
@@ -28,5 +28,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ClaudeDo.Ui\ClaudeDo.Ui.csproj" />
|
||||
<ProjectReference Include="..\ClaudeDo.Localization\ClaudeDo.Localization.csproj" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\ClaudeDo.Localization\Locales.targets" />
|
||||
</Project>
|
||||
|
||||
@@ -7,4 +7,5 @@
|
||||
<ItemGroup>
|
||||
<InternalsVisibleTo Include="ClaudeDo.Localization.Tests" />
|
||||
</ItemGroup>
|
||||
<Import Project="Locales.targets" />
|
||||
</Project>
|
||||
|
||||
7
src/ClaudeDo.Localization/Locales.targets
Normal file
7
src/ClaudeDo.Localization/Locales.targets
Normal file
@@ -0,0 +1,7 @@
|
||||
<Project>
|
||||
<ItemGroup>
|
||||
<Content Include="$(MSBuildThisFileDirectory)locales\*.json"
|
||||
Link="locales\%(Filename)%(Extension)"
|
||||
CopyToOutputDirectory="PreserveNewest" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
13
src/ClaudeDo.Localization/locales/en.json
Normal file
13
src/ClaudeDo.Localization/locales/en.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"metadata": { "code": "en", "name": "English" },
|
||||
"settings": {
|
||||
"title": "SETTINGS",
|
||||
"save": "Save",
|
||||
"cancel": "Cancel",
|
||||
"language": "Language",
|
||||
"tabGeneral": "General",
|
||||
"tabWorktrees": "Worktrees",
|
||||
"tabFiles": "Files",
|
||||
"tabPrime": "Prime Claude"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user