Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions loc/lcl/CHT/Microsoft.VisualStudio.Threading.Analyzers.dll.lcl
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,24 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD013_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[CompletedTaskAttribute cannot be applied to mutable member "{0}". Apply it only to methods, readonly fields, or non-ref get-only properties.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[CompletedTaskAttribute 無法套用至可變成員 "{0}"。只可將它套用至方法、唯讀欄位或非 ref 的唯讀屬性。]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD013_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Apply CompletedTaskAttribute only to immutable members]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[只將 CompletedTaskAttribute 套用至不可變成員]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD100_CodeFix_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Change return type to Task]]></Val>
Expand Down Expand Up @@ -617,6 +635,42 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD116_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[ThreadStaticAttribute has no effect on a non-static field]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[ThreadStaticAttribute 對非靜態欄位沒有作用]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD116_Title" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Use ThreadStaticAttribute only with static fields]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[僅將 ThreadStaticAttribute 用於靜態欄位]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD117_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[ThreadStatic fields should not be initialized by a field initializer or static constructor because the value is only assigned on the type-initializing thread]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[不應使用欄位初始設定式或靜態建構函式初始化 ThreadStatic 欄位,因為值只會指派給類型初始化執行緒]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD117_Title" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Avoid initialization of ThreadStatic fields in a type initializer]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[請避免在類型初始設定式中初始化 ThreadStatic 欄位]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD200_AddAsync_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Use "Async" suffix in names of methods that return an awaitable type]]></Val>
Expand Down
54 changes: 54 additions & 0 deletions loc/lcl/CSY/Microsoft.VisualStudio.Threading.Analyzers.dll.lcl
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,24 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD013_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[CompletedTaskAttribute cannot be applied to mutable member "{0}". Apply it only to methods, readonly fields, or non-ref get-only properties.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Atribut CompletedTaskAttribute nelze použít u proměnlivého členu {0}. Použijte ho jen u metod, polí jen pro čtení nebo vlastností pouze s metodou get, které nevracejí hodnotu odkazem.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD013_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Apply CompletedTaskAttribute only to immutable members]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Atribut CompletedTaskAttribute použijte jen u neměnných členů.]]></Val>
Comment thread
AArnott marked this conversation as resolved.
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD100_CodeFix_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Change return type to Task]]></Val>
Expand Down Expand Up @@ -617,6 +635,42 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD116_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[ThreadStaticAttribute has no effect on a non-static field]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[ThreadStaticAttribute nemá vliv na nestatické pole.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD116_Title" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Use ThreadStaticAttribute only with static fields]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Použít ThreadStaticAttribute pouze se statickými poli]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD117_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[ThreadStatic fields should not be initialized by a field initializer or static constructor because the value is only assigned on the type-initializing thread]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Pole ThreadStatic by se neměla inicializovat inicializátorem pole ani statickým konstruktorem, protože hodnota se přiřadí pouze vláknu, které inicializuje typ]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD117_Title" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Avoid initialization of ThreadStatic fields in a type initializer]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Vyhnout se inicializaci polí ThreadStatic v inicializátoru typu]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD200_AddAsync_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Use "Async" suffix in names of methods that return an awaitable type]]></Val>
Expand Down
54 changes: 54 additions & 0 deletions loc/lcl/DEU/Microsoft.VisualStudio.Threading.Analyzers.dll.lcl
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,24 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD013_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[CompletedTaskAttribute cannot be applied to mutable member "{0}". Apply it only to methods, readonly fields, or non-ref get-only properties.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[CompletedTaskAttribute kann nicht auf das änderbare Mitglied „{0}“ angewendet werden. Wenden Sie es nur auf Methoden, schreibgeschützte Felder oder schreibgeschützte Eigenschaften ohne Verweisrückgabe an.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD013_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Apply CompletedTaskAttribute only to immutable members]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[CompletedTaskAttribute nur auf unveränderliche Member anwenden]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD100_CodeFix_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Change return type to Task]]></Val>
Expand Down Expand Up @@ -617,6 +635,42 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD116_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[ThreadStaticAttribute has no effect on a non-static field]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[ThreadStaticAttribute hat bei einem nicht statischen Feld keine Wirkung.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD116_Title" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Use ThreadStaticAttribute only with static fields]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Verwenden Sie ThreadStaticAttribute nur mit statischen Feldern]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD117_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[ThreadStatic fields should not be initialized by a field initializer or static constructor because the value is only assigned on the type-initializing thread]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[ThreadStatic-Felder sollten nicht durch einen Feldinitialisierer oder einen statischen Konstruktor initialisiert werden, da der Wert nur dem Thread zugewiesen wird, der den Typ initialisiert.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD117_Title" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Avoid initialization of ThreadStatic fields in a type initializer]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Die Initialisierung von ThreadStatic-Feldern in einem Typinitialisierer vermeiden]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD200_AddAsync_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Use "Async" suffix in names of methods that return an awaitable type]]></Val>
Expand Down
54 changes: 54 additions & 0 deletions loc/lcl/ESN/Microsoft.VisualStudio.Threading.Analyzers.dll.lcl
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,24 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD013_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[CompletedTaskAttribute cannot be applied to mutable member "{0}". Apply it only to methods, readonly fields, or non-ref get-only properties.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[CompletedTaskAttribute no se puede aplicar al miembro mutable "{0}". Aplíquelo solo a métodos, campos de solo lectura o propiedades de solo obtención que no sean de referencia.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD013_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Apply CompletedTaskAttribute only to immutable members]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Aplicar CompletedTaskAttribute solo a miembros inmutables]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD100_CodeFix_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Change return type to Task]]></Val>
Expand Down Expand Up @@ -617,6 +635,42 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD116_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[ThreadStaticAttribute has no effect on a non-static field]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[ThreadStaticAttribute no tiene ningún efecto en un campo no estático]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD116_Title" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Use ThreadStaticAttribute only with static fields]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Usar ThreadStaticAttribute solo con campos estáticos]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD117_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[ThreadStatic fields should not be initialized by a field initializer or static constructor because the value is only assigned on the type-initializing thread]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Los campos ThreadStatic no deben inicializarse mediante un inicializador de campo o un constructor estático porque el valor solo se asigna en el subproceso de inicialización de tipos]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD117_Title" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Avoid initialization of ThreadStatic fields in a type initializer]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Evitar la inicialización de campos ThreadStatic en un inicializador de tipo]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD200_AddAsync_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Use "Async" suffix in names of methods that return an awaitable type]]></Val>
Expand Down
54 changes: 54 additions & 0 deletions loc/lcl/FRA/Microsoft.VisualStudio.Threading.Analyzers.dll.lcl
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,24 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD013_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[CompletedTaskAttribute cannot be applied to mutable member "{0}". Apply it only to methods, readonly fields, or non-ref get-only properties.]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Nous ne pouvons pas appliquer CompletedTaskAttribute à un membre mutable « {0} ». Appliquez-le uniquement aux méthodes, aux champs en lecture seule ou aux propriétés get-only non-ref.]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD013_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Apply CompletedTaskAttribute only to immutable members]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Appliquer CompletedTaskAttribute uniquement aux membres immuables]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD100_CodeFix_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Change return type to Task]]></Val>
Expand Down Expand Up @@ -617,6 +635,42 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD116_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[ThreadStaticAttribute has no effect on a non-static field]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[ThreadStaticAttribute n’a aucun effet sur un champ non statique]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD116_Title" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Use ThreadStaticAttribute only with static fields]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Utilisez ThreadStaticAttribute uniquement avec des champs statiques]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD117_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[ThreadStatic fields should not be initialized by a field initializer or static constructor because the value is only assigned on the type-initializing thread]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Les champs ThreadStatic ne doivent pas être initialisés par un initialiseur de champ ni par un constructeur statique, car la valeur n’est affectée que sur le thread d’initialisation du type]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD117_Title" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Avoid initialization of ThreadStatic fields in a type initializer]]></Val>
<Tgt Cat="Text" Stat="Loc" Orig="New">
<Val><![CDATA[Évitez d’initialiser les champs ThreadStatic dans un initialiseur de type]]></Val>
</Tgt>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";VSTHRD200_AddAsync_MessageFormat" ItemType="0" PsrId="211" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Use "Async" suffix in names of methods that return an awaitable type]]></Val>
Expand Down
Loading
Loading