Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B035017AF5 for ; Thu, 12 Mar 2015 23:51:38 +0000 (UTC) Received: (qmail 57125 invoked by uid 500); 12 Mar 2015 23:51:38 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 57068 invoked by uid 500); 12 Mar 2015 23:51:38 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 56796 invoked by uid 99); 12 Mar 2015 23:51:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Mar 2015 23:51:38 +0000 Date: Thu, 12 Mar 2015 23:51:38 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-7826) Add CDVPlugin support for getting items from plugin resource bundles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-7826: --------------------------------- Description: Example: https://github.com/apache/cordova-plugin-media-capture/blob/f7d70e2e8f8354743286011f70dcd79a3292a82e/src/ios/CDVCapture.m#L34-L40 Each plugin can have a .bundle with images, localization strings, etc and we provide an interface in CDVPlugin to grab them. Advantages: 1. Only one line in plugin.xml as a tag, versus N lines for N files 2. "Namespacing" of resources built in, no fear of resource name collision with other plugins, or the project template was: Example: https://github.com/apache/cordova-plugin-media-capture/blob/f7d70e2e8f8354743286011f70dcd79a3292a82e/src/ios/CDVCapture.m#L34 Each plugin can have a .bundle with images, localization strings, etc and we provide an interface in CDVPlugin to grab them. Advantages: 1. Only one line in plugin.xml as a tag, versus N lines for N files 2. "Namespacing" of resources built in, no fear of resource name collision with other plugins, or the project template > Add CDVPlugin support for getting items from plugin resource bundles > -------------------------------------------------------------------- > > Key: CB-7826 > URL: https://issues.apache.org/jira/browse/CB-7826 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 4.0.0 > Reporter: Shazron Abdullah > Fix For: 4.0.0 > > > Example: > https://github.com/apache/cordova-plugin-media-capture/blob/f7d70e2e8f8354743286011f70dcd79a3292a82e/src/ios/CDVCapture.m#L34-L40 > Each plugin can have a .bundle with images, localization strings, etc and we provide an interface in CDVPlugin to grab them. > Advantages: > 1. Only one line in plugin.xml as a tag, versus N lines for N files > 2. "Namespacing" of resources built in, no fear of resource name collision with other plugins, or the project template -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org