Skip to content

Commit 52b065a

Browse files
committed
fix: search for translation files in the right folder within macOS app bundle
1 parent f51d2a9 commit 52b065a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/apphelpers.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2756,7 +2756,7 @@ procedure InitMoFile(LangCode: String);
27562756
// Initialize .mo file in the given language, so we can use that for translating via _()
27572757
if LangCode.IsEmpty then
27582758
LangCode := SysLanguage;
2759-
LocaleDir := GetAppDir + AppendPathDelim('locale');
2759+
LocaleDir := GetResourcesDir + AppendPathDelim('locale');
27602760
AppLanguageMoBasePath := LocaleDir + GetApplicationName;
27612761
MOFileName := '';
27622762
if not LangCode.IsEmpty then begin

0 commit comments

Comments
 (0)