bohay 0.5.1

Next-Gen Agents multiplexer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
//! Localization (docs/21) — selectable UI language, modeled on the theme system
//! (`config.language: String` → a `LANGS` registry → `by_code()` → a live swap
//! from Settings). The app holds one active [`Catalog`] of `&'static str` labels
//! and reads them instead of hardcoded literals.
//!
//! **Only human-facing chrome is translated.** Protocol/method names, CLI verbs,
//! and agent-detection strings stay English — that boundary is what keeps the app
//! unbreakable. A `Catalog` is a struct of *required* `&'static str` fields, so a
//! partial translation can't compile, and an unknown `config.language` falls back
//! to [`EN`] (worst case: shows English, never a crash or a blank label).

/// Every translatable UI label. One field per string; all required. Footer/hint
/// "action words" are shared across surfaces (picker, git tab, help) for
/// consistency and to keep the table small.
pub struct Catalog {
    // ── sidebar ──
    pub workspaces: &'static str,
    pub agents: &'static str,
    pub no_active_agents: &'static str,
    pub no_agents_or_sessions: &'static str,
    pub all: &'static str,
    pub active: &'static str,
    pub menu: &'static str,
    pub copied: &'static str,
    // ── status line ──
    pub mode_normal: &'static str,
    pub mode_prefix: &'static str,
    pub prefix: &'static str,
    pub all_shortcuts: &'static str,
    pub all_keys: &'static str,
    pub pane: &'static str,
    pub panes: &'static str,
    pub workspace: &'static str,
    // ── shared action words (footers, hints) ──
    pub act_move: &'static str,
    pub act_select: &'static str,
    pub act_up: &'static str,
    pub act_cancel: &'static str,
    pub act_create: &'static str,
    pub act_new_folder: &'static str,
    pub act_close: &'static str,
    pub act_split: &'static str,
    pub act_new_tab: &'static str,
    pub act_tab: &'static str,
    pub act_details: &'static str,
    pub act_diff: &'static str,
    pub act_open: &'static str,
    pub act_new: &'static str,
    pub act_filter: &'static str,
    pub act_view: &'static str,
    pub act_log: &'static str,
    pub act_checkout: &'static str,
    pub act_refresh: &'static str,
    pub act_scroll: &'static str,
    pub act_back: &'static str,
    pub act_merge: &'static str,
    pub act_approve: &'static str,
    pub act_ready: &'static str,
    pub act_show: &'static str,
    pub act_jump_tab: &'static str,
    pub act_this_help: &'static str,
    pub act_any_key: &'static str,
    pub act_send: &'static str,
    pub act_section: &'static str,
    pub act_rebind: &'static str,
    pub act_reset: &'static str,
    pub act_adjust: &'static str,
    pub act_apply: &'static str,
    pub act_installed: &'static str,
    // ── folder picker ──
    pub open_workspace: &'static str,
    pub open_this_folder: &'static str,
    pub open_with_worktree: &'static str,
    pub new_git_worktree: &'static str,
    pub branch: &'static str,
    // ── help overlay ──
    pub keyboard_shortcuts: &'static str,
    // ── settings ──
    pub settings_title: &'static str,
    pub tab_theme: &'static str,
    pub tab_layout: &'static str,
    pub tab_notify: &'static str,
    pub tab_keys: &'static str,
    pub tab_modules: &'static str,
    pub tab_agents: &'static str,
    pub tab_language: &'static str,
    pub set_sidebar_width: &'static str,
    pub set_column_gap: &'static str,
    pub set_row_gap: &'static str,
    pub set_pane_titles: &'static str,
    pub set_resume_workspace: &'static str,
    pub set_enabled: &'static str,
    pub set_notify_blocked: &'static str,
    pub set_notify_done: &'static str,
    pub set_test_notification: &'static str,
    // ── git tab: sections ──
    pub sec_commits: &'static str,
    pub sec_flow: &'static str,
    pub sec_branches: &'static str,
    pub sec_prs: &'static str,
    pub sec_issues: &'static str,
    pub sec_status: &'static str,
    // ── git tab: scope ──
    pub scope_this_repo: &'static str,
    pub scope_my_work: &'static str,
    // ── git tab: PR list columns ──
    pub col_status: &'static str,
    pub col_title: &'static str,
    pub col_author: &'static str,
    pub col_reviewer: &'static str,
    pub col_checks: &'static str,
    // ── git tab: load/empty states ──
    pub git_loading_prs: &'static str,
    pub git_no_prs: &'static str,
    pub git_loading_pr: &'static str,
    pub git_loading_issues: &'static str,
    pub git_no_issues: &'static str,
    pub git_loading_flow: &'static str,
    pub git_no_branches: &'static str,
    pub git_loading_status: &'static str,
    pub git_github_prs: &'static str,
    pub git_github_issues: &'static str,
    pub git_unavailable: &'static str,
    pub git_error: &'static str,
    // ── git tab: PR badges ──
    pub badge_draft: &'static str,
    pub badge_merged: &'static str,
    pub badge_approved: &'static str,
    pub badge_denied: &'static str,
    pub badge_review: &'static str,
    pub badge_open: &'static str,
    pub badge_closed: &'static str,
    pub badge_changes_requested: &'static str,
    pub badge_review_required: &'static str,
    // ── git tab: review states ──
    pub rev_approved: &'static str,
    pub rev_changes_requested: &'static str,
    pub rev_commented: &'static str,
    pub rev_dismissed: &'static str,
    // ── git tab: PR detail ──
    pub detail_checks: &'static str,
    pub detail_reviews: &'static str,
    pub detail_description: &'static str,
    pub detail_labels: &'static str,
    pub detail_no_description: &'static str,
    pub detail_updated: &'static str,
    pub detail_mergeable: &'static str,
    pub detail_conflicts: &'static str,
    pub detail_files: &'static str,
    pub detail_commits: &'static str,
    pub detail_comments: &'static str,
    pub detail_by: &'static str,
    // ── git tab: Status view ──
    pub st_repository: &'static str,
    pub st_contributors: &'static str,
    pub st_working_tree: &'static str,
    pub st_clean: &'static str,
    pub st_staged: &'static str,
    pub st_changed: &'static str,
    pub st_untracked: &'static str,
    pub st_stashes: &'static str,
    pub git_loading_branches: &'static str,
    pub git_loading_commits: &'static str,
    pub git_nothing_here: &'static str,
    pub git_change: &'static str,
    pub git_changes: &'static str,
    pub cmd_focus_left: &'static str,
    pub cmd_focus_down: &'static str,
    pub cmd_focus_up: &'static str,
    pub cmd_focus_right: &'static str,
    pub cmd_split_right: &'static str,
    pub cmd_split_down: &'static str,
    pub cmd_close_pane: &'static str,
    pub cmd_zoom_pane: &'static str,
    pub cmd_new_tab: &'static str,
    pub cmd_next_tab: &'static str,
    pub cmd_prev_tab: &'static str,
    pub cmd_new_workspace: &'static str,
    pub cmd_close_workspace: &'static str,
    pub cmd_next_workspace: &'static str,
    pub cmd_prev_workspace: &'static str,
    pub cmd_new_worktree: &'static str,
    pub cmd_open_git: &'static str,
    pub cmd_open_board: &'static str,
    pub task_queued: &'static str,
    pub task_claimed: &'static str,
    pub task_running: &'static str,
    pub task_blocked: &'static str,
    pub task_review: &'static str,
    pub task_done: &'static str,
    pub task_failed: &'static str,
    pub board_title: &'static str,
    pub board_tasks: &'static str,
    pub board_leases: &'static str,
    pub board_none: &'static str,
    pub board_empty: &'static str,
    pub board_new_task: &'static str,
    pub board_compact: &'static str,
    pub board_f_title: &'static str,
    pub board_f_paths: &'static str,
    pub board_f_deps: &'static str,
    pub board_f_gate: &'static str,
    pub board_h_title: &'static str,
    pub board_h_paths: &'static str,
    pub board_h_deps: &'static str,
    pub board_h_gate: &'static str,
    pub board_start: &'static str,
    pub board_release: &'static str,
    pub board_next_field: &'static str,
    pub cmd_open_settings: &'static str,
    pub cmd_toggle_sidebar: &'static str,
    pub cmd_toggle_agents: &'static str,
    pub cmd_detach: &'static str,
    pub flow_commit: &'static str,
    pub flow_ahead: &'static str,
    pub flow_behind: &'static str,
    pub flow_open_pr: &'static str,
    pub flow_merges_trunk: &'static str,
}

