Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit942dcff

Browse files
committed
localize other project templates
1 parenta16940d commit942dcff

File tree

47 files changed

+24666
-400
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+24666
-400
lines changed

‎vsintegration/ProjectTemplates/LibraryProject/LibraryProject.csproj‎

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -28,40 +28,18 @@
2828
</PropertyGroup>
2929

3030
<ImportProject="$(FSharpSourcesRoot)\..\vsintegration\src\FSharp.Common.props" />
31-
32-
<ItemGroup>
33-
<FilesToLocalizeInclude="$(OutDir)$(TemplateCategory)\$(AssemblyName)\AssemblyInfo.fs">
34-
<TranslationFile>$(FSharpSourcesRoot)\..\loc\lcl\{Lang}\$(TemplateCategory)\$(AssemblyName)\AssemblyInfo.fs.lcl</TranslationFile>
35-
<LciCommentFile>$(FSharpSourcesRoot)\..\loc\lci\$(TemplateCategory)\$(AssemblyName)\AssemblyInfo.fs.lci</LciCommentFile>
36-
<HasLceComments>false</HasLceComments>
37-
<InProject>false</InProject>
38-
</FilesToLocalize>
39-
<FilesToLocalizeInclude="$(OutDir)$(TemplateCategory)\$(AssemblyName)\Script.fsx">
40-
<TranslationFile>$(FSharpSourcesRoot)\..\loc\lcl\{Lang}\$(TemplateCategory)\$(AssemblyName)\Script.fsx.lcl</TranslationFile>
41-
<LciCommentFile>$(FSharpSourcesRoot)\..\loc\lci\$(TemplateCategory)\$(AssemblyName)\Script.fsx.lci</LciCommentFile>
42-
<HasLceComments>false</HasLceComments>
43-
<InProject>false</InProject>
44-
</FilesToLocalize>
45-
</ItemGroup>
4631

4732
<ItemGroup>
48-
<VSTemplateInclude="Template\Library.vstemplate" />
49-
</ItemGroup>
50-
51-
<ItemGroup>
52-
<TemplateFilesInclude="Template\AssemblyInfo.fs" />
53-
<TemplateFilesInclude="Template\Library.fsproj" />
54-
<TemplateFilesInclude="Template\Library.vstemplate" />
55-
<TemplateFilesInclude="Template\Library1.fs" />
56-
<TemplateFilesInclude="Template\Script.fsx" />
33+
<VSTemplateInclude="Template\Library.vstemplate">
34+
<TranslatableResources>
35+
Template\AssemblyInfo.fs;
36+
Template\Script.fsx;
37+
</TranslatableResources>
38+
</VSTemplate>
5739
</ItemGroup>
5840

5941
<ImportProject="$(FSharpSourcesRoot)\..\vsintegration\src\FSharp.tools.targets" />
60-
<ImportProject="$(FSharpSourcesRoot)\Microbuild.Settings.targets" />
6142

6243
<TargetName="CoreCompile" />
6344

64-
<TargetName="CopyFilesToOutputDirectory"AfterTargets="CoreCompile">
65-
<CopySourceFiles="@(TemplateFiles)"DestinationFiles="@(TemplateFiles->'$(OutDir)$(TemplateCategory)\$(AssemblyName)\%(Filename)%(Extension)')" />
66-
</Target>
6745
</Project>

‎vsintegration/ProjectTemplates/LibraryProject/Template/AssemblyInfo.fs‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ open System.Reflection
44
openSystem.Runtime.CompilerServices
55
openSystem.Runtime.InteropServices
66

7-
// General Information about an assembly is controlled through the following
8-
// set of attributes. Change these attribute values to modify the information
9-
// associated with an assembly.
7+
//@@@GeneralInfo-Line1|General Information about an assembly is controlled through the following@@@
8+
//@@@GeneralInfo-Line2|set of attributes. Change these attribute values to modify the information@@@
9+
//@@@GeneralInfo-Line3|associated with an assembly.@@@
1010
[<assembly: AssemblyTitle("$projectname$")>]
1111
[<assembly: AssemblyDescription("")>]
1212
[<assembly: AssemblyConfiguration("")>]
@@ -16,23 +16,23 @@ open System.Runtime.InteropServices
1616
[<assembly: AssemblyTrademark("")>]
1717
[<assembly: AssemblyCulture("")>]
1818

