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

Commit4d1f050

Browse files
authored
Merge pull requestdotnet#5611 from KevinRansom/jwosty-noAsyncKeywords
Update PR: Make computation expression keyword descriptions consistent
2 parents114c6d2 +b93e535 commit4d1f050

16 files changed

+146
-146
lines changed

‎src/buildfromsource/FSharp.Compiler.Private/FSComp.resx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4147,7 +4147,7 @@
41474147
<value>Used to associate, or bind, a name to a value or function.</value>
41484148
</data>
41494149
<dataname="keywordDescriptionLetBang"xml:space="preserve">
4150-
<value>Used inasynchronous workflows to bind a name to the result of an asynchronouscomputation, or, in other computationexpressions, usedto bind a name toa result, which isofthe computationtype.</value>
4150+
<value>Used in computationexpressionsto bind a name tothe resultofanother computationexpression.</value>
41514151
</data>
41524152
<dataname="keywordDescriptionMatch"xml:space="preserve">
41534153
<value>Used to branch by comparing a value to a pattern.</value>
@@ -4198,10 +4198,10 @@
41984198
<value>Used to indicate that a function is recursive.</value>
41994199
</data>
42004200
<dataname="keywordDescriptionReturn"xml:space="preserve">
4201-
<value>Used toindicate a valueto provide asthe result ofa computation expression.</value>
4201+
<value>Used toprovide a valueforthe result ofthe containing computation expression.</value>
42024202
</data>
42034203
<dataname="keywordDescriptionReturnBang"xml:space="preserve">
4204-
<value>Used toindicate a computation expression that, when evaluated, provides the result of thecontaining computation expression.</value>
4204+
<value>Used toprovide avalue for the result of the containingcomputation expression, where that value itself comes from theresult another computation expression.</value>
42054205
</data>
42064206
<dataname="keywordDescriptionSelect"xml:space="preserve">
42074207
<value>Used in query expressions to specify what fields or columns to extract. Note that this is a contextual keyword, which means that it is not actually a reserved word and it only acts like a keyword in appropriate context.</value>
@@ -4231,7 +4231,7 @@
42314231
<value>Used instead of let for values that require Dispose to be called to free resources.</value>
42324232
</data>
42334233
<dataname="keywordDescriptionUseBang"xml:space="preserve">
4234-
<value>Used instead of let! inasynchronous workflows and othercomputation expressions for values that require Dispose to be called to free resources.</value>
4234+
<value>Used instead of let! in computation expressions for values that require Dispose to be called to free resources.</value>
42354235
</data>
42364236
<dataname="keywordDescriptionVal"xml:space="preserve">
42374237
<value>Used in a signature to indicate a value, or in a type to declare a member, in limited situations.</value>

