Index: branches/ErmaC/ChameleonPrefPane/Sources/BootSetupController.mm =================================================================== --- branches/ErmaC/ChameleonPrefPane/Sources/BootSetupController.mm (revision 400) +++ branches/ErmaC/ChameleonPrefPane/Sources/BootSetupController.mm (revision 401) @@ -182,15 +182,18 @@ - (IBAction)onInjectPartsToFreeze: (id)sender { int size = [[PartsInfoMgr parts] count ]; + NSString * title = GetLocStrDef(@"Freeze_Dialog", @"msgbox", @"Inject Partitions to Freeze Configuration"); if (!size) { // nothing to inject - NSRunAlertPanel(@"Inject Partitions to Freeze Configuration", - @"No current partitions to inject, did you check boot config file ?",@"OK", nil,nil); + NSRunAlertPanel(title, + GetLocStrDef(@"Freeze_NoPart", @"msgbox", @"No current partitions to inject, did you check boot config file ?"), + @"OK", nil,nil); return; } // generate the parts list in preferences proplist - NSInteger n = NSRunAlertPanel(@"Inject Partitions to Freeze Configuration", - @"Are you sure you want to overwrite your Freeze settings with current partition list ?", + NSInteger n = NSRunAlertPanel(title, + GetLocStrDef(@"Freeze_Overwrite", @"msgbox", + @"Are you sure you want to overwrite your Freeze settings with current partition list ?"), @"OK", @"Cancel",nil); if (n==1) { @@ -371,11 +374,13 @@ if (result) { [self msgBoxInfo: - [NSString stringWithFormat:@"Boot cd creator script successfully executed. BootCD.iso created in %@.", - destination]]; + [NSString stringWithFormat: + GetLocStrDef(@"CD_Success", @"msgbox", @"Boot cd creator script successfully executed. BootCD.iso created in %@."), + destination]]; } else - [self msgBoxError:@"ERROR: Couldn't execute boot cd creator script successfully!"]; + [self msgBoxError: + GetLocStrDef(@"CD_Failure", @"msgbox", @"ERROR: Couldn't execute boot cd creator script successfully!")]; } [arr release]; Index: branches/ErmaC/ChameleonPrefPane/Italian.lproj/Localizable.strings =================================================================== --- branches/ErmaC/ChameleonPrefPane/Italian.lproj/Localizable.strings (revision 400) +++ branches/ErmaC/ChameleonPrefPane/Italian.lproj/Localizable.strings (revision 401) @@ -26,3 +26,18 @@ /* error */ "Error_Searching" = "Errore durante la ricerca dell'org.chameleon.Boot.plist"; + +/* msgbox */ +"CD_Success" = "Boot cd creator script successfully executed. BootCD.iso has been created in %@."; + +/* msgbox */ +"CD_Failure" = "ERROR: Couldn't execute boot cd creator script successfully!"; + +/* msgbox */ +"Freeze_Dialog" = "Inject Partitions to Freeze Configuration"; + +/* msgbox */ +"Freeze_NoPart" = "No current partitions to inject, did you check boot config file ?"; + +/* msgbox */ +"Freeze_Overwrite" = "Sei sicuro di voler sovrascrivere le impostazioni Freeze con la lista attuale delle partizioni ?"; Index: branches/ErmaC/ChameleonPrefPane/English.lproj/Localizable.strings =================================================================== --- branches/ErmaC/ChameleonPrefPane/English.lproj/Localizable.strings (revision 400) +++ branches/ErmaC/ChameleonPrefPane/English.lproj/Localizable.strings (revision 401) @@ -27,3 +27,18 @@ /* error */ "Error_Searching" = "Error while searching for org.chameleon.Boot.plist"; + +/* msgbox */ +"CD_Success" = "Boot cd creator script successfully executed. BootCD.iso has been created in %@."; + +/* msgbox */ +"CD_Failure" = "ERROR: Couldn't execute boot cd creator script successfully!"; + +/* msgbox */ +"Freeze_Dialog" = "Inject Partitions to Freeze Configuration"; + +/* msgbox */ +"Freeze_NoPart" = "No current partitions to inject, did you check boot config file ?"; + +/* msgbox */ +"Freeze_Overwrite" = "Are you sure you want to overwrite your Freeze settings with current partition list ?";