Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zh-cn]: create the translation of VirtualKeyboard interface #22040

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

tianyeeT
Copy link
Contributor

Description

Motivation

Additional details

Related issues and pull requests

@tianyeeT tianyeeT requested a review from a team as a code owner June 28, 2024 02:04
@tianyeeT tianyeeT requested review from irvin and removed request for a team June 28, 2024 02:04
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Jun 28, 2024
Copy link
Contributor

github-actions bot commented Jun 28, 2024

Preview URLs

Flaws (6)

URL: /zh-CN/docs/Web/API/VirtualKeyboard
Title: VirtualKeyboard
Flaw count: 6

  • macros:
    • /zh-CN/docs/Web/API/VirtualKeyboard/boundingRect does not exist but fell back to /en-US/docs/Web/API/VirtualKeyboard/boundingRect
    • /zh-CN/docs/Web/API/VirtualKeyboard/overlaysContent does not exist but fell back to /en-US/docs/Web/API/VirtualKeyboard/overlaysContent
    • /zh-CN/docs/Web/API/VirtualKeyboard/show does not exist but fell back to /en-US/docs/Web/API/VirtualKeyboard/show
    • /zh-CN/docs/Web/API/VirtualKeyboard/hide does not exist but fell back to /en-US/docs/Web/API/VirtualKeyboard/hide
    • /zh-CN/docs/Web/API/VirtualKeyboard/geometrychange_event does not exist but fell back to /en-US/docs/Web/API/VirtualKeyboard/geometrychange_event
    • and 1 more flaws omitted
External URLs (1)

URL: /zh-CN/docs/Web/API/VirtualKeyboard
Title: VirtualKeyboard

(comment last updated: 2024-07-07 16:08:47)

@yin1999
Copy link
Member

yin1999 commented Jul 6, 2024

请先处理一下 @skyclouds2001 指出的几个问题

tianyeeT and others added 2 commits July 6, 2024 15:15
Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com>
files/zh-cn/web/api/virtualkeyboard/index.md Outdated Show resolved Hide resolved

[VirtualKeyboard API](/zh-CN/docs/Web/API/VirtualKeyboard_API) 的 **`VirtualKeyboard`** 接口用于具有虚拟键盘(如平板电脑、手机或其他没有物理键盘的设备)的设备。

`VirtualKeyboard` 接口使你可以选择退出浏览器自动处理屏幕虚拟键盘的方式,通过减少视窗的高度以为虚拟键盘腾出空间。你可以阻止浏览器改变视窗大小,检测虚拟键盘的位置和大小,并通过编程方式显示或隐藏虚拟键盘。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看一下这段话的翻译(特别是第一句,有些不明所以然),第二句的“viewport”翻译错了(应该翻译成“视口”)。

Co-authored-by: A1lo <yin199909@aliyun.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
3 participants