mirror of https://github.com/fairyglade/ly.git
Add translatable string for config parse error
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
a393525212
commit
46f9ddd5fc
|
@ -6,6 +6,7 @@ err_alloc: []const u8 = "failed memory allocation",
|
|||
err_bounds: []const u8 = "out-of-bounds index",
|
||||
err_brightness_change: []const u8 = "failed to change brightness",
|
||||
err_chdir: []const u8 = "failed to open home folder",
|
||||
err_config: []const u8 = "unable to parse config file",
|
||||
err_console_dev: []const u8 = "failed to access console",
|
||||
err_dgn_oob: []const u8 = "log message",
|
||||
err_domain: []const u8 = "invalid domain",
|
||||
|
|
|
@ -221,7 +221,7 @@ pub fn main() !void {
|
|||
defer info_line.deinit();
|
||||
|
||||
if (config_load_failed) {
|
||||
try info_line.addMessage("unable to parse config file", config.error_bg, config.error_fg);
|
||||
try info_line.addMessage(lang.err_config, config.error_bg, config.error_fg);
|
||||
}
|
||||
|
||||
var session = try Session.init(allocator, &buffer, config.max_desktop_len, lang);
|
||||
|
|
Loading…
Reference in New Issue