‎src/fsharp/FSComp.txt‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ keywordDescriptionInterface,"Used to declare and implement interfaces."
13701370
keywordDescriptionInternal,"Used to specify that a member is visible inside an assembly but not outside it."
13711371
keywordDescriptionLazy,"Used to specify a computation that is to be performed only when a result is needed."
13721372
keywordDescriptionLet,"Used to associate, or bind, a name to a value or function."
1373-
keywordDescriptionLetBang,"Used inasynchronous workflows to bind a name to the result of an asynchronouscomputation, or, in other computationexpressions, usedto bind a name toa result, which isofthe computationtype."
1373+
keywordDescriptionLetBang,"Used in computationexpressionsto bind a name tothe resultofanother computationexpression."
13741374
keywordDescriptionMatch,"Used to branch by comparing a value to a pattern."
13751375
keywordDescriptionMatchBang,"Used in computation expressions to pattern match directly over the result of another computation expression."
13761376
keywordDescriptionMember,"Used to declare a property or method in an object type."
@@ -1387,8 +1387,8 @@ keywordDescriptionOverride,"Used to implement a version of an abstract or virtua
13871387
keywordDescriptionPrivate,"Restricts access to a member to code in the same type or module."
13881388
keywordDescriptionPublic,"Allows access to a member from outside the type."
13891389
keywordDescriptionRec,"Used to indicate that a function is recursive."
1390-
keywordDescriptionReturn,"Used toindicate a valueto provide asthe result ofa computation expression."
1391-
keywordDescriptionReturnBang,"Used toindicate a computation expression that, when evaluated, provides the result of thecontaining computation expression."
1390+
keywordDescriptionReturn,"Used toprovide a valueforthe result ofthe containing computation expression."
1391+
keywordDescriptionReturnBang,"Used toprovide avalue for the result of the containingcomputation expression, where that value itself comes from theresult another computation expression."
13921392
keywordDescriptionSelect,"Used in query expressions to specify what fields or columns to extract. Note that this is a contextual keyword, which means that it is not actually a reserved word and it only acts like a keyword in appropriate context."
13931393
keywordDescriptionStatic,"Used to indicate a method or property that can be called without an instance of a type, or a value member that is shared among all instances of a type."
13941394
keywordDescriptionStruct,"Used to declare a structure type. Also used in generic parameter constraints. Used for OCaml compatibility in module definitions."
@@ -1397,8 +1397,8 @@ keywordDescriptionTo,"Used in for loops to indicate a range."
13971397
keywordDescriptionTry,"Used to introduce a block of code that might generate an exception. Used together with with or finally."
13981398
keywordDescriptionType,"Used to declare a class, record, structure, discriminated union, enumeration type, unit of measure, or type abbreviation."
13991399
keywordDescriptionUpcast,"Used to convert to a type that is higher in the inheritance chain."
1400-
keywordDescriptionUse,"Used instead of let for values thatrequire Dispose to be called to free resources."
1401-
keywordDescriptionUseBang,"Used instead of let! inasynchronous workflows and othercomputation expressions forvalues that require Dispose to be called to free resources."
1400+
keywordDescriptionUse,"Used instead of let for values thatimplement IDisposable""
1401+
keywordDescriptionUseBang,"Used instead of let! in computation expressions forcomputation expression results that implement IDisposable."
14021402
keywordDescriptionVal,"Used in a signature to indicate a value, or in a type to declare a member, in limited situations."
14031403
keywordDescriptionVoid,"Indicates the .NET void type. Used when interoperating with other .NET languages."
14041404
keywordDescriptionWhen,"Used for Boolean conditions (when guards) on pattern matches and to introduce a constraint clause for a generic type parameter."

‎src/fsharp/xlf/FSComp.txt.cs.xlf‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6708,8 +6708,8 @@
67086708
<note />
67096709
</trans-unit>
67106710
<trans-unitid="keywordDescriptionLetBang">
6711-
<source>Used inasynchronous workflows to bind a name to the result of an asynchronouscomputation, or, in other computationexpressions, usedto bind a name toa result, which isofthe computationtype.</source>
6712-
<targetstate="translated">Slouží v asynchronních pracovních postupech k vytvoření vazby názvu s výsledkem asynchronního výpočtu. V jiných výrazech výpočtu se používá k vytvoření vazby názvu s výsledkem, který je výpočetního typu.</target>
6711+
<source>Used in computationexpressionsto bind a name tothe resultofanother computationexpression.</source>
6712+
<targetstate="review-required-translation">Slouží v asynchronních pracovních postupech k vytvoření vazby názvu s výsledkem asynchronního výpočtu. V jiných výrazech výpočtu se používá k vytvoření vazby názvu s výsledkem, který je výpočetního typu.</target>
67136713
<note />
67146714
</trans-unit>
67156715
<trans-unitid="keywordDescriptionMatch">
@@ -6788,13 +6788,13 @@
67886788
<note />
67896789
</trans-unit>
67906790
<trans-unitid="keywordDescriptionReturn">
6791-
<source>Used toindicate a valueto provide asthe result ofa computation expression.</source>
6792-
<targetstate="translated">Slouží k označení hodnoty, která vznikne jako výsledek výrazu výpočtu.</target>
6791+
<source>Used toprovide a valueforthe result ofthe containing computation expression.</source>
6792+
<targetstate="review-required-translation">Slouží k označení hodnoty, která vznikne jako výsledek výrazu výpočtu.</target>
67936793
<note />
67946794
</trans-unit>
67956795
<trans-unitid="keywordDescriptionReturnBang">
6796-
<source>Used toindicate a computation expression that, when evaluated, provides the result of thecontaining computation expression.</source>
6797-
<targetstate="translated">Slouží k označení výrazu výpočtu, který po vyhodnocení poskytne výsledek obsahujícího výrazu výpočtu.</target>
6796+
<source>Used toprovide avalue for the result of the containingcomputation expression, where that value itself comes from theresult another computation expression.</source>
6797+
<targetstate="review-required-translation">Slouží k označení výrazu výpočtu, který po vyhodnocení poskytne výsledek obsahujícího výrazu výpočtu.</target>
67986798
<note />
67996799
</trans-unit>
68006800
<trans-unitid="keywordDescriptionSelect">
@@ -6838,13 +6838,13 @@
68386838
<note />
68396839
</trans-unit>
68406840
<trans-unitid="keywordDescriptionUse">
6841-
<source>Used instead of let for values thatrequire Dispose to be called to free resources.</source>
6842-
<targetstate="translated">Používá se místo výrazu let u hodnot, které k uvolnění prostředků vyžadují volání funkce Dispose.</target>
6841+
<source>Used instead of let for values thatimplement IDisposable"</source>
6842+
<targetstate="needs-review-translation">Používá se místo výrazu let u hodnot, které k uvolnění prostředků vyžadují volání funkce Dispose.</target>
68436843
<note />
68446844
</trans-unit>
68456845
<trans-unitid="keywordDescriptionUseBang">
6846-
<source>Used instead of let! inasynchronous workflows and othercomputation expressions forvalues that require Dispose to be called to free resources.</source>
6847-
<targetstate="translated">Používá se místo výrazu let! v asynchronních pracovních postupech a jiných výrazech výpočtu pro hodnoty, které k uvolnění prostředků vyžadují volání funkce Dispose.</target>
6846+
<source>Used instead of let! in computation expressions forcomputation expression results that implement IDisposable.</source>
6847+
<targetstate="review-required-translation">Používá se místo výrazu let! v asynchronních pracovních postupech a jiných výrazech výpočtu pro hodnoty, které k uvolnění prostředků vyžadují volání funkce Dispose.</target>
68486848
<note />
68496849
</trans-unit>
68506850
<trans-unitid="keywordDescriptionVal">

