Skip to content

Commit

Permalink
New translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilla-luodan committed Nov 8, 2024
1 parent 6dc997e commit c8a777d
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/api_canvas_canvas.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvas_canvas">
<title><ph keyref="Canvas_Canvas"/></title>
<shortdesc id="short"><ph id="shortdesc">构造一个 Canvas 对象。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Create a Canvas object.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -49,7 +49,7 @@
<plentry>
<pt props="cpp">initial_config</pt>
<pt props="apple android">config</pt>
<pd>Canvas 的对象配置,目前可传空。</pd>
<pd>The configuration of the Canvas object. Currently you can set it as null.</pd>
</plentry>
</parml> </section>
</refbody>
Expand Down
16 changes: 8 additions & 8 deletions en-US/dita/RTC-NG/API/api_canvas_removeview.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvas_removeview">
<title><ph keyref="RemoveView"/></title>
<shortdesc id="short"><ph id="shortdesc">移除渲染视图。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Remove a view.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -30,22 +30,22 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p>当你调用 <xref keyref="AddView"/> 添加视图后,如果你需要移除渲染视图,可调用此方法。</p>
<p>After you call <xref keyref="AddView"/> to add a view, if you need to remove the view, you can call this method.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
<p>Call this method<xref keyref="AddView"/> after .</p>
<p>Call this method after <xref keyref="AddView"/>.</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>Restrictions</title>
<p>一次只能移除一个视图。</p>
<p>Only one view can be removed at a time.</p>
</section>
<section id="parameters" deliveryTarget="details">
<title>Parameters</title>
<parml>
<plentry>
<pt>view</pt>
<pd>需要移除的视图对象。</pd>
<pd>View object to be removed.</pd>
</plentry>
<plentry conkeyref="AddView/config">
<pt></pt>
Expand All @@ -59,9 +59,9 @@
<section id="return_values" props="cpp apple framework">
<title><ph keyref="return-section-title"/></title>
<p props="flutter">When the method call succeeds, there is no return value; when fails, the <xref keyref="AgoraRtcException"/> exception is thrown. You need to catch the exception and handle it accordingly. <ph props="cn">See <xref keyref="error-code-link"/> for details and resolution suggestions.</ph></p>
<p props="cpp apple unreal bp electron unity rn cs">移除视图是否成功:<ul>
<li><codeph><ph keyref="true"/></codeph>:移除视图成功。</li>
<li><codeph><ph keyref="false"/></codeph>:移除视图失败。</li>
<p props="cpp apple unreal bp electron unity rn cs">Whether the view is removed successfully:<ul>
<li><codeph><ph keyref="true"/></codeph>: The view is removed.</li>
<li><codeph><ph keyref="false"/></codeph>: The view is not removed.</li>
</ul>
</p> </section>
<section id="exception" conkeyref="SetAppId/exception" props="android"/>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvas_setconfigs">
<title><ph keyref="SetConfigs_Canvas"/></title>
<shortdesc id="short"><ph id="shortdesc">设置播放器视频渲染配置。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Set the video rendering configuration of the player.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -45,7 +45,7 @@
<parml>
<plentry id="config">
<pt>config</pt>
<pd>Canvas 对象的设置,详见 <xref keyref="CanvasConfig"/></pd>
<pd>Canvas object settings. See <xref keyref="CanvasConfig"/>.</pd>
</plentry>
<plentry props="apple cpp" conkeyref="SetConfigs_Rte/err">
<pt></pt>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvasconfig_getrendermode">
<title><ph keyref="GetRenderMode"/></title>
<shortdesc id="short"><ph id="shortdesc">获取当前设置的视频渲染模式。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Get the current video rendering mode setting.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -49,7 +49,7 @@
</parml> </section>
<section id="return_values">
<title><ph keyref="return-section-title"/></title>
<p>当前设置的视频渲染模式,详见 <xref keyref="RteVideoRenderMode"/></p>
<p>The current video rendering mode. See <xref keyref="RteVideoRenderMode"/>.</p>
</section>
<section id="exception" props="android" conkeyref="SetAppId/exception">
<title></title>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvasconfig_setmirrormode">
<title><ph keyref="SetMirrorMode"/></title>
<shortdesc id="short"><ph id="shortdesc">设置视频的镜像模式。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Sets the mirror mode of the video.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -44,7 +44,7 @@
<parml>
<plentry>
<pt>mode</pt>
<pd>Mirror mode<xref keyref="RteVideoMirrorMode"/>. See . 默认为 <apiname keyref="kRteVideoMirrorModeAuto"/>,即由 SDK 决定镜像模式。 The SDK disables mirror mode by default.</pd>
<pd>The mirror mode. See <xref keyref="RteVideoMirrorMode"/>. The default value is <apiname keyref="kRteVideoMirrorModeAuto"/>, which means to be determined by the SDK. The SDK disables mirror mode by default.</pd>
</plentry>
<plentry props="cpp apple" conkeyref="SetConfigs_Rte/err">
<pt></pt>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/api_config_getappid.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_config_getappid">
<title><ph keyref="GetAppId"/></title>
<shortdesc id="short"><ph id="shortdesc">获取设置的 App ID</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Get the App ID you set.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -48,7 +48,7 @@
<title><ph keyref="return-section-title"/></title>
<p props="flutter">When the method call succeeds, there is no return value; when fails, the <xref keyref="AgoraRtcException"/> exception is thrown. You need to catch the exception and handle it accordingly. <ph props="cn">See <xref keyref="error-code-link"/> for details and resolution suggestions.</ph></p>
<ul props="cpp apple unreal bp electron unity rn cs">
<li>方法调用成功,返回设置的 App ID</li>
<li>The App ID you set, if the method call succeeds.</li>
<li>An empty string, if the method call fails.</li>
</ul></section>
<section id="exception" props="android" conkeyref="SetAppId/exception"/>
Expand Down
8 changes: 4 additions & 4 deletions en-US/dita/RTC-NG/API/api_config_getjsonparameter.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_config_getjsonparameter">
<title><ph keyref="GetJsonParameter_Config"/></title>
<shortdesc id="short"><ph id="shortdesc">获取已设置的 SDK JSON 配置信息。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Get the SDK JSON configuration that has been set.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -30,7 +30,7 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p>当你调用 <xref keyref="SetJsonParameter_Config"/> 设置 JSON 配置信息后,你可以调用该方法获取已设置的配置信息。</p>
<p>After you call <xref keyref="SetJsonParameter_Config"/> to set JSON configuration, you can call this method to get the configured information.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand All @@ -52,10 +52,10 @@
<title><ph keyref="return-section-title"/></title>
<p props="flutter">When the method call succeeds, there is no return value; when fails, the <xref keyref="AgoraRtcException"/> exception is thrown. You need to catch the exception and handle it accordingly. <ph props="cn">See <xref keyref="error-code-link"/> for details and resolution suggestions.</ph></p>
<ul props="cpp apple unreal bp electron unity rn cs">
<li>方法调用成功,返回设置的 JSON 配置信息。</li>
<li>The JSON configuration, if the method call succeeds.</li>
<li>An empty string, if the method call fails.</li>
</ul>
<p props="android">设置的 JSON 配置信息。</p></section>
<p props="android">The JSON configuration you set.</p></section>
<section props="android" id="exception" conkeyref="SetAppId/exception">
<title></title>
<p></p>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</section>
<section id="scenario" deliveryTarget="details">
<title>Applicable scenarios</title>
<p>当你需要设置私有参数或使用定制功能时,可以调用该方法。</p>
<p>When you need to set private parameters or use custom features, you can call this method.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/api_error_code.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_error_code">
<title><ph keyref="Code"/></title>
<shortdesc id="short"><ph id="shortdesc">获取接口调用返回的错误码。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Get the error code.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -34,7 +34,7 @@
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
<p>当调用 API 失败时,可调用此方法以获取错误码。</p>
<p>When an API call fails, you can call this method to get the error code.</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>Restrictions</title>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/class_audiotrackconfig.dita
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ class AudioTrackConfig {
</plentry>
<plentry>
<pt>enableAudioProcessing</pt>
<pd>是否启用音频处理模块:<ul>
<li><codeph><ph keyref="true"/></codeph>:启用音频处理模块,应用回声消除 (AEC)、降噪 (ANS) 和自动增益控制 (AGC) 效果。</li>
<pd>Whether to enable audio processing module:<ul>
<li><codeph><ph keyref="true"/></codeph>Enable the audio processing module to apply the echo cancellation (AEC), noise suppression (ANS), and automatic gain control (AGC) control (AGC) effects.</li>
<li><codeph><ph keyref="false"/></codeph>:(默认)不启用音频处理模块。</li>
</ul>
<note type="attention">该参数设置仅对 <ph keyref="AUDIO_TRACK_DIRECT"/> 类型的自定义音频采集轨道生效。</note>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/class_canvas.dita
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@
<parml>
<plentry>
<pt><ph keyref="Canvas_Canvas"/></pt>
<pd>构造一个 Canvas 对象。 See <xref keyref="Canvas_Canvas"/>.</pd>
<pd>Create a Canvas object. See <xref keyref="Canvas_Canvas"/>.</pd>
</plentry>
<plentry>
<pt><ph keyref="SetConfigs_Canvas"/></pt>
<pd>Sets the rendering mode of the video. See <xref keyref="SetConfigs_Canvas"/>.</pd>
</plentry>
<plentry>
<pt><ph keyref="GetConfigs_Canvas"/></pt>
<pd>获取当前设置的视频渲染模式。 See <xref keyref="GetConfigs_Canvas"/>.</pd>
<pd>Get the current video rendering mode setting. See <xref keyref="GetConfigs_Canvas"/>.</pd>
</plentry>
<plentry>
<pt><ph keyref="AddView"/></pt>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/class_canvasconfig.dita
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</plentry>
<plentry>
<pt><ph keyref="SetMirrorMode"/></pt>
<pd>设置视频的镜像模式。 See <xref keyref="SetMirrorMode"/>.</pd>
<pd>Sets the rendering mode of the video. See <xref keyref="SetMirrorMode"/>.</pd>
</plentry>
<plentry>
<pt><ph keyref="GetMirrorMode"/></pt>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/class_config.dita
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</plentry>
<plentry>
<pt><ph keyref="GetAppId"/></pt>
<pd>获取设置的 App ID See <xref keyref="GetAppId"/>.</pd>
<pd>Get the App ID you set. See <xref keyref="GetAppId"/>.</pd>
</plentry>
<plentry>
<pt><ph keyref="SetJsonParameter_Config"/></pt>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/class_externalvideoframe.dita
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ class ExternalVideoFrame {
</plentry>
<plentry props="android">
<pt>eglContext10</pt>
<pd>EGLContext10 This parameter only applies to video data in Texture format.</pd>
<pd>EGLContext10. This parameter only applies to video data in Texture format.</pd>
</plentry>
<plentry props="android hmos">
<pt>eglContext14</pt>
Expand Down

0 comments on commit c8a777d

Please sign in to comment.