From f79a451249afae7da9887ff92f0d9d1d70c92dd4 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 15 Apr 2009 20:36:10 +0000 Subject: This is getting nuts, I need an internal branch. --- Cydia.app/English.lproj/Localizable.strings | 190 +++++ Cydia.app/confirm.html | 13 +- Cydia.app/confirm.js | 16 +- Cydia.app/error.html | 6 +- Cydia.app/localize.js | 15 + Cydia.app/manage.html | 16 +- Cydia.app/menes/menes.js | 9 + Cydia.app/menes/style.css | 16 +- Cydia.app/package.html | 46 +- Cydia.app/package.js | 96 ++- Cydia.app/storage.html | 3 +- Cydia.mm | 1096 ++++++++++++++++++--------- control | 7 +- launch.xml | 2 + make.sh | 2 +- makefile | 4 +- 16 files changed, 1104 insertions(+), 433 deletions(-) create mode 100644 Cydia.app/English.lproj/Localizable.strings create mode 100644 Cydia.app/localize.js diff --git a/Cydia.app/English.lproj/Localizable.strings b/Cydia.app/English.lproj/Localizable.strings new file mode 100644 index 0000000..e83bf86 --- /dev/null +++ b/Cydia.app/English.lproj/Localizable.strings @@ -0,0 +1,190 @@ +"ABOUT" = "About"; +"ABOUT_CYDIA" = "About Cydia Installer"; +"ACCEPT_NEW_COPY" = "Accept The New Copy"; +"ADD" = "Add"; +"ADD_ANYWAY" = "Add Anyway"; +"ADD_SOURCE" = "Add Source"; +"ADMINISTRATIVE_INFORMATION" = "Administrative Information"; +"ADVANCED_SEARCH" = "Advanced Search"; +"ALL_PACKAGES" = "All Packages"; +"APPLE" = "Apple"; +"AUTHOR" = "Author"; +"AVAILABLE_UPGRADES" = "Available Upgrades"; +"BROWSER" = "Browser"; +"CANCEL" = "Cancel"; +"CANCEL_CLEAR" = "Cancel and Clear"; +"CANCEL_OPERATION" = "Cancel Operation"; +"CANNOT_COMPLY" = "Cannot Comply"; +"CANNOT_COMPLY_EX" = "The requested modifications cannot be applied due to required dependencies or conflicts that cannot be automatically found or fixed."; +"CANNOT_LOCATE_PACKAGE" = "Cannot Locate Package"; +"CHANGE_PACKAGE_SETTINGS" = "Change Package Settings"; +"CHANGES" = "Changes"; +"CLEAR" = "Clear"; +"CLOSE" = "Close"; +"CLOSE_CYDIA" = "Close Cydia (Restart)"; +"COLON_DELIMITED" = "%@: %@"; +"COMMA_DELIMITED" = "%@, %@"; +"COMING_SOON" = "Coming Soon!"; +"COMPLETE" = "Complete"; +"COMPLETE_UPGRADE" = "Complete Upgrade"; +"CONFIGURATION_UPGRADE" = "Configuration Upgrade"; +"CONFIGURATION_UPGRADE_EX" = "The following file has been changed by both the package maintainer and by you (or for you by a script)."; +"COMMERCIAL_APPLICATIONS" = "Commercial Applications"; +"CONFIRM" = "Confirm"; +"CONSOLE_PACKAGE" = "This is a console package!"; +"CONSOLE_UTILITIES_DAEMONS" = "Console Utilities & Daemons"; +"CONTINUE_QUEUING" = "Continue Queuing"; +"CREDITS" = "Credits"; +"CYDIA_STORE" = "Cydia Store"; +"DETAILS" = "Details"; +"DEVELOPER" = "Developer"; +"DEVELOPER_EX" = "No Filters"; +"DEVELOPER_MAILING_LISTS" = "Developer Mailing Lists"; +"DEVELOPERS_ONLY" = "Developers Only"; +"DISK_FREEING" = "Disk Freeing"; +"DISK_USING" = "Disk Using"; +"DONATE_USING" = "Donate using %@"; +"DONE" = "Done"; +"DOWNGRADE" = "Downgrade"; +"DOWNLOADING" = "Downloading"; +"EDIT" = "Edit"; +"ENTER_APT_URL" = "Enter Cydia/APT URL"; +"ENTERED_BY_USER" = "Entered by User"; +"ERROR" = "Error"; +"ERROR_MESSAGE" = "Error: %@"; +"ESSENTIAL_UPGRADE" = "Essential Upgrade"; +"ESSENTIAL_UPGRADES" = "%d Essential Upgrades"; +"ESSENTIAL_UPGRADE_EX" = "One or more essential packages are currently out of date. If these upgrades are not performed you are likely to encounter errors."; +"EXPANDED_SIZE" = "Expanded Size"; +"EXPERT" = "Expert"; +"FEATURED_PACKAGES" = "Featured Packages"; +"FAQ" = "FAQ"; +"FILES" = "Files"; +"FILES_INSTALLED_TO" = "files installed to %@"; +"FILESYSTEM_CONTENT" = "Filesystem Content"; +"FOLLOW_ON_TWITTER" = "Follow %@ on Twitter"; +"FORCE_REMOVAL" = "Force Removal"; +"FORCIBLY_CLEAR" = "Forcibly Clear"; +"FREE_APPLICATIONS" = "Free Applications"; +"FREE_EXTENSIONS" = "Free Extensions"; +"FREQUENTLY_ASKED_QUESTIONS" = "Frequently Asked Questions"; +"FROM" = "from %@"; +"FROWNY_PANTS" = "Frowny Pants"; +"FUTURE_FEATURE_ROADMAP" = "Future Feature Roadmap"; +"HACKER" = "Hacker"; +"HACKER_EX" = "+ Command Line"; +"HALFINSTALLED_PACKAGE" = "Half-Installed Package"; +"HALFINSTALLED_PACKAGES" = "%d Half-Installed Packages"; +"HALFINSTALLED_PACKAGE_EX" = "When the shell scripts associated with packages fail, they are left in a bad state known as either half-configured or half-installed. These errors don't go away and instead continue to cause issues. These scripts can be deleted and the packages forcibly removed."; +"HOME" = "Home"; +"ID" = "ID"; +"IGNORE_UPGRADES" = "Ignore Upgrades"; +"IGNORED_UPGRADES" = "Ignored Upgrades"; +"ILLEGAL_PACKAGE_IDENTIFIER" = "Illegal Package Identifier"; +"INSTALL" = "Install"; +"INSTALL_BY_SECTION" = "Install by Section"; +"INSTALLED" = "Installed"; +"INSTALLED_BY_PACKAGE" = "Installed by Package"; +"INSTALLED_DETAILS" = "Installed Package"; +"INSTALLED_FILES" = "Installed Files"; +"KEEP_OLD_COPY" = "Keep My Old Copy"; +"LOADING" = "Loading"; +"LOADING_DATA" = "Loading Data"; +"LOCAL" = "Local"; +"LOGIN" = "Login"; +"MAINTAINER" = "Contact"; +"MANAGE" = "Manage"; +"MODIFY" = "Modify"; +"MORE_INFORMATION" = "More Information"; +"NAME" = "Name"; +"NETWORK_ERROR" = "Network Error"; +"NEVER_OR_UNKNOWN" = "Never or Unknown"; +"NEW_AT" = "New at %@"; +"NEW_INSTALL" = "New Install"; +"NO_SECTION" = "(No Section)"; +"NOT_RATED" = "Not Rated"; +"NODE" = "Note"; +"NOT_REPOSITORY" = "Did not Find Repository"; +"NOT_REPOSITORY_EX" = "The indicated repository could not be found. This could be because you are trying to add a legacy Installer repository (these are not supported). Also, this interface is only capable of working with exact repository URLs. If you host a repository and are having issues please contact the author of Cydia with any questions you have."; +"OK" = "OK"; +"OKAY" = "Okay"; +"PACKAGE_CANNOT_BE_FOUND" = "The package %@ cannot be found in your current sources. I might recommend installing more sources."; +"PACKAGE_DAMAGED" = "Package Damaged"; +"PACKAGE_DETAILS" = "Package Details"; +"PACKAGE_QUEUE" = "Package Queue"; +"PACKAGES" = "Packages"; +"PACKAGES_EX" = "View or remove packages you previously installed."; +"PARENTHETICAL" = "%@ (%@)"; +"PASSWORD" = "password"; +"PURGE" = "Purge"; +"Q_D" = "Q'd"; +"QUEUED_FOR" = "Queued for %@"; +"REBOOT_DEVICE" = "Reboot Device"; +"RECENT_CHANGES_UPDATES" = "Recent Changes/Updates"; +"RECOMMENDED_BOOKS" = "Recommended Books"; +"REFRESH" = "Refresh"; +"REINSTALL" = "Reinstall"; +"RELOAD" = "Reload"; +"RELOAD_SPRINGBOARD" = "Reload SpringBoard"; +"RELOADING_DATA" = "Reloading Data"; +"REMOVE" = "Remove"; +"REMOVING_ESSENTIALS" = "Removing Essentials"; +"REMOVING_ESSENTIALS_EX" = "This operation involves the removal of one or more packages that are required for the continued operation of either Cydia or iPhoneOS. If you continue, you may not be able to use Cydia to repair any damage."; +"REPAIRING" = "Repairing"; +"REPOSITORY_SIGNATURE" = "View Repository Signature"; +"REQUEST_ADVERTISING_SPACE" = "Request Advertising Space"; +"REQUIREMENTS_FOR_LISTING" = "Requirements for Listing"; +"RESTART_SPRINGBOARD" = "Restart SpringBoard"; +"RESUBMIT_FORM" = "Are you sure you want to submit this form again?"; +"RESUMING_AT" = "Resuming At"; +"RETURN_TO_CYDIA" = "Return to Cydia"; +"ROLE_EX" = "Not all of the packages available via Cydia are designed to be used by all users. Please categorize yourself so that Cydia can apply helpful filters.\n\nThis choice can be changed from \"Settings\" under the \"Manage\" tab."; +"RUNNING" = "Running"; +"SAFE" = "Safe"; +"SAMPLE" = "Sample"; +"SCREENSHOT" = "Screenshot"; +"SCREENSHOTS" = "Screenshots"; +"SEARCH" = "Search"; +"SEARCH_EX" = "Package Names & Descriptions"; +"SECTION" = "Section"; +"SECTION_VISIBILITY" = "Section Visibility"; +"SECTIONS" = "Sections"; +"SEE_WHAT_CHANGED" = "See What Changed"; +"SETTINGS" = "Settings"; +"SHOW_ALL_CHANGES" = "Show All Changes"; +"SHOW_ALL_CHANGES_EX" = "Changes only shows upgrades to installed packages so as to minimize spam from packagers. Activate this to see upgrades to this package even when it is not installed."; +"SIGNED_PACKAGE" = "This package has been signed."; +"SIMPLE" = "Simple"; +"SLASH_DELIMITED" = "%@ / %@"; +"SOURCE_DETAILS" = "Source Information"; +"SOURCE_WARNING" = "Source Warning"; +"SOURCES" = "Sources"; +"SOURCES_EX" = "List current sources and add custom ones you may know."; +"SPONSOR" = "Sponsor"; +"SPONSORING_PRODUCTS" = "Sponsoring Products"; +"STATISTICS" = "Statistics"; +"STORAGE" = "Storage"; +"STORAGE_EX" = "See how much room you have left for new packages."; +"SUBMIT" = "Submit"; +"SUPPORT_KNOWN_ISSUES" = "Support & Known Issues"; +"TEMPORARY_IGNORE" = "Ignore (Temporary)"; +"THANK YOU" = "Thank You"; +"QUEUE" = "Queue"; +"UNABLE_TO_COMPLY" = "Unable to Comply"; +"UNABLE_TO_COMPLY_EX" = "This operation requires the removal of one or more packages that are required for the continued operation of either Cydia or iPhoneOS. In order to continue and force this operation you will need to be activate the Advanced mode under to continue and force this operation you will need to be activate the Advanced mode under Settings."; +"UNABLE_TO_LOAD" = "Unable to Load"; +"UNKNOWN" = "Unknown"; +"UNSAFE" = "Unsafe"; +"UPDATING_DATABASE" = "Updating Database"; +"UPDATING_SOURCES" = "Updating Sources"; +"UPGRADE" = "Upgrade"; +"UPGRADE_ESSENTIAL" = "Upgrade Essential"; +"USER" = "User"; +"USER_EX" = "Graphical Only"; +"USER_GUIDES" = "User Guides"; +"USERNAME" = "username"; +"VERIFICATION_ERROR" = "Verificatin Error"; +"VERIFYING_URL" = "Verifying URL"; +"VERSION" = "Version"; +"WELCOME_TO_CYDIA" = "Welcome to Cydiaâ„¢"; +"WHO_ARE_YOU" = "Who Are You?"; diff --git a/Cydia.app/confirm.html b/Cydia.app/confirm.html index 4d6566b..3f01c11 100644 --- a/Cydia.app/confirm.html +++ b/Cydia.app/confirm.html @@ -1,28 +1,29 @@ - Confirm + +
-