‎src/fsharp/xlf/FSComp.txt.de.xlf‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6708,8 +6708,8 @@
67086708
<note />
67096709
</trans-unit>
67106710
<trans-unit id="keywordDescriptionLetBang">
6711-
<source>Used inasynchronous workflows to bind a name to the result of an asynchronouscomputation, or, in other computationexpressions, usedto bind a name toa result, which isofthe computationtype.</source>
6712-
<target state="translated">Wird in asynchronen Workflows verwendet, um einen Namen an das Ergebnis einer asynchronen Berechnung zu binden, oder in anderen Berechnungsausdrücken, um einen Namen an ein Ergebnis vom Berechnungstyp zu binden.</target>
6711+
<source>Used in computationexpressionsto bind a name tothe resultofanother computationexpression.</source>
6712+
<target state="review-required-translation">Wird in asynchronen Workflows verwendet, um einen Namen an das Ergebnis einer asynchronen Berechnung zu binden, oder in anderen Berechnungsausdrücken, um einen Namen an ein Ergebnis vom Berechnungstyp zu binden.</target>
67136713
<note />
67146714
</trans-unit>
67156715
<trans-unit id="keywordDescriptionMatch">
@@ -6788,13 +6788,13 @@
67886788
<note />
67896789
</trans-unit>
67906790
<trans-unit id="keywordDescriptionReturn">
6791-
<source>Used toindicate a valueto provide asthe result ofa computation expression.</source>
6792-
<target state="translated">Wird verwendet, um einen Wert anzugeben, der als Ergebnis eines Berechnungsausdrucks auszugeben ist.</target>
6791+
<source>Used toprovide a valueforthe result ofthe containing computation expression.</source>
6792+
<target state="review-required-translation">Wird verwendet, um einen Wert anzugeben, der als Ergebnis eines Berechnungsausdrucks auszugeben ist.</target>
67936793
<note />
67946794
</trans-unit>
67956795
<trans-unit id="keywordDescriptionReturnBang">
6796-
<source>Used toindicate a computation expression that, when evaluated, provides the result of thecontaining computation expression.</source>
6797-
<target state="translated">Wird verwendet, um einen Berechnungsausdruck anzugeben, der bei der Auswertung das Ergebnis ausgibt, welches den Berechnungsausdruck enthält.</target>
6796+
<source>Used toprovide avalue for the result of the containingcomputation expression, where that value itself comes from theresult another computation expression.</source>
6797+
<target state="review-required-translation">Wird verwendet, um einen Berechnungsausdruck anzugeben, der bei der Auswertung das Ergebnis ausgibt, welches den Berechnungsausdruck enthält.</target>
67986798
<note />
67996799
</trans-unit>
68006800
<trans-unit id="keywordDescriptionSelect">
@@ -6838,13 +6838,13 @@
68386838
<note />
68396839
</trans-unit>
68406840
<trans-unit id="keywordDescriptionUse">
6841-
<source>Used instead of let for values thatrequire Dispose to be called to free resources.</source>
6842-
<target state="translated">Wird anstelle von "let" für Werte verwendet, bei denen die "Dispose" zum Freigeben von Ressourcen erforderlich ist.</target>
6841+
<source>Used instead of let for values thatimplement IDisposable"</source>
6842+
<target state="needs-review-translation">Wird anstelle von "let" für Werte verwendet, bei denen die "Dispose" zum Freigeben von Ressourcen erforderlich ist.</target>
68436843
<note />
68446844
</trans-unit>
68456845
<trans-unit id="keywordDescriptionUseBang">
6846-
<source>Used instead of let! inasynchronous workflows and othercomputation expressions forvalues that require Dispose to be called to free resources.</source>
6847-
<target state="translated">Wird anstelle von "let!" in asynchronen Workflows und anderen Berechnungsausdrücken für Werte verwendet, bei denen die "Dispose" zum Freigeben von Ressourcen erforderlich ist.</target>
6846+
<source>Used instead of let! in computation expressions forcomputation expression results that implement IDisposable.</source>
6847+
<target state="review-required-translation">Wird anstelle von "let!" in asynchronen Workflows und anderen Berechnungsausdrücken für Werte verwendet, bei denen die "Dispose" zum Freigeben von Ressourcen erforderlich ist.</target>
68486848
<note />
68496849
</trans-unit>
68506850
<trans-unit id="keywordDescriptionVal">

