Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #141 from becka11y/localizeCapture

Created localized files for a11y prompt in Audio capture.
  • Loading branch information...
commit 051cc1d2ba0118802705b408adaf4cc27d29e38a 2 parents 4379d27 + 5410e98
@shazron shazron authored
View
697 PhoneGap-based Application.xctemplate/TemplateInfo.plist
@@ -2,316 +2,288 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
-
- <!-- STANDARD __________________________________________________________________________ -->
-
- <key>Ancestors</key>
- <array>
- <string>com.apple.dt.unit.objectiveCApplication</string>
- <string>com.apple.dt.unit.iPhoneBase</string> <!-- Identifier can find in any TemplateInfo.plist -->
- </array>
- <key>Concrete</key>
- <true/>
-
- <key>Description</key>
- <string>This template provides a starting point for a PhoneGap based application. On first run, it will create the www folder. You must drag and drop in the www folder into your project (as a folder reference). Then just modify the www folder contents with your HTML, CSS and Javascript.</string> <!-- Description about Template -->
- <key>Identifier</key>
- <string>com.phonegap.ios.template</string> <!-- Identifier unique template Identifier. Must be in all Templates -->
- <key>Kind</key>
- <string>Xcode.Xcode3.ProjectTemplateUnitKind</string> <!-- Kind Must be in all Templates. For Project Template: "Xcode.Xcode3.ProjectTemplateUnitKind", File Template: "Xcode.IDEKit.TextSubstitutionFileTemplateKind" -->
-
- <!-- DEFINITIONS __________________________________________________________________________ -->
-
- <key>Definitions</key>
- <dict>
- <key>___PACKAGENAME___Prefix.pch</key>
- <dict>
- <key>Path</key>
- <string>./___PACKAGENAME___-Prefix.pch</string>
- <key>Group</key>
- <array>
- <string>Supporting Files</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>___PACKAGENAME___-Info.plist</key>
- <dict>
- <key>Path</key>
- <string>./___PACKAGENAME___-Info.plist</string>
- <key>Group</key>
- <array>
- <string>Supporting Files</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- <!-- to exclude from any target, add this key with empty array -->
- <key>TargetIndices</key>
- <array/>
- </dict>
- <key>main.m</key>
- <dict>
- <key>Path</key>
- <string>./main.m</string>
- <key>Group</key>
- <array>
- <string>Supporting Files</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>PhoneGap</key>
- <dict>
- <key>Path</key>
- <string>/Users/Shared/PhoneGap/Frameworks/PhoneGap.framework</string>
- <key>PathType</key>
- <string>Absolute</string>
- </dict>
- <key>Resources/icons/icon.png</key>
- <dict>
- <key>Path</key>
- <string>./Resources/icons/icon.png</string>
- <key>Group</key>
- <array>
- <string>Resources</string>
- <string>icons</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>Resources/icons/icon-72.png</key>
- <dict>
- <key>Path</key>
- <string>./Resources/icons/icon-72.png</string>
- <key>Group</key>
- <array>
- <string>Resources</string>
- <string>icons</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>Resources/icons/icon@2x.png</key>
- <dict>
- <key>Path</key>
- <string>./Resources/icons/icon@2x.png</string>
- <key>Group</key>
- <array>
- <string>Resources</string>
- <string>icons</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>Resources/splash/Default.png</key>
- <dict>
- <key>Path</key>
- <string>./Resources/splash/Default.png</string>
- <key>Group</key>
- <array>
- <string>Resources</string>
- <string>splash</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>Resources/splash/Default~ipad.png</key>
- <dict>
- <key>Path</key>
- <string>./Resources/splash/Default~ipad.png</string>
- <key>Group</key>
- <array>
- <string>Resources</string>
- <string>splash</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>Resources/splash/Default@2x.png</key>
- <dict>
- <key>Path</key>
- <string>./Resources/splash/Default@2x.png</string>
- <key>Group</key>
- <array>
- <string>Resources</string>
- <string>splash</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>Resources/Capture.bundle</key>
- <dict>
- <key>Path</key>
- <string>./Resources/capture.bundle</string>
- <key>Group</key>
- <array>
- <string>Resources</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>PhoneGap.plist</key>
- <dict>
- <key>Path</key>
- <string>./PhoneGap.plist</string>
- <key>Group</key>
- <array>
- <string>Supporting Files</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>Classes/AppDelegate.h</key>
- <dict>
- <key>Path</key>
- <string>./Classes/AppDelegate.h</string>
- <key>Group</key>
- <array>
- <string>Classes</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- <!-- to exclude from any target, add this key with empty array -->
- <key>TargetIndices</key>
- <array/>
- </dict>
- <key>Classes/AppDelegate.m</key>
- <dict>
- <key>Path</key>
- <string>./Classes/AppDelegate.m</string>
- <key>Group</key>
- <array>
- <string>Classes</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- </dict>
- <key>Plugins/README</key>
- <dict>
- <key>Path</key>
- <string>./Plugins/README</string>
- <key>Group</key>
- <array>
- <string>Plugins</string>
- </array>
- <key>PathType</key>
- <string>Group</string>
- <!-- to exclude from any target, add this key with empty array -->
- <key>TargetIndices</key>
- <array/>
- </dict>
- </dict>
-
- <!-- NODES __________________________________________________________________________ -->
- <key>Nodes</key>
+ <key>Ancestors</key>
+ <array>
+ <string>com.apple.dt.unit.objectiveCApplication</string>
+ <string>com.apple.dt.unit.iPhoneBase</string>
+ </array>
+ <key>Concrete</key>
+ <true/>
+ <key>Definitions</key>
+ <dict>
+ <key>___PACKAGENAME___-Info.plist</key>
+ <dict>
+ <key>Group</key>
<array>
- <string>main.m</string>
- <string>PhoneGap</string>
- <string>___PACKAGENAME___-Prefix.pch</string>
- <string>___PACKAGENAME___-Info.plist</string>
- <string>Resources/icons/icon.png</string>
- <string>Resources/icons/icon@2x.png</string>
- <string>Resources/icons/icon-72.png</string>
- <string>Resources/splash/Default.png</string>
- <string>Resources/splash/Default@2x.png</string>
- <string>Resources/splash/Default~ipad.png</string>
- <string>Resources/Capture.bundle</string>
- <string>PhoneGap.plist</string>
- <string>Classes/AppDelegate.h</string>
- <string>Classes/AppDelegate.m</string>
- <string>Plugins/README</string>
+ <string>Supporting Files</string>
</array>
-
- <!-- OPTIONS __________________________________________________________________________ -->
- <key>Options</key>
+ <key>Path</key>
+ <string>./___PACKAGENAME___-Info.plist</string>
+ <key>PathType</key>
+ <string>Group</string>
+ <key>TargetIndices</key>
+ <array/>
+ </dict>
+ <key>___PACKAGENAME___Prefix.pch</key>
+ <dict>
+ <key>Group</key>
<array>
- <!--
- <dict>
- <key>Description</key>
- <string>Your new product's name.</string>
- <key>EmptyReplacement</key>
- <string>ProductName</string>
- <key>Identifier</key>
- <string>productName</string>
- <key>Name</key>
- <string>Product Name</string>
- <key>NotPersisted</key>
- <true/>
- <key>Required</key>
- <true/>
- <key>Type</key>
- <string>text</string>
- </dict>
- -->
- </array>
-
- <!-- PLATFORMS __________________________________________________________________________ -->
- <key>Platforms</key>
+ <string>Supporting Files</string>
+ </array>
+ <key>Path</key>
+ <string>./___PACKAGENAME___-Prefix.pch</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>Classes/AppDelegate.h</key>
+ <dict>
+ <key>Group</key>
<array>
- <string>com.apple.platform.iphoneos</string>
+ <string>Classes</string>
</array>
-
- <!-- PROJECT __________________________________________________________________________ -->
- <key>Project</key>
- <dict>
- <key>SDK</key>
- <string>iphoneos</string>
- <key>Configurations</key>
- <dict>
- <key>Debug</key>
- <dict/>
- <key>Release</key>
- <dict/>
- </dict>
- <key>SharedSettings</key>
- <dict>
- <key>ARCHS</key>
- <string>$(ARCHS_STANDARD_32_BIT)</string>
- <key>GCC_VERSION</key>
- <string>com.apple.compilers.llvmgcc42</string>
- <key>IPHONEOS_DEPLOYMENT_TARGET</key>
- <string>3.1</string>
- <key>CODE_SIGN_IDENTITY[sdk=iphoneos*]</key>
- <string>iPhone Developer</string>
- </dict>
- </dict>
-
- <!-- TARGETS __________________________________________________________________________ -->
- <key>Targets</key>
- <array>
- <dict>
- <key>ProductType</key>
- <string>com.apple.product-type.application</string>
- <key>BuildPhases</key> <!-- Create Standard Template: Select Project Editor then Build Phases. -->
- <array>
- <dict>
- <key>Class</key>
- <string>Sources</string> <!-- Add Build Phase Compile Source -->
- </dict>
- <dict>
- <key>Class</key>
- <string>Frameworks</string> <!-- Add Build Phase Link Binary With Libraries -->
- </dict>
- <!-- Add Build Phase Copy File -->
- <!--
- <dict>
- <key>Class</key>
- <string>CopyFiles</string>
- <key>DstPath</key>
- <string>/usr/share/man/man1/</string>
- <key>DstSubfolderSpec</key>
- <string>0</string>
- <key>RunOnlyForDeploymentPostprocessing</key>
- <string>YES</string>
- </dict>
- -->
- <dict>
- <key>Class</key>
- <string>ShellScript</string>
- <key>ShellPath</key>
- <string>/bin/bash</string>
- <key>ShellScript</key>
- <string>
+ <key>Path</key>
+ <string>./Classes/AppDelegate.h</string>
+ <key>PathType</key>
+ <string>Group</string>
+ <key>TargetIndices</key>
+ <array/>
+ </dict>
+ <key>Classes/AppDelegate.m</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Classes</string>
+ </array>
+ <key>Path</key>
+ <string>./Classes/AppDelegate.m</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>main.m</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Supporting Files</string>
+ </array>
+ <key>Path</key>
+ <string>./main.m</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>PhoneGap</key>
+ <dict>
+ <key>Path</key>
+ <string>/Users/Shared/PhoneGap/Frameworks/PhoneGap.framework</string>
+ <key>PathType</key>
+ <string>Absolute</string>
+ </dict>
+ <key>PhoneGap.plist</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Supporting Files</string>
+ </array>
+ <key>Path</key>
+ <string>./PhoneGap.plist</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>Plugins/README</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Plugins</string>
+ </array>
+ <key>Path</key>
+ <string>./Plugins/README</string>
+ <key>PathType</key>
+ <string>Group</string>
+ <key>TargetIndices</key>
+ <array/>
+ </dict>
+ <key>Resources/Capture.bundle</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Resources</string>
+ </array>
+ <key>Path</key>
+ <string>./Resources/capture.bundle</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>Resources/en.lproj/Localizable.strings</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Resources</string>
+ <string>en.lproj</string>
+ </array>
+ <key>Path</key>
+ <string>./Resources/en.lproj/Localizable.strings</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>Resources/es.lproj/Localizable.strings</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Resources</string>
+ <string>es.lproj</string>
+ </array>
+ <key>Path</key>
+ <string>./Resources/es.lproj/Localizable.strings</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>Resources/icons/icon-72.png</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Resources</string>
+ <string>icons</string>
+ </array>
+ <key>Path</key>
+ <string>./Resources/icons/icon-72.png</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>Resources/icons/icon.png</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Resources</string>
+ <string>icons</string>
+ </array>
+ <key>Path</key>
+ <string>./Resources/icons/icon.png</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>Resources/icons/icon@2x.png</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Resources</string>
+ <string>icons</string>
+ </array>
+ <key>Path</key>
+ <string>./Resources/icons/icon@2x.png</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>Resources/splash/Default.png</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Resources</string>
+ <string>splash</string>
+ </array>
+ <key>Path</key>
+ <string>./Resources/splash/Default.png</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>Resources/splash/Default@2x.png</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Resources</string>
+ <string>splash</string>
+ </array>
+ <key>Path</key>
+ <string>./Resources/splash/Default@2x.png</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ <key>Resources/splash/Default~ipad.png</key>
+ <dict>
+ <key>Group</key>
+ <array>
+ <string>Resources</string>
+ <string>splash</string>
+ </array>
+ <key>Path</key>
+ <string>./Resources/splash/Default~ipad.png</string>
+ <key>PathType</key>
+ <string>Group</string>
+ </dict>
+ </dict>
+ <key>Description</key>
+ <string>This template provides a starting point for a PhoneGap based application. On first run, it will create the www folder. You must drag and drop in the www folder into your project (as a folder reference). Then just modify the www folder contents with your HTML, CSS and Javascript.</string>
+ <key>Identifier</key>
+ <string>com.phonegap.ios.template</string>
+ <key>Kind</key>
+ <string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
+ <key>Nodes</key>
+ <array>
+ <string>main.m</string>
+ <string>PhoneGap</string>
+ <string>___PACKAGENAME___-Prefix.pch</string>
+ <string>___PACKAGENAME___-Info.plist</string>
+ <string>Resources/en.lproj/Localizable.strings</string>
+ <string>Resources/es.lproj/Localizable.strings</string>
+ <string>Resources/icons/icon.png</string>
+ <string>Resources/icons/icon@2x.png</string>
+ <string>Resources/icons/icon-72.png</string>
+ <string>Resources/splash/Default.png</string>
+ <string>Resources/splash/Default@2x.png</string>
+ <string>Resources/splash/Default~ipad.png</string>
+ <string>Resources/Capture.bundle</string>
+ <string>PhoneGap.plist</string>
+ <string>Classes/AppDelegate.h</string>
+ <string>Classes/AppDelegate.m</string>
+ <string>Plugins/README</string>
+ </array>
+ <key>Options</key>
+ <array/>
+ <key>Platforms</key>
+ <array>
+ <string>com.apple.platform.iphoneos</string>
+ </array>
+ <key>Project</key>
+ <dict>
+ <key>Configurations</key>
+ <dict>
+ <key>Debug</key>
+ <dict/>
+ <key>Release</key>
+ <dict/>
+ </dict>
+ <key>SDK</key>
+ <string>iphoneos</string>
+ <key>SharedSettings</key>
+ <dict>
+ <key>ARCHS</key>
+ <string>$(ARCHS_STANDARD_32_BIT)</string>
+ <key>CODE_SIGN_IDENTITY[sdk=iphoneos*]</key>
+ <string>iPhone Developer</string>
+ <key>GCC_VERSION</key>
+ <string>com.apple.compilers.llvmgcc42</string>
+ <key>IPHONEOS_DEPLOYMENT_TARGET</key>
+ <string>3.1</string>
+ </dict>
+ </dict>
+ <key>Targets</key>
+ <array>
+ <dict>
+ <key>BuildPhases</key>
+ <array>
+ <dict>
+ <key>Class</key>
+ <string>Sources</string>
+ </dict>
+ <dict>
+ <key>Class</key>
+ <string>Frameworks</string>
+ </dict>
+ <dict>
+ <key>Class</key>
+ <string>ShellScript</string>
+ <key>ShellPath</key>
+ <string>/bin/bash</string>
+ <key>ShellScript</key>
+ <string>
if [ ! -d &quot;$PROJECT_DIR/www&quot; ] ; then
cp -R /Users/Shared/PhoneGap/Frameworks/PhoneGap.framework/www &quot;$PROJECT_DIR&quot;
fi
@@ -319,62 +291,63 @@
grep &quot;{isa = PBXFileReference; lastKnownFileType = folder; path = www; sourceTree = \&quot;&lt;group&gt;\&quot;; };&quot; &quot;$PROJECT_DIR/$PROJECT_NAME.xcodeproj/project.pbxproj&quot;
rc=$?
if [ $rc != 0 ] ; then
- echo -e &quot;warning: Missing - Add $PROJECT_DIR/www as a folder reference in your project. Just drag and drop the folder into your project, in Xcode 4.&quot; 1>&amp;2
+ echo -e &quot;warning: Missing - Add $PROJECT_DIR/www as a folder reference in your project. Just drag and drop the folder into your project, in Xcode 4.&quot; 1&gt;&amp;2
fi </string>
- </dict>
- </array>
- <key>Configurations</key> <!-- Target Configuration -->
- <dict>
- <key>Debug</key>
- <dict>
- <key>COPY_PHASE_STRIP</key>
- <string>NO</string>
- <key>GCC_DYNAMIC_NO_PIC</key>
- <string>NO</string>
- </dict>
- <key>Release</key>
- <dict>
- <key>COPY_PHASE_STRIP</key>
- <string>YES</string>
- <key>DEBUG_INFORMATION_FORMAT</key>
- <string>dwarf-with-dsym</string>
- <key>VALIDATE_PRODUCT</key>
- <string>YES</string>
- </dict>
- </dict>
- <key>Frameworks</key>
- <array>
- <string>Foundation</string> <!-- Add to Project Foundation Frameworks and Link With Binary -->
- <string>UIKit</string>
- <string>CoreGraphics</string>
- <string>AddressBook</string>
- <string>AddressBookUI</string>
- <string>AudioToolbox</string>
- <string>AVFoundation</string>
- <string>CoreLocation</string>
- <string>MediaPlayer</string>
- <string>QuartzCore</string>
- <string>SystemConfiguration</string>
- <string>MobileCoreServices</string>
- <string>CoreMedia</string>
- </array>
- <key>Name</key>
- <string>___PACKAGENAME___</string> <!-- Package Name. -->
- <key>OtherFrameworks</key> <!-- Other Frameworks: Add to Project AppKit, CoreData, Cocoa Frameworks, but don't Link with Binary. -->
- <array />
- <key>SharedSettings</key> <!-- Set Settings for Target. -->
- <dict>
- <key>GCC_PREPROCESSOR_DEFINITIONS</key>
- <string>PHONEGAP_FRAMEWORK=YES</string>
- <key>ALWAYS_SEARCH_USER_PATHS</key>
- <string>YES</string>
- <key>FRAMEWORK_SEARCH_PATHS</key>
- <string>/Users/Shared/PhoneGap/Frameworks</string>
- <key>PRODUCT_NAME</key>
- <string>$(TARGET_NAME)</string>
- </dict>
- </dict>
- </array>
-
+ </dict>
+ </array>
+ <key>Configurations</key>
+ <dict>
+ <key>Debug</key>
+ <dict>
+ <key>COPY_PHASE_STRIP</key>
+ <string>NO</string>
+ <key>GCC_DYNAMIC_NO_PIC</key>
+ <string>NO</string>
+ </dict>
+ <key>Release</key>
+ <dict>
+ <key>COPY_PHASE_STRIP</key>
+ <string>YES</string>
+ <key>DEBUG_INFORMATION_FORMAT</key>
+ <string>dwarf-with-dsym</string>
+ <key>VALIDATE_PRODUCT</key>
+ <string>YES</string>
+ </dict>
+ </dict>
+ <key>Frameworks</key>
+ <array>
+ <string>Foundation</string>
+ <string>UIKit</string>
+ <string>CoreGraphics</string>
+ <string>AddressBook</string>
+ <string>AddressBookUI</string>
+ <string>AudioToolbox</string>
+ <string>AVFoundation</string>
+ <string>CoreLocation</string>
+ <string>MediaPlayer</string>
+ <string>QuartzCore</string>
+ <string>SystemConfiguration</string>
+ <string>MobileCoreServices</string>
+ <string>CoreMedia</string>
+ </array>
+ <key>Name</key>
+ <string>___PACKAGENAME___</string>
+ <key>OtherFrameworks</key>
+ <array/>
+ <key>ProductType</key>
+ <string>com.apple.product-type.application</string>
+ <key>SharedSettings</key>
+ <dict>
+ <key>ALWAYS_SEARCH_USER_PATHS</key>
+ <string>YES</string>
+ <key>FRAMEWORK_SEARCH_PATHS</key>
+ <string>/Users/Shared/PhoneGap/Frameworks</string>
+ <key>GCC_PREPROCESSOR_DEFINITIONS</key>
+ <string>PHONEGAP_FRAMEWORK=YES</string>
+ <key>PRODUCT_NAME</key>
+ <string>$(TARGET_NAME)</string>
+ </dict>
+ </dict>
+ </array>
</dict>
-</plist>
+</plist>
View
10 PhoneGap-based Application/Resources/en.lproj/Localizable.strings
@@ -0,0 +1,10 @@
+/*
+ * PhoneGap is available under *either* the terms of the modified BSD license *or* the
+ * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ *
+ * Copyright (c) 2011, IBM Corporation
+ */
+
+
+// accessibility label for recording button
+"toggle audio recording" = "toggle audio recording";
View
9 PhoneGap-based Application/Resources/es.lproj/Localizable.strings
@@ -0,0 +1,9 @@
+/*
+ * PhoneGap is available under *either* the terms of the modified BSD license *or* the
+ * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
+ *
+ * Copyright (c) 2011, IBM Corporation
+ */
+
+// accessibility label for recording button
+"toggle audio recording" = "grabación de audio cambiar";
View
47 PhoneGap-based Application/___PROJECTNAME___.xcodeproj/project.pbxproj
@@ -11,6 +11,8 @@
1D60589B0D05DD56006BFB54 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; };
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
+ 1F766FE113BBADB100FB74C0 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1F766FDC13BBADB100FB74C0 /* Localizable.strings */; };
+ 1F766FE213BBADB100FB74C0 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1F766FDF13BBADB100FB74C0 /* Localizable.strings */; };
288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765FC0DF74451002DB57D /* CoreGraphics.framework */; };
301BF552109A68D80062928A /* libPhoneGap.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 301BF535109A57CC0062928A /* libPhoneGap.a */; };
301BF570109A69640062928A /* www in Resources */ = {isa = PBXBuildFile; fileRef = 301BF56E109A69640062928A /* www */; };
@@ -69,6 +71,8 @@
1D3623250D0F684500981E51 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; };
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ 1F766FDD13BBADB100FB74C0 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = Localizable.strings; sourceTree = "<group>"; };
+ 1F766FE013BBADB100FB74C0 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = Localizable.strings; sourceTree = "<group>"; };
288765FC0DF74451002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
301BF52D109A57CC0062928A /* PhoneGapLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = PhoneGapLib.xcodeproj; sourceTree = PHONEGAPLIB; };
@@ -143,6 +147,24 @@
name = Products;
sourceTree = "<group>";
};
+ 1F766FDB13BBADB100FB74C0 /* en.lproj */ = {
+ isa = PBXGroup;
+ children = (
+ 1F766FDC13BBADB100FB74C0 /* Localizable.strings */,
+ );
+ name = en.lproj;
+ path = Resources/en.lproj;
+ sourceTree = "<group>";
+ };
+ 1F766FDE13BBADB100FB74C0 /* es.lproj */ = {
+ isa = PBXGroup;
+ children = (
+ 1F766FDF13BBADB100FB74C0 /* Localizable.strings */,
+ );
+ name = es.lproj;
+ path = Resources/es.lproj;
+ sourceTree = "<group>";
+ };
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
isa = PBXGroup;
children = (
@@ -170,6 +192,8 @@
29B97317FDCFA39411CA2CEA /* Resources */ = {
isa = PBXGroup;
children = (
+ 1F766FDB13BBADB100FB74C0 /* en.lproj */,
+ 1F766FDE13BBADB100FB74C0 /* es.lproj */,
3072F99613A8081B00425683 /* Capture.bundle */,
308D052D1370CCF300D202BF /* icons */,
308D05311370CCF300D202BF /* splash */,
@@ -279,6 +303,8 @@
Japanese,
French,
German,
+ en,
+ es,
);
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
projectDirPath = "";
@@ -330,6 +356,8 @@
308D053D1370CCF300D202BF /* Default@2x.png in Resources */,
3072F99713A8081B00425683 /* Capture.bundle in Resources */,
3025537B13B14AD20075412A /* Default~ipad.png in Resources */,
+ 1F766FE113BBADB100FB74C0 /* Localizable.strings in Resources */,
+ 1F766FE213BBADB100FB74C0 /* Localizable.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -386,6 +414,25 @@
};
/* End PBXTargetDependency section */
+/* Begin PBXVariantGroup section */
+ 1F766FDC13BBADB100FB74C0 /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 1F766FDD13BBADB100FB74C0 /* en */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+ 1F766FDF13BBADB100FB74C0 /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 1F766FE013BBADB100FB74C0 /* es */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
/* Begin XCBuildConfiguration section */
1D6058940D05DD3E006BFB54 /* Debug */ = {
isa = XCBuildConfiguration;
View
4 PhoneGapLib/Classes/Capture.m
@@ -627,7 +627,7 @@ - (void)loadView
self.recordButton.accessibilityTraits |= [self accessibilityTraits];
self.recordButton = [[UIButton alloc ] initWithFrame: CGRectMake((viewRect.size.width - recordImage.size.width)/2 , (microphone.size.height + (grayBkg.size.height - recordImage.size.height)/2), recordImage.size.width, recordImage.size.height)];
[self.recordButton setIsAccessibilityElement:YES];
- [self.recordButton setAccessibilityLabel: @"toggle recording start"];
+ [self.recordButton setAccessibilityLabel: NSLocalizedString(@"toggle audio recording", nil)];
[self.recordButton setImage: recordImage forState:UIControlStateNormal];
[self.recordButton addTarget: self action:@selector(processButton:) forControlEvents:UIControlEventTouchUpInside];
[tmp addSubview:recordButton];
@@ -707,7 +707,6 @@ - (void) processButton:(id)sender
} else {
// begin recording
[self.recordButton setImage: stopRecordImage forState:UIControlStateNormal];
- self.recordButton.accessibilityLabel = @"toggle recording";
self.recordButton.accessibilityTraits &= ~[self accessibilityTraits];
[self.recordingView setHidden:NO];
NSError* error = nil;
@@ -736,7 +735,6 @@ - (void) stopRecordingCleanup
{
[self.recordButton setImage: recordImage forState:UIControlStateNormal];
self.recordButton.accessibilityTraits |= [self accessibilityTraits];
- self.recordButton.accessibilityLabel = @"toggle recording"; // labels need to be internationalized!!
[self.recordingView setHidden:YES];
self.doneButton.enabled = YES;
}
Please sign in to comment.
Something went wrong with that request. Please try again.