You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2012/06/25 22:52:14 UTC
[17/25] docs commit: Translate files related to camera
Translate files related to camera
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/c8a73f95
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/c8a73f95
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/c8a73f95
Branch: refs/heads/master
Commit: c8a73f9521bc478cbcc70d186267839ae675d4cb
Parents: 7735808
Author: Keiko Oda <ke...@gmail.com>
Authored: Sun Jun 10 01:14:22 2012 -0700
Committer: Keiko Oda <ke...@gmail.com>
Committed: Sun Jun 10 01:14:22 2012 -0700
----------------------------------------------------------------------
.../accelerometer.getCurrentAcceleration.md | 2 +-
.../accelerometer.watchAcceleration.md | 2 +-
docs/jp/1.7.0/cordova/camera/camera.getPicture.md | 133 +++++++-------
docs/jp/1.7.0/cordova/camera/camera.md | 6 +-
.../1.7.0/cordova/camera/parameter/cameraError.md | 8 +-
.../cordova/camera/parameter/cameraOptions.md | 140 +++++++-------
.../cordova/camera/parameter/cameraSuccess.md | 14 +-
7 files changed, 152 insertions(+), 153 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c8a73f95/docs/jp/1.7.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md b/docs/jp/1.7.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
index 53e62ba..2e3bbcb 100644
--- a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
+++ b/docs/jp/1.7.0/cordova/accelerometer/accelerometer.getCurrentAcceleration.md
@@ -100,7 +100,7 @@ accelerometer.getCurrentAcceleration
</body>
</html>
-iPhoneに関する注意点
+iPhone に関する注意点
-------------
- iPhone はピンポイントで現在の加速度情報を得ることは出来ません。
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c8a73f95/docs/jp/1.7.0/cordova/accelerometer/accelerometer.watchAcceleration.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.watchAcceleration.md b/docs/jp/1.7.0/cordova/accelerometer/accelerometer.watchAcceleration.md
index 3f2b682..987e3b2 100644
--- a/docs/jp/1.7.0/cordova/accelerometer/accelerometer.watchAcceleration.md
+++ b/docs/jp/1.7.0/cordova/accelerometer/accelerometer.watchAcceleration.md
@@ -129,7 +129,7 @@ accelerometer.watchAcceleration
</body>
</html>
- iPhoneに関する注意点
+ iPhone に関する注意点
-------------
- 指定された時間間隔に対して、 Cordova はコールバック関数を呼び出し、加速度情報を渡します。
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c8a73f95/docs/jp/1.7.0/cordova/camera/camera.getPicture.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/camera/camera.getPicture.md b/docs/jp/1.7.0/cordova/camera/camera.getPicture.md
index 25b53e4..e5e06dd 100644
--- a/docs/jp/1.7.0/cordova/camera/camera.getPicture.md
+++ b/docs/jp/1.7.0/cordova/camera/camera.getPicture.md
@@ -20,55 +20,54 @@ license: Licensed to the Apache Software Foundation (ASF) under one
camera.getPicture
=================
-Takes a photo using the camera or retrieves a photo from the device's album. The image is returned as a base64 encoded `String` or as the URI of an image file.
+デバイスのカメラで写真を撮る、またはデバイスのアルバム内にある写真を検索します。 Base64 形式でエンコードされたフォトイメージを表す文字列、またはイメージファイルの URI が返されます。
navigator.camera.getPicture( cameraSuccess, cameraError, [ cameraOptions ] );
-Description
+概要
-----------
-Function `camera.getPicture` opens the device's default camera application so that the user can take a picture (if `Camera.sourceType = Camera.PictureSourceType.CAMERA`, which is the default). Once the photo is taken, the camera application closes and your application is restored.
+`camera.getPicture` 関数はユーザが写真を撮れるように、デバイスが標準で備えるカメラアプリを起動します (もしデフォルト設定である `Camera.sourceType = Camera.PictureSourceType.CAMERA` の場合) 。写真の撮影が完了するとカメラアプリは終了し、アプリケーションに戻ります。
-If `Camera.sourceType = Camera.PictureSourceType.PHOTOLIBRARY` or `Camera.PictureSourceType.SAVEDPHOTOALBUM`, then a photo chooser dialog is shown, from which a photo from the album can be selected.
+もし `Camera.sourceType = Camera.PictureSourceType.PHOTOLIBRARY` もしくは `Camera.PictureSourceType.SAVEDPHOTOALBUM` が指定された場合、写真選択ダイアログが表示され、アルバムから写真を選択できるようになります。
-The return value will be sent to the `cameraSuccess` function, in one of the following formats, depending on the `cameraOptions` you specify:
+返り値は `cameraSuccess` 関数に送信されます。値は `cameraOptions` の設定に従い、以下のいずれかのフォーマットで送られます:
-- A `String` containing the Base64 encoded photo image (default).
-- A `String` representing the image file location on local storage.
+- Base64 形式でエンコードされたフォトイメージを表す文字列 (デフォルト)
+- ローカルストレージ内に記録されたファイルの場所を表す文字列
-You can do whatever you want with the encoded image or URI, for example:
+エンコードされたイメージや URI をもとに、以下のような処理の記述が可能です:
-- Render the image in an `<img>` tag _(see example below)_
-- Save the data locally (`LocalStorage`, [Lawnchair](http://brianleroux.github.com/lawnchair/), etc)
-- Post the data to a remote server
+- `<img>` タグで画像を表示 _(下記の使用例を参考にしてください)_
+- データをローカルに保存 (`LocalStorage` や [Lawnchair](http://brianleroux.github.com/lawnchair/) など)
+- データをリモートサーバーに送信
-Note: The image quality of pictures taken using the camera on newer devices is quite good, and images from the Photo Album will not be downscaled to a lower quality, even if a quality parameter is specified. _Encoding such images using Base64 has caused memory issues on some of these devices (iPhone 4, BlackBerry Torch 9800)._ Therefore, using FILE_URI as the 'Camera.destinationType' is highly recommended.
+注意: iPhone 4 や Black Berry Touch 9800 などの最新デバイスで撮影したイメージの画質は良好で、フォトアルバムから取得する画像はたとえ quality パラメータで画質を指定したとしても、縮小されません。 _そのような画像を Base64 でエンコードすると、メモリーの問題が発生します。_ よって、 FILE_URI を 'Camera.destinationType' として使用することが推奨されます。
-Supported Platforms
+サポートされているプラットフォーム
-------------------
- Android
-- Blackberry WebWorks (OS 5.0 and higher)
+- BlackBerry WebWorks (OS 5.0 以上)
- iPhone
-- Windows Phone 7 ( Mango )
+- Windows Phone 7 (Mango)
- Bada 1.2
-Windows Phone 7 Quirks
+Windows Phone 7 に関する注意点
----------------------
-Invoking the native camera application while your device is connected
-via Zune will not work, and the error callback will be triggered.
+Zune とデバイスが接続している間は、ネイティブカメラアプリケーションは起動せずに、エラーコールバックが呼び出されます。
-Quick Example
+使用例
-------------
-Take photo and retrieve Base64-encoded image:
+写真を撮影し、 Base64 形式のイメージとして取得します。
navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
destinationType: Camera.DestinationType.DATA_URL
- });
+ });
function onSuccess(imageData) {
var image = document.getElementById('myImage');
@@ -76,13 +75,13 @@ Take photo and retrieve Base64-encoded image:
}
function onFail(message) {
- alert('Failed because: ' + message);
+ alert('エラーが発生しました: ' + message);
}
-Take photo and retrieve image file location:
+撮影した写真の URI を取得します。
- navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
- destinationType: Camera.DestinationType.FILE_URI });
+ navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+ destinationType: Camera.DestinationType.FILE_URI });
function onSuccess(imageURI) {
var image = document.getElementById('myImage');
@@ -90,113 +89,113 @@ Take photo and retrieve image file location:
}
function onFail(message) {
- alert('Failed because: ' + message);
+ alert('エラーが発生しました: ' + message);
}
-Full Example
+詳細な使用例
------------
<!DOCTYPE html>
<html>
<head>
- <title>Capture Photo</title>
+ <title>写真を撮ってみよう</title>
<script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>
<script type="text/javascript" charset="utf-8">
- var pictureSource; // picture source
- var destinationType; // sets the format of returned value
-
- // Wait for Cordova to connect with the device
+ var pictureSource; // 写真ソース
+ var destinationType; // 戻り値のフォーマット
+
+ // Cordova がデバイスと接続するまで待機
//
document.addEventListener("deviceready",onDeviceReady,false);
-
- // Cordova is ready to be used!
+
+ // Cordova 準備完了
//
function onDeviceReady() {
pictureSource=navigator.camera.PictureSourceType;
destinationType=navigator.camera.DestinationType;
}
- // Called when a photo is successfully retrieved
+ // 写真の撮影に成功した場合 (URI 形式)
//
function onPhotoDataSuccess(imageData) {
- // Uncomment to view the base64 encoded image data
+ // 下記のコメントを外すことで Base64 形式のデータをログに出力
// console.log(imageData);
-
- // Get image handle
+
+ // 画像ハンドルを取得
//
var smallImage = document.getElementById('smallImage');
-
- // Unhide image elements
+
+ // 画像要素を表示
//
smallImage.style.display = 'block';
-
- // Show the captured photo
- // The inline CSS rules are used to resize the image
+
+ // 取得した写真を表示
+ // 画像のリサイズにインライン CSS を使用
//
smallImage.src = "data:image/jpeg;base64," + imageData;
}
- // Called when a photo is successfully retrieved
+ // 写真の撮影に成功した場合 (URI 形式)
//
function onPhotoURISuccess(imageURI) {
- // Uncomment to view the image file URI
+ // 下記のコメントを外すことでファイル URI をログに出力
// console.log(imageURI);
-
- // Get image handle
+
+ // 画像ハンドルを取得
//
var largeImage = document.getElementById('largeImage');
-
- // Unhide image elements
+
+ // 画像要素を表示
//
largeImage.style.display = 'block';
-
- // Show the captured photo
- // The inline CSS rules are used to resize the image
+
+ // 取得した写真を表示
+ // 画像のリサイズにインライン CSS を使
//
largeImage.src = imageURI;
}
- // A button will call this function
+ // ボタンがクリックされた場合の処理
//
function capturePhoto() {
- // Take picture using device camera and retrieve image as base64-encoded string
+ // 編集が許可された写真を撮影し、 Base64 形式のイメージとして取得する場合
navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 50,
destinationType: destinationType.DATA_URL });
}
- // A button will call this function
+ // ボタンがクリックされた場合の処理
//
function capturePhotoEdit() {
- // Take picture using device camera, allow edit, and retrieve image as base64-encoded string
+ // 編集が許可された写真を撮影し、 Base64 形式のイメージとして取得する場合
navigator.camera.getPicture(onPhotoDataSuccess, onFail, { quality: 20, allowEdit: true,
destinationType: destinationType.DATA_URL });
}
-
- // A button will call this function
+
+ // ボタンがクリックされた場合の処理
//
function getPhoto(source) {
- // Retrieve image file location from specified source
- navigator.camera.getPicture(onPhotoURISuccess, onFail, { quality: 50,
+ // 写真をファイル URI として取得する場合
+ navigator.camera.getPicture(onPhotoURISuccess, onFail, { quality: 50,
destinationType: destinationType.FILE_URI,
sourceType: source });
}
- // Called if something bad happens.
- //
+ // エラー発生時の処理
+ //
function onFail(message) {
- alert('Failed because: ' + message);
+ alert('エラーが発生しました: ' + message);
}
</script>
</head>
<body>
- <button onclick="capturePhoto();">Capture Photo</button> <br>
- <button onclick="capturePhotoEdit();">Capture Editable Photo</button> <br>
- <button onclick="getPhoto(pictureSource.PHOTOLIBRARY);">From Photo Library</button><br>
- <button onclick="getPhoto(pictureSource.SAVEDPHOTOALBUM);">From Photo Album</button><br>
+ <button onclick="capturePhoto();">写真を撮影</button> <br>
+ <button onclick="capturePhotoEdit();">写真を撮影して編集</button> <br>
+ <button onclick="getPhoto(pictureSource.PHOTOLIBRARY);">フォトライブラリから取得</button><br>
+ <button onclick="getPhoto(pictureSource.SAVEDPHOTOALBUM);">フォトアルバムから取得</button><br>
<img style="display:none;width:60px;height:60px;" id="smallImage" src="" />
<img style="display:none;" id="largeImage" src="" />
</body>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c8a73f95/docs/jp/1.7.0/cordova/camera/camera.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/camera/camera.md b/docs/jp/1.7.0/cordova/camera/camera.md
index d23563b..3f81d3e 100644
--- a/docs/jp/1.7.0/cordova/camera/camera.md
+++ b/docs/jp/1.7.0/cordova/camera/camera.md
@@ -20,9 +20,9 @@ license: Licensed to the Apache Software Foundation (ASF) under one
Camera
======
-> The `camera` object provides access to the device's default camera application.
+> `camera` オブジェクトは、デバイスのカメラアプリへの制御を提供します。
-Methods
+メソッド
-------
-- camera.getPicture
\ No newline at end of file
+- camera.getPicture
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c8a73f95/docs/jp/1.7.0/cordova/camera/parameter/cameraError.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/camera/parameter/cameraError.md b/docs/jp/1.7.0/cordova/camera/parameter/cameraError.md
index 7ee091b..90b57f0 100644
--- a/docs/jp/1.7.0/cordova/camera/parameter/cameraError.md
+++ b/docs/jp/1.7.0/cordova/camera/parameter/cameraError.md
@@ -20,13 +20,13 @@ license: Licensed to the Apache Software Foundation (ASF) under one
cameraError
===========
-onError callback function that provides an error message.
+エラーが発生した場合に呼び出されるコールバック関数です。
function(message) {
- // Show a helpful message
+ // エラーメッセージを表示
}
-Parameters
+パラメーター
----------
-- __message:__ The message is provided by the device's native code. (`String`)
\ No newline at end of file
+- __message:__ デバイスのネイティブコードによって与えられたメッセージ (`String`)
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c8a73f95/docs/jp/1.7.0/cordova/camera/parameter/cameraOptions.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/camera/parameter/cameraOptions.md b/docs/jp/1.7.0/cordova/camera/parameter/cameraOptions.md
index 53f5ba9..4d67e09 100644
--- a/docs/jp/1.7.0/cordova/camera/parameter/cameraOptions.md
+++ b/docs/jp/1.7.0/cordova/camera/parameter/cameraOptions.md
@@ -20,105 +20,105 @@ license: Licensed to the Apache Software Foundation (ASF) under one
cameraOptions
=============
-Optional parameters to customize the camera settings.
+カメラの設定をカスタマイズするのためのオプションパラメーターです。
- { quality : 75,
- destinationType : Camera.DestinationType.DATA_URL,
- sourceType : Camera.PictureSourceType.CAMERA,
+ { quality : 75,
+ destinationType : Camera.DestinationType.DATA_URL,
+ sourceType : Camera.PictureSourceType.CAMERA,
allowEdit : true,
encodingType: Camera.EncodingType.JPEG,
targetWidth: 100,
targetHeight: 100 };
-Options
+オプション
-------
-- __quality:__ Quality of saved image. Range is [0, 100]. (`Number`)
+- __quality:__ イメージの画質を指定します。 範囲: 0から100 (`Number`)
-- __destinationType:__ Choose the format of the return value. Defined in navigator.camera.DestinationType (`Number`)
-
- Camera.DestinationType = {
- DATA_URL : 0, // Return image as base64 encoded string
- FILE_URI : 1 // Return image file URI
- };
+- __destinationType:__ 返り値のフォーマットを指定します。フォーマットは navigator.camera.DestinationType で定義されています。 (`Number`)
+
+ Camera.DestinationType = {
+ DATA_URL : 0, // 画像を Base64 形式で取得
+ FILE_URI : 1 // 画像をファイル URI として取得
+ };
+
+- __sourceType:__ 取得ソースを指定します。ソースは nagivator.camera.PictureSourceType で定義されています。 (`Number`)
-- __sourceType:__ Set the source of the picture. Defined in nagivator.camera.PictureSourceType (`Number`)
-
Camera.PictureSourceType = {
PHOTOLIBRARY : 0,
CAMERA : 1,
SAVEDPHOTOALBUM : 2
};
-- __allowEdit:__ Allow simple editing of image before selection. (`Boolean`)
-
-- __encodingType:__ Choose the encoding of the returned image file. Defined in navigator.camera.EncodingType (`Number`)
-
- Camera.EncodingType = {
- JPEG : 0, // Return JPEG encoded image
- PNG : 1 // Return PNG encoded image
- };
-
-- __targetWidth:__ Width in pixels to scale image. Must be used with targetHeight. Aspect ratio is maintained. (`Number`)
-- __targetHeight:__ Height in pixels to scale image. Must be used with targetWidth. Aspect ratio is maintained. (`Number`)
-
-- __mediaType:__ Set the type of media to select from. Only works when PictureSourceType is PHOTOLIBRARY or SAVEDPHOTOALBUM. Defined in nagivator.camera.MediaType (`Number`)
-
- Camera.MediaType = {
- PICTURE: 0, // allow selection of still pictures only. DEFAULT. Will return format specified via DestinationType
- VIDEO: 1, // allow selection of video only, WILL ALWAYS RETURN FILE_URI
- ALLMEDIA : 2 // allow selection from all media types
-};
-
-- __correctOrientation:__ Rotate the image to correct for the orientation of the device during capture. (`Boolean`)
-- __saveToPhotoAlbum:__ Save the image to the photo album on the device after capture. (`Boolean`)
-
-Android Quirks
+- __allowEdit:__ イメージ選択の前に、簡単な編集を許可します。 (`Boolean`)
+
+- __encodingType:__ 画像ファイルのエンコード形式を選択します。形式は navigator.camera.EncodingType で定義されています。 (`Number`)
+
+ Camera.EncodingType = {
+ JPEG : 0, // 画像を JPEG 形式で取得
+ PNG : 1 // 画像を PNG 形式で取得
+ };
+
+- __targetWidth:__ 画像をスケールするための幅をピクセルで指定します。 targetHeight と同時に使用してください。アスペクト比は保持されます。 (`Number`)
+- __targetHeight:__ 画像をスケールするための高さをピクセルで指定します。 targetWidth と同時に使用してください。アスペクト比は保持されます。 (`Number`)
+
+- __mediaType:__ 画像の取得元を指定します。 PictureSourceType に PHOTOLIBRARY もしくは SAVEPHOTOALBUM が指定されている場合にのみ有効です。取得元は nagivator.camera.MediaType で定義されています。 (`Number`)
+
+ Camera.MediaType = {
+ PICTURE: 0, // 取得元は静止画像のみとします。デフォルトです。返り値のフォーマットは DestinationType によって指定されたものになります。
+ VIDEO: 1, // 取得元はビデオのみとします。戻り値のフォーマットは常にファイル URI となります。
+ ALLMEDIA : 2 // 全てのメディアタイプからの取得を許可します。
+ };
+
+- __correctOrientation:__ 写真が撮影されたときと同じ向きになるよう写真を回転させます。 (`Boolean`)
+- __saveToPhotoAlbum:__ 写真が撮影された後、デバイスのフォトアルバムに画像を保存します。 (`Boolean`)
+
+Android に関する注意点
--------------
-- Ignores the `allowEdit` parameter.
-- Camera.PictureSourceType.PHOTOLIBRARY and Camera.PictureSourceType.SAVEDPHOTOALBUM both display the same photo album.
-- Camera.EncodingType is not supported.
-- Ignores the `correctOrientation` parameter.
-- Ignores the `saveToPhotoAlbum` parameter.
+- `allowEdit` は無視されます。
+- Camera.PictureSourceType.PHOTOLIBRARY と Camera.PictureSourceType.SAVEDPHOTOALBUM は同じフォトアルバムを表示します。
+- Camera.EncodingType はサポートされていません。
+- `correctOrientation` パラメーターは無視されます。
+- `saveToPhotoAlbum` パラメーターは無視されます。
-BlackBerry Quirks
+BlackBerry に関する注意点
-----------------
-- Ignores the `quality` parameter.
-- Ignores the `sourceType` parameter.
-- Ignores the `allowEdit` parameter.
-- Application must have key injection permissions to close native Camera application after photo is taken.
-- Using Large image sizes may result in inability to encode image on later model devices with high resolution cameras (e.g. Torch 9800).
-- Camera.MediaType is not supported.
-- Ignores the `correctOrientation` parameter.
-- Ignores the `saveToPhotoAlbum` parameter.
+- `quality` パラメーターは無視されます。
+- `sourceType` パラメーターは無視されます。
+- `allowEdit` は無視されます。
+- 撮影後にカメラアプリを閉じるためには、アプリケーションにキー入力許可の権限が付与されている必要があります。
+- 大きなサイズで撮影を行った場合、高画質カメラを搭載したデバイスでエンコードすることができない場合があります。 (Torch 9800 など)
+- Camera.MediaType はサポートされていません。
+- `correctOrientation` パラメーターは無視されます。
+- `saveToPhotoAlbum` パラメーターは無視されます。
-Palm Quirks
+Palm に関する注意点
-----------
-- Ignores the `quality` parameter.
-- Ignores the `sourceType` parameter.
-- Ignores the `allowEdit` parameter.
-- Camera.MediaType is not supported.
-- Ignores the `correctOrientation` parameter.
-- Ignores the `saveToPhotoAlbum` parameter.
+- `quality` パラメーターは無視されます。
+- `sourceType` パラメーターは無視されます。
+- `allowEdit` は無視されます。
+- Camera.MediaType はサポートされていません。
+- `correctOrientation` パラメーターは無視されます。
+- `saveToPhotoAlbum` パラメーターは無視されます。
-iOS Quirks
+iOS に関する注意点
--------------
-- Set `quality` below 50 to avoid memory error on some devices.
-- When `destinationType.FILE_URI` is used, photos are saved in the application's temporary directory.
-- The contents of the application's temporary directory is deleted when the application ends. Developers may also delete the contents of this directory using the navigator.fileMgr APIs if storage space is a concern.
+- メモリエラーを防ぐには、 `quality` パラメーターを50以下に設定してください。
+- `destinationType.FILE_URI` が使用された場合、撮影された写真や編集された写真はアプリケーションの temporary ディレクトリに保存されます。
+- アプリケーションの temporary ディレクトリの中身はアプリケーション終了とともに消去されます。もしストレージの空きが少ない場合、このディレクトリは navigator.fileMgr API を使って消去できます。
-Windows Phone 7 Quirks
+Windows Phone 7 に関する注意点
--------------
-- Ignores the `allowEdit` parameter.
-- Ignores the `correctOrientation` parameter.
-- Ignores the `saveToPhotoAlbum` parameter.
+- `allowEdit` は無視されます。
+- `correctOrientation` パラメーターは無視されます。
+- `saveToPhotoAlbum` パラメーターは無視されます。
-Bada 1.2 Quirks
+Bada 1.2 に関する注意点
--------------
-- options not supported
-- always returns a FILE URI
+- オプションはサポートされていません。
+- 常に FILE URI を返します。
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/c8a73f95/docs/jp/1.7.0/cordova/camera/parameter/cameraSuccess.md
----------------------------------------------------------------------
diff --git a/docs/jp/1.7.0/cordova/camera/parameter/cameraSuccess.md b/docs/jp/1.7.0/cordova/camera/parameter/cameraSuccess.md
index 773fba4..4abbd0b 100644
--- a/docs/jp/1.7.0/cordova/camera/parameter/cameraSuccess.md
+++ b/docs/jp/1.7.0/cordova/camera/parameter/cameraSuccess.md
@@ -20,23 +20,23 @@ license: Licensed to the Apache Software Foundation (ASF) under one
cameraSuccess
=============
-onSuccess callback function that provides the image data.
+撮影が成功したときに呼び出されるコールバック関数です。
function(imageData) {
- // Do something with the image
+ // 任意のコード
}
-Parameters
+パラメーター
----------
-- __imageData:__ Base64 encoding of the image data, OR the image file URI, depending on `cameraOptions` used. (`String`)
+- __imageData:__ Base64 エンコーディングされた画像データ、またはイメージファイルの URI (`cameraOptions`による) (`String`)
-Example
+使用例
-------
- // Show image
+ // 画像を表示
//
function cameraCallback(imageData) {
var image = document.getElementById('myImage');
image.src = "data:image/jpeg;base64," + imageData;
- }
\ No newline at end of file
+ }