|
Translation changed |
|
|
String added in the repository |
|
|
Translation changed |
|
|
String added in the repository |
This function is called to signal that the consumer (caller) of the generator has processed part of the data returned by the previous call to `prepare`.
The value of `n` indicates how much of the data processed (in bytes). When `n` exceeds the number of bytes returned from the last call to `prepare`, `consume` shall behave as if `n` was equal to that number. Remaining unconsumed data will be returned from subsequent calls to `prepare`. [*Note:] Any buffers obtained by previous calls to `prepare` are invalidated.
This function is called to signal that the consumer (caller) of the generator has processed part of the data returned by the previous call to `prepare`.
The value of `n` indicates how much of the data processed (in bytes). When `n` exceeds the number of bytes returned from the last call to `prepare`, `consume` shall behave as if `n` was equal to that number. Remaining unconsumed data will be returned from subsequent calls to `prepare`. [*Note:] Any buffers obtained by previous calls to `prepare` are invalidated. |
| Shortcut | Action |
|---|---|
| ? | Open available keyboard shortcuts. |
| Alt + Home | Navigate to the first translation in the current search. |
| Alt + End | Navigate to the last translation in the current search. |
|
Alt + PageUp or
Ctrl + ↑ or Alt + ↑ or Cmd + ↑ or |
Navigate to the previous translation in the current search. |
|
Alt + PageDown or
Ctrl + ↓ or Alt + ↓ or Cmd + ↓ or |
Navigate to the next translation in the current search. |
|
Ctrl + Enter or
Cmd + Enter |
Submit current form; this works the same as pressing Save and continue while editing translation. |
|
Ctrl + Shift + Enter or
Cmd + Shift +Enter |
Unmark translation as Needing edit and submit it. |
|
Alt + Enter or
Option + Enter |
Submit the string as a suggestion; this works the same as pressing Suggest while editing translation. |
|
Ctrl + E or
Cmd + E |
Focus on translation editor. |
|
Ctrl + U or
Cmd + U |
Focus on comment editor. |
|
Ctrl + M or
Cmd + M |
Shows Automatic suggestions tab. |
|
Ctrl + 1 to
Ctrl + 9 or
Cmd + 1 to Cmd + 9 |
Copies placeable of a given number from source string. |
|
Ctrl + M followed by
1 to 9 or
Cmd + M followed by 1 to 9 |
Copy the machine translation of a given number to current translation. |
|
Ctrl + I followed by
1 to
9 or
Cmd + I followed by 1 to 9 |
Ignore one item in the list of failing checks. |
|
Ctrl + J or
Cmd + J |
Shows the Nearby strings tab. |
|
Ctrl + S or
Cmd + S |
Focus on search field. |
|
Ctrl + O or
Cmd + O |
Copy the source string. |
|
Ctrl + Y or
Cmd + Y |
Toggle the Needs editing checkbox. |
| → | Browse the next translation string. |
| ← | Browse the previous translation string. |
The value of `n` indicates how much of the data processed (in bytes).
When `n` exceeds the number of bytes returned from the last call to `prepare`, `consume` shall behave as if `n` was equal to that number.
Remaining unconsumed data will be returned from subsequent calls to `prepare`.
[*Note:] Any buffers obtained by previous calls to `prepare` are invalidated.
This function is called to signal that the consumer (caller) of the generator has processed part of the data returned by the previous call to `prepare`.
调用此函数以向生成器发出信号,表明生成器的消费者(调用者)已处理了上一次调用‘prepare’所返回的部分数据。The value of `n` indicates how much of the data processed (in bytes).
When `n` exceeds the number of bytes returned from the last call to `prepare`, `consume` shall behave as if `n` was equal to that number.
Remaining unconsumed data will be returned from subsequent calls to `prepare`.
[*Note:] Any buffers obtained by previous calls to `prepare` are invalidated.
n 的值表示已处理的数据量(以字节为单位)。
当 n 超过上一次调用‘prepare’返回的字节数时,‘consume’ 的行为应如同 n 等于该字节数一样。
剩余的未消费数据将在后续调用‘prepare’时返回。
[*注意:] 此前调用‘prepare’所获得的任何缓冲区均会失效。