Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D126107ED for ; Thu, 12 Sep 2013 17:04:19 +0000 (UTC) Received: (qmail 9948 invoked by uid 500); 12 Sep 2013 17:02:31 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 7605 invoked by uid 500); 12 Sep 2013 17:02:13 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 7384 invoked by uid 99); 12 Sep 2013 17:02:13 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Sep 2013 17:02:13 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 127A98C0000; Thu, 12 Sep 2013 17:02:13 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: mwbrooks@apache.org To: commits@cordova.apache.org Date: Thu, 12 Sep 2013 17:02:13 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [01/50] [abbrv] docs commit: Synchronization with Crowdin Updated Branches: refs/heads/master a259efa8f -> 11fba3740 Synchronization with Crowdin Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/1adb95c7 Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/1adb95c7 Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/1adb95c7 Branch: refs/heads/master Commit: 1adb95c72eabae685572a6b803b6b88278abeaef Parents: d9c8619 Author: ldeluca Authored: Thu Sep 5 10:03:56 2013 -0400 Committer: ldeluca Committed: Thu Sep 5 10:03:56 2013 -0400 ---------------------------------------------------------------------- docs/it/edge/guide/platforms/ios/plugin.md | 4 ++-- docs/ja/edge/guide/platforms/ios/plugin.md | 2 +- docs/ko/edge/guide/platforms/ios/plugin.md | 4 ++-- docs/zh/edge/guide/platforms/ios/plugin.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1adb95c7/docs/it/edge/guide/platforms/ios/plugin.md ---------------------------------------------------------------------- diff --git a/docs/it/edge/guide/platforms/ios/plugin.md b/docs/it/edge/guide/platforms/ios/plugin.md index ed49aad..4d775be 100644 --- a/docs/it/edge/guide/platforms/ios/plugin.md +++ b/docs/it/edge/guide/platforms/ios/plugin.md @@ -96,9 +96,9 @@ Aggiungiamo i seguenti al progetto `config.xml` file: Poi aggiungiamo i seguenti file ( `Echo.h` e `Echo.m` ) nella cartella plugin all'interno della nostra cartella di applicazione di Cordova-iOS: - / --- Echo.h Cordova Plugin intestazione --- / Echo #import < Cordova/CDV.h > @interface: CDVPlugin - comando di:(CDVInvokedUrlCommand*) echo (void); + / --- Echo.h Cordova Plugin intestazione * * * / Echo #import < Cordova/CDV.h > @interface: CDVPlugin - comando di:(CDVInvokedUrlCommand*) echo (void); - @end / --- implementazione di Plugin Cordova Echo.m --- / #import "Echo.h" #import < Cordova/CDV.h > @implementation Echo - comando di:(CDVInvokedUrlCommand*) echo (void) {CDVPluginResult * pluginResult = nil; + @end / --- implementazione di Plugin Cordova Echo.m * * * / #import "Echo.h" #import < Cordova/CDV.h > @implementation Echo - comando di:(CDVInvokedUrlCommand*) echo (void) {CDVPluginResult * pluginResult = nil; NSString * echo = [command.arguments objectAtIndex: 0]; Se (eco! = nil & & [eco lunghezza] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo]; http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1adb95c7/docs/ja/edge/guide/platforms/ios/plugin.md ---------------------------------------------------------------------- diff --git a/docs/ja/edge/guide/platforms/ios/plugin.md b/docs/ja/edge/guide/platforms/ios/plugin.md index 29fad7d..5f79aa5 100644 --- a/docs/ja/edge/guide/platforms/ios/plugin.md +++ b/docs/ja/edge/guide/platforms/ios/plugin.md @@ -90,7 +90,7 @@ CDVPluginResult を使用してを返すことができますさまざまな結 我々 は、次のファイルを追加し、( `Echo.h` および `Echo.m` ) 私たちコルドバ iOS アプリケーション フォルダー内にプラグインのフォルダーに: - /--- Echo.h コルドバ プラグイン ヘッダー ---/#import < Cordova/CDV.h > @interface エコー: CDVPlugin - (void) エコー:(CDVInvokedUrlCommand*) コマンド;@end/* * * Echo.m コルドバのプラグイン実装 * * */#import"Echo.h"#import < Cordova/CDV.h > @implementation エコー - (void) エコー:(CDVInvokedUrlCommand*) コマンド {CDVPluginResult * pluginResult = nil;NSString * エコー = [command.arguments objectAtIndex:0];場合 (エコー ! = nil & & [エコー長さ] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo];} 他 {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR];} [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];} @end + /--- Echo.h コルドバ プラグイン ヘッダー * * */#import < Cordova/CDV.h > @interface エコー: CDVPlugin - (void) エコー:(CDVInvokedUrlCommand*) コマンド;@end/* * * Echo.m コルドバのプラグイン実装 * * */#import"Echo.h"#import < Cordova/CDV.h > @implementation エコー - (void) エコー:(CDVInvokedUrlCommand*) コマンド {CDVPluginResult * pluginResult = nil;NSString * エコー = [command.arguments objectAtIndex:0];場合 (エコー ! = nil & & [エコー長さ] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo];} 他 {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR];} [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId];} @end コードを見てをみましょう。上部に我々 はすべての必要なコルドバ輸入があります。私たちのクラスから拡張 `CDVPlugin` (非常に重要)。 http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1adb95c7/docs/ko/edge/guide/platforms/ios/plugin.md ---------------------------------------------------------------------- diff --git a/docs/ko/edge/guide/platforms/ios/plugin.md b/docs/ko/edge/guide/platforms/ios/plugin.md index 1c15f7d..870f040 100644 --- a/docs/ko/edge/guide/platforms/ios/plugin.md +++ b/docs/ko/edge/guide/platforms/ios/plugin.md @@ -96,9 +96,9 @@ CDVPluginResult를 사용 하 여 돌아갈 수 있습니다 다양 한 결과 그 후에 다음 파일 추가 ( `Echo.h` 및 `Echo.m` ) 우리의 코르도바 iOS 응용 프로그램 폴더 안의 플러그인 폴더에: - / --- Echo.h 코르도바 플러그인 헤더 --- / #import < Cordova/CDV.h > @interface 에코: CDVPlugin-(void) 에코:(CDVInvokedUrlCommand*) 명령; + / --- Echo.h 코르도바 플러그인 헤더 * * * / #import < Cordova/CDV.h > @interface 에코: CDVPlugin-(void) 에코:(CDVInvokedUrlCommand*) 명령; - @end / --- Echo.m 코르도바 플러그인 구현 --- / #import "Echo.h" #import < Cordova/CDV.h > @implementation 에코-(void) 에코:(CDVInvokedUrlCommand*) 명령 {CDVPluginResult * pluginResult = 없음; + @end / --- Echo.m 코르도바 플러그인 구현 * * * / #import "Echo.h" #import < Cordova/CDV.h > @implementation 에코-(void) 에코:(CDVInvokedUrlCommand*) 명령 {CDVPluginResult * pluginResult = 없음; NSString * 에코 = [command.arguments objectAtIndex:0]; 경우 (에코! = 대 0 & & [에코 길이] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo]; http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/1adb95c7/docs/zh/edge/guide/platforms/ios/plugin.md ---------------------------------------------------------------------- diff --git a/docs/zh/edge/guide/platforms/ios/plugin.md b/docs/zh/edge/guide/platforms/ios/plugin.md index e231511..fc8e9a8 100644 --- a/docs/zh/edge/guide/platforms/ios/plugin.md +++ b/docs/zh/edge/guide/platforms/ios/plugin.md @@ -90,7 +90,7 @@ license: Licensed to the Apache Software Foundation (ASF) under one or more cont 然後我們將添加下列檔 ( `Echo.h` 和 `Echo.m` ) 的外掛程式資料夾裡面我們科爾多瓦 iOS 應用程式資料夾中: - / --- Echo.h 科爾多瓦外掛程式頭 --- / #import < Cordova/CDV.h > @interface 回聲: CDVPlugin-(void) echo:(CDVInvokedUrlCommand*) 命令 ;@end / * * * Echo.m 科爾多瓦外掛程式執行 * * * / #import"Echo.h"#import < Cordova/CDV.h > @implementation 回聲-(失效) echo:(CDVInvokedUrlCommand*) 命令 {CDVPluginResult * pluginResult = 零 ;NSString * 回聲 = [command.arguments objectAtIndex:0];如果 (回聲! = 無 & & [回聲長度] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo];} 其他 {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR];} [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId] ;} @end + / --- Echo.h 科爾多瓦外掛程式頭 * * * / #import < Cordova/CDV.h > @interface 回聲: CDVPlugin-(void) echo:(CDVInvokedUrlCommand*) 命令 ;@end / * * * Echo.m 科爾多瓦外掛程式執行 * * * / #import"Echo.h"#import < Cordova/CDV.h > @implementation 回聲-(失效) echo:(CDVInvokedUrlCommand*) 命令 {CDVPluginResult * pluginResult = 零 ;NSString * 回聲 = [command.arguments objectAtIndex:0];如果 (回聲! = 無 & & [回聲長度] > 0) {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:echo];} 其他 {pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR];} [self.commandDelegate sendPluginResult:pluginResult callbackId:command.callbackId] ;} @end 讓我們看看代碼。在頂部,我們有所有必要的科爾多瓦進口。我們班延伸從 `CDVPlugin` (非常重要)。