19-
// Setting ComVisible to false makes the types in this assembly not visible
20-
// to COM components. If you need to access a type in this assembly from
21-
// COM, set the ComVisible attribute to true on that type.
19+
//@@@ComVisible-Line1|Setting ComVisible to false makes the types in this assembly not visible@@@
20+
//@@@ComVisible-Line2|to COM components. If you need to access a type in this assembly from@@@
21+
//@@@ComVisible-Line3|COM, set the ComVisible attribute to true on that type.@@@
2222
[<assembly: ComVisible(false)>]
2323

24-
// The following GUID is for the ID of the typelib if this project is exposed to COM
24+
//@@@Guid-Line1|The following GUID is for the ID of the typelib if this project is exposed to COM@@@
2525
[<assembly: Guid("$guid1$")>]
2626

27-
// Version information for an assembly consists of the following four values:
28-
//
29-
// Major Version
30-
// Minor Version
31-
// Build Number
32-
// Revision
33-
//
34-
// You can specify all the values or you can default the Build and Revision Numbers
35-
// by using the '*' as shown below:
27+
//@@@VersionInfo-Line1|Version information for an assembly consists of the following four values:@@@
28+
//
29+
//@@@MajorVersion|Major Version@@@
30+
//@@@MinorVersion|Minor Version@@@
31+
//@@@BuildNumber|Build Number@@@
32+
//@@@Revision|Revision@@@
33+
//
34+
//@@@VersionInfo-Line2|You can specify all the values or you can default the Build and Revision Numbers@@@
35+
//@@@VersionInfo-Line3|by using the '*' as shown below:@@@
3636
// [<assembly: AssemblyVersion("1.0.*")>]
3737
[<assembly: AssemblyVersion("1.0.0.0")>]
3838
[<assembly: AssemblyFileVersion("1.0.0.0")>]
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// Learn more about F# at http://fsharp.org. See the 'F# Tutorial' project
2-
//for more guidance onF#programming.
1+
//@@@LearnMore|Learn more about F# at http://fsharp.org@@@
2+
//@@@SeeTutorial|See the 'F#Tutorial' project for more help.@@@
33

44
#load"Library1.fs"
55
open $safeprojectname$
66

