From fc5e9eda234e2b69aa479f4f83faddc31fdd4da7 Mon Sep 17 00:00:00 2001 From: dotnet bot Date: Wed, 31 Jan 2024 07:07:28 -0800 Subject: [PATCH 1/4] Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2366586 (#16625) * Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2366586 * Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2366586 * Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2366586 * Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2366586 --- src/Compiler/xlf/FSComp.txt.cs.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.de.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.es.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.fr.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.it.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.ja.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.ko.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.pl.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.pt-BR.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.ru.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.tr.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.zh-Hans.xlf | 8 +-- src/Compiler/xlf/FSComp.txt.zh-Hant.xlf | 8 +-- src/Compiler/xlf/FSStrings.cs.xlf | 10 ++-- src/Compiler/xlf/FSStrings.de.xlf | 10 ++-- src/Compiler/xlf/FSStrings.es.xlf | 10 ++-- src/Compiler/xlf/FSStrings.fr.xlf | 10 ++-- src/Compiler/xlf/FSStrings.it.xlf | 10 ++-- src/Compiler/xlf/FSStrings.ja.xlf | 10 ++-- src/Compiler/xlf/FSStrings.ko.xlf | 10 ++-- src/Compiler/xlf/FSStrings.pl.xlf | 10 ++-- src/Compiler/xlf/FSStrings.pt-BR.xlf | 10 ++-- src/Compiler/xlf/FSStrings.ru.xlf | 10 ++-- src/Compiler/xlf/FSStrings.tr.xlf | 10 ++-- src/Compiler/xlf/FSStrings.zh-Hans.xlf | 10 ++-- src/Compiler/xlf/FSStrings.zh-Hant.xlf | 10 ++-- .../FSharp.Editor/xlf/FSharp.Editor.cs.xlf | 56 +++++++++--------- .../FSharp.Editor/xlf/FSharp.Editor.de.xlf | 56 +++++++++--------- .../FSharp.Editor/xlf/FSharp.Editor.es.xlf | 58 +++++++++---------- .../FSharp.Editor/xlf/FSharp.Editor.fr.xlf | 58 +++++++++---------- .../FSharp.Editor/xlf/FSharp.Editor.it.xlf | 56 +++++++++--------- .../FSharp.Editor/xlf/FSharp.Editor.ja.xlf | 56 +++++++++--------- .../FSharp.Editor/xlf/FSharp.Editor.ko.xlf | 57 +++++++++--------- .../FSharp.Editor/xlf/FSharp.Editor.pl.xlf | 56 +++++++++--------- .../FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf | 58 +++++++++---------- .../FSharp.Editor/xlf/FSharp.Editor.ru.xlf | 56 +++++++++--------- .../FSharp.Editor/xlf/FSharp.Editor.tr.xlf | 56 +++++++++--------- .../xlf/FSharp.Editor.zh-Hans.xlf | 58 +++++++++---------- .../xlf/FSharp.Editor.zh-Hant.xlf | 58 +++++++++---------- .../src/FSharp.UIResources/xlf/Strings.cs.xlf | 6 +- .../src/FSharp.UIResources/xlf/Strings.de.xlf | 6 +- .../src/FSharp.UIResources/xlf/Strings.es.xlf | 6 +- .../src/FSharp.UIResources/xlf/Strings.fr.xlf | 6 +- .../src/FSharp.UIResources/xlf/Strings.it.xlf | 6 +- .../src/FSharp.UIResources/xlf/Strings.ja.xlf | 6 +- .../src/FSharp.UIResources/xlf/Strings.ko.xlf | 6 +- .../src/FSharp.UIResources/xlf/Strings.pl.xlf | 6 +- .../FSharp.UIResources/xlf/Strings.pt-BR.xlf | 6 +- .../src/FSharp.UIResources/xlf/Strings.ru.xlf | 6 +- .../src/FSharp.UIResources/xlf/Strings.tr.xlf | 6 +- .../xlf/Strings.zh-Hans.xlf | 6 +- .../xlf/Strings.zh-Hant.xlf | 6 +- 52 files changed, 524 insertions(+), 527 deletions(-) diff --git a/src/Compiler/xlf/FSComp.txt.cs.xlf b/src/Compiler/xlf/FSComp.txt.cs.xlf index a54b08e6445..6154aba5389 100644 --- a/src/Compiler/xlf/FSComp.txt.cs.xlf +++ b/src/Compiler/xlf/FSComp.txt.cs.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. zkrácenou syntaxi pro funkce lambda lze použít pouze s atomickými výrazy. To znamená výrazy bez prázdných znaků, pokud nejsou uzavřené v závorkách. + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - Pro F#7 a nižší se definice statických hodnot dají použít jenom v typech s primárním konstruktorem ('type X(args) = ...'). Pokud je chcete povolit ve všech ostatních typech, použijte jazykovou verzi „preview“. + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - Nejde volat metodu rozšíření byref {0}. První parametr vyžaduje, aby hodnota byla měnitelná nebo typu byref, která není jen pro čtení. + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - Klíč správce balíčků „{0}“ nebyl v {1} zaregistrován. Aktuálně zaregistrováno: {2}. Další informace o rozšířeních najdete tady: https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.de.xlf b/src/Compiler/xlf/FSComp.txt.de.xlf index 03500b4769b..de9a155d2c0 100644 --- a/src/Compiler/xlf/FSComp.txt.de.xlf +++ b/src/Compiler/xlf/FSComp.txt.de.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - Die Kurzschreibweise _. für Lambdafunktionen kann nur mit atomischen Ausdrücken verwendet werden. Damit sind Ausdrücke ohne Leerraumzeichen oder in Klammern eingeschlossene Ausdrücke gemeint. + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - Für F# 7 und früher dürfen statische Wertdefinitionen nur in Typen mit einem primären Konstruktor verwendet werden (type X(args) = ...). Um sie in anderen Typen zu aktivieren, verwenden Sie die Sprachversion "preview". + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - Die ByRef-Erweiterungsmethode "{0}" kann nicht aufgerufen werden. Für den ersten Parameter muss der Wert änderbar sein oder einem nicht schreibgeschützten ByRef-Typ entsprechen. + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - Der Paket-Manager-Schlüssel "{0}" wurde nicht in "{1}" registriert. Zurzeit registriert: {2}. Weitere Informationen zu Erweiterungen finden Sie unter: https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.es.xlf b/src/Compiler/xlf/FSComp.txt.es.xlf index 4b17bd994fa..8e313861be2 100644 --- a/src/Compiler/xlf/FSComp.txt.es.xlf +++ b/src/Compiler/xlf/FSComp.txt.es.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. la sintaxis abreviada para las funciones lambda solo se puede usar con expresiones atómicas. Esto significa expresiones sin espacios en blanco a menos que se incluyan entre paréntesis. + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - Para F#7 y versiones anteriores, las definiciones de valores estáticos solo se pueden usar en tipos con un constructor principal ('type X(args) = ...'). Para habilitarlos en todos los demás tipos, use la versión de idioma "preview". + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - No se puede llamar al método de extensión de byref "{0}". El primer parámetro requiere que el valor sea mutable o un tipo de byref que no sea de solo lectura. + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - La clave del administrador de paquetes "{0}" no se registró en {1}. Registrado actualmente: {2}. Para obtener más información sobre las extensiones, visite https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.fr.xlf b/src/Compiler/xlf/FSComp.txt.fr.xlf index 9519eb05fd1..a0fc3d2e981 100644 --- a/src/Compiler/xlf/FSComp.txt.fr.xlf +++ b/src/Compiler/xlf/FSComp.txt.fr.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. La syntaxe abrégée pour les fonctions lambda ne peut être utilisée qu'avec des expressions atomiques. Cela signifie des expressions sans espace, sauf si elles sont placées entre parenthèses. + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - Pour F#7 et versions antérieures, les définitions de valeurs statiques ne peuvent être utilisées que dans les types avec un constructeur principal (« type X(args) = ... »). Pour les activer dans tous les autres types, utilisez la version linguistique « aperçu ». + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - Impossible d’appeler la méthode d’extension byref « {0} ». Le premier paramètre nécessite que la valeur soit mutable ou un type byref autre qu'en lecture seule. + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - La clé du gestionnaire de packages « {0} » n'a pas été enregistrée dans {1}. Actuellement inscrit : {2}. Pour en savoir plus sur les extensions, visitez : https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.it.xlf b/src/Compiler/xlf/FSComp.txt.it.xlf index 4798cd9e0e7..cdd2fd7170b 100644 --- a/src/Compiler/xlf/FSComp.txt.it.xlf +++ b/src/Compiler/xlf/FSComp.txt.it.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - la sintassi abbreviata _.per le funzioni lambda può essere usata solo con espressioni atomiche. Ciò significa espressioni senza spazi vuoti a meno che non siano racchiuse tra parentesi. + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - Per F#7 e versioni precedenti, le definizioni di valori statici possono essere usate solo in tipi con un costruttore primario ('type X(args) = ...'). Per abilitarli in tutti gli altri tipi, usare la versione di "anteprima" del linguaggio. + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - Non è possibile chiamare il metodo di estensione byref '{0}. Il valore del primo parametro deve essere modificabile oppure un tipo byref non di sola lettura. + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - La chiave "'{0}" del gestione pacchetti non è stata registrata in {1}. Attualmente registrata: {2}. Per altre informazioni sulle estensioni, vedere: https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.ja.xlf b/src/Compiler/xlf/FSComp.txt.ja.xlf index 463988ec5af..250939459cd 100644 --- a/src/Compiler/xlf/FSComp.txt.ja.xlf +++ b/src/Compiler/xlf/FSComp.txt.ja.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _.ラムダ関数の短縮形構文は、アトミック式でのみ使用できます。つまり、かっこで囲まれていない限り、空白を含む式はありません。 + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - F#7 以前の場合、静的な値の定義は、プライマリ コンストラクター ('type X(args) = ...') を持つ型でのみ使用できます。他のすべての種類で有効にするには、言語バージョン 'preview' を使用します。 + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - byref 拡張メソッド '{0} を呼び出すことはできません。最初のパラメーターでは、値を変更可能な byref 型または読み取り専用以外の byref 型にする必要があります。 + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - パッケージ マネージャー キー '{0}' は {1} に登録されませんでした。現在登録済み: {2}。拡張機能の詳細については、次を参照してください: https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.ko.xlf b/src/Compiler/xlf/FSComp.txt.ko.xlf index dac845f2153..8c7f5fa816c 100644 --- a/src/Compiler/xlf/FSComp.txt.ko.xlf +++ b/src/Compiler/xlf/FSComp.txt.ko.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. 람다 함수의 약식 구문은 원자 표현식에만 사용할 수 있습니다. 이는 괄호로 묶지 않는 한 공백이 없는 표현식을 의미합니다. + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - F#7 이하의 경우 정적 값 정의는 기본 생성자('type X(args) = ...')가 있는 형식에서만 사용할 수 있습니다. 다른 모든 형식에서 사용하도록 설정하려면 언어 버전 '미리 보기'를 사용합니다. + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - byref 확장 메서드 '{0}'을(를) 호출할 수 없습니다. 첫 번째 매개 변수는 변경할 수 있거나 읽기 전용이 아닌 byref 형식인 값이 필요합니다. + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - 패키지 관리자 키 '{0}'이(가) {1}에서 등록되지 않았습니다. 현재 등록: {2}. 확장에 대한 자세한 내용은 다음을 참조하세요. https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.pl.xlf b/src/Compiler/xlf/FSComp.txt.pl.xlf index 797e962e6e7..9f2d27a6616 100644 --- a/src/Compiler/xlf/FSComp.txt.pl.xlf +++ b/src/Compiler/xlf/FSComp.txt.pl.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. składni skrótu dla funkcji lambda można używać tylko z wyrażeniami niepodzielnymi. Oznacza to wyrażenia bez białych znaków, chyba że są ujęte w nawiasy. + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - W przypadku języka F#7 i niższych, definicje wartości statycznych mogą być używane tylko w typach z konstruktorem podstawowym („type X(args) = ...”). Aby włączyć je we wszystkich innych typach, użyj wersji językowej „wersja zapoznawcza”. + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - Nie można wywołać metody rozszerzenia byref „{0}”. Pierwszy parametr wymaga, aby wartość była typem byref zmiennym lub innym niż tylko do odczytu. + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - Klucz menedżera pakietów „{0}” nie został zarejestrowany w {1}. Aktualnie zarejestrowane: {2}. Aby dowiedzieć się więcej o rozszerzeniach, odwiedź stronę: https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.pt-BR.xlf b/src/Compiler/xlf/FSComp.txt.pt-BR.xlf index 66f2a26aec1..78a1f579d7e 100644 --- a/src/Compiler/xlf/FSComp.txt.pt-BR.xlf +++ b/src/Compiler/xlf/FSComp.txt.pt-BR.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - A abreviação de sintaxe _. para funções lambda só pode ser usada com expressões atômicas. Isso significa expressões sem espaço em branco, a menos que entre parênteses. + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - Para F#7 e inferior, as definições de valores estáticos só podem ser usadas em tipos com um construtor primário ('type X(args) = ...'). Para habilitá-los em todos os outros tipos, use a versão do idioma “versão prévia”. + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - Não é possível chamar o método de extensão de byref '{0}. O primeiro parâmetro requer que o valor seja mutável ou não seja byref somente leitura. + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - A chave do gerenciador de pacotes “{0}” não foi registrada em {1}. Atualmente cadastrado: {2}. Para saber mais sobre extensões, visite: https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.ru.xlf b/src/Compiler/xlf/FSComp.txt.ru.xlf index 3d86e4027db..16073c9ada5 100644 --- a/src/Compiler/xlf/FSComp.txt.ru.xlf +++ b/src/Compiler/xlf/FSComp.txt.ru.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. сокращенный синтаксис лямбда-функций можно использовать только с атомарными выражениями. Это означает, что выражения не содержат пробелов, если они не заключены в круглые скобки. + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - Определения статических значений для F#7 и ниже можно использовать только в типах с первичным конструктором ("type X(args) = ..."). Чтобы включить их во всех других типах, используйте версию языка "preview". + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - Не удается вызвать метод расширения byref "{0}". В качестве первого параметра необходимо указать изменяемое значение или значение типа byref, доступное не только для чтения. + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - Ключ диспетчера пакетов "{0}" не зарегистрирован в {1}. Сейчас зарегистрировано: {2}. Дополнительные сведения о расширениях см. на странице https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.tr.xlf b/src/Compiler/xlf/FSComp.txt.tr.xlf index 6a4a8e62ca1..e44ebfeb039 100644 --- a/src/Compiler/xlf/FSComp.txt.tr.xlf +++ b/src/Compiler/xlf/FSComp.txt.tr.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. lambda işlevleri için kısaltma, yalnızca atomik ifadelerle kullanılabilir. Bu, parantez içine alınmadıkça boşluk içermeyen ifadeler anlamına gelir. + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - F#7 ve altı için, statik değer tanımları yalnızca birincil oluşturucu ('type X(args) = ...') içeren türlerde kullanılabilir. Bunları diğer tüm türlerde etkinleştirmek için 'önizleme' dil sürümünü kullanın. + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - '{0}' byref genişletme metodu çağrılamıyor. İlk parametre, değerin değişebilir olmasını veya salt okunur olmayan bir byref türünde olmasını gerektiriyor. + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - Paket yöneticisi '{0}' anahtar anahtarı bu makinede {1}. Şu anda kayıtlı: {2}. Uzantılar hakkında daha fazla bilgi edinmek için şu adresi ziyaret edin: https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf b/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf index c6ec64a817c..c201bb9fd49 100644 --- a/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf +++ b/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - lambda 函数的 _. 速记语法只能与原子表达式一起使用。这意味着表达式没有空格,除非空格括在括号中。 + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - 对于 F#7 及更低版本,静态值定义只能用于具有主构造函数的类型 ("type X(args) = ...")。若要在所有其他类型中启用它们,请使用“预览版”语言版本。 + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - 无法调用 byref 扩展方法 "{0}"。第一个参数要求该值是可变的或非只读的 byref 类型。 + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - {0} 中未注册包管理器密钥“{1}”。当前已注册: {2}。若要详细了解扩展,请访问: https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf b/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf index 5f9f9dc4c6c..811f178d065 100644 --- a/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf +++ b/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf @@ -914,7 +914,7 @@ _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - 匿名函式的 _. 速記語法只能搭配不可部分完成的運算式使用。這表示沒有空白字元的運算式,除非以括弧括住。 + _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. @@ -5024,7 +5024,7 @@ For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. - 對於 F#7 和更低版本,靜態值定義只能用於具有主要建構函式的類型 ('type X(args) = ...')。若要在所有其他類型中啟用,請使用語言版本 'preview'。 + For F#7 and lower, static value definitions may only be used in types with a primary constructor ('type X(args) = ...'). To enable them in all other types, use language version 'preview'. @@ -8429,7 +8429,7 @@ Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. - 無法呼叫 byref 擴充方法 '{0}。第一個參數需要值可變動,或為非唯讀 byref 類型。 + Cannot call the byref extension method '{0}. The first parameter requires the value to be mutable or a non-readonly byref type. @@ -8519,7 +8519,7 @@ Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager - 未在 {1} 中註冊套件管理員金鑰 '{0}'。目前已註冊: {2}。若要深入了解延伸模組,請瀏覽: https://aka.ms/dotnetdepmanager + Package manager key '{0}' was not registered in {1}. Currently registered: {2}. To learn more about extensions, visit: https://aka.ms/dotnetdepmanager diff --git a/src/Compiler/xlf/FSStrings.cs.xlf b/src/Compiler/xlf/FSStrings.cs.xlf index 7fb003f52d8..2afbd570f7d 100644 --- a/src/Compiler/xlf/FSStrings.cs.xlf +++ b/src/Compiler/xlf/FSStrings.cs.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Omezení hodnoty. Hodnota {0} je obecného typu\n {1}. \nBuď změňte argumenty pro {2} na explicitní, nebo (pokud hodnota nemá být obecná) přidejte poznámku typu. + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Omezení hodnoty. Hodnota {0} je obecného typu\n {1}. \nZměňte {2} na funkci s explicitními argumenty nebo (pokud hodnota nemá být obecná) přidejte poznámku typu. + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - Omezení hodnoty. Tento člen se odvodil jako člen obecného typu\n {0}. \nKonstruktory a metody getter nebo setter vlastnosti nemůžou být obecnější než nadřazený typ. Přidejte poznámku typu, abyste přesně určili, které typy se mají zahrnout. + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Omezení hodnoty. Hodnota {0} se odvodila jako hodnota obecného typu\n {1}. \nBuď změňte argumenty pro {2} na explicitní, nebo (pokud hodnota nemá být obecná) přidejte poznámku typu. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Omezení hodnoty. Hodnota {0} se odvodila jako hodnota obecného typu\n {1}. \nDefinujte {2} jako jednoduchý datový výraz, změňte ji na funkci s explicitními argumenty nebo (pokud hodnota nemá být obecná) přidejte poznámku typu. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.de.xlf b/src/Compiler/xlf/FSStrings.de.xlf index 91366947a2a..a6a68672305 100644 --- a/src/Compiler/xlf/FSStrings.de.xlf +++ b/src/Compiler/xlf/FSStrings.de.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Werteinschränkung. Der Wert "{0}" hat den generischen Typ\n {1} \nLegen Sie die Argumente für "{2}" entweder als explizit fest, oder fügen Sie eine Typanmerkung hinzu, wenn der Typ nicht generisch sein soll. + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Werteinschränkung. Der Wert "{0}" hat den generischen Typ\n {1} \nDefinieren Sie "{2}" entweder als Funktion mit expliziten Argumenten, oder fügen Sie eine Typanmerkung hinzu, wenn der Typ nicht generisch sein soll. + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - Werteinschränkung. Dieser Member wurde per Rückschluss abgeleitet als generischer Typ\n {0} \nKonstruktoren und Eigenschaftengetter/-setter dürfen nicht generischer sein als der einschließende Typ. Fügen Sie eine Typanmerkung hinzu, um die genauen Typen anzugeben. + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Werteinschränkung. Der Wert "{0}" wurde per Rückschluss abgeleitet als generischer Typ\n {1} \nLegen Sie die Argumente für "{2}" entweder als explizit fest, oder fügen Sie eine Typanmerkung hinzu, wenn der Typ nicht generisch sein soll. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Werteinschränkung. Der Wert "{0}" wurde per Rückschluss abgeleitet als generischer Typ\n {1} \nDefinieren Sie "{2}" entweder als einfachen Ausdruck oder als Funktion mit expliziten Argumenten, oder fügen Sie eine Typanmerkung hinzu, wenn der Typ nicht generisch sein soll. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.es.xlf b/src/Compiler/xlf/FSStrings.es.xlf index 12117838fdf..ee980efcc52 100644 --- a/src/Compiler/xlf/FSStrings.es.xlf +++ b/src/Compiler/xlf/FSStrings.es.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Restricción de valor. El valor '{0}' tiene el tipo genérico\n {1} \nConvierta los argumentos de '{2}' en explícitos o, si su intención no es que sea genérico, agregue una anotación de tipo. + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Restricción de valor. El valor '{0}' tiene el tipo genérico\n {1} \nConvierta '{2}' en una función con argumentos explícitos o, si su intención no es que sea genérico, agregue una anotación de tipo. + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - Restricción de valor. Se ha inferido que este miembro tiene el tipo genérico\n {0} \nLos constructores y los captadores y establecedores de propiedades no pueden ser más genéricos que el tipo envolvente. Agregue una anotación de tipo para indicar los tipos exactos implicados. + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Restricción de valor. Se ha inferido que el valor '{0}' tiene el tipo genérico\n {1} \nConvierta los argumentos de '{2}' en explícitos o, si su intención no es que sea genérico, agregue una anotación de tipo. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Restricción de valor. Se ha inferido que el valor '{0}' tiene el tipo genérico\n {1} \nDefina '{2}' como un término de datos simple, conviértalo en una función con argumentos explícitos o, si su intención no es que sea genérico, agregue una anotación de tipo. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.fr.xlf b/src/Compiler/xlf/FSStrings.fr.xlf index 555adcfef64..27781c09e13 100644 --- a/src/Compiler/xlf/FSStrings.fr.xlf +++ b/src/Compiler/xlf/FSStrings.fr.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Restriction de valeur. La valeur '{0}' a le type générique\n {1} \nRendez les arguments de '{2}' explicites ou, si votre but n'est pas d'utiliser un type générique, ajoutez une annotation de type. + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Restriction de valeur. La valeur '{0}' a le type générique\n {1} \nChangez '{2}' en fonction avec des arguments explicites ou, si votre but n'est pas d'utiliser un type générique, ajoutez une annotation de type. + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - Restriction de valeur. Il a été déduit que ce membre avait un type générique\n {0} \nLes constructeurs, ainsi que les méthodes getter/setter d'une propriété ne peuvent pas être plus génériques que le type englobant. Ajoutez une annotation de type pour indiquer les types exacts impliqués. + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Restriction de valeur. Il a été déduit que la valeur '{0}' avait le type générique\n {1} \nRendez les arguments de '{2}' explicites ou, si votre but n'est pas d'utiliser un type générique, ajoutez une annotation de type. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Restriction de valeur. Il a été déduit que la valeur '{0}' avait le type générique\n {1} \nDéfinissez '{2}' en tant que terme de données simple, faites-en une fonction avec des arguments explicites ou, si votre but n'est pas d'utiliser un type générique, ajoutez une annotation de type. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.it.xlf b/src/Compiler/xlf/FSStrings.it.xlf index 54a69b1b768..0fdd356a424 100644 --- a/src/Compiler/xlf/FSStrings.it.xlf +++ b/src/Compiler/xlf/FSStrings.it.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Limitazione valore. Il valore '{0}' ha il tipo generico\n {1} \nRendere gli argomenti di '{2}' espliciti oppure, se non si intende renderlo generico, aggiungere un'annotazione di tipo. + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Limitazione valore. Il valore '{0}' ha il tipo generico\n {1} \nRendere '{2}' una funzione con argomenti espliciti oppure, se non si intende renderlo generico, aggiungere un'annotazione di tipo. + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - Restrizione relativa ai valori. È stato dedotto che il membro ha il tipo generico\n {0} \nI getter/setter di proprietà e i costruttori non possono essere più generici del tipo di inclusione. Aggiungere un'annotazione di tipo per indicare i tipi esatti previsti. + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Limitazione valore. È stato dedotto che il valore '{0}' ha il tipo generico\n {1} \nRendere gli argomenti di '{2}' espliciti, oppure se non si intende renderlo generico, aggiungere un'annotazione di tipo. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Limitazione valore. È stato dedotto che il valore '{0}' ha il tipo generico\n {1} \nDefinire '{2}' come termine di dati semplice, renderlo una funzione con argomenti espliciti oppure, se non si intende renderlo generico, aggiungere un'annotazione di tipo. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.ja.xlf b/src/Compiler/xlf/FSStrings.ja.xlf index cf0302da1c2..1074dbe71e6 100644 --- a/src/Compiler/xlf/FSStrings.ja.xlf +++ b/src/Compiler/xlf/FSStrings.ja.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - 値の制限。値 '{0}' は次のジェネリック型です。\n {1} \n明示的に引数を '{2}' にするか、ジェネリックにする意図がない場合は型の注釈を追加してください。 + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - 値の制限。値 '{0}' は次のジェネリック型です。\n {1} \n明示的な引数を使用して '{2}' を関数にするか、ジェネリックにする意図がない場合は型の注釈を追加してください。 + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - 値の制限。このメンバーは次のジェネリック型を持つと推論されました。\n {0} \nコンストラクターとプロパティのゲッター/セッターは、それを囲む型よりも総称性を高くすることができません。関係する正確な型を示すために、型の注釈を追加してください。 + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - 値の制限。値 '{0}' は次のジェネリック型を持つと推論されました。\n {1} \n明示的に引数を '{2}' にするか、ジェネリックにする意図がない場合は型の注釈を追加してください。 + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - 値の制限。値 '{0}' は次のジェネリック型を持つと推論されました。\n {1} \n単純なデータ用語として '{2}' を定義するか、明示的な引数を使用して関数にするか、ジェネリックにする意図がない場合は型の注釈を追加してください。 + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.ko.xlf b/src/Compiler/xlf/FSStrings.ko.xlf index b43d666d0b6..adf68688437 100644 --- a/src/Compiler/xlf/FSStrings.ko.xlf +++ b/src/Compiler/xlf/FSStrings.ko.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - 값 제한이 있습니다. 값 '{0}'에 제네릭 형식\n {1}이(가) 있습니다. \n'{2}'에 대한 인수를 명시적으로 만들거나, 제네릭 요소로 만들지 않으려는 경우 형식 주석을 추가하세요. + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - 값 제한이 있습니다. 값 '{0}'에 제네릭 형식\n {1}이(가) 있습니다. \n'{2}'을(를) 명시적 인수가 포함된 함수로 만들거나, 제네릭 요소로 만들지 않으려는 경우 형식 주석을 추가하세요. + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - 값 제한이 있습니다. 이 멤버는 제네릭 형식\n {0}을(를) 가지는 것으로 유추되었습니다. \n생성자 및 속성 getter/setter는 바깥쪽 형식보다 일반적일 수 없습니다. 형식 주석을 추가하여 관련 형식을 정확히 나타내세요. + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - 값 제한이 있습니다. 값 '{0}'은(는) 제네릭 형식\n {1}을(를) 가지는 것으로 유추되었습니다. \n'{2}'에 대한 인수를 명시적으로 만들거나, 제네릭 요소로 만들지 않으려는 경우 형식 주석을 추가하세요. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - 값 제한이 있습니다. 값 '{0}'은(는) 제네릭 형식\n {1}을(를) 가지는 것으로 유추되었습니다. \n'{2}'을(를) 단순 데이터 용어로 정의하거나, 명시적 인수가 포함된 함수로 만들거나, 제네릭 요소로 만들지 않으려는 경우 형식 주석을 추가하세요. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.pl.xlf b/src/Compiler/xlf/FSStrings.pl.xlf index 0040f91cbcf..69bde089a0b 100644 --- a/src/Compiler/xlf/FSStrings.pl.xlf +++ b/src/Compiler/xlf/FSStrings.pl.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Ograniczenie wartości. Wartość „{0}” jest wartością typu ogólnego\n {1} \nOkreśl argumenty elementu „{2}” jako jawne lub dodaj adnotację typu, jeśli nie chcesz, aby wartość była ogólna. + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Ograniczenie wartości. Wartość „{0}” jest wartością typu ogólnego\n {1} \nUstaw element „{2}” jako funkcję z jawnymi argumentami lub dodaj adnotację typu, jeśli nie chcesz, aby wartość była ogólna. + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - Ograniczenie wartości. Wywnioskowano, że ten element członkowski jest elementem typu ogólnego\n {0} \nKonstruktory i metody pobierające/ustawiające właściwości nie mogą być bardziej ogólne niż typ otaczający. Dodaj adnotację typu, aby dokładnie wskazać uwzględnione typy. + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Ograniczenie wartości. Wywnioskowano, że wartość „{0}” jest wartością typu ogólnego\n {1} \nOkreśl argumenty elementu „{2}” jako jawne lub dodaj adnotację typu, jeśli nie chcesz, aby wartość była ogólna. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Ograniczenie wartości. Wywnioskowano, że wartość „{0}” jest wartością typu ogólnego\n {1} \nZdefiniuj element „{2}” jako prosty termin danych, określ go jako funkcję z jawnymi argumentami lub dodaj adnotację typu, jeśli nie chcesz, aby wartość była ogólna. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.pt-BR.xlf b/src/Compiler/xlf/FSStrings.pt-BR.xlf index 4c01cb03d6e..b6b4d3befe8 100644 --- a/src/Compiler/xlf/FSStrings.pt-BR.xlf +++ b/src/Compiler/xlf/FSStrings.pt-BR.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Restrição de valor. O valor '{0}' tem um tipo genérico\n {1} \nTorne os argumentos '{2}' explícitos ou, se sua intenção não for deixá-los genéricos, adicione uma anotação de tipo. + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Restrição de valor. O valor '{0}' tem um tipo genérico\n {1} \nInsira '{2}' em uma função com argumentos explícitos ou, se você não desejar que ele seja genérico, adicione uma anotação de tipo. + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - Restrição de valor. Este membro foi inferido para ter um tipo genérico\n {0} \nConstrutores e getters/setters de propriedade não podem ser mais genéricos que o tipo de delimitador. Adicione uma anotação de tipo para indicar os tipos exatos envolvidos. + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Restrição de valor. O valor '{0}' foi inferido para ter um tipo genérico\n {1} \nTorne os argumentos '{2}' explícitos ou, se sua intenção não for deixá-los genéricos, adicione uma anotação de tipo. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Restrição de valor. O valor '{0}' foi inferido para ter um tipo genérico\n {1} \nDefina '{2}' como um termo de dado simples e torne-o uma função com argumentos explícitos ou, se sua intenção for deixá-los genéricos, adicione uma anotação de tipo. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.ru.xlf b/src/Compiler/xlf/FSStrings.ru.xlf index 1f43d4d03f8..405800e363a 100644 --- a/src/Compiler/xlf/FSStrings.ru.xlf +++ b/src/Compiler/xlf/FSStrings.ru.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Ограничение значения. Значение "{0}" имеет универсальный тип\n {1} \nЛибо сделайте аргументы для "{2}" явными либо (если универсальный тип не требуется) добавьте аннотацию типа. + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Ограничение значения. Значение "{0}" имеет универсальный тип\n {1} \nЛибо сделайте "{2}" функцией с явными аргументами, либо (если универсальный тип не требуется) добавьте аннотацию типа. + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - Ограничение значения. Данный выведенный элемент должен иметь универсальный тип\n {0} \nМетоды получения или задания свойств и конструкторов не могут быть более универсальными, чем вмещающий тип. Добавьте аннотацию типа, чтобы точно обозначить затрагиваемые типы. + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Ограничение значения. Выведенное значение "{0}" должно иметь универсальный тип\n {1} \nЛибо сделайте аргументы для "{2}" явными, либо (если универсальный тип не требуется) добавьте аннотацию типа. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Ограничение значения. Выведенное значение "{0}" должно иметь универсальный тип\n {1} \nЛибо определите "{2}" как простой член данных, либо сделайте его функцией с явными аргументами, либо (если универсальный тип не требуется) добавьте аннотацию типа. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.tr.xlf b/src/Compiler/xlf/FSStrings.tr.xlf index 96203f5ae96..46a3483acec 100644 --- a/src/Compiler/xlf/FSStrings.tr.xlf +++ b/src/Compiler/xlf/FSStrings.tr.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Değer kısıtlaması. '{0}' değerinin genel türü:\n {1} \nYa '{2}' bağımsız değişkenlerini açık yapın ya da genel olmasını istemiyorsanız bir tür ek açıklaması ekleyin. + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Değer kısıtlaması. '{0}' değerinin genel türü:\n {1} \nYa açık bağımsız değişkenlerle '{2}' için işlev dönüşümü yapın ya da genel olmasını istemiyorsanız bir tür ek açıklaması ekleyin. + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - Değer kısıtlaması. Bu üyenin şu genel türü olduğu çıkarıldı\n {0} \nOluşturucular ve özellik alıcıları/ayarlayıcıları kapsayan türden daha genel olamaz. Söz konusu türleri tam olarak belirtmek için bir tür ek açıklaması ekleyin. + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - Değer kısıtlaması. '{0}' değerinin şu genel türü olduğu çıkarıldı:\n {1} \nYa '{2}' bağımsız değişkenlerini açık yapın ya da genel olmasını istemiyorsanız bir tür ek açıklaması ekleyin. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - Değer kısıtlaması. '{0}' değerinin şu genel türü olduğu çıkarıldı:\n {1} \nYa '{2}' tanımını basit veri terimi olarak yaparak onu açık bağımsız değişkenlerle bir işlev yapın ya da genel olmasını istemiyorsanız bir tür ek açıklaması ekleyin. + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.zh-Hans.xlf b/src/Compiler/xlf/FSStrings.zh-Hans.xlf index 6b0e8f8a303..f3f729c9825 100644 --- a/src/Compiler/xlf/FSStrings.zh-Hans.xlf +++ b/src/Compiler/xlf/FSStrings.zh-Hans.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - 值限制。值“{0}”具有泛型类型\n {1} \n使“{2}”的参数成为显式参数,或添加类型批注(如果您不希望它是泛型的)。 + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - 值限制。值“{0}”具有泛型类型\n {1} \n使“{2}”成为具有显式参数的函数,或添加类型批注(如果您不希望它是泛型的)。 + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - 值限制。已推理出此成员具有泛型类型\n {0} \n构造函数和属性 Getter/Setter 不能比封闭类型更通用。 添加类型批注以指示涉及到的确切类型。 + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - 值限制。已推理出值“{0}”具有泛型类型\n {1} \n使“{2}”的参数成为显式参数,或添加类型批注(如果您不希望它是泛型的)。 + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - 值限制。已推理出值“{0}”具有泛型类型\n {1} \n将“{2}”定义为简单的数据条目,使其成为具有显式参数的函数,或添加类型批注(如果您不希望它是泛型的)。 + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/src/Compiler/xlf/FSStrings.zh-Hant.xlf b/src/Compiler/xlf/FSStrings.zh-Hant.xlf index 721818d7dd5..ad4377fe2eb 100644 --- a/src/Compiler/xlf/FSStrings.zh-Hant.xlf +++ b/src/Compiler/xlf/FSStrings.zh-Hant.xlf @@ -1524,27 +1524,27 @@ Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - 值限制。值 '{0}' 具有泛型類型\n {1} \n請將 '{2}' 的引數設為明確的,或者如果不想將它設為泛型,請加入類型註釋。 + Value restriction. The value '{0}' has generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - 值限制。值 '{0}' 具有泛型類型\n {1} \n請將 '{2}' 設為具有明確引數的函式,或者如果不想將它設為泛型,請加入類型註釋。 + Value restriction. The value '{0}' has generic type\n {1} \nEither make '{2}' into a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. - 值限制。這個成員已被推斷為具有泛型類型\n {0} \n建構函式和屬性 getter/setter 不能比封入類型更為泛型。請加入類型註釋,以指示涉及的確切類型。 + Value restriction. This member has been inferred to have generic type\n {0} \nConstructors and property getters/setters cannot be more generic than the enclosing type. Add a type annotation to indicate the exact types involved. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. - 值限制。值 '{0}' 已被推斷為具有泛型類型\n {1} \n請將 '{2}' 的引數設為明確的,或者如果不想將它設為泛型,請加入類型註釋。 + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither make the arguments to '{2}' explicit or, if you do not intend for it to be generic, add a type annotation. Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. - 值限制。值 '{0}' 已被推斷為具有泛型類型\n {1} \n請將 '{2}' 定義為簡單資料項、將它設為具有明確引數的函式,或者如果不想將它設為泛型,請加入類型註釋。 + Value restriction. The value '{0}' has been inferred to have generic type\n {1} \nEither define '{2}' as a simple data term, make it a function with explicit arguments or, if you do not intend for it to be generic, add a type annotation. diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.cs.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.cs.xlf index eaff0f6bca2..bfb1c98fb5b 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.cs.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.cs.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - Vodítka struktury bloků; -Zobrazit pokyny ke struktuře pro kód F#; -Osnova; -Zobrazit osnovu a sbalitelné uzly kódu F#; -Vložené tipy; -Zobrazit tipy pro vložený typ (náhled); -Zobrazení tipů pro návratový typ (náhled); -Zobrazit nápovědy k názvům vložených parametrů (náhled); -Živé vyrovnávací paměti; -Použití živých (neuložených) vyrovnávacích pamětí pro kontrolu + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - Možnosti výkonu projektu F# a ukládání do mezipaměti; -Povolit odkazy mezi projekty v paměti; + F# Project and Caching Performance Options; +Enable in-memory cross project references; Enable_partial_type_checking; -Možnosti výkonu IntelliSense; -Povolit zastaralá data pro funkce IntelliSense; -Doba, než se použijí zastaralé výsledky (v milisekundách); -Paralelizace (vyžaduje restartování); -Povolit paralelní kontrolu typů pomocí souborů podpisu; -Povolit paralelní referenční rozlišení; -Povolit odkazy rychlého hledání a přejmenování (experimentální) -Výsledky analýzy mezipaměti (experimentální) +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - Formátování; -Upřednostňovaná šířka popisu ve znacích; -Formátování podpisu na danou šířku přidáním konců řádků podle pravidel syntaxe F#; -Navigační odkazy; -Zobrazit navigační odkazy jako; -Plné podtržení; -Tečkované podtržení; -Přerušované podtržení; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf index 24bf3c347a3..8a22085955c 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - Führungslinien für Blockstruktur; -Strukturrichtlinien für F#-Code anzeigen; -Gliederung; -Gliederungs- und reduzierbare Knoten für F#-Code anzeigen; -Inlinehinweise; -Hinweise zu Inlinetypen anzeigen (Vorschau); -Hinweise zu Rückgabetypen anzeigen (Vorschau); -Hinweise zu Inlineparameternamen anzeigen (Vorschau); -Livepuffer; -Livepuffer (nicht gespeichert) zur Überprüfung verwenden + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - F#-Projekt- und Cacheleistungsoptionen; -Projektübergreifende Verweise im Arbeitsspeicher aktivieren; + F# Project and Caching Performance Options; +Enable in-memory cross project references; Enable_partial_type_checking; -IntelliSense-Leistungsoptionen; -Veraltete Daten für IntelliSense-Features aktivieren; -Zeit bis zur Verwendung veralteter Ergebnisse (in Millisekunden); -Parallelisierung (Neustart erforderlich); -Parallele Typüberprüfung mit Signaturdateien aktivieren; -Parallele Verweisauflösung aktivieren; -Schnellsuche und Umbenennen von Verweisen aktivieren (experimentell); -Cacheanalyseergebnisse (experimentell) +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - Formatierung; -Bevorzugte Beschreibungsbreite in Zeichen; -Signatur in der angegebenen Breite formatieren, indem Zeilenumbrüche hinzugefügt werden, die den F#-Syntaxregeln entsprechen; -Navigationslinks; -Navigationslinks anzeigen als; -Unterstreichung einfarbig; -Punkt unterstrichen; -Strich unterstrichen; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf index d3e3c9f71df..e9d39dea14a 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - Guías de estructura de bloques; -Mostrar guías de estructura para código F#; -Esquema; -Mostrar esquema y nodos colapsables para código F#; -Sugerencias insertadas; -Mostrar sugerencias de tipo insertadas (vista previa); -Mostrar sugerencias de tipo de valor devuelto (vista previa); -Mostrar sugerencias de nombres de parámetro insertadas (vista previa) -Búferes activos; -Usar búferes activos (no guardados) para la comprobación + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,19 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - Opciones de rendimiento de proyectos y caché de F#; -Habilitar referencias cruzadas de proyecto en memoria; + F# Project and Caching Performance Options; +Enable in-memory cross project references; Enable_partial_type_checking; -Opciones de rendimiento de IntelliSense; -Habilitar datos obsoletos para funciones de IntelliSense; -Tiempo hasta que se utilizan los resultados obsoletos (en milisegundos); -Paralelización (requiere reinicio); - -Habilitar la comprobación paralela de tipos con archivos de firmas; - -Habilitar la resolución de referencias en paralelo; -Habilitar búsqueda rápida de referencias y renombrado (experimental); -Caché de resultados de análisis (experimental) +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -198,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - Formato; -Ancho de descripción preferido en caracteres; -Dar formato a la firma con el ancho dado agregando saltos de línea que cumplan las reglas de sintaxis de F#; -Vínculos de navegación; -Mostrar vínculos de navegación como; -Subrayado sólido; -Subrayado de punto; -Subrayado de guion; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf index 0f1d20d44dc..5d963d9d9ff 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - Guides de structure de bloc ; -Afficher les directives de structure pour le code F# ; -Décrire ; -Afficher les nœuds de plan et réductibles pour le code F# ; -Conseils en ligne ; -Afficher les conseils de type en ligne (aperçu) ; -Afficher les conseils sur le type de retour (aperçu) ; -Afficher les conseils sur le nom des paramètres en ligne (aperçu) ; -Tampons en direct ; -Utilisez des tampons en direct (non enregistrés) pour vérifier + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - Options de performances du projet F # et de la mise en cache ; -Activer les références de projets croisés en mémoire ; -Enable_partial_type_checking ; -Options de performances IntelliSense ; -Activer les données obsolètes pour les fonctionnalités IntelliSense ; -Temps jusqu'à ce que les résultats obsolètes soient utilisés (en millisecondes) ; -Parallélisation (nécessite un redémarrage) ; -Activer la vérification de type parallèle avec les fichiers de signature ; -Activer la résolution de référence parallèle ; -Activer les références de recherche rapide et renommer (expérimental) ; -Résultats de l'analyse du cache (expérimental) + F# Project and Caching Performance Options; +Enable in-memory cross project references; +Enable_partial_type_checking; +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - Formatage; -Largeur de description préférée en caractères ; -Mettre en forme la signature à la largeur donnée en ajoutant des sauts de ligne conformes aux règles de syntaxe F# ; -Liens de navigation ; -Afficher les liens de navigation en tant que ; -Soulignement uni ; -Soulignement pointé ; -Soulignement en tirets ; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf index 397b6da94ed..bb5118f5dc5 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - Guide per strutture a blocchi; -Mostra le linee guida per la struttura per il codice F#; -Struttura; -Mostra i nodi struttura e comprimibili per il codice F#; -Suggerimenti inline; -Visualizza suggerimenti di tipo inline (anteprima); -Visualizza suggerimenti di tipo restituito (anteprima); -Visualizza suggerimenti per i nomi di parametro inline (anteprima); -Buffer in tempo reale; -Usa buffer in tempo reale (non salvati) per il controllo + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - Opzioni prestazioni progetto F# e memorizzazione nella cache; -Abilita riferimenti tra progetti in memoria; + F# Project and Caching Performance Options; +Enable in-memory cross project references; Enable_partial_type_checking; -Opzioni prestazioni IntelliSense; -Abilita dati non aggiornati per le funzionalità di IntelliSense; -Tempo prima dell'utilizzo dei risultati non aggiornati (in millisecondi); -Parallelizzazione (richiede il riavvio); -Abilita il controllo dei tipi paralleli con i file di firma; -Abilita risoluzione riferimenti paralleli; -Abilita la ricerca rapida dei riferimenti e la ridenominazione (sperimentale); -Memorizza nella cache i risultati dell'analisi (sperimentale) +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - Formattazione; -Larghezza descrizione preferita in caratteri; -Formatta la firma in base alla larghezza specificata aggiungendo interruzioni di riga conformi alle regole di sintassi F#; -Collegamenti di spostamento; -Mostra collegamenti di spostamento come; -Sottolineatura a tinta unita; -Sottolineatura a punto; -Sottolineatura a trattini; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf index e9849c78c40..49f3b981fc5 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - ブロック構造ガイド; -F# コードの構造ガイドラインを表示する; -アウトラインを表示する; -アウトラインと折りたたみ可能なノードを F# コードに表示する; -インライン ヒント; -インライン型ヒントを表示する (プレビュー); -戻り値の型ヒントを表示する (プレビュー); -インライン パラメーター名のヒントを表示する (プレビュー); -ライブ バッファー; -ライブ (保存されていない) バッファーを使用してチェックする + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - F# プロジェクトとキャッシュのパフォーマンス オプション; -メモリ内のプロジェクト間参照を有効にする。 + F# Project and Caching Performance Options; +Enable in-memory cross project references; Enable_partial_type_checking; -IntelliSense パフォーマンス オプション; -IntelliSense 機能の古いデータを有効にする。 -古い結果が使用されるまでの時間 (ミリ秒); -並列化 (再起動が必要); -署名ファイルを使用して並列型チェックを有効にする。 -並列参照解決を有効にする; -高速検索参照の有効化と名前の変更 (試験段階); -キャッシュ解析の結果 (試験段階) +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - 書式 設定; -希望の説明の幅 (文字数); -F# 構文規則に準拠するよう、改行を追加して指定された幅に署名を書式設定します; -ナビゲーション リンク; -ナビゲーション リンクを次のように表示します: -塗りつぶしの下線; -ドットの下線; -ダッシュ下線; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf index 4dbb3481a70..526e8192984 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf @@ -38,17 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - 블록 구조 안내선; - -F# 코드에 대한 구조 지침 표시; -개요; -F# 코드에 대한 개요 및 축소 가능한 노드 표시; -인라인 힌트; -인라인 형식 힌트 표시(미리 보기); -반환 유형 힌트 표시(미리 보기); -인라인 매개 변수 이름 힌트 표시(미리 보기); -라이브 버퍼; -확인에 라이브(저장되지 않은) 버퍼 사용 + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -170,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - F# 프로젝트 및 캐싱 성능 옵션; -메모리 내 프로젝트 간 참조 활성화; + F# Project and Caching Performance Options; +Enable in-memory cross project references; Enable_partial_type_checking; -IntelliSense 성능 옵션; -IntelliSense 기능에 부실 데이터 사용; -부실 결과가 사용될 때까지의 시간(밀리초); -병렬화(다시 시작 필요); -서명 파일과 함께 병렬 형식 검사 사용; -병렬 참조 확인 사용; -빠른 찾기 참조 및 이름 바꾸기 사용(실험적); -캐시 구문 분석 결과(실험적) +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -197,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - 서식; -기본 설정 문자 설명 너비; -F# 구문 규칙에 맞는 줄바꿈을 추가하여 지정된 너비에 서명 서식 지정; -탐색 링크; -탐색 링크 표시 형식; -실선 밑줄; -점선 밑줄; -대시 밑줄; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf index 08e044be80d..ed6e76856f2 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - Przewodniki po strukturze bloku; -Pokaż przewodniki po strukturze dla kodu języka F#; -Tworzenie konspektu; -Pokaż konspekt i węzły z możliwością zwijania dla kodu języka F#; -Wskazówki w tekście; -Wyświetl wskazówki w tekście dla typów (wersja zapoznawcza); -Wyświetlaj wskazówki dotyczące typu zwrotu (wersja zapoznawcza); -Wyświetl wskazówki w tekście dotyczące nazw parametrów (wersja zapoznawcza); -Bufory bieżące; -Do sprawdzania używaj buforów bieżących (niezapisanych) + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - Opcje wydajności projektów i buforowania języka F#; -Włącz odwołania między projektami w pamięci; + F# Project and Caching Performance Options; +Enable in-memory cross project references; Enable_partial_type_checking; -Opcje wydajności funkcji IntelliSense; -Włącz nieaktualne dane dla funkcji IntelliSense; -Czas do użycia nieaktualnych wyników (w milisekundach); -Równoległość (wymaga ponownego uruchomienia); -Włącz kontrolę typów równoległych za pomocą plików podpisu; -Włącz rozpoznawanie odwołań równoległych; -Włącz szybkie znajdowanie odwołań i zmianę nazwy (eksperymentalne); -Wyniki analizowania pamięci podręcznej (eksperymentalne) +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - Formatowanie; -Preferowana szerokość opisu w znakach; -Sformatuj sygnaturę na daną szerokość, dodając podziały wierszy zgodne z regułami składni języka F#; -Linki nawigacji; -Pokaż linki nawigacji jako; -Pełne podkreślenie; -Podkreślenie kropką; -Podkreślenie kreską; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf index a4e033467cf..e3bf1e905b9 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - Guias de Estrutura de Bloco; -Mostrar diretrizes de estrutura para código F#; -Estrutura de tópicos; -Mostrar nós de estrutura de tópicos e recolhíveis para código F#; -Dicas embutidas; -Exibir dicas de tipo embutido (versão prévia); -Exibir dicas de tipo de retorno (versão prévia); -Exibir dicas de nome de parâmetro embutido (versão prévia); -Buffers Dinâmicos; -Usar buffers dinâmicos (não salvos) para verificação + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - Opções de desempenho de projeto e cache do F#; - Habilitar referências de projeto cruzado na memória; - Enable_partial_type_checking; - Opções de desempenho do IntelliSense; - Habilitar dados obsoletos para recursos do IntelliSense; - Tempo até que os resultados obsoletos sejam usados (em milissegundos); - Paralelização (requer reinicialização); - Habilitar a verificação de tipo paralelo com arquivos de assinatura; - Habilitar resolução de referência paralela; - Habilitar referências de localização rápida e renomear (experimental); - Resultados da análise de cache (experimental) + F# Project and Caching Performance Options; +Enable in-memory cross project references; +Enable_partial_type_checking; +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - Formatação; -Largura da descrição preferida em caracteres; -Formate a assinatura para a largura especificada adicionando quebras de linha em conformidade com as regras de sintaxe do F#; -Links de navegação; -Mostrar links de navegação como; -Sublinhado sólido; -Ponto sublinhado; -Traço sublinhado; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf index d7d9b6d7e76..0e38c628054 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - Руководства по блочной структуре; -Показать рекомендации по структуре кода F#; -Структурирование; -Показать структурные и сворачиваемые узлы кода F#; -Встроенные подсказки; -Отображать подсказки встроенного типа (предварительная версия); -Отображать подсказки типа возвращаемого значения (предварительная версия); -Отображать подсказки имен встроенных параметров (предварительная версия); -Динамические буферы; -Использовать динамические (несохраненные) буферы для проверки + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - Параметры производительности проекта F# и кэширования; -Включить перекрестные ссылки проекта в памяти; + F# Project and Caching Performance Options; +Enable in-memory cross project references; Enable_partial_type_checking; -Параметры производительности IntelliSense; -Включить устаревшие данные для функций IntelliSense; -Время до использования устаревших результатов (в миллисекундах); -Параллелизация (требуется перезагрузка); -Включить параллельную проверку типов с файлами подписей; -Включить параллельное эталонное разрешение; -Включить быстрый поиск ссылок и переименование (экспериментально); -Результаты анализа кэша (экспериментально) +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - Форматирование; -Предпочитаемая ширина описания в символах; -Форматирование подписи до заданной ширины путем добавления разрывов строк в соответствии с правилами синтаксиса F#; -Ссылки навигации; -Показать ссылки навигации как; -Сплошное подчеркивание; -Пунктирное подчеркивание; -Штриховое подчеркивание; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf index d5a2d6db552..9605d6dde38 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - Blok Yapısı Kılavuzları; -F# kodu için yapı yönergelerini göster; -Anahat oluşturma; -F# kodu için ana hattı ve daraltılabilir düğümleri göster; -Satır içi ipuçları; -Satır içi tür ipuçlarını görüntüle (önizleme); -Dönüş türü ipuçlarını görüntüle (önizleme); -Satır içi parametre adı ipuçlarını görüntüle (önizleme); -Canlı Arabellekler; -Denetim için canlı (kaydedilmemiş) arabellekler kullan + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - F# Proje ve Önbelleğe Alma Performans Seçenekleri; -Bellek içi çapraz proje başvurularını etkinleştir; + F# Project and Caching Performance Options; +Enable in-memory cross project references; Enable_partial_type_checking; -IntelliSense Performans Seçenekleri; -IntelliSense özellikleri için eski verileri etkinleştir; -Eski sonuçlar kullanılana kadar geçen süre (milisaniye olarak); -Paralelleştirme (yeniden başlatma gerektirir); -İmza dosyalarıyla paralel tür denetlemeyi etkinleştir; -Paralel başvuru çözümlemeyi etkinleştir; -Başvuruları hızlı bulma ve yeniden adlandırmayı etkinleştir (deneysel) -Ayrıştırma sonuçlarını önbelleğe al (deneysel) +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - Biçimlendirme; -Karakter olarak tercih edilen açıklama genişliği; -F# söz dizimi kurallarına uyan satır sonları ekleyerek imzayı verilen genişliğe biçimlendir; -Gezinti bağlantıları; -Gezinti bağlantılarını şöyle göster; -Düz alt çizgi; -Nokta alt çizgi; -Tire alt çizgisi; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf index a784f4e941d..55df44b60e8 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - 块结构指南; -显示 F# 代码的结构指南; -大纲; -显示 F# 代码的大纲和可折叠节点; -内联提示; -显示内联类型提示(预览); -显示返回类型提示(预览); -显示内联参数名称提示(预览); -实时缓冲区; -使用实时(未保存)缓冲区进行检查 + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - F# 项目和缓存性能选项; -启用内存中的跨项目引用; -启用部分类型检查; -IntelliSense 性能选项; -为智能感知功能启用旧数据; -使用陈旧结果的时间(以毫秒为单位); -并行处理(需要重新启动); -使用签名文件进行并行类型检查; -启用并行引用解析; -启用快速查找参考和重命名(实验性); -缓存解析结果(实验性)。 + F# Project and Caching Performance Options; +Enable in-memory cross project references; +Enable_partial_type_checking; +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - 格式设置; -首选描述宽度 (以字符为单位); -通过添加符合 F# 语法规则的换行符,将签名格式设置为指定宽度; -导航链接; -将导航链接显示为; -实心下划线; -点下划线; -短划线下划线; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf index 5377020b113..c4afce15de7 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf @@ -38,16 +38,16 @@ Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; Use live (unsaved) buffers for checking - 區塊結構輔助線; -顯示 F# 程式碼的結構輔助線; -大綱; -顯示 F# 程式碼的大綱與可折疊的節點; -內嵌提示; -顯示內嵌類型提示 (預覽); -顯示傳回型別提示 (預覽); -顯示內嵌參數名稱提示 (預覽); -即時緩衝區; -使用即時 (未儲存) 緩衝區進行檢查 + Block Structure Guides; +Show structure guidelines for F# code; +Outlining; +Show outlining and collapsible nodes for F# code; +Inline hints; +Display inline type hints (preview); +Display return type hints (preview); +Display inline parameter name hints (preview); +Live Buffers; +Use live (unsaved) buffers for checking @@ -169,17 +169,17 @@ Enable parallel type checking with signature files; Enable parallel reference resolution; Enable fast find references & rename (experimental); Cache parsing results (experimental) - F# 專案和快取效能選項; -啟用記憶體內跨專案參考; -Enable_partial_type_checking; -IntelliSense 效能選項; -啟用 IntelliSense 功能的過時資料; -使用過時結果之前的時間 (毫秒); -平行化 (需要重新開機); -啟用平行類型檢查與簽章檔案; -啟用平行參考解析; -啟用快速尋找參考和重新命名 (實驗性); -快取剖析結果 (實驗性) + F# Project and Caching Performance Options; +Enable in-memory cross project references; +Enable_partial_type_checking; +IntelliSense Performance Options; +Enable stale data for IntelliSense features; +Time until stale results are used (in milliseconds); +Parallelization (requires restart); +Enable parallel type checking with signature files; +Enable parallel reference resolution; +Enable fast find references & rename (experimental); +Cache parsing results (experimental) @@ -196,14 +196,14 @@ Show navigation links as; Solid underline; Dot underline; Dash underline; - 格式化; -慣用描述寬度 (以字元為單位); -透過新增符合 F# 語法規則的分行符號,將簽章格式設定為指定寬度; -瀏覽連結; -將瀏覽連結顯示為; -實心底線; -點底線; -虛線底線; + Formatting; +Preferred description width in characters; +Format signature to the given width by adding line breaks conforming with F# syntax rules; +Navigation links; +Show navigation links as; +Solid underline; +Dot underline; +Dash underline; diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.cs.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.cs.xlf index 786c39b8451..954a731f938 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.cs.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.cs.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - Zachytit identifikátory při analýze + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - Pro kontrolu používat živé (neuložené) vyrovnávací paměti (vyžaduje se restartování) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - Živé vyrovnávací paměti (experimentální) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.de.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.de.xlf index ed17e234e15..0e1ccac1d15 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.de.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.de.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - Bezeichner während des Parsens erfassen + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - Livepuffer (nicht gespeichert) zur Überprüfung verwenden (Neustart erforderlich) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - Livepuffer (experimentell) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.es.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.es.xlf index d4e2a0426d0..db62fb1cc2f 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.es.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.es.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - Capturar identificadores durante el análisis + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - Utilizar buffers activos (no guardados) para la comprobación (es necesario reiniciar) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - Búferes activos (experimental) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.fr.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.fr.xlf index dbba6efcf95..64855bfe143 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.fr.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.fr.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - Capturer les identifiants lors de l'analyse + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - Utiliser des tampons en direct (non enregistrés) pour la vérification (redémarrage requis) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - Live Buffers (expérimental) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.it.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.it.xlf index 97211ccfe1a..ea14954fdb6 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.it.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.it.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - Acquisisci identificatori durante l'analisi + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - Usa buffer in tempo reale (non salvati) per il controllo (riavvio necessario) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - Buffer in tempo reale (sperimentale) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.ja.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.ja.xlf index 795d5f200bb..741ef1f5b8b 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.ja.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.ja.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - 解析中に識別子をキャプチャする + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - ライブ (未保存) バッファーをチェックに使用する (再起動が必要) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - ライブ バッファー (試験段階) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.ko.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.ko.xlf index 5edebc6c6a1..3bab68dbf57 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.ko.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.ko.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - 구문 분석하는 동안 식별자 캡처 + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - 확인에 라이브(저장되지 않은) 버퍼 사용(다시 시작 필요) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - 라이브 버퍼(실험적) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.pl.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.pl.xlf index 333ace99c7c..e555979a5f4 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.pl.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.pl.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - Przechwytywanie identyfikatorów podczas analizowania + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - Użyj aktywnych (niezapisanych) buforów do sprawdzania (wymagane ponowne uruchomienie) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - Aktywne bufory (eksperymentalne) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.pt-BR.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.pt-BR.xlf index 13baf2c91f6..55282d20882 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.pt-BR.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.pt-BR.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - Capturar identificadores durante a análise + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - Usar buffers dinâmicos (não salvos) para verificação (reinicialização necessária) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - Buffers Dinâmicos (experimental) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.ru.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.ru.xlf index af00409018f..860176541cd 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.ru.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.ru.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - Сканировать идентификаторы при синтаксическом анализе + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - Использовать динамические (несохраненные) буферы для проверки (требуется перезагрузка) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - Динамические буферы (экспериментальная функция) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.tr.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.tr.xlf index 8059105e46c..64324a5a9e1 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.tr.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.tr.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - Ayrıştırma sırasında tanımlayıcıları yakala + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - Denetim için canlı (kaydedilmemiş) arabellekler kullanın (yeniden başlatma gerekir) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - Canlı Arabellekler (deneysel) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hans.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hans.xlf index 11e2a089fd8..29360117ee4 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hans.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hans.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - 分析时捕获标识符 + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - 使用实时(未保存)缓冲区进行检查(需要重新启动) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - 实时缓冲区(实验性) + Live Buffers (experimental) diff --git a/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hant.xlf b/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hant.xlf index 68d00cb27f6..e90645fbd29 100644 --- a/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hant.xlf +++ b/vsintegration/src/FSharp.UIResources/xlf/Strings.zh-Hant.xlf @@ -24,7 +24,7 @@ Capture identifiers while parsing - 剖析時擷取識別項 + Capture identifiers while parsing @@ -39,7 +39,7 @@ Use live (unsaved) buffers for checking (restart required) - 使用即時 (未儲存) 緩衝區進行檢查 (需要重新啟動) + Use live (unsaved) buffers for checking (restart required) @@ -114,7 +114,7 @@ Live Buffers (experimental) - 即時緩衝區 (實驗性) + Live Buffers (experimental) From ff11f83497f187e5a34eb8e281fe96a7c8f0e2ea Mon Sep 17 00:00:00 2001 From: Kevin Ransom Date: Wed, 7 Feb 2024 13:26:34 -0800 Subject: [PATCH 2/4] updatexlf --- src/Compiler/xlf/FSComp.txt.cs.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.de.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.es.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.fr.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.it.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.ja.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.ko.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.pl.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.pt-BR.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.ru.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.tr.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.zh-Hans.xlf | 5 ----- src/Compiler/xlf/FSComp.txt.zh-Hant.xlf | 5 ----- .../src/FSharp.Editor/xlf/FSharp.Editor.de.xlf | 10 ++++++++-- .../src/FSharp.Editor/xlf/FSharp.Editor.es.xlf | 10 ++++++++-- .../src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf | 10 ++++++++-- .../src/FSharp.Editor/xlf/FSharp.Editor.it.xlf | 10 ++++++++-- .../src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf | 10 ++++++++-- .../src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf | 10 ++++++++-- .../src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf | 10 ++++++++-- .../src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf | 10 ++++++++-- .../src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf | 10 ++++++++-- .../src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf | 10 ++++++++-- .../FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf | 14 ++++++++++---- .../FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf | 10 ++++++++-- 25 files changed, 98 insertions(+), 91 deletions(-) diff --git a/src/Compiler/xlf/FSComp.txt.cs.xlf b/src/Compiler/xlf/FSComp.txt.cs.xlf index e0e63ec96de..f5d07242c13 100644 --- a/src/Compiler/xlf/FSComp.txt.cs.xlf +++ b/src/Compiler/xlf/FSComp.txt.cs.xlf @@ -962,11 +962,6 @@ Tento přístup člena je nejednoznačný. Při vytváření objektu použijte závorky, např. (new SomeType(args)).MemberName' - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. Neúplná deklarace statického konstruktoru. Pro deklaraci použijte „static let“, „static do“, „static member“ nebo „static val“. diff --git a/src/Compiler/xlf/FSComp.txt.de.xlf b/src/Compiler/xlf/FSComp.txt.de.xlf index 692c28c25fc..22a1cd749f1 100644 --- a/src/Compiler/xlf/FSComp.txt.de.xlf +++ b/src/Compiler/xlf/FSComp.txt.de.xlf @@ -962,11 +962,6 @@ Dieser Memberzugriff ist mehrdeutig. Setzen Sie Klammern um die Objekterstellung, z. B. "(new SomeType(args)). MemberName“ - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. Unvollständige Deklaration eines statischen Konstrukts. Verwenden Sie "static let", "static do", "static member" oder "static val" für die Deklaration. diff --git a/src/Compiler/xlf/FSComp.txt.es.xlf b/src/Compiler/xlf/FSComp.txt.es.xlf index 44762e0219b..92200593d94 100644 --- a/src/Compiler/xlf/FSComp.txt.es.xlf +++ b/src/Compiler/xlf/FSComp.txt.es.xlf @@ -962,11 +962,6 @@ Este acceso de miembro es ambiguo. Use paréntesis alrededor de la creación del objeto, por ejemplo, '(nuevo AlgúnTipo(args)).NombreMiembro' - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. Declaración incompleta de una construcción estática. Use "static let", "static do", "static member" o "static val" para la declaración. diff --git a/src/Compiler/xlf/FSComp.txt.fr.xlf b/src/Compiler/xlf/FSComp.txt.fr.xlf index 2b2a727d83b..dba62915de7 100644 --- a/src/Compiler/xlf/FSComp.txt.fr.xlf +++ b/src/Compiler/xlf/FSComp.txt.fr.xlf @@ -962,11 +962,6 @@ L’accès à ce membre est ambigu. Utilisez des parenthèses autour de la création de l’objet, par exemple' (New SomeType (args)). MemberName - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. Déclaration incomplète d’une construction statique. Utilisez « static let », « static do », « static member » ou « static val » pour la déclaration. diff --git a/src/Compiler/xlf/FSComp.txt.it.xlf b/src/Compiler/xlf/FSComp.txt.it.xlf index 7257ceaab14..6572f8f11ee 100644 --- a/src/Compiler/xlf/FSComp.txt.it.xlf +++ b/src/Compiler/xlf/FSComp.txt.it.xlf @@ -962,11 +962,6 @@ L'accesso ai membri è ambiguo. Utilizzare le parentesi intorno alla creazione oggetto, ad esempio “(New SomeType (args)). MemberName” - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. Dichiarazione incompleta di un costrutto statico. Usare 'static let','static do','static member' o 'static val' per la dichiarazione. diff --git a/src/Compiler/xlf/FSComp.txt.ja.xlf b/src/Compiler/xlf/FSComp.txt.ja.xlf index 717845bd813..062134d82c0 100644 --- a/src/Compiler/xlf/FSComp.txt.ja.xlf +++ b/src/Compiler/xlf/FSComp.txt.ja.xlf @@ -962,11 +962,6 @@ このメンバーへのアクセスはあいまいです。オブジェクト作成の前後にはかっこを使用してください。例: '(new SomeType(args)).MemberName' - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. 静的コンストラクトの不完全な宣言。宣言には、'static let'、'static do'、'static member'、または 'static val' を使用します。 diff --git a/src/Compiler/xlf/FSComp.txt.ko.xlf b/src/Compiler/xlf/FSComp.txt.ko.xlf index 81447a4ce02..78f1420a90e 100644 --- a/src/Compiler/xlf/FSComp.txt.ko.xlf +++ b/src/Compiler/xlf/FSComp.txt.ko.xlf @@ -962,11 +962,6 @@ 이 구성원 액세스가 모호합니다. 개체 생성 주위에 괄호를 사용하세요. 예: '(새로운 SomeType(인수)).MemberName' - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. 정적 구문의 선언이 불완전합니다. 선언에 'static let','static do','static member' 또는 'static val'을 사용합니다. diff --git a/src/Compiler/xlf/FSComp.txt.pl.xlf b/src/Compiler/xlf/FSComp.txt.pl.xlf index bd722223bc0..fdd7c310f6b 100644 --- a/src/Compiler/xlf/FSComp.txt.pl.xlf +++ b/src/Compiler/xlf/FSComp.txt.pl.xlf @@ -962,11 +962,6 @@ Dostęp tego elementu członkowskiego jest niejednoznaczny. W celu utworzenia obiektu użyj nawiasów, na przykład „(nowy SomeType(args)).MemberName” - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. Niekompletna deklaracja konstrukcji statycznej. Użyj elementu „static let”, „static do”, „static member” lub „static val” na potrzeby deklaracji. diff --git a/src/Compiler/xlf/FSComp.txt.pt-BR.xlf b/src/Compiler/xlf/FSComp.txt.pt-BR.xlf index 9792637a2b2..2274d6b1a28 100644 --- a/src/Compiler/xlf/FSComp.txt.pt-BR.xlf +++ b/src/Compiler/xlf/FSComp.txt.pt-BR.xlf @@ -962,11 +962,6 @@ Este acesso de membro é ambíguo. Use parênteses em torno da criação do objeto, por exemplo, '(new SomeType(args)).MemberName''. - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. Declaração incompleta de um constructo estático. Use "static let","static do","static member" ou "static val" para declaração. diff --git a/src/Compiler/xlf/FSComp.txt.ru.xlf b/src/Compiler/xlf/FSComp.txt.ru.xlf index 15b1bb80cf1..6fe5743748d 100644 --- a/src/Compiler/xlf/FSComp.txt.ru.xlf +++ b/src/Compiler/xlf/FSComp.txt.ru.xlf @@ -962,11 +962,6 @@ Неоднозначный доступ к этому элементу. Заключите операцию создания объекта в круглые скобки, например (new Объект(аргументы)).Элемент - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. Неполное объявление статической конструкции. Для объявления используйте «static let», «static do», «staticmember» или «static val». diff --git a/src/Compiler/xlf/FSComp.txt.tr.xlf b/src/Compiler/xlf/FSComp.txt.tr.xlf index d24f8eb964f..592dc720f17 100644 --- a/src/Compiler/xlf/FSComp.txt.tr.xlf +++ b/src/Compiler/xlf/FSComp.txt.tr.xlf @@ -962,11 +962,6 @@ Bu üye erişimi belirsiz. Lütfen nesne oluşturma etrafında parantez kullanın, örneğin '(yeni SomeType (args)).MemberName’ - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. Statik yapının bildirimi eksik. Bildirim için 'static let','static do','static member' veya 'static val' kullanın. diff --git a/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf b/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf index 9f29dc54851..373eb45cac8 100644 --- a/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf +++ b/src/Compiler/xlf/FSComp.txt.zh-Hans.xlf @@ -962,11 +962,6 @@ 此成员访问权限不明确。请在对象创建周围使用括号,例如 “(new SomeType(args)).MemberName” - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. 静态构造的声明不完整。使用“static let”、“static do”、“static member”或“static val”进行声明。 diff --git a/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf b/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf index 98d91917a25..a17695469e6 100644 --- a/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf +++ b/src/Compiler/xlf/FSComp.txt.zh-Hant.xlf @@ -962,11 +962,6 @@ 此成員存取不明確。請在物件建立前後加上括弧,例如「(new SomeType(args)).MemberName」 - - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - _. shorthand syntax for lambda functions can only be used with atomic expressions. That means expressions with no whitespace unless enclosed in parentheses. - - Incomplete declaration of a static construct. Use 'static let','static do','static member' or 'static val' for declaration. 不完整的靜態建構宣告。使用 'static let'、'static do'、'static member' 或 'static val' 進行宣告。 diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf index b86bca3233d..65760e26e6d 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.de.xlf @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - Formatierung; +Dash underline; +Show remarks in Quick Info + Formatierung; Bevorzugte Beschreibungsbreite in Zeichen; Signatur in der angegebenen Breite formatieren, indem Zeilenumbrüche hinzugefügt werden, die den F#-Syntaxregeln entsprechen; Navigationslinks; @@ -211,6 +212,11 @@ Punkt unterstrichen; Strich unterstrichen; + + Remarks: + Remarks: + + Remove 'return' "return" entfernen diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf index 4f31ff2dd7f..ab74a46359b 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.es.xlf @@ -202,8 +202,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - Formato; +Dash underline; +Show remarks in Quick Info + Formato; Ancho de descripción preferido en caracteres; Dar formato a la firma con el ancho dado agregando saltos de línea que cumplan las reglas de sintaxis de F#; Vínculos de navegación; @@ -213,6 +214,11 @@ Subrayado de punto; Subrayado de guion; + + Remarks: + Remarks: + + Remove 'return' Quitar "return" diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf index 09d01fb7c7f..f265c7a3508 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.fr.xlf @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - Formatage; +Dash underline; +Show remarks in Quick Info + Formatage; Largeur de description préférée en caractères ; Mettre en forme la signature à la largeur donnée en ajoutant des sauts de ligne conformes aux règles de syntaxe F# ; Liens de navigation ; @@ -211,6 +212,11 @@ Soulignement pointé ; Soulignement en tirets ; + + Remarks: + Remarks: + + Remove 'return' Supprimer 'return' diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf index 8de1af8175e..2346263eb6c 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.it.xlf @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - Formattazione; +Dash underline; +Show remarks in Quick Info + Formattazione; Larghezza descrizione preferita in caratteri; Formatta la firma in base alla larghezza specificata aggiungendo interruzioni di riga conformi alle regole di sintassi F#; Collegamenti di spostamento; @@ -211,6 +212,11 @@ Sottolineatura a punto; Sottolineatura a trattini; + + Remarks: + Remarks: + + Remove 'return' Rimuovi 'return' diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf index 5778560a9d3..04a229c98e3 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ja.xlf @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - 書式 設定; +Dash underline; +Show remarks in Quick Info + 書式 設定; 希望の説明の幅 (文字数); F# 構文規則に準拠するよう、改行を追加して指定された幅に署名を書式設定します; ナビゲーション リンク; @@ -211,6 +212,11 @@ F# 構文規則に準拠するよう、改行を追加して指定された幅 ダッシュ下線; + + Remarks: + Remarks: + + Remove 'return' 'return' の削除 diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf index b5d6be5be78..d2251deb61a 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ko.xlf @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - 서식; +Dash underline; +Show remarks in Quick Info + 서식; 기본 설정 문자 설명 너비; F# 구문 규칙에 맞는 줄바꿈을 추가하여 지정된 너비에 서명 서식 지정; 탐색 링크; @@ -211,6 +212,11 @@ F# 구문 규칙에 맞는 줄바꿈을 추가하여 지정된 너비에 서명 대시 밑줄; + + Remarks: + Remarks: + + Remove 'return' 'return' 제거 diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf index 2ed7fecb6aa..6a3347d9bd2 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pl.xlf @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - Formatowanie; +Dash underline; +Show remarks in Quick Info + Formatowanie; Preferowana szerokość opisu w znakach; Sformatuj sygnaturę na daną szerokość, dodając podziały wierszy zgodne z regułami składni języka F#; Linki nawigacji; @@ -211,6 +212,11 @@ Podkreślenie kropką; Podkreślenie kreską; + + Remarks: + Remarks: + + Remove 'return' Usuń element „return” diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf index 499fbecb314..120d286433d 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.pt-BR.xlf @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - Formatação; +Dash underline; +Show remarks in Quick Info + Formatação; Largura da descrição preferida em caracteres; Formate a assinatura para a largura especificada adicionando quebras de linha em conformidade com as regras de sintaxe do F#; Links de navegação; @@ -211,6 +212,11 @@ Ponto sublinhado; Traço sublinhado; + + Remarks: + Remarks: + + Remove 'return' Remover 'return' diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf index 34da084b906..06f6eadd24c 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.ru.xlf @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - Форматирование; +Dash underline; +Show remarks in Quick Info + Форматирование; Предпочитаемая ширина описания в символах; Форматирование подписи до заданной ширины путем добавления разрывов строк в соответствии с правилами синтаксиса F#; Ссылки навигации; @@ -211,6 +212,11 @@ Dash underline; Штриховое подчеркивание; + + Remarks: + Remarks: + + Remove 'return' Удалить "return" diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf index a1f593290a1..93b8cb2cc3e 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.tr.xlf @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - Biçimlendirme; +Dash underline; +Show remarks in Quick Info + Biçimlendirme; Karakter olarak tercih edilen açıklama genişliği; F# söz dizimi kurallarına uyan satır sonları ekleyerek imzayı verilen genişliğe biçimlendir; Gezinti bağlantıları; @@ -211,6 +212,11 @@ Nokta alt çizgi; Tire alt çizgisi; + + Remarks: + Remarks: + + Remove 'return' 'return' öğesini kaldır diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf index a7ce4cdeb6e..36a50465468 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hans.xlf @@ -42,8 +42,8 @@ Display inline type hints (preview); Display return type hints (preview); Display inline parameter name hints (preview); Live Buffers; -Use live (unsaved) buffers for checking - 块结构指南; +Use live (unsaved) buffers for analysis + 块结构指南; 显示 F# 代码的结构指南; 大纲; 显示 F# 代码的大纲和可折叠节点; @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - 格式设置; +Dash underline; +Show remarks in Quick Info + 格式设置; 首选描述宽度 (以字符为单位); 通过添加符合 F# 语法规则的换行符,将签名格式设置为指定宽度; 导航链接; @@ -211,6 +212,11 @@ Dash underline; 短划线下划线; + + Remarks: + Remarks: + + Remove 'return' 删除 "return" diff --git a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf index 6a4b11d1d23..a855f93cd70 100644 --- a/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf +++ b/vsintegration/src/FSharp.Editor/xlf/FSharp.Editor.zh-Hant.xlf @@ -200,8 +200,9 @@ Navigation links; Show navigation links as; Solid underline; Dot underline; -Dash underline; - 格式化; +Dash underline; +Show remarks in Quick Info + 格式化; 慣用描述寬度 (以字元為單位); 透過新增符合 F# 語法規則的分行符號,將簽章格式設定為指定寬度; 瀏覽連結; @@ -211,6 +212,11 @@ Dash underline; 虛線底線; + + Remarks: + Remarks: + + Remove 'return' 移除 'return' From ebf21ff4a55b41f1aca7d4b96e200788e1459680 Mon Sep 17 00:00:00 2001 From: "Kevin Ransom (msft)" Date: Thu, 8 Feb 2024 05:42:57 -0800 Subject: [PATCH 3/4] Fix16431 - Modify DU static initialization (#16661) * Fix16431 - Modify DU static initialization #16661 * Update docs/release-notes/.FSharp.Compiler.Service/8.0.300.md Co-authored-by: Florian Verdonck --------- Co-authored-by: Florian Verdonck Co-authored-by: Petr --- .../.FSharp.Compiler.Service/8.0.300.md | 1 + src/Compiler/AbstractIL/il.fs | 26 ++++++ src/Compiler/AbstractIL/il.fsi | 3 +- src/Compiler/CodeGen/IlxGen.fs | 80 +++++++++++-------- .../Types/UnionTypes/UnionTypes.fs | 40 ++++++++++ 5 files changed, 114 insertions(+), 36 deletions(-) diff --git a/docs/release-notes/.FSharp.Compiler.Service/8.0.300.md b/docs/release-notes/.FSharp.Compiler.Service/8.0.300.md index b3e2076bc21..1db6639b99b 100644 --- a/docs/release-notes/.FSharp.Compiler.Service/8.0.300.md +++ b/docs/release-notes/.FSharp.Compiler.Service/8.0.300.md @@ -7,6 +7,7 @@ * Keep parens for problematic exprs (`if`, `match`, etc.) in `$"{(…):N0}"`, `$"{(…),-3}"`, etc. ([PR #16578](https://github.com/dotnet/fsharp/pull/16578)) * Fix crash in DOTNET_SYSTEM_GLOBALIZATION_INVARIANT mode ([PR #16471](https://github.com/dotnet/fsharp/pull/16471)) * `[]` member should not produce property symbol. ([Issue #16640](https://github.com/dotnet/fsharp/issues/16640), [PR #16658](https://github.com/dotnet/fsharp/pull/16658)) +* Fix discriminated union initialization. ([#PR 16661](https://github.com/dotnet/fsharp/pull/16661)) ### Added diff --git a/src/Compiler/AbstractIL/il.fs b/src/Compiler/AbstractIL/il.fs index aa6c4aae69e..7f303178553 100644 --- a/src/Compiler/AbstractIL/il.fs +++ b/src/Compiler/AbstractIL/il.fs @@ -3952,6 +3952,29 @@ let mdef_code2code f (md: ILMethodDef) = let b = MethodBody.IL(notlazy ilCode) md.With(body = notlazy b) +let appendInstrsToCode (instrs: ILInstr list) (c2: ILCode) = + let instrs = Array.ofList instrs + + match + c2.Instrs + |> Array.tryFindIndexBack (fun instr -> + match instr with + | I_ret -> true + | _ -> false) + with + | Some 0 -> + { c2 with + Instrs = Array.concat [| instrs; c2.Instrs |] + } + | Some index -> + { c2 with + Instrs = Array.concat [| c2.Instrs[.. index - 1]; instrs; c2.Instrs[index..] |] + } + | None -> + { c2 with + Instrs = Array.append c2.Instrs instrs + } + let prependInstrsToCode (instrs: ILInstr list) (c2: ILCode) = let instrs = Array.ofList instrs let n = instrs.Length @@ -3985,6 +4008,9 @@ let prependInstrsToCode (instrs: ILInstr list) (c2: ILCode) = Instrs = Array.append instrs c2.Instrs } +let appendInstrsToMethod newCode md = + mdef_code2code (appendInstrsToCode newCode) md + let prependInstrsToMethod newCode md = mdef_code2code (prependInstrsToCode newCode) md diff --git a/src/Compiler/AbstractIL/il.fsi b/src/Compiler/AbstractIL/il.fsi index 5ba803fb757..5e02f4c0c1e 100644 --- a/src/Compiler/AbstractIL/il.fsi +++ b/src/Compiler/AbstractIL/il.fsi @@ -2162,8 +2162,9 @@ val internal mkRawDataValueTypeDef: ILType -> string * size: int32 * pack: uint1 /// the code, and the first instruction will be the new entry /// of the method. The instructions should be non-branching. +val internal appendInstrsToCode: ILInstr list -> ILCode -> ILCode +val internal appendInstrsToMethod: ILInstr list -> ILMethodDef -> ILMethodDef val internal prependInstrsToCode: ILInstr list -> ILCode -> ILCode - val internal prependInstrsToMethod: ILInstr list -> ILMethodDef -> ILMethodDef /// Injecting initialization code into a class. diff --git a/src/Compiler/CodeGen/IlxGen.fs b/src/Compiler/CodeGen/IlxGen.fs index e301813edae..6a574fadc14 100644 --- a/src/Compiler/CodeGen/IlxGen.fs +++ b/src/Compiler/CodeGen/IlxGen.fs @@ -1908,7 +1908,16 @@ type TypeDefBuilder(tdef: ILTypeDef, tdefDiscards) = if not discard then AddPropertyDefToHash m gproperties pdef - member _.PrependInstructionsToSpecificMethodDef(cond, instrs, tag, imports) = + member _.AppendInstructionsToSpecificMethodDef(cond, instrs, tag, imports) = + match ResizeArray.tryFindIndex cond gmethods with + | Some idx -> gmethods[idx] <- appendInstrsToMethod instrs gmethods[idx] + | None -> + let body = + mkMethodBody (false, [], 1, nonBranchingInstrsToCode instrs, tag, imports) + + gmethods.Add(mkILClassCtor body) + + member this.PrependInstructionsToSpecificMethodDef(cond, instrs, tag, imports) = match ResizeArray.tryFindIndex cond gmethods with | Some idx -> gmethods[idx] <- prependInstrsToMethod instrs gmethods[idx] | None -> @@ -1917,6 +1926,8 @@ type TypeDefBuilder(tdef: ILTypeDef, tdefDiscards) = gmethods.Add(mkILClassCtor body) + this + and TypeDefsBuilder() = let tdefs = @@ -2264,6 +2275,22 @@ and AssemblyBuilder(cenv: cenv, anonTypeTable: AnonTypeGenerationTable) as mgbuf /// static init fields on script modules. let scriptInitFspecs = ConcurrentStack() + let initialInstrs seqpt feefee = + [ + yield! + (if isEnvVarSet "NO_ADD_FEEFEE_TO_CCTORS" then [] + elif isEnvVarSet "ADD_SEQPT_TO_CCTORS" then seqpt + else feefee) // mark start of hidden code + ] + + let finalInstrs fspec = + [ + yield mkLdcInt32 0 + yield mkNormalStsfld fspec + yield mkNormalLdsfld fspec + yield AI_pop + ] + member _.AddScriptInitFieldSpec(fieldSpec, range) = scriptInitFspecs.Push((fieldSpec, range)) @@ -2276,15 +2303,7 @@ and AssemblyBuilder(cenv: cenv, anonTypeTable: AnonTypeGenerationTable) as mgbuf let InitializeCompiledScript (fspec, m) = let ilDebugRange = GenPossibleILDebugRange cenv m - mgbuf.AddExplicitInitToSpecificMethodDef( - (fun (md: ILMethodDef) -> md.IsEntryPoint), - tref, - fspec, - ilDebugRange, - imports, - [], - [] - ) + mgbuf.AddExplicitInitToEntryPoint(tref, fspec, ilDebugRange, imports, [], []) scriptInitFspecs |> Seq.iter InitializeCompiledScript | None -> () @@ -2325,24 +2344,23 @@ and AssemblyBuilder(cenv: cenv, anonTypeTable: AnonTypeGenerationTable) as mgbuf if ilMethodDef.IsEntryPoint then explicitEntryPointInfo <- Some tref - member _.AddExplicitInitToSpecificMethodDef(cond, tref, fspec, sourceOpt, imports, feefee, seqpt) = - // Authoring a .cctor with effects forces the cctor for the 'initialization' module by doing a dummy store & load of a field - // Doing both a store and load keeps FxCop happier because it thinks the field is useful - let instrs = - [ - yield! - (if isEnvVarSet "NO_ADD_FEEFEE_TO_CCTORS" then [] - elif isEnvVarSet "ADD_SEQPT_TO_CCTORS" then seqpt - else feefee) // mark start of hidden code - yield mkLdcInt32 0 - yield mkNormalStsfld fspec - yield mkNormalLdsfld fspec - yield AI_pop - ] + member _.AddExplicitInitToEntryPoint(tref, fspec, sourceOpt, imports, feefee, seqpt) = + + let cond = (fun (md: ILMethodDef) -> md.IsEntryPoint) gtdefs .FindNestedTypeDefBuilder(tref) - .PrependInstructionsToSpecificMethodDef(cond, instrs, sourceOpt, imports) + .PrependInstructionsToSpecificMethodDef(cond, (initialInstrs seqpt feefee) @ (finalInstrs fspec), sourceOpt, imports) + |> ignore + + member _.AddExplicitInitToCctor(tref, fspec, sourceOpt, imports, feefee, seqpt) = + + let cond = (fun (md: ILMethodDef) -> md.Name = ".cctor") + + gtdefs + .FindNestedTypeDefBuilder(tref) + .PrependInstructionsToSpecificMethodDef(cond, initialInstrs seqpt feefee, sourceOpt, imports) + .AppendInstructionsToSpecificMethodDef(cond, finalInstrs fspec, sourceOpt, imports) member _.AddEventDef(tref, edef) = gtdefs.FindNestedTypeDefBuilder(tref).AddEventDef(edef) @@ -10194,15 +10212,7 @@ and GenImplFile cenv (mgbuf: AssemblyBuilder) mainInfoOpt eenv (implFile: Checke // This adds the explicit init of the .cctor to the explicit entry point main method let ilDebugRange = GenPossibleILDebugRange cenv m - mgbuf.AddExplicitInitToSpecificMethodDef( - (fun md -> md.IsEntryPoint), - tref, - fspec, - ilDebugRange, - eenv.imports, - feefee, - seqpt - )) + mgbuf.AddExplicitInitToEntryPoint(tref, fspec, ilDebugRange, eenv.imports, feefee, seqpt)) let cctorMethDef = mkILClassCtor (MethodBody.IL(InterruptibleLazy.FromValue topCode)) @@ -10289,7 +10299,7 @@ and GenForceWholeFileInitializationAsPartOfCCtor cenv (mgbuf: AssemblyBuilder) ( // Doing both a store and load keeps FxCop happier because it thinks the field is useful lazyInitInfo.Add(fun fspec feefee seqpt -> let ilDebugRange = GenPossibleILDebugRange cenv m - mgbuf.AddExplicitInitToSpecificMethodDef((fun md -> md.Name = ".cctor"), tref, fspec, ilDebugRange, imports, feefee, seqpt)) + mgbuf.AddExplicitInitToCctor(tref, fspec, ilDebugRange, imports, feefee, seqpt)) /// Generate an Equals method. and GenEqualsOverrideCallingIComparable cenv (tcref: TyconRef, ilThisTy, _ilThatTy) = diff --git a/tests/FSharp.Compiler.ComponentTests/Conformance/Types/UnionTypes/UnionTypes.fs b/tests/FSharp.Compiler.ComponentTests/Conformance/Types/UnionTypes/UnionTypes.fs index ea40ea51cb1..e30a31edacf 100644 --- a/tests/FSharp.Compiler.ComponentTests/Conformance/Types/UnionTypes/UnionTypes.fs +++ b/tests/FSharp.Compiler.ComponentTests/Conformance/Types/UnionTypes/UnionTypes.fs @@ -609,3 +609,43 @@ module UnionTypes = |> withDiagnostics [ (Warning 42, Line 11, Col 12, Line 11, Col 24, "This construct is deprecated: it is only for use in the F# library") ] + + + //SOURCE=W_UnionCaseProduction01.fsx SCFLAGS="-a --test:ErrorRanges" # W_UnionCaseProduction01.fsx + [] + let ``UnionCaseInitialization_repro16431`` () = + + let testFs = + SourceCodeFileKind.Create( + "testFs.fs", + $""" +module Test + +type ABC = + | A + | B + | C of int + + static let c75' = ABC.C 75 + static member c75 = c75' + + static let ab' = [ A; B ] + static member ab = ab' + """) + + let programFs = + SourceCodeFileKind.Create( + "programFs.fs", + $""" +open Test + +if (sprintf "%%A" ABC.c75) <> "C 75" then failwith (sprintf "Failed: printing 'ABC.c75': Expected output: 'C 75' Actual output: '%%A'" ABC.c75) +if (sprintf "%%A" ABC.ab) <> "[A; B]" then failwith (sprintf "Failed: printing 'ABC.ab: Expected: '[A; B]' Actual: '%%A'" ABC.ab) + """) + + (fsFromString testFs) + |> FS + |> withAdditionalSourceFiles [programFs] + |> asExe + |> compileAndRun + |> shouldSucceed From b4e5fbab53302d299ec885afb3ee81fcd0a5e6d0 Mon Sep 17 00:00:00 2001 From: Brian Rourke Boll Date: Thu, 8 Feb 2024 11:37:29 -0500 Subject: [PATCH 4/4] =?UTF-8?q?Parens:=20`${(=E2=80=A6;=20=E2=80=A6)}`=20&?= =?UTF-8?q?=20multiline=20expr=20handling=20(#16666)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Parens needed for sequential exprs in interp strs * Handle more multiline parenthesization scenarios * Fmt * Expose `SyntaxNodes` API for internal use * Keep parens when removal would result in shadowing * Update release notes * Use `when` * Use better range * Consider spacing _after_ trimming --------- Co-authored-by: Adam Boniecki <20281641+abonie@users.noreply.github.com> Co-authored-by: Petr --- .../.FSharp.Compiler.Service/8.0.300.md | 1 + docs/release-notes/.VisualStudio/17.10.md | 1 + src/Compiler/Service/ServiceParseTreeWalk.fs | 45 ++-- src/Compiler/Service/ServiceParseTreeWalk.fsi | 129 ++++++++++++ src/Compiler/Service/SynExpr.fs | 32 +++ .../CodeFixes/RemoveUnnecessaryParentheses.fs | 192 +++++++++--------- .../RemoveUnnecessaryParenthesesTests.fs | 183 +++++++++++++++-- 7 files changed, 456 insertions(+), 127 deletions(-) diff --git a/docs/release-notes/.FSharp.Compiler.Service/8.0.300.md b/docs/release-notes/.FSharp.Compiler.Service/8.0.300.md index 1db6639b99b..6a4d44d2aec 100644 --- a/docs/release-notes/.FSharp.Compiler.Service/8.0.300.md +++ b/docs/release-notes/.FSharp.Compiler.Service/8.0.300.md @@ -4,6 +4,7 @@ * Code generated files with > 64K methods and generated symbols crash when loaded. Use infered sequence points for debugging. ([Issue #16399](https://github.com/dotnet/fsharp/issues/16399), [#PR 16514](https://github.com/dotnet/fsharp/pull/16514)) * `nameof Module` expressions and patterns are processed to link files in `--test:GraphBasedChecking`. ([PR #16550](https://github.com/dotnet/fsharp/pull/16550)) * Graph Based Checking doesn't throw on invalid parsed input so it can be used for IDE scenarios ([PR #16575](https://github.com/dotnet/fsharp/pull/16575), [PR #16588](https://github.com/dotnet/fsharp/pull/16588), [PR #16643](https://github.com/dotnet/fsharp/pull/16643)) +* Various parenthesization API fixes. ([PR #16578](https://github.com/dotnet/fsharp/pull/16578), [PR #16666](https://github.com/dotnet/fsharp/pull/16666)) * Keep parens for problematic exprs (`if`, `match`, etc.) in `$"{(…):N0}"`, `$"{(…),-3}"`, etc. ([PR #16578](https://github.com/dotnet/fsharp/pull/16578)) * Fix crash in DOTNET_SYSTEM_GLOBALIZATION_INVARIANT mode ([PR #16471](https://github.com/dotnet/fsharp/pull/16471)) * `[]` member should not produce property symbol. ([Issue #16640](https://github.com/dotnet/fsharp/issues/16640), [PR #16658](https://github.com/dotnet/fsharp/pull/16658)) diff --git a/docs/release-notes/.VisualStudio/17.10.md b/docs/release-notes/.VisualStudio/17.10.md index 0045b1bd64b..a4b0a8a9f0d 100644 --- a/docs/release-notes/.VisualStudio/17.10.md +++ b/docs/release-notes/.VisualStudio/17.10.md @@ -1,6 +1,7 @@ ### Fixed * Show signature help mid-pipeline in more scenarios. ([PR #16462](https://github.com/dotnet/fsharp/pull/16462)) +* Various unneeded parentheses code fix improvements. ([PR #16578](https://github.com/dotnet/fsharp/pull/16578), [PR #16666](https://github.com/dotnet/fsharp/pull/16666)) ### Changed diff --git a/src/Compiler/Service/ServiceParseTreeWalk.fs b/src/Compiler/Service/ServiceParseTreeWalk.fs index ec5b623d0b8..d0c0132dc6b 100644 --- a/src/Compiler/Service/ServiceParseTreeWalk.fs +++ b/src/Compiler/Service/ServiceParseTreeWalk.fs @@ -1163,8 +1163,8 @@ module SyntaxNode = [] [] -module ParsedInput = - let fold folder state (parsedInput: ParsedInput) = +module internal SyntaxNodes = + let fold folder state (ast: SyntaxNode list) = let mutable state = state let visitor = @@ -1270,7 +1270,6 @@ module ParsedInput = loop diveResults - let ast = parsedInput.Contents let m = (range0, ast) ||> List.fold (fun acc node -> unionRanges acc node.Range) ignore (SyntaxTraversal.traverseUntil pickAll m.End visitor ast) state @@ -1454,7 +1453,7 @@ module ParsedInput = ignore (SyntaxTraversal.traverseUntil pick pos visitor ast) state - let foldWhile folder state (parsedInput: ParsedInput) = + let foldWhile folder state (ast: SyntaxNode list) = let pickAll _ _ _ diveResults = let rec loop diveResults = match diveResults with @@ -1465,11 +1464,10 @@ module ParsedInput = loop diveResults - let ast = parsedInput.Contents let m = (range0, ast) ||> List.fold (fun acc node -> unionRanges acc node.Range) foldWhileImpl pickAll m.End folder state ast - let tryPick chooser position (parsedInput: ParsedInput) = + let tryPick chooser position (ast: SyntaxNode list) = let visitor = { new SyntaxVisitorBase<'T>() with member _.VisitExpr(path, _, defaultTraverse, expr) = @@ -1545,25 +1543,46 @@ module ParsedInput = | _ -> None } - SyntaxTraversal.traverseUntil SyntaxTraversal.pick position visitor parsedInput.Contents + SyntaxTraversal.traverseUntil SyntaxTraversal.pick position visitor ast - let tryPickLast chooser position (parsedInput: ParsedInput) = - (None, parsedInput.Contents) + let tryPickLast chooser position (ast: SyntaxNode list) = + (None, ast) ||> foldWhileImpl SyntaxTraversal.pick position (fun prev path node -> match chooser path node with | Some _ as next -> Some next | None -> Some prev) - let tryNode position (parsedInput: ParsedInput) = + let tryNode position (ast: SyntaxNode list) = let Matching = Some - (None, parsedInput.Contents) + (None, ast) ||> foldWhileImpl SyntaxTraversal.pick position (fun _prev path node -> if rangeContainsPos node.Range position then Some(Matching(node, path)) else None) - let exists predicate position parsedInput = - tryPick (fun path node -> if predicate path node then Some() else None) position parsedInput + let exists predicate position ast = + tryPick (fun path node -> if predicate path node then Some() else None) position ast |> Option.isSome + +[] +[] +module ParsedInput = + let fold folder state (parsedInput: ParsedInput) = + SyntaxNodes.fold folder state parsedInput.Contents + + let foldWhile folder state (parsedInput: ParsedInput) = + SyntaxNodes.foldWhile folder state parsedInput.Contents + + let tryPick chooser position (parsedInput: ParsedInput) = + SyntaxNodes.tryPick chooser position parsedInput.Contents + + let tryPickLast chooser position (parsedInput: ParsedInput) = + SyntaxNodes.tryPickLast chooser position parsedInput.Contents + + let tryNode position (parsedInput: ParsedInput) = + SyntaxNodes.tryNode position parsedInput.Contents + + let exists predicate position (parsedInput: ParsedInput) = + SyntaxNodes.exists predicate position parsedInput.Contents diff --git a/src/Compiler/Service/ServiceParseTreeWalk.fsi b/src/Compiler/Service/ServiceParseTreeWalk.fsi index 86ca17380ee..ab9e98f6e81 100644 --- a/src/Compiler/Service/ServiceParseTreeWalk.fsi +++ b/src/Compiler/Service/ServiceParseTreeWalk.fsi @@ -219,6 +219,135 @@ module SyntaxNode = /// val (|Attributes|): node: SyntaxNode -> SynAttributes +/// +/// Holds operations for working with the untyped abstract syntax tree. +/// +[] +[] +module internal SyntaxNodes = + /// + /// Applies the given predicate to each node of the AST and its context (path) + /// down to a given position, returning true if a matching node is found, otherwise false. + /// Traversal is short-circuited if no matching node is found through the given position. + /// + /// The predicate to match each node against. + /// The position in the input file down to which to apply the function. + /// The AST to search. + /// True if a matching node is found, or false if no matching node is found. + /// + /// + /// let isInTypeDefn = + /// (pos, ast) + /// ||> SyntaxNodes.exists (fun _path node -> + /// match node with + /// | SyntaxNode.SynTypeDefn _ -> true + /// | _ -> false) + /// + /// + val exists: predicate: (SyntaxVisitorPath -> SyntaxNode -> bool) -> position: pos -> ast: SyntaxNode list -> bool + + /// + /// Applies a function to each node of the AST and its context (path), + /// threading an accumulator through the computation. + /// + /// The function to use to update the state given each node and its context. + /// The initial state. + /// The AST to fold over. + /// The final state. + /// + /// + /// let unnecessaryParentheses = + /// (HashSet Range.comparer, ast) ||> SyntaxNodes.fold (fun acc path node -> + /// match node with + /// | SyntaxNode.SynExpr (SynExpr.Paren (expr = inner; rightParenRange = Some _; range = range)) when + /// not (SynExpr.shouldBeParenthesizedInContext getLineString path inner) + /// -> + /// ignore (acc.Add range) + /// acc + /// + /// | SyntaxNode.SynPat (SynPat.Paren (inner, range)) when + /// not (SynPat.shouldBeParenthesizedInContext path inner) + /// -> + /// ignore (acc.Add range) + /// acc + /// + /// | _ -> acc) + /// + /// + val fold: + folder: ('State -> SyntaxVisitorPath -> SyntaxNode -> 'State) -> state: 'State -> ast: SyntaxNode list -> 'State + + /// + /// Applies a function to each node of the AST and its context (path) + /// until the folder returns None, threading an accumulator through the computation. + /// + /// The function to use to update the state given each node and its context, or to stop traversal by returning None. + /// The initial state. + /// The AST to fold over. + /// The final state. + val foldWhile: + folder: ('State -> SyntaxVisitorPath -> SyntaxNode -> 'State option) -> + state: 'State -> + ast: SyntaxNode list -> + 'State + + /// + /// Dives to the deepest node that contains the given position, + /// returning the node and its path if found, or None if no + /// node contains the position. + /// + /// The position in the input file down to which to dive. + /// The AST to search. + /// The deepest node containing the given position, along with the path taken through the node's ancestors to find it. + val tryNode: position: pos -> ast: SyntaxNode list -> (SyntaxNode * SyntaxVisitorPath) option + + /// + /// Applies the given function to each node of the AST and its context (path) + /// down to a given position, returning Some x for the first node + /// for which the function returns Some x for some value x, otherwise None. + /// Traversal is short-circuited if no matching node is found through the given position. + /// + /// The function to apply to each node and its context to derive an optional value. + /// The position in the input file down to which to apply the function. + /// The AST to search. + /// The first value for which the function returns Some, or None if no matching node is found. + /// + /// + /// let range = + /// (pos, ast) ||> SyntaxNodes.tryPick (fun _path node -> + /// match node with + /// | SyntaxNode.SynExpr (SynExpr.InterpolatedString (range = range)) when + /// rangeContainsPos range pos + /// -> Some range + /// | _ -> None) + /// + /// + val tryPick: + chooser: (SyntaxVisitorPath -> SyntaxNode -> 'T option) -> position: pos -> ast: SyntaxNode list -> 'T option + + /// + /// Applies the given function to each node of the AST and its context (path) + /// down to a given position, returning Some x for the last (deepest) node + /// for which the function returns Some x for some value x, otherwise None. + /// Traversal is short-circuited if no matching node is found through the given position. + /// + /// The function to apply to each node and its context to derive an optional value. + /// The position in the input file down to which to apply the function. + /// The AST to search. + /// The last (deepest) value for which the function returns Some, or None if no matching node is found. + /// + /// + /// let range = + /// (pos, ast) + /// ||> SyntaxNodes.tryPickLast (fun path node -> + /// match node, path with + /// | FuncIdent range -> Some range + /// | _ -> None) + /// + /// + val tryPickLast: + chooser: (SyntaxVisitorPath -> SyntaxNode -> 'T option) -> position: pos -> ast: SyntaxNode list -> 'T option + /// /// Holds operations for working with the /// untyped abstract syntax tree (). diff --git a/src/Compiler/Service/SynExpr.fs b/src/Compiler/Service/SynExpr.fs index 41dbd4d4d18..07321ce1646 100644 --- a/src/Compiler/Service/SynExpr.fs +++ b/src/Compiler/Service/SynExpr.fs @@ -774,6 +774,23 @@ module SynExpr = loop clauses + let innerBindingsWouldShadowOuter expr1 (expr2: SynExpr) = + let identsBoundInInner = + (Set.empty, [ SyntaxNode.SynExpr expr1 ]) + ||> SyntaxNodes.fold (fun idents _path node -> + match node with + | SyntaxNode.SynPat(SynPat.Named(ident = SynIdent(ident = ident))) -> idents.Add ident.idText + | _ -> idents) + + if identsBoundInInner.IsEmpty then + false + else + (expr2.Range.End, [ SyntaxNode.SynExpr expr2 ]) + ||> SyntaxNodes.exists (fun _path node -> + match node with + | SyntaxNode.SynExpr(SynExpr.Ident ident) -> identsBoundInInner.Contains ident.idText + | _ -> false) + match outer, inner with | ConfusableWithTypeApp, _ -> true @@ -812,6 +829,21 @@ module SynExpr = -> true + // Keep parens if a name in the outer scope is rebound + // in the inner scope and would shadow the outer binding + // if the parens were removed, e.g.: + // + // let x = 3 + // ( + // let x = 4 + // printfn $"{x}" + // ) + // x + | SynExpr.Sequential(expr1 = SynExpr.Paren(expr = Is inner); expr2 = expr2), _ when innerBindingsWouldShadowOuter inner expr2 -> + true + + | SynExpr.InterpolatedString _, SynExpr.Sequential _ -> true + | SynExpr.InterpolatedString(contents = contents), (SynExpr.Tuple(isStruct = false) | Dangling.Problematic _) -> contents |> List.exists (function diff --git a/vsintegration/src/FSharp.Editor/CodeFixes/RemoveUnnecessaryParentheses.fs b/vsintegration/src/FSharp.Editor/CodeFixes/RemoveUnnecessaryParentheses.fs index 5b4e0e994f1..60cbf8ccd76 100644 --- a/vsintegration/src/FSharp.Editor/CodeFixes/RemoveUnnecessaryParentheses.fs +++ b/vsintegration/src/FSharp.Editor/CodeFixes/RemoveUnnecessaryParentheses.fs @@ -28,7 +28,38 @@ module private Patterns = [] module SourceText = - /// Returns true if the given span contains an expression + /// E.g., something like: + /// + /// let … = (␤ + /// … + /// ) + [] + let (|TrailingOpen|_|) (span: TextSpan) (sourceText: SourceText) = + let linePosition = sourceText.Lines.GetLinePosition span.Start + let line = (sourceText.Lines.GetLineFromPosition span.Start).ToString() + + if + line.AsSpan(0, linePosition.Character).LastIndexOfAnyExcept(' ', '(') >= 0 + && line.AsSpan(linePosition.Character).IndexOfAnyExcept('(', ' ') < 0 + then + ValueSome TrailingOpen + else + ValueNone + + /// Trim only spaces from the start if there is something else + /// before the open paren on the same line (or else we could move + /// the whole inner expression up a line); otherwise trim all whitespace + // from start and end. + let (|Trim|) (span: TextSpan) (sourceText: SourceText) = + let linePosition = sourceText.Lines.GetLinePosition span.Start + let line = (sourceText.Lines.GetLineFromPosition span.Start).ToString() + + if line.AsSpan(0, linePosition.Character).LastIndexOfAnyExcept(' ', '(') >= 0 then + fun (s: string) -> s.TrimEnd().TrimStart ' ' + else + fun (s: string) -> s.Trim() + + /// Returns the offsides diff if the given span contains an expression /// whose indentation would be made invalid if the open paren /// were removed (because the offside line would be shifted), e.g., /// @@ -43,70 +74,32 @@ module private Patterns = /// // Valid. /// ◌let x = 2 /// x◌ - let containsSensitiveIndentation (span: TextSpan) (sourceText: SourceText) = + [] + let (|OffsidesDiff|_|) (span: TextSpan) (sourceText: SourceText) = let startLinePosition = sourceText.Lines.GetLinePosition span.Start let endLinePosition = sourceText.Lines.GetLinePosition span.End - let startLine = startLinePosition.Line - let startCol = startLinePosition.Character - let endLine = endLinePosition.Line + let startLineNo = startLinePosition.Line + let endLineNo = endLinePosition.Line - if startLine = endLine then - false + if startLineNo = endLineNo then + ValueNone else - let rec loop offsides lineNo startCol = - if lineNo <= endLine then + let rec loop innerOffsides lineNo startCol = + if lineNo <= endLineNo then let line = sourceText.Lines[lineNo].ToString() - match offsides with - | ValueNone -> - let i = line.AsSpan(startCol).IndexOfAnyExcept(' ', ')') - - if i >= 0 then - loop (ValueSome(i + startCol)) (lineNo + 1) 0 - else - loop offsides (lineNo + 1) 0 - - | ValueSome offsidesCol -> - let i = line.AsSpan(0, min offsidesCol line.Length).IndexOfAnyExcept(' ', ')') - i <= offsidesCol || loop offsides (lineNo + 1) 0 + match line.AsSpan(startCol).IndexOfAnyExcept(' ', ')') with + | -1 -> loop innerOffsides (lineNo + 1) 0 + | i -> loop (i + startCol) (lineNo + 1) 0 else - false + ValueSome(startLinePosition.Character - innerOffsides) - loop ValueNone startLine startCol + loop startLinePosition.Character startLineNo (startLinePosition.Character + 1) - let hasPrecedingConstructOnSameLine (span: TextSpan) (sourceText: SourceText) = - let linePosition = sourceText.Lines.GetLinePosition span.Start - let line = (sourceText.Lines.GetLineFromPosition span.Start).ToString() - line.AsSpan(0, linePosition.Character).LastIndexOfAnyExcept(' ', '(') >= 0 - - let followingLineMovesOffsidesRightward (span: TextSpan) (sourceText: SourceText) = - let startLinePosition = sourceText.Lines.GetLinePosition span.Start - let startLine = startLinePosition.Line - let endLinePosition = sourceText.Lines.GetLinePosition span.End - let endLine = endLinePosition.Line - let offsides = startLinePosition.Character - - let rec loop lineNo = - if lineNo <= endLine then - let line = sourceText.Lines[lineNo].ToString().AsSpan() - let i = line.IndexOfAnyExcept("*/%-+:^@><=!|0$.?) ".AsSpan()) - i > offsides || loop (lineNo + 1) - else - false - - loop (startLine + 1) - - [] - let (|ContainsSensitiveIndentation|_|) span sourceText = - toPat (containsSensitiveIndentation span) sourceText - - [] - let (|HasPrecedingConstructOnSameLine|_|) span sourceText = - toPat (hasPrecedingConstructOnSameLine span) sourceText - - [] - let (|FollowingLineMovesOffsidesRightward|_|) span sourceText = - toPat (followingLineMovesOffsidesRightward span) sourceText + let (|ShiftLeft|NoShift|ShiftRight|) n = + if n < 0 then ShiftLeft -n + elif n = 0 then NoShift + else ShiftRight n [] type internal FSharpRemoveUnnecessaryParenthesesCodeFixProvider [] () = @@ -154,52 +147,51 @@ type internal FSharpRemoveUnnecessaryParenthesesCodeFixProvider [ - let (|ShouldPutSpaceBefore|_|) (s: string) = - // "……(……)" - // ↑↑ ↑ - match sourceText[max (context.Span.Start - 2) 0], sourceText[max (context.Span.Start - 1) 0], s[1] with - | _, _, ('\n' | '\r') -> None - | '[', '|', (Punctuation | LetterOrDigit) -> None - | _, '[', '<' -> Some ShouldPutSpaceBefore - | _, ('(' | '[' | '{'), _ -> None - | _, '>', _ -> Some ShouldPutSpaceBefore - | ' ', '=', _ -> Some ShouldPutSpaceBefore - | _, '=', ('(' | '[' | '{') -> None - | _, '=', (Punctuation | Symbol) -> Some ShouldPutSpaceBefore - | _, LetterOrDigit, '(' -> None - | _, (LetterOrDigit | '`'), _ -> Some ShouldPutSpaceBefore - | _, (Punctuation | Symbol), (Punctuation | Symbol) -> Some ShouldPutSpaceBefore - | _ -> None - - let (|ShouldPutSpaceAfter|_|) (s: string) = - // "(……)…" - // ↑ ↑ - match s[s.Length - 2], sourceText[min context.Span.End (sourceText.Length - 1)] with - | '>', ('|' | ']') -> Some ShouldPutSpaceAfter - | _, (')' | ']' | '[' | '}' | '.' | ';' | ',' | '|') -> None - | (Punctuation | Symbol), (Punctuation | Symbol | LetterOrDigit) -> Some ShouldPutSpaceAfter - | LetterOrDigit, LetterOrDigit -> Some ShouldPutSpaceAfter - | _ -> None - - let (|NewOffsidesOnFirstLine|_|) (s: string) = - let s = s.AsSpan 1 // (… - let newline = s.IndexOfAny('\n', '\r') - - if newline < 0 || s.Slice(0, newline).IndexOfAnyExcept(@"\r\n ".AsSpan()) >= 0 then - Some NewOffsidesOnFirstLine - else - None + let adjusted = + match sourceText with + | TrailingOpen context.Span -> txt[1 .. txt.Length - 2].TrimEnd() + + | Trim context.Span trim & OffsidesDiff context.Span spaces -> + match spaces with + | NoShift -> trim txt[1 .. txt.Length - 2] + | ShiftLeft spaces -> trim (txt[1 .. txt.Length - 2].Replace("\n" + String(' ', spaces), "\n")) + | ShiftRight spaces -> trim (txt[1 .. txt.Length - 2].Replace("\n", "\n" + String(' ', spaces))) + + | _ -> txt[1 .. txt.Length - 2].Trim() let newText = - match txt, sourceText with - | ShouldPutSpaceBefore & ShouldPutSpaceAfter, _ -> " " + txt[1 .. txt.Length - 2] + " " - | ShouldPutSpaceBefore, _ -> " " + txt[1 .. txt.Length - 2] - | ShouldPutSpaceAfter, _ -> txt[1 .. txt.Length - 2] + " " - | NewOffsidesOnFirstLine, - ContainsSensitiveIndentation context.Span & (HasPrecedingConstructOnSameLine context.Span | FollowingLineMovesOffsidesRightward context.Span) -> - txt[1 .. txt.Length - 2].Replace("\n ", "\n") - | NewOffsidesOnFirstLine, ContainsSensitiveIndentation context.Span -> " " + txt[1 .. txt.Length - 2] - | _ -> txt[1 .. txt.Length - 2] + let (|ShouldPutSpaceBefore|_|) (s: string) = + // "……(……)" + // ↑↑ ↑ + match sourceText[max (context.Span.Start - 2) 0], sourceText[max (context.Span.Start - 1) 0], s[0] with + | _, _, ('\n' | '\r') -> None + | '[', '|', (Punctuation | LetterOrDigit) -> None + | _, '[', '<' -> Some ShouldPutSpaceBefore + | _, ('(' | '[' | '{'), _ -> None + | _, '>', _ -> Some ShouldPutSpaceBefore + | ' ', '=', _ -> Some ShouldPutSpaceBefore + | _, '=', ('(' | '[' | '{') -> None + | _, '=', (Punctuation | Symbol) -> Some ShouldPutSpaceBefore + | _, LetterOrDigit, '(' -> None + | _, (LetterOrDigit | '`'), _ -> Some ShouldPutSpaceBefore + | _, (Punctuation | Symbol), (Punctuation | Symbol) -> Some ShouldPutSpaceBefore + | _ -> None + + let (|ShouldPutSpaceAfter|_|) (s: string) = + // "(……)…" + // ↑ ↑ + match s[s.Length - 1], sourceText[min context.Span.End (sourceText.Length - 1)] with + | '>', ('|' | ']') -> Some ShouldPutSpaceAfter + | _, (')' | ']' | '[' | '}' | '.' | ';' | ',' | '|') -> None + | (Punctuation | Symbol), (Punctuation | Symbol | LetterOrDigit) -> Some ShouldPutSpaceAfter + | LetterOrDigit, LetterOrDigit -> Some ShouldPutSpaceAfter + | _ -> None + + match adjusted with + | ShouldPutSpaceBefore & ShouldPutSpaceAfter -> " " + adjusted + " " + | ShouldPutSpaceBefore -> " " + adjusted + | ShouldPutSpaceAfter -> adjusted + " " + | adjusted -> adjusted return ValueSome diff --git a/vsintegration/tests/FSharp.Editor.Tests/CodeFixes/RemoveUnnecessaryParenthesesTests.fs b/vsintegration/tests/FSharp.Editor.Tests/CodeFixes/RemoveUnnecessaryParenthesesTests.fs index cd3bbdd2bfc..ff57ffac6d8 100644 --- a/vsintegration/tests/FSharp.Editor.Tests/CodeFixes/RemoveUnnecessaryParenthesesTests.fs +++ b/vsintegration/tests/FSharp.Editor.Tests/CodeFixes/RemoveUnnecessaryParenthesesTests.fs @@ -244,7 +244,6 @@ let _ = async { return 1 - } " @@ -343,7 +342,7 @@ let _ = " let x = 2 - + 2 + + 2 in x " @@ -362,9 +361,9 @@ let _ = 2 - - - + 2 + + + + 2 in x " @@ -399,7 +398,7 @@ let _ = ", " let x = 2 - + 2 + + 2 in x " @@ -410,7 +409,7 @@ let _ = ", " let x = 2 - + 2 + + 2 in x " @@ -421,7 +420,7 @@ let _ = ", " let x = x - +y + +y in x " @@ -443,7 +442,7 @@ let _ = ", " let x = 2 - <<< 2 + <<< 2 in x " @@ -456,7 +455,7 @@ in x " let (<<<<<<<<) = (<<<) let x = 2 -<<<<<<<< 2 + <<<<<<<< 2 in x " @@ -506,7 +505,7 @@ in x let y = 2 - + 2 + + 2 in x + y " @@ -533,8 +532,7 @@ in x " x < 2 - + 3 - + + 3 " // LetOrUse @@ -543,6 +541,83 @@ in x "let x = 3 in let y =(4) in x + y", "let x = 3 in let y = 4 in x + y" "let x = 3 in let y=(4) in x + y", "let x = 3 in let y=4 in x + y" + " + let _ = + let _ = 3 + ( + 44 + ) + ", + " + let _ = + let _ = 3 + 44 + " + + " + let (++++++) = (+) + let x = + () + ( + 2 + ++++++ 2 + ) + in x + ", + " + let (++++++) = (+) + let x = + () + 2 + ++++++ 2 + in x + " + + " + let (!+++++) = (+) + let x = + () + ( + !+++++2 + ) + in x + ", + " + let (!+++++) = (+) + let x = + () + !+++++2 + in x + " + + " + let _ = + ( + printfn \"\" + +2 + ) + ", + " + let _ = + printfn \"\" + +2 + " + + " + let _ = + let x = 3 + ( + let y = 99 + y - x + ) + ", + " + let _ = + let x = 3 + let y = 99 + y - x + " + // TryWith "try (raise null) with _ -> reraise ()", "try raise null with _ -> reraise ()" "try raise null with (_) -> reraise ()", "try raise null with _ -> reraise ()" @@ -569,6 +644,82 @@ in x """ printfn "1"; (printfn "2") """, """ printfn "1"; printfn "2" """ "let x = 3; (5) in x", "let x = 3; 5 in x" + " + let _ = + let y = 100 + let x = 3 + ( + let y = 99 + ignore (y - x) + ) + x + y + ", + " + let _ = + let y = 100 + let x = 3 + ( + let y = 99 + ignore (y - x) + ) + x + y + " + + " + let _ = + let y = 100 + let x = 3 + ( + let y = 99 + ignore (y - x) + ) + x + ", + " + let _ = + let y = 100 + let x = 3 + let y = 99 + ignore (y - x) + x + " + + " + let f y = + let x = 3 + ( + let y = 99 + ignore (y - x) + ) + x + y + ", + " + let f y = + let x = 3 + ( + let y = 99 + ignore (y - x) + ) + x + y + " + + " + let f y = + let x = 3 + ( + let y = 99 + ignore (y - x) + ) + x + ", + " + let f y = + let x = 3 + let y = 99 + ignore (y - x) + x + " + // IfThenElse "if (3 = 3) then 3 else 3", "if 3 = 3 then 3 else 3" "if 3 = 3 then (3) else 3", "if 3 = 3 then 3 else 3" @@ -655,7 +806,7 @@ in x """ let mutable x = 3 x <- 3 - <<< 3 + <<< 3 """ // DotIndexedGet @@ -818,6 +969,10 @@ in x "$\"{(1, 2):N0}\"", "$\"{(1, 2):N0}\"" "$\"{(1, 2),-3}\"", "$\"{(1, 2),-3}\"" + "$\"{((); ())}\"", "$\"{((); ())}\"" + "$\"{(do (); ())}\"", "$\"{do (); ()}\"" + "$\"{(let x = 3 in ignore x; 99)}\"", "$\"{let x = 3 in ignore x; 99}\"" + """ $"{(3 + LanguagePrimitives.GenericZero):N0}" """,