fix(i18n): 补齐九种语言的翻译并修复国际化检查
补齐页面缺译,统一动态文案的整句插值方式。
This commit is contained in:
@@ -16,6 +16,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
For commercial licensing, please contact support@quantumnous.com
|
||||
*/
|
||||
|
||||
import { I18N_TECHNICAL_TEXT } from '../../i18n/technicalText.js';
|
||||
import {
|
||||
RefreshCw as ActionRefreshCw,
|
||||
Plus as ActionPlus,
|
||||
@@ -565,7 +567,7 @@ const OrgConnectors = ({ orgId }) => {
|
||||
<TextArea
|
||||
value={form.allowed_hosts}
|
||||
onChange={(value) => setForm({ ...form, allowed_hosts: value })}
|
||||
placeholder='api.example.com'
|
||||
placeholder={I18N_TECHNICAL_TEXT.API_EXAMPLE_COM}
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
@@ -584,7 +586,7 @@ const OrgConnectors = ({ orgId }) => {
|
||||
<TextArea
|
||||
value={form.allowed_cidrs}
|
||||
onChange={(value) => setForm({ ...form, allowed_cidrs: value })}
|
||||
placeholder={'10.20.0.0/16\nfd00:1::/48'}
|
||||
placeholder={I18N_TECHNICAL_TEXT.CONNECTOR_CIDR_EXAMPLE}
|
||||
/>
|
||||
<span className='org-connector-note'>
|
||||
{t(
|
||||
@@ -598,7 +600,7 @@ const OrgConnectors = ({ orgId }) => {
|
||||
autosize
|
||||
value={form.config}
|
||||
onChange={(value) => setForm({ ...form, config: value })}
|
||||
placeholder='{"project_ids":["123"],"path_prefixes":["src/"]}'
|
||||
placeholder={I18N_TECHNICAL_TEXT.CONNECTOR_SCOPE_EXAMPLE}
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user