Note: The requested modifications cannot be applied due to required dependencies or conflicts that cannot be automatically found or fixed.

+

:

- +
- +
- +
@@ -32,7 +33,7 @@
- +
diff --git a/Cydia.app/confirm.js b/Cydia.app/confirm.js index 5322af6..bd78c2e 100644 --- a/Cydia.app/confirm.js +++ b/Cydia.app/confirm.js @@ -24,10 +24,10 @@ $(function () { size = size.substr(1); } - $("#disk-key").html(negative ? "Disk Freeing" : "Disk Using"); + $("#disk-key").html(cydia.localize(negative ? "DISK_FREEING" : "DISK_USING")); $("#disk-value").html($.xml(size)); } else for (var i = 0; i != issues.length; ++i) { - document.title = "Cannot Comply"; + document.title = cydia.localize("CANNOT_COMPLY"); $("._issues").remove(); @@ -51,11 +51,11 @@ $(function () { } var keys = [ - "Install", - "Reinstall", - "Upgrade", - "Downgrade", - "Remove" + "INSTALL", + "REINSTALL", + "UPGRADE", + "DOWNGRADE", + "REMOVE" ]; for (var i = 0; i != 5; ++i) { @@ -64,7 +64,7 @@ $(function () { if (length != 0) { $("#modifications").append("
" + - "" + + "" + "" + "
"); diff --git a/Cydia.app/error.html b/Cydia.app/error.html index 6a42a52..180fa5c 100644 --- a/Cydia.app/error.html +++ b/Cydia.app/error.html @@ -1,8 +1,10 @@ - Network Error + + +
-
Unable To Load
+
( +