diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-10-28 02:25:18 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-01 22:56:25 -0700 |
commit | e17a8c4f2ae16f8daab460936a9b130d024173dd (patch) | |
tree | 1544816ffb283219f2de45b0a8e99d6f7ebe24f6 /MobileCydia.app | |
parent | 6067f1b8116d8fb2502359f430b9d958e10807b9 (diff) |
Rename Cydia.* to MobileCydia.* and add Cydia.frappliance.
Diffstat (limited to 'MobileCydia.app')
141 files changed, 3899 insertions, 0 deletions
diff --git a/MobileCydia.app/Cydia b/MobileCydia.app/Cydia new file mode 100755 index 0000000..572af7b --- /dev/null +++ b/MobileCydia.app/Cydia @@ -0,0 +1,6 @@ +#!/bin/bash +C=/${0} +C=${C%/*} +declare -a flags +[[ :${DYLD_INSERT_LIBRARIES}: == */MobileSubstrate.dylib: ]] && flags[${#flags[@]}]=--substrate +exec "${C:-.}"/MobileCydia "${flags[@]}" -- "$@" 2>>/tmp/cydia.log diff --git a/MobileCydia.app/Default-Portrait.png b/MobileCydia.app/Default-Portrait.png Binary files differnew file mode 100644 index 0000000..c24b27e --- /dev/null +++ b/MobileCydia.app/Default-Portrait.png diff --git a/MobileCydia.app/Default.png b/MobileCydia.app/Default.png Binary files differnew file mode 100644 index 0000000..b85286b --- /dev/null +++ b/MobileCydia.app/Default.png diff --git a/MobileCydia.app/Default@2x.png b/MobileCydia.app/Default@2x.png Binary files differnew file mode 100644 index 0000000..abc651b --- /dev/null +++ b/MobileCydia.app/Default@2x.png diff --git a/MobileCydia.app/English.lproj/Localizable.strings b/MobileCydia.app/English.lproj/Localizable.strings new file mode 100644 index 0000000..80ff0be --- /dev/null +++ b/MobileCydia.app/English.lproj/Localizable.strings @@ -0,0 +1,210 @@ +"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"; +"BY" = "by %@"; +"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"; +"CLEAN_ARCHIVES" = "Clean Archives"; +"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"; +"COUNTS_NONZERO_EX" = "So, I just counted some important-looking values, and they didn't sum to zero. This is scary. I don't know why I don't like this anymore, but I think APT was adamant this should not occur."; +"CREDITS" = "Credits"; +"CYDIA_STORE" = "Cydia Store"; +"DATABASE" = "Database"; +"DETAILS" = "Details"; +"DEVELOPER" = "Developer"; +"DEVELOPER_EX" = "Everything, even scary internal stuff."; +"DEVELOPERS_ONLY" = "Developers Only"; +"DISK_FREEING" = "Disk Freeing"; +"DISK_USING" = "Disk Using"; +"DONATE_USING" = "Donate using %@"; +"DONE" = "Done"; +"DOUBLE_QUOTED" = "“%@”"; +"DOWNGRADE" = "Downgrade"; +"DOWNLOADING" = "Downloading"; +"DOWNLOADING_" = "Downloading %@"; +"EDIT" = "Edit"; +"ENTER_APT_URL" = "Enter Cydia/APT URL"; +"ENTERED_BY_USER" = "Entered by User"; +"ERROR" = "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."; +"EXCLAMATION" = "%@!"; +"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" = "Adds Command Line tools."; +"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"; +"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"; +"MAILING_LISTS" = "Mailing Lists"; +"MAINTAINER" = "Contact"; +"MANAGE" = "Manage"; +"MODIFICATIONS" = "Modifications"; +"MODIFY" = "Modify"; +"MORE_INFORMATION" = "More Information"; +"MORE_PACKAGE_SOURCES" = "More Package Sources"; +"NAME" = "Name"; +"NETWORK_ERROR" = "Network Error"; +"NEVER_OR_UNKNOWN" = "Never or Unknown"; +"NEW" = "New"; +"NEW_AT" = "New at %@"; +"NEW_INSTALL" = "New Install"; +"NO" = "No"; +"NO_SECTION" = "(No Section)"; +"NOT_RATED" = "Not Rated"; +"NOTE" = "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_CANNOT_BE_FOUND_EX" = "This issue may also be caused by a number of other factors. The most common one is that your package catalog is out of date. To manually refresh, click the Refresh button on the Changes tab. This package may simply no longer exist. It is also possible you are using an old firmware version: users should attempt to remain reasonably up to date with Apple's firmware releases."; +"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"; +"PERFORM_SELECTIONS" = "Perform Selections"; +"PREPARE_ARCHIVES" = "Prepare Archives"; +"PRODUCTS" = "Products"; +"PURGE" = "Purge"; +"Q_D" = "Q'd"; +"QUEUED_FOR" = "Queued for %@"; +"QUESTION" = "%@?"; +"REBOOT_DEVICE" = "Reboot Device"; +"RECENT_CHANGES_UPDATES" = "Recent Changes/Updates"; +"RECOMMENDED_BOOKS" = "Recommended Books"; +"REFRESH" = "Refresh"; +"REFRESHING_DATA" = "Refreshing Data"; +"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 (on the iPhone or iPod touch), or the \"Sources\" tab (on the iPad)."; +"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"; +"SINGLE_QUOTED" = "‘%@’"; +"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"; +"STILL_BROKEN_EX" = "Trying to fix the broken selections did not seem to help."; +"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"; +"UPGRADING_TO_READ_THIS" = "Upgrading to %@? Read This"; +"USER" = "User"; +"USER_EX" = "Apps, Tweaks, and Themes."; +"USER_GUIDES" = "User Guides"; +"USERNAME" = "username"; +"VERIFICATION_ERROR" = "Verification Error"; +"VERIFYING_URL" = "Verifying URL"; +"VERSION" = "Version"; +"WARNING" = "Warning"; +"WELCOME_TO_CYDIA" = "Welcome to Cydia™"; +"WHO_ARE_YOU" = "Who Are You?"; +"YES" = "Yes"; diff --git a/MobileCydia.app/English.lproj/Sections_.strings b/MobileCydia.app/English.lproj/Sections_.strings new file mode 100644 index 0000000..9cc7ba1 --- /dev/null +++ b/MobileCydia.app/English.lproj/Sections_.strings @@ -0,0 +1,45 @@ +"Administration" = ""; +"App Addons" = ""; +"Archiving" = ""; +"Battery" = ""; +"Carrier Bundles" = ""; +"Carriers" = ""; +"Complete" = ""; +"Data Storage" = ""; +"Development" = ""; +"Dialer" = ""; +"Dictionaries" = ""; +"Dock" = ""; +"eBooks" = ""; +"Education" = ""; +"Emulation" = ""; +"Entertainment" = ""; +"Games" = ""; +"Icy" = ""; +"Java" = ""; +"Keyboards" = ""; +"Localization" = ""; +"LockScreen" = ""; +"Messaging" = ""; +"Multimedia" = ""; +"Networking" = ""; +"Notifications" = ""; +"Packaging" = ""; +"Productivity" = ""; +"Repositories" = ""; +"Ringtones" = ""; +"Scripting" = ""; +"Security" = ""; +"Sliders" = ""; +"SMS" = ""; +"System" = ""; +"Terminal Support" = ""; +"Text Editors" = ""; +"Themes" = ""; +"Toys" = ""; +"Tweaks" = ""; +"Utilities" = ""; +"Wallpaper" = ""; +"Weather" = ""; +"WebClips" = ""; +"Widgets" = ""; diff --git a/MobileCydia.app/French.lproj/Localizable.strings b/MobileCydia.app/French.lproj/Localizable.strings new file mode 100644 index 0000000..bdd6988 --- /dev/null +++ b/MobileCydia.app/French.lproj/Localizable.strings @@ -0,0 +1,210 @@ +"ABOUT" = "À propos"; +"ABOUT_CYDIA" = "À propos de Cydia"; +"ACCEPT_NEW_COPY" = "Accepter la nouvelle version"; +"ADD" = "Ajouter"; +"ADD_ANYWAY" = "Ajouter quand même"; +"ADD_SOURCE" = "Ajouter la source"; +"ADMINISTRATIVE_INFORMATION" = "Information administrative"; +"ADVANCED_SEARCH" = "Recherche avancée"; +"ALL_PACKAGES" = "Tous les paquets"; +"APPLE" = "Apple"; +"AUTHOR" = "Auteur"; +"AVAILABLE_UPGRADES" = "Mises à jour disponibles"; +"BROWSER" = "Navigateur"; +"BY" = "par %@"; +"CANCEL" = "Annuler"; +"CANCEL_CLEAR" = "Annuler et vider la file"; +"CANCEL_OPERATION" = "Annuler l'opération"; +"CANNOT_COMPLY" = "Impossible"; +"CANNOT_COMPLY_EX" = "Les modifications demandées ne peuvent pas être appliquées à cause de dépendances ou de conflits impossibles à identifier automatiquement."; +"CANNOT_LOCATE_PACKAGE" = "Impossible de trouver le paquet"; +"CHANGE_PACKAGE_SETTINGS" = "Changer les réglages du paquet"; +"CHANGES" = "Nouveautés"; +"CLEAN_ARCHIVES" = "Nettoyer les archives"; +"CLEAR" = "Nettoyer"; +"CLOSE" = "Fermer"; +"CLOSE_CYDIA" = "Quitter Cydia (Redémarrer)"; +"COLON_DELIMITED" = "%@ : %@"; +"COMMA_DELIMITED" = "%@, %@"; +"COMING_SOON" = "À venir!"; +"COMPLETE" = "Effectué"; +"COMPLETE_UPGRADE" = "Mise à Jour effectuée"; +"CONFIGURATION_UPGRADE" = "Configuration de la mise à jour"; +"CONFIGURATION_UPGRADE_EX" = "Le(s) fichier(s) suivant(s) ont été modifiés par le responsable de ce paquet et par vous (ou pour vous par un script)."; +"COMMERCIAL_APPLICATIONS" = "Applications commerciales"; +"CONFIRM" = "Confirmer"; +"CONSOLE_PACKAGE" = "Ceci est un paquet console!"; +"CONSOLE_UTILITIES_DAEMONS" = "Utilitaires de terminal & daemons"; +"CONTINUE_QUEUING" = "Mettre dans la file d'attente"; +"COUNTS_NONZERO_EX" = "Après avoir calculé la somme de valeurs importantes, elle n'est pas égale à zéro. Ceci est épeurant. J'ai aucune idée pourquoi ceci est dangereux, mais je crois que APT ne voulait absolument pas que ceci arrive."; +"CREDITS" = "Crédits"; +"CYDIA_STORE" = "Cydia Store"; +"DATABASE" = "Base de données"; +"DETAILS" = "Détails"; +"DEVELOPER" = "Développeur"; +"DEVELOPER_EX" = "Aucun filtre"; +"DEVELOPERS_ONLY" = "Développeurs seulement"; +"DISK_FREEING" = "Espace disque libéré"; +"DISK_USING" = "Espace disque utilisé"; +"DONATE_USING" = "Donnez en utilisant %@"; +"DONE" = "OK"; +"DOUBLE_QUOTED" = "« $@ »"; +"DOWNGRADE" = "Rétrograder"; +"DOWNLOADING" = "Télécharger"; +"DOWNLOADING_" = "Téléchargement de %@ en cours"; +"EDIT" = "Modifier"; +"ENTER_APT_URL" = "Entrez une adresse Cydia/APT"; +"ENTERED_BY_USER" = "Entré par l'utilisateur"; +"ERROR" = "Erreur"; +"ESSENTIAL_UPGRADE" = "Mise à jour essentielle"; +"ESSENTIAL_UPGRADES" = "%d mises à jour essentielles"; +"ESSENTIAL_UPGRADE_EX" = "Un ou plusieurs paquets essentiels sont périmés. Si vous ne les mettez pas à jour, vous pourriez rencontrer des erreurs."; +"EXCLAMATION" = "%@ !"; +"EXPANDED_SIZE" = "Taille décompressée"; +"EXPERT" = "Expert"; +"FEATURED_PACKAGES" = "Paquets conseillés"; +"FAQ" = "FAQ"; +"FILES" = "Fichiers"; +"FILES_INSTALLED_TO" = "fichiers installés dans %@"; +"FILESYSTEM_CONTENT" = "Contenu"; +"FOLLOW_ON_TWITTER" = "Suivez %@ sur Twitter"; +"FORCE_REMOVAL" = "Forcer la suppression"; +"FORCIBLY_CLEAR" = "Forcer le nettoyage"; +"FREE_APPLICATIONS" = "Applications gratuites"; +"FREE_EXTENSIONS" = "Extensions gratuites"; +"FREQUENTLY_ASKED_QUESTIONS" = "Foire aux questions"; +"FROM" = "de %@"; +"FROWNY_PANTS" = "Pantalon fronçant"; +"FUTURE_FEATURE_ROADMAP" = "Feuille de route des mises à jour"; +"HACKER" = "Hacker"; +"HACKER_EX" = "+ CLI"; +"HALFINSTALLED_PACKAGE" = "Paquet à moitié installé"; +"HALFINSTALLED_PACKAGES" = "%d paquets à moitié installés"; +"HALFINSTALLED_PACKAGE_EX" = "Quand les scripts du paquet ne fonctionnent pas, ils laissent le paquet à moitié installé et à moitié configuré. Ces erreurs ne disparaissent pas et vont continuer à causer des problèmes. Ces scripts peuvent être supprimés et les paquets frocément désinstallés."; +"HOME" = "Accueil"; +"ID" = "ID"; +"IGNORE_UPGRADES" = "Ignorer les mises à jour"; +"IGNORED_UPGRADES" = "Mises à jour ignorées"; +"ILLEGAL_PACKAGE_IDENTIFIER" = "Identifiant du paquet illégal"; +"INSTALL" = "Installer"; +"INSTALLED" = "Installé"; +"INSTALLED_BY_PACKAGE" = "Installer par paquet"; +"INSTALLED_DETAILS" = "Paquet installé"; +"INSTALLED_FILES" = "Fichiers installés"; +"KEEP_OLD_COPY" = "Garder ma vieille copie"; +"LOADING" = "Chargement"; +"LOADING_DATA" = "Chargement des données"; +"LOCAL" = "Local"; +"LOGIN" = "S'identifier"; +"MAILING_LISTS" = "Listes de diffusion"; +"MAINTAINER" = "Contacter"; +"MANAGE" = "Gérer"; +"MODIFY" = "Modifier"; +"MODIFICATIONS" = "Modifications"; +"MORE_INFORMATION" = "Plus d'information"; +"MORE_PACKAGE_SOURCES" = "Plus de sources de paquets"; +"NAME" = "Nom"; +"NETWORK_ERROR" = "Erreur réseau"; +"NEVER_OR_UNKNOWN" = "Jamais ou inconnnu"; +"NEW" = "Nouveau"; +"NEW_AT" = "Nouveau à %@"; +"NEW_INSTALL" = "Nouvelle installation"; +"NO" = "Non"; +"NO_SECTION" = "(Pas de catégorie)"; +"NOT_RATED" = "Pas de cote"; +"NOTE" = "Note"; +"NOT_REPOSITORY" = "Impossible de trouver cette source"; +"NOT_REPOSITORY_EX" = "La source de paquets ne peut pas être trouvée. Ce pourrait être car c'est une source d'Installer (qui ne fonctionne pas avec Cydia). Cydia ne peut fonctionner qu'avec des adresses rigoureusement exactes. Si vous hébergez une source de paquets, contactez l'auteur de Cydia à propos de ces erreurs."; +"OK" = "OK"; +"OKAY" = "OK"; +"PACKAGE_CANNOT_BE_FOUND" = "Le paquet %@ est introuvable dans vos sources actuelles. Je vous recommande d'ajouter de nouvelles sources."; +"PACKAGE_CANNOT_BE_FOUND_EX" = "Ce problème peut aussi être causé par plusieurs autres facteurs. Le plus commun est que votre catalogue de paquets est périmé. Pour rafraîchir manuellement, utilisez le bouton Rafraîchir dans l'onglet Nouveautés. Le paquet pour simplement ne plus exister. Il est aussi posible que vous utilisez un vieux firmware; les utilisateurs devraient essayer de rester raisonnablement à date avec les sorties de firmware de Apple."; +"PACKAGE_DAMAGED" = "Paquet abimé"; +"PACKAGE_DETAILS" = "Détails du paquet"; +"PACKAGE_QUEUE" = "File d'attente de paquets"; +"PACKAGES" = "Paquets"; +"PACKAGES_EX" = "Voir ou supprimer des paquets précédemment installés."; +"PARENTHETICAL" = "%@ (%@)"; +"PASSWORD" = "mot de passe"; +"PERFORM_SELECTIONS" = "Performer des sélections"; +"PREPARE_ARCHIVES" = "Préparer les archives"; +"PRODUCTS" = "Produits"; +"PURGE" = "Purger"; +"Q_D" = "File"; +"QUEUED_FOR" = "File d'attente pour %@"; +"QUESTION" = "%@ ?"; +"REBOOT_DEVICE" = "Redémarrer l'appareil"; +"RECENT_CHANGES_UPDATES" = "Mises à jour ou changements récents"; +"RECOMMENDED_BOOKS" = "Livres recommandés"; +"REFRESH" = "Rafraîchir"; +"REFRESHING_DATA" = "Rafraîchissement de données"; +"REINSTALL" = "Réinstaller"; +"RELOAD" = "Recharger"; +"RELOAD_SPRINGBOARD" = "Relancer SpringBoard"; +"RELOADING_DATA" = "Rechargement des données"; +"REMOVE" = "Supprimer"; +"REMOVING_ESSENTIALS" = "Suppression d'essentiels"; +"REMOVING_ESSENTIALS_EX" = "Cette opération va supprimer un ou plusieurs paquets indispensables au bon fonctionnement de Cydia ou de votre iPhone. Si vous continuez, vous pourriez bien ne pas pouvoir utiliser Cydia pour réparer les dommages causés."; +"REPAIRING" = "Réparation"; +"REPOSITORY_SIGNATURE" = "Voir la Signature de la Source"; +"REQUEST_ADVERTISING_SPACE" = "Demander un Espace de Publicité"; +"REQUIREMENTS_FOR_LISTING" = "Prérequis pour le Listage"; +"RESTART_SPRINGBOARD" = "Relancer le SpringBoard"; +"RESUBMIT_FORM" = "Êtes-vous certain(e) de vouloir envoyer ce formulaire à nouveau?"; +"RESUMING_AT" = "Reprise à"; +"RETURN_TO_CYDIA" = "Retour à Cydia"; +"ROLE_EX" = "Certains des paquets disponibles sur Cydia ne sont pas destinés à tous les utilisateurs. Choisissez votre catégorie pour que Cydia ne vous propose que ceux dont vous auriez besoin.\n\nCe choix peut être changé dans les \"Réglages\" du menu \"Gestion\"."; +"RUNNING" = "En Fonction"; +"SAFE" = "Sûr"; +"SAMPLE" = "Échantillon"; +"SCREENSHOT" = "Capture d'écran"; +"SCREENSHOTS" = "Captures d'écran"; +"SEARCH" = "Recherche"; +"SEARCH_EX" = "Noms des paquets & descriptions"; +"SECTION" = "Catégorie"; +"SECTION_VISIBILITY" = "Visibilité des catégories"; +"SECTIONS" = "Catégories"; +"SEE_WHAT_CHANGED" = "Voyez ce qui a changé"; +"SETTINGS" = "Réglages"; +"SHOW_ALL_CHANGES" = "Montrer tous les changements"; +"SHOW_ALL_CHANGES_EX" = "Seuls les mises à jour de paquets installés ne sont affichés ici pour limiter le spam des empaqueteurs. En activant ceci vous serez averti des mises à jour sans que ce paquet soit installé."; +"SIGNED_PACKAGE" = "Ce paquet est signé."; +"SIMPLE" = "Simple"; +"SINGLE_QUOTED" = "‹ %@ ›"; +"SLASH_DELIMITED" = "%@ / %@"; +"SOURCE_DETAILS" = "Détails sur la source"; +"SOURCE_WARNING" = "Avertissement de source"; +"SOURCES" = "Sources"; +"SOURCES_EX" = "Voyez vos sources et en ajoutez des nouvelles."; +"SPONSOR" = "Commanditaire"; +"SPONSORING_PRODUCTS" = "Produits commanditants"; +"STATISTICS" = "Statistiques"; +"STILL_BROKEN_EX" = "Même après avoir essayé de réparé les sélections, le problème n'a pas l'air à être réglé."; +"STORAGE" = "Stockage"; +"STORAGE_EX" = "Voyez combien d'espace il vous reste pour de nouveaux paquets."; +"SUBMIT" = "Envoyer"; +"SUPPORT_KNOWN_ISSUES" = "Aide & problèmes connus"; +"TEMPORARY_IGNORE" = "Ignorer (temporairement)"; +"THANK_YOU" = "Remerciements"; +"QUEUE" = "File d'attente"; +"UNABLE_TO_COMPLY" = "Impossible"; +"UNABLE_TO_COMPLY_EX" = "Cette opération va supprimer un ou plusieurs paquets indispensables au bon fonctionnement de Cydia ou de votre iPhone. Pour continuer et forcer cette opération, vous devez activer le mode Utilisateur avancé dans les Réglages."; +"UNABLE_TO_LOAD" = "Chargement impossible"; +"UNKNOWN" = "Inconnu"; +"UNSAFE" = "Risqué"; +"UPDATING_DATABASE" = "Mise à jour de la base de données"; +"UPDATING_SOURCES" = "Mise à jour des sources"; +"UPGRADE" = "Mise à jour"; +"UPGRADE_ESSENTIAL" = "Mise à jour des essentiels"; +"UPGRADING_TO_READ_THIS" = "À lire: mise à jour à %@"; +"USER" = "Utilisateur"; +"USER_EX" = "GUI seulement"; +"USER_GUIDES" = "Guides utilisateur"; +"USERNAME" = "Nom d'utilisateur"; +"VERIFICATION_ERROR" = "Erreur de vérification"; +"VERIFYING_URL" = "Vérification de l'URL"; +"VERSION" = "Version"; +"WARNING" = "Avertissement"; +"WELCOME_TO_CYDIA" = "Bienvenue dans Cydia™"; +"WHO_ARE_YOU" = "Qui êtes-vous?"; +"YES" = "Oui"; diff --git a/MobileCydia.app/French.lproj/Sections.strings b/MobileCydia.app/French.lproj/Sections.strings new file mode 100644 index 0000000..799a82c --- /dev/null +++ b/MobileCydia.app/French.lproj/Sections.strings @@ -0,0 +1,45 @@ +"Administration" = "Administration"; +"App Addons" = "Ajouts aux applications"; +"Archiving" = "Archivage"; +"Battery" = "Batterie"; +"Carrier Bundles" = "Opérateurs"; +"Carriers" = "Opérateurs"; +"Complete" = "Terminé"; +"Data Storage" = "Archivage de données"; +"Development" = "Développement"; +"Dialer" = "Numéroteur"; +"Dictionaries" = "Dictionnaires"; +"Dock" = "Dock"; +"eBooks" = "eLivres"; +"Education" = "Éducation"; +"Emulation" = "Émulation"; +"Entertainment" = "Divertissement"; +"Games" = "Jeux"; +"Icy" = "Icy"; +"Java" = "Java"; +"Keyboards" = "Claviers"; +"Localization" = "Localisation"; +"LockScreen" = "Écran de verrouillage"; +"Messaging" = "Messagerie"; +"Multimedia" = "Multimédia"; +"Networking" = "Réseau"; +"Notifications" = "Notifications"; +"Packaging" = "Enpaquetage"; +"Productivity" = "Productivité"; +"Repositories" = "Sources"; +"Ringtones" = "Sonneries"; +"Scripting" = "Scripts"; +"Security" = "Sécurité"; +"Sliders" = "Sliders"; +"SMS" = "SMS"; +"System" = "Système"; +"Terminal Support" = "Aide au terminal"; +"Text Editors" = "Éditeurs de texte"; +"Themes" = "Thèmes"; +"Toys" = "Jouets"; +"Tweaks" = "Modifications"; +"Utilities" = "Utilitaires"; +"Wallpaper" = "Fonds d'écran"; +"Weather" = "Météo"; +"WebClips" = "WebClips"; +"Widgets" = "Widgets"; diff --git a/MobileCydia.app/German.lproj/Localizable.strings b/MobileCydia.app/German.lproj/Localizable.strings new file mode 100644 index 0000000..78a818c --- /dev/null +++ b/MobileCydia.app/German.lproj/Localizable.strings @@ -0,0 +1,210 @@ +"ABOUT" = "Über"; +"ABOUT_CYDIA" = "Über Cydia Installer"; +"ACCEPT_NEW_COPY" = "Die neue Kopie annehmen"; +"ADD" = "Hinzufügen"; +"ADD_ANYWAY" = "Trotzdem hinzufügen"; +"ADD_SOURCE" = "Quelle hinzufügen"; +"ADMINISTRATIVE_INFORMATION" = "Administrative Information"; +"ADVANCED_SEARCH" = "Erweiterte Suche"; +"ALL_PACKAGES" = "Alle Pakete"; +"APPLE" = "Apple"; +"AUTHOR" = "Autor"; +"AVAILABLE_UPGRADES" = "Vorhandene Aktualisierungen"; +"BROWSER" = "Browser"; +"BY" = "von %@"; +"CANCEL" = "Abbrechen"; +"CANCEL_CLEAR" = "Abbrechen und leeren"; +"CANCEL_OPERATION" = "Vorgang abbrechen"; +"CANNOT_COMPLY" = "Ausführung unmöglich"; +"CANNOT_COMPLY_EX" = "Die gewünschten Änderungen können wegen notwendiger Abhängigkeiten oder Konflikten, die nicht automatisch behoben werden können, nicht durchgeführt werden."; +"CANNOT_LOCATE_PACKAGE" = "Paket nicht gefunden"; +"CHANGE_PACKAGE_SETTINGS" = "Paket-Einstellungen ändern"; +"CHANGES" = "Änderungen"; +"CLEAN_ARCHIVES" = "Archive aufräumen"; +"CLEAR" = "Leeren"; +"CLOSE" = "Schließen"; +"CLOSE_CYDIA" = "Cydia beenden (neustarten)"; +"COLON_DELIMITED" = "%@: %@"; +"COMMA_DELIMITED" = "%@, %@"; +"COMING_SOON" = "Bald verfügbar!"; +"COMPLETE" = "Fertig"; +"COMPLETE_UPGRADE" = "Vollständige Aktualisierung"; +"CONFIGURATION_UPGRADE" = "Konfiguration wählen"; +"CONFIGURATION_UPGRADE_EX" = "Die folgende Datei wurde sowohl durch den Paket-Inhaber als auch von Ihnen (oder für Sie von einem Skript) geändert."; +"COMMERCIAL_APPLICATIONS" = "Kommerzielle Programme"; +"CONFIRM" = "Bestätigen"; +"CONSOLE_PACKAGE" = "Dies ist ein Konsolen-Paket!"; +"CONSOLE_UTILITIES_DAEMONS" = "Konsolentools & Hintergrundprozesse"; +"CONTINUE_QUEUING" = "Weiter auswählen"; +"COUNTS_NONZERO_EX" = "So, ich habe gerade ein paar wichtig scheinende Werte gezählt, und ihre Summe war nicht null. Das ist beängstigend. Ich weiß nicht mehr, warum ich das nicht mag, aber ich denke APT bestand darauf, dass das nicht passieren darf."; +"CREDITS" = "Credits"; +"CYDIA_STORE" = "Cydia Store"; +"DATABASE" = "Datenbank"; +"DETAILS" = "Details"; +"DEVELOPER" = "Entwickler"; +"DEVELOPER_EX" = "Ohne Filter"; +"DEVELOPERS_ONLY" = "Nur für Entwickler"; +"DISK_FREEING" = "Freigegebener Speicher"; +"DISK_USING" = "Speicherverbrauch"; +"DONATE_USING" = "Spenden via %@"; +"DONE" = "Fertig"; +"DOUBLE_QUOTED" = "„%@“"; +"DOWNGRADE" = "Downgrade"; +"DOWNLOADING" = "Lädt"; +"DOWNLOADING_" = "Lädt %@ herunter"; +"EDIT" = "Bearbeiten"; +"ENTER_APT_URL" = "Cydia/APT URL eingeben"; +"ENTERED_BY_USER" = "Vom Benutzer eingegeben"; +"ERROR" = "Fehler"; +"ESSENTIAL_UPGRADE" = "Wichtige Aktualisierung"; +"ESSENTIAL_UPGRADES" = "%d wichtige Aktualisierungen"; +"ESSENTIAL_UPGRADE_EX" = "Ein oder mehr wichtige Pakete sind veraltet. Um Fehler zu vermeiden, wird empfohlen die Aktualisierungen zu installieren."; +"EXCLAMATION" = "%@!"; +"EXPANDED_SIZE" = "Entpackte Größe"; +"EXPERT" = "Experte"; +"FEATURED_PACKAGES" = "Paketempfehlungen"; +"FAQ" = "FAQ"; +"FILES" = "Dateien"; +"FILES_INSTALLED_TO" = "Dateien installiert nach %@"; +"FILESYSTEM_CONTENT" = "Inhalt des Dateisystems"; +"FOLLOW_ON_TWITTER" = "Folge %@ auf Twitter"; +"FORCE_REMOVAL" = "Löschen erzwingen"; +"FORCIBLY_CLEAR" = "Leeren erzwingen"; +"FREE_APPLICATIONS" = "Kostenlose Programme"; +"FREE_EXTENSIONS" = "Kostenlose Erweiterungen"; +"FREQUENTLY_ASKED_QUESTIONS" = "Häufig gestellte Fragen (FAQ)"; +"FROM" = "von %@"; +"FROWNY_PANTS" = "Stirnrunzelnde Hose"; +"FUTURE_FEATURE_ROADMAP" = "Übersicht geplanter Funktionen"; +"HACKER" = "Hacker"; +"HACKER_EX" = "+ Kommandozeile"; +"HALFINSTALLED_PACKAGE" = "Teilinstalliertes Paket"; +"HALFINSTALLED_PACKAGES" = "%d teilinstallierte Pakete"; +"HALFINSTALLED_PACKAGE_EX" = "Wenn die an Pakete gebundenen Skripte Probleme machen, werden sie in einem schlechten Status (halb eingestellt oder halb installiert) zurückgelassen. Diese Fehler sind dauerhaft und erzeugen weitere Probleme. Diese fehlerhaften Skripte und Pakete können entfernt werden."; +"HOME" = "Start"; +"ID" = "ID"; +"IGNORE_UPGRADES" = "Aktualisierungen ignorieren"; +"IGNORED_UPGRADES" = "Ignorierte Aktualisierungen"; +"ILLEGAL_PACKAGE_IDENTIFIER" = "Unerlaubte Paket-Kennung"; +"INSTALL" = "Installieren"; +"INSTALLED" = "Installiert"; +"INSTALLED_BY_PACKAGE" = "Installiert nach Paket"; +"INSTALLED_DETAILS" = "Installiertes Paket"; +"INSTALLED_FILES" = "Installierte Dateien"; +"KEEP_OLD_COPY" = "Meine alte Kopie behalten"; +"LOADING" = "Lade"; +"LOADING_DATA" = "Lade Daten"; +"LOCAL" = "Lokal"; +"LOGIN" = "Anmeldung"; +"MAILING_LISTS" = "Mailingliste"; +"MAINTAINER" = "Kontakt"; +"MANAGE" = "Verwalten"; +"MODIFICATIONS" = "Änderungen"; +"MODIFY" = "Verändern"; +"MORE_INFORMATION" = "Mehr Informationen"; +"MORE_PACKAGE_SOURCES" = "Mehr Paketquellen"; +"NAME" = "Name"; +"NETWORK_ERROR" = "Netzwerk-Fehler"; +"NEVER_OR_UNKNOWN" = "Nie oder unbekannt"; +"NEW" = "Neu"; +"NEW_AT" = "Neu am %@"; +"NEW_INSTALL" = "Neuinstallation"; +"NO" = "Nein"; +"NO_SECTION" = "(Keine Kategorie)"; +"NOT_RATED" = "Nicht bewertet"; +"NOTE" = "Hinweis"; +"NOT_REPOSITORY" = "Quelle nicht gefunden"; +"NOT_REPOSITORY_EX" = "Die angegebene Quelle konnte nicht gefunden werden. Dies kann passieren, wenn eine Installer-Quelle hinzugefügt wurde (diese werden nicht unterstützt). Außerdem kann dieses Programm nur mit exakten, vollständigen URLs umgehen. Falls sie eine Quelle hosten und Probleme haben kontaktieren sie mit ihren Fragen bitte den Autor von Cydia."; +"OK" = "OK"; +"OKAY" = "Okay"; +"PACKAGE_CANNOT_BE_FOUND" = "Das Paket %@ kann in den aktuellen Quellen nicht gefunden werden. Ich schlage vor, mehr Quellen hinzuzufügen."; +"PACKAGE_CANNOT_BE_FOUND_EX" = "Dieses Problem kann auch durch eine Reihe anderer Faktoren hervorgerufen worden sein. Der häufigste ist, dass dein Paketkatalog nicht mehr aktuell ist. Zum manuellen erneuern, klicke den Aktualisieren-Knopf im Änderungen-Tab. Das Paket könnte auch einfach nicht mehr existieren. Es könnte auch sein, dass du eine alte Firmwareversion nutzt: Nutzer sollten versuchen halbwegs auf dem Laufenden zu bleiben mit Apples neuen Firmwares."; +"PACKAGE_DAMAGED" = "Paket beschädigt"; +"PACKAGE_DETAILS" = "Paketdetails"; +"PACKAGE_QUEUE" = "Paket-Warteschlange"; +"PACKAGES" = "Pakete"; +"PACKAGES_EX" = "Bereits installierte Pakete ansehen oder löschen."; +"PARENTHETICAL" = "%@ (%@)"; +"PASSWORD" = "Passwort"; +"PERFORM_SELECTIONS" = "Führe Auswahl durch"; +"PREPARE_ARCHIVES" = "Bereite Archive vor"; +"PRODUCTS" = "Produkte"; +"PURGE" = "Völlig entfernen"; +"Q_D" = "S"; +"QUEUED_FOR" = "In Warteschlange für %@"; +"QUESTION" = "%@?"; +"REBOOT_DEVICE" = "Gerät neustarten"; +"RECENT_CHANGES_UPDATES" = "Neueste Änderungen/Aktualisierungen"; +"RECOMMENDED_BOOKS" = "Empfohlene Bücher"; +"REFRESH" = "Aktualisieren"; +"REFRESHING_DATA" = "Hole neue Daten"; +"REINSTALL" = "Neu installieren"; +"RELOAD" = "Neu laden"; +"RELOAD_SPRINGBOARD" = "SpringBoard neu laden"; +"RELOADING_DATA" = "Lade neue Daten"; +"REMOVE" = "Entfernen"; +"REMOVING_ESSENTIALS" = "Grundlegende Pakete löschen"; +"REMOVING_ESSENTIALS_EX" = "Diese Aktion erfordert das Löschen eines oder mehrerer Pakete die notwendig für die Funktionalität von Cydia oder iPhoneOS sind. Wenn Sie fortsetzen, können Sie ggf. Cydia nicht mehr benutzen um den Schaden zu beheben."; +"REPAIRING" = "Reparieren"; +"REPOSITORY_SIGNATURE" = "Quellen-Signatur anzeigen"; +"REQUEST_ADVERTISING_SPACE" = "Werbefläche beantragen"; +"REQUIREMENTS_FOR_LISTING" = "Bedingungen für die Aufnahme"; +"RESTART_SPRINGBOARD" = "SpringBoard neu starten"; +"RESUBMIT_FORM" = "Sind Sie sicher, dass Sie das Formular erneut senden möchten?"; +"RESUMING_AT" = "Wiederaufnahme bei"; +"RETURN_TO_CYDIA" = "Zu Cydia zurückkehren"; +"ROLE_EX" = "Nicht alle in Cydia erhältlichen Pakete sind für alle Benutzer gedacht. Bitte stufen Sie sich ein, so dass Cydia hilfreiche Filter anwenden kann.\n\nDiese Einstellung kann in den \"Einstellungen\" unter \"Verwalten\" geändert werden."; +"RUNNING" = "Aktiv"; +"SAFE" = "Sicher"; +"SAMPLE" = "Beispiel"; +"SCREENSHOT" = "Bildschirmfoto"; +"SCREENSHOTS" = "Bildschirmfotos"; +"SEARCH" = "Suche"; +"SEARCH_EX" = "Paketname & Beschreibung"; +"SECTION" = "Kategorie"; +"SECTION_VISIBILITY" = "Sichtbarkeit der Kategorien"; +"SECTIONS" = "Kategorien"; +"SEE_WHAT_CHANGED" = "Änderungen ansehen"; +"SETTINGS" = "Einstellungen"; +"SHOW_ALL_CHANGES" = "Alle Änderungen zeigen"; +"SHOW_ALL_CHANGES_EX" = "Änderungen zeigt nur Aktualisierungen der installierten Paketen an, um Spam von Paket-Herstellern zu reduzieren. Aktivieren Sie dies, um Aktualisierungen zu diesem Paket zu sehen, obwohl es nicht installiert ist."; +"SIGNED_PACKAGE" = "Dieses Paket wurde signiert."; +"SIMPLE" = "Einfach"; +"SINGLE_QUOTED" = "‚%@‘"; +"SLASH_DELIMITED" = "%@ / %@"; +"SOURCE_DETAILS" = "Information zur Quelle"; +"SOURCE_WARNING" = "Quellenwarnung"; +"SOURCES" = "Quellen"; +"SOURCES_EX" = "Quellenliste anzeigen und eigene hinzufügen."; +"SPONSOR" = "Sponsor"; +"SPONSORING_PRODUCTS" = "Unterstützende Produkte"; +"STATISTICS" = "Statistik"; +"STILL_BROKEN_EX" = "Der Versuch, die kaputten Sektionen zu reparieren hat nichts gebracht."; +"STORAGE" = "Speicherplatz"; +"STORAGE_EX" = "Nachsehen, wieviel Speicherplatz für neue Pakete vorhanden ist."; +"SUBMIT" = "Absenden"; +"SUPPORT_KNOWN_ISSUES" = "Support & bekannte Probleme"; +"TEMPORARY_IGNORE" = "Ignorieren (temporär)"; +"THANK_YOU" = "Danke"; +"QUEUE" = "Warteschlange"; +"UNABLE_TO_COMPLY" = "Operation nicht möglich"; +"UNABLE_TO_COMPLY_EX" = "Diese Aktion erfordert das Löschen eines oder mehrerer Pakete die notwendig für die Funktionalität von Cydia oder iPhoneOS sind. Um fortzufahren und diese Aktion zu erzwingen muss der Fortgeschrittenen-Modus in den Einstellungen aktiviert sein."; +"UNABLE_TO_LOAD" = "Laden nicht möglich"; +"UNKNOWN" = "Unbekannt"; +"UNSAFE" = "Unsicher"; +"UPDATING_DATABASE" = "Datenbank aktualisieren"; +"UPDATING_SOURCES" = "Quellen aktualisieren"; +"UPGRADE" = "Aktualisierung"; +"UPGRADE_ESSENTIAL" = "Wichtige Pakete aktualisieren"; +"UPGRADING_TO_READ_THIS" = "Upgrade auf %@? Hier lesen"; +"USER" = "Benutzer"; +"USER_EX" = "Nur Grafische"; +"USER_GUIDES" = "Benutzer-Handbücher"; +"USERNAME" = "Benutzername"; +"VERIFICATION_ERROR" = "Fehler beim Überprüfen"; +"VERIFYING_URL" = "URL überprüfen"; +"VERSION" = "Version"; +"WARNING" = "Warnung"; +"WELCOME_TO_CYDIA" = "Willkommen bei Cydia™"; +"WHO_ARE_YOU" = "Wer sind Sie?"; +"YES" = "Ja"; diff --git a/MobileCydia.app/German.lproj/Sections.strings b/MobileCydia.app/German.lproj/Sections.strings new file mode 100644 index 0000000..6abe4ce --- /dev/null +++ b/MobileCydia.app/German.lproj/Sections.strings @@ -0,0 +1,49 @@ +"Addons" = "Erweiterungen"; +"Administration" = "Verwaltung"; +"Adult" = "Ab 18"; +"App Addons" = "Programm-Erweiterugen"; +"Archiving" = "Archivierung"; +"Battery" = "Batterie"; +"Carrier Bundles" = "Telefongesellschaft-Pakete"; +"Carriers" = "Telefongesellschaften"; +"Complete" = "Vollständig"; +"Data Storage" = "Speicherplatzverwaltung"; +"Development" = "Entwicklung"; +"Dialer" = "Wählhilfen"; +"Dictionaries" = "Wörterbücher"; +"Dock" = "Dock"; +"eBooks" = "eBooks"; +"Education" = "Bildung"; +"Emulation" = "Emulation"; +"Entertainment" = "Unterhaltung"; +"Games" = "Spiele"; +"Icy" = "Icy"; +"Java" = "Java"; +"Keyboards" = "Tastaturen"; +"Localization" = "Lokalisierung"; +"LockScreen" = "Lockscreen"; +"Messaging" = "Nachrichtendienste"; +"Multimedia" = "Multimedia"; +"Networking" = "Netzwerk"; +"Notifications" = "Mitteilugen"; +"Packaging" = "Paketverwaltung"; +"Productivity" = "Produktivität / Kreativität"; +"Repositories" = "Quellen"; +"Ringtones" = "Klingeltöne"; +"Scripting" = "Skriptsprachen"; +"Security" = "Sicherheit"; +"Sliders" = "Slider"; +"SMS" = "SMS"; +"Social" = "Soziale Netze"; +"System" = "System"; +"Terminal Support" = "Konsolen-Support"; +"Text Editors" = "Texteditoren"; +"Themes" = "Themes"; +"Toys" = "Spielereien"; +"Tweaks" = "Tweaks / Tuning"; +"Utilities" = "Dienstprogramme"; +"Videos" = "Videos"; +"Wallpaper" = "Hintergrundbilder"; +"Weather" = "Wetter"; +"WebClips" = "Web-Schnipsel"; +"Widgets" = "Widgets"; diff --git a/MobileCydia.app/Icon-Small-50.png b/MobileCydia.app/Icon-Small-50.png Binary files differnew file mode 100644 index 0000000..d7d2849 --- /dev/null +++ b/MobileCydia.app/Icon-Small-50.png diff --git a/MobileCydia.app/Icon-Small.png b/MobileCydia.app/Icon-Small.png Binary files differnew file mode 100644 index 0000000..af15d71 --- /dev/null +++ b/MobileCydia.app/Icon-Small.png diff --git a/MobileCydia.app/Icon-Small@2x.png b/MobileCydia.app/Icon-Small@2x.png Binary files differnew file mode 100644 index 0000000..1a73ddb --- /dev/null +++ b/MobileCydia.app/Icon-Small@2x.png diff --git a/MobileCydia.app/Info.plist b/MobileCydia.app/Info.plist new file mode 100644 index 0000000..806506b --- /dev/null +++ b/MobileCydia.app/Info.plist @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>en</string> + + <key>CFBundleExecutable</key> + <string>Cydia</string> + + <key>CFBundleIdentifier</key> + <string>com.saurik.Cydia</string> + + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + + <key>CFBundleName</key> + <string>Cydia</string> + + <key>CFBundlePackageType</key> + <string>APPL</string> + + <key>CFBundleShortVersionString</key> + <string>0.9</string> + + <key>CFBundleSignature</key> + <string>????</string> + + <key>CFBundleVersion</key> + <string>0.9</string> + + <key>SBUsesNetwork</key> + <integer>11</integer> + + <key>CFBundleURLTypes</key> + <array> + <dict> + <key>CFBundleURLName</key> + <string>Cydia Internal URL</string> + <key>CFBundleURLSchemes</key> + <array> + <string>cydia</string> + </array> + </dict> + </array> + + <key>DTSDKName</key> + <string>iphoneos2.0.saurik</string> + + <key>MinimumOSVersion</key> + <string>2.0</string> + + <key>UIDeviceFamily</key> + <array> + <integer>1</integer> + <integer>2</integer> + </array> + + <key>UISupportedInterfaceOrientations</key> + <array> + <string>UIInterfaceOrientationPortrait</string> + <!--string>UIInterfaceOrientationPortraitUpsideDown</string> + <string>UIInterfaceOrientationLandscapeLeft</string> + <string>UIInterfaceOrientationLandscapeRight</string--> + </array> + + <key>UIBackgroundModes</key> + <array> + <string>audio</string> + <string>continuous</string> + </array> + + <key>CFBundleIconFile</key> + <string>iconClassic.png</string> + + <key>CFBundleIconFiles</key> + <array> + <string>icon.png</string> + <string>icon-72.png</string> + <string>icon@2x.png</string> + <string>Icon-Small.png</string> + <string>Icon-Small-50.png</string> + <string>Icon-Small@2x.png</string> + </array> +</dict> + +</plist> diff --git a/MobileCydia.app/Modes/DOWNGRADE.png b/MobileCydia.app/Modes/DOWNGRADE.png Binary files differnew file mode 100644 index 0000000..41c0d70 --- /dev/null +++ b/MobileCydia.app/Modes/DOWNGRADE.png diff --git a/MobileCydia.app/Modes/INSTALL.png b/MobileCydia.app/Modes/INSTALL.png Binary files differnew file mode 100644 index 0000000..a83f354 --- /dev/null +++ b/MobileCydia.app/Modes/INSTALL.png diff --git a/MobileCydia.app/Modes/NEW_INSTALL.png b/MobileCydia.app/Modes/NEW_INSTALL.png new file mode 120000 index 0000000..475bda6 --- /dev/null +++ b/MobileCydia.app/Modes/NEW_INSTALL.png @@ -0,0 +1 @@ +INSTALL.png
\ No newline at end of file diff --git a/MobileCydia.app/Modes/PURGE.png b/MobileCydia.app/Modes/PURGE.png Binary files differnew file mode 100644 index 0000000..795fa19 --- /dev/null +++ b/MobileCydia.app/Modes/PURGE.png diff --git a/MobileCydia.app/Modes/REINSTALL.png b/MobileCydia.app/Modes/REINSTALL.png Binary files differnew file mode 100644 index 0000000..0b7754c --- /dev/null +++ b/MobileCydia.app/Modes/REINSTALL.png diff --git a/MobileCydia.app/Modes/REMOVE.png b/MobileCydia.app/Modes/REMOVE.png Binary files differnew file mode 100644 index 0000000..1b2e691 --- /dev/null +++ b/MobileCydia.app/Modes/REMOVE.png diff --git a/MobileCydia.app/Modes/UPGRADE.png b/MobileCydia.app/Modes/UPGRADE.png Binary files differnew file mode 100644 index 0000000..631b7ef --- /dev/null +++ b/MobileCydia.app/Modes/UPGRADE.png diff --git a/MobileCydia.app/Purposes/commercial.png b/MobileCydia.app/Purposes/commercial.png Binary files differnew file mode 100644 index 0000000..ba66d4b --- /dev/null +++ b/MobileCydia.app/Purposes/commercial.png diff --git a/MobileCydia.app/Purposes/console.png b/MobileCydia.app/Purposes/console.png Binary files differnew file mode 100644 index 0000000..48f7e88 --- /dev/null +++ b/MobileCydia.app/Purposes/console.png diff --git a/MobileCydia.app/Purposes/daemon.png b/MobileCydia.app/Purposes/daemon.png Binary files differnew file mode 100644 index 0000000..4593ee8 --- /dev/null +++ b/MobileCydia.app/Purposes/daemon.png diff --git a/MobileCydia.app/Purposes/extension.png b/MobileCydia.app/Purposes/extension.png Binary files differnew file mode 100644 index 0000000..e7025b4 --- /dev/null +++ b/MobileCydia.app/Purposes/extension.png diff --git a/MobileCydia.app/Purposes/library.png b/MobileCydia.app/Purposes/library.png Binary files differnew file mode 100644 index 0000000..3bcbc04 --- /dev/null +++ b/MobileCydia.app/Purposes/library.png diff --git a/MobileCydia.app/Purposes/uikit.png b/MobileCydia.app/Purposes/uikit.png Binary files differnew file mode 100644 index 0000000..2141d72 --- /dev/null +++ b/MobileCydia.app/Purposes/uikit.png diff --git a/MobileCydia.app/Purposes/x.png b/MobileCydia.app/Purposes/x.png Binary files differnew file mode 100644 index 0000000..0b24b74 --- /dev/null +++ b/MobileCydia.app/Purposes/x.png diff --git a/MobileCydia.app/Sections.plist b/MobileCydia.app/Sections.plist new file mode 100644 index 0000000..a62e6d7 --- /dev/null +++ b/MobileCydia.app/Sections.plist @@ -0,0 +1,193 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> + +<dict> + <key>Hunspell_Dictionaries</key> + <dict> + <key>Rename</key> + <string>Dictionaries_(Hunspell)</string> + </dict> + + <key>Utility</key> + <dict> + <key>Rename</key> + <string>Utilities</string> + </dict> + + <key>Themes_(Springboard)</key> + <dict> + <key>Rename</key> + <string>Themes_(SpringBoard)</string> + </dict> + + <key>Themes_(SummerBoard)</key> + <dict> + <key>Rename</key> + <string>Themes_(SpringBoard)</string> + </dict> + + <key>Themes_(Systen)</key> + <dict> + <key>Rename</key> + <string>Themes_(System)</string> + </dict> + + <key>Intelliborn</key> + <dict> + <key>Rename</key> + <string>Utilities</string> + </dict> + + <key>SMS</key> + <dict> + <key>Rename</key> + <string>Messaging</string> + </dict> + + <key>CarrierBundle</key> + <dict> + <key>Rename</key> + <string>Carrier_Bundles</string> + </dict> + + <key>Messages</key> + <dict> + <key>Rename</key> + <string>Messaging</string> + </dict> + + <key>Themes_(Locksceen)</key> + <dict> + <key>Rename</key> + <string>Themes_(LockScreen)</string> + </dict> + + <key>Themes_(Lockscree)</key> + <dict> + <key>Rename</key> + <string>Themes_(LockScreen)</string> + </dict> + + <key>Themes_(Losckscreen)</key> + <dict> + <key>Rename</key> + <string>Themes_(LockScreen)</string> + </dict> + + <key>Themes_(Video)</key> + <dict> + <key>Rename</key> + <string>Themes_(Videos)</string> + </dict> + + <key>Utilites</key> + <dict> + <key>Rename</key> + <string>Utilities</string> + </dict> + + <key>Themes_(Lockscreen)</key> + <dict> + <key>Rename</key> + <string>Themes_(LockScreen)</string> + </dict> + + <key>Themes_(Complet)</key> + <dict> + <key>Rename</key> + <string>Themes_(Complete)</string> + </dict> + + <key>Themes_(Widgets)</key> + <dict> + <key>Rename</key> + <string>Themes_(Addons)</string> + </dict> + + <key>Wallpapers</key> + <dict> + <key>Rename</key> + <string>Wallpaper</string> + </dict> + + <key>Messageing</key> + <dict> + <key>Rename</key> + <string>Messaging</string> + </dict> + + <key>Network</key> + <dict> + <key>Rename</key> + <string>Networking</string> + </dict> + + <key>Ringtone</key> + <dict> + <key>Rename</key> + <string>Ringtones</string> + </dict> + + <key>Tweak</key> + <dict> + <key>Rename</key> + <string>Tweaks</string> + </dict> + + <key>Tweaks_2.0</key> + <dict> + <key>Rename</key> + <string>Tweaks_(2.0)</string> + </dict> + + <key>Tweaks_2.1</key> + <dict> + <key>Rename</key> + <string>Tweaks_(2.1)</string> + </dict> + + <key>Tweaks_2.2</key> + <dict> + <key>Rename</key> + <string>Tweaks_(2.2)</string> + </dict> + + <key>Tweaks_3.0</key> + <dict> + <key>Rename</key> + <string>Tweaks_(3.0)</string> + </dict> + + <key>SBSettings_Addons</key> + <dict> + <key>Rename</key> + <string>Addons_(SBSettings)</string> + </dict> + + <key>LockInfo_Addons</key> + <dict> + <key>Rename</key> + <string>Addons_(LockInfo)</string> + </dict> + + <key>App_Addons</key> + <dict> + <key>Rename</key> + <string>Addons</string> + </dict> + + <key>App_Addons_(Iconoclasm)</key> + <dict> + <key>Rename</key> + <string>Addons_(Iconoclasm)</string> + </dict> + + <key>BossPaper_Addons</key> + <dict> + <key>Rename</key> + <string>Addons_(BossPaper)</string> + </dict> +</dict> + +</plist> diff --git a/MobileCydia.app/Sections/Administration.png b/MobileCydia.app/Sections/Administration.png Binary files differnew file mode 100644 index 0000000..65efd3e --- /dev/null +++ b/MobileCydia.app/Sections/Administration.png diff --git a/MobileCydia.app/Sections/App Addons.png b/MobileCydia.app/Sections/App Addons.png Binary files differnew file mode 100644 index 0000000..424f565 --- /dev/null +++ b/MobileCydia.app/Sections/App Addons.png diff --git a/MobileCydia.app/Sections/Archiving.png b/MobileCydia.app/Sections/Archiving.png Binary files differnew file mode 100644 index 0000000..9efce56 --- /dev/null +++ b/MobileCydia.app/Sections/Archiving.png diff --git a/MobileCydia.app/Sections/Blanks.png b/MobileCydia.app/Sections/Blanks.png Binary files differnew file mode 100644 index 0000000..7c0c2a0 --- /dev/null +++ b/MobileCydia.app/Sections/Blanks.png diff --git a/MobileCydia.app/Sections/Carrier Bundles.png b/MobileCydia.app/Sections/Carrier Bundles.png Binary files differnew file mode 100644 index 0000000..00f36f7 --- /dev/null +++ b/MobileCydia.app/Sections/Carrier Bundles.png diff --git a/MobileCydia.app/Sections/Communication.png b/MobileCydia.app/Sections/Communication.png Binary files differnew file mode 100644 index 0000000..00f36f7 --- /dev/null +++ b/MobileCydia.app/Sections/Communication.png diff --git a/MobileCydia.app/Sections/Data Storage.png b/MobileCydia.app/Sections/Data Storage.png Binary files differnew file mode 100644 index 0000000..1bb23fe --- /dev/null +++ b/MobileCydia.app/Sections/Data Storage.png diff --git a/MobileCydia.app/Sections/Development.png b/MobileCydia.app/Sections/Development.png Binary files differnew file mode 100644 index 0000000..806b442 --- /dev/null +++ b/MobileCydia.app/Sections/Development.png diff --git a/MobileCydia.app/Sections/Dictionaries.png b/MobileCydia.app/Sections/Dictionaries.png Binary files differnew file mode 100644 index 0000000..e386e76 --- /dev/null +++ b/MobileCydia.app/Sections/Dictionaries.png diff --git a/MobileCydia.app/Sections/Education.png b/MobileCydia.app/Sections/Education.png Binary files differnew file mode 100644 index 0000000..4a2a03f --- /dev/null +++ b/MobileCydia.app/Sections/Education.png diff --git a/MobileCydia.app/Sections/Entertainment.png b/MobileCydia.app/Sections/Entertainment.png Binary files differnew file mode 100644 index 0000000..69c8214 --- /dev/null +++ b/MobileCydia.app/Sections/Entertainment.png diff --git a/MobileCydia.app/Sections/Games.png b/MobileCydia.app/Sections/Games.png Binary files differnew file mode 100644 index 0000000..6e14c50 --- /dev/null +++ b/MobileCydia.app/Sections/Games.png diff --git a/MobileCydia.app/Sections/Health and Fitness.png b/MobileCydia.app/Sections/Health and Fitness.png Binary files differnew file mode 100644 index 0000000..e2db013 --- /dev/null +++ b/MobileCydia.app/Sections/Health and Fitness.png diff --git a/MobileCydia.app/Sections/Imaging.png b/MobileCydia.app/Sections/Imaging.png Binary files differnew file mode 100644 index 0000000..1e8f7fa --- /dev/null +++ b/MobileCydia.app/Sections/Imaging.png diff --git a/MobileCydia.app/Sections/Java.png b/MobileCydia.app/Sections/Java.png Binary files differnew file mode 100644 index 0000000..e6bbc91 --- /dev/null +++ b/MobileCydia.app/Sections/Java.png diff --git a/MobileCydia.app/Sections/Keyboards.png b/MobileCydia.app/Sections/Keyboards.png Binary files differnew file mode 100644 index 0000000..6b3df89 --- /dev/null +++ b/MobileCydia.app/Sections/Keyboards.png diff --git a/MobileCydia.app/Sections/Localization.png b/MobileCydia.app/Sections/Localization.png Binary files differnew file mode 100644 index 0000000..80d41d3 --- /dev/null +++ b/MobileCydia.app/Sections/Localization.png diff --git a/MobileCydia.app/Sections/Messaging.png b/MobileCydia.app/Sections/Messaging.png Binary files differnew file mode 100644 index 0000000..69d18e0 --- /dev/null +++ b/MobileCydia.app/Sections/Messaging.png diff --git a/MobileCydia.app/Sections/Multimedia.png b/MobileCydia.app/Sections/Multimedia.png Binary files differnew file mode 100644 index 0000000..42d0b5e --- /dev/null +++ b/MobileCydia.app/Sections/Multimedia.png diff --git a/MobileCydia.app/Sections/Navigation.png b/MobileCydia.app/Sections/Navigation.png Binary files differnew file mode 100644 index 0000000..4829e62 --- /dev/null +++ b/MobileCydia.app/Sections/Navigation.png diff --git a/MobileCydia.app/Sections/Networking.png b/MobileCydia.app/Sections/Networking.png Binary files differnew file mode 100644 index 0000000..a4f04e3 --- /dev/null +++ b/MobileCydia.app/Sections/Networking.png diff --git a/MobileCydia.app/Sections/Packaging.png b/MobileCydia.app/Sections/Packaging.png Binary files differnew file mode 100644 index 0000000..d7d914e --- /dev/null +++ b/MobileCydia.app/Sections/Packaging.png diff --git a/MobileCydia.app/Sections/Planet-iPhones Mods.png b/MobileCydia.app/Sections/Planet-iPhones Mods.png Binary files differnew file mode 100644 index 0000000..e641970 --- /dev/null +++ b/MobileCydia.app/Sections/Planet-iPhones Mods.png diff --git a/MobileCydia.app/Sections/Productivity.png b/MobileCydia.app/Sections/Productivity.png Binary files differnew file mode 100644 index 0000000..c99c69d --- /dev/null +++ b/MobileCydia.app/Sections/Productivity.png diff --git a/MobileCydia.app/Sections/Repositories.png b/MobileCydia.app/Sections/Repositories.png Binary files differnew file mode 100644 index 0000000..d6fe267 --- /dev/null +++ b/MobileCydia.app/Sections/Repositories.png diff --git a/MobileCydia.app/Sections/Ringtones.png b/MobileCydia.app/Sections/Ringtones.png Binary files differnew file mode 100644 index 0000000..57fd660 --- /dev/null +++ b/MobileCydia.app/Sections/Ringtones.png diff --git a/MobileCydia.app/Sections/SBSettings Addons.png b/MobileCydia.app/Sections/SBSettings Addons.png Binary files differnew file mode 100644 index 0000000..571555a --- /dev/null +++ b/MobileCydia.app/Sections/SBSettings Addons.png diff --git a/MobileCydia.app/Sections/Scripting.png b/MobileCydia.app/Sections/Scripting.png Binary files differnew file mode 100644 index 0000000..22285d2 --- /dev/null +++ b/MobileCydia.app/Sections/Scripting.png diff --git a/MobileCydia.app/Sections/Security.png b/MobileCydia.app/Sections/Security.png Binary files differnew file mode 100644 index 0000000..ae142eb --- /dev/null +++ b/MobileCydia.app/Sections/Security.png diff --git a/MobileCydia.app/Sections/Social.png b/MobileCydia.app/Sections/Social.png Binary files differnew file mode 100644 index 0000000..6c0cfa4 --- /dev/null +++ b/MobileCydia.app/Sections/Social.png diff --git a/MobileCydia.app/Sections/System.png b/MobileCydia.app/Sections/System.png Binary files differnew file mode 100644 index 0000000..19d2c22 --- /dev/null +++ b/MobileCydia.app/Sections/System.png diff --git a/MobileCydia.app/Sections/Terminal Support.png b/MobileCydia.app/Sections/Terminal Support.png Binary files differnew file mode 100644 index 0000000..d664618 --- /dev/null +++ b/MobileCydia.app/Sections/Terminal Support.png diff --git a/MobileCydia.app/Sections/Text Editors.png b/MobileCydia.app/Sections/Text Editors.png Binary files differnew file mode 100644 index 0000000..5e65d46 --- /dev/null +++ b/MobileCydia.app/Sections/Text Editors.png diff --git a/MobileCydia.app/Sections/Themes.png b/MobileCydia.app/Sections/Themes.png Binary files differnew file mode 100644 index 0000000..e35b948 --- /dev/null +++ b/MobileCydia.app/Sections/Themes.png diff --git a/MobileCydia.app/Sections/Toys.png b/MobileCydia.app/Sections/Toys.png Binary files differnew file mode 100644 index 0000000..368eb4c --- /dev/null +++ b/MobileCydia.app/Sections/Toys.png diff --git a/MobileCydia.app/Sections/Tweaks.png b/MobileCydia.app/Sections/Tweaks.png Binary files differnew file mode 100644 index 0000000..4f588c6 --- /dev/null +++ b/MobileCydia.app/Sections/Tweaks.png diff --git a/MobileCydia.app/Sections/Utilities.png b/MobileCydia.app/Sections/Utilities.png Binary files differnew file mode 100644 index 0000000..fab5d32 --- /dev/null +++ b/MobileCydia.app/Sections/Utilities.png diff --git a/MobileCydia.app/Sections/Wallpaper.png b/MobileCydia.app/Sections/Wallpaper.png Binary files differnew file mode 100644 index 0000000..1060fa0 --- /dev/null +++ b/MobileCydia.app/Sections/Wallpaper.png diff --git a/MobileCydia.app/Sections/WebClips.png b/MobileCydia.app/Sections/WebClips.png Binary files differnew file mode 100644 index 0000000..7ed4053 --- /dev/null +++ b/MobileCydia.app/Sections/WebClips.png diff --git a/MobileCydia.app/Sections/Widgets.png b/MobileCydia.app/Sections/Widgets.png Binary files differnew file mode 100644 index 0000000..ca8c1ef --- /dev/null +++ b/MobileCydia.app/Sections/Widgets.png diff --git a/MobileCydia.app/Sections/X Window.png b/MobileCydia.app/Sections/X Window.png Binary files differnew file mode 100644 index 0000000..eac01e9 --- /dev/null +++ b/MobileCydia.app/Sections/X Window.png diff --git a/MobileCydia.app/Sections/eBooks.png b/MobileCydia.app/Sections/eBooks.png Binary files differnew file mode 100644 index 0000000..512c68b --- /dev/null +++ b/MobileCydia.app/Sections/eBooks.png diff --git a/MobileCydia.app/Sources/cy.sosiphone.com.png b/MobileCydia.app/Sources/cy.sosiphone.com.png Binary files differnew file mode 100644 index 0000000..b848d95 --- /dev/null +++ b/MobileCydia.app/Sources/cy.sosiphone.com.png diff --git a/MobileCydia.app/Sources/iphone.hackndev.org.png b/MobileCydia.app/Sources/iphone.hackndev.org.png Binary files differnew file mode 100644 index 0000000..1f701df --- /dev/null +++ b/MobileCydia.app/Sources/iphone.hackndev.org.png diff --git a/MobileCydia.app/Sources/iphonehe.com.png b/MobileCydia.app/Sources/iphonehe.com.png Binary files differnew file mode 100644 index 0000000..b20263e --- /dev/null +++ b/MobileCydia.app/Sources/iphonehe.com.png diff --git a/MobileCydia.app/Sources/urbanfanatics.com.png b/MobileCydia.app/Sources/urbanfanatics.com.png Binary files differnew file mode 100644 index 0000000..9cf47c4 --- /dev/null +++ b/MobileCydia.app/Sources/urbanfanatics.com.png diff --git a/MobileCydia.app/Sources/www.zodttd.com.png b/MobileCydia.app/Sources/www.zodttd.com.png Binary files differnew file mode 100644 index 0000000..83a3b33 --- /dev/null +++ b/MobileCydia.app/Sources/www.zodttd.com.png diff --git a/MobileCydia.app/Test b/MobileCydia.app/Test new file mode 100755 index 0000000..123c7eb --- /dev/null +++ b/MobileCydia.app/Test @@ -0,0 +1,9 @@ +#!/bin/bash +killall Cydia_ +set -e +rsync -SPaz --copy-links saurik@carrier.saurik.com:menes/cydia/cydia_iphoneos-arm.deb . +dpkg -i cydia_iphoneos-arm.deb +touch /tmp/cydia.log +chown mobile.mobile /tmp/cydia.log +uiopen "${1-cydia://}" +exec tail /var/log/syslog /tmp/cydia.log -fn0 diff --git a/MobileCydia.app/advanced.png b/MobileCydia.app/advanced.png Binary files differnew file mode 100644 index 0000000..419ba52 --- /dev/null +++ b/MobileCydia.app/advanced.png diff --git a/MobileCydia.app/changes.png b/MobileCydia.app/changes.png Binary files differnew file mode 100644 index 0000000..654208f --- /dev/null +++ b/MobileCydia.app/changes.png diff --git a/MobileCydia.app/changes@2x.png b/MobileCydia.app/changes@2x.png Binary files differnew file mode 100644 index 0000000..aa6a29a --- /dev/null +++ b/MobileCydia.app/changes@2x.png diff --git a/MobileCydia.app/chevron@2x.png b/MobileCydia.app/chevron@2x.png Binary files differnew file mode 100644 index 0000000..9905c17 --- /dev/null +++ b/MobileCydia.app/chevron@2x.png diff --git a/MobileCydia.app/commercial.png b/MobileCydia.app/commercial.png Binary files differnew file mode 100644 index 0000000..8599f48 --- /dev/null +++ b/MobileCydia.app/commercial.png diff --git a/MobileCydia.app/compose.png b/MobileCydia.app/compose.png Binary files differnew file mode 100644 index 0000000..1141d5d --- /dev/null +++ b/MobileCydia.app/compose.png diff --git a/MobileCydia.app/configure.png b/MobileCydia.app/configure.png Binary files differnew file mode 100644 index 0000000..c27618d --- /dev/null +++ b/MobileCydia.app/configure.png diff --git a/MobileCydia.app/confirm.html b/MobileCydia.app/confirm.html new file mode 100644 index 0000000..5a4ed55 --- /dev/null +++ b/MobileCydia.app/confirm.html @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-16"?> +<html><head> + <title localize="CONFIRM"></title> + <meta name="viewport" content="width=320, minimum-scale=1.0, maximum-scale=1.0"/> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <link rel="stylesheet" type="text/css" href="menes/style.css"/> + <script type="text/javascript" src="menes/menes.js"></script> + <script type="text/javascript" src="confirm.js"></script> + <script type="text/javascript" src="localize.js"></script> + <base target="_blank"/> +</head><body class="pinstripe"> +<panel id="issues"> + +<fieldset class="issues"> + <div><p><span style="color: red; font-weight: bold" localize="NOTE"></span>: <span localize="CANNOT_COMPLY_EX"></span></p></div> +</fieldset> + +<label class="_issues" localize="STATISTICS"></label> +<fieldset class="_issues"> + <div class="downloading"><div> + <label localize="DOWNLOADING"></label> + <label id="downloading"></label> + </div></div> + + <div class="resuming"><div> + <label localize="RESUMING_AT"></label> + <label id="resuming"></label> + </div></div> +</fieldset> + +<label localize="MODIFICATIONS"></label> +<fieldset id="modifications"> +</fieldset> + +<fieldset class="queue" style="margin-top: 25px;"> +<a href="javascript:queue();" style="text-align: center; color: #2a3f70; font-size: 15px; background-image: none;"> + <label localize="CONTINUE_QUEUING"></label> +</div></a> +</fieldset> + +</panel> +</body></html> diff --git a/MobileCydia.app/confirm.js b/MobileCydia.app/confirm.js new file mode 100644 index 0000000..efffdc4 --- /dev/null +++ b/MobileCydia.app/confirm.js @@ -0,0 +1,73 @@ +$(function () { + if (issues == null) { + $(".issues").remove(); + + var downloading = sizes[0]; + if (downloading == "0.0 B") + $(".downloading").remove(); + else + $("#downloading").html($.xml(downloading)); + + var resuming = sizes[1]; + if (resuming == "0.0 B") + $(".resuming").remove(); + else + $("#resuming").html($.xml(resuming)); + } else for (var i = 0; i != issues.length; ++i) { + document.title = cydia.localize("CANNOT_COMPLY"); + + $(".queue").remove(); + + $("._issues").remove(); + + var issue = issues[i]; + + $("#issues").append( + "<label style=\"color: #704d4d\">" + $.xml(issue[0]) + "</label>" + + "<fieldset style=\"background-color: #dddddd\" class=\"clearfix\" id=\"i" + i + "\"></fieldset>" + ); + + for (var j = 1; j != issue.length; ++j) { + var entry = issue[j]; + var type = entry[0]; + if (type == "PreDepends") + type = "Depends"; + var version = entry[1]; + if (entry.length >= 4) + version += " " + entry[3]; + $("#i" + i).append("<div class=\"clearfix\"><div>" + + "<label>" + $.xml(type) + "</label>" + + "<label>" + $.xml(version) + "</label>" + + "</div></div>"); + } + } + + var keys = [ + "INSTALL", + "REINSTALL", + "UPGRADE", + "DOWNGRADE", + "REMOVE" + ]; + + for (var i = 0; i != 5; ++i) { + var list = changes[i]; + var length = list.length; + + if (length != 0) { + $("#modifications").append("<div class=\"clearfix\"><div>" + + "<label>" + cydia.localize($.xml(keys[i])) + "</label>" + + "<label id=\"c" + i + "\"></label>" + + "</div></div>"); + + var value = ""; + for (var j = 0; j != length; ++j) { + if (j != 0) + value += "<br/>"; + value += $.xml(list[j]); + } + + $("#c" + i).html(value); + } + } +}); diff --git a/MobileCydia.app/console.png b/MobileCydia.app/console.png Binary files differnew file mode 100644 index 0000000..dba3788 --- /dev/null +++ b/MobileCydia.app/console.png diff --git a/MobileCydia.app/email.png b/MobileCydia.app/email.png Binary files differnew file mode 100644 index 0000000..1aa20b3 --- /dev/null +++ b/MobileCydia.app/email.png diff --git a/MobileCydia.app/error.html b/MobileCydia.app/error.html new file mode 100644 index 0000000..a68ff76 --- /dev/null +++ b/MobileCydia.app/error.html @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-16"?> +<html><head> + <title localize="NETWORK_ERROR"></title> + <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <script type="text/javascript" src="menes/menes.js"></script> + <script type="text/javascript" src="localize.js"></script> + <base target="_blank"/> + + <style> + body { + background: #c7ced5 url(cydia://uikit-image/UIPinstripe.png); + background-size: 7px 1px; + display: table; + font-family: Helvetica; + height: 337px; + margin: 0; + text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0 + } + + div.page { + display: table-cell; + text-align: center; + margin: 0 auto; + vertical-align: middle; + width: 320px; + } + + div.title { + font-size: 32px; + } + + div.error { + font-size: 24px; + } + </style> +</head><body><div class="page"> + +<div class="title" localize="UNABLE_TO_LOAD"></div> + +<div class="error">(<script> + document.write(decodeURI(location.search.substring(1))); +</script>)</div> + +</div></body></html> diff --git a/MobileCydia.app/expanded.png b/MobileCydia.app/expanded.png Binary files differnew file mode 100644 index 0000000..9efce56 --- /dev/null +++ b/MobileCydia.app/expanded.png diff --git a/MobileCydia.app/filesystem.png b/MobileCydia.app/filesystem.png Binary files differnew file mode 100644 index 0000000..1bb23fe --- /dev/null +++ b/MobileCydia.app/filesystem.png diff --git a/MobileCydia.app/folder.png b/MobileCydia.app/folder.png Binary files differnew file mode 100644 index 0000000..b628e95 --- /dev/null +++ b/MobileCydia.app/folder.png diff --git a/MobileCydia.app/folder@2x.png b/MobileCydia.app/folder@2x.png Binary files differnew file mode 100644 index 0000000..af3009c --- /dev/null +++ b/MobileCydia.app/folder@2x.png diff --git a/MobileCydia.app/green-dn.png b/MobileCydia.app/green-dn.png Binary files differnew file mode 100644 index 0000000..c311acd --- /dev/null +++ b/MobileCydia.app/green-dn.png diff --git a/MobileCydia.app/green-up.png b/MobileCydia.app/green-up.png Binary files differnew file mode 100644 index 0000000..c335b24 --- /dev/null +++ b/MobileCydia.app/green-up.png diff --git a/MobileCydia.app/home-Selected.png b/MobileCydia.app/home-Selected.png Binary files differnew file mode 100644 index 0000000..c02c120 --- /dev/null +++ b/MobileCydia.app/home-Selected.png diff --git a/MobileCydia.app/home-Selected@2x.png b/MobileCydia.app/home-Selected@2x.png Binary files differnew file mode 100644 index 0000000..748be33 --- /dev/null +++ b/MobileCydia.app/home-Selected@2x.png diff --git a/MobileCydia.app/home.png b/MobileCydia.app/home.png Binary files differnew file mode 100644 index 0000000..0611697 --- /dev/null +++ b/MobileCydia.app/home.png diff --git a/MobileCydia.app/home@2x.png b/MobileCydia.app/home@2x.png Binary files differnew file mode 100644 index 0000000..72b7297 --- /dev/null +++ b/MobileCydia.app/home@2x.png diff --git a/MobileCydia.app/icon-72.png b/MobileCydia.app/icon-72.png Binary files differnew file mode 100644 index 0000000..1dbce13 --- /dev/null +++ b/MobileCydia.app/icon-72.png diff --git a/MobileCydia.app/icon.png b/MobileCydia.app/icon.png Binary files differnew file mode 100644 index 0000000..61d51dd --- /dev/null +++ b/MobileCydia.app/icon.png diff --git a/MobileCydia.app/icon@2x.png b/MobileCydia.app/icon@2x.png Binary files differnew file mode 100644 index 0000000..1ec010c --- /dev/null +++ b/MobileCydia.app/icon@2x.png diff --git a/MobileCydia.app/iconClassic.png b/MobileCydia.app/iconClassic.png Binary files differnew file mode 100644 index 0000000..384c582 --- /dev/null +++ b/MobileCydia.app/iconClassic.png diff --git a/MobileCydia.app/id.png b/MobileCydia.app/id.png Binary files differnew file mode 100644 index 0000000..f168812 --- /dev/null +++ b/MobileCydia.app/id.png diff --git a/MobileCydia.app/install.png b/MobileCydia.app/install.png Binary files differnew file mode 100644 index 0000000..9e30898 --- /dev/null +++ b/MobileCydia.app/install.png diff --git a/MobileCydia.app/install@2x.png b/MobileCydia.app/install@2x.png Binary files differnew file mode 100644 index 0000000..dfb8212 --- /dev/null +++ b/MobileCydia.app/install@2x.png diff --git a/MobileCydia.app/installed.png b/MobileCydia.app/installed.png Binary files differnew file mode 100644 index 0000000..2f86f0a --- /dev/null +++ b/MobileCydia.app/installed.png diff --git a/MobileCydia.app/installed@2x.png b/MobileCydia.app/installed@2x.png Binary files differnew file mode 100644 index 0000000..ab86df2 --- /dev/null +++ b/MobileCydia.app/installed@2x.png diff --git a/MobileCydia.app/installing.png b/MobileCydia.app/installing.png Binary files differnew file mode 100644 index 0000000..6332fef --- /dev/null +++ b/MobileCydia.app/installing.png diff --git a/MobileCydia.app/loading.html b/MobileCydia.app/loading.html new file mode 100644 index 0000000..33b2637 --- /dev/null +++ b/MobileCydia.app/loading.html @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-16"?> +<html><head> + <title>Loading</title> + <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <link rel="stylesheet" type="text/css" href="menes/style.css"/> + <base target="_blank"/> +</head><body> + <div style="padding: 5px 7px"> + <span style="color: #4d4d70; font-weight: normal; font-size: 16px"> + <div style="display: inline-block; background-image: url(menes/indicator-c7ced5-4d4d70.gif); width: 16px; height: 16px; margin: 2px 0 -2px 0"></div> + <span style="margin: 0 4px">Loading...</span> + </span> + </div> +</body></html> diff --git a/MobileCydia.app/localize.js b/MobileCydia.app/localize.js new file mode 100644 index 0000000..9be82d0 --- /dev/null +++ b/MobileCydia.app/localize.js @@ -0,0 +1,15 @@ +document.addEventListener("DOMContentLoaded", function () { + var results = document.evaluate("//*[@localize]", document, null, XPathResult.ANY_TYPE, null); + var result, nodes = []; + while (result = results.iterateNext()) + nodes.push(result); + for (var index in nodes) { + var node = nodes[index]; + var key = node.getAttribute('localize'); + var value = cydia.localize(key, node.innerHTML); + if (node.nodeName == 'TITLE') + document.title = value; + else + node.innerHTML = value; + } +}); diff --git a/MobileCydia.app/manage.html b/MobileCydia.app/manage.html new file mode 100644 index 0000000..bba3762 --- /dev/null +++ b/MobileCydia.app/manage.html @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-16"?> +<html><head> + <title localize="MANAGE"></title> + <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <script type="text/javascript" src="menes/menes.js"></script> + <script type="text/javascript" src="localize.js"></script> + <base target="_blank"/> + + <style> + body { + background: #c7ced5 url(cydia://uikit-image/UIPinstripe.png); + background-size: 7px 1px; + display: table; + font-family: Helvetica; + height: 337px; + margin: 0; + padding: 0; + -webkit-text-size-adjust: none; + -webkit-user-select: none; + } + + div.page { + display: table-cell; + text-align: center; + margin: 0 auto; + vertical-align: middle; + width: 320px; + } + + a.giant-button { + background-color: rgba(0, 0, 0, .15); + -webkit-border-radius: 10px; + color: #193250; + display: block; + margin: 10px; + text-decoration: none; + } + + a.giant-button > img { + display: inline-block; + float: left; + height: 80px; + margin: 10px -10px 0 10px; + width: 80px; + vertical-align: middle; + } + + a.giant-button > div.contents { + display: inline-block; + width: 190px; + margin: 5px 10px 17px 10px; + } + + a.giant-button > div.contents > label { + display: block; + font-size: 28px; + margin: 8px 0 8px 0; + text-align: center; + text-shadow: rgba(200, 200, 200, 0.75) 1px 1px 0; + } + + a.giant-button > div.contents > div { + display: block; + font-size: 14px; + margin-left: 4px; + text-align: center; + } + </style> +</head><body><div class="page"> +<div class="dialog"> + <div class="panel"> + +<a href="cydia://packages" class="giant-button"> + <img src="packages.png"/> + <div class="contents"> + <label localize="PACKAGES"></label> + <div localize="PACKAGES_EX"></div> + </div> +</a> + +<a href="cydia://sources" class="giant-button"> + <img src="sources.png"/> + <div class="contents"> + <label localize="SOURCES"></label> + <div localize="SOURCES_EX"></div> + </div> +</a> + +<a href="cydia://storage" class="giant-button"> + <img src="storage.png"/> + <div class="contents"> + <label localize="STORAGE"></label> + <div localize="STORAGE_EX"></div> + </div> +</a> + + </div> +</div> +</div></body></html> diff --git a/MobileCydia.app/manage.png b/MobileCydia.app/manage.png Binary files differnew file mode 100644 index 0000000..9513a7c --- /dev/null +++ b/MobileCydia.app/manage.png diff --git a/MobileCydia.app/manage@2x.png b/MobileCydia.app/manage@2x.png Binary files differnew file mode 100644 index 0000000..cfb8c13 --- /dev/null +++ b/MobileCydia.app/manage@2x.png diff --git a/MobileCydia.app/menes/chevron.png b/MobileCydia.app/menes/chevron.png Binary files differnew file mode 100644 index 0000000..6ff8205 --- /dev/null +++ b/MobileCydia.app/menes/chevron.png diff --git a/MobileCydia.app/menes/chevron@2x.png b/MobileCydia.app/menes/chevron@2x.png Binary files differnew file mode 100644 index 0000000..9905c17 --- /dev/null +++ b/MobileCydia.app/menes/chevron@2x.png diff --git a/MobileCydia.app/menes/indicator-c7ced5-4d4d70.gif b/MobileCydia.app/menes/indicator-c7ced5-4d4d70.gif Binary files differnew file mode 100644 index 0000000..e41bb96 --- /dev/null +++ b/MobileCydia.app/menes/indicator-c7ced5-4d4d70.gif diff --git a/MobileCydia.app/menes/menes.js b/MobileCydia.app/menes/menes.js new file mode 100644 index 0000000..dc210bb --- /dev/null +++ b/MobileCydia.app/menes/menes.js @@ -0,0 +1,575 @@ +/* XXX: this message is ultra-lame */ +var _assert = function (expr, value) { + if (!expr) { + var message = "_assert(" + value + ")"; + console.log(message); + throw message; + } +} + +// Compatibility {{{ +if (typeof Array.prototype.push != "function") + Array.prototype.push = function (value) { + this[this.length] = value; + }; +// }}} + +var $ = function (arg, doc) { + if (this.magic_ != $.prototype.magic_) + return new $(arg); + + if (arg == null) + arg = []; + + var type = $.type(arg); + + if (type == "function") + $.ready(arg); + else if (type == "string") { + if (typeof doc == 'undefined') + doc = document; + if (arg.charAt(0) == '#') { + /* XXX: this is somewhat incorrect-a-porter */ + var element = doc.getElementById(arg.substring(1)); + return $(element == null ? [] : [element]); + } else if (arg.charAt(0) == '.') + return $(doc.getElementsByClassName(arg.substring(1))); + else + return $([doc]).descendants(arg); + } else if (typeof arg.length != 'undefined') { + _assert(typeof doc == 'undefined', "non-query with document to $"); + this.set(arg); + return this; + } else _assert(false, "unknown argument to $: " + typeof arg); +}; + +$.xml = function (value) { + return value + .replace(/&/, "&") + .replace(/</, "<") + .replace(/>/, ">") + .replace(/"/, """) + .replace(/'/, "'") + ; +} + +$.type = function (value) { + var type = typeof value; + + if ((type == "function" || type == "object") && value.toString != null) { + var string = value.toString(); + if (string.substring(0, 8) == "[object ") + return string.substring(8, string.length - 1); + } + + return type; +}; + +(function () { + var ready_ = null; + + $.ready = function (_function) { + if (ready_ == null) { + ready_ = []; + + document.addEventListener("DOMContentLoaded", function () { + for (var i = 0; i != ready_.length; ++i) + ready_[i](); + }, false); + } + + ready_.push(_function); + }; +})(); + +/* XXX: verify arg3 overflow */ +$.each = function (values, _function, arg0, arg1, arg2) { + for (var i = 0, e = values.length; i != e; ++i) + _function(values[i], arg0, arg1, arg2); +}; + +/* XXX: verify arg3 overflow */ +$.map = function (values, _function, arg0, arg1, arg2) { + var mapped = []; + for (var i = 0, e = values.length; i != e; ++i) + mapped.push(_function(values[i], arg0, arg1, arg2)); + return mapped; +}; + +$.array = function (values) { + if (values.constructor == Array) + return values; + _assert(typeof values.length != 'undefined', "$.array on underlying non-array"); + var array = []; + for (var i = 0; i != values.length; ++i) + array.push(values[i]); + return array; +}; + +$.document = function (node) { + for (;;) { + var parent = node.parentNode; + if (parent == null) + return node; + node = parent; + } +}; + +$.reclass = function (_class) { + return new RegExp('(\\s|^)' + _class + '(\\s|$)'); +}; + +$.prototype = { + magic_: 2041085062, + + add: function (nodes) { + Array.prototype.push.apply(this, $.array(nodes)); + }, + + at: function (name, value) { + if (typeof value == 'undefined') + return $.map(this, function (node) { + return node.getAttribute(name); + }); + else if (value == null) + $.each(this, function (node) { + node.removeAttribute(); + }); + else + $.each(this, function (node) { + node.setAttribute(name, value); + }); + }, + + set: function (nodes) { + this.length = 0; + this.add(nodes); + }, + + /* XXX: verify arg3 overflow */ + each: function (_function, arg0, arg1, arg2) { + $.each(this, function (node) { + _function($([node]), arg0, arg1, arg2); + }); + }, + + css: function (name, value) { + $.each(this, function (node) { + node.style[name] = value; + }); + }, + + addClass: function (_class) { + $.each(this, function (node) { + if (!$([node]).hasClass(_class)[0]) + node.className += " " + _class; + }); + }, + + blur: function () { + $.each(this, function (node) { + node.blur(); + }); + }, + + focus: function () { + $.each(this, function (node) { + node.focus(); + }); + }, + + removeClass: function (_class) { + $.each(this, function (node) { + node.className = node.className.replace($.reclass(_class), ' '); + }); + }, + + hasClass: function (_class) { + return $.map(this, function (node) { + return node.className.match($.reclass(_class)); + }); + }, + + append: function (children) { + if ($.type(children) == "string") + $.each(this, function (node) { + var doc = $.document(node); + + // XXX: implement wrapper system + var div = doc.createElement("div"); + div.innerHTML = children; + + while (div.childNodes.length != 0) { + var child = div.childNodes[0]; + node.appendChild(child); + } + }); + else + $.each(this, function (node) { + $.each(children, function (child) { + node.appendChild(child); + }); + }); + }, + + xpath: function (expression) { + var value = $([]); + + $.each(this, function (node) { + var doc = $.document(node); + var results = doc.evaluate(expression, node, null, XPathResult.ANY_TYPE, null); + var result; + while (result = results.iterateNext()) + value.add([result]); + }); + + return value; + }, + + clone: function (deep) { + return $($.map(this, function (node) { + return node.cloneNode(deep); + })); + }, + + descendants: function (expression) { + var descendants = $([]); + + $.each(this, function (node) { + var nodes = node.getElementsByTagName(expression); + descendants.add(nodes); + }); + + return descendants; + }, + + remove: function () { + $.each(this, function (node) { + node.parentNode.removeChild(node); + }); + } +}; + +$.scroll = function (x, y) { + window.scrollTo(x, y); +}; + +// XXX: document.all? +$.all = function (doc) { + if (typeof doc == 'undefined') + doc = document; + return $(doc.getElementsByTagName("*")); +}; + +$.inject = function (a, b) { + if ($.type(a) == "string") { + $.prototype[a] = function (value) { + if (typeof value == 'undefined') + return $.map(this, function (node) { + return b.get(node); + }); + else + $.each(this, function (node, value) { + b.set(node, value); + }, value); + }; + } else for (var name in a) + $.inject(name, a[name]); +}; + +$.inject({ + _default: { + get: function (node) { + return node.style.defaultValue; + }, + set: function (node, value) { + node.style.defaultValue = value; + } + }, + + height: { + get: function (node) { + return node.height; + }, + set: function (node, value) { + node.height = value; + } + }, + + html: { + get: function (node) { + return node.innerHTML; + }, + set: function (node, value) { + node.innerHTML = value; + } + }, + + href: { + get: function (node) { + return node.href; + }, + set: function (node, value) { + node.href = value; + } + }, + + name: { + get: function (node) { + return node.name; + }, + set: function (node, value) { + node.name = value; + } + }, + + parent: { + get: function (node) { + return node.parentNode; + } + }, + + src: { + get: function (node) { + return node.src; + }, + set: function (node, value) { + node.src = value; + } + }, + + type: { + get: function (node) { + return node.localName; + } + }, + + value: { + get: function (node) { + return node.value; + }, + set: function (node, value) { + // XXX: do I really need this? + if (true || node.localName != "select") + node.value = value; + else { + var options = node.options; + for (var i = 0, e = options.length; i != e; ++i) + if (options[i].value == value) { + if (node.selectedIndex != i) + node.selectedIndex = i; + break; + } + } + } + }, + + width: { + get: function (node) { + return node.offsetWidth; + } + } +}); + +// Query String Parsing {{{ +$.query = function () { + var args = {}; + + var search = location.search; + if (search != null) { + _assert(search[0] == "?", "query string without ?"); + + var values = search.substring(1).split("&"); + for (var index in values) { + var value = values[index] + var equal = value.indexOf("="); + var name; + + if (equal == -1) { + name = value; + value = null; + } else { + name = value.substring(0, equal); + value = value.substring(equal + 1); + value = decodeURIComponent(value); + } + + name = decodeURIComponent(name); + if (typeof args[name] == "undefined") + args[name] = []; + if (value != null) + args[name].push(value); + } + } + + return args; +}; +// }}} +// Event Registration {{{ +// XXX: unable to remove registration +$.prototype.event = function (event, _function) { + $.each(this, function (node) { + // XXX: smooth over this pointer ugliness + if (node.addEventListener) + node.addEventListener(event, _function, false); + else if (node.attachEvent) + node.attachEvent("on" + event, _function); + else + // XXX: multiple registration SNAFU + node["on" + event] = _function; + }); +}; + +$.each([ + "click", "load", "submit" +], function (event) { + $.prototype[event] = function (_function) { + if (typeof _function == 'undefined') + _assert(false, "undefined function to $.[event]"); + else + this.event(event, _function); + }; +}); +// }}} +// Timed Animation {{{ +$.interpolate = function (duration, event) { + var start = new Date(); + + var next = function () { + setTimeout(update, 0); + }; + + var update = function () { + var time = new Date() - start; + + if (time >= duration) + event(1); + else { + event(time / duration); + next(); + } + }; + + next(); +}; +// }}} +// AJAX Requests {{{ +// XXX: abstract and implement other cases +$.xhr = function (url, method, headers, data, events) { + var xhr = new XMLHttpRequest(); + xhr.open(method, url, true); + + for (var name in headers) + xhr.setRequestHeader(name.replace(/_/, "-"), headers[name]); + + if (events == null) + events = {}; + + xhr.onreadystatechange = function () { + if (xhr.readyState == 4) { + var status = xhr.status; + var text = xhr.responseText; + if (events.response != null) + events.response(status, text); + if (status == 200) { + if (events.success != null) + events.success(text); + } else { + if (events.failure != null) + events.failure(status); + } + } + }; + + xhr.send(data); +}; + +$.call = function (url, post, onsuccess) { + var events = {}; + + if (onsuccess != null) + events.complete = function (text) { + onsuccess(eval(text)); + }; + + if (post == null) + $.xhr(url, "POST", null, null, events); + else + $.xhr(url, "POST", { + Content_Type: "application/json" + }, $.json(post), events); +}; +// }}} +// WWW Form URL Encoder {{{ +$.form = function (parameters) { + var data = ""; + + var ampersand = false; + for (var name in parameters) { + if (!ampersand) + ampersand = true; + else + data += "&"; + + var value = parameters[name]; + + data += escape(name); + data += "="; + data += escape(value); + } + + return data; +}; +// }}} +// JSON Serializer {{{ +$.json = function (value) { + if (value == null) + return "null"; + + var type = $.type(value); + + if (type == "number") + return value; + else if (type == "string") + return "\"" + value + .replace(/\\/, "\\\\") + .replace(/\t/, "\\t") + .replace(/\r/, "\\r") + .replace(/\n/, "\\n") + .replace(/"/, "\\\"") + + "\""; + else if (value.constructor == Array) { + var json = "["; + var comma = false; + + for (var i = 0; i != value.length; ++i) { + if (!comma) + comma = true; + else + json += ","; + + json += $.json(value[i]); + } + + return json + "]"; + } else if ( + value.constructor == Object && + value.toString() == "[object Object]" + ) { + var json = "{"; + var comma = false; + + for (var name in value) { + if (!comma) + comma = true; + else + json += ","; + + json += name + ":" + $.json(value[name]); + } + return json + "}"; + } else { + return value; + } +}; +// }}} diff --git a/MobileCydia.app/menes/style.css b/MobileCydia.app/menes/style.css new file mode 100644 index 0000000..677a2fc --- /dev/null +++ b/MobileCydia.app/menes/style.css @@ -0,0 +1,885 @@ +/* iPhone.css - iPhone Interface Cascading Style Sheet + * Copyright (C) 2007-2008 Jay Freeman (saurik) +*/ + +/* + * Redistribution and use in source and binary + * forms, with or without modification, are permitted + * provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the + * above copyright notice, this list of conditions + * and the following disclaimer. + * 2. Redistributions in binary form must reproduce the + * above copyright notice, this list of conditions + * and the following disclaimer in the documentation + * and/or other materials provided with the + * distribution. + * 3. The name of the author may not be used to endorse + * or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* .clearfix {{{ */ +.clearfix:after { + content: "."; + display: block; + clear: both; + visibility: hidden; + line-height: 0; + height: 0; +} + +.clearfix { + display: block; +} +/* }}} */ + +* { + border: 0; + -moz-border-radius: 0; + -webkit-border-radius: 0; + box-sizing: border-box; + -moz-box-sizing: border-box; + -ms-box-sizing: border-box; + -webkit-box-sizing: border-box; + /*font-family: inherit;*/ + font-size: 100%; + font-style: inherit; + font-weight: inherit; + margin: 0; + outline: 0; + padding: 0; + text-decoration: none; + vertical-align: baseline; +} + +a { + color: inherit; +} + +sup { + font-size: smaller; + margin-top: -6px; + position: relative; + top: -6px; +} + +select { + border: 1px solid #999999; +} + +panel { + display: block; + width: 320px; +} + +body { + font-family: Helvetica, Arial; + -webkit-text-size-adjust: none; + -webkit-user-select: none; + margin: 0 auto; + width: 320px; +} + +body.white { + background-color: #ffffff; +} + +body.pinstripe { + background: #c7ced5 url(cydia://uikit-image/UIPinstripe.png); + background-size: 7px 1px; +} + +dialog { + display: block; + position: absolute; + width: 100%; +} + +dialog > panel { + display: block; +} + +a { + color: blue; + text-underline-style: dotted; +} + +strong { + font-weight: bold +} + +pre, tt { + font-family: monospace; +} + +pre { + letter-spacing: -2px; +} + +em { + font-style: italic; +} + +.default { + color: #aaaabb; +} + +.deleted { + display: none; +} + +/* #toolbar {{{ */ +dialog > toolbar { + background: url(toolbar.png) #6d84a2 repeat-x; + border-bottom: 1px solid #2d3642; + height: 45px; + padding: 10px; +} + +dialog > toolbar > h1 { + color: #ffffff; + font-size: 20px; + font-weight: bold; + height: 100%; + margin: 1px auto 0 auto; + text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0; + text-align: center; + white-space: nowrap; +} +/* }}} */ +/* (back|forward)-button {{{ */ +dialog > toolbar > a.back-button, +dialog > toolbar > a.forward-button { + color: #ffffff; + font-size: 12px; + font-weight: bold; + height: 30px; + line-height: 30px; + margin-top: -28px; + padding: 0 3px; + text-decoration: none; + text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0; + white-space: nowrap; +} + +dialog > toolbar > a.back-button { + -webkit-border-image: url(backButton.png) 0 8 0 14; + border-width: 0 8px 0 14px; + float: left; +} + +dialog > toolbar > a.forward-button { + -webkit-border-image: url(toolButton.png) 0 5 0 5; + border-width: 0 5px; + float: right; +} +/* }}} */ + +panel > block { + /*background-color: #ccd1d5;*/ + /*background-color: white;*/ + /*background-color: #c7ced5;*/ + background-color: transparent; + //background-color: #ffffff; + border-bottom: 1px solid #999999; + border-top: 1px solid #999999; + border-left: 1px dotted #999999; + border-right: 1px dotted #999999; + -moz-border-radius: 9px; + -webkit-border-radius: 9px; + //border: 1px solid #999999; + display: block; + font-size: 16px; + margin: 9px; + padding: 0 10px; +} + +panel > fieldset > div > hr, +panel > block > hr { + border-top: 1px dashed #999999; +} + +panel > fieldset { + background-color: #ffffff; + border: 1px solid #999999; + -moz-border-radius: 9px; + -webkit-border-radius: 9px; + font-size: 16px; + margin: 9px; +} + +panel > input[type="submit"] { + /*-webkit-border-image: url(whiteButton.png) 0 12 0 12; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-width: 0px 12px;*/ + border: none; + color: #000000; + display: block; + font-size: 20px; + font-weight: bold; + margin: 9px; + height: 44px; + padding: 10px; + text-align: center; + width: 302px; +} + +list > label { + background: #a7b3bc url(cydia://uikit-image/UISectionListHeaderBackground.png); + background-repeat: repeat-x no-repeat-y; + margin-bottom: 0px; + padding: 4px 15px 1px 15px; + display: block; + color: white; + font-size: inherit; + font-weight: bold; + text-shadow: rgba(0, 0, 0, 0.5) 0px 1px 0; +} + +panel > label { + display: block; + margin: 13px 0 -4px 24px; + line-height: 24px; + font-size: inherit; + font-weight: bold; + color: #4d4d70; + text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0; +} + +panel > fieldset > a, +panel > fieldset > div, +panel > fieldset > textarea { + border-top: 1px solid #999999; +} + +/* XXX: should be a.left:nth-last-child(2) */ +panel > fieldset > a.left, +panel > fieldset > a.middle, +panel > fieldset > a:first-child, +panel > fieldset > div:first-child, +panel > fieldset > textarea:first-child { + border-top: 0; +} + +list > fieldset > a, +list > fieldset > div, +list > fieldset > textarea { + border-bottom: 1px solid #e0e0e0; +} + +fieldset > a:not([type="ad"]), +fieldset > div, +fieldset > textarea { + /* XXX: small differences due to font bugs */ + padding: 12px 14px 10px 14px; +} + +/*fieldset > a:not([type="ad"]):last-child, +fieldset > div:last-child { + padding-bottom: 10px; +}*/ + +fieldset > a[type="ad"] { + /* XXX: small differences due to font bugs */ + padding: 4px 4px 2px 5px; +} + +panel > fieldset > a[type="ad"]:first-child > div:first-child, +panel > fieldset > a[type="comment"]:first-child > div:first-child, +panel > fieldset > a[type="profile"]:first-child > div:first-child, +panel > fieldset > a[type="thumb"]:first-child > div:first-child { + -moz-border-radius-topleft: 9px; + -webkit-border-top-left-radius: 9px; +} + +panel > fieldset > a[type="ad"]:last-child > div:first-child, +panel > fieldset > a[type="comment"]:last-child > div:first-child, +panel > fieldset > a[type="profile"]:last-child > div:first-child, +panel > fieldset > a[type="thumb"]:last-child > div:first-child { + -moz-border-radius-bottomleft: 9px; + -webkit-border-bottom-left-radius: 9px; +} + +fieldset > a[type="ad"] > div:first-child { + border: 1px solid #999999; +} + +list > fieldset > a[type="comment"] > div:first-child, +list > fieldset > a[type="profile"] > div:first-child, +list > fieldset > a[type="thumb"] > div:first-child { + border: 1px solid #e0e0e0; +} + +panel > fieldset > a[type="comment"] > div:first-child { + border: 1px solid #999999; + border-bottom-style: dashed; +} + +panel > fieldset > a[type="profile"] > div:first-child, +panel > fieldset:not(.header) > a[type="thumb"] > div:first-child { + border: 1px solid #999999; +} + +div[tile] { + float: right; + height: 30px; + width: 30px; +} + +div[tile="app"] { background-image: url(http://cache.saurik.com/cydia/tile/app.png); } +div[tile="call"] { background-image: url(http://cache.saurik.com/cydia/tile/call.png); } +div[tile="map"] { background-image: url(http://cache.saurik.com/cydia/tile/map.png); } +div[tile="media"] { background-image: url(http://cache.saurik.com/cydia/tile/media.png); } +div[tile="music"] { background-image: url(http://cache.saurik.com/cydia/tile/video.png); } +div[tile="site"] { background-image: url(http://cache.saurik.com/cydia/tile/site.png); } + +fieldset > a[type="ad"] > div:first-child { + background-repeat: no-repeat; + background-position: center center; + border-right: none; + display: inline-block; + height: 40px; + line-height: 38px; + /* XXX: small differences due to font bugs */ + /* XXX: 1px difference due to border stupidity */ + margin: -5px 5px -3px -6px; + width: 40px; +} + +panel > fieldset > a[type="comment"] { + border-bottom-style: dashed; +} + +fieldset > a[type="comment"] > div:first-child { + -webkit-background-size: 44px; + height: 44px; + width: 44px; +} + +fieldset > a[type="header"] > div:first-child { + height: 64px; + width: 64px; +} + +fieldset > a[type="profile"] > div:first-child { + -webkit-background-size: 50px; + height: 50px; + width: 50px; +} + +fieldset > a[type="thumb"] > div:first-child { + height: 64px; + width: 64px; +} + +fieldset > a[type="comment"] > div:first-child, +fieldset > a[type="header"] > div:first-child, +fieldset > a[type="profile"] > div:first-child, +fieldset > a[type="thumb"] > div:first-child { + background-repeat: no-repeat; + background-position: center center; + display: inline-block; + /* XXX: small differences due to font bugs */ + /* XXX: 1px difference due to border stupidity */ + margin: -13px 7px -11px -15px; +} + +fieldset > a > img.icon, +fieldset > div > img.icon { + height: auto; + /* XXX: small differences due to font bugs */ + margin: -7px 6px -9px -8px; + max-height: 30px; + min-width: 30px; + width: 30px; +} + +fieldset > a.sixth > img.icon { + position: relative; + left: 7px; +} + +panel > block > p, +fieldset > div > p, +panel > block > ul, +fieldset > div > ul { + margin: 10px 0; +} + +panel > block > ul, +fieldset > div > ul { + margin-left: 13px; +} + +panel > block > p, +fieldset > div > p { + text-align: center; +} + +fieldset > div > p:first-child, +fieldset > div > ul:first-child { + margin-top: 0; +} + +fieldset > div > p:last-child, +fieldset > div > ul:last-child { + margin-bottom: 0; +} + +fieldset > a { + color: inherit; + display: block; +} + +fieldset > textarea, +fieldset > div > input:not([type="checkbox"]), +fieldset > div > select, +fieldset > div > div > select { + background: none; + -webkit-box-shadow: none; + -webkit-appearance: none; +} + +/* Chevrons {{{ */ + +fieldset > a[href]:not([type="ad"]), +fieldset > div > select, +fieldset > div > div > select { + background-repeat: no-repeat; + background-image: url(chevron.png); +} + +@media screen and (-webkit-min-device-pixel-ratio: 2) { +fieldset > a[href]:not([type="ad"]), +fieldset > div > select, +fieldset > div > div > select { + background-image: url(chevron@2x.png); + background-size: 10px 13px; +} } + +/* Horizontal */ + +list > fieldset > a[href] { + background-position: 295px center; +} + +panel > fieldset > a[href] { + background-position: 275px center; +} + +panel > fieldset > a[href].half { + background-position: 125px center; +} + +panel > fieldset > a[href].third { + background-position: 75px center; +} + +panel > fieldset > a[href].sixth { + background: none; +} + +list > fieldset > a:not([href]) > select, +list > fieldset > div > select, +list > fieldset > div > div > select { + background-position: 183px center; +} + +panel > fieldset > a:not([href]) > select, +panel > fieldset > div > select, +panel > fieldset > div > div > select { + background-position: 163px center; +} + +/* }}} */ + +fieldset > textarea, +fieldset > div > input, +fieldset > div > select, +fieldset > div > div > select, +fieldset > a > div > label + label, +fieldset > div > div > label + label { + color: #193250; +} + +fieldset > textarea, +fieldset > div > input, +fieldset > div > select, +fieldset > div > div > select { + font-size: 16px; +} + +fieldset > div > input { + padding-left: 7px; + padding-right: 14px; +} + +fieldset > div > input[type="checkbox"] { + border: 1px solid #999999; + -moz-border-radius: 7px; + -webkit-border-radius: 7px; + float: right; + margin: -7px -8px; + height: 30px; + width: 30px; +} + +fieldset > div > select, +fieldset > div > div > select, +fieldset > div > input:not([type="checkbox"]) { + border: none; + float: right; + height: 40px; + margin: -11px -13px -11px -14px; +} + +panel > fieldset > div > select, +panel > fieldset > div > div > select, +panel > fieldset > div > input:not([type="checkbox"]) { + width: 187px; +} + +list > fieldset > div > select, +list > fieldset > div > div > select, +list > fieldset > div > input:not([type="checkbox"]) { + width: 207px; +} + +fieldset > textarea { + padding: 10px; + width: 320px; +} + +fieldset > div > div, +fieldset > a > div { + display: inline-block; +} + +fieldset > div > div { + width: 273px; +} + +fieldset > a[type="ad"] > div:nth-child(2) { + width: 218px; +} + +fieldset > a:not([type]) > div { + width: 250px; +} + +fieldset > a:not([href]) > img.icon + div, +fieldset > div > img.icon + div { + width: 244px; +} + +fieldset > a[href] > img.icon + div { + width: 221px; +} + +fieldset > a[type="profile"] > div:nth-child(2) > label:nth-child(1).unknown { + color: #aaaabb; +} + +fieldset > a[type="profile"] > div:nth-child(2) > label:only-child { + left: 4px; + position: relative; + top: 3px; +} + +fieldset > a[type="thumb"] > div:nth-child(2) > label:only-child { + position: relative; + top: 10px; +} + +fieldset > a[type="profile"] > div:nth-child(2) > label + label { + display: block; + font-size: 13px; + margin-top: 2px; +} + +fieldset > a[type="thumb"] > div:nth-child(2) > label + label { + display: block; + margin-top: 2px; +} + +fieldset > a[type="profile"] > div:nth-child(2) { + width: 207px; +} + +fieldset > a[type="thumb"] > div:nth-child(2) { + width: 193px; +} + +fieldset > a[type="profile"] > div:nth-child(2) { + margin: -5px 0; +} + +fieldset > a[type="profile"] > div:nth-child(2), +fieldset > a[type="thumb"] > div:nth-child(2) { + vertical-align: top; +} + +fieldset > a > label:first-child, +fieldset > a > div > label:first-child, +fieldset > div > label:first-child, +fieldset > div > div > label:first-child { + font-weight: bold; +} + +/* XXX: this doesn't handle icon offsets */ +list > fieldset > a:not([type]) > div > label + label, +list > fieldset > div > div > label + label { + margin-left: 94px; +} + +panel > fieldset > a:not([type]) > div > label + label, +panel > fieldset > div > div > label + label { + float: right; + text-align: right; +} + +panel > img { + display: block; + margin: 9px auto 4px auto; + height: auto; + width: 300px; +} + +fieldset > a[type="ad"] { +} + +fieldset > a[type="ad"] > div:nth-child(2) { + position: relative; + vertical-align: top; +} + +fieldset > a[type="ad"] > div > label:first-child { + color: #2d2d50; + font-size: 13px; + font-weight: bold; + line-height: 15px; +} + +fieldset > a[type="ad"] > div > label + label { + position: absolute; + top: 17px; + left: 156px; + font-size: 9.5px; + font-weight: normal; +} + +panel > fieldset > a.middle, +panel > fieldset > a.right { + border-left: 1px solid #999999; +} + +panel > fieldset > a.half { + display: inline-block; + width: 150px; +} + +panel > fieldset > a.third { + display: inline-block; + width: 100px; +} + +panel > fieldset > a.sixth { + display: inline-block; + width: 50px; +} + +fieldset.half > a { + background: none; + background-position: 120px center; +} + +fieldset.half > a > img.icon + div { + width: 65px; +} + +fieldset.right { + float: right; + margin-left: 10px; +} + +block + fieldset.right, +fieldset + fieldset.right { + margin-top: 0; +} + +fieldset.half { + width: 146px; +} + +panel > fieldset.dashed > a, +panel > fieldset.dashed > div, +panel > fieldset.dashed > textarea, +list > fieldset.dashed > a, +list > fieldset.dashed > div, +list > fieldset.dashed > textarea { + border-style: dashed; +} + +fieldset > a[type="thumb"]:first-child > back { + -moz-border-radius-topright: 9px; + -webkit-border-top-right-radius: 9px; +} + +fieldset > a[type="thumb"]:last-child > back { + -moz-border-radius-bottomright: 9px; + -webkit-border-bottom-right-radius: 9px; +} + +fieldset > a[type="thumb"] > back { + background-repeat: no-repeat; + border: 1px solid #999999; + display: block; + height: 64px; + left: 62px; + position: absolute; + opacity: 0.2; + top: -1px; + width: 237px; +} + +.mm { + border: 1px solid #999999; + -moz-border-radius: 9px; + -webkit-border-radius: 9px; +} + +a.mm { + display: block; + margin: 9px; +} + +div.mm img { + height: auto; + width: 300px; +} + +fieldset > a.small { + font-size: 12px; + padding-top: 9px; +} + +fieldset > a.small label { + display: inline-block; + position: relative; + top: 1px; +} + +fieldset > a.small > img.icon { + max-height: 22px; + min-width: 22px; + width: 22px; +} + +fieldset > a.small.half > img.icon + div { + width: 79px; +} + +fieldset > a.small.third > img.icon + div { + width: 50px; +} + +fieldset > a.small.sixth > img.icon + div { + width: 0px; +} + +panel.centered > label { + margin-left: 0px; + margin-right: 0px; + text-align: center; +} + +panel > iframe { + margin: -9px 0; +} + +panel > iframe:first-child, +panel > iframe + iframe { + margin-top: 0; +} + +/* Rating Stars {{{ */ +.ratings { + margin: -2px 0; + text-align: center; +} + +.rated { + display: inline-block; +} + +.rated.left { + margin-right: 9px; +} + +.rated label { + font-weight: bold; + margin-right: 3px; + position: relative; + top: -3px; +} + +.rating { + display: inline-block; + width: 80px; +} + +.rating .back, +.rating .fore, +.rating .star { + background: url(http://cache.saurik.com/crystal/16x16/actions/knewstuff.png); + height: 16px; +} + +.rating .back, +.rating .fore { + width: 80px; +} + +.rating .star { + display: inline-block; + width: 16px; +} + +.rating .back { + opacity: 0.2; +} + +.rating .fore { + /*border-right: 1px solid #999999;*/ + position: absolute; +} +/* }}} */ + +panel > fieldset.header { + background-color: transparent; + border: none; + margin: -5px 9px -11px 9px; +} + +panel > fieldset.header > a > div > label { + color: #4d4d70; + text-shadow: rgba(255, 255, 255, 0.75) 1px 1px 0; +} diff --git a/MobileCydia.app/package.html b/MobileCydia.app/package.html new file mode 100644 index 0000000..c91b52c --- /dev/null +++ b/MobileCydia.app/package.html @@ -0,0 +1,384 @@ +<?xml version="1.0" encoding="UTF-16"?> +<html><head> + <title localize="DETAILS"></title> + <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <link rel="stylesheet" type="text/css" href="menes/style.css"/> + <script type="text/javascript" src="menes/menes.js"></script> + <script type="text/javascript" src="package.js"></script> + <script type="text/javascript" src="localize.js"></script> + <base target="_blank"/> + + <!--script type="text/javascript"> + var count = -1; + var loaded = function() { + if (count++ != 0) + return; + $("#depiction-load").remove(); + $("#depiction-src").css("display", "block"); + } + + var remove = function() { + $(".description").css("display", "block"); + $(".depiction").remove(); + } + </script--> + + <style> + .flip-180 { + -webkit-backface-visibility: hidden; + -webkit-transform: rotateY(180deg); + } + + #icon.flip-180 { + -webkit-transition-duration: 2s; + -webkit-transition-property: transform; + } + + .flip-360 { + -webkit-backface-visibility: hidden; + -webkit-transform: rotateY(360deg); + -webkit-transition-duration: 2s; + -webkit-transition-property: transform; + } + + .fade-out { + opacity: 0; + -webkit-transition-property: opacity; + -webkit-transition-duration: 2s; + } + + .fade-in { + opacity: 1; + -webkit-transition-property: opacity; + -webkit-transition-duration: 2s; + } + + #remove { + margin-top: 7px; + text-align: center; + } + + #indicator { + left: 20px; + position: relative; + top: -5px; + } + + #remove > a { + color: #335588; + text-decoration: none; + } + + #upper-bar { + margin-bottom: 0; + margin-top: 10px; + } + + #lower-bar { + margin-bottom: 10px; + margin-top: 0; + } + + #warnings { + background-color: #ffdddd; + } + + #warnings > div > label { + color: red; + } + + #boundary { + float: left; + height: 64; + width: 64px; + } + + #thumb, + #icon { + background-position: center center; + background-repeat: no-repeat; + height: 64px; + position: absolute; + width: 64px; + } + + #thumb { + -webkit-border-radius: 9px; + } + + /* XXX: this style is out of date */ + #reflection { + height: 59px; + max-width: 60px; + opacity: 0.4; + position: absolute; + -webkit-transform: matrix(1, 0, 0, -1, 0, 0); + width: auto; + } + + #id, #author, #maintainer, #sponsor { + white-space: nowrap; + } + + #header { + background: transparent; + border: none; + position: relative; + } + + #header > div { + padding: 0; + } + + #content { + padding: 5px; + position: absolute; + left: 77px; + width: 232px; + } + + #lower { + margin: 0px 5px; + } + + #name { + margin-bottom: 13px; + font-weight: bold; + font-size: 17px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + + #latest { + color: #335588; + float: left; + } + + a[href].rating { + background: 107px 7px no-repeat url(menes/chevron.png); + } + + .rating { + /*border: 1px solid #999999;*/ + -webkit-border-radius: 6px; + padding: 7px 7px; + margin: -7px 0px; + float: right; + width: 126px; + } + + .rating .back, + .rating .fore, + .rating .star { + background: url(star.png); + } + + .rating .text { + display: inline-block; + color: #4d4d70; + margin: 0 6px; + vertical-align: top; + } + + #rating-done { + padding-left: 12px; + } + + #rating-none, + #rating-done { + display: none; + } + + #depiction-src, + #notice-src { + height: 1px; + width: 320px; + } + </style> +</head><body class="pinstripe"> +<panel> + +<fieldset id="header"> + <div> + <div id="boundary"> + <div class="flip-0" id="icon"></div> + <div class="flip-180" id="thumb"></div> + <!--img id="reflection"/--> + </div> + + <div id="content"> + <div id="name"></div> + <div id="latest"></div> + + <a class="rating" id="rating-href"> + <div id="rating-none"> + <div class="star"></div><div class="text" localize="NOT_RATED"></div> + </div><div id="rating-done"> + <div class="fore" id="rating-value"></div> + <div class="back"></div> + </div> + </a> + </div> + </div> +</fieldset> + +<fieldset class="mode"> + <a> + <img class="icon" id="mode-src"/><div> + <label localize="PACKAGE_QUEUE"></label> + <label id="mode"></label> + </div></a> +</fieldset> + +<fieldset id="actions"> + <a id="settings"> + <img class="icon" src="settings.png"/><div> + <label localize="CHANGE_PACKAGE_SETTINGS"></label> + </div></a> + + <a id="author-href" class="author" target="_popup"> + <img id="author-icon" class="icon" src="email.png"/><div> + <label localize="AUTHOR"></label> + <label id="author"></label> + </div></a> + + <!--div class="commercial"> + <img class="icon" src="commercial.png"/><div> + <label>This is a commercial package!</label> + </div></div--> + + <a class="console" href="http://cydia.saurik.com/purpose/console/"> + <img class="icon" src="console.png"/><div> + <label localize="CONSOLE_PACKAGE"></label> + </div></a> + + <a id="application"> + <img class="icon"/><div> + <label class="application"></label> + </div></a> +</fieldset> + +<fieldset class="warnings" id="warnings"> + <div id="warning"> + <img class="icon" src="warning.png"/><div> + <label class="warning"></label> + </div></div> +</fieldset> + +<iframe + class="notice" + id="notice-src" + frameborder="0" + width="320" + height="0" + target="_top" +></iframe> + +<!--iframe + class="activation" + id="activation-src" + frameborder="0" + width="320" + height="0" + target="_top" +></iframe--> + +<!--div id="remove" class="depiction"> + <a href="javascript:remove()">Remove Custom Depiction</a> +</div> + +<hr id="upper-bar" class="depiction"/--> + +<iframe + class="depiction" + id="depiction-src" + frameborder="0" + width="320" + height="0" + target="_top" + onload_="loaded()" +></iframe> + +<!--hr id="lower-bar" class="depiction"/--> + +<block class="description"><p id="description"></p></block> + +<fieldset class="description homepage"> + <a class="homepage" id="homepage-href"> + <img class="icon" src="web.png"/><div> + <label localize="MORE_INFORMATION"></label> + </div></a> +</fieldset> + +<label class="installed" localize="INSTALLED_DETAILS"></label> +<fieldset class="installed"> + <div> + <img class="icon" src="version.png"/><div> + <label localize="VERSION"></label> + <label id="installed"></label> + </div></div> + + <a id="files-href"> + <img class="icon" src="filesystem.png"/><div> + <label localize="FILESYSTEM_CONTENT"></label> + </div></a> +</fieldset> + +<label localize="PACKAGE_DETAILS"></label> +<fieldset> + <div> + <img class="icon" src="id.png"/><div> + <label localize="ID"></label> + <label id="id"></label> + </div></div> + + <div class="section"> + <img id="section-src" class="icon"/><div> + <label localize="SECTION"></label> + <label id="section"></label> + </div></div> + + <div class="size"> + <img class="icon" src="expanded.png"/><div> + <label localize="EXPANDED_SIZE"></label> + <label id="size"></label> + </div></div> + + <a id="maintainer-href" class="maintainer" target="_popup"> + <img id="maintainer-icon" class="icon" src="email.png"/><div> + <label localize="MAINTAINER"></label> + <label id="maintainer"></label> + </div></a> + + <a id="sponsor-href" class="sponsor"> + <img class="icon" src="web.png"/><div> + <label localize="SPONSOR"></label> + <label id="sponsor"></label> + </div></a> + + <!--a class="trusted" id="trusted"> + <img class="icon" src="trusted.png"><div> + <label localize="REPOSITORY_SIGNATURE"></label> + </div></a--> + + <div class="trusted"> + <img class="icon" src="trusted.png"><div> + <label> </label> + <label localize="SIGNED_PACKAGE"></label> + </div></div> +</fieldset> + +<label class="source" localize="SOURCE_DETAILS"></label> +<fieldset class="source"> + <div> + <img class="icon" id="source-src"/><div> + <label id="source-name"></label> + </div></div> + + <div class="source-description" id="source-description"></div> +</fieldset> + +</panel> +</body></html> diff --git a/MobileCydia.app/package.js b/MobileCydia.app/package.js new file mode 100644 index 0000000..b9f85ff --- /dev/null +++ b/MobileCydia.app/package.js @@ -0,0 +1,330 @@ +/*var package = { + "name": "MobileTerminal", + "latest": "286u-5", + "author": { + "name": "Allen Porter", + "address": "allen.porter@gmail.com" + }, + //"depiction": "http://planet-iphones.com/repository/info/chromium1.3.php", + "depiction": "http://cydia.saurik.com/terminal.html", + "longDescription": "this is a sample description", + "homepage": "http://cydia.saurik.com/terminal.html", + "installed": "286u-4", + "id": "mobileterminal", + "section": "Terminal Support", + "size": 552*1024, + "maintainer": { + "name": "Jay Freeman", + "address": "saurik@saurik.com" + }, + "source": { + "name": "Telesphoreo Tangelo", + "description": "Distribution of Unix Software for the iPhone" + } +};*/ + +function space(selector, html, max) { + var node = $(selector); + node.html(html); + var width = node.width(); + if (width > max) { + var spacing = (max - node.width()) / (html.length - 1) + "px"; + node.css("letter-spacing", spacing); + } +} + +var swap_, swap = function (on, off, time) { + setTimeout(swap_(on, off, time), time); +}; + +swap_ = function (on, off, time) { + return function () { + on.className = 'fade-out'; + off.className = 'fade-in'; + swap(off, on, time); + }; +}; + +var special_ = function () { + if (package == null) + return; + + var id = package.id; + var idc = encodeURIComponent(id); + var name = package.name; + var icon = 'cydia://package-icon/' + idc; + + var api = 'http://cydia.saurik.com/api/'; + var capi = 'http://cache.cydia.saurik.com/api/'; + + var support = package.support; + + var regarding = function (type) { + return encodeURIComponent("Cydia/APT(" + type + "): " + name); + }; + + $("#icon").css("background-image", 'url("' + icon + '")'); + //$("#reflection").src("cydia://package-icon/" + idc); + + $("#name").html(name); + space("#latest", package.latest, 96); + + $.xhr(capi + 'package/' + idc, 'GET', {}, null, { + success: function (value) { + value = eval(value); + + if (typeof value.notice == "undefined") + $(".notice").addClass("deleted"); + else + $("#notice-src").src(value.notice); + + if (typeof value.rating == "undefined") + $(".rating").addClass("deleted"); + else { + $("#rating-load").addClass("deleted"); + $("#rating-href").href(value.reviews); + + var none = $("#rating-none"); + var done = $("#rating-done"); + + if (value.rating == null) { + none.css("display", "block"); + } else { + done.css("display", "block"); + + $("#rating-value").css('width', 16 * value.rating); + } + } + + if (typeof value.icon != "undefined" && value.icon != null) { + var icon = $("#icon"); + var thumb = $("#thumb"); + + icon[0].className = 'flip-180'; + thumb[0].className = 'flip-360'; + + thumb.css("background-image", 'url("' + value.icon + '")'); + + setTimeout(function () { + icon.addClass("deleted"); + thumb[0].className = 'flip-0'; + }, 2000); + } + }, + + failure: function (status) { + $(".rating").addClass("deleted"); + } + }); + + $("#settings").href("cydia://package-settings/" + idc); + + var mode = package.mode; + if (mode == null) + $(".mode").addClass("deleted"); + else { + $("#mode").html(cydia.localize(mode)); + $("#mode-src").src("Modes/" + mode + ".png"); + } + + var warnings = package.warnings; + var length = warnings == null ? 0 : warnings.length; + if (length == 0) + $(".warnings").addClass("deleted"); + else { + var parent = $("#warnings"); + var child = $("#warning"); + + for (var i = 0; i != length; ++i) { + var clone = child.clone(true); + clone.addClass("inserted"); + parent.append(clone); + clone.xpath("./div/label").html($.xml(warnings[i])); + } + + child.addClass("deleted"); + } + + var applications = package.applications; + var length = applications == null ? 0 : applications.length; + + var child = $("#application"); + + /*if (length != 0) { + var parent = $("#actions"); + + for (var i = 0; i != length; ++i) { + var application = applications[i]; + var clone = child.clone(true); + parent.append(clone); + clone.href("cydia://launch/" + application[0]); + clone.xpath("label").html("Run " + $.xml(application[1])); + clone.xpath("img").src(application[2]); + } + }*/ + + child.addClass("deleted"); + + var commercial = package.hasTag('cydia::commercial'); + if (!commercial) + $(".commercial").addClass("deleted"); + + var _console = package.hasTag('purpose::console'); + if (!_console) + $(".console").addClass("deleted"); + + var author = package.author; + if (author == null) + $(".author").addClass("deleted"); + else { + space("#author", author.name, 160); + if (author.address == null) + $("#author-icon").addClass("deleted"); + else if (support == null) + $("#author-href").href("mailto:" + author.address + "?subject=" + regarding("A")); + else + $("#author-href").href(support); + } + + /*var store = commercial; + if (!store) + $(".activation").addClass("deleted"); + else { + var activation = api + 'activation/' + idc; + $("#activation-src").src(activation); + }*/ + + var depiction = package.depiction; + if (depiction != null) { + $(".description").addClass("deleted"); + $("#depiction-src").src(depiction); + } else { + $(".depiction").addClass("deleted"); + + var description = package.longDescription; + if (description == null) + description = package.shortDescription; + + if (description == null) + $(".description").addClass("deleted"); + else { + description = $.xml(description).replace(/\n/g, "<br/>"); + $("#description").html(description); + } + } + + var homepage = package.homepage; + if (homepage == null) + $(".homepage").addClass("deleted"); + else + $("#homepage-href").href(homepage); + + var installed = package.installed; + if (installed == null) + $(".installed").addClass("deleted"); + else { + $("#installed").html(installed); + $("#files-href").href("cydia://files/" + idc); + } + + space("#id", id, 220); + + var section = package.longSection; + if (section == null) + $(".section").addClass("deleted"); + else { + $("#section-src").src("cydia://section-icon/" + encodeURIComponent(section)); + $("#section").html(section); + } + + var size = package.size; + if (size == 0) + $(".size").addClass("deleted"); + else + $("#size").html(size / 1024 + " kB"); + + var maintainer = package.maintainer; + if (maintainer == null) + $(".maintainer").addClass("deleted"); + else { + space("#maintainer", maintainer.name, 153); + if (maintainer.address == null) + $("#maintainer-icon").addClass("deleted"); + else if (support == null) + $("#maintainer-href").href("mailto:" + maintainer.address + "?subject=" + regarding("M")); + else + $("#maintainer-href").href(support); + } + + var sponsor = package.sponsor; + if (sponsor == null) + $(".sponsor").addClass("deleted"); + else { + space("#sponsor", sponsor.name, 152); + $("#sponsor-href").href(sponsor.address); + } + + var source = package.source; + if (source == null) { + $(".source").addClass("deleted"); + $(".trusted").addClass("deleted"); + } else { + var host = source.host; + + $("#source-src").src("cydia://source-icon/" + encodeURIComponent(host)); + $("#source-name").html(source.name); + + if (source.trusted) + $("#trusted").href("cydia://package-signature/" + idc); + else + $(".trusted").addClass("deleted"); + + var description = source.description; + if (description == null) + $(".source-description").addClass("deleted"); + else + $("#source-description").html($.xml(description)); + } +}; + +$(special_); + +var special = function () { + $(".deleted").removeClass("deleted"); + $(".inserted").remove(); + + $("#icon")[0].className = 'flip-0'; + $("#thumb")[0].className = 'flip-180'; + + /* XXX: this could be better */ + $("#rating-href").href(null); + $("#rating-none").css("display", "none"); + $("#rating-done").css("display", "none"); + + var notice = $("#notice-src"); + + notice[0].outerHTML = '<iframe' + + ' class="notice"' + + ' id="notice-src"' + + ' frameborder="0"' + + ' width="320"' + + ' height="0"' + + ' target="_top"' + + '></iframe>'; + + var depiction = $("#depiction-src"); + + depiction[0].outerHTML = '<iframe' + + ' class="depiction"' + + ' id="depiction-src"' + + ' frameborder="0"' + + ' width="320"' + + ' height="0"' + + ' target="_top"' + + ' onload_="loaded()"' + + '></iframe>'; + + special_(); +}; + +cydia.setSpecial(special); diff --git a/MobileCydia.app/packages.png b/MobileCydia.app/packages.png Binary files differnew file mode 100644 index 0000000..404fe0c --- /dev/null +++ b/MobileCydia.app/packages.png diff --git a/MobileCydia.app/reload.png b/MobileCydia.app/reload.png Binary files differnew file mode 100644 index 0000000..8d06eb4 --- /dev/null +++ b/MobileCydia.app/reload.png diff --git a/MobileCydia.app/removing.png b/MobileCydia.app/removing.png Binary files differnew file mode 100644 index 0000000..935d4c7 --- /dev/null +++ b/MobileCydia.app/removing.png diff --git a/MobileCydia.app/search.png b/MobileCydia.app/search.png Binary files differnew file mode 100644 index 0000000..4083f1b --- /dev/null +++ b/MobileCydia.app/search.png diff --git a/MobileCydia.app/search@2x.png b/MobileCydia.app/search@2x.png Binary files differnew file mode 100644 index 0000000..74d6381 --- /dev/null +++ b/MobileCydia.app/search@2x.png diff --git a/MobileCydia.app/settings.png b/MobileCydia.app/settings.png Binary files differnew file mode 100644 index 0000000..86f4e78 --- /dev/null +++ b/MobileCydia.app/settings.png diff --git a/MobileCydia.app/signature.html b/MobileCydia.app/signature.html new file mode 100644 index 0000000..aa113b8 --- /dev/null +++ b/MobileCydia.app/signature.html @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-16"?> +<html><head> + <title>Signature</title> + <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <link rel="stylesheet" type="text/css" href="menes/style.css"/> + <script type="text/javascript" src="menes/menes.js"></script> + <script type="text/javascript" src="signature.js"></script> + <base target="_blank"/> +</head><body><div class="page"> +<div class="dialog"> + <div class="panel"> + + </div> +</div> +</div></body></html> diff --git a/MobileCydia.app/source.png b/MobileCydia.app/source.png Binary files differnew file mode 100755 index 0000000..2dcfdbc --- /dev/null +++ b/MobileCydia.app/source.png diff --git a/MobileCydia.app/source@2x.png b/MobileCydia.app/source@2x.png Binary files differnew file mode 100755 index 0000000..65d70c3 --- /dev/null +++ b/MobileCydia.app/source@2x.png diff --git a/MobileCydia.app/sources.png b/MobileCydia.app/sources.png Binary files differnew file mode 100755 index 0000000..e8422e4 --- /dev/null +++ b/MobileCydia.app/sources.png diff --git a/MobileCydia.app/star.png b/MobileCydia.app/star.png Binary files differnew file mode 100644 index 0000000..f762a24 --- /dev/null +++ b/MobileCydia.app/star.png diff --git a/MobileCydia.app/storage.html b/MobileCydia.app/storage.html new file mode 100644 index 0000000..55ac5ab --- /dev/null +++ b/MobileCydia.app/storage.html @@ -0,0 +1,237 @@ +<?xml version="1.0" encoding="UTF-16"?> +<html><head> + <title localize="STORAGE"></title> + <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/> + <link rel="stylesheet" type="text/css" href="menes/style.css"/> + <script type="text/javascript" src="menes/menes.js"></script> + <script type="text/javascript" src="storage.js"></script> + <script type="text/javascript" src="localize.js"></script> + <base target="_blank"/> + + <style> + body { + display: table; + font-family: Helvetica; + height: 337px; + margin: 0; + padding: 0; + -webkit-text-size-adjust: none; + -webkit-user-select: none; + } + + div.page { + display: table-cell; + text-align: center; + margin: 0 auto; + vertical-align: middle; + width: 320px; + } + + a.giant-button { + background-color: rgba(0, 0, 0, 0.15); + -webkit-border-radius: 10px; + color: #193250; + display: block; + margin: 8px 10px; + position: relative; + text-decoration: none; + width: 300px; + } + + a.giant-button > piechart { + float: left; + margin: 10px; + vertical-align: middle; + } + + a.giant-button > label { + display: block; + float: left; + font-size: 25px; + margin: 10px 0 4px 4px; + text-align: center; + text-shadow: rgba(200, 200, 200, 0.75) 1px 1px 0; + width: 155px; + } + + a.giant-button > div.text { + display: block; + float: left; + font-size: 14px; + margin-left: 4px; + text-align: center; + width: 155px; + } + + div.key { + display: inline-block; + width: 50%; + } + + a.giant-button > div.legend { + float: left; + font-size: 14px; + left: 15px; + position: absolute; + top: 120px; + width: 290px; + } + + div.key { + margin-bottom: 4px; + } + + piechart { + /*-webkit-transform: rotate(-5deg);*/ + /*-webkit-transform: rotateY(15deg) rotateX(-45deg);*/ + } + + piechart > div { + -webkit-border-radius: 50px; + height: 100px; + overflow: hidden; + position: relative; + width: 100px; + } + + piechart > div > div:first-child { + height: 100px; + overflow: hidden; + position: absolute; + z-index: 102; + width: 51px; + } + + piechart > div > div:last-child { + height: 100px; + overflow: hidden; + position: absolute; + width: 100px; + z-index: 0; + } + + piechart > div div.lslice, + piechart > div div.rslice, + piechart > div div.tslice, + piechart > div div.bslice { + background-color: #4d4d70; + } + + piechart > div div.lslice, + piechart > div div.rslice, + piechart > div div.tslice, + piechart > div div.bslice, + piechart > div div.xslice { + /* XXX: technically, these aren't needed */ + -webkit-border-bottom-left-radius: 50px; + -webkit-border-top-left-radius: 50px; + height: 100px; + position: absolute; + -webkit-transform-origin: 100% 50%; + width: 50px; + } + + piechart > div div.lslice { + z-index: 100; + } + + piechart > div div.rslice, + piechart > div div.tslice, + piechart > div div.bslice { + z-index: 0; + } + + piechart > div div.rslice { + -webkit-transform: rotate(180deg); + } + + piechart > div div.tslice { + -webkit-transform: rotate(90deg); + } + + piechart > div div.bslice { + -webkit-transform: rotate(270deg); + } + + piechart > div > div.nslice { + position: absolute; + text-align: center; + top: 42px; + width: 100px; + z-index: 103; + } + + piechart > div > div.nslice > div { + background-color: rgba(255, 255, 255, 0.7); + -webkit-border-radius: 7px; + display: inline; + color: black; + font-size: 15px; + font-weight: bold; + margin: 0 auto; + padding: 2px 4px; + text-align: center; + } + + div.color { + background-color: black; + border: 1px solid #4d4d70; + display: inline-block; + vertical-align: middle; + } + + div.color > div { + border: 1px solid white; + display: inline-block; + height: 12px; + width: 12px; + } + + div.name { + display: inline-block; + font-size: 14px; + margin-left: 5px; + vertical-align: middle; + } + </style> +</head><body class="pinstripe"> +<panel> + +<a class="giant-button" style="height: 149px"> + <piechart><div> + <div id="system-left"></div> + <div id="system-right"> + <div class="lslice"></div> + <div class="rslice"></div> + <div class="tslice"></div> + <div class="bslice"></div> + </div> + <div class="nslice"><div id="system-size"></div></div> + </div></piechart> + + <label>System</label> + <div class="text">A small partition used to store iPhone OS. Cydia adds a few important programs and libraries.</div> + + <div class="legend" id="system-legend"></div> +</a> + +<a class="giant-button" style="height: 189px"> + <piechart><div> + <div id="private-left"></div> + <div id="private-right"> + <div class="lslice"></div> + <div class="rslice"></div> + <div class="tslice"></div> + <div class="bslice"></div> + </div> + <div class="nslice"><div id="private-size"></div></div> + </div></piechart> + + <label>Private</label> + <div class="text">Most content is stored on this partition: from applications (Cydia and Apple) to multimedia.</div> + + <div class="legend" id="private-legend"></div> +</a> + +</panel> +</body></html> diff --git a/MobileCydia.app/storage.js b/MobileCydia.app/storage.js new file mode 100644 index 0000000..ae8cb85 --- /dev/null +++ b/MobileCydia.app/storage.js @@ -0,0 +1,88 @@ +var colors = ["#9090e0", "#4d4d70", "#7d7da0", "#7da0e0", "#d0d0f0", "#7070e0"]; + +var list = function (legend, color, name, value) { + legend.append('<div class="key">' + + '<div class="color" style="background-color: ' + color + '"><div></div></div>' + + '<div class="name">' + name + ' (' + Math.round(value * 1000) / 10 + '%)</div>' + + '</div>'); +}; + +console.log(cydia.statfs("/")); + +var cut = function (parent, color, fraction, z) { + var deg = Math.round(360 * fraction); + if (deg < 2) + deg = 2; + parent.append('<div class="xslice" style="' + + 'background-color: ' + color + ';' + + '-webkit-transform: rotate(' + deg + 'deg);' + + 'z-index: ' + z + ';' + + '"></div>'); +}; + +var chart = function (right, left, slices) { + var total = 0; + for (var i = 0; i != slices.length; ++i) { + var slice = slices[i]; + var z = slices.length - i; + if (slice[1] > 0.5) + cut(right, slice[0], total + 0.5, z); + total += slice[1]; + cut(total > 0.5 ? left : right, slice[0], total, z); + } +}; + +var setup = function (name, root, folders) { + var size = $("#" + name + "-size"); + var statfs = cydia.statfs(root); + var kb = statfs[0] * statfs[1] / 1024; + var total = kb / 1024; + + var unit; + if (total < 1000) + unit = 'M'; + else { + total = total / 1024; + unit = 'G' + } + + size.html(Math.round(total * 10) / 10 + " " + unit); + + var legend = $("#" + name + "-legend"); + var used = 0; + + var slices = []; + + if (folders != null) + for (var i = 0; i != folders.length; ++i) { + var folder = folders[i]; + var usage = cydia.du(folder[1]); + if (usage == null) + usage = 0; + var color = colors[i + 2]; + var percent = usage / kb; + list(legend, color, folder[0], percent); + slices.push([color, percent]); + used += usage; + } + + var free = statfs[0] * statfs[2] / 1024; + var other = (kb - free - used) / kb; + + slices.push([colors[0], other]); + chart($("#" + name + "-right"), $("#" + name + "-left"), slices); + + list(legend, colors[0], folders == null ? "Used" : "Other", other); + list(legend, colors[1], "Free", statfs[2] / statfs[1]); +}; + +$(function () { + setup("system", "/", null); + + setup("private", "/private/var", [ + ["Themes", "/Library/Themes/"], + ["iTunes", "/var/mobile/Media/iTunes_Control/"], + ["App Store", "/var/mobile/Applications/"], + ["Camera", "/var/mobile/Media/DCIM/"] + ]); +}); diff --git a/MobileCydia.app/storage.png b/MobileCydia.app/storage.png Binary files differnew file mode 100644 index 0000000..3cefef0 --- /dev/null +++ b/MobileCydia.app/storage.png diff --git a/MobileCydia.app/trusted.png b/MobileCydia.app/trusted.png Binary files differnew file mode 100644 index 0000000..de249eb --- /dev/null +++ b/MobileCydia.app/trusted.png diff --git a/MobileCydia.app/unknown.html b/MobileCydia.app/unknown.html new file mode 100644 index 0000000..900a86f --- /dev/null +++ b/MobileCydia.app/unknown.html @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-16"?> +<html><head> + <title localize="UNKNOWN"></title> + <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> + <link rel="stylesheet" type="text/css" href="menes/style.css"/> + <script type="text/javascript" src="menes/menes.js"></script> + <script type="text/javascript" src="localize.js"></script> + <base target="_blank"/> + <script type="text/javascript"> + $(function () { + $("#body").html($.xml(cydia.format(cydia.localize("PACKAGE_CANNOT_BE_FOUND"), [location.search.substring(1)]))); + }); + </script> +</head><body class="pinstripe"> +<panel> + +<fieldset> + <div><p style="font-weight: bold"><span style="color: red" localize="NOTE"></span>: <span localize="CANNOT_LOCATE_PACKAGE"></span></p></div> +</fieldset> + +<block> + <p id="body"></p> + <p localize="PACKAGE_CANNOT_BE_FOUND_EX"></p> +</block> + +</panel> +</body></html> diff --git a/MobileCydia.app/unknown.png b/MobileCydia.app/unknown.png Binary files differnew file mode 100644 index 0000000..92d7338 --- /dev/null +++ b/MobileCydia.app/unknown.png diff --git a/MobileCydia.app/version.png b/MobileCydia.app/version.png Binary files differnew file mode 100644 index 0000000..fd1eec1 --- /dev/null +++ b/MobileCydia.app/version.png diff --git a/MobileCydia.app/warning.png b/MobileCydia.app/warning.png Binary files differnew file mode 100644 index 0000000..8d3e5df --- /dev/null +++ b/MobileCydia.app/warning.png diff --git a/MobileCydia.app/web.png b/MobileCydia.app/web.png Binary files differnew file mode 100644 index 0000000..a4f04e3 --- /dev/null +++ b/MobileCydia.app/web.png |