http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/43bf62ae/docs/ja/edge/plugin_ref/plugman.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/plugin_ref/plugman.md b/docs/ja/edge/plugin_ref/plugman.md index 75ccd1c..b5638af 100644 --- a/docs/ja/edge/plugin_ref/plugman.md +++ b/docs/ja/edge/plugin_ref/plugman.md @@ -18,19 +18,19 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont ãã¼ã¸ã§ã³ 3.0 以éãã³ã«ãããã¹ã¦ããã¤ã¹ Api ã®ãã©ã°ã¤ã³ã¨ãã¦å®è£ ãã¦ãæ¢å®ã§ç¡å¹ã«ãªã£ã¦ããããããæ®ãã¾ãã 追å ãããæ¦è¦ãã§èª¬æããã¯ã¼ã¯ããã¼ã®é¸æã«å¿ãã¦ããã©ã°ã¤ã³ãåé¤ãã 2 ã¤ã®ç°ãªãæ¹æ³ããµãã¼ããã¦ãã¾ãã -* If you use a cross-platform workflow, you use the `cordova` CLI utility to add plugins, as described in The Command-Line Interface. The CLI modifies plugins for all specified platforms at once. +* 使ç¨ãããã©ãããã©ã¼ã éã®ã¯ã¼ã¯ããã¼ã使ç¨ããå ´åã `cordova` ã³ãã³ã ã©ã¤ã³ ã¤ã³ã¿ã¼ãã§ã¤ã¹ã§ã®èª¬æã«å¾ã£ã¦ããã©ã°ã¤ã³ã追å ãã CLI ã¦ã¼ãã£ãªãã£ã CLI ãä¸åº¦ã«æå®ã®ãã¹ã¦ã®ãã©ãããã©ã¼ã ç¨ã®ãã©ã°ã¤ã³ã夿´ãã¾ãã -* If you use a platform-centered workflow, you use a lower-level [Plugman][1] command-line interface, separately for each targeted platform. +* ãã©ãããã©ã¼ã ãä¸å¿ã¨ããã¯ã¼ã¯ããã¼ã使ç¨ããå ´å使ç¨ããä¸ä½[Plugman][1]ã®ã³ãã³ã ã©ã¤ã³ ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå¥ã ã«åã¿ã¼ã²ãã ãã©ãããã©ã¼ã ç¨ã [1]: https://github.com/apache/cordova-plugman/ -ãã®ã»ã¯ã·ã§ã³ã®è©³ç´° Plugman ã¦ã¼ãã£ãªãã£ã For more information on consuming Plugman as a node module or modifying the source code, see [the README file in its repository][2]. +ãã®ã»ã¯ã·ã§ã³ã®è©³ç´° Plugman ã¦ã¼ãã£ãªãã£ã ãã¼ã ã¢ã¸ã¥ã¼ã«ã¨ã㦠Plugman ãæ¶è²»ããããã½ã¼ã¹ ã³ã¼ãã®å¤æ´ã«ã¤ãã¦ã¯ã[ãã®ãªãã¸ããªå ã® README ãã¡ã¤ã«][2]ãåç §ãã¦ãã ããã. [2]: https://github.com/apache/cordova-plugman/blob/master/README.md ## Plugman ãã¤ã³ã¹ãã¼ã«ãã¾ãã -Plugman ãã¤ã³ã¹ãã¼ã«ããã«ã¯ãã³ã³ãã¥ã¼ã¿ã¼ã«ã¤ã³ã¹ãã¼ã«ããã¦ãã[ãã¼ã][3]ãå¿ è¦ã§ãã Then you can run the following command from anywhere in your environment to install plugman globally, so that it is available from any directory: +Plugman ãã¤ã³ã¹ãã¼ã«ããã«ã¯ãã³ã³ãã¥ã¼ã¿ã¼ã«ã¤ã³ã¹ãã¼ã«ããã¦ãã[ãã¼ã][3]ãå¿ è¦ã§ãã ãã®å¾ã次ãå®è¡ãããã¨ãã§ãã¾ããããä»»æã®ãã£ã¬ã¯ããªããå©ç¨ã§ããããã«ãã°ãã¼ãã«ã«ãplugman ãã¤ã³ã¹ãã¼ã«ããç°å¢å ã§ä»»æã®å ´æããã³ãã³ãã [3]: http://nodejs.org/ @@ -39,10 +39,10 @@ Plugman ãã¤ã³ã¹ãã¼ã«ããã«ã¯ãã³ã³ãã¥ã¼ã¿ã¼ã«ã¤ã³ã¹ã ããªããæã£ã¦ããå¿ è¦ãããã¾ã `git` ã«ã `PATH` ãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ãããªã¢ã¼ãã® git Url ããç´æ¥ãã¨ãã§ãã¾ãã -**TIP**: If you find that after installing plugman with `npm` you are still unable to run any `plugman` commands, make sure that you have added the `/npm/` directory into your `PATH`. +**ãã³ã**ï¼ ã¨ plugman ãã¤ã³ã¹ãã¼ã«ããå¾ãã¨ã夿ããå ´å `npm` ããªãã¯ã¾ã ãããããå®è¡ãããã¨ãã§ãã¾ã `plugman` ã³ãã³ãã追å ãããã¨ã確èªãã¦ã `/npm/` ãã£ã¬ã¯ããªã«ã`PATH`. -**NOTE**: You can skip this step if you don't want to pollute your global `npm` namespace by installing Plugman globally. If this is the case, then when you create a Cordova project with the shell tools, there will be a `node_modules` directory inside your project which contains Plugman. Since you did not install globally, you need to invoke `node` for each Plugman command, for example `node -./node_modules/plugman/main.js -version`. The rest of this guide assumes you have installed Plugman globally, meaning you can invoke it with just `plugman`. +**注**: ã°ãã¼ãã«ãªæ±æãããããªãå ´åã¯ããã®æé ãã¹ããããããã¨ãã§ãã¾ã `npm` Plugman ãã°ãã¼ãã«ã«ã¤ã³ã¹ãã¼ã«ãããã¨ã«ãã£ã¦åå空éã ãã®ãããªå ´åããã®ã·ã§ã« ãã¼ã«ã¨ã³ã«ãã ããã¸ã§ã¯ãã使ããã¨ããããå ´åã `node_modules` ãã£ã¬ã¯ããªã Plugman ãå«ãããã¸ã§ã¯ãå ã ã°ãã¼ãã«ã«ã¤ã³ã¹ãã¼ã«ãã¦ããªããå¼ã³åºãå¿ è¦ãããã¾ã `node` ã®ä¾ã®å Plugman ã³ãã³ãã `node +./node_modules/plugman/main.js -version` ã ãã®ã¬ã¤ãã®æ®ãã®é¨åã ãã§ãããå¼ã³åºããã¨ãã§ãã¾ãæå³ãä¸ççã« Plugman ãã¤ã³ã¹ãã¼ã«ããã¨ä»®å®ãã¾ã`plugman`. ## ã³ã«ããã®ããã¸ã§ã¯ãã使ãã¾ãã @@ -57,15 +57,15 @@ Plugman ã¤ã³ã¹ãã¼ã«ããã¦ããã³ã«ãã ããã¸ã§ã¯ããä½ æå°éã®ãã©ã¡ã¼ã¿ã¼ã使ç¨ãã¦ããã®ã³ãã³ãã¯ã³ã«ãã ããã¸ã§ã¯ãã«ãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ãã¾ãã ãã®ãã©ãããã©ã¼ã ç¨ã®ãã©ãããã©ã¼ã ã¨ã³ã«ããã®ããã¸ã§ã¯ãã®å ´æãæå®ããå¿ è¦ãããã¾ãã ã¾ããæå®ãã¦ãã ãããã©ã°ã¤ã³ã¯ãå¥ã® `--plugin` ãã©ã¡ã¼ã¿ã¼ãå½¢æããã¦ãã¾ãã -* `name`: The directory name where the plugin contents exist. This must be an existing directory under the `--plugins_dir` path (see below for more info) or a plugin in the Cordova registry. +* `name`: ãã©ã°ã¤ã³ ã³ã³ãã³ããåå¨ãããã£ã¬ã¯ããªåã ããã¯ã®ä¸ã§æ¢åã®ãã£ã¬ã¯ããªãããå¿ è¦ãããã¾ãã `--plugins_dir` ã³ã«ãã ã¬ã¸ã¹ããªã«ãã©ã°ã¤ã³ã¾ãã¯ãã¹ (ããã«è©³ããæ å ±ã¯ãä¸è¨ãåç §)ã * `url`: Https://ã¾ã㯠git ã§å§ã¾ã URL://ã¯ãã¼ã³ãå«ãæå¹ãª git ãªãã¸ããªãæãã¦ããã `plugin.xml` ãã¡ã¤ã«ã ãã®ãªãã¸ããªã®å 容ã«ã³ãã¼ãããã`--plugins_dir`. -* `path`: A path to a directory containing a valid plugin which includes a `plugin.xml` file. This path's contents will be copied into the `--plugins_dir`. +* `path`: ãå«ãæå¹ãªãã©ã°ã¤ã³ãå«ã¾ãã¦ãããã£ã¬ã¯ããªã¸ã®ãã¹ã `plugin.xml` ãã¡ã¤ã«ããã®ãã¹ã®ã³ã³ãã³ãã«ã³ãã¼ããã¾ãã`--plugins_dir`. ãã®ä»ã®ãã©ã¡ã¼ã¿ã¼: -* `--plugins_dir` defaults to `<project>/cordova/plugins`, but can be any directory containing a subdirectory for each fetched plugin. -* `--www` defaults to the project's `www` folder location, but can be any directory that is to be used as cordova project application web assets. -* `--variable` allows to specify certain variables at install time, necessary for certain plugins requiring API keys or other custom, user-defined parameters. Please see the [plugin specification][4] for more information. +* `--plugins_dir`æ¢å®å¤ã¯ `<project>/cordova/plugins` ãããã§ããããããã©ã°ã¤ã³ä»»æã®ãã£ã¬ã¯ããªã®åãµããã£ã¬ã¯ããªãå«ããã¨ãã§ãã¾ãã +* `--www`ããã©ã«ãã§ãããã¸ã§ã¯ãã® `www` ãã©ã«ãã¼ã®å ´æãã³ã«ãã ããã¸ã§ã¯ã ã¢ããªã±ã¼ã·ã§ã³ web è³ç£ã¨ãã¦ä½¿ç¨ãããä»»æã®ãã£ã¬ã¯ããªã«ãããã¨ãã§ãã¾ãã +* `--variable`æå®ããç¹å®ã®å¤æ°ãã¤ã³ã¹ãã¼ã«æã«å¿ è¦ãªç¹å®ã®ãã©ã°ã¤ã³ API ãã¼ã¾ãã¯ãã®ä»ã®ã«ã¹ã¿ã ã®ã¦ã¼ã¶ã¼å®ç¾©ã®ãã©ã¡ã¼ã¿ã¼ãå¿ è¦ã¨ãããã¨ãã§ãã¾ãã 詳細ã«ã¤ãã¦ã¯ã[ãã©ã°ã¤ã³ã®ä»æ§][4]ãåç §ãã¦ãã ããã [4]: plugin_ref_spec.md.html#Plugin%20Specification
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/43bf62ae/docs/ja/edge/plugin_ref/spec.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/plugin_ref/spec.md b/docs/ja/edge/plugin_ref/spec.md index ab691ca..6e336ce 100644 --- a/docs/ja/edge/plugin_ref/spec.md +++ b/docs/ja/edge/plugin_ref/spec.md @@ -159,7 +159,7 @@ plugman ã¯ããã®ã¿ã¼ã²ãã ããã¸ã§ã¯ããã¨ã³ã¸ã³ã®å¶ç´ <asset src="www/new-foo.js" target="js/experimental/foo.js" /> - creates the `js/experimental` directory within the `www` directory, unless already present, then copies the `new-foo.js` file and renames it `foo.js`. If a file already exists at the target location, plugman stops and reverses the installation process, issues a notification about the conflict, and exits with a non-zero code. + 使ã `js/experimental` ãã£ã¬ã¯ããªå ã§ã `www` ãã£ã¬ã¯ããªãããªãéããæ¢ã«åå¨ããã³ãã¼ã `new-foo.js` ãã¡ã¤ã«ããååã夿´ããã¾ã `foo.js` ã ã¿ã¼ã²ããã®å ´æã«ãã¡ã¤ã«ãæ¢ã«åå¨ããå ´å plugman 忢ãã¤ã³ã¹ãã¼ã« ããã»ã¹ãéã«ãç«¶åã«ã¤ãã¦éç¥ãçºè¡ããã¼ã以å¤ã®ã³ã¼ãã§çµäºãã¾ãã ## *js ã¢ã¸ã¥ã¼ã«*è¦ç´ @@ -188,7 +188,7 @@ plugman ã¯ããã®ã¿ã¼ã²ãã ããã¸ã§ã¯ããã¨ã³ã¸ã³ã®å¶ç´ * `<runs/>`ããªãã®ã³ã¼ãã§æå®ããå¿ è¦ããããã¨ãæå³ãã¾ã `cordova.require` ã«ã¤ã³ã¹ãã¼ã«ããã¦ããªããã `window` ãªãã¸ã§ã¯ãã ã¤ãã³ã ãã³ãã©ã¼ãã¢ã¿ããããã¢ã¸ã¥ã¼ã«ãåæåããå ´åã«ä¾¿å©ã§ãã¾ãã¯ãã以å¤ã®å ´åã ããªãã ã 1 ã¤ã¾ã§æã¤ãã¨ãã§ãã¾ã `<runs/>` ã¿ã°ã ã¡ã¢ãå«ãã `<runs/>` 㨠`<clobbers/>` ã¾ã㯠`<merges/>` ã¯åé·ã§ãã®ã§ã¾ã `cordova.require` ããªãã®ã¢ã¸ã¥ã¼ã«ã - * An empty `<js-module>` still loads and can be accessed in other modules via `cordova.require`. + * 空㮠`<js-module>` ã¾ã ãã¼ãããä»ã®ã¢ã¸ã¥ã¼ã«çµç±ã§ã¢ã¯ã»ã¹ãããã¨ãã§ãã¾ã`cordova.require`. å ´å `src` plugman 忢ã¤ã³ã¹ãã¼ã«ãéã«ãåé¡ã®éç¥ãçºè¡ãã0 以å¤ã®ã³ã¼ãã§çµäºãã¾ããæ¢åã®ãã¡ã¤ã«ã«è§£æ±ºããã¾ããã @@ -378,19 +378,16 @@ Android ã®ä¾: çç¥å¯è½ãª `weak` 屿§ã¯ããã¬ã¼ã ã¯ã¼ã¯ãå¼±ããªã³ã¯ããå¿ è¦ããããã©ããã示ããã¼ã«å¤ãæ¢å®å¤ã¯`false`. -çç¥å¯è½ãª `custom` 屿§ã¯ããã¬ã¼ã ã¯ã¼ã¯ããã©ã°ã¤ã³ ãã¡ã¤ã«ã®ä¸é¨ã¨ãã¦å«ã¾ãã¦ãããã©ããã示ããã¼ã«å¤ (å¾ã£ã¦ããã¯ã·ã¹ãã ãã¬ã¼ã ã¯ã¼ã¯ï¼ã The default is `false`. +çç¥å¯è½ãª `custom` 屿§ã¯ããã¬ã¼ã ã¯ã¼ã¯ããã©ã°ã¤ã³ ãã¡ã¤ã«ã®ä¸é¨ã¨ãã¦å«ã¾ãã¦ãããã©ããã示ããã¼ã«å¤ (å¾ã£ã¦ããã¯ã·ã¹ãã ãã¬ã¼ã ã¯ã¼ã¯ï¼ã æ¢å®å¤ã¯`false`. ## *æ å ±*è¦ç´ -Additional information provided to users. This is useful when you require extra steps that can't be easily automated or are beyond plugman's scope. Examples: +追å ã®æ å ±ãã¦ã¼ã¶ã¼ã«æä¾ãã¾ããããã¯ãä½åãªæé ãç°¡åã«èªååãããã¨ã¯ã§ãã¾ããã¾ã㯠plugman ã®ç¯å²ãè¶ ãã¦ãããã¨ãå¿ è¦ãªå ´åã«å½¹ç«ã¡ã¾ããä¾: <info> You need to install __Google Play Services__ from the `Android Extras` section using the Android SDK manager (run `android`). - You need to add the following line to the `local.properties`: - - android.library.reference.1=PATH_TO_ANDROID_SDK/sdk/extras/google/google_play_services/libproject/google-play-services_lib - </info> + 'Local.properties' ã«æ¬¡ã®è¡ã追å ããå¿ è¦ãããã¾ãï¼ android.library.reference.1=PATH_TO_ANDROID_SDK/sdk/extras/google/google_play_services/libproject/google-play-services_lib </æ å ± > ## 夿°
