mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 03:50:08 +02:00
🌐 French localization fixes, onboarding size fix
This commit is contained in:
@ -31,7 +31,7 @@ struct OnboardingTextItem: View {
|
||||
.opacity(self.unavailable ? 0.5 : 1)
|
||||
Text(description.localizedForSwiftUI)
|
||||
.foregroundColor(Color.secondary)
|
||||
.font(.system(size: 13))
|
||||
.font(.system(size: 12))
|
||||
.lineLimit(4)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.frame(minWidth: 0, maxWidth: 800, alignment: .leading)
|
||||
@ -51,7 +51,7 @@ struct OnboardingView: View {
|
||||
HStack {
|
||||
Image(nsImage: NSApp.applicationIconImage)
|
||||
.resizable()
|
||||
.frame(width: 80, height: 80)
|
||||
.frame(width: 100, height: 100)
|
||||
.padding(.bottom, 5)
|
||||
.padding(.trailing, 25)
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
@ -126,13 +126,16 @@ struct OnboardingView: View {
|
||||
Button("onboarding.tour.close".localized) {
|
||||
App.shared.onboardingWindowController?.close()
|
||||
}
|
||||
.padding(.bottom, 5)
|
||||
.padding(.bottom, 15)
|
||||
.padding(.top, 10)
|
||||
}
|
||||
}
|
||||
.padding(.leading)
|
||||
.padding(.trailing)
|
||||
.padding(.bottom, 0)
|
||||
}
|
||||
.frame(width: 600)
|
||||
.fixedSize(horizontal: true, vertical: false)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ class OnboardingWindowController: PMWindowController {
|
||||
window.titlebarAppearsTransparent = true
|
||||
window.delegate = delegate ?? windowController
|
||||
window.contentView = NSHostingView(rootView: OnboardingView())
|
||||
window.setContentSize(NSSize(width: 600, height: 600))
|
||||
window.setContentSize(window.contentView!.fittingSize)
|
||||
|
||||
App.shared.onboardingWindowController = windowController
|
||||
}
|
||||
|
@ -89,8 +89,10 @@ struct PhpDoctorView: View {
|
||||
}
|
||||
.listRowInsets(EdgeInsets())
|
||||
.listStyle(.plain)
|
||||
.frame(maxHeight: .infinity, alignment: .top)
|
||||
.frame(minHeight: 350, maxHeight: .infinity, alignment: .top)
|
||||
}
|
||||
.frame(width: 600)
|
||||
.fixedSize(horizontal: true, vertical: false)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -27,7 +27,7 @@ class PhpDoctorWindowController: PMWindowController {
|
||||
window.titlebarAppearsTransparent = true
|
||||
window.delegate = delegate ?? windowController
|
||||
window.contentView = NSHostingView(rootView: PhpDoctorView())
|
||||
window.setContentSize(NSSize(width: 600, height: 480))
|
||||
window.setContentSize(window.contentView!.fittingSize)
|
||||
|
||||
App.shared.phpDoctorWindowController = windowController
|
||||
}
|
||||
|
@ -30,7 +30,7 @@
|
||||
"mi_fix_brew_permissions" = "Restaurer les permissions Homebrew";
|
||||
"mi_fix_brew_permissions_tooltip" = "Des problèmes de permission lors de l'exécution de `brew upgrade` ? PHP Monitor vient à votre rescousse !";
|
||||
|
||||
"mi_php_refresh" = "Actualiser les informations.";
|
||||
"mi_php_refresh" = "Actualiser les informations";
|
||||
|
||||
"mi_configuration" = "Configuration PHP";
|
||||
"mi_limits" = "Configuration des limites";
|
||||
@ -48,8 +48,8 @@
|
||||
"mi_valet_config" = "Localiser le dossier Valet (.config/valet)";
|
||||
"mi_php_config" = "Localiser le fichier de configuration de PHP (php.ini)";
|
||||
"mi_phpmon_config" = "Localiser le dossier de PHP Monitor (.config/phpmon)";
|
||||
"mi_global_composer" = "Localiser le fichier Composer global (.composer).";
|
||||
"mi_phpinfo" = "Afficher la configuration actuelle (phpinfo).";
|
||||
"mi_global_composer" = "Localiser le fichier Composer global (.composer)";
|
||||
"mi_phpinfo" = "Afficher la configuration actuelle (phpinfo)";
|
||||
"mi_update_global_composer" = "Mettre à jour les dépendances globales de Composer...";
|
||||
"mi_detected_extensions" = "Extensions détectées";
|
||||
"mi_no_extensions_detected" = "Aucune extension supplémentaire détectée.";
|
||||
@ -337,22 +337,22 @@ Cela n'a pas d'effet sur les autres terminaux, mais uniquement sur la session de
|
||||
"prefs.close" = "Fermer";
|
||||
|
||||
"prefs.tabs.general" = "Général";
|
||||
"prefs.tabs.appearance" = "apparence";
|
||||
"prefs.tabs.appearance" = "Apparence";
|
||||
"prefs.tabs.visibility" = "Visibilité";
|
||||
"prefs.tabs.notifications" = "Notifications";
|
||||
|
||||
"prefs.global_shortcut" = "Raccourci Clavier Global :";
|
||||
"prefs.global_shortcut" = "Raccourci Clavier :";
|
||||
"prefs.dynamic_icon" = "Type d'Icône :";
|
||||
"prefs.info_density" = "Densité d'Informations :";
|
||||
"prefs.services" = "Services :";
|
||||
"prefs.switcher" = "Sélecteur :";
|
||||
"prefs.php_doctor" = "PHP Doctor:";
|
||||
"prefs.integrations" = "Intégrations:";
|
||||
"prefs.updates" = "Mises-à-jour:";
|
||||
"prefs.notifications" = "Notifications:";
|
||||
"prefs.warnings" = "Avertissements:";
|
||||
"prefs.menu_contents" = "Fonctionnalités dans le menu:";
|
||||
"prefs.startup" = "Démarrage:";
|
||||
"prefs.php_doctor" = "PHP Doctor :";
|
||||
"prefs.integrations" = "Intégrations :";
|
||||
"prefs.updates" = "Mises-à-jour :";
|
||||
"prefs.notifications" = "Notifications :";
|
||||
"prefs.warnings" = "Avertissements :";
|
||||
"prefs.menu_contents" = "Le menu contient :";
|
||||
"prefs.startup" = "Démarrage :";
|
||||
|
||||
"prefs.auto_start_desc" = "Lancer automatiquement PHP Monitor lorsque vous vous connectez à votre Mac.";
|
||||
"prefs.auto_start_title" = "Démarrer PHP Monitor à la connexion";
|
||||
|
Reference in New Issue
Block a user