/// The English baseline — every other catalog mirrors this shape exactly.
pub static EN: Catalog = Catalog {
    workspaces: "WORKSPACES",
    agents: "AGENTS",
    no_active_agents: "no active agents",
    no_agents_or_sessions: "no agents or sessions",
    all: "All",
    active: "Active",
    menu: "Menu",
    copied: "Copied to clipboard",
    mode_normal: "NORMAL",
    mode_prefix: "PREFIX",
    prefix: "prefix",
    all_shortcuts: "all shortcuts",
    all_keys: "all keys",
    pane: "pane",
    panes: "panes",
    workspace: "workspace",
    act_move: "move",
    act_select: "select",
    act_up: "up",
    act_cancel: "cancel",
    act_create: "create",
    act_new_folder: "new folder",
    act_close: "close",
    act_split: "split",
    act_new_tab: "new tab",
    act_tab: "tab",
    act_details: "details",
    act_diff: "diff",
    act_open: "open",
    act_new: "new",
    act_filter: "filter",
    act_view: "view",
    act_log: "log",
    act_checkout: "checkout",
    act_refresh: "refresh",
    act_scroll: "scroll",
    act_back: "back",
    act_merge: "merge",
    act_approve: "approve",
    act_ready: "ready",
    act_show: "show",
    act_jump_tab: "jump to tab",
    act_this_help: "this help",
    act_any_key: "any key",
    act_send: "Send",
    act_section: "section",
    act_rebind: "rebind",
    act_reset: "reset",
    act_adjust: "adjust",
    act_apply: "apply",
    act_installed: "installed",
    open_workspace: "Open Workspace",
    open_this_folder: "Open this folder",
    open_with_worktree: "Open with new worktree",
    new_git_worktree: "New git worktree",
    branch: "branch",
    keyboard_shortcuts: "Keyboard Shortcuts",
    settings_title: "Settings",
    tab_theme: "Theme",
    tab_layout: "Layout",
    tab_notify: "Notify",
    tab_keys: "Keys",
    tab_modules: "Modules",
    tab_agents: "Agents",
    tab_language: "Language",
    set_sidebar_width: "Sidebar width",
    set_column_gap: "Column gap",
    set_row_gap: "Row gap",
    set_pane_titles: "Pane titles",
    set_resume_workspace: "Resume in new workspace",
    set_enabled: "Enabled",
    set_notify_blocked: "Notify on blocked",
    set_notify_done: "Notify on done",
    set_test_notification: "Test notification",
    sec_commits: "Commits",
    sec_flow: "Flow",
    sec_branches: "Branches",
    sec_prs: "PRs",
    sec_issues: "Issues",
    sec_status: "Status",
    scope_this_repo: "this repo",
    scope_my_work: "my work",
    col_status: "STATUS",
    col_title: "TITLE",
    col_author: "AUTHOR",
    col_reviewer: "REVIEWER",
    col_checks: "CHECKS",
    git_loading_prs: "loading pull requests…",
    git_no_prs: "no open pull requests ✓",
    git_loading_pr: "loading pull request…",
    git_loading_issues: "loading issues…",
    git_no_issues: "no open issues ✓",
    git_loading_flow: "loading flow…",
    git_no_branches: "no branches to chart",
    git_loading_status: "loading status…",
    git_github_prs: "GitHub PRs",
    git_github_issues: "GitHub issues",
    git_unavailable: "GitHub unavailable",
    git_error: "git error",
    badge_draft: "Draft",
    badge_merged: "Merged",
    badge_approved: "Approved",
    badge_denied: "Denied",
    badge_review: "Review",
    badge_open: "Open",
    badge_closed: "Closed",
    badge_changes_requested: "Changes requested",
    badge_review_required: "Review required",
    rev_approved: "approved",
    rev_changes_requested: "changes requested",
    rev_commented: "commented",
    rev_dismissed: "dismissed",
    detail_checks: "Checks",
    detail_reviews: "Reviews",
    detail_description: "Description",
    detail_labels: "Labels",
    detail_no_description: "(no description)",
    detail_updated: "updated",
    detail_mergeable: "mergeable",
    detail_conflicts: "conflicts",
    detail_files: "files",
    detail_commits: "commits",
    detail_comments: "comments",
    detail_by: "by",
    st_repository: "Repository",
    st_contributors: "Contributors",
    st_working_tree: "Working tree",
    st_clean: "clean",
    st_staged: "Staged",
    st_changed: "Changed",
    st_untracked: "Untracked",
    st_stashes: "Stashes",
    git_loading_branches: "loading branches…",
    git_loading_commits: "loading commits…",
    git_nothing_here: "nothing here",
    git_change: "change",
    git_changes: "changes",
    cmd_focus_left: "Focus pane left",
    cmd_focus_down: "Focus pane down",
    cmd_focus_up: "Focus pane up",
    cmd_focus_right: "Focus pane right",
    cmd_split_right: "Split pane right",
    cmd_split_down: "Split pane down",
    cmd_close_pane: "Close pane",
    cmd_zoom_pane: "Zoom pane",
    cmd_new_tab: "New tab",
    cmd_next_tab: "Next tab",
    cmd_prev_tab: "Previous tab",
    cmd_new_workspace: "New workspace (pick a folder)",
    cmd_close_workspace: "Close workspace",
    cmd_next_workspace: "Next workspace",
    cmd_prev_workspace: "Previous workspace",
    cmd_new_worktree: "New git worktree",
    cmd_open_git: "Open git tab",
    cmd_open_board: "Open task board",
    task_queued: "queued",
    task_claimed: "claimed",
    task_running: "running",
    task_blocked: "blocked",
    task_review: "review",
    task_done: "done",
    task_failed: "failed",
    board_title: "ORCHESTRATION",
    board_tasks: "tasks",
    board_leases: "LEASES",
    board_none: "none",
    board_empty: "No tasks yet — press  a  to add one.",
    board_new_task: "New task",
    board_compact: "compact",
    board_f_title: "Title",
    board_f_paths: "Paths",
    board_f_deps: "Deps",
    board_f_gate: "Gate",
    board_h_title: "what to do",
    board_h_paths: "src/auth/**  (space-separated globs)",
    board_h_deps: "t1 t2  (task ids this depends on)",
    board_h_gate: "cargo test auth  (runs on done)",
    board_start: "start",
    board_release: "release",
    board_next_field: "next field",
    cmd_open_settings: "Open settings",
    cmd_toggle_sidebar: "Toggle sidebar",
    cmd_toggle_agents: "Agents: all / active",
    cmd_detach: "Detach (leave server running)",
    flow_commit: "commit",
    flow_ahead: "ahead",
    flow_behind: "behind",
    flow_open_pr: "open PR",
    flow_merges_trunk: "merges into trunk",
};

static ES: Catalog = Catalog {
    workspaces: "ESPACIOS",
    agents: "AGENTES",
    no_active_agents: "sin agentes activos",
    no_agents_or_sessions: "sin agentes ni sesiones",
    all: "Todos",
    active: "Activos",
    menu: "Menú",
    copied: "Copiado al portapapeles",
    mode_normal: "NORMAL",
    mode_prefix: "PREFIJO",
    prefix: "prefijo",
    all_shortcuts: "todos los atajos",
    all_keys: "todas las teclas",
    pane: "panel",
    panes: "paneles",
    workspace: "espacio",
    act_move: "mover",
    act_select: "elegir",
    act_up: "subir",
    act_cancel: "cancelar",
    act_create: "crear",
    act_new_folder: "nueva carpeta",
    act_close: "cerrar",
    act_split: "dividir",
    act_new_tab: "pestaña",
    act_tab: "pestaña",
    act_details: "detalles",
    act_diff: "diff",
    act_open: "abrir",
    act_new: "nuevo",
    act_filter: "filtrar",
    act_view: "ver",
    act_log: "historial",
    act_checkout: "cambiar",
    act_refresh: "recargar",
    act_scroll: "desplazar",
    act_back: "volver",
    act_merge: "fusionar",
    act_approve: "aprobar",
    act_ready: "listo",
    act_show: "mostrar",
    act_jump_tab: "ir a pestaña",
    act_this_help: "esta ayuda",
    act_any_key: "cualquier tecla",
    act_send: "Enviar",
    act_section: "sección",
    act_rebind: "reasignar",
    act_reset: "restablecer",
    act_adjust: "ajustar",
    act_apply: "aplicar",
    act_installed: "instalado",
    open_workspace: "Abrir espacio",
    open_this_folder: "Abrir esta carpeta",
    open_with_worktree: "Abrir con nuevo worktree",
    new_git_worktree: "Nuevo worktree git",
    branch: "rama",
    keyboard_shortcuts: "Atajos de teclado",
    settings_title: "Ajustes",
    tab_theme: "Tema",
    tab_layout: "Diseño",
    tab_notify: "Avisos",
    tab_keys: "Teclas",
    tab_modules: "Módulos",
    tab_agents: "Agentes",
    tab_language: "Idioma",
    set_sidebar_width: "Ancho de barra",
    set_column_gap: "Espacio columna",
    set_row_gap: "Espacio fila",
    set_pane_titles: "Títulos de panel",
    set_resume_workspace: "Reanudar en nuevo espacio",
    set_enabled: "Activado",
    set_notify_blocked: "Avisar si bloqueado",
    set_notify_done: "Avisar al terminar",
    set_test_notification: "Probar aviso",
    sec_commits: "Commits",
    sec_flow: "Flujo",
    sec_branches: "Ramas",
    sec_prs: "PRs",
    sec_issues: "Incidencias",
    sec_status: "Estado",
    scope_this_repo: "este repo",
    scope_my_work: "mi trabajo",
    col_status: "ESTADO",
    col_title: "TÍTULO",
    col_author: "AUTOR",
    col_reviewer: "REVISOR",
    col_checks: "CHECKS",
    git_loading_prs: "cargando pull requests…",
    git_no_prs: "sin pull requests abiertos ✓",
    git_loading_pr: "cargando pull request…",
    git_loading_issues: "cargando incidencias…",
    git_no_issues: "sin incidencias abiertas ✓",
    git_loading_flow: "cargando flujo…",
    git_no_branches: "sin ramas que mostrar",
    git_loading_status: "cargando estado…",
    git_github_prs: "PRs de GitHub",
    git_github_issues: "Incidencias de GitHub",
    git_unavailable: "GitHub no disponible",
    git_error: "error de git",
    badge_draft: "Borrador",
    badge_merged: "Fusionado",
    badge_approved: "Aprobado",
    badge_denied: "Rechazado",
    badge_review: "Revisar",
    badge_open: "Abierto",
    badge_closed: "Cerrado",
    badge_changes_requested: "Cambios pedidos",
    badge_review_required: "Revisión requerida",
    rev_approved: "aprobó",
    rev_changes_requested: "pidió cambios",
    rev_commented: "comentó",
    rev_dismissed: "descartado",
    detail_checks: "Comprobaciones",
    detail_reviews: "Revisiones",
    detail_description: "Descripción",
    detail_labels: "Etiquetas",
    detail_no_description: "(sin descripción)",
    detail_updated: "actualizado",
    detail_mergeable: "fusionable",
    detail_conflicts: "conflictos",
    detail_files: "archivos",
    detail_commits: "commits",
    detail_comments: "comentarios",
    detail_by: "por",
    st_repository: "Repositorio",
    st_contributors: "Colaboradores",
    st_working_tree: "Árbol de trabajo",
    st_clean: "limpio",
    st_staged: "Preparado",
    st_changed: "Modificado",
    st_untracked: "Sin seguimiento",
    st_stashes: "Stashes",
    git_loading_branches: "cargando ramas…",
    git_loading_commits: "cargando commits…",
    git_nothing_here: "nada aquí",
    git_change: "cambio",
    git_changes: "cambios",
    cmd_focus_left: "Enfocar panel izquierda",
    cmd_focus_down: "Enfocar panel abajo",
    cmd_focus_up: "Enfocar panel arriba",
    cmd_focus_right: "Enfocar panel derecha",
    cmd_split_right: "Dividir panel a la derecha",
    cmd_split_down: "Dividir panel abajo",
    cmd_close_pane: "Cerrar panel",
    cmd_zoom_pane: "Ampliar panel",
    cmd_new_tab: "Nueva pestaña",
    cmd_next_tab: "Pestaña siguiente",
    cmd_prev_tab: "Pestaña anterior",
    cmd_new_workspace: "Nuevo espacio (elegir carpeta)",
    cmd_close_workspace: "Cerrar espacio",
    cmd_next_workspace: "Espacio siguiente",
    cmd_prev_workspace: "Espacio anterior",
    cmd_new_worktree: "Nuevo worktree git",
    cmd_open_git: "Abrir pestaña git",
    cmd_open_board: "Abrir tablero de tareas",
    task_queued: "en cola",
    task_claimed: "reclamada",
    task_running: "en curso",
    task_blocked: "bloqueada",
    task_review: "revisión",
    task_done: "hecha",
    task_failed: "fallida",
    board_title: "ORQUESTACIÓN",
    board_tasks: "tareas",
    board_leases: "RESERVAS",
    board_none: "ninguna",
    board_empty: "Aún no hay tareas — pulsa  a  para añadir una.",
    board_new_task: "Nueva tarea",
    board_compact: "compactar",
    board_f_title: "Título",
    board_f_paths: "Rutas",
    board_f_deps: "Deps",
    board_f_gate: "Prueba",
    board_h_title: "qué hacer",
    board_h_paths: "src/auth/**  (globs separados por espacios)",
    board_h_deps: "t1 t2  (ids de tareas de las que depende)",
    board_h_gate: "cargo test auth  (se ejecuta al terminar)",
    board_start: "iniciar",
    board_release: "liberar",
    board_next_field: "campo siguiente",
    cmd_open_settings: "Abrir ajustes",
    cmd_toggle_sidebar: "Alternar barra lateral",
    cmd_toggle_agents: "Agentes: todos / activos",
    cmd_detach: "Desacoplar (servidor sigue activo)",
    flow_commit: "commit",
    flow_ahead: "adelante",
    flow_behind: "atrás",
    flow_open_pr: "PR abierto",
    flow_merges_trunk: "fusiona al tronco",
};

static PT: Catalog = Catalog {
    workspaces: "ESPAÇOS",
    agents: "AGENTES",
    no_active_agents: "nenhum agente ativo",
    no_agents_or_sessions: "nenhum agente ou sessão",
    all: "Todos",
    active: "Ativos",
    menu: "Menu",
    copied: "Copiado",
    mode_normal: "NORMAL",
    mode_prefix: "PREFIXO",
    prefix: "prefixo",
    all_shortcuts: "todos os atalhos",
    all_keys: "todas as teclas",
    pane: "painel",
    panes: "painéis",
    workspace: "espaço",
    act_move: "mover",
    act_select: "escolher",
    act_up: "subir",
    act_cancel: "cancelar",
    act_create: "criar",
    act_new_folder: "nova pasta",
    act_close: "fechar",
    act_split: "dividir",
    act_new_tab: "aba",
    act_tab: "aba",
    act_details: "detalhes",
    act_diff: "diff",
    act_open: "abrir",
    act_new: "novo",
    act_filter: "filtrar",
    act_view: "ver",
    act_log: "histórico",
    act_checkout: "trocar",
    act_refresh: "recarregar",
    act_scroll: "rolar",
    act_back: "voltar",
    act_merge: "mesclar",
    act_approve: "aprovar",
    act_ready: "pronto",
    act_show: "mostrar",
    act_jump_tab: "ir para aba",
    act_this_help: "esta ajuda",
    act_any_key: "qualquer tecla",
    act_send: "Enviar",
    act_section: "seção",
    act_rebind: "remapear",
    act_reset: "redefinir",
    act_adjust: "ajustar",
    act_apply: "aplicar",
    act_installed: "instalado",
    open_workspace: "Abrir espaço",
    open_this_folder: "Abrir esta pasta",
    open_with_worktree: "Abrir com novo worktree",
    new_git_worktree: "Novo worktree git",
    branch: "ramo",
    keyboard_shortcuts: "Atalhos de teclado",
    settings_title: "Configurações",
    tab_theme: "Tema",
    tab_layout: "Layout",
    tab_notify: "Avisos",
    tab_keys: "Teclas",
    tab_modules: "Módulos",
    tab_agents: "Agentes",
    tab_language: "Idioma",
    set_sidebar_width: "Largura da barra",
    set_column_gap: "Espaço coluna",
    set_row_gap: "Espaço linha",
    set_pane_titles: "Títulos do painel",
    set_resume_workspace: "Retomar em novo espaço",
    set_enabled: "Ativado",
    set_notify_blocked: "Avisar se bloqueado",
    set_notify_done: "Avisar ao concluir",
    set_test_notification: "Testar aviso",
    sec_commits: "Commits",
    sec_flow: "Fluxo",
    sec_branches: "Ramos",
    sec_prs: "PRs",
    sec_issues: "Issues",
    sec_status: "Estado",
    scope_this_repo: "este repo",
    scope_my_work: "meu trabalho",
    col_status: "ESTADO",
    col_title: "TÍTULO",
    col_author: "AUTOR",
    col_reviewer: "REVISOR",
    col_checks: "CHECKS",
    git_loading_prs: "carregando pull requests…",
    git_no_prs: "nenhum pull request aberto ✓",
    git_loading_pr: "carregando pull request…",
    git_loading_issues: "carregando issues…",
    git_no_issues: "nenhuma issue aberta ✓",
    git_loading_flow: "carregando fluxo…",
    git_no_branches: "nenhum ramo para exibir",
    git_loading_status: "carregando estado…",
    git_github_prs: "PRs do GitHub",
    git_github_issues: "Issues do GitHub",
    git_unavailable: "GitHub indisponível",
    git_error: "erro do git",
    badge_draft: "Rascunho",
    badge_merged: "Mesclado",
    badge_approved: "Aprovado",
    badge_denied: "Recusado",
    badge_review: "Revisar",
    badge_open: "Aberto",
    badge_closed: "Fechado",
    badge_changes_requested: "Mudanças pedidas",
    badge_review_required: "Revisão exigida",
    rev_approved: "aprovou",
    rev_changes_requested: "pediu mudanças",
    rev_commented: "comentou",
    rev_dismissed: "descartado",
    detail_checks: "Verificações",
    detail_reviews: "Revisões",
    detail_description: "Descrição",
    detail_labels: "Rótulos",
    detail_no_description: "(sem descrição)",
    detail_updated: "atualizado",
    detail_mergeable: "mesclável",
    detail_conflicts: "conflitos",
    detail_files: "arquivos",
    detail_commits: "commits",
    detail_comments: "comentários",
    detail_by: "por",
    st_repository: "Repositório",
    st_contributors: "Contribuidores",
    st_working_tree: "Árvore de trabalho",
    st_clean: "limpo",
    st_staged: "Preparado",
    st_changed: "Modificado",
    st_untracked: "Não rastreado",
    st_stashes: "Stashes",
    git_loading_branches: "carregando ramos…",
    git_loading_commits: "carregando commits…",
    git_nothing_here: "nada aqui",
    git_change: "mudança",
    git_changes: "mudanças",
    cmd_focus_left: "Focar painel à esquerda",
    cmd_focus_down: "Focar painel abaixo",
    cmd_focus_up: "Focar painel acima",
    cmd_focus_right: "Focar painel à direita",
    cmd_split_right: "Dividir painel à direita",
    cmd_split_down: "Dividir painel abaixo",
    cmd_close_pane: "Fechar painel",
    cmd_zoom_pane: "Ampliar painel",
    cmd_new_tab: "Nova aba",
    cmd_next_tab: "Próxima aba",
    cmd_prev_tab: "Aba anterior",
    cmd_new_workspace: "Novo espaço (escolher pasta)",
    cmd_close_workspace: "Fechar espaço",
    cmd_next_workspace: "Próximo espaço",
    cmd_prev_workspace: "Espaço anterior",
    cmd_new_worktree: "Novo worktree git",
    cmd_open_git: "Abrir aba git",
    cmd_open_board: "Abrir quadro de tarefas",
    task_queued: "na fila",
    task_claimed: "reivindicada",
    task_running: "em execução",
    task_blocked: "bloqueada",
    task_review: "revisão",
    task_done: "concluída",
    task_failed: "falhou",
    board_title: "ORQUESTRAÇÃO",
    board_tasks: "tarefas",
    board_leases: "RESERVAS",
    board_none: "nenhuma",
    board_empty: "Ainda não há tarefas — pressione  a  para adicionar.",
    board_new_task: "Nova tarefa",
    board_compact: "compactar",
    board_f_title: "Título",
    board_f_paths: "Caminhos",
    board_f_deps: "Deps",
    board_f_gate: "Teste",
    board_h_title: "o que fazer",
    board_h_paths: "src/auth/**  (globs separados por espaço)",
    board_h_deps: "t1 t2  (ids das tarefas de que depende)",
    board_h_gate: "cargo test auth  (executa ao concluir)",
    board_start: "iniciar",
    board_release: "liberar",
    board_next_field: "próximo campo",
    cmd_open_settings: "Abrir configurações",
    cmd_toggle_sidebar: "Alternar barra lateral",
    cmd_toggle_agents: "Agentes: todos / ativos",
    cmd_detach: "Desacoplar (servidor continua)",
    flow_commit: "commit",
    flow_ahead: "à frente",
    flow_behind: "atrás",
    flow_open_pr: "PR aberto",
    flow_merges_trunk: "mescla no tronco",
};

static FR: Catalog = Catalog {
    workspaces: "ESPACES",
    agents: "AGENTS",
    no_active_agents: "aucun agent actif",
    no_agents_or_sessions: "aucun agent ni session",
    all: "Tous",
    active: "Actifs",
    menu: "Menu",
    copied: "Copié dans le presse-papiers",
    mode_normal: "NORMAL",
    mode_prefix: "PRÉFIXE",
    prefix: "préfixe",
    all_shortcuts: "tous les raccourcis",
    all_keys: "toutes les touches",
    pane: "volet",
    panes: "volets",
    workspace: "espace",
    act_move: "naviguer",
    act_select: "choisir",
    act_up: "remonter",
    act_cancel: "annuler",
    act_create: "créer",
    act_new_folder: "nouveau dossier",
    act_close: "fermer",
    act_split: "diviser",
    act_new_tab: "onglet",
    act_tab: "onglet",
    act_details: "détails",
    act_diff: "diff",
    act_open: "ouvrir",
    act_new: "nouveau",
    act_filter: "filtrer",
    act_view: "voir",
    act_log: "journal",
    act_checkout: "basculer",
    act_refresh: "rafraîchir",
    act_scroll: "défiler",
    act_back: "retour",
    act_merge: "fusionner",
    act_approve: "approuver",
    act_ready: "prêt",
    act_show: "afficher",
    act_jump_tab: "aller à l'onglet",
    act_this_help: "cette aide",
    act_any_key: "une touche",
    act_send: "Envoyer",
    act_section: "section",
    act_rebind: "réassigner",
    act_reset: "réinit.",
    act_adjust: "ajuster",
    act_apply: "appliquer",
    act_installed: "installé",
    open_workspace: "Ouvrir espace",
    open_this_folder: "Ouvrir ce dossier",
    open_with_worktree: "Ouvrir en nouveau worktree",
    new_git_worktree: "Nouveau worktree git",
    branch: "branche",
    keyboard_shortcuts: "Raccourcis clavier",
    settings_title: "Paramètres",
    tab_theme: "Thème",
    tab_layout: "Disposition",
    tab_notify: "Alertes",
    tab_keys: "Touches",
    tab_modules: "Modules",
    tab_agents: "Agents",
    tab_language: "Langue",
    set_sidebar_width: "Largeur barre",
    set_column_gap: "Écart colonne",
    set_row_gap: "Écart ligne",
    set_pane_titles: "Titres de volet",
    set_resume_workspace: "Reprendre dans un nouvel espace",
    set_enabled: "Activé",
    set_notify_blocked: "Alerter si bloqué",
    set_notify_done: "Alerter à la fin",
    set_test_notification: "Tester l'alerte",
    sec_commits: "Commits",
    sec_flow: "Flux",
    sec_branches: "Branches",
    sec_prs: "PRs",
    sec_issues: "Issues",
    sec_status: "État",
    scope_this_repo: "ce dépôt",
    scope_my_work: "mon travail",
    col_status: "ÉTAT",
    col_title: "TITRE",
    col_author: "AUTEUR",
    col_reviewer: "RELECTEUR",
    col_checks: "CHECKS",
    git_loading_prs: "chargement des pull requests…",
    git_no_prs: "aucune pull request ouverte ✓",
    git_loading_pr: "chargement de la pull request…",
    git_loading_issues: "chargement des issues…",
    git_no_issues: "aucune issue ouverte ✓",
    git_loading_flow: "chargement du flux…",
    git_no_branches: "aucune branche à afficher",
    git_loading_status: "chargement de l'état…",
    git_github_prs: "PRs GitHub",
    git_github_issues: "Issues GitHub",
    git_unavailable: "GitHub indisponible",
    git_error: "erreur git",
    badge_draft: "Brouillon",
    badge_merged: "Fusionné",
    badge_approved: "Approuvé",
    badge_denied: "Refusé",
    badge_review: "Relire",
    badge_open: "Ouvert",
    badge_closed: "Fermé",
    badge_changes_requested: "Modifs demandées",
    badge_review_required: "Relecture requise",
    rev_approved: "a approuvé",
    rev_changes_requested: "demande des modifs",
    rev_commented: "a commenté",
    rev_dismissed: "rejeté",
    detail_checks: "Vérifications",
    detail_reviews: "Relectures",
    detail_description: "Description",
    detail_labels: "Étiquettes",
    detail_no_description: "(pas de description)",
    detail_updated: "mis à jour",
    detail_mergeable: "fusionnable",
    detail_conflicts: "conflits",
    detail_files: "fichiers",
    detail_commits: "commits",
    detail_comments: "commentaires",
    detail_by: "par",
    st_repository: "Dépôt",
    st_contributors: "Contributeurs",
    st_working_tree: "Arbre de travail",
    st_clean: "propre",
    st_staged: "Indexé",
    st_changed: "Modifié",
    st_untracked: "Non suivi",
    st_stashes: "Stashes",
    git_loading_branches: "chargement des branches…",
    git_loading_commits: "chargement des commits…",
    git_nothing_here: "rien ici",
    git_change: "modif",
    git_changes: "modifs",
    cmd_focus_left: "Cibler le volet gauche",
    cmd_focus_down: "Cibler le volet bas",
    cmd_focus_up: "Cibler le volet haut",
    cmd_focus_right: "Cibler le volet droit",
    cmd_split_right: "Diviser le volet à droite",
    cmd_split_down: "Diviser le volet en bas",
    cmd_close_pane: "Fermer le volet",
    cmd_zoom_pane: "Agrandir le volet",
    cmd_new_tab: "Nouvel onglet",
    cmd_next_tab: "Onglet suivant",
    cmd_prev_tab: "Onglet précédent",
    cmd_new_workspace: "Nouvel espace (choisir dossier)",
    cmd_close_workspace: "Fermer l'espace",
    cmd_next_workspace: "Espace suivant",
    cmd_prev_workspace: "Espace précédent",
    cmd_new_worktree: "Nouveau worktree git",
    cmd_open_git: "Ouvrir l'onglet git",
    cmd_open_board: "Ouvrir le tableau des tâches",
    task_queued: "en attente",
    task_claimed: "réclamée",
    task_running: "en cours",
    task_blocked: "bloquée",
    task_review: "révision",
    task_done: "terminée",
    task_failed: "échouée",
    board_title: "ORCHESTRATION",
    board_tasks: "tâches",
    board_leases: "RÉSERVATIONS",
    board_none: "aucune",
    board_empty: "Aucune tâche — appuyez sur  a  pour en ajouter.",
    board_new_task: "Nouvelle tâche",
    board_compact: "compacter",
    board_f_title: "Titre",
    board_f_paths: "Chemins",
    board_f_deps: "Deps",
    board_f_gate: "Test",
    board_h_title: "quoi faire",
    board_h_paths: "src/auth/**  (globs séparés par des espaces)",
    board_h_deps: "t1 t2  (ids des tâches dont elle dépend)",
    board_h_gate: "cargo test auth  (exécuté à la fin)",
    board_start: "démarrer",
    board_release: "libérer",
    board_next_field: "champ suivant",
    cmd_open_settings: "Ouvrir les paramètres",
    cmd_toggle_sidebar: "Basculer la barre latérale",
    cmd_toggle_agents: "Agents : tous / actifs",
    cmd_detach: "Détacher (serveur actif)",
    flow_commit: "commit",
    flow_ahead: "en avance",
    flow_behind: "en retard",
    flow_open_pr: "PR ouverte",
    flow_merges_trunk: "fusionne au tronc",
};

static DE: Catalog = Catalog {
    workspaces: "BEREICHE",
    agents: "AGENTEN",
    no_active_agents: "keine aktiven Agenten",
    no_agents_or_sessions: "keine Agenten oder Sitzungen",
    all: "Alle",
    active: "Aktiv",
    menu: "Menü",
    copied: "In Zwischenablage kopiert",
    mode_normal: "NORMAL",
    mode_prefix: "PRÄFIX",
    prefix: "Präfix",
    all_shortcuts: "alle Tastenkürzel",
    all_keys: "alle Tasten",
    pane: "Bereich",
    panes: "Bereiche",
    workspace: "Bereich",
    act_move: "bewegen",
    act_select: "wählen",
    act_up: "hoch",
    act_cancel: "abbrechen",
    act_create: "erstellen",
    act_new_folder: "neuer Ordner",
    act_close: "schließen",
    act_split: "teilen",
    act_new_tab: "neuer Tab",
    act_tab: "Tab",
    act_details: "Details",
    act_diff: "Diff",
    act_open: "öffnen",
    act_new: "neu",
    act_filter: "filtern",
    act_view: "ansehen",
    act_log: "Verlauf",
    act_checkout: "wechseln",
    act_refresh: "aktualisieren",
    act_scroll: "scrollen",
    act_back: "zurück",
    act_merge: "mergen",
    act_approve: "freigeben",
    act_ready: "bereit",
    act_show: "zeigen",
    act_jump_tab: "zu Tab springen",
    act_this_help: "diese Hilfe",
    act_any_key: "beliebige Taste",
    act_send: "Senden",
    act_section: "Abschnitt",
    act_rebind: "neu belegen",
    act_reset: "zurücksetzen",
    act_adjust: "ändern",
    act_apply: "übernehmen",
    act_installed: "installiert",
    open_workspace: "Arbeitsbereich öffnen",
    open_this_folder: "Diesen Ordner öffnen",
    open_with_worktree: "Mit neuem Worktree öffnen",
    new_git_worktree: "Neuer git-Worktree",
    branch: "Branch",
    keyboard_shortcuts: "Tastenkürzel",
    settings_title: "Einstellungen",
    tab_theme: "Thema",
    tab_layout: "Layout",
    tab_notify: "Hinweise",
    tab_keys: "Tasten",
    tab_modules: "Module",
    tab_agents: "Agenten",
    tab_language: "Sprache",
    set_sidebar_width: "Seitenleistenbreite",
    set_column_gap: "Spaltenabstand",
    set_row_gap: "Zeilenabstand",
    set_pane_titles: "Bereichstitel",
    set_resume_workspace: "In neuem Bereich fortsetzen",
    set_enabled: "Aktiviert",
    set_notify_blocked: "Bei Blockade melden",
    set_notify_done: "Bei Fertig melden",
    set_test_notification: "Hinweis testen",
    sec_commits: "Commits",
    sec_flow: "Fluss",
    sec_branches: "Branches",
    sec_prs: "PRs",
    sec_issues: "Issues",
    sec_status: "Status",
    scope_this_repo: "dieses Repo",
    scope_my_work: "meine Arbeit",
    col_status: "STATUS",
    col_title: "TITEL",
    col_author: "AUTOR",
    col_reviewer: "PRÜFER",
    col_checks: "CHECKS",
    git_loading_prs: "lade Pull Requests…",
    git_no_prs: "keine offenen Pull Requests ✓",
    git_loading_pr: "lade Pull Request…",
    git_loading_issues: "lade Issues…",
    git_no_issues: "keine offenen Issues ✓",
    git_loading_flow: "lade Fluss…",
    git_no_branches: "keine Branches zum Anzeigen",
    git_loading_status: "lade Status…",
    git_github_prs: "GitHub-PRs",
    git_github_issues: "GitHub-Issues",
    git_unavailable: "GitHub nicht verfügbar",
    git_error: "git-Fehler",
    badge_draft: "Entwurf",
    badge_merged: "Gemergt",
    badge_approved: "Freigegeben",
    badge_denied: "Abgelehnt",
    badge_review: "Prüfen",
    badge_open: "Offen",
    badge_closed: "Geschlossen",
    badge_changes_requested: "Änderungen nötig",
    badge_review_required: "Prüfung nötig",
    rev_approved: "freigegeben",
    rev_changes_requested: "Änderungen gewünscht",
    rev_commented: "kommentiert",
    rev_dismissed: "verworfen",
    detail_checks: "Checks",
    detail_reviews: "Prüfungen",
    detail_description: "Beschreibung",
    detail_labels: "Labels",
    detail_no_description: "(keine Beschreibung)",
    detail_updated: "aktualisiert",
    detail_mergeable: "mergebar",
    detail_conflicts: "Konflikte",
    detail_files: "Dateien",
    detail_commits: "Commits",
    detail_comments: "Kommentare",
    detail_by: "von",
    st_repository: "Repository",
    st_contributors: "Mitwirkende",
    st_working_tree: "Arbeitsbaum",
    st_clean: "sauber",
    st_staged: "Bereitgestellt",
    st_changed: "Geändert",
    st_untracked: "Unverfolgt",
    st_stashes: "Stashes",
    git_loading_branches: "lade Branches…",
    git_loading_commits: "lade Commits…",
    git_nothing_here: "nichts hier",
    git_change: "Änderung",
    git_changes: "Änderungen",
    cmd_focus_left: "Bereich links fokussieren",
    cmd_focus_down: "Bereich unten fokussieren",
    cmd_focus_up: "Bereich oben fokussieren",
    cmd_focus_right: "Bereich rechts fokussieren",
    cmd_split_right: "Bereich rechts teilen",
    cmd_split_down: "Bereich unten teilen",
    cmd_close_pane: "Bereich schließen",
    cmd_zoom_pane: "Bereich maximieren",
    cmd_new_tab: "Neuer Tab",
    cmd_next_tab: "Nächster Tab",
    cmd_prev_tab: "Vorheriger Tab",
    cmd_new_workspace: "Neuer Bereich (Ordner wählen)",
    cmd_close_workspace: "Bereich schließen",
    cmd_next_workspace: "Nächster Bereich",
    cmd_prev_workspace: "Vorheriger Bereich",
    cmd_new_worktree: "Neuer git-Worktree",
    cmd_open_git: "git-Tab öffnen",
    cmd_open_board: "Aufgabenboard öffnen",
    task_queued: "wartend",
    task_claimed: "beansprucht",
    task_running: "läuft",
    task_blocked: "blockiert",
    task_review: "Prüfung",
    task_done: "fertig",
    task_failed: "fehlgeschlagen",
    board_title: "ORCHESTRIERUNG",
    board_tasks: "Aufgaben",
    board_leases: "RESERVIERUNGEN",
    board_none: "keine",
    board_empty: "Noch keine Aufgaben — drücke  a  zum Hinzufügen.",
    board_new_task: "Neue Aufgabe",
    board_compact: "komprimieren",
    board_f_title: "Titel",
    board_f_paths: "Pfade",
    board_f_deps: "Deps",
    board_f_gate: "Test",
    board_h_title: "was zu tun ist",
    board_h_paths: "src/auth/**  (durch Leerzeichen getrennte Globs)",
    board_h_deps: "t1 t2  (Aufgaben-IDs der Abhängigkeiten)",
    board_h_gate: "cargo test auth  (läuft beim Abschluss)",
    board_start: "starten",
    board_release: "freigeben",
    board_next_field: "nächstes Feld",
    cmd_open_settings: "Einstellungen öffnen",
    cmd_toggle_sidebar: "Seitenleiste umschalten",
    cmd_toggle_agents: "Agenten: alle / aktiv",
    cmd_detach: "Abkoppeln (Server läuft weiter)",
    flow_commit: "Commit",
    flow_ahead: "voraus",
    flow_behind: "zurück",
    flow_open_pr: "offene PR",
    flow_merges_trunk: "mergt in Trunk",
};

static ID: Catalog = Catalog {
    workspaces: "RUANG KERJA",
    agents: "AGEN",
    no_active_agents: "tidak ada agen aktif",
    no_agents_or_sessions: "tidak ada agen atau sesi",
    all: "Semua",
    active: "Aktif",
    menu: "Menu",
    copied: "Disalin ke papan klip",
    mode_normal: "NORMAL",
    mode_prefix: "PREFIKS",
    prefix: "prefiks",
    all_shortcuts: "semua pintasan",
    all_keys: "semua tombol",
    pane: "panel",
    panes: "panel",
    workspace: "workspace",
    act_move: "pindah",
    act_select: "pilih",
    act_up: "naik",
    act_cancel: "batal",
    act_create: "buat",
    act_new_folder: "folder baru",
    act_close: "tutup",
    act_split: "bagi",
    act_new_tab: "tab baru",
    act_tab: "tab",
    act_details: "detail",
    act_diff: "diff",
    act_open: "buka",
    act_new: "baru",
    act_filter: "filter",
    act_view: "lihat",
    act_log: "log",
    act_checkout: "checkout",
    act_refresh: "muat ulang",
    act_scroll: "gulir",
    act_back: "kembali",
    act_merge: "gabung",
    act_approve: "setujui",
    act_ready: "siap",
    act_show: "tampil",
    act_jump_tab: "ke tab",
    act_this_help: "bantuan ini",
    act_any_key: "tombol apa pun",
    act_send: "Kirim",
    act_section: "bagian",
    act_rebind: "petakan ulang",
    act_reset: "reset",
    act_adjust: "sesuaikan",
    act_apply: "terapkan",
    act_installed: "terpasang",
    open_workspace: "Buka Ruang Kerja",
    open_this_folder: "Buka folder ini",
    open_with_worktree: "Buka dengan worktree baru",
    new_git_worktree: "Worktree git baru",
    branch: "branch",
    keyboard_shortcuts: "Pintasan Keyboard",
    settings_title: "Pengaturan",
    tab_theme: "Tema",
    tab_layout: "Tata Letak",
    tab_notify: "Notif",
    tab_keys: "Tombol",
    tab_modules: "Modul",
    tab_agents: "Agen",
    tab_language: "Bahasa",
    set_sidebar_width: "Lebar bilah sisi",
    set_column_gap: "Jarak kolom",
    set_row_gap: "Jarak baris",
    set_pane_titles: "Judul panel",
    set_resume_workspace: "Lanjut di ruang kerja baru",
    set_enabled: "Aktif",
    set_notify_blocked: "Beri tahu jika diblokir",
    set_notify_done: "Beri tahu jika selesai",
    set_test_notification: "Uji notifikasi",
    sec_commits: "Commit",
    sec_flow: "Alur",
    sec_branches: "Branch",
    sec_prs: "PR",
    sec_issues: "Isu",
    sec_status: "Status",
    scope_this_repo: "repo ini",
    scope_my_work: "kerja saya",
    col_status: "STATUS",
    col_title: "JUDUL",
    col_author: "PENULIS",
    col_reviewer: "PENINJAU",
    col_checks: "CHECKS",
    git_loading_prs: "memuat pull request…",
    git_no_prs: "tidak ada pull request terbuka ✓",
    git_loading_pr: "memuat pull request…",
    git_loading_issues: "memuat isu…",
    git_no_issues: "tidak ada isu terbuka ✓",
    git_loading_flow: "memuat alur…",
    git_no_branches: "tidak ada branch untuk ditampilkan",
    git_loading_status: "memuat status…",
    git_github_prs: "PR GitHub",
    git_github_issues: "Isu GitHub",
    git_unavailable: "GitHub tidak tersedia",
    git_error: "kesalahan git",
    badge_draft: "Draf",
    badge_merged: "Tergabung",
    badge_approved: "Disetujui",
    badge_denied: "Ditolak",
    badge_review: "Tinjau",
    badge_open: "Terbuka",
    badge_closed: "Ditutup",
    badge_changes_requested: "Minta perubahan",
    badge_review_required: "Perlu tinjauan",
    rev_approved: "menyetujui",
    rev_changes_requested: "minta perubahan",
    rev_commented: "berkomentar",
    rev_dismissed: "diabaikan",
    detail_checks: "Pemeriksaan",
    detail_reviews: "Tinjauan",
    detail_description: "Deskripsi",
    detail_labels: "Label",
    detail_no_description: "(tanpa deskripsi)",
    detail_updated: "diperbarui",
    detail_mergeable: "dapat digabung",
    detail_conflicts: "konflik",
    detail_files: "berkas",
    detail_commits: "commit",
    detail_comments: "komentar",
    detail_by: "oleh",
    st_repository: "Repositori",
    st_contributors: "Kontributor",
    st_working_tree: "Pohon kerja",
    st_clean: "bersih",
    st_staged: "Disiapkan",
    st_changed: "Diubah",
    st_untracked: "Tak terlacak",
    st_stashes: "Stash",
    git_loading_branches: "memuat branch…",
    git_loading_commits: "memuat commit…",
    git_nothing_here: "kosong",
    git_change: "perubahan",
    git_changes: "perubahan",
    cmd_focus_left: "Fokus panel kiri",
    cmd_focus_down: "Fokus panel bawah",
    cmd_focus_up: "Fokus panel atas",
    cmd_focus_right: "Fokus panel kanan",
    cmd_split_right: "Bagi panel ke kanan",
    cmd_split_down: "Bagi panel ke bawah",
    cmd_close_pane: "Tutup panel",
    cmd_zoom_pane: "Perbesar panel",
    cmd_new_tab: "Tab baru",
    cmd_next_tab: "Tab berikutnya",
    cmd_prev_tab: "Tab sebelumnya",
    cmd_new_workspace: "Ruang kerja baru (pilih folder)",
    cmd_close_workspace: "Tutup ruang kerja",
    cmd_next_workspace: "Ruang kerja berikutnya",
    cmd_prev_workspace: "Ruang kerja sebelumnya",
    cmd_new_worktree: "Worktree git baru",
    cmd_open_git: "Buka tab git",
    cmd_open_board: "Buka papan tugas",
    task_queued: "antre",
    task_claimed: "diklaim",
    task_running: "berjalan",
    task_blocked: "diblokir",
    task_review: "tinjauan",
    task_done: "selesai",
    task_failed: "gagal",
    board_title: "ORKESTRASI",
    board_tasks: "tugas",
    board_leases: "SEWA",
    board_none: "tidak ada",
    board_empty: "Belum ada tugas — tekan  a  untuk menambah.",
    board_new_task: "Tugas baru",
    board_compact: "kompak",
    board_f_title: "Judul",
    board_f_paths: "Jalur",
    board_f_deps: "Deps",
    board_f_gate: "Uji",
    board_h_title: "apa yang dilakukan",
    board_h_paths: "src/auth/**  (glob dipisah spasi)",
    board_h_deps: "t1 t2  (id tugas dependensi)",
    board_h_gate: "cargo test auth  (jalan saat selesai)",
    board_start: "mulai",
    board_release: "lepas",
    board_next_field: "bidang berikutnya",
    cmd_open_settings: "Buka pengaturan",
    cmd_toggle_sidebar: "Alihkan bilah sisi",
    cmd_toggle_agents: "Agen: semua / aktif",
    cmd_detach: "Lepas (server tetap jalan)",
    flow_commit: "commit",
    flow_ahead: "di depan",
    flow_behind: "di belakang",
    flow_open_pr: "PR terbuka",
    flow_merges_trunk: "gabung ke trunk",
};

static ZH: Catalog = Catalog {
    workspaces: "工作区",
    agents: "代理",
    no_active_agents: "无活动代理",
    no_agents_or_sessions: "无代理或会话",
    all: "全部",
    active: "活动",
    menu: "菜单",
    copied: "已复制到剪贴板",
    mode_normal: "常规",
    mode_prefix: "前缀",
    prefix: "前缀",
    all_shortcuts: "所有快捷键",
    all_keys: "所有按键",
    pane: "窗格",
    panes: "窗格",
    workspace: "工作区",
    act_move: "移动",
    act_select: "选择",
    act_up: "上级",
    act_cancel: "取消",
    act_create: "创建",
    act_new_folder: "新建文件夹",
    act_close: "关闭",
    act_split: "分割",
    act_new_tab: "新标签",
    act_tab: "标签",
    act_details: "详情",
    act_diff: "差异",
    act_open: "打开",
    act_new: "新建",
    act_filter: "筛选",
    act_view: "查看",
    act_log: "日志",
    act_checkout: "检出",
    act_refresh: "刷新",
    act_scroll: "滚动",
    act_back: "返回",
    act_merge: "合并",
    act_approve: "批准",
    act_ready: "就绪",
    act_show: "显示",
    act_jump_tab: "跳转标签",
    act_this_help: "本帮助",
    act_any_key: "任意键",
    act_send: "发送",
    act_section: "区域",
    act_rebind: "重新绑定",
    act_reset: "重置",
    act_adjust: "调整",
    act_apply: "应用",
    act_installed: "已安装",
    open_workspace: "打开工作区",
    open_this_folder: "打开此文件夹",
    open_with_worktree: "以新工作树打开",
    new_git_worktree: "新建 git 工作树",
    branch: "分支",
    keyboard_shortcuts: "键盘快捷键",
    settings_title: "设置",
    tab_theme: "主题",
    tab_layout: "布局",
    tab_notify: "通知",
    tab_keys: "按键",
    tab_modules: "模块",
    tab_agents: "代理",
    tab_language: "语言",
    set_sidebar_width: "侧栏宽度",
    set_column_gap: "列间距",
    set_row_gap: "行间距",
    set_pane_titles: "窗格标题",
    set_resume_workspace: "在新工作区恢复",
    set_enabled: "已启用",
    set_notify_blocked: "阻塞时通知",
    set_notify_done: "完成时通知",
    set_test_notification: "测试通知",
    sec_commits: "提交",
    sec_flow: "流程",
    sec_branches: "分支",
    sec_prs: "PR",
    sec_issues: "问题",
    sec_status: "状态",
    scope_this_repo: "本仓库",
    scope_my_work: "我的工作",
    col_status: "状态",
    col_title: "标题",
    col_author: "作者",
    col_reviewer: "审查者",
    col_checks: "检查",
    git_loading_prs: "正在加载拉取请求…",
    git_no_prs: "无开放的拉取请求 ✓",
    git_loading_pr: "正在加载拉取请求…",
    git_loading_issues: "正在加载问题…",
    git_no_issues: "无开放的问题 ✓",
    git_loading_flow: "正在加载流程…",
    git_no_branches: "无可显示的分支",
    git_loading_status: "正在加载状态…",
    git_github_prs: "GitHub 拉取请求",
    git_github_issues: "GitHub 问题",
    git_unavailable: "GitHub 不可用",
    git_error: "git 错误",
    badge_draft: "草稿",
    badge_merged: "已合并",
    badge_approved: "已批准",
    badge_denied: "已拒绝",
    badge_review: "待审",
    badge_open: "开放",
    badge_closed: "已关闭",
    badge_changes_requested: "请求修改",
    badge_review_required: "需要审查",
    rev_approved: "已批准",
    rev_changes_requested: "请求修改",
    rev_commented: "已评论",
    rev_dismissed: "已忽略",
    detail_checks: "检查",
    detail_reviews: "审查",
    detail_description: "描述",
    detail_labels: "标签",
    detail_no_description: "(无描述)",
    detail_updated: "更新于",
    detail_mergeable: "可合并",
    detail_conflicts: "冲突",
    detail_files: "文件",
    detail_commits: "提交",
    detail_comments: "评论",
    detail_by: "作者",
    st_repository: "仓库",
    st_contributors: "贡献者",
    st_working_tree: "工作区",
    st_clean: "干净",
    st_staged: "已暂存",
    st_changed: "已修改",
    st_untracked: "未跟踪",
    st_stashes: "贮藏",
    git_loading_branches: "正在加载分支…",
    git_loading_commits: "正在加载提交…",
    git_nothing_here: "空空如也",
    git_change: "更改",
    git_changes: "更改",
    cmd_focus_left: "聚焦左侧窗格",
    cmd_focus_down: "聚焦下方窗格",
    cmd_focus_up: "聚焦上方窗格",
    cmd_focus_right: "聚焦右侧窗格",
    cmd_split_right: "向右分割窗格",
    cmd_split_down: "向下分割窗格",
    cmd_close_pane: "关闭窗格",
    cmd_zoom_pane: "缩放窗格",
    cmd_new_tab: "新建标签",
    cmd_next_tab: "下一个标签",
    cmd_prev_tab: "上一个标签",
    cmd_new_workspace: "新建工作区(选择文件夹)",
    cmd_close_workspace: "关闭工作区",
    cmd_next_workspace: "下一个工作区",
    cmd_prev_workspace: "上一个工作区",
    cmd_new_worktree: "新建 git 工作树",
    cmd_open_git: "打开 git 标签",
    cmd_open_board: "打开任务面板",
    task_queued: "排队",
    task_claimed: "已认领",
    task_running: "运行中",
    task_blocked: "已阻塞",
    task_review: "待审查",
    task_done: "完成",
    task_failed: "失败",
    board_title: "编排",
    board_tasks: "任务",
    board_leases: "租约",
    board_none: "",
    board_empty: "还没有任务 — 按  a  添加。",
    board_new_task: "新建任务",
    board_compact: "压缩",
    board_f_title: "标题",
    board_f_paths: "路径",
    board_f_deps: "依赖",
    board_f_gate: "检查",
    board_h_title: "要做什么",
    board_h_paths: "src/auth/**  (空格分隔的通配符)",
    board_h_deps: "t1 t2  (依赖的任务 id)",
    board_h_gate: "cargo test auth  (完成时运行)",
    board_start: "启动",
    board_release: "释放",
    board_next_field: "下一字段",
    cmd_open_settings: "打开设置",
    cmd_toggle_sidebar: "切换侧栏",
    cmd_toggle_agents: "代理:全部 / 活动",
    cmd_detach: "分离(服务器继续运行)",
    flow_commit: "提交",
    flow_ahead: "领先",
    flow_behind: "落后",
    flow_open_pr: "开放 PR",
    flow_merges_trunk: "合并到主干",
};

static JA: Catalog = Catalog {
    workspaces: "ワークスペース",
    agents: "エージェント",
    no_active_agents: "アクティブなエージェントなし",
    no_agents_or_sessions: "エージェント・セッションなし",
    all: "すべて",
    active: "アクティブ",
    menu: "メニュー",
    copied: "クリップボードにコピーしました",
    mode_normal: "通常",
    mode_prefix: "前置",
    prefix: "前置",
    all_shortcuts: "全ショートカット",
    all_keys: "全キー",
    pane: "ペイン",
    panes: "ペイン",
    workspace: "ワークスペース",
    act_move: "移動",
    act_select: "選択",
    act_up: "上へ",
    act_cancel: "キャンセル",
    act_create: "作成",
    act_new_folder: "新規フォルダ",
    act_close: "閉じる",
    act_split: "分割",
    act_new_tab: "新規タブ",
    act_tab: "タブ",
    act_details: "詳細",
    act_diff: "差分",
    act_open: "開く",
    act_new: "新規",
    act_filter: "絞り込み",
    act_view: "表示",
    act_log: "ログ",
    act_checkout: "チェックアウト",
    act_refresh: "更新",
    act_scroll: "スクロール",
    act_back: "戻る",
    act_merge: "マージ",
    act_approve: "承認",
    act_ready: "準備完了",
    act_show: "表示",
    act_jump_tab: "タブへ移動",
    act_this_help: "このヘルプ",
    act_any_key: "任意のキー",
    act_send: "送信",
    act_section: "セクション",
    act_rebind: "再割当",
    act_reset: "リセット",
    act_adjust: "調整",
    act_apply: "適用",
    act_installed: "インストール済",
    open_workspace: "ワークスペースを開く",
    open_this_folder: "このフォルダを開く",
    open_with_worktree: "新規ワークツリーで開く",
    new_git_worktree: "新規 git ワークツリー",
    branch: "ブランチ",
    keyboard_shortcuts: "キーボードショートカット",
    settings_title: "設定",
    tab_theme: "テーマ",
    tab_layout: "レイアウト",
    tab_notify: "通知",
    tab_keys: "キー",
    tab_modules: "モジュール",
    tab_agents: "エージェント",
    tab_language: "言語",
    set_sidebar_width: "サイドバー幅",
    set_column_gap: "列の間隔",
    set_row_gap: "行の間隔",
    set_pane_titles: "ペインのタイトル",
    set_resume_workspace: "新規ワークスペースで再開",
    set_enabled: "有効",
    set_notify_blocked: "ブロック時に通知",
    set_notify_done: "完了時に通知",
    set_test_notification: "通知をテスト",
    sec_commits: "コミット",
    sec_flow: "フロー",
    sec_branches: "ブランチ",
    sec_prs: "PR",
    sec_issues: "課題",
    sec_status: "状態",
    scope_this_repo: "このリポジトリ",
    scope_my_work: "自分の作業",
    col_status: "状態",
    col_title: "タイトル",
    col_author: "作成者",
    col_reviewer: "レビュアー",
    col_checks: "チェック",
    git_loading_prs: "プルリクエストを読み込み中…",
    git_no_prs: "オープンなプルリクエストなし ✓",
    git_loading_pr: "プルリクエストを読み込み中…",
    git_loading_issues: "課題を読み込み中…",
    git_no_issues: "オープンな課題なし ✓",
    git_loading_flow: "フローを読み込み中…",
    git_no_branches: "表示するブランチなし",
    git_loading_status: "状態を読み込み中…",
    git_github_prs: "GitHub プルリクエスト",
    git_github_issues: "GitHub 課題",
    git_unavailable: "GitHub 利用不可",
    git_error: "git エラー",
    badge_draft: "下書き",
    badge_merged: "マージ済",
    badge_approved: "承認済",
    badge_denied: "却下",
    badge_review: "要確認",
    badge_open: "オープン",
    badge_closed: "クローズ",
    badge_changes_requested: "変更要求",
    badge_review_required: "レビュー必要",
    rev_approved: "承認",
    rev_changes_requested: "変更要求",
    rev_commented: "コメント",
    rev_dismissed: "却下",
    detail_checks: "チェック",
    detail_reviews: "レビュー",
    detail_description: "説明",
    detail_labels: "ラベル",
    detail_no_description: "(説明なし)",
    detail_updated: "更新",
    detail_mergeable: "マージ可",
    detail_conflicts: "競合",
    detail_files: "ファイル",
    detail_commits: "コミット",
    detail_comments: "コメント",
    detail_by: "作成",
    st_repository: "リポジトリ",
    st_contributors: "コントリビューター",
    st_working_tree: "作業ツリー",
    st_clean: "クリーン",
    st_staged: "ステージ済",
    st_changed: "変更",
    st_untracked: "未追跡",
    st_stashes: "スタッシュ",
    git_loading_branches: "ブランチを読み込み中…",
    git_loading_commits: "コミットを読み込み中…",
    git_nothing_here: "何もありません",
    git_change: "変更",
    git_changes: "変更",
    cmd_focus_left: "左のペインへ",
    cmd_focus_down: "下のペインへ",
    cmd_focus_up: "上のペインへ",
    cmd_focus_right: "右のペインへ",
    cmd_split_right: "ペインを右に分割",
    cmd_split_down: "ペインを下に分割",
    cmd_close_pane: "ペインを閉じる",
    cmd_zoom_pane: "ペインをズーム",
    cmd_new_tab: "新規タブ",
    cmd_next_tab: "次のタブ",
    cmd_prev_tab: "前のタブ",
    cmd_new_workspace: "新規ワークスペース(フォルダ選択)",
    cmd_close_workspace: "ワークスペースを閉じる",
    cmd_next_workspace: "次のワークスペース",
    cmd_prev_workspace: "前のワークスペース",
    cmd_new_worktree: "新規 git ワークツリー",
    cmd_open_git: "git タブを開く",
    cmd_open_board: "タスクボードを開く",
    task_queued: "待機",
    task_claimed: "取得済",
    task_running: "実行中",
    task_blocked: "ブロック",
    task_review: "レビュー",
    task_done: "完了",
    task_failed: "失敗",
    board_title: "オーケストレーション",
    board_tasks: "タスク",
    board_leases: "リース",
    board_none: "なし",
    board_empty: "タスクがありません —  a  で追加。",
    board_new_task: "新規タスク",
    board_compact: "圧縮",
    board_f_title: "タイトル",
    board_f_paths: "パス",
    board_f_deps: "依存",
    board_f_gate: "チェック",
    board_h_title: "何をするか",
    board_h_paths: "src/auth/**  (スペース区切りのglob)",
    board_h_deps: "t1 t2  (依存するタスクID)",
    board_h_gate: "cargo test auth  (完了時に実行)",
    board_start: "開始",
    board_release: "解放",
    board_next_field: "次の項目",
    cmd_open_settings: "設定を開く",
    cmd_toggle_sidebar: "サイドバー切替",
    cmd_toggle_agents: "エージェント: 全部 / アクティブ",
    cmd_detach: "デタッチ(サーバーは継続)",
    flow_commit: "コミット",
    flow_ahead: "先行",
    flow_behind: "遅れ",
    flow_open_pr: "オープン PR",
    flow_merges_trunk: "主幹にマージ",
};

/// Language codes in menu order (first is the default English baseline).
pub const LANGS: &[&str] = &["en", "es", "pt", "fr", "de", "id", "zh", "ja"];

/// The catalog for a language code; unknown codes fall back to English.
pub fn by_code(code: &str) -> &'static Catalog {
    match code {
        "es" => &ES,
        "pt" => &PT,
        "fr" => &FR,
        "de" => &DE,
        "id" => &ID,
        "zh" => &ZH,
        "ja" => &JA,
        _ => &EN,
    }
}

/// The language's own name, for the Settings menu (so a user who can't read
/// English still recognizes their language).
pub fn native_name(code: &str) -> &'static str {
    match code {
        "es" => "Español",
        "pt" => "Português",
        "fr" => "Français",
        "de" => "Deutsch",
        "id" => "Bahasa Indonesia",
        "zh" => "中文",
        "ja" => "日本語",
        _ => "English",
    }
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn registry_is_consistent() {
        // Every registered code resolves to a catalog and has a native name, and
        // the first entry is the English baseline (the default).
        assert_eq!(LANGS[0], "en");
        for &code in LANGS {
            let _ = by_code(code);
            assert!(!native_name(code).is_empty(), "{code} has a native name");
        }
        // An unknown code degrades to English, never panics.
        assert_eq!(by_code("xx").workspaces, EN.workspaces);
        assert_eq!(native_name("xx"), "English");
    }

    #[test]
    fn non_english_catalog_actually_differs() {
        // Sanity that translations are wired across surfaces.
        assert_ne!(by_code("zh").workspaces, EN.workspaces);
        assert_ne!(by_code("ja").settings_title, EN.settings_title);
        assert_ne!(by_code("es").open_this_folder, EN.open_this_folder);
        assert_ne!(by_code("fr").sec_status, EN.sec_status);
        // Orchestration board is localized too (docs/22 + docs/21).
        assert_ne!(by_code("de").board_title, EN.board_title);
        assert_ne!(by_code("es").task_done, EN.task_done);
        assert_ne!(by_code("ja").board_new_task, EN.board_new_task);
    }
}