Skip to content

Commit

Permalink
fix: replace shortened appcelerator.com URLs with long URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
cb1kenobi authored and sgtcoolguy committed Apr 9, 2021
1 parent 55910d8 commit d0caea0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions android/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -949,11 +949,11 @@ AndroidBuilder.prototype.validate = function validate(logger, config, cli) {
if (config.get('android.allowAppNameAmpersands', false)) {
logger.warn(__('The app name "%s" contains an ampersand (&) which will most likely cause problems.', cli.tiapp.name));
logger.warn(__('It is recommended that you define the app name using i18n strings.'));
logger.warn(__('Refer to %s for more information.', 'http://appcelerator.com/i18n-app-name'.cyan));
logger.warn(__('Refer to %s for more information.', 'https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Cross-Platform_Mobile_Development_In_Titanium/Internationalization.html'.cyan));
} else {
logger.error(__('The app name "%s" contains an ampersand (&) which will most likely cause problems.', cli.tiapp.name));
logger.error(__('It is recommended that you define the app name using i18n strings.'));
logger.error(__('Refer to %s for more information.', 'http://appcelerator.com/i18n-app-name'));
logger.error(__('Refer to %s for more information.', 'https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Cross-Platform_Mobile_Development_In_Titanium/Internationalization.html'));
logger.error(__('To allow ampersands in the app name, run:'));
logger.error(' %sti config android.allowAppNameAmpersands true\n', process.env.APPC_ENV ? 'appc ' : '');
process.exit(1);
Expand Down
4 changes: 2 additions & 2 deletions cli/lib/creator.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,11 @@ Creator.prototype.configOptionName = function configOptionName(order) {
if (config.get('android.allowAppNameAmpersands', false)) {
logger.warn(__('The project name contains an ampersand (&) which will most likely cause problems.'));
logger.warn(__('It is recommended that you change the app name in the tiapp.xml or define the app name using i18n strings.'));
logger.warn(__('Refer to %s for more information.', 'http://appcelerator.com/i18n-app-name'.cyan));
logger.warn(__('Refer to %s for more information.', 'https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Cross-Platform_Mobile_Development_In_Titanium/Internationalization.html'.cyan));
} else {
logger.error(__('The project name contains an ampersand (&) which will most likely cause problems.'));
logger.error(__('It is recommended that you change the app name in the tiapp.xml or define the app name using i18n strings.'));
logger.error(__('Refer to %s for more information.', 'http://appcelerator.com/i18n-app-name'));
logger.error(__('Refer to %s for more information.', 'https://titaniumsdk.com/guide/Titanium_SDK/Titanium_SDK_How-tos/Cross-Platform_Mobile_Development_In_Titanium/Internationalization.html'));
logger.error(__('To allow ampersands in the app name, run:'));
logger.error(' %sti config android.allowAppNameAmpersands true\n', process.env.APPC_ENV ? 'appc ' : '');
return callback(true);
Expand Down
14 changes: 7 additions & 7 deletions iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -1091,13 +1091,13 @@ iOSBuilder.prototype.configOptionPPuuid = function configOptionPPuuid(order) {
logger.error(__('Unable to find any non-expired development provisioning profiles that match the app id "%s".', appId) + '\n');
}
logger.log(__('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.',
'http://appcelerator.com/ios-dev-certs'.cyan) + '\n');
'https://developer.apple.com/account/ios/certificate/certificateList.action?type=development'.cyan) + '\n');
process.exit(1);
}
} else {
logger.error(__('Unable to find any development provisioning profiles') + '\n');
logger.log(__('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.',
'http://appcelerator.com/ios-dev-certs'.cyan) + '\n');
'https://developer.apple.com/account/ios/certificate/certificateList.action?type=development'.cyan) + '\n');
process.exit(1);
}

Expand All @@ -1109,13 +1109,13 @@ iOSBuilder.prototype.configOptionPPuuid = function configOptionPPuuid(order) {
} else {
logger.error(__('Unable to find any non-expired App Store distribution provisioning profiles that match the app id "%s".', appId) + '\n');
logger.log(__('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.',
'http://appcelerator.com/ios-dist-certs'.cyan) + '\n');
'https://developer.apple.com/account/ios/certificate/certificateList.action?type=distribution'.cyan) + '\n');
process.exit(1);
}
} else {
logger.error(__('Unable to find any App Store distribution provisioning profiles'));
logger.log(__('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.',
'http://appcelerator.com/ios-dist-certs'.cyan) + '\n');
'https://developer.apple.com/account/ios/certificate/certificateList.action?type=distribution'.cyan) + '\n');
process.exit(1);
}

