@@ -93,13 +93,14 @@ OFSHA256Hash *SHA256Hash = nil; OFSHA384Hash *SHA384Hash = nil; OFSHA512Hash *SHA512Hash = nil; #ifndef OF_AMIGAOS - [OFLocale addLanguageDirectory: @LANGUAGE_DIR]; + [OFLocale addLocalizationDirectory: @LOCALIZATION_DIR]; #else - [OFLocale addLanguageDirectory: @"PROGDIR:/share/ofhash/lang"]; + [OFLocale addLocalizationDirectory: + @"PROGDIR:/share/ofhash/localization"]; #endif while ((option = [optionsParser nextOption]) != '\0') { switch (option) { case '?': @@ -132,11 +133,11 @@ sandbox.allowsUserDatabaseReading = true; for (OFString *path in optionsParser.remainingArguments) [sandbox unveilPath: path permissions: @"r"]; - [sandbox unveilPath: @LANGUAGE_DIR permissions: @"r"]; + [sandbox unveilPath: @LOCALIZATION_DIR permissions: @"r"]; [OFApplication of_activateSandbox: sandbox]; } @finally { [sandbox release]; }