|
210 | 210 | </Str> |
211 | 211 | <Disp Icon="Str" /> |
212 | 212 | </Item> |
| 213 | + <Item ItemId=";VSMEF008_MessageFormat" ItemType="0" PsrId="211" Leaf="true"> |
| 214 | + <Str Cat="Text"> |
| 215 | + <Val><![CDATA[The contract type "{0}" is not assignable to the member type "{1}". The import may fail at runtime.]]></Val> |
| 216 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 217 | + <Val><![CDATA[合約類型「{0}」無法指派給成員類型「{1}」。匯入可能在執行階段時失敗。]]></Val> |
| 218 | + </Tgt> |
| 219 | + <Prev Cat="Text"> |
| 220 | + <Val><![CDATA[The contract type "{0}" is not assignable to the member type "{1}". The import will fail at runtime.]]></Val> |
| 221 | + </Prev> |
| 222 | + </Str> |
| 223 | + <Disp Icon="Str" /> |
| 224 | + </Item> |
| 225 | + <Item ItemId=";VSMEF008_Title" ItemType="0" PsrId="211" Leaf="true"> |
| 226 | + <Str Cat="Text"> |
| 227 | + <Val><![CDATA[Import contract type not assignable to member type]]></Val> |
| 228 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 229 | + <Val><![CDATA[匯入合約類型無法指派至成員類型]]></Val> |
| 230 | + </Tgt> |
| 231 | + </Str> |
| 232 | + <Disp Icon="Str" /> |
| 233 | + </Item> |
| 234 | + <Item ItemId=";VSMEF009_AddInitializer_Detail" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 235 | + <Str Cat="Text"> |
| 236 | + <Val><![CDATA[Add a property initializer (e.g., = new List<T>();) or initialize the property in all constructors.]]></Val> |
| 237 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 238 | + <Val><![CDATA[新增屬性初始設定式 (例如,= new List<T>();) 或初始化所有建構函式中的屬性。]]></Val> |
| 239 | + </Tgt> |
| 240 | + </Str> |
| 241 | + <Disp Icon="Str" /> |
| 242 | + </Item> |
| 243 | + <Item ItemId=";VSMEF009_ArrayWithoutSetter_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 244 | + <Str Cat="Text"> |
| 245 | + <Val><![CDATA[The property "{0}" is an array without a setter. Arrays cannot be pre-initialized for ImportMany because they don't support Add().]]></Val> |
| 246 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 247 | + <Val><![CDATA[屬性 "{0}" 是沒有 setter 的陣列。ImportMany 無法對陣列進行預先初始化,因為陣列不支援 Add()。]]></Val> |
| 248 | + </Tgt> |
| 249 | + </Str> |
| 250 | + <Disp Icon="Str" /> |
| 251 | + </Item> |
| 252 | + <Item ItemId=";VSMEF009_LazyWrappingCollection_Detail" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 253 | + <Str Cat="Text"> |
| 254 | + <Val><![CDATA[Lazy<T> wrapping a collection is not valid for ImportMany. Use a collection of Lazy<T> instead (e.g., IEnumerable<Lazy<T>>).]]></Val> |
| 255 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 256 | + <Val><![CDATA[Lazy<T> 包裝集合不適用於 ImportMany。請改為使用 Lazy<T> 的集合 (例如 IEnumerable<Lazy<T>>)。]]></Val> |
| 257 | + </Tgt> |
| 258 | + </Str> |
| 259 | + <Disp Icon="Str" /> |
| 260 | + </Item> |
| 261 | + <Item ItemId=";VSMEF009_MustImplementICollection_Detail" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 262 | + <Str Cat="Text"> |
| 263 | + <Val><![CDATA[The type must implement ICollection<T> to support pre-initialization.]]></Val> |
| 264 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 265 | + <Val><![CDATA[此類型必須實作 ICollection<T> 以支援預先初始化。]]></Val> |
| 266 | + </Tgt> |
| 267 | + </Str> |
| 268 | + <Disp Icon="Str" /> |
| 269 | + </Item> |
| 270 | + <Item ItemId=";VSMEF009_NonCollection_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 271 | + <Str Cat="Text"> |
| 272 | + <Val><![CDATA[The type "{0}" is not a valid collection type for ImportMany. {1}]]></Val> |
| 273 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 274 | + <Val><![CDATA[類型 "{0}" 並非 ImportMany 的有效集合類型。 {1}]]></Val> |
| 275 | + </Tgt> |
| 276 | + </Str> |
| 277 | + <Disp Icon="Str" /> |
| 278 | + </Item> |
| 279 | + <Item ItemId=";VSMEF009_NotCollectionType_Detail" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 280 | + <Str Cat="Text"> |
| 281 | + <Val><![CDATA[The type must be a collection type such as T[]5D;, IEnumerable<T>, List<T>, or a type implementing ICollection<T>.]]></Val> |
| 282 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 283 | + <Val><![CDATA[類型必須是集合類型,例如 T[]5D;、IEnumerable<T>、List<T>,或是實作 ICollection<T> 的類別。]]></Val> |
| 284 | + </Tgt> |
| 285 | + </Str> |
| 286 | + <Disp Icon="Str" /> |
| 287 | + </Item> |
| 288 | + <Item ItemId=";VSMEF009_NotInitialized_MessageFormat" ItemType="0" PsrId="211" Leaf="true"> |
| 289 | + <Str Cat="Text"> |
| 290 | + <Val><![CDATA[The property "{0}" has no setter and may not be initialized. {1}]]></Val> |
| 291 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 292 | + <Val><![CDATA[屬性 "{0}" 沒有 setter,且可能未初始化。{1}]]></Val> |
| 293 | + </Tgt> |
| 294 | + </Str> |
| 295 | + <Disp Icon="Str" /> |
| 296 | + </Item> |
| 297 | + <Item ItemId=";VSMEF009_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 298 | + <Str Cat="Text"> |
| 299 | + <Val><![CDATA[ImportMany on non-collection type]]></Val> |
| 300 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 301 | + <Val><![CDATA[非集合類型上的 ImportMany]]></Val> |
| 302 | + </Tgt> |
| 303 | + </Str> |
| 304 | + <Disp Icon="Str" /> |
| 305 | + </Item> |
| 306 | + <Item ItemId=";VSMEF010_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 307 | + <Str Cat="Text"> |
| 308 | + <Val><![CDATA[The collection type "{0}" is not supported for ImportMany on constructor parameter "{1}". Use T[]5D; or IEnumerable<T> instead.]]></Val> |
| 309 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 310 | + <Val><![CDATA[集合類型 "{0}" 不支援用於建構函式參數 "{1}" 的 ImportMany。請改為使用 T[]5D; 或 IEnumerable<T>。]]></Val> |
| 311 | + </Tgt> |
| 312 | + </Str> |
| 313 | + <Disp Icon="Str" /> |
| 314 | + </Item> |
| 315 | + <Item ItemId=";VSMEF010_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 316 | + <Str Cat="Text"> |
| 317 | + <Val><![CDATA[ImportMany with unsupported collection type in constructor]]></Val> |
| 318 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 319 | + <Val><![CDATA[建構函式中的 ImportMany 使用了不支援的集合類型]]></Val> |
| 320 | + </Tgt> |
| 321 | + </Str> |
| 322 | + <Disp Icon="Str" /> |
| 323 | + </Item> |
| 324 | + <Item ItemId=";VSMEF011_CodeFix_RemoveImportKeepImportMany" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 325 | + <Str Cat="Text"> |
| 326 | + <Val><![CDATA[Remove [Import]5D; attribute (keep [ImportMany]5D; for collection)]]></Val> |
| 327 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 328 | + <Val><![CDATA[移除 [Import]5D; 屬性 (僅針對集合保留 [ImportMany]5D;)]]></Val> |
| 329 | + </Tgt> |
| 330 | + </Str> |
| 331 | + <Disp Icon="Str" /> |
| 332 | + </Item> |
| 333 | + <Item ItemId=";VSMEF011_CodeFix_RemoveImportManyKeepImport" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 334 | + <Str Cat="Text"> |
| 335 | + <Val><![CDATA[Remove [ImportMany]5D; attribute (keep [Import]5D; for single value)]]></Val> |
| 336 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 337 | + <Val><![CDATA[移除 [ImportMany]5D; 屬性 (僅針對單一值保留 [Import]5D;)]]></Val> |
| 338 | + </Tgt> |
| 339 | + </Str> |
| 340 | + <Disp Icon="Str" /> |
| 341 | + </Item> |
| 342 | + <Item ItemId=";VSMEF011_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 343 | + <Str Cat="Text"> |
| 344 | + <Val><![CDATA[The member "{0}" has both [Import]5D; and [ImportMany]5D; attributes. These attributes are mutually exclusive.]]></Val> |
| 345 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 346 | + <Val><![CDATA[成員 "{0}" 同時具有 [Import]5D; 與 [ImportMany]5D; 屬性。這些屬性是互斥的。]]></Val> |
| 347 | + </Tgt> |
| 348 | + </Str> |
| 349 | + <Disp Icon="Str" /> |
| 350 | + </Item> |
| 351 | + <Item ItemId=";VSMEF011_Title" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 352 | + <Str Cat="Text"> |
| 353 | + <Val><![CDATA[Both Import and ImportMany applied to same member]]></Val> |
| 354 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 355 | + <Val><![CDATA[同一成員同時套用了 Import 與 ImportMany]]></Val> |
| 356 | + </Tgt> |
| 357 | + </Str> |
| 358 | + <Disp Icon="Str" /> |
| 359 | + </Item> |
| 360 | + <Item ItemId=";VSMEF012_CodeFix_MigrateToMefV2" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 361 | + <Str Cat="Text"> |
| 362 | + <Val><![CDATA[Migrate to System.Composition.{0}]]></Val> |
| 363 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 364 | + <Val><![CDATA[移轉至 System.Composition。{0}]]></Val> |
| 365 | + </Tgt> |
| 366 | + </Str> |
| 367 | + <Disp Icon="Str" /> |
| 368 | + </Item> |
| 369 | + <Item ItemId=";VSMEF012_Title" ItemType="0" PsrId="211" Leaf="true"> |
| 370 | + <Str Cat="Text"> |
| 371 | + <Val><![CDATA[Disallowed MEF attribute version]]></Val> |
| 372 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 373 | + <Val><![CDATA[不允許的 MEF 屬性版本]]></Val> |
| 374 | + </Tgt> |
| 375 | + </Str> |
| 376 | + <Disp Icon="Str" /> |
| 377 | + </Item> |
| 378 | + <Item ItemId=";VSMEF012_V1Disallowed_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 379 | + <Str Cat="Text"> |
| 380 | + <Val><![CDATA[MEFv1 attribute "{0}" is not allowed. Use the MEFv2 equivalent from System.Composition.]]></Val> |
| 381 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 382 | + <Val><![CDATA[不允許 MEFv1 屬性 "{0}"。使用來自 System.Composition 的 MEFv2 對等項目。]]></Val> |
| 383 | + </Tgt> |
| 384 | + </Str> |
| 385 | + <Disp Icon="Str" /> |
| 386 | + </Item> |
| 387 | + <Item ItemId=";VSMEF012_V2Disallowed_MessageFormat" ItemType="0" PsrId="211" InstFlg="true" Leaf="true"> |
| 388 | + <Str Cat="Text"> |
| 389 | + <Val><![CDATA[MEFv2 attribute "{0}" is not allowed. Use the MEFv1 equivalent from System.ComponentModel.Composition.]]></Val> |
| 390 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 391 | + <Val><![CDATA[不允許 MEFv2 屬性 "{0}"。使用來自 System.ComponentModel.Composition 的 MEFv1 對等項目。]]></Val> |
| 392 | + </Tgt> |
| 393 | + </Str> |
| 394 | + <Disp Icon="Str" /> |
| 395 | + </Item> |
213 | 396 | </Item> |
214 | 397 | </Item> |
215 | 398 | <Item ItemId=";Version" ItemType="0" PsrId="211" Leaf="false"> |
|
0 commit comments