Expand All @@ -1136,13 +1136,13 @@ iOSBuilder.prototype.configOptionPPuuid = function configOptionPPuuid(order) {
if (!valid) {
logger.error(__('Unable to find any non-expired Ad Hoc or Enterprise Ad Hoc provisioning profiles that match the app id "%s".', appId) + '\n');
logger.log(__('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.',
'http://appcelerator.com/ios-dist-certs'.cyan) + '\n');
'https://developer.apple.com/account/ios/certificate/certificateList.action?type=distribution'.cyan) + '\n');
process.exit(1);
}
} else {
logger.error(__('Unable to find any Ad Hoc or Enterprise Ad Hoc provisioning profiles'));
logger.log(__('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.',
'http://appcelerator.com/ios-dist-certs'.cyan) + '\n');
'https://developer.apple.com/account/ios/certificate/certificateList.action?type=distribution'.cyan) + '\n');
process.exit(1);
}
}
Expand Down Expand Up @@ -1900,7 +1900,7 @@ iOSBuilder.prototype.validate = function validate(logger, config, cli) {
// make sure they have Apple's WWDR cert installed
if (!this.iosInfo.certs.wwdr) {
logger.error(__('WWDR Intermediate Certificate not found') + '\n');
logger.log(__('Download and install the certificate from %s', 'http://appcelerator.com/ios-wwdr'.cyan) + '\n');
logger.log(__('Download and install the certificate from %s', 'http://developer.apple.com/certificationauthority/AppleWWDRCA.cer'.cyan) + '\n');
process.exit(1);
}

Expand Down
12 changes: 6 additions & 6 deletions iphone/cli/lib/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,25 +79,25 @@ exports.detect = function (types, config, next) {
+ __('The maximum supported Xcode version by Titanium SDK %s is Xcode %s.', manifestJson.version, issue.maxSupportedVer);
break;
case 'IOS_NO_WWDR_CERT_FOUND':
issue.message += '\n' + __('Download and install the certificate from %s', '__http://appcelerator.com/ios-wwdr__');
issue.message += '\n' + __('Download and install the certificate from %s', '__http://developer.apple.com/certificationauthority/AppleWWDRCA.cer__');
break;
case 'IOS_NO_KEYCHAINS_FOUND':
issue.message += '\n' + __('Titanium will most likely not be able to detect any developer or App Store distribution certificates.');
break;
case 'IOS_NO_VALID_DEV_CERTS_FOUND':
issue.message += '\n' + __('You will need to log in to %s with your Apple Developer account, then create, download, and install a certificate.', '__http://appcelerator.com/ios-dev-certs__');
issue.message += '\n' + __('You will need to log in to %s with your Apple Developer account, then create, download, and install a certificate.', '__https://developer.apple.com/account/ios/certificate/certificateList.action?type=development__');
break;
case 'IOS_NO_VALID_DIST_CERTS_FOUND':
issue.message += '\n' + __('You will need to log in to %s with your Apple Developer account, then create, download, and install a certificate.', '__http://appcelerator.com/ios-dist-certs__');
issue.message += '\n' + __('You will need to log in to %s with your Apple Developer account, then create, download, and install a certificate.', '__https://developer.apple.com/account/ios/certificate/certificateList.action?type=distribution__');
break;
case 'IOS_NO_VALID_DEVELOPMENT_PROVISIONING_PROFILES':
issue.message += '\n' + __('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.', '__http://appcelerator.com/ios-dev-certs__');
issue.message += '\n' + __('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.', '__https://developer.apple.com/account/ios/certificate/certificateList.action?type=development__');
break;
case 'IOS_NO_VALID_ADHOC_PROVISIONING_PROFILES':
issue.message += '\n' + __('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.', '__http://appcelerator.com/ios-dist-certs__');
issue.message += '\n' + __('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.', '__https://developer.apple.com/account/ios/certificate/certificateList.action?type=distribution__');
break;
case 'IOS_NO_VALID_DISTRIBUTION_PROVISIONING_PROFILES':
issue.message += '\n' + __('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.', '__http://appcelerator.com/ios-dist-certs__');
issue.message += '\n' + __('You will need to log in to %s with your Apple Developer account, then create, download, and install a profile.', '__https://developer.apple.com/account/ios/certificate/certificateList.action?type=distribution__');
break;
}
});
Expand Down

0 comments on commit d0caea0

Please sign in to comment.