Skip to content

Commit

Permalink
Error message was not direct enough. (#4183)
Browse files Browse the repository at this point in the history
* Fixed error message to be more direct.

* update xlf
  • Loading branch information
voronoipotato authored and KevinRansom committed Oct 3, 2018
1 parent 99c667b commit ad11b5a
Show file tree
Hide file tree
Showing 15 changed files with 58 additions and 58 deletions.
4 changes: 2 additions & 2 deletions src/fsharp/FSComp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1040,8 +1040,8 @@ lexHashBangMustBeFirstInFile,"#! may only appear as the first line at the start
1186,parsInvalidProperty,"Invalid property getter or setter"
1187,parsIndexerPropertyRequiresAtLeastOneArgument,"An indexer property must be given at least one argument"
1188,tastInvalidAddressOfMutableAcrossAssemblyBoundary,"This operation accesses a mutable top-level value defined in another assembly in an unsupported way. The value cannot be accessed through its address. Consider copying the expression to a mutable local, e.g. 'let mutable x = ...', and if necessary assigning the value back after the completion of the operation"
1189,parsNonAdjacentTypars,"Type parameters must be placed directly adjacent to the type name, e.g. \"type C<'T>\", not type \"C <'T>\""
1190,parsNonAdjacentTyargs,"Type arguments must be placed directly adjacent to the type name, e.g. \"C<'T>\", not \"C <'T>\""
1189,parsNonAdjacentTypars,"Remove spaces between the type name and type parameter, e.g. \"type C<'T>\", not type \"C <'T>\". Type parameters must be placed directly adjacent to the type name."
1190,parsNonAdjacentTyargs,"Remove spaces between the type name and type parameter, e.g. \"C<'T>\", not \"C <'T>\". Type parameters must be placed directly adjacent to the type name."
parsNonAtomicType,"The use of the type syntax 'int C' and 'C <int>' is not permitted here. Consider adjusting this type to be written in the form 'C<int>'"
# 1191,tastUndefinedTyconItemField,"The type %s did not contain the field '%s'"
# 1192,tastUndefinedTyconItemUnionCase,"The type %s did not contain the union case '%s'"
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/xlf/FSComp.txt.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5123,13 +5123,13 @@
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTypars">
<source>Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</source>
<target state="translated">Parametry typu je potřeba zadat bezprostředně za název typu, třeba \"type C&lt;'T&gt;\", ne type \"C &lt;'T&gt;\".</target>
<source>Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Parametry typu je potřeba zadat bezprostředně za název typu, třeba \"type C&lt;'T&gt;\", ne type \"C &lt;'T&gt;\".</target>
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTyargs">
<source>Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</source>
<target state="translated">Argumenty typu je potřeba zadat bezprostředně za název typu, třeba \"C&lt;'T&gt;\", ne \"C &lt;'T&gt;\".</target>
<source>Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Argumenty typu je potřeba zadat bezprostředně za název typu, třeba \"C&lt;'T&gt;\", ne \"C &lt;'T&gt;\".</target>
<note />
</trans-unit>
<trans-unit id="parsNonAtomicType">
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/xlf/FSComp.txt.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5123,13 +5123,13 @@
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTypars">
<source>Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</source>
<target state="translated">Typparameter müssen direkt neben dem Typnamen platziert werden, z.B. \"type C&lt;'T&gt;\", nicht type \"C &lt;'T&gt;\".</target>
<source>Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Typparameter müssen direkt neben dem Typnamen platziert werden, z.B. \"type C&lt;'T&gt;\", nicht type \"C &lt;'T&gt;\".</target>
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTyargs">
<source>Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</source>
<target state="translated">Typargumente müssen direkt neben dem Typnamen platziert werden. Beispiel: \"C&lt;'T&gt;\", nicht \"C &lt;'T&gt;\".</target>
<source>Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Typargumente müssen direkt neben dem Typnamen platziert werden. Beispiel: \"C&lt;'T&gt;\", nicht \"C &lt;'T&gt;\".</target>
<note />
</trans-unit>
<trans-unit id="parsNonAtomicType">
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/xlf/FSComp.txt.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5123,13 +5123,13 @@
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTypars">
<source>Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</source>
<target state="new">Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</target>
<source>Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="new">Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</target>
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTyargs">
<source>Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</source>
<target state="new">Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</target>
<source>Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="new">Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</target>
<note />
</trans-unit>
<trans-unit id="parsNonAtomicType">
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/xlf/FSComp.txt.es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5123,13 +5123,13 @@
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTypars">
<source>Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</source>
<target state="translated">Los parámetros de tipo se deben colocar directamente adyacentes al nombre de tipo; por ejemplo, \"type C&lt;'T&gt;\", no type \"C &lt;'T&gt;\".</target>
<source>Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Los parámetros de tipo se deben colocar directamente adyacentes al nombre de tipo; por ejemplo, \"type C&lt;'T&gt;\", no type \"C &lt;'T&gt;\".</target>
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTyargs">
<source>Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</source>
<target state="translated">Los argumentos de tipo se deben colocar directamente adyacentes al nombre de tipo; por ejemplo, \"C&lt;'T&gt;\", no \"C &lt;'T&gt;\".</target>
<source>Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Los argumentos de tipo se deben colocar directamente adyacentes al nombre de tipo; por ejemplo, \"C&lt;'T&gt;\", no \"C &lt;'T&gt;\".</target>
<note />
</trans-unit>
<trans-unit id="parsNonAtomicType">
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/xlf/FSComp.txt.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5123,13 +5123,13 @@
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTypars">
<source>Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</source>
<target state="translated">Les paramètres de type doivent être directement adjacents au nom de type, par exemple \"type C&lt;'T&gt;\" et non type \"C &lt;'T&gt;\"</target>
<source>Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Les paramètres de type doivent être directement adjacents au nom de type, par exemple \"type C&lt;'T&gt;\" et non type \"C &lt;'T&gt;\"</target>
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTyargs">
<source>Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</source>
<target state="translated">Les arguments de type doivent être directement adjacents au nom de type, par exemple \"C&lt;'T&gt;\" et non \"C &lt;'T&gt;\"</target>
<source>Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Les arguments de type doivent être directement adjacents au nom de type, par exemple \"C&lt;'T&gt;\" et non \"C &lt;'T&gt;\"</target>
<note />
</trans-unit>
<trans-unit id="parsNonAtomicType">
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/xlf/FSComp.txt.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5123,13 +5123,13 @@
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTypars">
<source>Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</source>
<target state="translated">I parametri di tipo devono trovarsi immediatamente accanto al nome del tipo, ad esempio \"type C&lt;'T&gt;\", non type \"C &lt;'T&gt;\"</target>
<source>Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">I parametri di tipo devono trovarsi immediatamente accanto al nome del tipo, ad esempio \"type C&lt;'T&gt;\", non type \"C &lt;'T&gt;\"</target>
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTyargs">
<source>Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</source>
<target state="translated">Gli argomenti tipo devono trovarsi immediatamente accanto al nome del tipo, ad esempio \"C&lt;'T&gt;\", non \"C &lt;'T&gt;\"</target>
<source>Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Gli argomenti tipo devono trovarsi immediatamente accanto al nome del tipo, ad esempio \"C&lt;'T&gt;\", non \"C &lt;'T&gt;\"</target>
<note />
</trans-unit>
<trans-unit id="parsNonAtomicType">
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/xlf/FSComp.txt.ja.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5123,13 +5123,13 @@
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTypars">
<source>Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</source>
<target state="translated">型パラメーターと型名は隣接している必要があります。たとえば、type \"C &lt;'T&gt;\" ではなく \"type C&lt;'T&gt;\" と指定します。</target>
<source>Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">型パラメーターと型名は隣接している必要があります。たとえば、type \"C &lt;'T&gt;\" ではなく \"type C&lt;'T&gt;\" と指定します。</target>
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTyargs">
<source>Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</source>
<target state="translated">型引数と型名は隣接している必要があります。たとえば、\"C &lt;'T&gt;\" ではなく \"C&lt;'T&gt;\" と指定します。</target>
<source>Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">型引数と型名は隣接している必要があります。たとえば、\"C &lt;'T&gt;\" ではなく \"C&lt;'T&gt;\" と指定します。</target>
<note />
</trans-unit>
<trans-unit id="parsNonAtomicType">
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/xlf/FSComp.txt.ko.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5123,13 +5123,13 @@
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTypars">
<source>Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</source>
<target state="translated">형식 매개 변수는 형식 이름 바로 옆에 배치해야 합니다(예: type \"C &lt;'T&gt;\"가 아니라 \"type C&lt;'T&gt;\").</target>
<source>Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">형식 매개 변수는 형식 이름 바로 옆에 배치해야 합니다(예: type \"C &lt;'T&gt;\"가 아니라 \"type C&lt;'T&gt;\").</target>
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTyargs">
<source>Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</source>
<target state="translated">형식 인수는 형식 이름 바로 옆에 배치해야 합니다(예: \"C &lt;'T&gt;\"가 아니라 \"C&lt;'T&gt;\").</target>
<source>Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">형식 인수는 형식 이름 바로 옆에 배치해야 합니다(예: \"C &lt;'T&gt;\"가 아니라 \"C&lt;'T&gt;\").</target>
<note />
</trans-unit>
<trans-unit id="parsNonAtomicType">
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/xlf/FSComp.txt.pl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5123,13 +5123,13 @@
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTypars">
<source>Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</source>
<target state="translated">Parametry typu muszą być umieszczone w bezpośrednim sąsiedztwie nazwy typu (np. \"type C&lt;'T&gt;\", a nie type \"C &lt;'T&gt;\")</target>
<source>Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Parametry typu muszą być umieszczone w bezpośrednim sąsiedztwie nazwy typu (np. \"type C&lt;'T&gt;\", a nie type \"C &lt;'T&gt;\")</target>
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTyargs">
<source>Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</source>
<target state="translated">Argumenty typu muszą być umieszczone w bezpośrednim sąsiedztwie nazwy typu (np. \"C&lt;'T&gt;\", a nie \"C &lt;'T&gt;\")</target>
<source>Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Argumenty typu muszą być umieszczone w bezpośrednim sąsiedztwie nazwy typu (np. \"C&lt;'T&gt;\", a nie \"C &lt;'T&gt;\")</target>
<note />
</trans-unit>
<trans-unit id="parsNonAtomicType">
Expand Down
8 changes: 4 additions & 4 deletions src/fsharp/xlf/FSComp.txt.pt-BR.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -5123,13 +5123,13 @@
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTypars">
<source>Type parameters must be placed directly adjacent to the type name, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\"</source>
<target state="translated">Parâmetros de tipo devem ser colocados diretamente ao lado do nome do tipo, por exemplo: \"type C&lt;'T&gt;\", não type \"C &lt;'T&gt;\"</target>
<source>Remove spaces between the type name and type parameter, e.g. \"type C&lt;'T&gt;\", not type \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Parâmetros de tipo devem ser colocados diretamente ao lado do nome do tipo, por exemplo: \"type C&lt;'T&gt;\", não type \"C &lt;'T&gt;\"</target>
<note />
</trans-unit>
<trans-unit id="parsNonAdjacentTyargs">
<source>Type arguments must be placed directly adjacent to the type name, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\"</source>
<target state="translated">Argumentos de tipo devem ser colocados diretamente ao lado do nome do tipo, por exemplo: \"C&lt;'T&gt;\", não \"C &lt;'T&gt;\"</target>
<source>Remove spaces between the type name and type parameter, e.g. \"C&lt;'T&gt;\", not \"C &lt;'T&gt;\". Type parameters must be placed directly adjacent to the type name.</source>
<target state="needs-review-translation">Argumentos de tipo devem ser colocados diretamente ao lado do nome do tipo, por exemplo: \"C&lt;'T&gt;\", não \"C &lt;'T&gt;\"</target>
<note />
</trans-unit>
<trans-unit id="parsNonAtomicType">
Expand Down
Loading

0 comments on commit ad11b5a

Please sign in to comment.