diff --git a/Pocket Poster.xcodeproj/xcuserdata/lemin.xcuserdatad/xcschemes/xcschememanagement.plist b/Pocket Poster.xcodeproj/xcuserdata/lemin.xcuserdatad/xcschemes/xcschememanagement.plist index d7a896f..f3372ed 100644 --- a/Pocket Poster.xcodeproj/xcuserdata/lemin.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/Pocket Poster.xcodeproj/xcuserdata/lemin.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,7 +7,7 @@ Pocket Poster.xcscheme_^#shared#^_ orderHint - 1 + 0 diff --git a/Pocket Poster/Localizable.xcstrings b/Pocket Poster/Localizable.xcstrings new file mode 100644 index 0000000..176af5c --- /dev/null +++ b/Pocket Poster/Localizable.xcstrings @@ -0,0 +1,992 @@ +{ + "sourceLanguage" : "en", + "strings" : { + "Actions" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Acciones" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Actions" + } + } + } + }, + "App Cache Successfully Cleared!" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "El cache de la aplicación fue limpiado con exito!" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Cache de l'application vidé avec succès!" + } + } + } + }, + "App Hash" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "App Hash" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Hash de l'application" + } + } + } + }, + "Apply" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aplicar" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Appliquer" + } + } + } + }, + "Applying Wallpapers..." : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Aplicando Fondos de Pantalla" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Application de fonds d'écran..." + } + } + } + }, + "Cancel" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Cancelar" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Annuler" + } + } + } + }, + "Clear App Cache" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Limpiar cache de aplicación" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Vider le cache de l'application" + } + } + } + }, + "Collections Successfully Reset!" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "¡Colecciones reiniciadas exitosamente!" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Réinitialisation des collections réussie!" + } + } + } + }, + "Could not download wallpaper!" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "¡No se pudo descargar el fondo de pantalla!" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erro télécharge le fond d'écran!" + } + } + } + }, + "Create Additional Fallback Method" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Crear un método de respaldo adicional" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Créer une méthode de secours supplémentaire" + } + } + } + }, + "Creating %@..." : { + "comment" : "the message for the current image that is being generated", + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Creando %@..." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Création %@..." + } + } + } + }, + "Creating CAML data..." : { + "comment" : "translate this however you see fits", + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Creando datos CAML..." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Création de données CAML..." + } + } + } + }, + "Credits" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Creditos" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Crédits" + } + } + } + }, + "Detect" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Detectar" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Détecter" + } + } + } + }, + "Do you want to reset collections?" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "¿Quieres reiniciar las colecciones?" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Voulez-vous réinitialiser les collections?" + } + } + } + }, + "Download Fallback Shortcut" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Descargar acceso directo de respaldo" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Télécharger le raccourci de secours" + } + } + } + }, + "Download Tendies File" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Descargar archivo Tendies" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Télécharger un fichier de Tendies" + } + } + } + }, + "Downloading" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Descargando" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Téléchargement" + } + } + } + }, + "Enter App Hash" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ingresar el hash de la aplicación" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Saisir le App Hash" + } + } + } + }, + "Enter your PosterBoard app hash in Settings." : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ingrese el hash de su aplicación PosterBoard en Configuración." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Entrez votre app hash de PosterBoard dans les Paramètres." + } + } + } + }, + "Error" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Error" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erreur" + } + } + } + }, + "Exploit" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Exploit" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Exploitation" + } + } + } + }, + "Extracting tendies..." : { + "comment" : "happens when unzipping the files", + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Extrayendo tendies..." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "L'extraction des tendies..." + } + } + } + }, + "Failed" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fallido" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Échec" + } + } + } + }, + "Failed to import tendies" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "No se pudieron importar tendies" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "N'a pas réussi à importer les tendies" + } + } + } + }, + "Fallback Shortcut Creator" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Creador de atajos de respaldo" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Créateur de raccourcis de secours" + } + } + } + }, + "Falling Back to Shortcut" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Regresar al atajo" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Retomber dans le raccourci" + } + } + } + }, + "Finish" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Finalizar" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Finir" + } + } + } + }, + "Generating Video..." : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Generando vídeo..." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Générer des vidéos..." + } + } + } + }, + "Home" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Inicio" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Accueil" + } + } + } + }, + "Join the Discord" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unete a nuestro Discord" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Rejoindre le Discord" + } + } + } + }, + "Links" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Enlaces" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Liens" + } + } + } + }, + "Main Developer" : { + "comment" : "leminlimez's contribution", + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Desarrollador Principal" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Développeur principal" + } + } + } + }, + "Max Tendies Reached" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Cantidad Maxima de Tendies alcanzada" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tendies maximales atteintes" + } + } + } + }, + "Next" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Siguiente" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Suivant" + } + } + } + }, + "Nugget GitHub" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nugget Github" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nugget GitHub" + } + } + } + }, + "OK" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "OK" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "OK" + } + } + } + }, + "Only .tendies files can be downloaded!" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Solo archivos .tendies pueden ser descargados" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Seuls les fichiers .tendies peuvent être téléchargés!" + } + } + } + }, + "Please wait" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Por favor espere" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Veuillez patienter" + } + } + } + }, + "Pocket Poster" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pocket Poster" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pocket Poster" + } + } + } + }, + "PosterBoard failed to open directly. The fallback shortcut will now be opened." : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "PosterBoard no se pudo abrir directamente. Ahora se abrirá el acceso directo alternativo." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "PosterBoard n'a pas pu s'ouvrir directement. Le raccourci de secours sera maintenant ouvert." + } + } + } + }, + "Release" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Lanzar" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Libération" + } + } + } + }, + "Replay Tutorial" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Reproducir de nuevo Tutorial" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Répéter le tutoriel" + } + } + } + }, + "Reset Collections" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Reiniciar colecciones" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Réinitialiser les Collections" + } + } + } + }, + "Select Tendies" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Seleccionar Tendies" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sélectionner Tendies" + } + } + } + }, + "Selected Tendies" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tendies seleccionado" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tendies sélectionnées" + } + } + } + }, + "Skip" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Saltar" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sauter" + } + } + } + }, + "Socials" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sociales" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sociales" + } + } + } + }, + "Success!" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Logrado!" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Succès!" + } + } + } + }, + "Successfully imported %@" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Importado correctamente!" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Importation réussie %@" + } + } + } + }, + "Support on Ko-Fi" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Apoyanos en Ko-Fi" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Support sur Ko-Fi" + } + } + } + }, + "The folder is improperly set up. Please tap \"Reset Collections\" and try again." : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "La carpeta no está configurada correctamente. Pulsa \"Restablecer colecciones\" y vuelve a intentarlo." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Le dossier est mal configuré. Appuyez sur \"Réinitialiser les Collections\" et réessayez." + } + } + } + }, + "The PosterBoard app will now open. Please close it from the app switcher." : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Se abrirá la aplicación PosterBoard. Ciérrela desde el selector de aplicaciones." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "L'application PosterBoard est maintenant ouverte. Veuillez la fermer à partir du sélecteur d'applications." + } + } + } + }, + "Version %@ (%@)" : { + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "new", + "value" : "Version %1$@ (%2$@)" + } + }, + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Version %1$@ (%2$@)" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Version %1$@ (%2$@)" + } + } + } + }, + "Videos" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Videos" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Vidéos" + } + } + } + }, + "View on GitHub" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ver en GitHub" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Voir sur GitHub" + } + } + } + }, + "Website Designer" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Diseñador de la pagina" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Concepteur de site web" + } + } + } + }, + "Would you like to download the file %@?" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "¿Quieres descargar el archivo %@?" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Voulez-vous télécharger le fichier %@?" + } + } + } + }, + "You can only apply %@ descriptors." : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sólo puedes aplicar descriptores %@." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Vous ne pouvez appliquer que des descripteurs %@." + } + } + } + }, + "Your app hash is incorrect. Please set it again." : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "El hash de tu aplicación es incorrecto. Por favor, configúralo de nuevo." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Votre App Hash est incorrect. Veuillez le redéfinir." + } + } + } + }, + "Your PosterBoard will refresh automatically." : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Su PosterBoard se actualizará automáticamente." + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Votre PosterBoard se rafraîchit automatiquement." + } + } + } + } + }, + "version" : "1.0" +} \ No newline at end of file diff --git a/Pocket Poster/Pocket-Poster-InfoPlist.xcstrings b/Pocket Poster/Pocket-Poster-InfoPlist.xcstrings new file mode 100644 index 0000000..9f94cbf --- /dev/null +++ b/Pocket Poster/Pocket-Poster-InfoPlist.xcstrings @@ -0,0 +1,46 @@ +{ + "sourceLanguage" : "en", + "strings" : { + "CFBundleName" : { + "comment" : "Bundle name", + "extractionState" : "extracted_with_value", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "new", + "value" : "Pocket Poster" + } + }, + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pocket Poster" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pocket Poster" + } + } + } + }, + "Nugget Wallpaper" : { + "localizations" : { + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Nugget Wallpaper" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Fond d'écran Nugget" + } + } + } + } + }, + "version" : "1.0" +} \ No newline at end of file diff --git a/Pocket Poster/Views/ContentView.swift b/Pocket Poster/Views/ContentView.swift index 227cbf3..67e17d6 100644 --- a/Pocket Poster/Views/ContentView.swift +++ b/Pocket Poster/Views/ContentView.swift @@ -107,7 +107,7 @@ struct ContentView: View { if pbManager.setSystemLanguage(to: lang) { UIApplication.shared.alert(title: NSLocalizedString("Collections Successfully Reset!", comment: ""), body: NSLocalizedString("Your PosterBoard will refresh automatically.", comment: "")) } else { - UIApplication.shared.alert(body: NSLocalizedString("The API failed to call correctly.\nSystem Locale Code: ", comment: "") + lang) + UIApplication.shared.alert(body: "The API failed to call correctly.\nSystem Locale Code: \(lang)") } }, noCancel: false) }) {