Chameleon Applications

Chameleon Applications Commit Details

Date:2011-12-04 02:24:32 (12 years 4 months ago)
Author:Rekursor
Commit:400
Parents: 399
Message:Added localization for freeze dlg messages
Changes:
M/trunk/ChameleonPrefPane/Sources/BootSetupController.mm
M/trunk/ChameleonPrefPane/English.lproj/Localizable.strings

File differences

trunk/ChameleonPrefPane/Sources/BootSetupController.mm
182182
183183
184184
185
185186
186187
187
188
188
189
190
189191
190192
191193
192
193
194
195
196
194197
195198
196199
- (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)
{
trunk/ChameleonPrefPane/English.lproj/Localizable.strings
3232
3333
3434
35
35
36
37
38
39
40
41
42
43
44
"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!";
"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 ?";

Archive Download the corresponding diff file

Revision: 400