未验证 提交 1aefc2f5 编写于 作者: C Chet Husk 提交者: GitHub

Add typecheck symbol help description (#13643)

* fix typo in ànd`keyword description name

* add description for type-test symbol
上级 c29a3329
......@@ -1384,7 +1384,7 @@ tcAnonRecdFieldNameSubset,"This anonymous record does not have enough fields. Ad
tcAnonRecdFieldNameSuperset,"This anonymous record has too many fields. Remove the extra fields %s."
tcAnonRecdFieldNameDifferent,"This is the wrong anonymous record. It should have the fields %s."
keywordDescriptionAbstract,"Indicates a method that either has no implementation in the type in which it is declared or that is virtual and has a default implementation."
keyworkDescriptionAnd,"Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters."
keywordDescriptionAnd,"Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters."
keywordDescriptionAs,"Used to give the current class object an object name. Also used to give a name to a whole pattern within a pattern match."
keywordDescriptionAssert,"Used to verify code during debugging."
keywordDescriptionBase,"Used as the name of the base class object."
......@@ -1442,6 +1442,7 @@ keywordDescriptionThen,"Used in conditional expressions. Also used to perform si
keywordDescriptionTo,"Used in for loops to indicate a range."
keywordDescriptionTry,"Used to introduce a block of code that might generate an exception. Used together with with or finally."
keywordDescriptionType,"Used to declare a class, record, structure, discriminated union, enumeration type, unit of measure, or type abbreviation."
keywordDescriptionTypeTest,"Used to check if an object is of the given type in a pattern or binding."
keywordDescriptionUpcast,"Used to convert to a type that is higher in the inheritance chain."
keywordDescriptionUse,"Used instead of let for values that implement IDisposable"
keywordDescriptionUseBang,"Used instead of let! in computation expressions for computation expression results that implement IDisposable."
......
......@@ -173,7 +173,7 @@ let IsIdentifierPartCharacter c =
let keywordsWithDescription: (string * string) list =
[
"abstract", FSComp.SR.keywordDescriptionAbstract ()
"and", FSComp.SR.keyworkDescriptionAnd ()
"and", FSComp.SR.keywordDescriptionAnd ()
"as", FSComp.SR.keywordDescriptionAs ()
"assert", FSComp.SR.keywordDescriptionAssert ()
"base", FSComp.SR.keywordDescriptionBase ()
......@@ -244,6 +244,7 @@ let keywordsWithDescription: (string * string) list =
"->", FSComp.SR.keywordDescriptionRightArrow ()
"<-", FSComp.SR.keywordDescriptionLeftArrow ()
":>", FSComp.SR.keywordDescriptionCast ()
":?", FSComp.SR.keywordDescriptionTypeTest ()
":?>", FSComp.SR.keywordDescriptionDynamicCast ()
"<@", FSComp.SR.keywordDescriptionTypedQuotation ()
"@>", FSComp.SR.keywordDescriptionTypedQuotation ()
......
......@@ -357,6 +357,11 @@
<target state="translated">Klíčové slovo, které specifikuje konstantní literál jako argument parametru typu v poskytovatelích typů</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">Bajtový řetězec se nedá interpolovat.</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">Označuje metodu, která buď nemá implementaci v typu, ve kterém je deklarovaná, nebo která je virtuální a má výchozí implementaci.</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">Používá se ve vzájemně rekurzivních vazbách, v deklaracích vlastností a s několika omezeními u generických parametrů.</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">Schlüsselwort, um ein konstantes Literal als Typparameterargument in Typanbietern anzugeben.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">Eine Bytezeichenfolge darf nicht interpoliert werden.</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">Gibt eine Methode an, die entweder im Typ, in dem sie deklariert wird, über keine Implementierung verfügt oder die virtuell ist und über eine Standardimplementierung verfügt.</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">Wird in gegenseitig rekursiven Bindungen, in Eigenschaftendeklarationen und bei mehreren Beschränkungen in Bezug auf generische Parameter verwendet.</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">Palabra clave para especificar un literal de constante como argumento de parámetro de tipo en los proveedores de tipo.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">no se puede interpolar una cadena de bytes</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">Indica un método que no tiene ninguna implementación en el tipo en el que se declara o un método que es virtual y tiene una implementación predeterminada.</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">Se usa en enlaces mutuamente recursivos, en declaraciones de propiedad y con varias restricciones en parámetros genéricos.</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">Mot clé permettant de spécifier une constante littérale en tant qu'argument de paramètre de type dans les fournisseurs de types.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">une chaîne d'octets ne peut pas être interpolée</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">Indique une méthode qui n'a aucune implémentation dans le type dans lequel elle est déclarée, ou qui est virtuelle avec une implémentation par défaut.</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">Utilisé dans les liaisons mutuellement récursives, dans les déclarations de propriété et avec plusieurs contraintes sur des paramètres génériques.</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">Parola chiave per specificare un valore letterale di costante come argomento del parametro di tipo in Provider di tipi.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">non è possibile interpolare una stringa di byte</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">Indica un metodo per il quale non esiste alcuna implementazione nel tipo in cui viene dichiarato oppure che è virtuale e per il quale esiste un'implementazione predefinita.</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">Usata in binding ricorsivi reciproci, dichiarazioni di proprietà e con più vincoli su parametri generici.</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">定数リテラルを型プロバイダーの型パラメーター引数として指定するキーワード。</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">バイト文字列は補間されていない可能性があります</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">宣言された型に実装がないメソッド、または既定の実装がある仮想のメソッドを示します。</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">相互に再帰的なバインディング、プロパティの宣言、およびジェネリック パラメーターの複数の制約に使用します。</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">상수 리터럴을 형식 공급자의 형식 매개 변수 인수로 지정하는 키워드입니다.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">바이트 문자열을 보간하지 못할 수 있습니다.</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">선언된 형식에 구현이 없는 메서드 또는 기본 구현이 있는 가상 메서드를 나타냅니다.</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">상호 재귀적 바인딩과 속성 선언에 사용되며 제네릭 매개 변수의 여러 제약 조건과 함께 사용됩니다.</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">Słowo kluczowe na potrzeby określania literału stałej jako argumentu parametru typu w przypadku dostawców typów.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">ciąg bajtowy nie może być interpolowany</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">Wskazuje metodę, która nie ma implementacji w typie, w którym została zadeklarowana, lub jest wirtualna i ma implementację domyślną.</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">Używane w powiązaniach wzajemnie cyklicznych, deklaracjach właściwości oraz z wieloma ograniczeniami parametrów ogólnych.</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">Palavra-chave para especificar um literal constante como um argumento de parâmetro de tipo nos Provedores de Tipo.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">uma cadeia de caracteres de byte não pode ser interpolada</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">Indica um método que não tem implementação no tipo no qual ele é declarado ou que é virtual e tem uma implementação padrão.</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">Usado em associações mutualmente recursivas, em declarações de propriedade e em múltiplas restrições em parâmetros genéricos.</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">Ключевое слово для указания константного литерала в качестве аргумента параметра типа в поставщиках типов.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">невозможно выполнить интерполяцию для строки байтов</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">Обозначает метод, который не имеет реализации в типе, в котором он объявлен, или является виртуальным и имеет реализацию по умолчанию.</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">Используется во взаимно рекурсивных привязках, объявлениях свойств и с несколькими ограничениями для универсальных параметров.</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">Tür Sağlayıcılarında tür parametresi bağımsız değişkeni olarak sabit değişmez değeri belirtmek için anahtar sözcük.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">bir bayt dizesi, düz metin arasına kod eklenerek kullanılamaz</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">İçinde bildirildiği türde hiç uygulaması olmayan veya sanal olup varsayılan uygulaması olan bir metodu belirtir.</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">Karşılıklı yinelemeli bağlamalarda, özellik bildirimlerinde ve genel parametreler üzerinde birden çok kısıtlamayla kullanılır.</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">用于将常量文本指定为类型提供程序中的类型形参实参的关键字。</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">不能内插字节字符串</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">表示一种方法,该方法在进行声明的类型中没有任何实现,或该方法为虚拟方法且包含默认实现。</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">用于互相递归绑定、属性声明,并用于对泛型参数的多个约束。</target>
<note />
......
......@@ -357,6 +357,11 @@
<target state="translated">用於在型別提供者中,將常數常值指定為型別參數引數的關鍵字。</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionTypeTest">
<source>Used to check if an object is of the given type in a pattern or binding.</source>
<target state="new">Used to check if an object is of the given type in a pattern or binding.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="translated">位元組字串不能是插補字串</target>
......@@ -7442,7 +7447,7 @@
<target state="translated">指出方法,此方法可能在其宣告的類型中沒有實作,或者是虛擬方法而具有預設實作。</target>
<note />
</trans-unit>
<trans-unit id="keyworkDescriptionAnd">
<trans-unit id="keywordDescriptionAnd">
<source>Used in mutually recursive bindings, in property declarations, and with multiple constraints on generic parameters.</source>
<target state="translated">用於互相遞迴的繫結、屬性宣告,以及搭配泛型參數的多個條件約束。</target>
<note />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册