Skip to content

Commit

Permalink
New translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilla-luodan committed Sep 27, 2024
1 parent 16b1c13 commit 2d2a6b6
Show file tree
Hide file tree
Showing 7 changed files with 160 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<parml>
<plentry>
<pt>mediaRecorder</pt>
<pd>The recording object to be destroyed.</pd>
<pd>待销毁的 <xref keyref="IMediaRecorder" /> 对象。</pd>
</plentry>
</parml> </section>
<section id="return_values" conkeyref="setMediaRecorderObserver/return_values"> </section>
Expand Down
7 changes: 0 additions & 7 deletions en-US/dita/RTC-NG/API/api_irtcengine_renewtoken.dita
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@
<title>Restrictions</title>
<p>None.</p>
</section>
<section id="related" deliveryTarget="details">
<title>Related callbacks</title>
<ul><li><xref keyref="onTokenPrivilegeWillExpire"/></li>
<li><xref keyref="onRequestToken"/></li>
<li><xref keyref="onConnectionStateChanged"/></li>
</ul>
</section>
<section id="parameters" deliveryTarget="details">
<title>Parameters</title>
<parml>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex.dita
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<note type="attention">
<ul>
<li>This method call is asynchronous. When this method returns, it does not necessarily mean that the user has left the channel.</li>
<li>If you call <xref keyref="leaveChannel"/> or <xref keyref="leaveChannel2"/>, you will leave all the channels you have joined by calling <xref keyref="joinChannel1"/>, <xref keyref="joinChannel2"/>, or <xref keyref="joinChannelEx"/>.</li>
<li>If you call<xref keyref="leaveChannel"/> or<xref keyref="leaveChannel2"/> , you will leave<xref keyref="joinChannel1"/> all the channels you have joined by calling ,<xref keyref="joinChannelEx"/> , or<xref keyref="joinChannel2"/> .</li>
</ul></note>
</section>
<section id="scenario" deliveryTarget="details">
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/api_irtcengineex_leavechannelex2.dita
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
<note type="attention">
<ul>
<li>This method call is asynchronous. When this method returns, it does not necessarily mean that the user has left the channel.</li>
<li props="native unity cs unreal">If you call <xref keyref="leaveChannel"/> or <xref keyref="leaveChannel2"/>, you will leave all the channels you have joined by calling <xref keyref="joinChannel1"/>, <xref keyref="joinChannel2"/>, or <xref keyref="joinChannelEx"/>.</li>
<li props="flutter electron rn bp">If you call <xref keyref="leaveChannel2"/>, you will leave all the channels you have joined by calling <xref keyref="joinChannel2"/> or <xref keyref="joinChannelEx"/>.</li>
<li props="native unity cs unreal">If you call<xref keyref="leaveChannel"/> or<xref keyref="leaveChannel2"/> , you will leave<xref keyref="joinChannel1"/> all the channels you have joined by calling ,<xref keyref="joinChannelEx"/> , or<xref keyref="joinChannel2"/> .</li>
<li props="flutter electron rn bp">If you call<xref keyref="leaveChannel2"/> , you will leave<xref keyref="joinChannel2"/> all the channels you have joined by calling or<xref keyref="joinChannelEx"/> .</li>
</ul></note>
</section>
<section id="scenario" deliveryTarget="details" conkeyref="leaveChannelEx/scenario">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ NS_SWIFT_NAME(rtcEngine(_:didClientRoleChanged:newRole:newRoleOptions:));</codeb
ClientRoleOptions newRoleOptions)? onClientRoleChanged;</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
</section>
<section id="timing" deliveryTarget="details">
<title>Trigger timing</title>
<p props="native cs unity unreal">This callback will be triggered in any of the following situations:<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
onRejoinChannelSuccess;</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
</section>
<section id="timing" deliveryTarget="details">
<title>Trigger timing</title>
<p id="desc">When a user loses connection with the server because of network problems, the SDK automatically tries to reconnect and triggers this callback upon reconnection.</p>
Expand Down
154 changes: 152 additions & 2 deletions en-US/dita/RTC-NG/API/rtc_api_sunset.dita
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Deprecated APIs</title>
<p>The deprecated APIs are expected to be officially deleted in approximately one year. Agora recommends that you promptly replace them with the recommended APIs to avoid any impact on your online services.</p>
<!--如果预见到表格内的内容会超宽,则在 table 外侧套一个 div,用于限定 section 内的表格宽度-->
<div>
<div>
<table frame="all" rowsep="1" colsep="1" props="cn">
<!--CN 表格-->
<!--由于 table 中的 row 不能分级打 props,所以 cn 和 en 需要分两个表格维护:仅发 cn/en 的 API 只需要在对应表格中增加;cn 和 en 都发的 API 需要在两个表格中都加。-->
Expand Down Expand Up @@ -103,6 +103,18 @@
<entry><xref keyref="createDataStreamEx2"/></entry>
<entry>v4.0.0</entry>
</row>
<row props="android">
<entry><xref keyref="pushVideoFrame"/></entry>
<entry><ph conkeyref="pushVideoFrame/shortdesc"/></entry>
<entry><xref keyref="pushVideoFrame3"/></entry>
<entry>v4.0.0</entry>
</row>
<row props="android">
<entry><xref keyref="pushVideoFrame2"/></entry>
<entry><ph conkeyref="pushVideoFrame2/shortdesc"/></entry>
<entry><xref keyref="pushVideoFrame4"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="setLocalVideoMirrorMode"/></entry>
<entry><ph conkeyref="setLocalVideoMirrorMode/shortdesc"/></entry>
Expand All @@ -127,6 +139,12 @@
<entry>使用 <xref keyref="initialize"/> 中的 <parmname props="cpp">context</parmname><parmname props="android apple">config</parmname> 参数</entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="setLogFilter"/></entry>
<entry><ph conkeyref="setLogFilter/shortdesc"/></entry>
<entry>使用 <xref keyref="initialize"/> 中的 <parmname props="cpp">context</parmname><parmname props="android apple">config</parmname> 参数</entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="setLogFile"/></entry>
<entry><ph conkeyref="setLogFile/shortdesc"/></entry>
Expand All @@ -151,6 +169,12 @@
<entry><xref keyref="setAudioProfile2"/> or <xref keyref="setAudioScenario"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="startAudioMixing"/></entry>
<entry><ph conkeyref="startAudioMixing/shortdesc"/></entry>
<entry><xref keyref="startAudioMixing2" /></entry>
<entry>v4.0.0</entry>
</row>
<row props="android ios cpp">
<entry><xref keyref="preload"/></entry>
<entry><ph conkeyref="preload/shortdesc"/></entry>
Expand Down Expand Up @@ -199,6 +223,48 @@
<entry>-</entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onAudioMixingFinished"/></entry>
<entry><ph conkeyref="onAudioMixingFinished/shortdesc"/></entry>
<entry><xref keyref="onAudioMixingStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onAudioQuality"/></entry>
<entry><ph conkeyref="onAudioQuality/shortdesc"/></entry>
<entry><xref keyref="onRemoteAudioStats"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onConnectionBanned"/></entry>
<entry><ph conkeyref="onConnectionBanned/shortdesc"/></entry>
<entry><xref keyref="onConnectionStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onConnectionInterrupted"/></entry>
<entry><ph conkeyref="onConnectionInterrupted/shortdesc"/></entry>
<entry><xref keyref="onConnectionStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onFirstRemoteAudioFrame"/></entry>
<entry><ph conkeyref="onFirstRemoteAudioFrame/shortdesc"/></entry>
<entry><xref keyref="onRemoteAudioStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onFirstRemoteAudioDecoded"/></entry>
<entry><ph conkeyref="onFirstRemoteAudioDecoded/shortdesc"/></entry>
<entry><xref keyref="onRemoteAudioStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onRemoteAudioTransportStats"/></entry>
<entry><ph conkeyref="onRemoteAudioTransportStats/shortdesc"/></entry>
<entry><xref keyref="onRemoteAudioStats"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onRemoteVideoTransportStats"/></entry>
<entry><ph conkeyref="onRemoteVideoTransportStats/shortdesc"/></entry>
Expand All @@ -211,6 +277,12 @@
<entry><xref keyref="onRemoteVideoStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onVideoStopped"/></entry>
<entry><ph conkeyref="onVideoStopped/shortdesc"/></entry>
<entry><xref keyref="onLocalVideoStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
</tbody>
</tgroup>
</table>
Expand Down Expand Up @@ -305,6 +377,18 @@
<entry><xref keyref="createDataStreamEx2"/></entry>
<entry>v4.0.0</entry>
</row>
<row props="android">
<entry><xref keyref="pushVideoFrame"/></entry>
<entry><ph conkeyref="pushVideoFrame/shortdesc"/></entry>
<entry><xref keyref="pushVideoFrame3"/></entry>
<entry>v4.0.0</entry>
</row>
<row props="android">
<entry><xref keyref="pushVideoFrame2"/></entry>
<entry><ph conkeyref="pushVideoFrame2/shortdesc"/></entry>
<entry><xref keyref="pushVideoFrame4"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="setLocalVideoMirrorMode"/></entry>
<entry><ph conkeyref="setLocalVideoMirrorMode/shortdesc"/></entry>
Expand All @@ -329,6 +413,12 @@
<entry>使用 <xref keyref="initialize"/> 中的 <parmname props="cpp">context</parmname><parmname props="android apple">config</parmname> 参数</entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="setLogFilter"/></entry>
<entry><ph conkeyref="setLogFilter/shortdesc"/></entry>
<entry>使用 <xref keyref="initialize"/> 中的 <parmname props="cpp">context</parmname><parmname props="android apple">config</parmname> 参数</entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="setLogFile"/></entry>
<entry><ph conkeyref="setLogFile/shortdesc"/></entry>
Expand All @@ -353,6 +443,18 @@
<entry><xref keyref="setAudioProfile2"/> or <xref keyref="setAudioScenario"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="startAudioMixing"/></entry>
<entry><ph conkeyref="startAudioMixing/shortdesc"/></entry>
<entry><xref keyref="startAudioMixing2" /></entry>
<entry>v4.0.0</entry>
</row>
<row props="android ios cpp">
<entry><xref keyref="preload"/></entry>
<entry><ph conkeyref="preload/shortdesc"/></entry>
<entry><xref keyref="preload2"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="addVideoWatermark1"/></entry>
<entry><ph conkeyref="addVideoWatermark1/shortdesc"/></entry>
Expand Down Expand Up @@ -395,18 +497,66 @@
<entry>-</entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onAudioMixingFinished"/></entry>
<entry><ph conkeyref="onAudioMixingFinished/shortdesc"/></entry>
<entry><xref keyref="onAudioMixingStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onAudioQuality"/></entry>
<entry><ph conkeyref="onAudioQuality/shortdesc"/></entry>
<entry><xref keyref="onRemoteAudioStats"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onConnectionBanned"/></entry>
<entry><ph conkeyref="onConnectionBanned/shortdesc"/></entry>
<entry><xref keyref="onConnectionStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onConnectionInterrupted"/></entry>
<entry><ph conkeyref="onConnectionInterrupted/shortdesc"/></entry>
<entry><xref keyref="onConnectionStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onFirstRemoteAudioFrame"/></entry>
<entry><ph conkeyref="onFirstRemoteAudioFrame/shortdesc"/></entry>
<entry><xref keyref="onRemoteAudioStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onFirstRemoteAudioDecoded"/></entry>
<entry><ph conkeyref="onFirstRemoteAudioDecoded/shortdesc"/></entry>
<entry><xref keyref="onRemoteAudioStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onRemoteAudioTransportStats"/></entry>
<entry><ph conkeyref="onRemoteAudioTransportStats/shortdesc"/></entry>
<entry><xref keyref="onRemoteAudioStats"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onRemoteVideoTransportStats"/></entry>
<entry><ph conkeyref="onRemoteVideoTransportStats/shortdesc"/></entry>
<entry><xref keyref="onRemoteVideoStats"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<row>
<entry><xref keyref="onUserEnableLocalVideo"/></entry>
<entry><ph conkeyref="onUserEnableLocalVideo/shortdesc"/></entry>
<entry><xref keyref="onRemoteVideoStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
<row>
<entry><xref keyref="onVideoStopped"/></entry>
<entry><ph conkeyref="onVideoStopped/shortdesc"/></entry>
<entry><xref keyref="onLocalVideoStateChanged"/></entry>
<entry>v4.0.0</entry>
</row>
</tbody>
</tgroup>
</table>
Expand Down

0 comments on commit 2d2a6b6

Please sign in to comment.