agenthall 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/public/i18n.js ADDED
@@ -0,0 +1,1038 @@
1
+ /* Agent Hall translations (Turkish and English), shared by the browser and
2
+ the server. t(key, params) fills {placeholders}; arrays are returned as is. */
3
+ (function (root) {
4
+ const dict = {
5
+ tr: {
6
+ 'lang.name': 'Türkçe',
7
+ 'role.lead': 'Takım Lideri',
8
+ 'role.senior': 'Kıdemli',
9
+ 'role.mid': 'Orta Seviye',
10
+ 'role.junior': 'Junior',
11
+ 'role.intern': 'Stajyer',
12
+ 'status.offline': 'Evde',
13
+ 'status.starting': 'Ofise geliyor',
14
+ 'status.idle': 'Bahçede, boşta',
15
+ 'status.working': 'Çalışıyor',
16
+ 'status.waiting': 'Onay bekliyor',
17
+
18
+ // top bar & static page
19
+ 'top.boss': 'Patron: Sen',
20
+ 'top.trophy': 'Skor tablosu ve rozetler',
21
+ 'top.report': 'Gün sonu raporu',
22
+ 'top.workday': 'Mesai ayarları',
23
+ 'wd.title': 'Mesai ayarları',
24
+ 'wd.sub': 'Eve giden agent\'ın konuşması kaybolmaz; işe çağrılınca kaldığı yerden devam eder.',
25
+ 'wd.autoHome': 'Boşta kalan agent eve gitsin',
26
+ 'wd.idleMin': 'Kaç dakika boşta kalınca (dk)',
27
+ 'wd.endHour': 'Mesai bitişi',
28
+ 'wd.noEnd': 'Yok',
29
+ 'wd.endHint': 'Mesai bittikten sonra (sabah 06:00\'ya kadar) işini bitiren herkes 1 dakika içinde eve gider; çalışanlar işlerini yarıda bırakmaz.',
30
+ 'wd.autoWake': 'Panoya iş bırakılınca odada kimse yoksa evden birini çağır',
31
+ 'wd.dayNight': 'Gece/gündüz ışığı gerçek saate göre değişsin (bu tarayıcıda)',
32
+ 'wd.save': 'Kaydet',
33
+ 'wd.saved': 'Mesai ayarları kaydedildi',
34
+ 'srv.homeIdle': '{name} {n} dakikadır boştaydı, eve gitti 🏠',
35
+ 'srv.homeEndOfDay': 'Mesai bitti, {name} eve gitti 🌙',
36
+ 'srv.calledIn': 'Panoda iş var: {name} işe çağrıldı ☀️',
37
+ 'board.title': 'İş panosu',
38
+ 'board.sub': 'Odaya iş bırak; odadaki boşta kalan agent sıradakini kendisi alır. Agent turunu bitirince iş tamamlandı sayılır.',
39
+ 'board.ph': 'Yapılacak iş… (Cmd/Ctrl+Enter ile ekle)',
40
+ 'board.add': 'Panoya ekle',
41
+ 'board.todo': 'Sırada ({n})',
42
+ 'board.doing': 'Yapılıyor ({n})',
43
+ 'board.done': 'Biten',
44
+ 'board.none': 'Sırada iş yok.',
45
+ 'board.nobody': 'Bu odada işte olan agent yok; biri gelince işleri alacak.',
46
+ 'board.top': 'En öne al',
47
+ 'board.del': 'Sil',
48
+ 'board.again': 'Tekrar sıraya koy',
49
+ 'board.empty': '📌 iş panosu',
50
+ 'board.short': '{todo} sırada · {doing} yapılıyor',
51
+ 'board.tip': '{todo} iş sırada, {doing} iş yapılıyor. Tıkla: panoyu aç',
52
+ 'board.tempRoom': 'Geçici odalarda pano yok; önce odayı kaydet.',
53
+ 'srv.boardPicked': '{name} panodan işi aldı: {task}',
54
+ 'srv.boardDone': '{name} panodaki işi bitirdi: {task}',
55
+ 'err.emptyTask': 'İş metni boş olamaz',
56
+ 'err.taskNotFound': 'İş bulunamadı',
57
+ 'report.title': 'Gün sonu raporu',
58
+ 'report.loading': 'Transcript\'ler okunuyor…',
59
+ 'report.empty': 'Bu gün hiçbir oturumda iş yapılmamış.',
60
+ 'report.sum': '{s} oturum · {t} iş · {c} commit · {p} PR',
61
+ 'report.copy': 'Markdown kopyala',
62
+ 'report.copied': 'Rapor panoya kopyalandı',
63
+ 'report.terminal': 'Terminal · {room}',
64
+ 'report.tasks': 'Verilen işler ({n})',
65
+ 'report.commits': 'Commitler ({n})',
66
+ 'report.prs': "PR'lar",
67
+ 'report.files': 'Değişen dosyalar ({n})',
68
+ 'report.last': 'Son durum',
69
+ 'report.more': '+{n} tane daha',
70
+ 'top.fit': '⤢ Ortala',
71
+ 'top.fitTitle': 'Ofisi ekrana sığdır',
72
+ 'top.startAll': '☀️ Mesaiyi başlat',
73
+ 'top.startAllTitle': 'Evdeki tüm agentları işe çağır',
74
+ 'top.announceAll': '📢 Herkese duyuru',
75
+ 'top.addRoom': '+ Oda (proje)',
76
+ 'top.hire': '+ Agent işe al',
77
+ 'top.conn': 'Sunucu bağlantısı',
78
+ 'top.lang': 'Dil / Language',
79
+ 'stats.rooms': '{n} oda',
80
+ 'stats.working': '{n} çalışıyor',
81
+ 'stats.waiting': '{n} onay bekliyor',
82
+ 'stats.cost': 'bugün {cost}',
83
+ 'wt.option': 'Kendi git worktree\'sinde ve branch\'inde çalışsın',
84
+ 'wt.hint': 'Repo\'nun içinde .claude/worktrees/ altında ayrı bir çalışma kopyası açılır; aynı repodaki agentlar birbirinin dosyalarını ezmez. Git reposu değilse oda klasöründe çalışır.',
85
+ 'wt.panel': 'Kendi worktree\'sinde: {branch}',
86
+ 'srv.worktreeKept': '{name} gitti ama worktree\'sinde commit\'lenmemiş değişiklik var; silinmedi: {path} ({branch})',
87
+ 'err.worktree': 'Worktree açılamadı: {error}',
88
+ 'meet.title': 'Toplantı',
89
+ 'meet.sub': 'Seçtiğin agentlar lobide toplanır: önce herkes görüşünü söyler, sonra birbirine cevap verir, en sonda ilk seçilen (başkan) özeti yazar. Toplantıda kimse dosya değiştirmez.',
90
+ 'meet.topic': 'Konu',
91
+ 'meet.topicPh': 'Ör. Ödeme sayfasındaki kampanya gösterimini nasıl sadeleştiririz?',
92
+ 'meet.people': 'Katılımcılar',
93
+ 'meet.nobody': 'Şu an boşta olan ofis Claude agent\'ı yok; toplantıya sadece boştakiler katılabilir.',
94
+ 'meet.start': 'Toplantıyı başlat',
95
+ 'meet.started': 'Toplantı başladı; herkes lobiye geçiyor',
96
+ 'meet.stepRound': '{n}. tur',
97
+ 'meet.stepSummary': 'özet yazılıyor: {name}',
98
+ 'meet.waiting': 'Cevabı beklenen: {names}',
99
+ 'meet.cancel': 'Toplantıyı bitir',
100
+ 'meet.cancelled': 'yarıda kaldı',
101
+ 'meet.past': 'Önceki toplantılar',
102
+ 'meet.summary': 'Özet',
103
+ 'meet.discussion': 'Konuşma',
104
+ 'meet.tip': 'Tıkla: agentları toplantıya çağır',
105
+ 'meet.tipRunning': 'Toplantı sürüyor: {topic}',
106
+ 'meet.bubble': 'Toplantıda: {topic}',
107
+ 'srv.meetingDone': '🗣 Toplantı bitti, özet hazır: {topic}',
108
+ 'err.emptyTopic': 'Toplantı konusu boş olamaz',
109
+ 'err.meetingTeam': 'Toplantıya 2 ile {max} arasında, boşta olan ofis Claude agent\'ı seç',
110
+ 'conflict.line': '{names} ile aynı dosyayı değiştiriyor: {file}',
111
+ 'conflict.notify': 'Haber ver',
112
+ 'conflict.notifyTitle': 'Bu dosyayı değiştiren ofis agent\'larına birbirlerini haber verir',
113
+ 'conflict.notified': '{n} agent\'a haber verildi',
114
+ 'conflict.notifiedSome': '{n} agent\'a haber verildi; {skipped} tanesi kendi terminalinde ya da işte değil',
115
+ 'srv.conflict': '⚔️ {names} aynı dosyayı değiştiriyor: {file}',
116
+ 'err.conflictGone': 'Bu çakışma artık yok',
117
+ 'stuck.slow': '{n} dakikadır aynı adımda: {tool}',
118
+ 'stuck.loop': 'Döngüye girmiş olabilir: aynı çağrıyı {n} kez yaptı ({tool})',
119
+ 'panel.interrupt': 'Durdur (Esc)',
120
+ 'panel.interruptTitle': 'Claude\'un turunu Esc ile keser; agent senden yeni talimat bekler',
121
+ 'srv.stuckSlow': '{name} {n} dakikadır aynı adımda takılı görünüyor',
122
+ 'srv.stuckLoop': '{name} döngüye girmiş olabilir: aynı çağrıyı {n} kez yaptı',
123
+ 'srv.interrupted': 'Durduruldu; yeni talimat bekliyor.',
124
+ 'usage.line': '{tokens} token · {cost}',
125
+ 'usage.today': 'Bugün: {usage}',
126
+ 'usage.title': 'Token sayıları transcript\'lerden; tutar aynı işin API liste fiyatıyla tahmini maliyeti (abonelikte token başına ödenmez).',
127
+ 'queue.open': 'Onay kuyruğunu aç',
128
+ 'queue.title': 'Onay kuyruğu',
129
+ 'queue.sub': 'İzin bekleyen agentlar, en eski istek en üstte. Onayla tek seferlik izin verir; Reddet isteği geri çevirir ve agent senden yeni talimat bekler.',
130
+ 'queue.empty': 'Şu an onay bekleyen kimse yok 🎉',
131
+ 'queue.since': '{n} dk önce',
132
+ 'queue.allow': 'Onayla',
133
+ 'queue.deny': 'Reddet',
134
+ 'queue.close': 'Kapat',
135
+ 'queue.allowed': '{name} için onay verildi',
136
+ 'queue.denied': '{name} için istek reddedildi',
137
+ 'queue.external': 'Kendi terminalinde çalışıyor; cevabı oradan vermelisin.',
138
+ 'queue.terminal': 'Bu bir izin isteği değil; terminali açıp cevapla.',
139
+ 'srv.declined': 'İstek reddedildi; yeni talimat bekliyor.',
140
+ 'err.notWaiting': '{name} artık onay beklemiyor',
141
+ 'stats.idle': '{n} bahçede',
142
+ 'stats.offline': '{n} evde',
143
+ 'empty.title': 'Ofisin henüz boş',
144
+ 'empty.text': 'Her proje bir oda olur. Önce bir proje klasörü ekle, sonra o odaya agent işe al.',
145
+ 'empty.button': '+ İlk odayı ekle',
146
+ 'legend.working': 'Çalışıyor',
147
+ 'legend.waiting': 'Onay bekliyor',
148
+ 'legend.idle': 'Bahçede',
149
+ 'legend.offline': 'Evde',
150
+ 'legend.help': 'Sürükle: kaydır · Tekerlek: yakınlaştır · Sağ tık: menü',
151
+ 'panel.close': 'Kapat (Esc)',
152
+ 'panel.quick': "Mesaj yaz ve Enter'a bas… (ya da doğrudan terminale yaz)",
153
+ 'panel.send': 'Gönder',
154
+
155
+ // world
156
+ 'world.entrance': 'GİRİŞ',
157
+ 'world.bossPlate': 'PATRON',
158
+ 'world.bossRoom': '👔 Patron Odası',
159
+ 'world.bossHint': 'tıkla: tüm ofise duyuru',
160
+ 'world.lobbyTag': 'yapay zekâ çalışanlarınız iş başında',
161
+ 'world.roomCount': '{n} agent · {w} masada',
162
+ 'world.tempRoom': 'geçici oda · ',
163
+ 'world.roomEmpty': 'Bu oda boş — bir sandalyeye tıkla ve agent işe al',
164
+ 'world.freeDesk': 'BOŞ MASA',
165
+ 'world.smoking': '🚬 Sigara alanı',
166
+ 'world.coffee': '☕ Kahve köşesi',
167
+ 'world.garden': 'BAHÇE',
168
+ 'world.atHome': '🏠 {name} · evde',
169
+
170
+ // tooltips
171
+ 'tip.subagent': '↳ {parent} tarafından görevlendirilen alt agent · tıkla: izle',
172
+ 'tip.external': '🖥 Kendi terminalinde çalışıyor (PID {pid}) · tıkla: konuşmayı izle',
173
+ 'tip.openTerminal': 'Tıkla: terminali aç',
174
+ 'tip.freeDesk': 'Boş masa',
175
+ 'tip.freeDeskHint': 'Tıkla: bu masaya yeni agent işe al',
176
+ 'tip.tempRoom': 'Geçici oda: dışarıda açılmış bir oturum için · tıkla: kalıcı yap',
177
+ 'tip.room': 'Tıkla: odaya gir · sağ tık: duyuru, agent işe al',
178
+ 'focus.back': 'Şehre dön (Esc)',
179
+ 'tip.dragRoom': '↔ Başlığı sürükleyip başka odanın üstüne bırak: yer değiştirir',
180
+ 'tip.bossRoom': 'Patron odası',
181
+ 'tip.bossHint': 'Tıkla: tüm ofise duyuru yap',
182
+ 'tip.garden': 'Bahçe',
183
+ 'tip.gardenN': '{n} agent mola veriyor',
184
+ 'tip.gardenNone': 'Şu an herkes çalışıyor',
185
+
186
+ // bubbles
187
+ 'ask.1': '🙋 Patron, {min} dakikadır boştayım. Ne yapayım?',
188
+ 'ask.2': '🙏 Hâlâ boştayım… Bir 1:1 yapabilir miyiz?',
189
+ 'ask.3': '😔 Son kez soruyorum patron: 1:1 rica ediyorum, yoksa küseceğim',
190
+ 'bubble.oneOnOne': '🤝 1:1 görüşmede',
191
+ 'bubble.sulk': '😤 Küstüm… bir 1:1 iyi gelir',
192
+ 'bubble.waiting': '⚠️ Onayını bekliyorum',
193
+ 'bubble.visit': '💬 Görüşmedeyim',
194
+ 'bubble.morning': '👋 Günaydın!',
195
+ 'bubble.break': '☕ Moladayım',
196
+ 'bubble.thanks': 'Teşekkürler patron! 😊',
197
+ 'chat': ['Bu build hep böyle mi uzun sürer?', 'Kahve harika bugün ☕', 'Testler yeşil 🎉', 'PR’ım merge oldu!', 'Hafta sonu ne yapıyorsun?', 'Bir sigara daha 🚬', 'Patron bugün sakin', 'Refactor şart bence', 'Lint hatası çıldırttı', 'Mola hakkımız 😌', 'Context window doldu yine', 'Deploy cuma yapılmaz'],
198
+
199
+ // right-click menu
200
+ 'menu.fun': '🎉 Eğlence',
201
+ 'menu.work': '💼 İş',
202
+ 'fun.swim': 'Havuza gir',
203
+ 'fun.smoke': 'Sigara iç',
204
+ 'fun.coffee': 'Kahve iç',
205
+ 'fun.bench': 'Bankta otur',
206
+ 'fun.picnic': 'Piknik masasına geç',
207
+ 'fun.stroll': 'Bahçede yürü',
208
+ 'fun.dance': 'Dans et',
209
+ 'fun.desk': 'Masana geç',
210
+ 'say.swim': ['Su buz gibi! 🥶', 'Kulaç atıyorum 🏊', 'Simidimi kimse almasın'],
211
+ 'say.smoke': ['Bir tane yakayım 🚬', 'Beş dakikaya dönerim'],
212
+ 'say.coffee': ['Türk kahvesi, orta ☕', 'Filtre kahve lütfen'],
213
+ 'say.bench': ['Biraz güneşleneyim ☀️', 'Oh be!'],
214
+ 'say.picnic': ['Simit çay keyfi 🥯'],
215
+ 'say.stroll': ['Adımlarımı tamamlayayım 👟'],
216
+ 'say.dance': ['Müziği aç! 🎶', 'Bu şarkıya bayılırım 💃'],
217
+ 'say.desk': ['Masama dönüyorum 💻'],
218
+ 'menu.watch': 'Konuşmayı izle',
219
+ 'menu.terminal': 'Terminali aç',
220
+ 'menu.oneOnOne': '1:1 yap',
221
+ 'menu.praise': 'Aferin',
222
+ 'menu.visit': 'Ziyarete gönder',
223
+ 'menu.stop': 'Eve gönder',
224
+ 'menu.start': 'İşe çağır',
225
+ 'menu.fire': 'Kov',
226
+ 'fire.walk': ['Bu kadar mı yani?! 😤', 'Görürsünüz siz! 😡', 'Kutumu bile kendim taşıyorum!', 'Rakibe geçiyorum! 💢'],
227
+ 'fire.board': ['Hadi bakalım! 🚗💨', 'Bir daha görmeyeceksiniz beni! 💨'],
228
+ 'fire.crash': 'Bugün de hiç günüm değil… 😩',
229
+ 'fire.talk0': 'Ehliyet, ruhsat lütfen 👮',
230
+ 'fire.talk1': 'Az önce kovuldum, bir bu eksikti! 😤',
231
+ 'fire.talk2': 'Direği de belediye ödemeyecek 📝',
232
+ 'fire.talk3': 'Faturayı ofise gönderin! 💢',
233
+ 'fire.talk4': 'Cezanız burada, iyi günler 🧾',
234
+ 'fire.leave': 'Yoluma devam ediyorum… 😒',
235
+ 'menu.busy': '💻 {name} çalışıyor, rahatsız etmeyelim',
236
+ 'menu.becameBusy': '💻 {name} çalışmaya başladı, rahatsız etmeyelim',
237
+ 'menu.noDesk': '{name} için masa yok',
238
+
239
+ // panel
240
+ 'panel.subagentOf': "{parent}'in alt agent'ı",
241
+ 'panel.levelMorale': 'Seviye ve moral',
242
+ 'panel.promotable': ' · ⬆ terfiye hazır',
243
+ 'panel.lastTask': '📝 Son görev: ',
244
+ 'panel.now': '🔧 Şu an: ',
245
+ 'panel.inVisit': '🚶 {name} ile görüşmede',
246
+ 'panel.subagentNote': '↳ Bu bir <b>alt agent</b>: {parent} tarafından görevlendirildi. İşi bitince raporunu teslim edip ofisten ayrılır.',
247
+ 'panel.externalNote': '🖥 Bu agent <b>kendi terminalinde</b> çalışıyor (PID {pid}). Buradan izleyebilirsin; konuşmak için ofise taşı.',
248
+ 'panel.goParent': "👤 {name}'e git",
249
+ 'panel.takeover': '🏢 Ofiste devam ettir',
250
+ 'panel.role': 'Kıdem',
251
+ 'panel.stop': '⏹ Eve gönder',
252
+ 'panel.start': '▶ İşe çağır',
253
+ 'panel.visit': '🚶 Ziyarete gönder',
254
+ 'panel.oneOnOne': '🤝 1:1',
255
+ 'panel.praise': '👏 Aferin',
256
+ 'panel.return': '↩ Masasına dön',
257
+ 'panel.settings': '⚙️ Ayarlar',
258
+ 'panel.settingsLocked': 'Ayarları değiştirmek için önce eve gönder',
259
+ 'panel.fire': '🗑 Kov',
260
+ 'panel.noConversation': 'Henüz konuşma yok.',
261
+ 'panel.you': 'Sen',
262
+ 'panel.exit': '[Agent mesaiyi bitirdi — çıkış kodu {code}]',
263
+ 'confirm.takeover': '{name} ofise taşınsın mı?\n\nAynı konuşma ofiste bir terminalde açılır ve oradan konuşabilirsin. Kendi terminalindeki oturumu önce kapatırsan aynı oturumdan devam eder; açık bırakırsan konuşmanın bir kopyasıyla (fork) devam eder.',
264
+ 'confirm.fire': '{name} kovulsun mu? Terminali kapanır ve ofisten silinir (projedeki dosyalara dokunulmaz).',
265
+ 'confirm.fireExternal': '{name} kovulsun mu? Kendi terminalinde çalışan Claude oturumu sonlandırılır. Konuşma diskte kalır, `claude --resume` ile geri dönülebilir.',
266
+ 'toast.takeoverFork': '{name} ofise geçti (konuşmanın kopyasıyla)',
267
+ 'toast.takeover': '{name} ofise geçti',
268
+ 'toast.fired': '{name} kovuldu 📦',
269
+ 'toast.roleChanged': 'Kıdem güncellendi — masası değişiyor',
270
+
271
+ 'rmenu.desks': '🪑 Masalar',
272
+ 'rmenu.addDesk': 'Masa ekle',
273
+ 'rmenu.addLead': 'Takım lideri masası ekle',
274
+ 'rmenu.removeDesk': 'Eklenen boş masayı kaldır',
275
+ 'rmenu.room': '🏢 Oda',
276
+ 'rmenu.hire': 'Agent işe al',
277
+ 'rmenu.hireHere': 'Bu masaya agent al ({role})',
278
+ 'rmenu.announce': 'Duyuru yap',
279
+ 'rmenu.rename': 'Yeniden adlandır',
280
+ 'rmenu.renameTitle': '✏️ Odayı yeniden adlandır',
281
+ 'rmenu.color': 'Oda rengi',
282
+ 'rmenu.folder': "Klasörü Finder'da aç",
283
+ 'world.partner': 'PARTNER OFİSİ',
284
+ 'world.partnerTag': 'Cursor, Codex, Gemini ve diğer yapay zekâ araçları',
285
+ 'world.partnerAdd': '+ Partner odası ekle',
286
+ 'world.partnerAddHint': 'Başka yapay zekâ araçlarının çalışacağı bir proje klasörü seç',
287
+ 'project.building': 'Bina',
288
+ 'building.main': 'Ana ofis (Claude Code)',
289
+ 'building.partner': 'Partner ofisi (diğer araçlar)',
290
+ 'hire.tool': 'Araç',
291
+ 'hire.notInstalled': ' (kurulu değil)',
292
+ 'hire.modelPh': 'Opsiyonel — aracın varsayılan modeli',
293
+ 'panel.estimated': 'ℹ️ Bu araçta durum, terminal hareketinden tahmin ediliyor',
294
+ 'mail.sent': '📨 {from} → {to}: {text}',
295
+ 'ach.bridge': ['Binalar arası köprü', 'İki agent office komutuyla mesajlaştı'],
296
+ 'top.addBuilding': '🏙 + Ofis / Ekip',
297
+ 'world.defaultTool': 'varsayılan araç',
298
+ 'world.addRoom': '+ Oda ekle',
299
+ 'world.addRoomHint': '{name} binasına bir proje klasörü ekle',
300
+ 'tip.building': 'Tıkla: binayı düzenle (ad, şirket, araç, renk)',
301
+ 'rmenu.moveTo': 'Taşı: {name}',
302
+ 'bmodal.newTitle': '🏙 Yeni ofis / ekip binası',
303
+ 'bmodal.editTitle': '🏢 {name}',
304
+ 'bmodal.sub': 'Her ofis ya da ekip şehirde bir binadır; projeler binanın odaları olur.',
305
+ 'bmodal.name': 'Bina adı',
306
+ 'bmodal.namePh': 'Örn: Ödeme Ekibi',
307
+ 'bmodal.company': 'Şirket',
308
+ 'bmodal.tool': 'Varsayılan araç (yeni agentlar için)',
309
+ 'bmodal.color': 'Renk',
310
+ 'bmodal.create': 'Binayı kur',
311
+ 'bmodal.delete': 'Binayı yık',
312
+ 'bmodal.addRoom': '+ Oda ekle',
313
+ 'bmodal.needName': 'Bina adı yaz',
314
+ 'bmodal.created': '{name} binası kuruldu 🏗',
315
+ 'bmodal.confirmDelete': '{name} binası yıkılsın mı? İçindeki {n} oda merkez binaya taşınır, kimse kovulmaz.',
316
+ // modals: project
317
+ 'project.title': '🏢 Yeni oda (proje) ekle',
318
+ 'project.sub': 'Her proje klasörü ofiste bir oda olur. Agentlar o klasörde çalışır.',
319
+ 'project.folder': 'Proje klasörü',
320
+ 'project.pick': '📂 Klasör seç…',
321
+ 'project.picking': 'Pencere açıldı…',
322
+ 'project.browse': '🗂 Ofis içinden gez',
323
+ 'project.name': 'Oda adı',
324
+ 'project.namePh': 'Klasör adından alınır',
325
+ 'project.recent': 'Daha önce Claude Code kullandığın projeler',
326
+ 'project.loading': 'Yükleniyor…',
327
+ 'project.none': 'Bulunamadı.',
328
+ 'project.open': 'Odayı aç',
329
+ 'project.noNative': 'Sistem klasör penceresi açılamadı; ofis içinden gezerek seç.',
330
+ 'project.pickFirst': 'Önce bir klasör seç',
331
+ 'project.opened': '{name} odası açıldı',
332
+ 'browse.home': 'Ev klasörü',
333
+ 'browse.up': 'Üst klasör',
334
+ 'browse.choose': 'Bu klasörü seç',
335
+ 'browse.empty': 'Alt klasör yok',
336
+
337
+ // modals: hire / settings
338
+ 'model.default': 'Varsayılan (Claude Code ayarın)',
339
+ 'model.opus': 'Opus — en güçlü',
340
+ 'model.sonnet': 'Sonnet — dengeli',
341
+ 'model.haiku': 'Haiku — hızlı ve ucuz',
342
+ 'model.custom': 'Diğer (model adı yaz)…',
343
+ 'model.customPh': 'örn. claude-opus-5-5',
344
+ 'form.look': 'Görünüm',
345
+ 'look.auto': 'Otomatik (isme göre)',
346
+ 'look.f': 'Kadın',
347
+ 'look.m': 'Erkek',
348
+ 'form.model': 'Model',
349
+ 'form.perm': 'İzin modu',
350
+ 'perm.default': 'Normal (her işlem için sorar)',
351
+ 'perm.acceptEdits': 'Dosya düzenlemelerini kabul et',
352
+ 'perm.plan': 'Plan modu (sadece planlar)',
353
+ 'perm.bypassPermissions': 'Hiç sorma (riskli)',
354
+ 'hire.title': '🧑‍💼 Agent işe al',
355
+ 'hire.freeDesk': 'Boş masa: <b>{room}</b> odası · {path}',
356
+ 'hire.sub': 'Agent seçtiğin odanın proje klasöründe bir Claude Code terminalinde çalışır.',
357
+ 'hire.room': 'Oda (proje)',
358
+ 'hire.name': 'İsim',
359
+ 'hire.role': 'Kıdem (masası buna göre belirlenir)',
360
+ 'hire.task': 'İlk görev (opsiyonel)',
361
+ 'hire.taskPh': "Örn: README'yi oku ve projenin mimarisini özetle",
362
+ 'hire.advanced': 'Gelişmiş',
363
+ 'hire.command': 'Komut',
364
+ 'hire.commandHint': 'Varsayılan Claude Code. Başka bir CLI agent da yazabilirsin; durumu terminal hareketinden tahmin edilir.',
365
+ 'hire.startNow': 'Hemen işe başlasın',
366
+ 'hire.ok': 'İşe al',
367
+ 'hire.failed': '{name} işe alındı ama başlatılamadı: {error}',
368
+ 'hire.done': '{name} işe alındı! Ofise geliyor 🚶',
369
+ 'edit.title': '⚙️ {name} — ayarlar',
370
+ 'edit.roomHint': 'Oda değişirse agent bir sonraki başlatmada yeni projede yeni bir oturum açar.',
371
+ 'common.cancel': 'Vazgeç',
372
+ 'common.save': 'Kaydet',
373
+ 'common.close': 'Kapat',
374
+ 'common.send': 'Gönder',
375
+
376
+ // modals: rooms & announcements
377
+ 'room.title': '📢 {name} odası',
378
+ 'room.announceLabel': 'Odadaki herkese duyuru ({online}/{total} agent işte)',
379
+ 'room.announcePh': 'Örn: Arkadaşlar, bugün öncelik login akışındaki hatalar. Herkes kendi işini bitirince testleri koşsun.',
380
+ 'room.announceHint': "Duyuru, işteki her agent'ın terminaline mesaj olarak yazılır. Çalışan agentlarda sıraya girer.",
381
+ 'room.close': 'Odayı kapat',
382
+ 'room.wake': '☀️ Odadakileri işe çağır',
383
+ 'room.hire': '+ Agent al',
384
+ 'room.announce': '📢 Duyur',
385
+ 'room.needText': 'Duyuru metni yaz',
386
+ 'room.sent': "Duyuru {n} agent'a iletildi 📢",
387
+ 'room.noneOnline': 'Odada işte olan agent yok',
388
+ 'room.skipped': ' · {n} dış oturuma iletilemez',
389
+ 'room.confirmClose': '{name} odası kapatılsın mı? Odadaki {n} agent kovulur. Proje dosyalarına dokunulmaz.',
390
+ 'temp.title': '🖥 {name} (geçici oda)',
391
+ 'temp.text': 'Bu oda, bu klasörde kendi terminalinde çalışan {n} agent için otomatik açıldı. Oturum kapanınca oda da kaybolur. Bu agentlar kendi terminallerinde çalıştığı için duyuru alamazlar; panelden "Ofiste devam ettir" ile ofise taşıyabilirsin.',
392
+ 'temp.save': 'Kalıcı oda yap',
393
+ 'temp.saved': '{name} artık kalıcı bir oda',
394
+ 'all.title': '📢 Tüm ofise duyuru',
395
+ 'all.sub': '{n} agent işte. Duyuru her birinin terminaline mesaj olarak yazılır.',
396
+ 'all.ph': "Örn: Herkes elindeki işi bitirince commit atsın, saat 6'da mesai bitiyor.",
397
+ 'all.noneOnline': 'İşte olan agent yok',
398
+ 'visit.none': 'Ziyaret edecek başka agent yok',
399
+ 'visit.title': '🚶 {name} ziyarete gitsin',
400
+ 'visit.sub': "{name} seçtiğin agent'ın yanına yürür; o agent'ın son konuşması ona bağlam olarak verilir.",
401
+ 'visit.who': 'Kime gitsin?',
402
+ 'visit.topic': 'Konu',
403
+ 'visit.topicPh': "Örn: API'deki yeni endpoint'leri öğren ve frontend tarafında nasıl kullanacağını planla.",
404
+ 'visit.notify': "Ziyaret edilen agent'a da haber ver",
405
+ 'visit.sent': '{name} yola çıktı 🚶',
406
+
407
+ // ask card & 1:1
408
+ 'askcard.morale': 'moral {n}',
409
+ 'askcard.steps': '{n}/3 istek',
410
+ 'askcard.queue': ' · sırada {n} agent daha',
411
+ 'askcard.phExternal': 'Görev yaz (agent ofise taşınır)…',
412
+ 'askcard.ph': 'Görev yaz ve Enter…',
413
+ 'askcard.task': '📝 Görev ver',
414
+ 'askcard.oneOnOne': '🤝 1:1 yap',
415
+ 'askcard.praise': '👏 Aferin',
416
+ 'askcard.later': '⏰ Sonra',
417
+ 'task.movedAndStarted': '{name} ofise taşındı ve göreve başladı',
418
+ 'task.started': '{name} göreve başladı 💪',
419
+ 'oo.title': '🤝 {name} ile 1:1',
420
+ 'oo.ownTerminal': ' · kendi terminalinde',
421
+ 'oo.level': 'Seviye {n}',
422
+ 'oo.morale': 'Moral',
423
+ 'oo.done': '✅ {n} görev tamamladı',
424
+ 'oo.last': ' · son görev: {task}',
425
+ 'oo.newTask': 'Yeni görev',
426
+ 'oo.taskPh': 'Ne üzerinde çalışsın?',
427
+ 'oo.taskPhExternal': ' (Görev verince agent ofise taşınır.)',
428
+ 'oo.end': 'Görüşmeyi bitir',
429
+ 'oo.promote': '⬆ {role} yap',
430
+ 'oo.promoteReady': 'Seviyesi terfiye yetiyor',
431
+ 'oo.promoteEarly': 'Terfi için seviyesi henüz düşük ama yine de terfi ettirebilirsin',
432
+ 'oo.give': '📝 Görevi ver',
433
+ 'oo.thanks': '{name}: "Teşekkürler patron!" 😊',
434
+ 'oo.promoted': '🎉 {name} artık {role}! Yeni masasına geçiyor',
435
+ 'oo.needTask': 'Görev yaz',
436
+ 'notify.asking': '{name} boşta, iş istiyor 🙋',
437
+ 'notify.someone': 'Bir agent',
438
+
439
+ // trophies
440
+ 'trophy.title': '🏆 Ofis skor tablosu',
441
+ 'trophy.today': 'bugün biten görev',
442
+ 'trophy.total': 'toplam görev',
443
+ 'trophy.badges': 'rozet',
444
+ 'trophy.board': 'Çalışan sıralaması',
445
+ 'trophy.promote': '⬆ terfi',
446
+ 'trophy.nobody': 'Henüz kimse yok.',
447
+ 'trophy.badgesTitle': 'Rozetler',
448
+ 'trophy.won': '{icon} Rozet kazandın: {title} — {desc}',
449
+ 'ach.first_hire': ['İlk işe alım', 'Ofise ilk agentı al'],
450
+ 'ach.team_5': ['Kalabalık ekip', '5 agent işe al'],
451
+ 'ach.megaphone': ['Megafon', 'İlk duyurunu yap'],
452
+ 'ach.tasks_10': ['Üretken ofis', '10 görev tamamlansın'],
453
+ 'ach.tasks_100': ['Fabrika', '100 görev tamamlansın'],
454
+ 'ach.door_open': ['Kapım açık', 'İlk 1:1 görüşmeni yap'],
455
+ 'ach.coach': ['Koç patron', '10 tane 1:1 yap'],
456
+ 'ach.kudos': ['Takdir eden patron', '10 kez aferin de'],
457
+ 'ach.promoter': ['Kariyer basamağı', 'Bir agentı terfi ettir'],
458
+ 'ach.teamwork': ['Takım çalışması', 'Bir agentı ziyarete gönder'],
459
+ 'ach.rescue': ['Gönül alan patron', 'Küsen bir agentla 1:1 yap'],
460
+ 'ach.star': ['Yıldız çalışan', 'Bir agent 5. seviyeye ulaşsın'],
461
+ 'ach.happy': ['Mutlu ofis', 'En az 3 agentın morali 85+ olsun'],
462
+
463
+ // road game
464
+ 'arcade.button': '🚗',
465
+ 'arcade.title': 'Mola oyunu: herkes çalışırken patron yola çıkar',
466
+ 'arcade.locked': 'Oyun, ofisteki herkes bir iş üzerindeyken açılır: boşta ya da onay bekleyen agent olmamalı. Kendi terminallerindeki boşta Claude oturumları sayılmaz 🚗',
467
+ 'arcade.roadHint': '🏎 Herkes çalışıyor — tıkla ve sür!',
468
+ 'arcade.heading': '🚗 Patron yolda',
469
+ 'arcade.help': '← → ya da A / D: şerit değiştir · P: duraklat · Esc: çık',
470
+ 'arcade.score': 'Skor',
471
+ 'arcade.best': 'En iyi',
472
+ 'arcade.speed': 'Hız',
473
+ 'arcade.paused': 'Duraklatıldı — devam için P',
474
+ 'arcade.crash': '💥 Kaza!',
475
+ 'arcade.newBest': '🏆 Yeni rekor!',
476
+ 'arcade.again': '🔁 Tekrar',
477
+ 'arcade.againLocked': 'Tekrar oynamak için herkes yine bir iş üzerinde olmalı',
478
+ 'arcade.close': 'Ofise dön',
479
+ 'arcade.go': 'Bas gaza!',
480
+ 'arcade.coffee': '+50 ☕',
481
+ 'ach.driver': ['Direksiyon başında', 'Mola oyununu bir kez oyna'],
482
+ 'ach.speedster': ['Hız tutkunu', 'Mola oyununda 1000 puanı geç'],
483
+ // misc toasts
484
+ 'toast.updating': 'Ofis güncelleniyor… ↻',
485
+ 'toast.morning': 'Günaydın! Herkes ofise geliyor ☀️',
486
+
487
+ // server messages
488
+ 'srv.waiting': '{name} onayını bekliyor',
489
+ 'srv.waitingExternal': '{name} onayını bekliyor (kendi terminalinde)',
490
+ 'srv.finished': '{name} işini bitirdi ✅',
491
+ 'srv.internHired': '{parent} bir stajyer görevlendirdi: {name} — {task}',
492
+ 'srv.internDone': "Stajyer {name} işini bitirip {parent}'e teslim etti",
493
+ 'srv.levelUp': '🎉 {name} seviye atladı: Lv {level}!',
494
+ 'srv.sulk': '{name} küstü 😤 — gönlünü almak için 1:1 yap',
495
+ 'srv.restartManual': 'Sunucu kodu değişti; etkili olması için ofisi yeniden başlat.',
496
+ 'srv.syntax': 'server.js derlenmiyor, yeniden başlatılmadı: {error}',
497
+ 'srv.updateReady': 'Güncelleme hazır: {names} işini bitirince ofis kendini yenileyecek.',
498
+ 'srv.resumeFailed': 'Önceki oturum devam ettirilemedi; bir sonraki başlatmada yeni oturum açılacak.',
499
+ 'srv.blockedPrompt': 'Terminalde bir soru bekliyor olabilir (ör. klasöre güven onayı). Terminali açıp cevapla.',
500
+ 'err.projectNotFound': 'Proje bulunamadı',
501
+ 'err.projectFolderMissing': 'Proje klasörü bulunamadı: {path}',
502
+ 'err.commandNotFound': "Komut PATH'te bulunamadı: {command}",
503
+ 'err.claudeConfigUnreadable': "{path} okunamıyor (muhtemelen `sudo claude` sonrası sahibi root kaldı); agent'lar her açılışta yeniden login ister. sudo ile çalışan Claude'u kapat ve şunu çalıştır: sudo chown -R $USER ~/.claude.json ~/.claude",
504
+ 'err.offline': '{name} şu an işte değil (çevrimdışı)',
505
+ 'err.folderOpen': 'Klasör açılamadı: {code}',
506
+ 'err.folderNotFound': 'Klasör bulunamadı',
507
+ 'err.emptyAnnouncement': 'Duyuru boş',
508
+ 'err.pickRoom': 'Önce bir oda (proje) seç',
509
+ 'err.agentNotFound': 'Agent bulunamadı',
510
+ 'err.transcriptUnreadable': 'Bu oturumun kaydı okunamıyor (büyük ihtimalle sudo ile açılmış, başka kullanıcıya ait). Ofiste devam ettirmek için oturumu sudo olmadan başlat.',
511
+ 'err.externalReadOnly': 'Bu agent kendi terminalinde çalışıyor; ofisten yönetmek için "Ofiste devam ettir"i kullan.',
512
+ 'err.fireNoPermission': 'Bu oturum başka bir kullanıcıyla (ör. sudo) çalışıyor, ofis kapatamaz. Terminalinden çık ya da `sudo kill {pid}` çalıştır.',
513
+ 'err.emptyMessage': 'Mesaj boş',
514
+ 'err.pickColleague': 'Ziyaret edilecek bir çalışma arkadaşı seç',
515
+ 'err.buildingNotFound': 'Bina bulunamadı',
516
+ 'err.cannotDeleteHQ': 'Merkez bina silinemez',
517
+ 'dialog.pickFolder': 'Ofise oda olarak eklenecek proje klasörünü seç',
518
+ },
519
+
520
+ en: {
521
+ 'lang.name': 'English',
522
+ 'role.lead': 'Team Lead',
523
+ 'role.senior': 'Senior',
524
+ 'role.mid': 'Mid-level',
525
+ 'role.junior': 'Junior',
526
+ 'role.intern': 'Intern',
527
+ 'status.offline': 'At home',
528
+ 'status.starting': 'Coming in',
529
+ 'status.idle': 'In the garden, idle',
530
+ 'status.working': 'Working',
531
+ 'status.waiting': 'Waiting for approval',
532
+
533
+ 'top.boss': 'Boss: You',
534
+ 'top.trophy': 'Leaderboard and badges',
535
+ 'top.report': 'End-of-day report',
536
+ 'top.workday': 'Workday settings',
537
+ 'wd.title': 'Workday settings',
538
+ 'wd.sub': "An agent that goes home keeps its conversation and picks it up again when called back in.",
539
+ 'wd.autoHome': 'Idle agents go home',
540
+ 'wd.idleMin': 'After this many idle minutes',
541
+ 'wd.endHour': 'Workday ends at',
542
+ 'wd.noEnd': 'Never',
543
+ 'wd.endHint': 'After the workday ends (until 6:00 in the morning) everyone who has finished goes home within a minute; nobody drops their work halfway.',
544
+ 'wd.autoWake': 'A task on the board calls someone in when the room is empty',
545
+ 'wd.dayNight': 'Day and night light follows the clock (in this browser)',
546
+ 'wd.save': 'Save',
547
+ 'wd.saved': 'Workday settings saved',
548
+ 'srv.homeIdle': '{name} was idle for {n} minutes and went home 🏠',
549
+ 'srv.homeEndOfDay': 'The workday is over: {name} went home 🌙',
550
+ 'srv.calledIn': 'Work on the board: {name} was called in ☀️',
551
+ 'board.title': 'Task board',
552
+ 'board.sub': "Leave tasks for the room; an idle agent there takes the next one. A task is done when the agent finishes that turn.",
553
+ 'board.ph': 'Something to do… (Cmd/Ctrl+Enter to add)',
554
+ 'board.add': 'Add to board',
555
+ 'board.todo': 'Up next ({n})',
556
+ 'board.doing': 'In progress ({n})',
557
+ 'board.done': 'Done',
558
+ 'board.none': 'Nothing up next.',
559
+ 'board.nobody': 'Nobody in this room is at work; the tasks wait for someone to come in.',
560
+ 'board.top': 'Move to the front',
561
+ 'board.del': 'Delete',
562
+ 'board.again': 'Put back in line',
563
+ 'board.empty': '📌 task board',
564
+ 'board.short': '{todo} next · {doing} in progress',
565
+ 'board.tip': '{todo} up next, {doing} in progress. Click to open the board',
566
+ 'board.tempRoom': 'Temporary rooms have no board; keep the room first.',
567
+ 'srv.boardPicked': '{name} took a task from the board: {task}',
568
+ 'srv.boardDone': '{name} finished a board task: {task}',
569
+ 'err.emptyTask': 'The task text is empty',
570
+ 'err.taskNotFound': 'Task not found',
571
+ 'report.title': 'End-of-day report',
572
+ 'report.loading': 'Reading transcripts…',
573
+ 'report.empty': 'No session did any work on this day.',
574
+ 'report.sum': '{s} sessions · {t} tasks · {c} commits · {p} PRs',
575
+ 'report.copy': 'Copy Markdown',
576
+ 'report.copied': 'Report copied to the clipboard',
577
+ 'report.terminal': 'Terminal · {room}',
578
+ 'report.tasks': 'Tasks given ({n})',
579
+ 'report.commits': 'Commits ({n})',
580
+ 'report.prs': 'Pull requests',
581
+ 'report.files': 'Files changed ({n})',
582
+ 'report.last': 'Last word',
583
+ 'report.more': '+{n} more',
584
+ 'top.fit': '⤢ Fit',
585
+ 'top.fitTitle': 'Fit the office to the screen',
586
+ 'top.startAll': '☀️ Start the workday',
587
+ 'top.startAllTitle': 'Call every agent at home in to work',
588
+ 'top.announceAll': '📢 Announce to all',
589
+ 'top.addRoom': '+ Room (project)',
590
+ 'top.hire': '+ Hire agent',
591
+ 'top.conn': 'Server connection',
592
+ 'top.lang': 'Language / Dil',
593
+ 'stats.rooms': '{n} rooms',
594
+ 'stats.working': '{n} working',
595
+ 'stats.waiting': '{n} waiting',
596
+ 'stats.cost': '{cost} today',
597
+ 'wt.option': 'Work in its own git worktree and branch',
598
+ 'wt.hint': "A separate working copy is opened inside the repo under .claude/worktrees/, so agents in the same repo never overwrite each other's files. Outside a git repo it works in the room's folder.",
599
+ 'wt.panel': 'In its own worktree: {branch}',
600
+ 'srv.worktreeKept': '{name} left, but its worktree has uncommitted changes, so it was kept: {path} ({branch})',
601
+ 'err.worktree': 'Could not open a worktree: {error}',
602
+ 'meet.title': 'Meeting',
603
+ 'meet.sub': 'The agents you pick gather in the lobby: everyone gives their view, then answers the others, and the first one picked (the chair) writes the summary. Nobody changes files in a meeting.',
604
+ 'meet.topic': 'Topic',
605
+ 'meet.topicPh': 'E.g. How do we simplify the campaign display on the payment page?',
606
+ 'meet.people': 'Participants',
607
+ 'meet.nobody': 'No office Claude agent is idle right now; only idle ones can join a meeting.',
608
+ 'meet.start': 'Start the meeting',
609
+ 'meet.started': 'The meeting started; everyone heads to the lobby',
610
+ 'meet.stepRound': 'round {n}',
611
+ 'meet.stepSummary': 'summary by {name}',
612
+ 'meet.waiting': 'Waiting for: {names}',
613
+ 'meet.cancel': 'End the meeting',
614
+ 'meet.cancelled': 'cut short',
615
+ 'meet.past': 'Past meetings',
616
+ 'meet.summary': 'Summary',
617
+ 'meet.discussion': 'Discussion',
618
+ 'meet.tip': 'Click to call agents to a meeting',
619
+ 'meet.tipRunning': 'Meeting on: {topic}',
620
+ 'meet.bubble': 'In a meeting: {topic}',
621
+ 'srv.meetingDone': '🗣 The meeting is over, summary ready: {topic}',
622
+ 'err.emptyTopic': 'The meeting topic is empty',
623
+ 'err.meetingTeam': 'Pick 2 to {max} idle office Claude agents for a meeting',
624
+ 'conflict.line': 'Changing the same file as {names}: {file}',
625
+ 'conflict.notify': 'Tell them',
626
+ 'conflict.notifyTitle': 'Tells the office agents changing this file about each other',
627
+ 'conflict.notified': 'Told {n} agents',
628
+ 'conflict.notifiedSome': "Told {n} agents; {skipped} run in their own terminal or aren't at work",
629
+ 'srv.conflict': '⚔️ {names} are changing the same file: {file}',
630
+ 'err.conflictGone': 'This conflict is over',
631
+ 'stuck.slow': 'On the same step for {n} min: {tool}',
632
+ 'stuck.loop': 'May be in a loop: made the same call {n} times ({tool})',
633
+ 'panel.interrupt': 'Stop (Esc)',
634
+ 'panel.interruptTitle': "Stops Claude's turn with Esc; the agent then waits for your instructions",
635
+ 'srv.stuckSlow': '{name} seems stuck on the same step for {n} minutes',
636
+ 'srv.stuckLoop': '{name} may be in a loop: made the same call {n} times',
637
+ 'srv.interrupted': 'Stopped; waiting for new instructions.',
638
+ 'usage.line': '{tokens} tokens · {cost}',
639
+ 'usage.today': 'Today: {usage}',
640
+ 'usage.title': "Token counts come from the transcripts; the amount is what the same work would cost at API list prices (subscriptions don't pay per token).",
641
+ 'queue.open': 'Open the approval queue',
642
+ 'queue.title': 'Approval queue',
643
+ 'queue.sub': 'Agents waiting for permission, oldest request first. Approve allows it once; Decline turns it down and the agent waits for new instructions.',
644
+ 'queue.empty': 'Nobody is waiting for approval right now 🎉',
645
+ 'queue.since': '{n} min ago',
646
+ 'queue.allow': 'Approve',
647
+ 'queue.deny': 'Decline',
648
+ 'queue.close': 'Close',
649
+ 'queue.allowed': 'Approved for {name}',
650
+ 'queue.denied': 'Declined for {name}',
651
+ 'queue.external': 'Runs in its own terminal; answer it there.',
652
+ 'queue.terminal': "This isn't a permission request; open the terminal and answer it.",
653
+ 'srv.declined': 'Request declined; waiting for new instructions.',
654
+ 'err.notWaiting': '{name} is no longer waiting for approval',
655
+ 'stats.idle': '{n} in the garden',
656
+ 'stats.offline': '{n} at home',
657
+ 'empty.title': 'Your office is empty',
658
+ 'empty.text': 'Every project becomes a room. Add a project folder first, then hire agents for that room.',
659
+ 'empty.button': '+ Add the first room',
660
+ 'legend.working': 'Working',
661
+ 'legend.waiting': 'Waiting for approval',
662
+ 'legend.idle': 'In the garden',
663
+ 'legend.offline': 'At home',
664
+ 'legend.help': 'Drag: pan · Wheel: zoom · Right-click: menu',
665
+ 'panel.close': 'Close (Esc)',
666
+ 'panel.quick': 'Type a message and press Enter… (or type straight into the terminal)',
667
+ 'panel.send': 'Send',
668
+
669
+ 'world.entrance': 'ENTRANCE',
670
+ 'world.bossPlate': 'BOSS',
671
+ 'world.bossRoom': "👔 Boss's Office",
672
+ 'world.bossHint': 'click: announce to everyone',
673
+ 'world.lobbyTag': 'your AI employees at work',
674
+ 'world.roomCount': '{n} agents · {w} at desks',
675
+ 'world.tempRoom': 'temporary room · ',
676
+ 'world.roomEmpty': 'This room is empty — click a chair to hire an agent',
677
+ 'world.freeDesk': 'FREE DESK',
678
+ 'world.smoking': '🚬 Smoking area',
679
+ 'world.coffee': '☕ Coffee corner',
680
+ 'world.garden': 'GARDEN',
681
+ 'world.atHome': '🏠 {name} · at home',
682
+
683
+ 'tip.subagent': '↳ Subagent sent by {parent} · click: watch',
684
+ 'tip.external': '🖥 Working in its own terminal (PID {pid}) · click: watch the conversation',
685
+ 'tip.openTerminal': 'Click: open the terminal',
686
+ 'tip.freeDesk': 'Free desk',
687
+ 'tip.freeDeskHint': 'Click: hire a new agent for this desk',
688
+ 'tip.tempRoom': 'Temporary room for a session opened outside · click: keep it',
689
+ 'tip.room': 'Click to go into the room · right-click: announce, hire agents',
690
+ 'focus.back': 'Back to the city (Esc)',
691
+ 'tip.dragRoom': '↔ Drag the header onto another room to swap places',
692
+ 'tip.bossRoom': "Boss's office",
693
+ 'tip.bossHint': 'Click: announce to the whole office',
694
+ 'tip.garden': 'Garden',
695
+ 'tip.gardenN': '{n} agents on a break',
696
+ 'tip.gardenNone': 'Everyone is working right now',
697
+
698
+ 'ask.1': "🙋 Boss, I've been idle for {min} minutes. What should I do?",
699
+ 'ask.2': '🙏 Still idle… Could we have a 1:1?',
700
+ 'ask.3': "😔 Last time I ask, boss: I'd like a 1:1, or I'll sulk",
701
+ 'bubble.oneOnOne': '🤝 In a 1:1',
702
+ 'bubble.sulk': '😤 Sulking… a 1:1 would help',
703
+ 'bubble.waiting': '⚠️ Waiting for your approval',
704
+ 'bubble.visit': '💬 In a meeting',
705
+ 'bubble.morning': '👋 Good morning!',
706
+ 'bubble.break': '☕ On a break',
707
+ 'bubble.thanks': 'Thanks, boss! 😊',
708
+ 'chat': ['Does this build always take this long?', 'Great coffee today ☕', 'Tests are green 🎉', 'My PR got merged!', 'Plans for the weekend?', 'One more cigarette 🚬', 'The boss is calm today', 'This needs a refactor', 'That lint error drove me nuts', 'We deserve a break 😌', 'Context window is full again', 'Never deploy on a Friday'],
709
+
710
+ 'menu.fun': '🎉 Fun',
711
+ 'menu.work': '💼 Work',
712
+ 'fun.swim': 'Go for a swim',
713
+ 'fun.smoke': 'Have a smoke',
714
+ 'fun.coffee': 'Grab a coffee',
715
+ 'fun.bench': 'Sit on a bench',
716
+ 'fun.picnic': 'Go to the picnic table',
717
+ 'fun.stroll': 'Walk in the garden',
718
+ 'fun.dance': 'Dance',
719
+ 'fun.desk': 'Back to your desk',
720
+ 'say.swim': ['The water is freezing! 🥶', 'Doing laps 🏊', 'Nobody touch my rubber ring'],
721
+ 'say.smoke': ['Just one 🚬', 'Back in five'],
722
+ 'say.coffee': ['Turkish coffee, medium sweet ☕', 'Filter coffee, please'],
723
+ 'say.bench': ['A bit of sunshine ☀️', 'Ahh, that’s nice!'],
724
+ 'say.picnic': ['Simit and tea time 🥯'],
725
+ 'say.stroll': ['Getting my steps in 👟'],
726
+ 'say.dance': ['Turn up the music! 🎶', 'I love this song 💃'],
727
+ 'say.desk': ['Heading back to my desk 💻'],
728
+ 'menu.watch': 'Watch the conversation',
729
+ 'menu.terminal': 'Open the terminal',
730
+ 'menu.oneOnOne': 'Have a 1:1',
731
+ 'menu.praise': 'Well done!',
732
+ 'menu.visit': 'Send to visit',
733
+ 'menu.stop': 'Send home',
734
+ 'menu.start': 'Call in to work',
735
+ 'menu.fire': 'Fire',
736
+ 'fire.walk': ["That's it?! 😤", "You'll regret this! 😡", 'Carrying my own box, unbelievable!', 'Off to the competition! 💢'],
737
+ 'fire.board': ["Let's go! 🚗💨", "You'll never see me again! 💨"],
738
+ 'fire.crash': 'Just not my day… 😩',
739
+ 'fire.talk0': 'Licence and registration, please 👮',
740
+ 'fire.talk1': 'I just got fired, this is all I needed! 😤',
741
+ 'fire.talk2': "And the city won't pay for that lamppost 📝",
742
+ 'fire.talk3': 'Send the bill to the office! 💢',
743
+ 'fire.talk4': "Here's your ticket, have a nice day 🧾",
744
+ 'fire.leave': 'Moving on… 😒',
745
+ 'menu.busy': "💻 {name} is working, let's not disturb",
746
+ 'menu.becameBusy': "💻 {name} just started working, let's not disturb",
747
+ 'menu.noDesk': 'No desk for {name}',
748
+
749
+ 'panel.subagentOf': 'subagent of {parent}',
750
+ 'panel.levelMorale': 'Level and morale',
751
+ 'panel.promotable': ' · ⬆ ready for promotion',
752
+ 'panel.lastTask': '📝 Last task: ',
753
+ 'panel.now': '🔧 Now: ',
754
+ 'panel.inVisit': '🚶 Meeting {name}',
755
+ 'panel.subagentNote': '↳ This is a <b>subagent</b> sent by {parent}. It hands in its report and leaves the office when done.',
756
+ 'panel.externalNote': '🖥 This agent runs <b>in its own terminal</b> (PID {pid}). You can watch it here; move it into the office to talk to it.',
757
+ 'panel.goParent': '👤 Go to {name}',
758
+ 'panel.takeover': '🏢 Continue in the office',
759
+ 'panel.role': 'Seniority',
760
+ 'panel.stop': '⏹ Send home',
761
+ 'panel.start': '▶ Call in to work',
762
+ 'panel.visit': '🚶 Send to visit',
763
+ 'panel.oneOnOne': '🤝 1:1',
764
+ 'panel.praise': '👏 Well done',
765
+ 'panel.return': '↩ Back to desk',
766
+ 'panel.settings': '⚙️ Settings',
767
+ 'panel.settingsLocked': 'Send the agent home before changing its settings',
768
+ 'panel.fire': '🗑 Fire',
769
+ 'panel.noConversation': 'No conversation yet.',
770
+ 'panel.you': 'You',
771
+ 'panel.exit': '[The agent left work — exit code {code}]',
772
+ 'confirm.takeover': 'Move {name} into the office?\n\nThe same conversation opens in an office terminal where you can talk to it. If you close the session in its own terminal first it continues the same session; if you leave it open it continues from a copy (fork) of the conversation.',
773
+ 'confirm.fire': 'Fire {name}? Its terminal closes and it leaves the office (project files are not touched).',
774
+ 'confirm.fireExternal': 'Fire {name}? The Claude session running in its own terminal is ended. The conversation stays on disk and can be resumed with `claude --resume`.',
775
+ 'toast.takeoverFork': '{name} moved into the office (from a copy of the conversation)',
776
+ 'toast.takeover': '{name} moved into the office',
777
+ 'toast.fired': '{name} was fired 📦',
778
+ 'toast.roleChanged': 'Seniority updated — moving to a new desk',
779
+
780
+ 'rmenu.desks': '🪑 Desks',
781
+ 'rmenu.addDesk': 'Add a desk',
782
+ 'rmenu.addLead': 'Add a team lead desk',
783
+ 'rmenu.removeDesk': 'Remove an added free desk',
784
+ 'rmenu.room': '🏢 Room',
785
+ 'rmenu.hire': 'Hire an agent',
786
+ 'rmenu.hireHere': 'Hire for this desk ({role})',
787
+ 'rmenu.announce': 'Announce',
788
+ 'rmenu.rename': 'Rename',
789
+ 'rmenu.renameTitle': '✏️ Rename room',
790
+ 'rmenu.color': 'Room color',
791
+ 'rmenu.folder': 'Open the folder',
792
+ 'world.partner': 'PARTNER OFFICE',
793
+ 'world.partnerTag': 'Cursor, Codex, Gemini and other AI tools',
794
+ 'world.partnerAdd': '+ Add a partner room',
795
+ 'world.partnerAddHint': 'Pick a project folder for agents on other AI tools',
796
+ 'project.building': 'Building',
797
+ 'building.main': 'Main office (Claude Code)',
798
+ 'building.partner': 'Partner office (other tools)',
799
+ 'hire.tool': 'Tool',
800
+ 'hire.notInstalled': ' (not installed)',
801
+ 'hire.modelPh': 'Optional — the tool’s default model',
802
+ 'panel.estimated': 'ℹ️ For this tool, status is estimated from terminal activity',
803
+ 'mail.sent': '📨 {from} → {to}: {text}',
804
+ 'ach.bridge': ['Bridge builder', 'Two agents messaged each other with office'],
805
+ 'top.addBuilding': '🏙 + Office / Team',
806
+ 'world.defaultTool': 'default tool',
807
+ 'world.addRoom': '+ Add a room',
808
+ 'world.addRoomHint': 'Add a project folder to {name}',
809
+ 'tip.building': 'Click: edit the building (name, company, tool, color)',
810
+ 'rmenu.moveTo': 'Move to {name}',
811
+ 'bmodal.newTitle': '🏙 New office / team building',
812
+ 'bmodal.editTitle': '🏢 {name}',
813
+ 'bmodal.sub': 'Each office or team is a building in the city; projects are its rooms.',
814
+ 'bmodal.name': 'Building name',
815
+ 'bmodal.namePh': 'e.g. Payments Team',
816
+ 'bmodal.company': 'Company',
817
+ 'bmodal.tool': 'Default tool (for new agents)',
818
+ 'bmodal.color': 'Color',
819
+ 'bmodal.create': 'Build it',
820
+ 'bmodal.delete': 'Demolish',
821
+ 'bmodal.addRoom': '+ Add a room',
822
+ 'bmodal.needName': 'Enter a building name',
823
+ 'bmodal.created': '{name} is built 🏗',
824
+ 'bmodal.confirmDelete': 'Demolish {name}? Its {n} rooms move to the HQ; nobody is fired.',
825
+ 'project.title': '🏢 Add a room (project)',
826
+ 'project.sub': 'Every project folder becomes a room in the office. Agents work in that folder.',
827
+ 'project.folder': 'Project folder',
828
+ 'project.pick': '📂 Choose folder…',
829
+ 'project.picking': 'Dialog open…',
830
+ 'project.browse': '🗂 Browse in the office',
831
+ 'project.name': 'Room name',
832
+ 'project.namePh': 'Taken from the folder name',
833
+ 'project.recent': 'Projects where you used Claude Code before',
834
+ 'project.loading': 'Loading…',
835
+ 'project.none': 'None found.',
836
+ 'project.open': 'Open room',
837
+ 'project.noNative': 'The system folder dialog could not open; browse in the office instead.',
838
+ 'project.pickFirst': 'Choose a folder first',
839
+ 'project.opened': 'Room {name} is open',
840
+ 'browse.home': 'Home folder',
841
+ 'browse.up': 'Parent folder',
842
+ 'browse.choose': 'Choose this folder',
843
+ 'browse.empty': 'No subfolders',
844
+
845
+ 'model.default': 'Default (your Claude Code setting)',
846
+ 'model.opus': 'Opus — most capable',
847
+ 'model.sonnet': 'Sonnet — balanced',
848
+ 'model.haiku': 'Haiku — fast and cheap',
849
+ 'model.custom': 'Other (type a model name)…',
850
+ 'model.customPh': 'e.g. claude-opus-5-5',
851
+ 'form.look': 'Look',
852
+ 'look.auto': 'Automatic (from the name)',
853
+ 'look.f': 'Woman',
854
+ 'look.m': 'Man',
855
+ 'form.model': 'Model',
856
+ 'form.perm': 'Permission mode',
857
+ 'perm.default': 'Normal (asks for each action)',
858
+ 'perm.acceptEdits': 'Accept file edits',
859
+ 'perm.plan': 'Plan mode (plans only)',
860
+ 'perm.bypassPermissions': 'Never ask (risky)',
861
+ 'hire.title': '🧑‍💼 Hire an agent',
862
+ 'hire.freeDesk': 'Free desk in room <b>{room}</b> · {path}',
863
+ 'hire.sub': "The agent works in a Claude Code terminal in the chosen room's project folder.",
864
+ 'hire.room': 'Room (project)',
865
+ 'hire.name': 'Name',
866
+ 'hire.role': 'Seniority (decides the desk)',
867
+ 'hire.task': 'First task (optional)',
868
+ 'hire.taskPh': 'e.g. Read the README and summarize the architecture',
869
+ 'hire.advanced': 'Advanced',
870
+ 'hire.command': 'Command',
871
+ 'hire.commandHint': 'Claude Code by default. You can enter another CLI agent; its status is guessed from terminal activity.',
872
+ 'hire.startNow': 'Start right away',
873
+ 'hire.ok': 'Hire',
874
+ 'hire.failed': '{name} was hired but could not start: {error}',
875
+ 'hire.done': '{name} is hired! On the way in 🚶',
876
+ 'edit.title': '⚙️ {name} — settings',
877
+ 'edit.roomHint': 'If the room changes, the agent opens a new session in the new project on its next start.',
878
+ 'common.cancel': 'Cancel',
879
+ 'common.save': 'Save',
880
+ 'common.close': 'Close',
881
+ 'common.send': 'Send',
882
+
883
+ 'room.title': '📢 Room {name}',
884
+ 'room.announceLabel': 'Announcement to everyone in the room ({online}/{total} agents at work)',
885
+ 'room.announcePh': 'e.g. Team, today the priority is the login bugs. Run the tests when you finish your work.',
886
+ 'room.announceHint': "The announcement is typed into every working agent's terminal. Busy agents queue it.",
887
+ 'room.close': 'Close room',
888
+ 'room.wake': '☀️ Call the room in to work',
889
+ 'room.hire': '+ Hire',
890
+ 'room.announce': '📢 Announce',
891
+ 'room.needText': 'Write the announcement',
892
+ 'room.sent': 'Announcement sent to {n} agents 📢',
893
+ 'room.noneOnline': 'No agent in this room is at work',
894
+ 'room.skipped': ' · {n} outside sessions cannot receive it',
895
+ 'room.confirmClose': 'Close room {name}? Its {n} agents will be fired. Project files are not touched.',
896
+ 'temp.title': '🖥 {name} (temporary room)',
897
+ 'temp.text': 'This room opened by itself for {n} agents running in their own terminals in this folder. It disappears when the sessions end. These agents cannot receive announcements; use "Continue in the office" in their panel to move them in.',
898
+ 'temp.save': 'Keep this room',
899
+ 'temp.saved': '{name} is now a permanent room',
900
+ 'all.title': '📢 Announce to the whole office',
901
+ 'all.sub': "{n} agents at work. The announcement is typed into each one's terminal.",
902
+ 'all.ph': 'e.g. Commit your work when you finish; the workday ends at 6.',
903
+ 'all.noneOnline': 'No agent is at work',
904
+ 'visit.none': 'There is no other agent to visit',
905
+ 'visit.title': '🚶 Send {name} to visit',
906
+ 'visit.sub': "{name} walks over to the agent you pick and gets that agent's recent conversation as context.",
907
+ 'visit.who': 'Visit whom?',
908
+ 'visit.topic': 'Topic',
909
+ 'visit.topicPh': 'e.g. Learn the new API endpoints and plan how to use them in the frontend.',
910
+ 'visit.notify': 'Let the visited agent know too',
911
+ 'visit.sent': '{name} is on the way 🚶',
912
+
913
+ 'askcard.morale': 'morale {n}',
914
+ 'askcard.steps': '{n}/3 requests',
915
+ 'askcard.queue': ' · {n} more agents waiting',
916
+ 'askcard.phExternal': 'Write a task (the agent moves into the office)…',
917
+ 'askcard.ph': 'Write a task and press Enter…',
918
+ 'askcard.task': '📝 Give task',
919
+ 'askcard.oneOnOne': '🤝 Have a 1:1',
920
+ 'askcard.praise': '👏 Well done',
921
+ 'askcard.later': '⏰ Later',
922
+ 'task.movedAndStarted': '{name} moved into the office and started the task',
923
+ 'task.started': '{name} is on it 💪',
924
+ 'oo.title': '🤝 1:1 with {name}',
925
+ 'oo.ownTerminal': ' · in its own terminal',
926
+ 'oo.level': 'Level {n}',
927
+ 'oo.morale': 'Morale',
928
+ 'oo.done': '✅ {n} tasks completed',
929
+ 'oo.last': ' · last task: {task}',
930
+ 'oo.newTask': 'New task',
931
+ 'oo.taskPh': 'What should it work on?',
932
+ 'oo.taskPhExternal': ' (Giving a task moves the agent into the office.)',
933
+ 'oo.end': 'End meeting',
934
+ 'oo.promote': '⬆ Make {role}',
935
+ 'oo.promoteReady': 'Its level is enough for a promotion',
936
+ 'oo.promoteEarly': 'Its level is still low for a promotion, but you can promote anyway',
937
+ 'oo.give': '📝 Give task',
938
+ 'oo.thanks': '{name}: "Thanks, boss!" 😊',
939
+ 'oo.promoted': '🎉 {name} is now {role}! Moving to a new desk',
940
+ 'oo.needTask': 'Write a task',
941
+ 'notify.asking': '{name} is idle and asking for work 🙋',
942
+ 'notify.someone': 'An agent',
943
+
944
+ 'trophy.title': '🏆 Office leaderboard',
945
+ 'trophy.today': 'tasks done today',
946
+ 'trophy.total': 'tasks in total',
947
+ 'trophy.badges': 'badges',
948
+ 'trophy.board': 'Employee ranking',
949
+ 'trophy.promote': '⬆ promote',
950
+ 'trophy.nobody': 'Nobody yet.',
951
+ 'trophy.badgesTitle': 'Badges',
952
+ 'trophy.won': '{icon} Badge earned: {title} — {desc}',
953
+ 'ach.first_hire': ['First hire', 'Hire your first agent'],
954
+ 'ach.team_5': ['Growing team', 'Hire 5 agents'],
955
+ 'ach.megaphone': ['Megaphone', 'Make your first announcement'],
956
+ 'ach.tasks_10': ['Productive office', 'Get 10 tasks done'],
957
+ 'ach.tasks_100': ['Factory', 'Get 100 tasks done'],
958
+ 'ach.door_open': ['Open door', 'Have your first 1:1'],
959
+ 'ach.coach': ['Coach', 'Have 10 1:1s'],
960
+ 'ach.kudos': ['Generous boss', 'Say "well done" 10 times'],
961
+ 'ach.promoter': ['Career ladder', 'Promote an agent'],
962
+ 'ach.teamwork': ['Teamwork', 'Send an agent to visit a colleague'],
963
+ 'ach.rescue': ['Peacemaker', 'Have a 1:1 with a sulking agent'],
964
+ 'ach.star': ['Star employee', 'An agent reaches level 5'],
965
+ 'ach.happy': ['Happy office', 'At least 3 agents with morale 85+'],
966
+
967
+ 'arcade.button': '🚗',
968
+ 'arcade.title': 'Break game: the boss hits the road while everyone works',
969
+ 'arcade.locked': "The game unlocks while everyone in the office is busy on a task: no agent idle or waiting for approval. Idle Claude sessions in your own terminals don't count 🚗",
970
+ 'arcade.roadHint': '🏎 Everyone is working — click and drive!',
971
+ 'arcade.heading': '🚗 The boss hits the road',
972
+ 'arcade.help': '← → or A / D: change lanes · P: pause · Esc: quit',
973
+ 'arcade.score': 'Score',
974
+ 'arcade.best': 'Best',
975
+ 'arcade.speed': 'Speed',
976
+ 'arcade.paused': 'Paused — press P to continue',
977
+ 'arcade.crash': '💥 Crash!',
978
+ 'arcade.newBest': '🏆 New record!',
979
+ 'arcade.again': '🔁 Play again',
980
+ 'arcade.againLocked': 'Everyone has to be busy on a task again to play another round',
981
+ 'arcade.close': 'Back to the office',
982
+ 'arcade.go': 'Go!',
983
+ 'arcade.coffee': '+50 ☕',
984
+ 'ach.driver': ['Behind the wheel', 'Play the break game once'],
985
+ 'ach.speedster': ['Speed demon', 'Score over 1000 in the break game'],
986
+ 'toast.updating': 'Updating the office… ↻',
987
+ 'toast.morning': 'Good morning! Everyone is coming in ☀️',
988
+
989
+ 'srv.waiting': '{name} is waiting for your approval',
990
+ 'srv.waitingExternal': '{name} is waiting for your approval (in its own terminal)',
991
+ 'srv.finished': '{name} finished the task ✅',
992
+ 'srv.internHired': '{parent} sent an intern: {name} — {task}',
993
+ 'srv.internDone': 'Intern {name} finished and reported to {parent}',
994
+ 'srv.levelUp': '🎉 {name} leveled up: Lv {level}!',
995
+ 'srv.sulk': '{name} is sulking 😤 — have a 1:1 to cheer them up',
996
+ 'srv.restartManual': 'Server code changed; restart the office to apply it.',
997
+ 'srv.syntax': 'server.js does not compile, not restarting: {error}',
998
+ 'srv.updateReady': 'Update ready: the office reloads itself when {names} finish their work.',
999
+ 'srv.resumeFailed': 'The previous session could not be resumed; the next start opens a new session.',
1000
+ 'srv.blockedPrompt': 'The terminal may be waiting for an answer (e.g. the folder trust question). Open it and answer.',
1001
+ 'err.projectNotFound': 'Project not found',
1002
+ 'err.projectFolderMissing': 'Project folder not found: {path}',
1003
+ 'err.commandNotFound': 'Command not found on PATH: {command}',
1004
+ 'err.claudeConfigUnreadable': "{path} can't be read (probably left owned by root after `sudo claude`), so every agent asks to log in again. Quit any Claude running with sudo, then run: sudo chown -R $USER ~/.claude.json ~/.claude",
1005
+ 'err.offline': '{name} is not at work right now (offline)',
1006
+ 'err.folderOpen': 'Could not open the folder: {code}',
1007
+ 'err.folderNotFound': 'Folder not found',
1008
+ 'err.emptyAnnouncement': 'The announcement is empty',
1009
+ 'err.pickRoom': 'Choose a room (project) first',
1010
+ 'err.agentNotFound': 'Agent not found',
1011
+ 'err.transcriptUnreadable': 'This session’s transcript cannot be read (probably started with sudo, owned by another user). Start the session without sudo to continue it in the office.',
1012
+ 'err.externalReadOnly': 'This agent runs in its own terminal; use "Continue in the office" to manage it from here.',
1013
+ 'err.fireNoPermission': 'This session runs as another user (e.g. sudo), so the office cannot end it. Exit it in its terminal or run `sudo kill {pid}`.',
1014
+ 'err.emptyMessage': 'The message is empty',
1015
+ 'err.pickColleague': 'Choose a colleague to visit',
1016
+ 'err.buildingNotFound': 'Building not found',
1017
+ 'err.cannotDeleteHQ': 'The HQ building cannot be deleted',
1018
+ 'dialog.pickFolder': 'Choose the project folder to add as a room',
1019
+ },
1020
+ };
1021
+
1022
+ const LANGS = Object.keys(dict);
1023
+
1024
+ function format(str, params) {
1025
+ if (typeof str !== 'string' || !params) return str;
1026
+ return str.replace(/\{(\w+)\}/g, (m, k) => (params[k] !== undefined ? params[k] : m));
1027
+ }
1028
+
1029
+ function translate(lang, key, params) {
1030
+ const table = dict[lang] || dict.en;
1031
+ const value = key in table ? table[key] : key in dict.en ? dict.en[key] : key;
1032
+ return format(value, params);
1033
+ }
1034
+
1035
+ const api = { dict, LANGS, translate, format };
1036
+ if (typeof module !== 'undefined' && module.exports) module.exports = api;
1037
+ else root.I18N = api;
1038
+ })(typeof window !== 'undefined' ? window : globalThis);