Google翻訳でApple HIGとMaterialDesignを和訳してみるマン

このアカウントはひたすらガイドラインをGoogle翻訳して書き控えとくだけのものです。誤訳多いと思われます。誤訳の指摘とかもらえたら有り難いです。

Text Fields

https://developer.apple.com/design/human-interface-guidelines/ios/controls/text-fields/

Text Fields

テキストフィールド

A text field is a single-line, fixed-height field, often with rounded corners, that automatically brings up a keyboard when the user taps it. Use a text field to request a small amount of information, such as an email address.

テキストフィールドは、ユーザーがタップすると自動的にキーボードを表示する、丸い角を持つ、単一行の固定高さのフィールドです。 テキストフィールドを使用して、電子メールアドレスなどの少量の情報を要求します。

 

Show a hint in a text field to help communicate purpose. A text field can contain placeholder text—such as "Email" or "Password"—when there’s no other text in the field. Don’t use a separate label to describe a text field when placeholder text is sufficient.

目的を伝えるためのヒントをテキストフィールドに表示します。 テキストフィールドには、プレースホルダテキスト(「電子メール」や「パスワード」など)を含めることができます。フィールドに他のテキストがない場合 プレースホルダテキストで十分な場合は、別のラベルを使用してテキストフィールドを記述しないでください。

Display a Clear button in the right end of a text field when appropriate. When this element is present, tapping it clears the contents of the text field, eliminating the need to keep tapping the Delete key.

必要に応じて、テキストフィールドの右端にクリアボタンを表示します。 この要素が存在する場合、それをタップするとテキストフィールドの内容が消去されます。Deleteキーを何度もタップする必要はありません。

Use secure text fields when appropriate. Always use a secure text field when your app asks for sensitive data, such as a password.

必要に応じて、セキュアなテキストフィールドを使用します。 アプリがパスワードなどの機密データを要求するときは、常にセキュアなテキストフィールドを使用します。

Use images and buttons to provide clarity and functionality in text fields. You can display custom images in the left or right sides of a text field, or you can add a system-provided button, such as the Bookmarks button. In general, use the left end of a text field to indicate a field’s purpose and the right end to indicate the presence of additional features, such as bookmarking.

イメージとボタンを使用して、テキストフィールドに明快さと機能性を提供します。 テキストフィールドの左側または右側にカスタムイメージを表示することも、ブックマークボタンなどのシステム提供ボタンを追加することもできます。 一般に、フィールドの目的を示すためにテキストフィールドの左端を使用し、ブックマークなどの追加機能があることを示すために右端を使用します。

For developer guidance, see UITextField.

TIPFor multiline or multistyle text entry, use a text view instead. See Text Views.
複数行または複数文字のテキスト入力の場合は、代わりにテキストビューを使用します。 テキストビューを参照してください。

Keyboards

キーボード

 

Email keyboard

 

Phone keyboard

Show the appropriate keyboard type. iOS provides several different keyboard types, each designed to facilitate a different type of input. To streamline data entry, the keyboard displayed when editing a text field should be appropriate for the type of content in the field. If your app asks for an email address, for example, it should display the email address keyboard. For a complete list of available keyboard types, see the UIKeyboardType constant of UITextInputTraits.

適切なキーボードタイプを表示します。 iOSにはいくつかのキーボードタイプがあり、それぞれ異なるタイプの入力を容易にするように設計されています。 データ入力を合理化するために、テキストフィールドの編集時に表示されるキーボードは、フィールド内のコンテンツのタイプに適している必要があります。 例えば、あなたのアプリが電子メールアドレスを要求すると、電子メールアドレスのキーボードが表示されます。 利用可能なキーボードタイプの完全なリストについては、UITextInputTraitsのUIKeyboardType定数を参照してください。

For related guidance, see Custom Keyboards.