ui/cocoa/resource.m

changeset 30
34513f76d5a8
parent 29
c96169444d88
child 31
34df61c6ec3c
equal deleted inserted replaced
29:c96169444d88 30:34513f76d5a8
32 32
33 #import "resource.h" 33 #import "resource.h"
34 34
35 35
36 36
37 void ui_load_locale(char *locale) { 37 void ui_load_lang(char *locale) {
38 NSString *localeString = nil; 38 NSString *localeString = nil;
39 if(locale) { 39 if(locale) {
40 localeString = [[NSString alloc]initWithUTF8String:locale]; 40 localeString = [[NSString alloc]initWithUTF8String:locale];
41 } else { 41 } else {
42 localeString = @"en_EN"; 42 localeString = @"en_EN";

mercurial