‎src/fsharp/xlf/FSComp.txt.en.xlf‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6708,7 +6708,7 @@
67086708
<note />
67096709
</trans-unit>
67106710
<trans-unitid="keywordDescriptionLetBang">
6711-
<source>Used inasynchronous workflows to bind a name to the result of an asynchronouscomputation, or, in other computationexpressions, usedto bind a name toa result, which isofthe computationtype.</source>
6711+
<source>Used in computationexpressionsto bind a name tothe resultofanother computationexpression.</source>
67126712
<targetstate="new">Used in asynchronous workflows to bind a name to the result of an asynchronous computation, or, in other computation expressions, used to bind a name to a result, which is of the computation type.</target>
67136713
<note />
67146714
</trans-unit>
@@ -6788,12 +6788,12 @@
67886788
<note />
67896789
</trans-unit>
67906790
<trans-unitid="keywordDescriptionReturn">
6791-
<source>Used toindicate a valueto provide asthe result ofa computation expression.</source>
6791+
<source>Used toprovide a valueforthe result ofthe containing computation expression.</source>
67926792
<targetstate="new">Used to indicate a value to provide as the result of a computation expression.</target>
67936793
<note />
67946794
</trans-unit>
67956795
<trans-unitid="keywordDescriptionReturnBang">
6796-
<source>Used toindicate a computation expression that, when evaluated, provides the result of thecontaining computation expression.</source>
6796+
<source>Used toprovide avalue for the result of the containingcomputation expression, where that value itself comes from theresult another computation expression.</source>
67976797
<targetstate="new">Used to indicate a computation expression that, when evaluated, provides the result of the containing computation expression.</target>
67986798
<note />
67996799
</trans-unit>
@@ -6838,13 +6838,13 @@
68386838
<note />
68396839
</trans-unit>
68406840
<trans-unitid="keywordDescriptionUse">
6841-
<source>Used instead of let for values thatrequire Dispose to be called to free resources.</source>
6842-
<targetstate="new">Used instead of let for values thatrequire Dispose to be called to free resources.</target>
6841+
<source>Used instead of let for values thatimplement IDisposable"</source>
6842+
<targetstate="new">Used instead of let for values thatimplement IDisposable"</target>
68436843
<note />
68446844
</trans-unit>
68456845
<trans-unitid="keywordDescriptionUseBang">
6846-
<source>Used instead of let! inasynchronous workflows and othercomputation expressions forvalues that require Dispose to be called to free resources.</source>
6847-
<targetstate="new">Used instead of let! inasynchronous workflows and othercomputation expressions forvalues that require Dispose to be called to free resources.</target>
6846+
<source>Used instead of let! in computation expressions forcomputation expression results that implement IDisposable.</source>
6847+
<targetstate="new">Used instead of let! in computation expressions forcomputation expression results that implement IDisposable.</target>
68486848
<note />
68496849
</trans-unit>
68506850
<trans-unitid="keywordDescriptionVal">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp