Cheru Berhanu
292efec669
terminal: fix build with -Di18n=false
canonicalizeLocale should return a null-terminated string, and didn't previously.
Compiler output:
```
src/os/i18n.zig:139:45: error: expected type 'error{NoSpaceLeft}![:0]const u8', found '[]const u8'
if (comptime !build_config.i18n) return locale;
^~~~~~
src/os/i18n.zig:139:45: note: destination pointer requires '0' sentinel
src/os/i18n.zig:138:21: note: function return type declared here
) error{NoSpaceLeft}![:0]const u8 {
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
```
2025-08-22 14:47:04 -07:00
..
2025-08-21 13:34:53 -07:00
2025-08-20 12:38:29 -07:00
2025-08-20 11:43:48 -07:00
2025-07-30 14:29:38 +10:00
2025-08-21 10:45:17 -07:00
2025-06-20 15:18:41 -06:00
2025-08-12 13:34:35 -07:00
2025-08-21 07:04:13 -07:00
2025-08-22 02:02:11 +08:00
2025-08-20 12:38:29 -07:00
2025-08-22 14:47:04 -07:00
2025-08-15 08:59:24 -07:00
2025-08-19 10:41:47 -04:00
2025-03-12 11:03:54 -07:00
2025-01-18 22:47:18 +09:00
2025-08-20 12:38:29 -07:00
2025-08-21 07:27:43 -07:00
2025-05-27 21:55:28 -06:00
2025-08-20 12:38:29 -07:00
2025-05-26 21:50:14 -06:00
2025-07-19 14:03:48 -07:00
2025-08-14 12:43:15 -07:00
2025-08-06 14:54:02 +08:00
2025-07-09 15:06:24 -07:00
2025-07-03 21:31:03 -07:00
2025-08-19 21:29:52 +02:00
2024-06-10 13:58:35 -04:00
2025-06-25 16:27:23 -04:00
2025-07-09 15:06:24 -07:00
2025-07-09 15:06:24 -07:00
2025-04-21 08:32:05 -07:00
2025-07-09 15:06:24 -07:00
2025-07-09 15:06:24 -07:00
2025-07-09 15:06:24 -07:00
2025-07-09 15:06:23 -07:00
2024-08-16 14:35:10 -07:00
2025-07-09 15:06:24 -07:00
2022-08-18 11:42:32 -07:00
2025-06-21 14:11:50 -07:00
2024-08-11 15:26:36 -07:00
2025-06-20 15:18:41 -06:00
2025-05-09 10:01:05 -07:00
2025-08-22 09:49:18 -07:00
2024-08-16 10:36:10 -07:00