7-
// Define your library scripting code here
7+
//@@@Define|Define your library scripting code here@@@
88

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<xliffxmlns="urn:oasis:names:tc:xliff:document:1.2"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"version="1.2"xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
3+
<filedatatype="xml"source-language="en"target-language="cs"original="../AssemblyInfo.fs">
4+
<body>
5+
<trans-unitid="GeneralInfo-Line1">
6+
<source>General Information about an assembly is controlled through the following</source>
7+
<targetstate="new">General Information about an assembly is controlled through the following</target>
8+
<note />
9+
</trans-unit>
10+
<trans-unitid="GeneralInfo-Line2">
11+
<source>set of attributes. Change these attribute values to modify the information</source>
12+
<targetstate="new">set of attributes. Change these attribute values to modify the information</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unitid="GeneralInfo-Line3">
16+
<source>associated with an assembly.</source>
17+
<targetstate="new">associated with an assembly.</target>
18+
<note />
19+
</trans-unit>
20+
<trans-unitid="ComVisible-Line1">
21+
<source>Setting ComVisible to false makes the types in this assembly not visible</source>
22+
<targetstate="new">Setting ComVisible to false makes the types in this assembly not visible</target>
23+
<note />
24+
</trans-unit>
25+
<trans-unitid="ComVisible-Line2">
26+
<source>to COM components. If you need to access a type in this assembly from</source>
27+
<targetstate="new">to COM components. If you need to access a type in this assembly from</target>
28+
<note />
29+
</trans-unit>
30+
<trans-unitid="ComVisible-Line3">
31+
<source>COM, set the ComVisible attribute to true on that type.</source>
32+
<targetstate="new">COM, set the ComVisible attribute to true on that type.</target>
33+
<note />
34+
</trans-unit>
35+
<trans-unitid="Guid-Line1">
36+
<source>The following GUID is for the ID of the typelib if this project is exposed to COM</source>
37+
<targetstate="new">The following GUID is for the ID of the typelib if this project is exposed to COM</target>
38+
<note />
39+
</trans-unit>
40+
<trans-unitid="VersionInfo-Line1">
41+
<source>Version information for an assembly consists of the following four values:</source>
42+
<targetstate="new">Version information for an assembly consists of the following four values:</target>
43+
<note />
44+
</trans-unit>
45+
<trans-unitid="MajorVersion">
46+
<source>Major Version</source>
47+
<targetstate="new">Major Version</target>
48+
<note />
49+
</trans-unit>
50+
<trans-unitid="MinorVersion">
51+
<source>Minor Version</source>
52+
<targetstate="new">Minor Version</target>
53+
<note />
54+
</trans-unit>
55+
<trans-unitid="BuildNumber">
56+
<source>Build Number</source>
57+
<targetstate="new">Build Number</target>
58+
<note />
59+
</trans-unit>
60+
<trans-unitid="Revision">
61+
<source>Revision</source>
62+
<targetstate="new">Revision</target>
63+
<note />
64+
</trans-unit>
65+
<trans-unitid="VersionInfo-Line2">
66+
<source>You can specify all the values or you can default the Build and Revision Numbers</source>
67+
<targetstate="new">You can specify all the values or you can default the Build and Revision Numbers</target>
68+
<note />
69+
</trans-unit>
70+
<trans-unitid="VersionInfo-Line3">
71+
<source>by using the '*' as shown below:</source>
72+
<targetstate="new">by using the '*' as shown below:</target>
73+
<note />
74+
</trans-unit>
75+
</body>
76+
</file>
77+
</xliff>
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<xliffxmlns="urn:oasis:names:tc:xliff:document:1.2"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"version="1.2"xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
3+
<filedatatype="xml"source-language="en"target-language="de"original="../AssemblyInfo.fs">
4+
<body>
5+
<trans-unitid="GeneralInfo-Line1">
6+
<source>General Information about an assembly is controlled through the following</source>
7+
<targetstate="new">General Information about an assembly is controlled through the following</target>
8+
<note />
9+
</trans-unit>
10+
<trans-unitid="GeneralInfo-Line2">
11+
<source>set of attributes. Change these attribute values to modify the information</source>
12+
<targetstate="new">set of attributes. Change these attribute values to modify the information</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unitid="GeneralInfo-Line3">
16+
<source>associated with an assembly.</source>
17+
<targetstate="new">associated with an assembly.</target>
18+
<note />
19+
</trans-unit>
20+
<trans-unitid="ComVisible-Line1">
21+
<source>Setting ComVisible to false makes the types in this assembly not visible</source>
22+
<targetstate="new">Setting ComVisible to false makes the types in this assembly not visible</target>
23+
<note />
24+
</trans-unit>
25+
<trans-unitid="ComVisible-Line2">
26+
<source>to COM components. If you need to access a type in this assembly from</source>
27+
<targetstate="new">to COM components. If you need to access a type in this assembly from</target>
28+
<note />
29+
</trans-unit>
30+
<trans-unitid="ComVisible-Line3">
31+
<source>COM, set the ComVisible attribute to true on that type.</source>
32+
<targetstate="new">COM, set the ComVisible attribute to true on that type.</target>
33+
<note />
34+
</trans-unit>
35+
<trans-unitid="Guid-Line1">
36+
<source>The following GUID is for the ID of the typelib if this project is exposed to COM</source>
37+
<targetstate="new">The following GUID is for the ID of the typelib if this project is exposed to COM</target>
38+
<note />
39+
</trans-unit>
40+
<trans-unitid="VersionInfo-Line1">
41+
<source>Version information for an assembly consists of the following four values:</source>
42+
<targetstate="new">Version information for an assembly consists of the following four values:</target>
43+
<note />
44+
</trans-unit>
45+
<trans-unitid="MajorVersion">
46+
<source>Major Version</source>
47+
<targetstate="new">Major Version</target>
48+
<note />
49+
</trans-unit>
50+
<trans-unitid="MinorVersion">
51+
<source>Minor Version</source>
52+
<targetstate="new">Minor Version</target>
53+
<note />
54+
</trans-unit>
55+
<trans-unitid="BuildNumber">
56+
<source>Build Number</source>
57+
<targetstate="new">Build Number</target>
58+
<note />
59+
</trans-unit>
60+
<trans-unitid="Revision">
61+
<source>Revision</source>
62+
<targetstate="new">Revision</target>
63+
<note />
64+
</trans-unit>
65+
<trans-unitid="VersionInfo-Line2">
66+
<source>You can specify all the values or you can default the Build and Revision Numbers</source>
67+
<targetstate="new">You can specify all the values or you can default the Build and Revision Numbers</target>
68+
<note />
69+
</trans-unit>
70+
<trans-unitid="VersionInfo-Line3">
71+
<source>by using the '*' as shown below:</source>
72+
<targetstate="new">by using the '*' as shown below:</target>
73+
<note />
74+
</trans-unit>
75+
</body>
76+
</file>
77+
</xliff>
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<xliffxmlns="urn:oasis:names:tc:xliff:document:1.2"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"version="1.2"xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
3+
<filedatatype="xml"source-language="en"target-language="en"original="../AssemblyInfo.fs">
4+
<body>
5+
<trans-unitid="GeneralInfo-Line1">
6+
<source>General Information about an assembly is controlled through the following</source>
7+
<targetstate="new">General Information about an assembly is controlled through the following</target>
8+
<note />
9+
</trans-unit>
10+
<trans-unitid="GeneralInfo-Line2">
11+
<source>set of attributes. Change these attribute values to modify the information</source>
12+
<targetstate="new">set of attributes. Change these attribute values to modify the information</target>
13+
<note />
14+
</trans-unit>
15+
<trans-unitid="GeneralInfo-Line3">
16+
<source>associated with an assembly.</source>
17+
<targetstate="new">associated with an assembly.</target>
18+
<note />
19+
</trans-unit>
20+
<trans-unitid="ComVisible-Line1">
21+
<source>Setting ComVisible to false makes the types in this assembly not visible</source>
22+
<targetstate="new">Setting ComVisible to false makes the types in this assembly not visible</target>
23+
<note />
24+
</trans-unit>
25+
<trans-unitid="ComVisible-Line2">
26+
<source>to COM components. If you need to access a type in this assembly from</source>
27+
<targetstate="new">to COM components. If you need to access a type in this assembly from</target>
28+
<note />
29+
</trans-unit>
30+
<trans-unitid="ComVisible-Line3">
31+
<source>COM, set the ComVisible attribute to true on that type.</source>
32+
<targetstate="new">COM, set the ComVisible attribute to true on that type.</target>
33+
<note />
34+
</trans-unit>
35+
<trans-unitid="Guid-Line1">
36+
<source>The following GUID is for the ID of the typelib if this project is exposed to COM</source>
37+
<targetstate="new">The following GUID is for the ID of the typelib if this project is exposed to COM</target>
38+
<note />
39+
</trans-unit>
40+
<trans-unitid="VersionInfo-Line1">
41+
<source>Version information for an assembly consists of the following four values:</source>
42+
<targetstate="new">Version information for an assembly consists of the following four values:</target>
43+
<note />
44+
</trans-unit>
45+
<trans-unitid="MajorVersion">
46+
<source>Major Version</source>
47+
<targetstate="new">Major Version</target>
48+
<note />
49+
</trans-unit>
50+
<trans-unitid="MinorVersion">
51+
<source>Minor Version</source>
52+
<targetstate="new">Minor Version</target>
53+
<note />
54+
</trans-unit>
55+
<trans-unitid="BuildNumber">
56+
<source>Build Number</source>
57+
<targetstate="new">Build Number</target>
58+
<note />
59+
</trans-unit>
60+
<trans-unitid="Revision">
61+
<source>Revision</source>
62+
<targetstate="new">Revision</target>
63+
<note />
64+
</trans-unit>
65+
<trans-unitid="VersionInfo-Line2">
66+
<source>You can specify all the values or you can default the Build and Revision Numbers</source>
67+
<targetstate="new">You can specify all the values or you can default the Build and Revision Numbers</target>
68+
<note />
69+
</trans-unit>
70+
<trans-unitid="VersionInfo-Line3">
71+
<source>by using the '*' as shown below:</source>
72+
<targetstate="new">by using the '*' as shown below:</target>
73+
<note />
74+
</trans-unit>
75+
</body>
76+
</file>
77+
</xliff>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp