Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timob 11229 i18n support #3125

Merged
merged 1 commit into from
Oct 8, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions android/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

var ti = require('titanium-sdk'),
appc = require('node-appc'),
i18n = appc.i18n(__dirname),
__ = i18n.__,
__n = i18n.__n,
afs = appc.fs,
fs = require('fs'),
path = require('path'),
Expand Down
3 changes: 3 additions & 0 deletions android/cli/commands/_create.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*/

var appc = require('node-appc'),
i18n = appc.i18n(__dirname),
__ = i18n.__,
__n = i18n.__n,
afs = appc.fs,
path = require('path');

Expand Down
48 changes: 48 additions & 0 deletions android/cli/locales/en.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"Compiling \"%s\" build": "Compiling \"%s\" build",
"The port must be a valid integer between 1 and 65535.": "The port must be a valid integer between 1 and 65535.",
"Invalid debug host \"%s\"": "Invalid debug host \"%s\"",
"The debug host must be in the format \"host:port\".": "The debug host must be in the format \"host:port\".",
"Invalid required option \"--output-dir\", option is not a directory.": "Invalid required option \"--output-dir\", option is not a directory.",
"Invalid required option \"--output-dir\"": "Invalid required option \"--output-dir\"",
"Invalid required option \"--password\"": "Invalid required option \"--password\"",
"Invalid required option \"--keystore\"": "Invalid required option \"--keystore\"",
"Invalid required option \"--alias\"": "Invalid required option \"--alias\"",
"Invalid java keyword used in project app id: %s": "Invalid java keyword used in project app id: %s",
"JDK version %s detected, but at least %s is required": "JDK version %s detected, but at least %s is required",
"\"Missing Java SDK. Please make sure Java SDK is on your PATH": "\"Missing Java SDK. Please make sure Java SDK is on your PATH",
"Invalid deploy type \"%s\"": "Invalid deploy type \"%s\"",
"Invalid Android SDK installation: unable to find adb": "Invalid Android SDK installation: unable to find adb",
"Invalid Android SDK path": "Invalid Android SDK path",
"Invalid target \"%s\"": "Invalid target \"%s\"",
"Please download SDK targets via Android SDK Manager and try again. (version %s or newer)": "Please download SDK targets via Android SDK Manager and try again. (version %s or newer)",
"Unable to detect Android SDK targets.": "Unable to detect Android SDK targets.",
"the target to build for": "the target to build for",
"Invalid keystore password": "Invalid keystore password",
"Keystore password": "Keystore password",
"the password for the keystore": "the password for the keystore",
"Invalid output directory": "Invalid output directory",
"Output directory": "Output directory",
"the output directory when using %s": "the output directory when using %s",
"Invalid keystore location": "Invalid keystore location",
"Invalid keystore": "Invalid keystore",
"Keystore Location": "Keystore Location",
"the location of the keystore": "the location of the keystore",
"type": "type",
"the type of deployment; only used with target is %s or %s": "the type of deployment; only used with target is %s or %s",
"debug connection info": "debug connection info",
"skin": "skin",
"the skin for the avd": "the skin for the avd",
"name": "name",
"the name for the avd": "the name for the avd",
"id": "id",
"the id for the avd": "the id for the avd",
"the abi for the avd": "the abi for the avd",
"Android SDK path": "Android SDK path",
"path": "path",
"the path to the Android SDK": "the path to the Android SDK",
"Invalid keystore alias": "Invalid keystore alias",
"Keystore alias": "Keystore alias",
"the alias for the keystore": "the alias for the keystore",
"Processing %s": "Processing %s"
}
3 changes: 3 additions & 0 deletions iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ var ti = require('titanium-sdk'),
DOMParser = require('xmldom').DOMParser,
uuid = require('node-uuid'),
appc = require('node-appc'),
i18n = appc.i18n(__dirname),
__ = i18n.__,
__n = i18n.__n,
afs = appc.fs,
ios = appc.ios,
version = appc.version,
Expand Down
3 changes: 3 additions & 0 deletions iphone/cli/hooks/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*/

var appc = require('node-appc'),
i18n = appc.i18n(__dirname),
__ = i18n.__,
__n = i18n.__n,
afs = appc.fs,
path = require('path'),
async = require('async'),
Expand Down
3 changes: 3 additions & 0 deletions iphone/cli/hooks/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*/

var appc = require('node-appc'),
i18n = appc.i18n(__dirname),
__ = i18n.__,
__n = i18n.__n,
afs = appc.fs,
fs = require('fs'),
path = require('path'),
Expand Down
3 changes: 3 additions & 0 deletions iphone/cli/hooks/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
*/

var appc = require('node-appc'),
i18n = appc.i18n(__dirname),
__ = i18n.__,
__n = i18n.__n,
afs = appc.fs,
fs = require('fs'),
path = require('path'),
Expand Down
167 changes: 167 additions & 0 deletions iphone/cli/locales/en.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
{
"Titanium symbol file already up-to-date: %s": "Titanium symbol file already up-to-date: %s",
"Writing Titanium symbol file: %s": "Writing Titanium symbol file: %s",
"Unable to find iphoneos-optimize, skipping image optimization": "Unable to find iphoneos-optimize, skipping image optimization",
"Removing empty directories": "Removing empty directories",
"Optimizing all images in %s": "Optimizing all images in %s",
"Application routing source file already up-to-date: %s": "Application routing source file already up-to-date: %s",
"Writing application routing source file: %s": "Writing application routing source file: %s",
"Application routing header already up-to-date: %s": "Application routing header already up-to-date: %s",
"Writing application routing header: %s": "Writing application routing header: %s",
"Failed during titanium_prep": "Failed during titanium_prep",
"Preparing %s": "Preparing %s",
"Running titanium_prep: %s": "Running titanium_prep: %s",
"Removing %s": "Removing %s",
"Processing module images": "Processing module images",
"Removing %s from production build": "Removing %s from production build",
"Writing JavaScript file: %s": "Writing JavaScript file: %s",
"Finding Titanium symbols in file %s": "Finding Titanium symbols in file %s",
"Writing minified CSS file: %s": "Writing minified CSS file: %s",
"Ignoring %s": "Ignoring %s",
"Creating symlinks for simulator build": "Creating symlinks for simulator build",
"Symlinking %s => %s": "Symlinking %s => %s",
"Walking directory %s": "Walking directory %s",
"Module xccconfig file already up-to-date: %s": "Module xccconfig file already up-to-date: %s",
"Writing module xcconfig file: %s": "Writing module xcconfig file: %s",
"Application modules source file already up-to-date: %s": "Application modules source file already up-to-date: %s",
"Writing application modules source file: %s": "Writing application modules source file: %s",
"Writing %s": "Writing %s",
"Injecting native libraries into Xcode project file": "Injecting native libraries into Xcode project file",
"Copying iTunes artwork": "Copying iTunes artwork",
"No CommonJS modules to copy": "No CommonJS modules to copy",
"Copying CommonJS modules": "Copying CommonJS modules",
"No module resources to copy": "No module resources to copy",
"Copying module resources": "Copying module resources",
"Writing properties to %s": "Writing properties to %s",
"Detected custom font: %s": "Detected custom font: %s",
"Detected third-party native iOS module: %s version %s": "Detected third-party native iOS module: %s version %s",
"Module %s version %s is missing library file: %s": "Module %s version %s is missing library file: %s",
"Found incompatible Titanium Modules:": "Found incompatible Titanium Modules:",
"Could not find all required Titanium Modules:": "Could not find all required Titanium Modules:",
"No Titanium Modules required, continuing": "No Titanium Modules required, continuing",
"Now: %s": "Now: %s",
"Was: %s": "Was: %s",
"Forcing rebuild: modules hash changed since last build": "Forcing rebuild: modules hash changed since last build",
"Forcing rebuild: githash changed since last build": "Forcing rebuild: githash changed since last build",
"Forcing rebuild: Titanium SDK path changed since last build": "Forcing rebuild: Titanium SDK path changed since last build",
"Forcing rebuild: libTiCore hash changed since last build": "Forcing rebuild: libTiCore hash changed since last build",
"Forcing rebuild: incomplete version file %s": "Forcing rebuild: incomplete version file %s",
"Forcing rebuild: %s does not exist": "Forcing rebuild: %s does not exist",
"Forcing rebuild: app id changed from %s to %s": "Forcing rebuild: app id changed from %s to %s",
"Forcing rebuild: last build was under Titanium SDK version %s and we're compiling for version %s": "Forcing rebuild: last build was under Titanium SDK version %s and we're compiling for version %s",
"Forcing rebuild: %s flag was set": "Forcing rebuild: %s flag was set",
"Writing Xcode module configuration: %s": "Writing Xcode module configuration: %s",
"Writing Xcode project configuration: %s": "Writing Xcode project configuration: %s",
"Writing Xcode project data file: %s": "Writing Xcode project data file: %s",
"Creating Xcode project directory: %s": "Creating Xcode project directory: %s",
"Copying Xcode iOS files": "Copying Xcode iOS files",
"Processing %s": "Processing %s",
"Found custom entitlements: %s": "Found custom entitlements: %s",
"Building Info.plist": "Building Info.plist",
"Copying %s => %s": "Copying %s => %s",
"Copying Info.plist": "Copying Info.plist",
"Finished building the application in %s": "Finished building the application in %s",
"Performing full rebuild": "Performing full rebuild",
"Cleaning old build directory": "Cleaning old build directory",
"Building for the following architectures: %s": "Building for the following architectures: %s",
"Performing Xcode pre-compile phase": "Performing Xcode pre-compile phase",
"Setting non-production device build version to %s": "Setting non-production device build version to %s",
"Debugging disabled": "Debugging disabled",
"Debugging enabled via debug host: %s": "Debugging enabled via debug host: %s",
"Using keychain: %s": "Using keychain: %s",
"Minimum iOS version: %s": "Minimum iOS version: %s",
"The %s of the iOS section in the tiapp.xml is greater than the specified %s: Using %s as minimum": "The %s of the iOS section in the tiapp.xml is greater than the specified %s: Using %s as minimum",
"The %s of the iOS section in the tiapp.xml is lower than minimum supported version: Using %s as minimum": "The %s of the iOS section in the tiapp.xml is lower than minimum supported version: Using %s as minimum",
"Building for iOS %s; using %s as minimum iOS version": "Building for iOS %s; using %s as minimum iOS version",
"iOS Distribution Certificate: %s": "iOS Distribution Certificate: %s",
"iOS Development Certificate: %s": "iOS Development Certificate: %s",
"iOS WWDR certificate: %s": "iOS WWDR certificate: %s",
"not found": "not found",
"installed": "installed",
"Xcode installation: %s": "Xcode installation: %s",
"Setting Xcode build OS to %s": "Setting Xcode build OS to %s",
"Setting Xcode target to %s": "Setting Xcode target to %s",
"Building for device family: %s": "Building for device family: %s",
"Building for iOS Simulator: %s": "Building for iOS Simulator: %s",
"Building using iOS SDK: %s": "Building using iOS SDK: %s",
"Building for target: %s": "Building for target: %s",
"Titanium iOS SDK directory: %s": "Titanium iOS SDK directory: %s",
"Build type: %s": "Build type: %s",
"The port must be a valid integer between 1 and 65535.": "The port must be a valid integer between 1 and 65535.",
"Invalid debug host \"%s\"": "Invalid debug host \"%s\"",
"The debug host must be in the format \"host:port:airkey\".": "The debug host must be in the format \"host:port:airkey\".",
"The debug host must be in the format \"host:port\".": "The debug host must be in the format \"host:port\".",
"Invalid device family \"%s\"": "Invalid device family \"%s\"",
"Invalid required option \"--output-dir\", option is not a directory.": "Invalid required option \"--output-dir\", option is not a directory.",
"Invalid required option \"--output-dir\"": "Invalid required option \"--output-dir\"",
"Available keychains:": "Available keychains:",
"Unable to find keychain \"%s\"": "Unable to find keychain \"%s\"",
"Available Provisioning Profile UUIDs:": "Available Provisioning Profile UUIDs:",
"Invalid Provisioning Profile UUID \"%s\"": "Invalid Provisioning Profile UUID \"%s\"",
"Missing required option \"--pp-uuid\"": "Missing required option \"--pp-uuid\"",
"Available distribution names:": "Available distribution names:",
"Unable to find an iOS Distribution Certificate for name \"%s\"": "Unable to find an iOS Distribution Certificate for name \"%s\"",
"Download and install a certificate from %s": "Download and install a certificate from %s",
"Unable to find any iOS Distribution Certificates": "Unable to find any iOS Distribution Certificates",
"Available developer names:": "Available developer names:",
"Unable to find an iOS Developer Certificate for \"%s\"": "Unable to find an iOS Developer Certificate for \"%s\"",
"Unable to find any iOS Developer Certificates": "Unable to find any iOS Developer Certificates",
"Download and install the certificate from %s": "Download and install the certificate from %s",
"WWDR Intermediate Certificate not found": "WWDR Intermediate Certificate not found",
"Available iOS Simulator versions for iOS SDK %s:": "Available iOS Simulator versions for iOS SDK %s:",
"Unable to find iOS Simulator %s": "Unable to find iOS Simulator %s",
"Invalid target \"%s\"": "Invalid target \"%s\"",
"Available iOS SDK versions:": "Available iOS SDK versions:",
"Unable to find iOS SDK %s": "Unable to find iOS SDK %s",
"Please download and install an iOS SDK (version %s or newer)": "Please download and install an iOS SDK (version %s or newer)",
"Unable to find any iOS SDKs": "Unable to find any iOS SDKs",
"Use 'xcode-select' to select one of the Xcode versions:": "Use 'xcode-select' to select one of the Xcode versions:",
"No Xcode version is currently selected": "No Xcode version is currently selected",
"Please download and install Xcode, then try again": "Please download and install Xcode, then try again",
"Unable to find Xcode": "Unable to find Xcode",
"the target to build for": "the target to build for",
"iOS Simulator version; only used when target is %s": "iOS Simulator version; only used when target is %s",
"Unable to find a Provisioning Profile UUID \"%s\"": "Unable to find a Provisioning Profile UUID \"%s\"",
"Available UUIDs:": "Available UUIDs:",
"Invalid provisioning profile UUID": "Invalid provisioning profile UUID",
"Provisioning profile UUID": "Provisioning profile UUID",
"the provisioning profile uuid; required when target is %s, %s, or %s": "the provisioning profile uuid; required when target is %s, %s, or %s",
"Invalid output directory": "Invalid output directory",
"Output directory": "Output directory",
"the output directory when using %s": "the output directory when using %s",
"path to the distribution keychain to use instead of the system default; only used when target is %s, %s, or %s": "path to the distribution keychain to use instead of the system default; only used when target is %s, %s, or %s",
"iOS SDK version to build for": "iOS SDK version to build for",
"the device family to build for": "the device family to build for",
"Available names: %s": "Available names: %s",
"Unable to find an iOS Distribution Certificate for \"%s\"": "Unable to find an iOS Distribution Certificate for \"%s\"",
"Invalid distribution name": "Invalid distribution name",
"Name of the iOS Distribution Certificate to use": "Name of the iOS Distribution Certificate to use",
"the iOS Distribution Certificate to use; required when target is %s or %s": "the iOS Distribution Certificate to use; required when target is %s or %s",
"Invalid developer name": "Invalid developer name",
"Name of the iOS Developer Certificate to use": "Name of the iOS Developer Certificate to use",
"the iOS Developer Certificate to use; required when target is %s": "the iOS Developer Certificate to use; required when target is %s",
"type": "type",
"the type of deployment; only used with target is %s": "the type of deployment; only used with target is %s",
"debug connection info; airkey and hosts required for %s and %s, ignored for %s": "debug connection info; airkey and hosts required for %s and %s, ignored for %s",
"use the retina version of the iOS Simulator": "use the retina version of the iOS Simulator",
"Failed to initiate iTunes sync": "Failed to initiate iTunes sync",
"Initiating iTunes sync": "Initiating iTunes sync",
"Failed to launch iTunes": "Failed to launch iTunes",
"Launching iTunes": "Launching iTunes",
"Unable to locate iOS Package Application tool": "Unable to locate iOS Package Application tool",
"An error occurred running the iOS Package Application tool": "An error occurred running the iOS Package Application tool",
"Package location: %s": "Package location: %s",
"Packaging complete": "Packaging complete",
"Failed to package application": "Failed to package application",
"Launching Xcode: %s": "Launching Xcode: %s",
"Archiving debug symbols to %s": "Archiving debug symbols to %s",
"Archiving app bundle to %s": "Archiving app bundle to %s",
"Application has exited from iOS Simulator": "Application has exited from iOS Simulator",
"An error occurred running the iOS Simulator": "An error occurred running the iOS Simulator",
"Simulator command: %s": "Simulator command: %s",
"Launching application in iOS Simulator": "Launching application in iOS Simulator",
"Removing old log file: %s": "Removing old log file: %s",
"Terminating all iOS simulators": "Terminating all iOS simulators",
"Running application in iOS Simulator": "Running application in iOS Simulator",
"Performed build only, skipping running of the application": "Performed build only, skipping running of the application"
}
3 changes: 3 additions & 0 deletions mobileweb/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@

var ti = require('titanium-sdk'),
appc = require('node-appc'),
i18n = appc.i18n(__dirname),
__ = i18n.__,
__n = i18n.__n,
cleanCSS = require('clean-css'),
afs = appc.fs,
xml = appc.xml,
Expand Down