Skip to content

Commit 8b8b4cb

Browse files
committed
fix: enable i18n on FreeBSD
1 parent b5bf5c2 commit 8b8b4cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub fn build(b: *std.Build) !void {
4646
if (config.app_runtime != .none) {
4747
exe.install();
4848
resources.install();
49-
if (builtin.target.os.tag != .freebsd) i18n.install();
49+
i18n.install();
5050
}
5151

5252
// Libghostty

src/os/i18n.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub const InitError = error{
7070
pub fn init(resources_dir: []const u8) InitError!void {
7171
// i18n is unsupported on Windows
7272
switch (builtin.os.tag) {
73-
.windows, .freebsd => return,
73+
.windows => return,
7474
else => {
7575
// Our resources dir is always nested below the share dir that
7676
// is standard for translations.

0 commit comments

Comments
 (0)