AI-223.8617.56.2231.9687552 <debuggerx@debuggerx-e5 Update yiiguxing.translation.xml

master
DebuggerX 2 years ago
parent c75ee78c8b
commit 7d58294b3d

@ -4,6 +4,8 @@
</component>
<component name="Translation.States">
<histories>
<item value="Configuration information passed to the [ImageProvider.resolve] method to select a specific image. See also: [createLocalImageConfiguration], which creates an [ImageConfiguration] based on ambient configuration in a [Widget] environment. [ImageProvider], which uses [ImageConfiguration] objects to determine which image to obtain." />
<item value="A router that routes all pointer events received from the engine." />
<item value="Retrieve the entries of the process environment. The result is an [Iterable] of strings, where each string represents an environment entry. Environment entries should be strings containing a non-empty name and a value separated by a '=' character. The name does not contain a '=' character, so the name is everything up to the first '=' character. Values are everything after the first '=' character. A value may contain further '=' characters, and it may be empty. Returns an [OSError] if retrieving the environment fails." />
<item value="Creates a new repeating timer. The [callback] is invoked repeatedly with [duration] intervals until canceled with the [cancel] function. The exact timing depends on the underlying timer implementation. No more than `n` callbacks will be made in `duration n` time, but the time between two consecutive callbacks can be shorter and longer than `duration`. In particular, an implementation may schedule the next callback, e.g., a `duration` after either when the previous callback ended, when the previous callback started, or when the previous callback was scheduled for - even if the actual callback was delayed." />
<item value="Creates a new timer. The [callback] function is invoked after the given [duration]. Example: ```dart final timer = Timer(const Duration(seconds: 5), () =&gt; print('Timer finished')); Outputs after 5 seconds: &quot;Timer finished&quot;. ```" />
@ -52,13 +54,11 @@
<item value="If [port] has the value 0 an ephemeral port will be chosen by the system. The actual port used can be retrieved using the [port] getter." />
<item value="The optional argument [backlog] can be used to specify the listen backlog for the underlying OS listen setup. If [backlog] has the value of 0 (the default) a reasonable value will be chosen by the system." />
<item value="The optional argument [shared] specifies whether additional `HttpServer` objects can bind to the same combination of `address`, `port` and `v6Only`. If `shared` is `true` and more `HttpServer`s from this isolate or other isolates are bound to the port, then the incoming connections will be distributed among all the bound `HttpServer`s. Connections can be distributed over multiple isolates this way." />
<item value="Looks up the addresses of a host. If [type] is [InternetAddressType.any], it will lookup both IP version 4 (IPv4) and IP version 6 (IPv6) addresses. If [type] is either [InternetAddressType.IPv4] or [InternetAddressType.IPv6] it will only lookup addresses of the specified type. The order of the list can, and most likely will, change over time." />
<item value="Handles errors emitted by this [Future]. This is the asynchronous equivalent of a &quot;catch&quot; block. Returns a new [Future] that will be completed with either the result of this future or the result of calling the `onError` callback. If this future completes with a value, the returned future completes with the same value. If this future completes with an error, then [test] is first called with the error value. If `test` returns false, the exception is not handled by this `catchError`, and the returned future completes with the same error and stack trace as this future. If `test` returns `true`, [onError] is called with the error and possibly stack trace, and the returned future is completed with the result of this call in exactly the same way as for [then]'s `onError`. If `test` is omitted, it defaults to a function that always returns true. The `test` function should not throw, but if it does, it is handled as if the `onError` function had thrown. Note that futures don't delay reporting of errors until listeners are added. If the first `catchError` (or `then`) call happens after this future has completed with an error then the error is reported as unhandled error. See the description on [Future]. Example: ```dart Future.delayed( const Duration(seconds: 1), () =&gt; throw 401, ).then((value) { throw 'Unreachable'; }).catchError((err) { print('Error: err'); Prints 401. }, test: (error) { return error is int &amp;&amp; error &gt;= 400; }); ``` The `Function` below stands for one of two types: - (dynamic) -&gt; FutureOr&lt;T&gt; - (dynamic, StackTrace) -&gt; FutureOr&lt;T&gt; Given that there is a `test` function that is usually used to do an `is` check, we should also expect functions that take a specific argument." />
</histories>
<option name="languageScores">
<map>
<entry key="CHINESE" value="60" />
<entry key="ENGLISH" value="61" />
<entry key="CHINESE" value="62" />
<entry key="ENGLISH" value="63" />
</map>
</option>
</component>

Loading…
Cancel
Save