🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Settings as a ledger: Account, Organization, Teams and Billing (#1276)
Goldflag40b7e5ceec75
diff --git a/client/messages/cs.json b/client/messages/cs.jsonindex 407d1efa1..010c38401 100644--- a/client/messages/cs.json+++ b/client/messages/cs.json@@ -35,7 +35,6 @@"/0tjRq": "Přesun webu se nezdařil","/20q2D": "Tvé heslo bylo úspěšně obnoveno.","/6bl6s": "Kliknutí na tlačítko",- "/8v8/t": "Smazat organizaci","/AMnMU": "Sdíleno se všemi weby v organizaci","/CkSRc": "Nebo pokračovat e-mailem","/EBXiO": "Tento člen má přístup ke všem webům v organizaci.",@@ -168,7 +167,6 @@"4+6INx": "není regex","4/DApn": "Posledních 6 hodin","41XJFz": "Žádné vlastnosti nenalezeny",- "42Qo3+": "API klíče této organizace","450Fty": "Žádný","45gABM": "Opravdu chceš smazat \"{name}\"? Tuto akci nelze vrátit zpět.","45hFQt": "Nevymahatelné",@@ -187,7 +185,6 @@"4Y+tpi": "Podívej se na ukázku této funkce","4YGHzj": "Žádné experimenty neodpovídají „{search}“","4ZtLoe": "Cesta",- "4cfxQk": "AppSumo plán úrovně {tier}","4eYvJG": "Widget živých návštěvníků","4gDkIw": "Experiment aktualizován","4gXpPi": "Pozvánka odeslána na {email}",@@ -216,7 +213,6 @@"5xQQz7": "Stejné dny v týdnu","5y2qWO": "Připojuji...","5yUsUe": "Přehrávání",- "5yu28t": "Máš bezplatný plán s až {limit} zobrazeními stránek měsíčně.","5zGub0": "Sledování chyb","62nsdy": "Zkusit znovu","65uDP/": "Provoz od známých botů a crawlerů nebude sledován",@@ -316,7 +312,6 @@"93oVTh": "Zkopírováno do schránky","94Fg25": "Vybrat vše","95stPq": "Dokončeno",- "96ejG8": "Blížíš se k limitu","97DGta": "Vytvořit tým","97KPX7": "Žádné štítky nenalezeny.","99HM2b": "Cíl na základě události",@@ -369,7 +364,6 @@"AdNsDZ": "Registrace vypnuta","AeDqHA": "Okamžitě ztratí přístup k webům a datům této organizace.","AkCxS/": "Důvod",- "AkVL9j": "Název API klíče","Asi2Jg": "Skrýt pokročilé možnosti","Aujn2T": "Počet","AyGauy": "Přihlášení",@@ -385,9 +379,7 @@"BReFYW": "Změny vstupu","BUxbet": "Vlastnost s URL prefixem","BVVhyH": "Posledních 14 dní",- "BW3cmW": "Osobní API klíče","BWpuKl": "Aktualizovat",- "BX8PCh": "Spravujte nastavení a členy vaší organizace","BYZnfs": "Žádné zaznamenané události.","BdV5Om": "Weby","BffFao": "Sledování chyb zachytává JavaScript chyby a výjimky z tvé aplikace.",@@ -501,7 +493,6 @@"FIKvUB": "Přidat web","FIs3zs": "Segment „{name}“ byl uložen","FJ6r9E": "Pokračovat přes Google",- "FLgSbA": "Vytváříte produkční integraci?","FQMQOJ": "Při načítání uživatelů nastal problém. Zkus to prosím později.","FQTq3a": "Přidej {userEmail} do organizace s konkrétní rolí.","FT1lfL": "Začněte shromažďovat analytická data během několika minut",@@ -531,7 +522,6 @@"GBgVhg": "Použít napsané emoji","GDgEmC": "Žádné události nenalezeny","GH6rlO": "Chcete-li spravovat předplatné, musíte vybrat organizaci.",- "GHbyp+": "Vyžadováno předplatné","GIL+DR": "Sledování interakcí s formuláři zapnuto","GIlxUl": "Přizpůsobte widget vzhledu svého webu.","GM/hd6": "Pozvánka",@@ -559,7 +549,6 @@"H/r5m6": "Přesunout dolů","H1TwHY": "Nepodařilo se načíst uživatele","H359cw": "Zadejte rozsah, který končí po svém začátku a nejpozději dnes",- "H4uuIK": "Trvale smaž svůj účet a všechna přidružená data","HAlOn1": "Jméno","HB6OFk": "Nepodařilo se vytvořit API klíč","HFp8uY": "Výkon podle prohlížeče",@@ -580,7 +569,6 @@"HtTwhf": "Identifikátor aplikace byl úspěšně aktualizován","Humfno": "Koncové datum","Hv8xC3": "Načítání výjimek ASN...",- "HyiDcy": "Pozvánky","I3rqT8": "Potvrď své nové heslo","I4Etgx": "Vrátit JSON payload","I5k4g/": "Použít existující",@@ -606,12 +594,10 @@"IbhgkP": "Blokování botů zapnuto","Il1aAo": "Open source webová analytika od Rybbit","IoiMPE": "15 min",- "IpNrN4": "Překročil jsi měsíční limit událostí. Pro pokračování sběru analytiky prosím upgraduj na plán Pro.","ItR6u3": "Vyloučené země ({count})","IuFETn": "Doba trvání","IuPATc": "Zobrazují se přiřazení návštěvníci. Zavolejte rybbit.flag(\"{flagKey}\") v místě, kde se varianta vykresluje, abyste změřili návštěvníky, kteří jí byli skutečně vystaveni.","IvPFG7": "Nepodařilo se aktualizovat systémovou roli",- "Ix3wt3": "Zjistit více o týmech","IxrHg4": "Filtruj {count} položek...","J+At6e": "Naposledy odesláno","J+DDdr": "Upravit nastavení webu",@@ -673,7 +659,6 @@"KYAqNj": "Použijte * pro shodu v rámci segmentu. Použijte ** pro shodu s čímkoli.","KaylUJ": "Nové heslo a potvrzení hesla se neshodují","KeO51o": "Kanál",- "KfIZ6o": "Aktualizuj své jméno zobrazované napříč platformou","KiXNvz": "Spustit","KjXPXZ": "{count} relací","KkOM4O": "Povoleno maximálně 100 výjimek cest",@@ -716,7 +701,6 @@"M/zZVx": "Přidat filtr","M2oRL5": "Vyberte datum a čas","M6W/5v": "Zkopírováno {count} e-mailů vlastníků",- "MAOWHK": "Vaše osobní API klíče","MAmm3B": "Vyloučit provoz z konkrétních hostname, například staging nebo preview domén. Použijte * jako zástupný znak (např. localhost nebo *.vercel.app). Shoda nerozlišuje velikost písmen.","MD/3gh": "Kopírovat ID uživatele","MGHdwe": "Žádní uživatelé online za posledních 5 minut",@@ -760,7 +744,6 @@"NNQzoi": "Hledání...","NOTA3a": "Silné","NPL5hM": "Vzory přeskočení",- "NQgbYA": "Nastavení účtu","NRXNLC": "Kliknutí na tlačítka","NUXhb8": "Žádná data o předplatném k dispozici","NUknhD": "Přátelé",@@ -776,7 +759,6 @@"O/IeYM": "Zjisti, jak identifikovat uživatele","O/w//A": "{count} událostí","O6zCyZ": "Klíč příznaku",- "O8Sc7E": "Přístup k webu","O8lxEI": "Podívej se na dokumentaci Web Vitals od Google pro prahové hodnoty.","OFEa0m": "Žádné vlastnosti nenastaveny","OGk6DC": "Tento rok",@@ -794,10 +776,8 @@"OfmST8": "Přijmout pozvánku","Oh4usQ": "Vyber metriku","Oj6AtK": "Verze OS",- "OlRI+i": "API klíče organizace","Omj2fC": "Zakazuje se...","OtO9EF": "Přidej štítky pro organizaci a filtrování tvých webů.",- "OtSSs+": "{count} webů","Otefae": "Dimenze","OvzONl": "Vypnuto","OxNUFK": "Váš dashboard zůstane otevřený 24 hodin. Nárokujte si ho pomocí bezplatné 7denní zkušební verze, abyste si ho ponechali.",@@ -827,7 +807,6 @@"PoyENW": "Nepodařilo se načíst uživatele. Zkus to prosím později.","PpIaGj": "Je null","Ppx673": "Reporty",- "PqV1fm": "Vyber preferovaný jazyk","PqvkpE": "Vyberte cíl","Ps71bZ": "Vytvořte nový tým pro seskupení webů a řízení přístupu členů.","PwlAG9": "Zobrazit na veřejném dashboardu a ve sdílených odkazech",@@ -866,7 +845,6 @@"Qzul6+": "ID webu","R/6nsx": "Předplatné","R/eOkj": "Pro",- "R2OqnW": "Smazat účet","RC2XA4": "Odstraňování...","RE0v43": "Vlastní události","RL7HbL": "Požádej vlastníka organizace o upgrade na Pro pro odemknutí {message}",@@ -898,7 +876,6 @@"S4u7Gc": "Získej svůj API klíč","S4zxrU": "Počítat relace, ve kterých vaše aplikace vyvolá pojmenovanou událost.","S5IFjk": "Vytvořte tým pro seskupení webů a správu přístupu členů.",- "S7U3Nx": "Blížíš se k měsíčnímu limitu událostí. Zvaž upgrade na placený plán pro vyšší limity.","SB3+JE": "Žádná data trychtýře k dispozici","SBUMrd": "Filtrovat feature flagy","SBoJg8": "Smazat tento API klíč?",@@ -915,7 +892,6 @@"Sjo1P4": "Vlastní","SnIGkx": "Tento klíč uvidíte pouze tentokrát. Zkopírujte si jej hned a uložte na bezpečné místo.","SoySgJ": "Odkazující stránka:",- "StUScz": "{count} členů","SubaMm": "Segment se nepodařilo uložit","SyINSq": "Spuštění dotazu se nezdařilo","T+D/1o": "Posledních {minutes} minut",@@ -961,7 +937,6 @@"UAVBcs": "{sessions} relací · {conversions} konv.","UBQJK/": "Cíl bez názvu","UE55jO": "Nepodařilo se smazat účet: {error}",- "UEl0Sh": "Zkušební verze vypršela","UF6kPm": "Přímý","UG2tSi": "Posledn{count, plural, one {í # minuta} few {í # minuty} many {ích # minut} other {ích # minut}}","UG5qoS": "Žádná data",@@ -981,7 +956,6 @@"UgH9Vn": "Zkopírovaný text","UgYEE0": "Navigace den","UjlqkD": "Silné heslo",- "UlLea3": "Osobní klíč jedná jako vy, s přesně vaším přístupem – pro osobní skripty a připojování MCP klientů.","Um1u7W": "Trychtýř úspěšně aktualizován","UmEsZF": "Aktivity","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "volitelné","V52jNn": "Povoleno","V9fGSG": "Číst identitu vašeho účtu a informace z profilu.",- "VAEdEJ": "– funguje i po změnách členů týmu (pouze pro administrátory a vlastníky).","VB5EJL": "Stejné období loni","VF3DcR": "Segmenty","VJWJyq": "Typ zařízení",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "Co chcete dotazovat?","VqI0Nz": "Poloha a zařízení",- "VtLIgh": "Klíč organizace je vlastní přihlašovací údaj organizace: má přístup ke všem webům této organizace a funguje i po odchodu členů. Použijte jej pro produkční integrace.","Vwukkb": "Přidat JSON payload","VyvTDF": "Obrazovka:","VzzYJk": "Vytvořit",@@ -1104,7 +1076,6 @@"ZXp0z1": "Funkce","ZXuaOL": "Smazání uživatele se nezdařilo","ZbWc+A": "IP adresa",- "ZcBC7s": "Spravujte své předplatné a fakturaci.","Zh+5A6": "Zapnuto","ZjhoiP": "Vyberte plán","Zqi/ST": "Zakázat vložení dashboardu?",@@ -1236,7 +1207,6 @@"eL0kqa": "Klíč vlastnosti","eOj4Bs": "Název události","eQnbde": "Odpojit Google Search Console?",- "eYX7hS": "Aktualizuj svou emailovou adresu pro oznámení účtu","ebEqgQ": "Máte aktivní předplatné. Před smazáním organizace prosím zrušte předplatné.","ekXood": "Neomezený","ekfOaV": "Zpět",@@ -1248,13 +1218,11 @@"f3ocee": "Vyloučení provozu z konkrétních zemí. Události z těchto zemí nebudou sledovány ve tvé analytice.","f3v0b6": "Sběr Web Vitals je vypnutý","f5efCD": "Vyberte výsledek",- "f7uwif": "Organizujte weby do týmů a kontrolujte, kteří členové k nim mají přístup.","fB09El": "Cesty začínající /blog/","fDjNLX": "Chystáš se importovat velký soubor ({size}). Zpracování může trvat několik minut. Opravdu chceš pokračovat?","fGblXC": "Nebo postupujte podle průvodce nastavením pro svou platformu","fH8TQL": "Hodnota vlastnosti","fItAD9": "Kohorta",- "fKrHaE": "Bezplatný plán","fNCCY7": "Basic","fOVatJ": "Vložený widget zakázán","fQsGgo": "Identifikovat uživatele",@@ -1282,7 +1250,6 @@"g34TTZ": "Doba čekání před zaznamenáním zobrazení stránky po změně URL","g4dAtI": "Přiřaďte tomuto návštěvníkovi ID uživatele. Jeho dosavadní aktivita z tohoto zařízení k němu bude propojena.","g8H9Vw": "Nepodařilo se odebrat člena",- "gHnd+A": "Omezte tento klíč na konkrétní zdroje. Ponechte vypnuté pro klíč s plným přístupem, který zvládne vše, co i vy.","gI1OXG": "Smazat web","gK3VmA": "Kliknuto na tlačítko","gMhqKV": "Naklonovat trychtýř",@@ -1339,7 +1306,6 @@"hlmkcL": "Stav","hmloF3": "Informace o zařízení","hmnIY5": "Karta",- "hncBRq": "Pozvat člena","hnp8iI": "Vygeneruj soukromý odkaz pro sdílení tohoto přehledu v režimu pouze pro čtení s tvým týmem.","hq3XcK": "Posledn{count, plural, one {í # hodina} few {í # hodiny} many {ích # hodin} other {ích # hodin}}","hw9VFi": "Další emoji",@@ -1347,7 +1313,6 @@"hyfdry": "Zobrazení stránky","i/DU33": "Povolte, pokud sledovací požadavky přicházejí do Rybbitu přes vaši vlastní proxy nebo CDN (Cloudflare Worker, CloudFront, nginx). IP adresy návštěvníků se pak budou číst z předávaných hlaviček místo z připojující se IP adresy.","i1G+Ml": "Kontaktuj prosím vlastníka organizace pro upgrade.",- "i7B/4+": "Trvale smazat tuto organizaci a veškerá její data","i9WP0T": "Verze prohlížeče","iBImEo": "Hypotéza","iBRQen": "Předplatit",@@ -1383,7 +1348,6 @@"j5kA5A": "Při načítání chyb nastal problém. Zkus to prosím později.","j6Cfhx": "Odebrat segment","j7BiRg": "Žádná událost nevybrána.",- "j7DIJR": "Aktualizujte název organizace","j8JkB/": "Hacker News","jBznVV": "Název cíle (volitelný)","jCwXG9": "Přehrávání relací zapnuto",@@ -1401,7 +1365,6 @@"jWq9Z8": "Vlastní rozsah","jXmB1T": "Přehrávání se zde zobrazí po zapnutí přehrávání relací.","jZu+25": "Definujte otázku",- "ja2Zok": "Upgradovat na Pro","jaPj24": "Vyber prosím vlastnost","jfXqLp": "Žádné vlastnosti nenalezeny","jhVKvF": "Nerovná se",@@ -1435,11 +1398,9 @@"kNp7lL": "Vytvořeno {time}","kR140n": "Žádné odpovídající časové pásmo","kT8vGm": "UTM médium",- "kTH3Q2": "Překročil jsi měsíční limit událostí. Pro pomoc prosím kontaktuj podporu.","kWMpjI": "Dostupné pro","kYpf9a": "Hledat nebo přidat hodnotu","kZki3s": "Získej 50% opakovanou provizi doporučením Rybbit.",- "kdqPM0": "Máš vlastní plán s až {limit} zobrazeními stránek měsíčně.","kehGIT": "Sledování URL parametrů zapnuto","kgLyso": "Celkový čas","kil8JO": "Upravit člena",@@ -1500,7 +1461,6 @@"mgYBYo": "Posledních 90 dní","mhmZ+P": "Přehrávání relací","mkp+qF": "Další parametry",- "mlMQEA": "Odesílat týdenní emailové reporty","n+GeZI": "s událostmi za posledních 30 dní","n+tV1v": "Vyloučit provoz na konkrétní stránky. Použijte * jako zástupný znak (např. /admin/* nebo /preview). Shoda nerozlišuje velikost písmen.","n02jRA": "Zvýrazňující barva",@@ -1521,7 +1481,6 @@"na5psw": "Není null","naIILe": "Smazat import","nhaiN+": "Přidej svůj první web a začni sledovat analytiku",- "ni0MP6": "Blížíš se k měsíčnímu limitu událostí. Pokud potřebuješ více kapacity, kontaktuj prosím podporu.","nnuMWB": "Cesty obsahující /blog/ následované čímkoli","noZdV2": "Mažu...","npZO3g": "Kliknuto pravým tlačítkem",@@ -1562,7 +1521,6 @@"orjNTN": "Info o zařízení","orxRin": "Vyberte přepis plánu","osCh7/": "Nárokovat web",- "ou8jxS": "Žádné čekající pozvánky","ovJ26C": "Médium","ox5r8z": "Účet úspěšně smazán","oxcZjO": "Autorizaci se nepodařilo dokončit.",@@ -1574,7 +1532,6 @@"pEc/5k": "Kliknutí %","pGEkVl": "Sledování kliknutí na tlačítka zapnuto","pH6sDe": "Přidejte tento kód do své aplikace a poté, až budete připraveni, spusťte experiment ze seznamu.",- "pIN/qH": "Máš AppSumo doživotní plán s až {limit} událostmi měsíčně.","pJ+x3b": "Informace o zdroji","pTHVrx": "Maximálně 100 IP výjimek povoleno","pW35eH": "V této organizaci nejsou žádní členové",@@ -1586,7 +1543,6 @@"poMLbD": "Filtrovat experimenty","poXmsM": "Zadej svou emailovou adresu a my ti pošleme ověřovací kód pro obnovení hesla.","pq9Eeh": "Vstupní stránka:",- "pqJqst": "Plán {plan}","ptwP96": "Pozvání...","puODkp": "Město:","puhcpn": "Trychtýře",@@ -1639,7 +1595,6 @@"rWPtv+": "Parametr dotazu","rYzinM": "Načtěte příznak v kódu před vykreslením testované varianty.","rbrahO": "Zavřít",- "rd5F5r": "Vlastní plán","rdE5Ca": "Rollout","rggp6J": "Posledních 60 dní","rk3ZU9": "Dobré skóre CLS je 0,1 nebo méně.",@@ -1666,7 +1621,6 @@"sd2ieZ": "Týden","siqsij": "Předplatné může spravovat pouze vlastník organizace.","snh6R6": "Popisek (volitelný)",- "soeWeh": "Nastavení organizace","sy+pv5": "E-mail","szFhEu": "Zvířata a příroda","t2Iac8": "Minimální délka",@@ -1744,7 +1698,6 @@"vCL+NV": "Prosím vyberte alespoň jeden web nebo zakažte omezení webů","vCqX8Z": "Vložený widget povolen","vDpLV2": "Změněno {type}input",- "vFH04o": "Změň heslo svého účtu","vFf5xV": "Vstupní stránky","vGMvPS": "Přidejte primární cíl pro měření konverzí u každé varianty.","vHXIqS": "Název nebo ID formuláře (volitelné)",@@ -1798,7 +1751,6 @@"wmdo1a": "Podmínky se vyhodnocují postupně. Vyhrává první shoda.","wmrKEg": "Uložit trychtýř","wmyg6t": "Zdroj",- "wnSZSp": "Vytvořit API klíč","wninYK": "Žádná data o relaci","woXwSB": "Export selhal. Zkus to prosím znovu.","wqoG/5": "Definováno jako",@@ -1807,7 +1759,6 @@"wzKC2G": "Primární cíl pro výpočet konverzí u každé varianty přidejte později.","x0mEuT": "Registrace nových účtů je momentálně vypnuta. Pokud máš účet, můžeš se","x61Ey6": "administrátor",- "x6GhQj": "Limit událostí překročen","x9j/v6": "Sledování IP adresy zapnuto","xA1LY9": "Před správou týmů musíte vytvořit organizaci nebo být do ní přidáni.","xIB8Kg": "Nepodařilo se aktualizovat název organizace",@@ -1824,18 +1775,15 @@"xmBzsn": "Exportovat jako PDF report","xmcVZ0": "Hledat","xnky+a": "Pouze identifikovaní",- "xrcdXO": "Spravuj nastavení svého osobního účtu","xrk6zg": "Aktualizováno","xvsXfo": "s vlastními vlastnostmi.","y1WhQk": "Tvé nové heslo","y1Z3or": "Jazyk","y3qXTf": "Kopie","y467+0": "Uložení cíle se nezdařilo",- "y5jEwG": "Zapni nebo vypni automatické emailové reporty pro svůj účet.","y9vcUt": "Pozval tě {inviterEmail}","yAAjri": "Zadej OTP kód","yAaNQA": "Správci",- "yBFhF6": "Tvá 14denní zkušební verze skončila. Pro pokračování sledování návštěv se musíš přihlásit k odběru.","yBqtD8": "{count} relací (24h)","yGsZm0": "Formuláře","yGxRRq": "Zvýšení soukromí pomocí denně rotujících solí pro ID uživatelů",@@ -1857,7 +1805,6 @@"z0076i": "Cíle na základě cesty fungují, když je konverzí URL adresa, například /thank-you. Cíle na základě události fungují pro explicitní akce.","z2PIbo": "Vytvořit přiřazení","z2xGiR": "Poznámka byla smazána",- "z4wbga": "Použijte místo toho API klíč organizace","zD9VOD": "Kliknutím upravíte vlastnosti","zGvUQx": "Není","zINlao": "Vlastník",diff --git a/client/messages/de.json b/client/messages/de.jsonindex bcc541a77..9a26c78da 100644--- a/client/messages/de.json+++ b/client/messages/de.json@@ -35,7 +35,6 @@"/0tjRq": "Website konnte nicht verschoben werden","/20q2D": "Ihr Passwort wurde erfolgreich zurückgesetzt.","/6bl6s": "Button-Klick",- "/8v8/t": "Organisation löschen","/AMnMU": "Für alle Websites der Organisation freigegeben","/CkSRc": "Oder mit E-Mail fortfahren","/EBXiO": "Dieses Mitglied hat Zugriff auf alle Websites der Organisation.",@@ -168,7 +167,6 @@"4+6INx": "kein Regex","4/DApn": "Letzte 6 Stunden","41XJFz": "Keine Merkmale gefunden",- "42Qo3+": "Die API-Schlüssel dieser Organisation","450Fty": "Keine","45gABM": "Sind Sie sicher, dass Sie \"{name}\" löschen möchten? Diese Aktion kann nicht rückgängig gemacht werden.","45hFQt": "Uneinbringlich",@@ -187,7 +185,6 @@"4Y+tpi": "Demo dieser Funktion ansehen","4YGHzj": "Keine Experimente entsprechen \"{search}\"","4ZtLoe": "Pfadname",- "4cfxQk": "AppSumo Plan Stufe {tier}","4eYvJG": "Live-Besucher-Widget","4gDkIw": "Experiment aktualisiert","4gXpPi": "Einladung an {email} gesendet",@@ -216,7 +213,6 @@"5xQQz7": "Gleiche Wochentage","5y2qWO": "Wird verbunden...","5yUsUe": "Wiedergabe",- "5yu28t": "Sie sind im kostenlosen Plan mit bis zu {limit} Seitenaufrufen pro Monat.","5zGub0": "Fehlerverfolgung","62nsdy": "Erneut versuchen","65uDP/": "Traffic von bekannten Bots und Crawlern wird nicht erfasst",@@ -316,7 +312,6 @@"93oVTh": "In Zwischenablage kopiert","94Fg25": "Alle auswählen","95stPq": "Abgeschlossen",- "96ejG8": "Limit fast erreicht","97DGta": "Team erstellen","97KPX7": "Keine Tags gefunden.","99HM2b": "Event-Ziel",@@ -369,7 +364,6 @@"AdNsDZ": "Registrierung deaktiviert","AeDqHA": "Sie verlieren sofort den Zugriff auf die Websites und Daten dieser Organisation.","AkCxS/": "Grund",- "AkVL9j": "API-Schlüsselname","Asi2Jg": "Erweiterte Optionen ausblenden","Aujn2T": "Anzahl","AyGauy": "Anmelden",@@ -385,9 +379,7 @@"BReFYW": "Eingabeänderungen","BUxbet": "URL-Präfix-Property","BVVhyH": "Letzte 14 Tage",- "BW3cmW": "Persönliche API-Schlüssel","BWpuKl": "Aktualisieren",- "BX8PCh": "Verwalten Sie Ihre Organisationseinstellungen und Mitglieder","BYZnfs": "Keine Ereignisse aufgezeichnet.","BdV5Om": "Websites","BffFao": "Die Fehlerverfolgung erfasst JavaScript-Fehler und Ausnahmen aus Ihrer Anwendung.",@@ -501,7 +493,6 @@"FIKvUB": "Website hinzufügen","FIs3zs": "Segment „{name}“ gespeichert","FJ6r9E": "Mit Google fortfahren",- "FLgSbA": "Baust du eine Produktionsintegration?","FQMQOJ": "Beim Abrufen der Benutzer ist ein Problem aufgetreten. Bitte versuchen Sie es später erneut.","FQTq3a": "{userEmail} mit einer bestimmten Rolle zu einer Organisation hinzufügen.","FT1lfL": "Beginnen Sie in Minuten mit der Analyse",@@ -531,7 +522,6 @@"GBgVhg": "Eingegebenes Emoji verwenden","GDgEmC": "Keine Events gefunden","GH6rlO": "Sie müssen eine Organisation auswählen, um Ihr Abonnement zu verwalten.",- "GHbyp+": "Abonnement erforderlich","GIL+DR": "Formularinteraktions-Tracking aktiviert","GIlxUl": "Passen Sie das Widget an das Thema Ihrer Website an.","GM/hd6": "Einladung",@@ -559,7 +549,6 @@"H/r5m6": "Nach unten verschieben","H1TwHY": "Benutzer konnten nicht geladen werden","H359cw": "Geben Sie einen Zeitraum ein, der nach seinem Beginn endet und heute oder früher liegt",- "H4uuIK": "Konto und alle zugehörigen Daten dauerhaft löschen","HAlOn1": "Name","HB6OFk": "API-Schlüssel konnte nicht erstellt werden","HFp8uY": "Leistung nach Browser",@@ -580,7 +569,6 @@"HtTwhf": "App-Kennung erfolgreich aktualisiert","Humfno": "Enddatum","Hv8xC3": "ASN-Ausschlüsse werden geladen...",- "HyiDcy": "Einladungen","I3rqT8": "Bestätigen Sie Ihr neues Passwort","I4Etgx": "JSON-Payload zurückgeben","I5k4g/": "Vorhandenes verwenden",@@ -606,12 +594,10 @@"IbhgkP": "Bot-Blockierung aktiviert","Il1aAo": "Open-Source-Webanalyse powered by Rybbit","IoiMPE": "15 Min",- "IpNrN4": "Sie haben Ihr monatliches Event-Limit überschritten. Bitte upgraden Sie auf einen Pro-Plan, um weiterhin Analysen zu sammeln.","ItR6u3": "Ausgeschlossene Länder ({count})","IuFETn": "Dauer","IuPATc": "Zeigt zugewiesene Besucher. Rufen Sie rybbit.flag(\"{flagKey}\") auf, wo die Variante gerendert wird, um tatsächlich exponierte Besucher zu messen.","IvPFG7": "Systemrolle konnte nicht aktualisiert werden",- "Ix3wt3": "Mehr über Teams erfahren","IxrHg4": "{count} Einträge filtern...","J+At6e": "Zuletzt übermittelt","J+DDdr": "Website-Einstellungen bearbeiten",@@ -673,7 +659,6 @@"KYAqNj": "Verwenden Sie * für eine Übereinstimmung innerhalb eines Segments und ** für eine Übereinstimmung mit allem.","KaylUJ": "Neues Passwort und Bestätigung stimmen nicht überein","KeO51o": "Kanal",- "KfIZ6o": "Aktualisieren Sie Ihren auf der Plattform angezeigten Namen","KiXNvz": "Ausführen","KjXPXZ": "{count} Sitzungen","KkOM4O": "Maximal 100 Pfadausschlüsse erlaubt",@@ -716,7 +701,6 @@"M/zZVx": "Filter hinzufügen","M2oRL5": "Datum und Uhrzeit auswählen","M6W/5v": "{count} Inhaber-E-Mails kopiert",- "MAOWHK": "Deine persönlichen API-Schlüssel","MAmm3B": "Traffic von bestimmten Hostnamen wie Staging- oder Vorschau-Domains ausschließen. Verwenden Sie * als Platzhalter (z. B. localhost oder *.vercel.app). Groß-/Kleinschreibung wird nicht berücksichtigt.","MD/3gh": "Benutzer-ID kopieren","MGHdwe": "Keine Benutzer in den letzten 5 Minuten online",@@ -760,7 +744,6 @@"NNQzoi": "Suche läuft...","NOTA3a": "Stark","NPL5hM": "Ausschlussmuster",- "NQgbYA": "Kontoeinstellungen","NRXNLC": "Button-Klicks","NUXhb8": "Keine Abonnementdaten verfügbar","NUknhD": "Freunde",@@ -776,7 +759,6 @@"O/IeYM": "Erfahren Sie, wie Sie Benutzer identifizieren","O/w//A": "{count} Events","O6zCyZ": "Flag-Schlüssel",- "O8Sc7E": "Website-Zugriff","O8lxEI": "Prüfen Sie die Web Vitals-Dokumentation von Google für Schwellenwerte.","OFEa0m": "Keine Merkmale gesetzt","OGk6DC": "Dieses Jahr",@@ -794,10 +776,8 @@"OfmST8": "Einladung annehmen","Oh4usQ": "Metrik auswählen","Oj6AtK": "Betriebssystem-Version",- "OlRI+i": "Organisations-API-Schlüssel","Omj2fC": "Wird deaktiviert...","OtO9EF": "Fügen Sie Tags hinzu, um Ihre Websites zu organisieren und zu filtern.",- "OtSSs+": "{count} Websites","Otefae": "Dimension","OvzONl": "Aus","OxNUFK": "Ihr Dashboard bleibt 24 Stunden lang geöffnet. Beanspruchen Sie es mit einer kostenlosen 7-tägigen Testversion, um es zu behalten.",@@ -827,7 +807,6 @@"PoyENW": "Benutzer konnten nicht geladen werden. Bitte versuchen Sie es später erneut.","PpIaGj": "Ist null","Ppx673": "Berichte",- "PqV1fm": "Bevorzugte Sprache auswählen","PqvkpE": "Ziel auswählen","Ps71bZ": "Erstellen Sie ein neues Team, um Websites zu gruppieren und den Mitgliederzugriff zu steuern.","PwlAG9": "Auf öffentlichem Dashboard und geteilten Links anzeigen",@@ -866,7 +845,6 @@"Qzul6+": "Website-ID","R/6nsx": "Abonnement","R/eOkj": "Pro",- "R2OqnW": "Konto löschen","RC2XA4": "Wird entfernt...","RE0v43": "Benutzerdefinierte Events","RL7HbL": "Bitten Sie Ihren Organisationsinhaber, auf Pro upzugraden, um {message} freizuschalten",@@ -898,7 +876,6 @@"S4u7Gc": "Holen Sie sich Ihren API-Schlüssel","S4zxrU": "Sitzungen zählen, bei denen Ihre App ein benanntes Event auslöst.","S5IFjk": "Erstellen Sie ein Team, um Websites zu gruppieren und den Mitgliederzugriff zu verwalten.",- "S7U3Nx": "Sie nähern sich Ihrem monatlichen Event-Limit. Erwägen Sie ein Upgrade auf einen kostenpflichtigen Plan für höhere Limits.","SB3+JE": "Keine Trichterdaten verfügbar","SBUMrd": "Feature-Flags filtern","SBoJg8": "Diesen API-Schlüssel löschen?",@@ -915,7 +892,6 @@"Sjo1P4": "Individuell","SnIGkx": "Dies ist das einzige Mal, dass Sie diesen Schlüssel sehen. Kopieren Sie ihn jetzt und bewahren Sie ihn sicher auf.","SoySgJ": "Referrer:",- "StUScz": "{count} Mitglieder","SubaMm": "Segment konnte nicht gespeichert werden","SyINSq": "Abfrage konnte nicht ausgeführt werden","T+D/1o": "Letzte {minutes} Minuten",@@ -961,7 +937,6 @@"UAVBcs": "{sessions} Sitzungen · {conversions} Konv.","UBQJK/": "Unbenanntes Ziel","UE55jO": "Konto konnte nicht gelöscht werden: {error}",- "UEl0Sh": "Testphase abgelaufen","UF6kPm": "Direkt","UG2tSi": "Letzte {count, plural, one {# Minute} other {# Minuten}}","UG5qoS": "Keine Daten",@@ -981,7 +956,6 @@"UgH9Vn": "Kopierter Text","UgYEE0": "Navigation Tag","UjlqkD": "Starkes Passwort",- "UlLea3": "Ein persönlicher Schlüssel fungiert als du selbst, mit genau deinem Zugriff – für persönliche Skripte und die Verbindung von MCP-Clients.","Um1u7W": "Trichter erfolgreich aktualisiert","UmEsZF": "Aktivitäten","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "optional","V52jNn": "Aktiviert","V9fGSG": "Deine Kontoidentität und Profilinformationen lesen.",- "VAEdEJ": "– er funktioniert weiter, wenn sich Teammitglieder ändern (nur Admins und Inhaber).","VB5EJL": "Gleicher Zeitraum im Vorjahr","VF3DcR": "Segmente","VJWJyq": "Gerätetyp",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "Was möchten Sie abfragen?","VqI0Nz": "Standort & Gerät",- "VtLIgh": "Ein Organisationsschlüssel ist die eigene Anmeldeinformation der Organisation: Er kann auf alle Websites dieser Organisation zugreifen und funktioniert weiter, wenn Mitglieder das Team verlassen. Verwende ihn für Produktionsintegrationen.","Vwukkb": "JSON-Payload hinzufügen","VyvTDF": "Bildschirm:","VzzYJk": "Erstellen",@@ -1104,7 +1076,6 @@"ZXp0z1": "Funktionen","ZXuaOL": "Benutzer konnte nicht gelöscht werden","ZbWc+A": "IP-Adresse",- "ZcBC7s": "Verwalten Sie Ihr Abonnement und Ihre Rechnungen.","Zh+5A6": "Ein","ZjhoiP": "Plan auswählen","Zqi/ST": "Dashboard-Einbettung deaktivieren?",@@ -1236,7 +1207,6 @@"eL0kqa": "Merkmalsschlüssel","eOj4Bs": "Event-Name","eQnbde": "Google Search Console trennen?",- "eYX7hS": "Aktualisieren Sie Ihre E-Mail-Adresse für Kontobenachrichtigungen","ebEqgQ": "Sie haben ein aktives Abonnement. Bitte kündigen Sie Ihr Abonnement, bevor Sie die Organisation löschen.","ekXood": "Unbegrenzt","ekfOaV": "Zurück",@@ -1248,13 +1218,11 @@"f3ocee": "Schließen Sie Traffic aus bestimmten Ländern aus. Events aus diesen Ländern werden nicht in Ihren Analysen erfasst.","f3v0b6": "Web Vitals-Erfassung ist deaktiviert","f5efCD": "Das Ergebnis wählen",- "f7uwif": "Organisieren Sie Websites in Teams, um zu steuern, welche Mitglieder darauf zugreifen können.","fB09El": "Pfade, die mit /blog/ beginnen","fDjNLX": "Sie sind dabei, eine große Datei ({size}) zu importieren. Die Verarbeitung kann einige Minuten dauern. Möchten Sie fortfahren?","fGblXC": "Oder folge einer Einrichtungsanleitung für deine Plattform","fH8TQL": "Merkmalswert","fItAD9": "Kohorte",- "fKrHaE": "Kostenloser Plan","fNCCY7": "Basis","fOVatJ": "Einbettungs-Widget deaktiviert","fQsGgo": "Benutzer identifizieren",@@ -1282,7 +1250,6 @@"g34TTZ": "Wartezeit vor dem Erfassen eines Seitenaufrufs nach URL-Änderungen","g4dAtI": "Weisen Sie diesem Besucher eine Benutzer-ID zu. Seine bisherige Aktivität von diesem Gerät wird damit verknüpft.","g8H9Vw": "Mitglied konnte nicht entfernt werden",- "gHnd+A": "Beschränken Sie diesen Schlüssel auf bestimmte Ressourcen. Ohne Einschränkung entsteht ein Vollzugriffsschlüssel, der alles kann, was Sie auch können.","gI1OXG": "Website löschen","gK3VmA": "Schaltfläche geklickt","gMhqKV": "Trichter duplizieren",@@ -1339,7 +1306,6 @@"hlmkcL": "Zustand","hmloF3": "Geräteinformationen","hmnIY5": "Karte",- "hncBRq": "Mitglied einladen","hnp8iI": "Generieren Sie einen privaten Link, um eine schreibgeschützte Ansicht dieses Dashboards mit Ihrem Team zu teilen.","hq3XcK": "Letzte {count, plural, one {# Stunde} other {# Stunden}}","hw9VFi": "Weitere Emoji",@@ -1347,7 +1313,6 @@"hyfdry": "Seitenaufruf","i/DU33": "Aktivieren Sie dies, wenn Tracking-Anfragen Rybbit über Ihren eigenen Proxy oder ein CDN (Cloudflare Worker, CloudFront, nginx) erreichen. Besucher-IPs werden dann aus weitergeleiteten Headern statt aus der verbindenden IP-Adresse gelesen.","i1G+Ml": "Bitte kontaktieren Sie den Organisationsinhaber für ein Upgrade.",- "i7B/4+": "Diese Organisation und alle zugehörigen Daten dauerhaft löschen","i9WP0T": "Browser-Version","iBImEo": "Hypothese","iBRQen": "Jetzt abonnieren",@@ -1383,7 +1348,6 @@"j5kA5A": "Beim Abrufen der Fehler ist ein Problem aufgetreten. Bitte versuchen Sie es später erneut.","j6Cfhx": "Segment entfernen","j7BiRg": "Kein Event ausgewählt.",- "j7DIJR": "Aktualisieren Sie Ihren Organisationsnamen","j8JkB/": "Hacker News","jBznVV": "Zielname (optional)","jCwXG9": "Session Replay aktiviert",@@ -1401,7 +1365,6 @@"jWq9Z8": "Benutzerdefinierter Zeitraum","jXmB1T": "Replays werden hier angezeigt, sobald Session Replay aktiviert ist.","jZu+25": "Die Frage definieren",- "ja2Zok": "Auf Pro upgraden","jaPj24": "Bitte wählen Sie eine Property aus","jfXqLp": "Keine Properties gefunden","jhVKvF": "Ist nicht gleich",@@ -1435,11 +1398,9 @@"kNp7lL": "Erstellt {time}","kR140n": "Keine passende Zeitzone","kT8vGm": "UTM-Medium",- "kTH3Q2": "Sie haben Ihr monatliches Event-Limit überschritten. Bitte kontaktieren Sie den Support.","kWMpjI": "Verfügbar für","kYpf9a": "Wert suchen oder hinzufügen","kZki3s": "Verdienen Sie 50% wiederkehrende Provision, indem Sie Rybbit weiterempfehlen.",- "kdqPM0": "Sie haben einen individuellen Plan mit bis zu {limit} Seitenaufrufen pro Monat.","kehGIT": "URL-Parameter-Tracking aktiviert","kgLyso": "Gesamtzeit","kil8JO": "Mitglied bearbeiten",@@ -1500,7 +1461,6 @@"mgYBYo": "Letzte 90 Tage","mhmZ+P": "Sitzungsaufzeichnung","mkp+qF": "Zusätzliche Parameter",- "mlMQEA": "Wöchentliche E-Mail-Berichte senden","n+GeZI": "mit Ereignissen in den letzten 30 Tagen","n+tV1v": "Traffic zu bestimmten Seiten ausschließen. Verwenden Sie * als Platzhalter (z. B. /admin/* oder /preview). Groß-/Kleinschreibung wird nicht berücksichtigt.","n02jRA": "Akzentfarbe",@@ -1521,7 +1481,6 @@"na5psw": "Ist nicht null","naIILe": "Import löschen","nhaiN+": "Fügen Sie Ihre erste Website hinzu, um mit der Analyse zu beginnen",- "ni0MP6": "Sie nähern sich Ihrem monatlichen Event-Limit. Bitte kontaktieren Sie den Support, falls Sie mehr Kapazität benötigen.","nnuMWB": "Pfade, die /blog/ gefolgt von beliebigem Inhalt enthalten","noZdV2": "Wird gelöscht...","npZO3g": "Rechtsklick",@@ -1562,7 +1521,6 @@"orjNTN": "Geräteinformationen","orxRin": "Plan-Override auswählen","osCh7/": "Website beanspruchen",- "ou8jxS": "Keine ausstehenden Einladungen","ovJ26C": "Medium","ox5r8z": "Konto erfolgreich gelöscht","oxcZjO": "Die Autorisierung konnte nicht abgeschlossen werden.",@@ -1574,7 +1532,6 @@"pEc/5k": "Klick %","pGEkVl": "Button-Klick-Tracking aktiviert","pH6sDe": "Fügen Sie diesen Code zu Ihrer App hinzu und starten Sie dann das Experiment aus der Liste, wenn Sie bereit sind.",- "pIN/qH": "Sie sind im AppSumo-Lifetime-Plan mit bis zu {limit} Events pro Monat.","pJ+x3b": "Quellinformationen","pTHVrx": "Maximal 100 IP-Ausschlüsse erlaubt","pW35eH": "Keine Mitglieder in dieser Organisation",@@ -1586,7 +1543,6 @@"poMLbD": "Experimente filtern","poXmsM": "Geben Sie Ihre E-Mail-Adresse ein und wir senden Ihnen einen Bestätigungscode zum Zurücksetzen Ihres Passworts.","pq9Eeh": "Einstiegsseite:",- "pqJqst": "{plan}-Plan","ptwP96": "Wird eingeladen...","puODkp": "Stadt:","puhcpn": "Trichter",@@ -1639,7 +1595,6 @@"rWPtv+": "Abfrageparameter","rYzinM": "Das Flag im Code lesen, bevor die getestete Erfahrung gerendert wird.","rbrahO": "Schließen",- "rd5F5r": "Benutzerdefinierter Plan","rdE5Ca": "Rollout","rggp6J": "Letzte 60 Tage","rk3ZU9": "Gute CLS-Werte liegen bei 0,1 oder weniger.",@@ -1666,7 +1621,6 @@"sd2ieZ": "Woche","siqsij": "Nur der Inhaber der Organisation kann das Abonnement verwalten.","snh6R6": "Bezeichnung (optional)",- "soeWeh": "Organisationseinstellungen","sy+pv5": "E-Mail","szFhEu": "Tiere & Natur","t2Iac8": "Mindestdauer",@@ -1744,7 +1698,6 @@"vCL+NV": "Bitte wählen Sie mindestens eine Website aus oder deaktivieren Sie Website-Beschränkungen","vCqX8Z": "Einbettungs-Widget aktiviert","vDpLV2": "{type}eingabefeld geändert",- "vFH04o": "Ändern Sie Ihr Kontopasswort","vFf5xV": "Einstiegsseiten","vGMvPS": "Fügen Sie ein primäres Ziel hinzu, um Konversionen für jede Variante zu messen.","vHXIqS": "Formularname oder ID (optional)",@@ -1798,7 +1751,6 @@"wmdo1a": "Jede Bedingung wird der Reihe nach ausgewertet. Die erste Übereinstimmung gewinnt.","wmrKEg": "Trichter speichern","wmyg6t": "Ressource",- "wnSZSp": "API-Schlüssel erstellen","wninYK": "Keine Sitzungsdaten","woXwSB": "Export fehlgeschlagen. Bitte versuchen Sie es erneut.","wqoG/5": "Definiert als",@@ -1807,7 +1759,6 @@"wzKC2G": "Fügen Sie später ein primäres Ziel hinzu, um Konversionen für jede Variante zu berechnen.","x0mEuT": "Die Registrierung neuer Konten ist derzeit deaktiviert. Wenn Sie ein Konto haben, können Sie sich","x61Ey6": "Admin",- "x6GhQj": "Event-Limit überschritten","x9j/v6": "IP-Adress-Tracking aktiviert","xA1LY9": "Sie müssen eine Organisation erstellen oder zu einer hinzugefügt werden, bevor Sie Teams verwalten können.","xIB8Kg": "Organisationsname konnte nicht aktualisiert werden",@@ -1824,18 +1775,15 @@"xmBzsn": "Als PDF-Bericht exportieren","xmcVZ0": "Suchen","xnky+a": "Nur identifizierte",- "xrcdXO": "Verwalten Sie Ihre persönlichen Kontoeinstellungen","xrk6zg": "Aktualisiert","xvsXfo": "mit benutzerdefinierten Eigenschaften.","y1WhQk": "Ihr neues Passwort","y1Z3or": "Sprache","y3qXTf": "Kopien","y467+0": "Ziel konnte nicht gespeichert werden",- "y5jEwG": "Aktivieren oder deaktivieren Sie automatische E-Mail-Berichte für Ihr Konto.","y9vcUt": "Sie wurden von {inviterEmail} eingeladen","yAAjri": "OTP-Code eingeben","yAaNQA": "Administratoren",- "yBFhF6": "Ihre 14-tägige kostenlose Testphase ist beendet. Sie müssen abonnieren, um erneut Besuche zu verfolgen.","yBqtD8": "{count} Sitzungen (24h)","yGsZm0": "Formulare","yGxRRq": "Verbessern Sie den Datenschutz mit täglich rotierenden Salts für Benutzer-IDs",@@ -1857,7 +1805,6 @@"z0076i": "Pfadziele eignen sich, wenn die Konversion eine URL ist, wie /danke. Event-Ziele eignen sich für explizite Aktionen.","z2PIbo": "Die Zuteilung erstellen","z2xGiR": "Anmerkung gelöscht",- "z4wbga": "Stattdessen einen Organisations-API-Schlüssel verwenden","zD9VOD": "Klicken, um Merkmale zu bearbeiten","zGvUQx": "Ist nicht","zINlao": "Inhaber",diff --git a/client/messages/en.json b/client/messages/en.jsonindex 0416fe01f..d557a317c 100644--- a/client/messages/en.json+++ b/client/messages/en.json@@ -5,8 +5,11 @@"+B+qvw": "Changed {type}input \"{name}\"","+CwN9C": "System","+F8tiK": "Annotate",+ "+Frh0P": "Manage in Stripe",+ "+LbwTX": "AppSumo Tier {tier}","+N7isb": "Funnel saved successfully","+NhXOR": "Changes apply everywhere this segment is used.",+ "+P0+ma": "Invited by {name}","+PYc0V": "Monthly events","+R0VMp": "Delete this feature flag?","+RUaAj": "Navigated",@@ -21,6 +24,7 @@"+aOZcS": "Show bar chart","+b6mhi": "Keep accessing your account when you are not using this application.","+bk3BW": "Subscription failed: {message}",+ "+cwRUL": "{range} · day {day} of {days}","+fPt67": "{count, plural, one {# resource} other {# resources}} selected","+g7iCc": "Clicked","+i+ipM": "Owners and admins automatically have access to all sites.",@@ -32,12 +36,13 @@"+x2FLn": "replay","+zImMB": "User deleted","/+XPOf": "Organization events",+ "//+1VJ": "Personal API keys","/0TOL5": "Amount","/0tjRq": "Failed to move site","/20q2D": "Your password has been reset successfully.","/6bl6s": "Button click",- "/8v8/t": "Delete Organization","/AMnMU": "Shared with every site in the organization",+ "/BgXtH": "Events used this month","/CkSRc": "Or continue with email","/EBXiO": "This member has access to all sites in the organization.","/EZDL1": "Matches the form's name or id attribute. Leave empty to count any form submission.",@@ -48,6 +53,8 @@"/JNWvl": "Loading user agent exclusions...","/OvJVm": "Show fewer","/VCXg7": "UTM Content",+ "/VHMFw": "{count, plural, one {# person reaches every site not in a team} other {# people reach every site not in a team}}",+ "/VQpyO": "Expires {date}","/Vcvr8": "Web Vitals metric for measuring website performance.","/VnDMl": "Other","/WqttH": "Free trial: {days} days remaining – Using {used} of {limit} events",@@ -58,11 +65,14 @@"/clOBU": "Weekly","/dxF+k": "Password must be at least 8 characters long","/eULaT": "Performance by Page",+ "/i42D+": "New personal API key",+ "/jp3Yr": "unlimited sites","/jyLDY": "Inline pill","/kZg9i": "Button Click","/liMUf": "Funnel deleted successfully","/zFGgP": "+{count} more","/zFP1/": "Start time",+ "0/JTPQ": "No organization selected","00LcfG": "Load more","03IKqU": "Update team name, members, and site assignments.","04xGLE": "Ends",@@ -94,7 +104,10 @@"0o6QyV": "Failed to create checkout session","0oL1zz": "Copied!","0ogV14": "Exits",+ "0qphDz": "Search people","0uO8I3": "Generate a private link to preview",+ "0yi2g6": "These belong to the organization rather than a person, so they keep working when people leave. Only owners and admins can see or create them.",+ "1+rZzZ": "Failed to create portal session.","10IQpb": "Targeting rules","10IkTF": "Unknown device","10Mcdg": "Avg Duration",@@ -108,6 +121,7 @@"1H18UT": "ZIP File","1HsqR2": "{rolloutTotal}% assigned","1SjAqf": "Leading",+ "1WyMaK": "Weekly email reports","1ZgrhW": "Role","1bNJRY": "User Traits","1bgBOg": "Yes, disable embed",@@ -118,6 +132,7 @@"1gYD1y": "Session Info","1hGB1j": "Error Logging In","1iEPTM": "General",+ "1mnmBr": "Person","1pHHjl": "Failed to load import history. Please try refreshing the page.","1rREuf": "A segment is a named set of filters you can apply to any report with one click.","1t1lSU": "Filter by event property",@@ -126,6 +141,7 @@"2/2yg+": "Add","20rO2E": "Select which sites belong to this team. Only team members (and admins/owners) will be able to access these sites.","21Ef1P": "Team updated successfully",+ "22jR0h": "{count, plural, one {No access to the other site} other {No access to the other # sites}}","23lYVR": "Match specific event properties","25WwxF": "Don't have an account?","26hmQc": "User identified",@@ -134,6 +150,7 @@"2As1bK": "Error Tracking is Disabled","2C6TrW": "Annual","2GURQY": "Appearance",+ "2Hp/zH": "Members keep their own role on these sites. Besides them, only owners, admins and people given a site directly can open them.","2HxPBE": "Web Vitals collection provides Core Web Vitals metrics like LCP, CLS, and INP.","2Nj3gm": "Edit flag","2Rli0c": "Choose a multivariate flag that is not already connected to an experiment.",@@ -153,8 +170,10 @@"39mVGa": "Targeted configs","3ARIAn": "Display name (defaults to domain)","3DGXCb": "Last 4 months",+ "3GnR8N": "Deletes {name} and all its data, including its teams and organization API keys, and removes all its members.","3PZa76": "This Month","3Q4Tx9": "e.g., PROMO*",+ "3QERYE": "{count} events in this range, across all sites.","3VI9mt": "Save Changes","3X4r56": "Screen Dimensions","3cc4Ct": "Light",@@ -172,10 +191,10 @@"4+6INx": "not regex","4/DApn": "Last 6 Hours","41XJFz": "No traits found",- "42Qo3+": "This organization's API keys","450Fty": "None","45gABM": "Are you sure you want to delete \"{name}\"? This action cannot be undone.","45hFQt": "Uncollectible",+ "45yNOg": "Cancel invitation for {email}","47FYwb": "Cancel","48r+p0": "Loading country exclusions...","495/Ut": "Automatically track the initial screen passed to the React Native SDK",@@ -191,7 +210,7 @@"4Y+tpi": "See a demo of this feature","4YGHzj": "No experiments match \"{search}\"","4ZtLoe": "Pathname",- "4cfxQk": "AppSumo Plan Tier {tier}",+ "4eL5CK": "Unlimited on {plan}","4eYvJG": "Live Visitor Widget","4gDkIw": "Experiment updated","4gXpPi": "Invitation sent to {email}",@@ -199,6 +218,7 @@"4h8Ert": "Session Replay is Disabled","4l6vz1": "Copy","4nfQk6": "Capture JavaScript errors and exceptions from your site",+ "4q9JVY": "Deletes your profile, your sign-in and your personal API keys, and removes you from every organization.","4v7I1t": "Path Exclusions","4zTRnw": "Read-only access to analytics","5/6deG": "There was a problem fetching the funnels. Please try again later.",@@ -208,6 +228,7 @@"56nzII": "Week {value}","5BuYtq": "{site} isn't collecting data","5CbP3g": "Experiment name",+ "5N04mo": "Upgrade to Pro","5PmWQ/": "Failed to load the transfer","5QYdPU": "Start Time","5QiCvx": "Select at least one permission, or turn off restrictions for a full-access key",@@ -216,6 +237,8 @@"5bo+CW": "No API keys yet","5dX7fM": "Advanced features for enterprise teams","5elgIe": "Error:",+ "5fw5jH": "Hold to delete organization",+ "5gWjuG": "A team gives its people a set of sites, and can raise their role on those sites.","5iGg8I": "Not enough data yet","5jeq8P": "Unknown","5kpx3b": "Split traffic across keys",@@ -223,7 +246,6 @@"5xQQz7": "Matching weekdays","5y2qWO": "Connecting...","5yUsUe": "Replay",- "5yu28t": "You are on the Free plan with up to {limit} pageviews per month.","5zGub0": "Error Tracking","62AhmP": "This link is no longer valid","62nsdy": "Retry",@@ -235,9 +257,11 @@"6DPLaX": "Preset plan","6ErXbc": "is null","6INEHC": "You don't have permission to add sites to this organization",+ "6IUBzq": "{count, plural, one {# site} other {# sites}}","6Lp70G": "Move \"{siteName}\" to another organization. Team and restricted member access for this site will be reset.","6MkXA0": "Failed to update experiment","6NIu/x": "Failed to generate private link",+ "6OUooY": "Renews monthly on {date}.","6OWS4p": "Processing...","6Q0f/H": "Mapbox access token not found","6RB7ZL": "API Playground",@@ -258,6 +282,7 @@"6gHGy0": "Remove from Organization","6hdNA5": "Events (24h)","6kvpmt": "Filter {count} links...",+ "6pfVZZ": "At this pace you'll reach the limit around {date}.","6qF/vN": "Terms and Conditions","6rP1gv": "Projected by month end","6rRDkE": "Website limit",@@ -278,6 +303,7 @@"7IM0G6": "The display name for this site","7JlauX": "Explore","7KEQvc": "Exit Page",+ "7KvOwG": "Was <old>{name}</old>","7L86Z5": "Member","7LjSrf": "Error tracking disabled","7O/+X2": "Users online in past 5 minutes",@@ -314,6 +340,7 @@"8UJSrw": "No emoji matches that","8UzT6d": "CSV","8VHF7f": "URL Pattern (optional)",+ "8Wcirp": "Could not open billing portal.","8apB7W": "Remove this member from the organization.","8eQ7FM": "Continue with GitHub","8ekFRM": "No funnels found",@@ -333,9 +360,9 @@"93oVTh": "Copied to clipboard","94Fg25": "Select all","95stPq": "Completed",- "96ejG8": "Approaching Limit","97DGta": "Create Team","97KPX7": "No tags found.",+ "98rXlm": "Usage history","99HM2b": "Event goal","99Lkvz": "Goal actions","99yMMd": "Console error",@@ -357,10 +384,12 @@"9ctGsY": "Feature flag updated","9gkUnn": "Cancels at period end","9h0k8z": "Monthly pageviews",+ "9hNniR": "Role on its sites","9iSdEj": "{count} session","9j3hXO": "To","9jjWs7": "Install the SDK below, then launch your app. This page updates on its own once data arrives.","9nhYZi": "Send transfer",+ "9pqDa6": "Site access","9qBH5R": "No feature flags found","9tjZ7S": "Failed to create user","9uKBh7": "Remote config",@@ -370,15 +399,18 @@"A5E371": "The page you're looking for doesn't exist or has been moved. Let's get you back to analyzing your data.","A5gGeo": "This authorization request is invalid. Reconnect from your application to try again.","A64Z+T": "First page",+ "A9b3Ht": "Organization API requests today","AA5h7P": "Performance","AB3gDL": "No Organization","ACKiA3": "No tags added yet","AFl3K6": "Conversion from previous step",+ "AJf+MI": "Events are counted per calendar month in UTC and reset on the 1st.","AKRVhS": "Click a legend item to show it","ANmBWb": "Checkout CTA test","APv7ZB": "Ends with","AQycf+": "Button click tracking disabled","AS5k+b": "automatically have access to all sites.",+ "ATzqqu": "What {team} does for each member","AVoifw": "starts with","AWVk03": "Logging in...","AZEGID": "Track analytics for a new website or React Native app in your organization",@@ -387,7 +419,8 @@"AdNsDZ": "Sign Up Disabled","AeDqHA": "They will immediately lose access to this organization's sites and data.","AkCxS/": "Reason",- "AkVL9j": "API Key Name",+ "AkdoKt": "Usage this month",+ "AlRnNX": "Keys that act as you, with your role in each organization, and stop working if you leave it. For an integration that should outlive your membership, use an <link>organization key</link> (owners and admins only).","Asi2Jg": "Hide advanced options","Aujn2T": "Count","AyGauy": "Login",@@ -396,16 +429,16 @@"B3uRNN": "Restrict access to specific sites","B487HA": "In Progress","B7Omko": "User ID salting disabled",+ "BD0BES": "{total, plural, one {All # site} other {All # sites}}","BDAoYD": "Rollup","BHE2Fh": "ASN Exclusions","BHHDty": "Edit settings for {name}","BR9G0H": "Join {organization}","BReFYW": "Input Changes","BUxbet": "URL prefix property",+ "BVTni9": "Payment method","BVVhyH": "Last 14 days",- "BW3cmW": "Personal API Keys","BWpuKl": "Update",- "BX8PCh": "Manage your organization settings and members","BYZnfs": "No events recorded.","BdV5Om": "Websites","BffFao": "Error tracking captures JavaScript errors and exceptions from your application.",@@ -424,6 +457,7 @@"CHR+o1": "Showing {shown} of {total} events","CHTM5p": "Failed to send invitation","CHzo7t": "Embed Code",+ "CM7DlJ": "{price}/year","CNXQN5": "Copy code","CRAx66": "User IDs will be salted with a daily rotating key for enhanced privacy","CRjhOx": "8x larger",@@ -432,6 +466,7 @@"CZmGBZ": "Flag key is required","Cf6LHR": "Funnel Name","CfjnxD": "Equals",+ "ChATeO": "Change email","ClLijo": "Missing required path parameter: {param}","Cm1ioF": "Core Web Vital","Cn4/rZ": "Payload",@@ -443,12 +478,16 @@"CvOdcz": "Your websites aren't collecting data","CxfKLC": "Pages","Cxfsf1": "Send Verification Code",+ "D+eI2Q": "On, sent to {email}","D+v5e+": "Tracking","D0La/m": "Organization ID",+ "D2CXBK": "{reached} of {total} sites","D3idYv": "Settings","D3rOMr": "No Data","DDhP4z": "Sites","DDyIYi": "Search, or type 14d, 6h",+ "DENJX3": "Varies by site",+ "DHJkSO": "Upgrade to a Pro plan to continue collecting analytics.","DIZgr3": "Boolean","DL8gYz": "Remove trait","DNeuzb": "Teams",@@ -469,6 +508,7 @@"DoskyC": "All Teams","DrP6Y6": "Display a bar chart of users over the selected time window.","DswPK3": "Failed to create team",+ "DtTW4+": "Your organization","Duls6u": "Decline transfer","Dxi6lc": "The site owner has not shared any segments on this dashboard.","E/3uwL": "Copy key",@@ -485,9 +525,11 @@"EFTSMc": "Main","EGPr1w": "Add this script to the {headTag} of your website","EHoeo0": "Gathering data",+ "EIJT7Y": "Danger zone","EK3962": "Good password","EKMCMF": "Largest Contentful Paint","EKMIm1": "Name updated successfully",+ "ENMQZq": "So you can tell your keys apart.","EQ6bAU": "Invitation cancelled","ERGkoT": "Resized window","ERZKPw": "Failed to save experiment",@@ -496,6 +538,7 @@"EXP1/t": "Default: 500ms","EYNe7E": "Globe","EZ3drz": "There was a problem fetching the retention data. Please try again later.",+ "Ecfndm": "Invoice","EcglP9": "Key","Ed112w": "Flags","EjE0iv": "Team created successfully",@@ -505,14 +548,17 @@"Eq9gxg": "Width (px)","EqaiWT": "Delete “{title}”? This cannot be undone.","EsWFCh": "User Agent Exclusions",+ "Et9a1j": "Only what's selected below","Ev6SEF": "New Password","EwRIOm": "User","Ewavb9": "Choose a subscription plan to continue collecting analytics data.","ExtTiK": "Add Path",+ "F+atOR": "{from} → <b>{to}</b> on {count, plural, one {# site} other {# sites}}","F/6VqP": "Server","F1HScC": "Filter by URL parameter","F3R2oM": "This revokes the private link for this site. Any embedded dashboards and shared dashboard links using it will stop working immediately. You can generate a new private link later, but it will have a different URL.","F3XA9+": "Delete Goal",+ "F4ZpzL": "Off, the key has full access to all of this organization's sites.","F4tWun": "Create a new flag","F6Fr+e": "Dashboard embed disabled","F9J0jM": "Failed to clone funnel: {message}",@@ -523,7 +569,6 @@"FIKvUB": "Add Site","FIs3zs": "Saved segment “{name}”","FJ6r9E": "Continue with Google",- "FLgSbA": "Building a production integration?","FQMQOJ": "There was a problem fetching the users. Please try again later.","FQTq3a": "Add {userEmail} to an organization with a specific role.","FT1lfL": "Start collecting analytics in minutes",@@ -539,6 +584,7 @@"FqztZR": "Note:","FsIP28": "Hide sidebar","Ft71sH": "Tiers",+ "FtHGZb": "New organization API key","FvmV6q": "Discord","FxfxpX": "{percent}% of your organization's events","FyHPEF": "This will remove the connection to Google Search Console. You can reconnect at any time.",@@ -553,17 +599,19 @@"GBgVhg": "Use the emoji you typed","GDgEmC": "No events found","GH6rlO": "You need to select an organization to manage your subscription.",- "GHbyp+": "Subscription Required","GIL+DR": "Form interaction tracking enabled","GIlxUl": "Match the widget to your site's theme.","GM/hd6": "Invitation","GOPNeY": "Couldn't load replays.",+ "GTKKSu": "Permanent. There is no undo.","GWtmtu": "Mobile","GXgKR9": "Match specific URL parameters","GZC9FV": "Unable to load this application. Reconnect from your application to try again.",+ "GbPOLI": "At this pace you'll reach the limit later today.","GbS3kP": "Override type","GcLrWX": "Your dashboard stays open for 24 hours. Create an account to keep it.","GcPFLS": "Work",+ "GcsBUm": "The {team} team has no members, so nobody else reaches this site. <link>Add people to {team}</link>","GeY2EU": "{pct}% of matched users","GfsGyi": "Installation docs","Ggedt8": "Showing only the first {count} sessions. More data may be available.",@@ -581,7 +629,7 @@"H/r5m6": "Move down","H1TwHY": "Failed to load users","H359cw": "Enter a date range that ends after it starts, on or before today",- "H4uuIK": "Permanently delete your account and all associated data",+ "H5XDq4": "{plan} is already set to cancel on {date}.","HAlOn1": "Name","HB6OFk": "Failed to create API key","HFp8uY": "Performance by Browser",@@ -602,11 +650,12 @@"HtTwhf": "App identifier updated successfully","Humfno": "End date","Hv8xC3": "Loading ASN exclusions...",- "HyiDcy": "Invitations",+ "I3ko52": "unlimited members","I3rqT8": "Confirm your new password","I4Etgx": "Return a JSON payload","I5k4g/": "Use existing","I7l2wK": "The domain used for tracking",+ "I82nzJ": "Calls made with organization API keys.","IAEaaA": "Save segment","IAqayC": "Viewer","IBa7Wa": "Please enter a name for the API key",@@ -618,6 +667,7 @@"IFodEo": "Failed to load usage","IH2vI2": "Loading organizations...","IJ3j5z": "Activity Calendar",+ "IN7hOr": "Add sites","IP4n+n": "Widget Embeds","IPKuA0": "Subscription override updated","IPvPs7": "Send verification email",@@ -626,17 +676,17 @@"IWDW+q": "Delete annotation","IWfwim": "Team deleted successfully","IX0C9y": "Feature flag changes saved",+ "IXycMo": "Resend","IZ9nkN": "Organization owners","IZnwKa": "Edit Funnel","IbhgkP": "Bot blocking enabled","Il1aAo": "Open source web analytics powered by Rybbit",+ "IoDlcd": "Slug","IoiMPE": "15 Min",- "IpNrN4": "You have exceeded your monthly event limit. Please upgrade to a Pro plan to continue collecting analytics.","ItR6u3": "Excluded Countries ({count})","IuFETn": "Duration","IuPATc": "Showing assigned visitors. Call rybbit.flag(\"{flagKey}\") where the variant renders to measure visitors actually exposed to it.","IvPFG7": "Failed to update system role",- "Ix3wt3": "Learn more about teams","IxWjRw": "Ask a site admin to enable it.","IxrHg4": "Filter {count} items...","J+At6e": "Last Submitted",@@ -662,14 +712,17 @@"JXdbo8": "Done","JZwbsF": "Invalid JSON in request body","JaJoAk": "Button Text",+ "JaVTGN": "Only owners and admins reach this site.","JfG49w": "Open","JfUnvy": "Changing the CTA copy will increase signup conversions.","JgKGg8": "Not an owner","JgXnsC": "No sessions found","Jh8pKq": "Enter a domain like example.com",+ "JhRZu0": "Sites given to them directly","JiYl78": "Update the goal details below.","JkLHGw": "Website","JoUePd": "Use * to match a single path segment. Use ** to match across segments.",+ "JpsXCp": "Delete {name}","Jq3FDz": "Content","JqYRWE": "Create Organization","JtbpIP": "This site",@@ -681,6 +734,7 @@"K40gq+": "Failed to load organizations data. Please try again later.","K56Dim": "Organization","K91VTC": "ends with",+ "KAL6xF": "Key name","KAVWiA": "Disconnecting...","KE2jY+": "e.g. user_123","KEjmpx": "URL patterns to anonymize in analytics (one per line)",@@ -700,18 +754,20 @@"KYAqNj": "Use * to match within a segment. Use ** to match anything.","KaylUJ": "New password and confirm password do not match","KeO51o": "Channel",- "KfIZ6o": "Update your name displayed across the platform","KiXNvz": "Run","KjXPXZ": "{count} sessions","KkOM4O": "Maximum 100 path exclusions allowed",+ "KlhB/A": "Sites used","Ks3Z/P": "Move it into","KsWJL5": "Country Exclusions","KtC97P": "Exit Pages","KzO2sB": "Initial page view tracking enabled",+ "L+zpmU": "Keep invitation","L/Sv0H": "e.g., signup-form","L07wnh": "Hostname Exclusions","L1FoVW": "You don't have permission to view organization settings.","L44v6R": "This permanently deletes all analytics data for this user, including events, sessions, session replays, and traits across all linked devices. This action cannot be undone.",+ "L4nXIc": "Change password","L5X96Z": "URL patterns to exclude from tracking (one per line)","L8DzHm": "Team name is required","LAwI3R": "Name cannot be empty",@@ -721,10 +777,12 @@"LHF3Za": "Existing","LICoyV": "Flag description","LIX+6S": "URL parameters tracking disabled",+ "LIpHWt": "Raises to <b>{role}</b>","LONGFB": "Pick plan","LOfVcK": "Name and email are required","LQ46NL": "Coordinates","LUrJwE": "Channels",+ "LZy15a": "<b>{role}</b> on {count, plural, one {# site} other {# sites}}","LaV9M1": "Select timezone","LeFOAk": "Filter not active for this page","LirueA": "Share this dashboard",@@ -734,6 +792,7 @@"LovNd5": "Last Copied","Lp3DO2": "Title is required","Ls2RQA": "Decline this transfer?",+ "LsuJ1s": "Renews annually on {date}.","Lu6+QS": "Edit experiment","LuNBqj": "Password should be at least 8 characters","LvPqO3": "{count} user",@@ -746,18 +805,20 @@"M/zZVx": "Add filter","M2oRL5": "Pick a date and time","M6W/5v": "Copied {count} owner emails",- "MAOWHK": "Your personal API keys","MAmm3B": "Exclude traffic from specific hostnames such as staging or preview domains. Use * as a wildcard (e.g., localhost or *.vercel.app). Matching is case-insensitive.","MD/3gh": "Copy user ID","MGHdwe": "No users online in the past 5 minutes","MHUeF8": "Travel & Places","MJ2jZQ": "Total","MKqZOD": "Resetting password...",+ "MMTG5C": "Delete organization",+ "MNHyPG": "Your trial ends in {count, plural, one {# day} other {# days}}, on {date}.","MNKvNt": "Error Sending Code","MPAiyo": "You have an active import in progress. Please wait for it to complete before starting a new import.","MPQ0kS": "Select an organization","MQQbnY": "Replays","MQYmtr": "e.g. [email protected]",+ "MWFE1B": "No members yet","MYsZNO": "Remove variant","MZNJkb": "Filter by name...","MZjNWA": "Failed to update email reports setting",@@ -784,13 +845,13 @@"NCpWPE": "CSV File","NDV5Mq": "Options","NDoUa9": "All event types hidden",+ "NDx+B0": "Personal","NFTkNB": "Assignment flag for this experiment","NKw4Rw": "Automatically track navigation in single-page applications","NLmfEq": "Failed to create checkout session.","NNQzoi": "Searching...","NOTA3a": "Strong","NPL5hM": "Skip Patterns",- "NQgbYA": "Account Settings","NRXNLC": "Button Clicks","NUXhb8": "No subscription data available","NUknhD": "Friends",@@ -800,6 +861,7 @@"NdO+zh": "Organization name","Njru+i": "Measures server response time. TTFB is the time from request start to when the first byte is received.","NlQXI6": "Generating PDF...",+ "NmK6zy": "Payment","NuhCPH": "Learn how to track events","Nvr5Ce": "Adding...","NwIme6": "All sites in the organization",@@ -807,7 +869,6 @@"O/IeYM": "Learn how to identify users","O/w//A": "{count} events","O6zCyZ": "Flag key",- "O8Sc7E": "Site Access","O8lxEI": "Check Google's Web Vitals documentation for thresholds.","OFEa0m": "No traits set","OGk6DC": "This Year",@@ -827,10 +888,8 @@"Oh4usQ": "Select metric","OhDId7": "Enter your domain and choose a plan. Your site will be ready to install as soon as checkout is done.","Oj6AtK": "OS Version",- "OlRI+i": "Organization API Keys","Omj2fC": "Disabling...","OtO9EF": "Add tags to organize and filter your sites.",- "OtSSs+": "{count} sites","Otefae": "Dimension","OvzONl": "Off","OxNUFK": "Your dashboard stays open for 24 hours. Claim it with a free 7-day trial to keep it.",@@ -838,6 +897,7 @@"P3YB9A": "Last Week","P6RGqE": "Hostnames","P7PLVj": "Date",+ "PCSt5T": "Preferences","PE3u2y": "Traits","PM+ZUC": "Keep the note under 2000 characters","PO3ZXG": "Edit segment",@@ -860,7 +920,6 @@"PoyENW": "Failed to load users. Please try again later.","PpIaGj": "Is null","Ppx673": "Reports",- "PqV1fm": "Select your preferred language","PqvkpE": "Choose a goal","Ps71bZ": "Create a new team to group sites and control member access.","PwlAG9": "Show on public dashboard and shared links",@@ -896,17 +955,18 @@"Qp1beM": "Path","Qssxr4": "No charge until the trial ends. Cancel anytime.","Quiu+4": "If the snippet doesn't work, try JavaScript injection",+ "Qy0dEw": "Couldn't load who can open each site.","QyVOhk": "Last {count, plural, one {# week} other {# weeks}}","Qzul6+": "Site ID","R/6nsx": "Subscription","R/eOkj": "Pro",- "R2OqnW": "Delete Account","RC2XA4": "Removing...","RE0v43": "Custom Events","RL7HbL": "Ask your organization owner to upgrade to Pro to unlock {message}","RNCPOG": "Signup","RQCAMr": "Failed to update name","RQTMq0": "Search segments",+ "RURD+5": "{team} lifts anyone below {role} to {role} on these sites. It never lowers a role, so an admin added here would stay an admin.","RVvz5q": "Add Hostname","RWQ/Ee": "Copy tracking enabled","RYG5QH": "Move site",@@ -919,6 +979,7 @@"RgoiQm": "Subscription Will Not Carry Over","RjLdTG": "Path Parameters","RllRQH": "Show orgs with 0 events (30d)",+ "RmOzg4": "To change it, we email a confirmation link to {email} first, then a link to the new address. The new address takes over once you click both.","RnYLTT": "Satellite","Rp+Vr1": "Condition name","RpEtgF": "Start your 7-day free trial",@@ -934,13 +995,13 @@"S4u7Gc": "Get your API key","S4zxrU": "Count sessions where your app fires a named event.","S5IFjk": "Create a team to group sites and manage member access.",- "S7U3Nx": "You are approaching your monthly event limit. Consider upgrading to a paid plan for higher limits.","SB3+JE": "No funnel data available","SBUMrd": "Filter feature flags","SBoJg8": "Delete this API key?","SDTG4X": "The primary goal is the conversion event or page visit used to compare variants.","SElbF+": "Save filter","SFuk1v": "Permissions",+ "SKLIgM": "Who can open each site, with what role, and why. Owners and admins always reach every site.","SLHC6B": "“{name}” will be removed for everyone who uses it. Links that already expanded its filters keep working.","SQ/PnG": "Restrict permissions","SQJto2": "Sign in",@@ -950,13 +1011,16 @@"Sb7oIl": "Performance by Operating System","Sjo1P4": "Custom","SnIGkx": "This is the only time you'll see this key. Copy it now and store it somewhere safe.",+ "So9+9+": "Change plan","SoySgJ": "Referrer:",- "StUScz": "{count} members","SubaMm": "Failed to save segment",+ "Susbun": "unlimited sites and members","SyINSq": "Failed to run query","T+D/1o": "Last {minutes} minutes","T4GOiX": "End Date",+ "T5e8+y": "These belong to the organization rather than a person, so they keep working when people leave. Only owners and admins can see or create them, and they share the organization's daily request budget.","T7eyOH": "Session started",+ "T9uy+3": "Organization API keys","TBMqfx": "No visits in the last 4 months","TBovrx": "Month","TE4fIS": "City",@@ -979,6 +1043,7 @@"TihPdx": "Track when users copy text from your site","Tjv3UC": "Verification Code","ToO3/h": "Any",+ "Tpy00S": "People","TqSTI0": "Enable","Tqx+zH": "Enter team name","Tvhne9": "Waiting for the first pageview from {name}",@@ -987,11 +1052,13 @@"TzPAuM": "{organization} is transferring this site to you.","U01dmA": "Edit Team","U0AIkl": "Add User Agent",+ "U0G7Hx": "{count, plural, one {Also # other site} other {Also # other sites}}","U1H5v0": "Need help? Check out our resources:","U2stty": "billed annually at ${annualPrice}","U3LDpY": "Views analytics and builds reports: goals, funnels, dashboards, their own segments and annotations","U3UQfB": "A full split should add up to 100 percent unless you intentionally want unassigned traffic.","U3dHSt": "Please type {name} to confirm.",+ "U3hyQA": "Settings and people for {name}.","U5hCuK": "Each condition returns its own payload. The first match wins.","U6qGuO": "Position","U78NhE": "Complete",@@ -999,7 +1066,6 @@"UAVBcs": "{sessions} sessions · {conversions} conv.","UBQJK/": "Untitled goal","UE55jO": "Failed to delete account: {error}",- "UEl0Sh": "Trial Expired","UF6kPm": "Direct","UG2tSi": "Last {count, plural, one {# minute} other {# minutes}}","UG5qoS": "No data",@@ -1007,11 +1073,14 @@"UHg01d": "Select a goal","UIDXdt": "Success!","UJMgTf": "No session replays found",+ "UJqftZ": "You're close to this month's limit.","UKxoV8": "Welcome back","UMbBzo": "Move",+ "UO/uhp": "How access works","UQkHdC": "Initialize it once in your app entry point:","URL784": "Neutral","UVkKe5": "Sending code...",+ "UWVETE": "Cancel subscription","UXBrwu": "Verify your email to accept this transfer","UYFBN2": "Failed to decline the transfer","Ube5So": "Monthly event limit exceeded:",@@ -1022,7 +1091,6 @@"UgH9Vn": "Copied Text","UgYEE0": "Navigation Day","UjlqkD": "Strong password",- "UlLea3": "A personal key acts as you, with exactly your access — for personal scripts and connecting MCP clients.","Um1u7W": "Funnel updated successfully","UmEsZF": "Activities","UmGlEG": "Twitter/X",@@ -1033,8 +1101,8 @@"V/JHlm": "Forgot password?","V4KNjk": "optional","V52jNn": "Enabled",+ "V5gdz+": "Close anyway","V9fGSG": "Read your account identity and profile information.",- "VAEdEJ": "— it keeps working when team members change (admins and owners only).","VB5EJL": "Same period last year","VF3DcR": "Segments","VJWJyq": "Device type",@@ -1058,13 +1126,14 @@"Vn76qV": "Github","Vn7Wtu": "What do you want to query?","VqI0Nz": "Location & Device",- "VtLIgh": "An organization key is the organization's own credential: it can access all of this organization's sites and keeps working when members leave. Use it for production integrations.",+ "VqbeVd": "You've reached this month's limit. Events past it aren't recorded until the count resets on {date}.","Vwukkb": "Add JSON payload","VyvTDF": "Screen:","VzzYJk": "Create","W/V6+Y": "Collapse","W1QsrY": "No goal","W35dz6": "Error Adding Site",+ "W4Js+F": "Org API requests today","W5IIP8": "Upgrade to {planName} to unlock {message}","W6nwjo": "Draft","WAh2WE": "Failed to create organization",@@ -1072,7 +1141,6 @@"WDs9bj": "Google Search Console","WFlQVv": "Tracking Script","WNF1J6": "Choose how the embedded dashboard is displayed.",- "WW63pm": "Site role: {role}","WXyeBJ": "When disabled, the member can access every site in this organization.","WYzHAI": "Skip for now","WZTXKm": "Trend",@@ -1091,13 +1159,16 @@"X0ppsC": "websites","X2PZ7D": "Create Goal","X2y59E": "User removed from organization successfully",+ "X4dHd8": "Plan, usage and invoices for {name}.","X5rIjZ": "Danger Zone","X8cM+N": "Select an event to view its properties","XB8fV9": "Last 24 Hours","XBiaFL": "No sites","XFyfI5": "Overall conversion",+ "XGbwj3": "Adds nothing for {name}, who has all sites","XHHR08": "Data","XHLYdJ": "Goals",+ "XItDKt": "Your trial stays active until {date} and you won't be charged.","XLMjkP": "An error occurred during login","XMLYH4": "You don't manage an organization yet. The site moves into this new one.","XNeN37": "Error loading session details. Please try again.",@@ -1105,22 +1176,29 @@"XQ/KBk": "Winner: {variant}","XQDKiY": "Copy owner emails","XQSLMK": "Path pattern",+ "XV7Hcw": "Takes effect when the period ends.","XVClQF": "Configures sites (tracking, feature flags, experiments, imports, Search Console), but not members","XWcjJb": "No users found","XXrCqV": "React Native SDK docs","XYTxH5": "Are you sure you want to delete this goal?","XZLB7j": "Paths NOT containing 'test'",+ "XdwgZw": "Cancels on {date}.",+ "XeFF+T": "Contact support if you need more capacity.",+ "XgZN3d": "Resending...","Xh42fm": "No comparison","XkmpXm": "View User","XmAxo6": "Add Step","XnjTRS": "Last {hours} hours","XocxqF": "Implement and expose",+ "XqEr8C": "<strong>{used}</strong> of {limit}","Xtxl5C": "Checkout session not received.","Y++tIp": "Sign Up to Accept Invitation","Y1DhwC": "No funnels match \"{searchQuery}\"","Y2QRpS": "equals","Y6DkLY": "Path (e.g. /pricing)","Y8E+so": "No sites in this organization",+ "Y8lhVt": "Add people",+ "YCD+X4": "Charged on each renewal.","YDMrKK": "Users","YI/JAh": "Identifying...","YMFYwn": "Yes, delete site",@@ -1133,9 +1211,11 @@"Ykj7Gg": "{count} sessions on {day}","YluXPL": "Include query string parameters in page tracking","Ymfrjv": "You have reached the limit of {limit} websites. Upgrade to add more websites",+ "Yu4I6o": "Read and write","Yx6aRS": "Optional notes for this experiment","Yxwqz8": "No site selected","Yyi9rs": "Set up your workspace",+ "Z+sMjk": "{count} org API requests a day","Z184O6": "Show {count} more","Z1mx8T": "Site analytics made private","Z2Mi3c": "Min pageviews",@@ -1143,15 +1223,17 @@"Z3EDd9": "Sessions","Z3IDkP": "Outbound Click","Z5dM3R": "Referrer",+ "Z8971h": "Verified",+ "ZBALng": "Current plan","ZDpTud": "Traffic","ZFZ8Nn": "Geolocation by","ZICvpo": "Loading {items}...","ZIstZx": "Page {page}",+ "ZLPWnw": "Arranged with Rybbit. Contact support to change it.","ZNsvLa": "Couldn't load this session's events.","ZXp0z1": "Features","ZXuaOL": "Failed to delete user","ZbWc+A": "IP address",- "ZcBC7s": "Manage your subscription and billing.","Zh+5A6": "On","ZjhoiP": "Select a plan","Zqi/ST": "Disable dashboard embed?",@@ -1203,10 +1285,12 @@"bWuTgr": "\"{name}\" will be revoked immediately. Anything still using it will stop working.","baRFiF": "Form","bdcMGy": "Open menu",+ "bdhDjs": "{access} · {resources}","biJyKp": "Exclude traffic from specific IP addresses or ranges. Supports single IPs (192.168.1.1), CIDR notation (192.168.1.0/24), and ranges (192.168.1.1-192.168.1.10).","bkMM9y": "Enter a key for this trait.","blVqkQ": "Current Usage","bmN63c": "Site analytics made public",+ "bmvFJd": "Send confirmation link","bo543i": "You can create another organization, but your current subscription only applies to your current organization.","brX8Pt": "Last 30 Days","bsPwts": "Form submission",@@ -1215,6 +1299,7 @@"c/KktL": "Resources","c2aHE/": "Confirm Large File Import","c3VJQo": "Device",+ "c5+JRM": "Upgrade plan","c6cv5o": "Calling rybbit.flag records the exposure that powers experiment results.","c7/Nan": "Please set the MAPBOX_TOKEN environment variable and rebuild all containers. To get a Mapbox token, please visit","c79Zuo": "Leave blank for a permanent ban.",@@ -1223,6 +1308,7 @@"cDqj91": "identify users","cEIr3W": "This member will only have access to the selected sites.","cGNlRB": "Upgrade to Pro to add more websites",+ "cLVuZE": "Off, the key can do anything you can.","cOkfeK": "not contains","cPbI/I": "You don't have permission to view team settings.","cQyKR1": "Endpoints",@@ -1248,6 +1334,8 @@"ckBJVF": "This action cannot be undone. This will permanently delete the site \"{siteName}\" and all of its analytics data.","cmDzrA": "There was a problem fetching the events. Please try again later.","cmGAVy": "Page size:",+ "cnNyG1": "You haven't copied this key yet. Once you close this dialog, it can't be shown again.",+ "cswwmD": "Cancel your subscription in <link>Billing</link> first.","cws4D5": "AI agent","cxFnnE": "No traits yet","cyR7Kh": "Back",@@ -1256,14 +1344,17 @@"d3wbXx": "Session","d5LpmR": "Loading journey data...","d6avGo": "Submissions",+ "d6goN8": "Resend invitation to {email}","dCxCGt": "Define the conversion while creating the experiment.","dDhthw": "Select an endpoint from the list to configure parameters","dG+vpX": "Choose which Search Console property you want to connect to this site",+ "dJ1f+B": "Resets daily.","dLj+dT": "Implement","dM+p3/": "From","dOQCL8": "Display name","dP8bUe": "Event detail level","dSrAoR": "Variant keys must be unique",+ "dXPePT": "{count} events a month","dZAp5K": "Only the main dashboard page can be viewed from this embed.","dcLGy5": "Display the top 5 countries visiting your site.","df6Mb3": "Accept transfer",@@ -1281,17 +1372,20 @@"dv4SpB": "No imports yet","dyhF/4": "Cancel anytime.","e/U0Xt": "Conversion Rate",+ "eA+3rt": "Cancel invitation","eA5EH7": "Search organizations...",+ "eATKmk": "For sign-in, reports and invitations.","eDqstJ": "24h Events",+ "eE4RqV": "Expired {date}","eF7TQV": "What happened?","eGIKNJ": "Top Pages","eHclX+": "Form Submissions","eI2Bh6": "Troubleshooting guide","eKEL/g": "Pending","eL0kqa": "Trait key",+ "eMN/Yw": "{plan} stays active until {date} and you won't be charged again.","eOj4Bs": "Event name","eQnbde": "Disconnect Google Search Console?",- "eYX7hS": "Update your email address for account notifications","ebEqgQ": "You have an active subscription. Please cancel your subscription before deleting your organization.","eetmtV": "Their organization role","ekXood": "Unlimited",@@ -1304,23 +1398,26 @@"f19YrE": "contains","f3ocee": "Exclude traffic from specific countries. Events from these countries will not be tracked in your analytics.","f3v0b6": "Web Vitals Collection is Disabled",+ "f48Obw": "No one matches “{query}”","f5efCD": "Pick the outcome",+ "f5mkp4": "Subscription required.","f7dn8W": "Raises members' role on these sites; never lowers it.",- "f7uwif": "Organize sites into teams to control which members can access them.","fB09El": "Paths starting with /blog/","fDjNLX": "You're about to import a large file ({size}). This may take several minutes to process. Are you sure you want to continue?",+ "fFgvN+": "Used with your email to sign in.","fGblXC": "Or follow a setup guide for your platform","fH8TQL": "Trait value","fItAD9": "Cohort",- "fKrHaE": "Free Plan","fNCCY7": "Basic","fOVatJ": "Embed widget disabled","fQsGgo": "Identify User","fTWodj": "Organization Name",+ "fVTLuf": "Hold to delete account","fWKwFM": "Editor","fWblDI": "Initial Page View","fXdkiI": "is","fZgP9x": "Remove this member?",+ "fa6kPm": "Cancel this invitation?","fcj5H7": "Public Analytics","fe0rMF": "Keyword","fepi00": "Unknown browser",@@ -1336,12 +1433,12 @@"fx99AL": "Weak","fz0z4c": "Plan","g12Dke": "Growth",+ "g1Jl01": "{role} on {count}","g1MtWv": "You may want to notify your organization owner.","g1ls4V": "Delete Session Replay","g34TTZ": "Time to wait before tracking a pageview after URL changes","g4dAtI": "Assign a user ID to this visitor. Their past activity from this device will be linked to it.","g8H9Vw": "Failed to remove member",- "gHnd+A": "Limit this key to specific resources. Leave off for a full-access key that can do everything you can.","gI1OXG": "Delete Site","gK3VmA": "Clicked button","gMhqKV": "Clone Funnel",@@ -1373,6 +1470,7 @@"gzX6Vt": "key","gztENP": "Day {value}","h+iG2R": "API key deleted",+ "h1UFoL": "The invitation sent to {email} will stop working. You can invite them again later.","h3ICzV": "Loading sessions...","h5P++h": "Variants","h6rdDs": "Cumulative Layout Shift",@@ -1391,6 +1489,7 @@"hX5PAb": "No results found","hXzjcV": "Date and time","hYOE+U": "Invite",+ "hZ1jIQ": "Billed annually, 4 months free.","hZOGw4": "Each trait key must be unique.","hcuyj8": "Delete API key {name}","hfiE8k": "Failed to update team",@@ -1400,7 +1499,6 @@"hlmkcL": "Health","hmloF3": "Device Information","hmnIY5": "Card",- "hncBRq": "Invite Member","hnp8iI": "Generate a private link to share a read-only view of this dashboard with your team.","hq3XcK": "Last {count, plural, one {# hour} other {# hours}}","hsxHXY": "Choose a plan to turn tracking back on.",@@ -1409,7 +1507,7 @@"hyfdry": "Pageview","i/DU33": "Enable if tracking requests reach Rybbit through your own proxy or CDN (Cloudflare Worker, CloudFront, nginx). Visitor IPs will be read from forwarded headers instead of the connecting IP.","i1G+Ml": "Please contact your organization owner to upgrade.",- "i7B/4+": "Permanently delete this organization and all its data",+ "i97YOm": "Sign-in & security","i9WP0T": "Browser Version","iBImEo": "Hypothesis","iBRQen": "Subscribe Now",@@ -1434,18 +1532,21 @@"ifZ5a3": "Search tags...","ifnPnm": "Measures loading performance. LCP marks the time when the largest content element becomes visible in the viewport.","ipMy2E": "Redirecting to login page...",+ "ipwkMx": "Portal URL not received.","irFBKn": "Last 7 days","isGKnz": "Documentation","isUnnK": "Web Vitals collection enabled","itC9lG": "Basics",+ "itPgxd": "Profile","iv7EVe": "All sites",+ "iynSFC": "{count, plural, one {Adds nothing for # person who has all sites} other {Adds nothing for # people who have all sites}}","izvHMl": "Identify","j1jt9l": "Connect to Rybbit","j3ehbn": "Please use a stronger password","j5kA5A": "There was a problem fetching the errors. Please try again later.","j6Cfhx": "Remove segment","j7BiRg": "No event selected.",- "j7DIJR": "Update your organization name",+ "j7WSfa": "Unsaved changes","j8JkB/": "Hacker News","jBznVV": "Goal Name (optional)","jCwXG9": "Session replay enabled",@@ -1453,17 +1554,18 @@"jGWq1h": "Time Zone","jHJmjf": "No results","jHfCjd": "Void",+ "jHgnUx": "Status: {status}. Ends or renews on {date}.","jKosWS": "Anyone can view your site analytics without logging in","jMg03G": "Failed to update subscription override","jRo4kO": "Could not save the annotation","jTMl6R": "Create feature flag",+ "jTNIVx": "{name} has an active subscription, so cancel it in <link>Billing</link> first.","jTyD+A": "Connect Property","jUSc45": "Timezones","jWnLyL": "Waiting for the first screen view from {name}","jWq9Z8": "Custom range","jXmB1T": "Replays will appear here once session replay is enabled.","jZu+25": "Define the question",- "ja2Zok": "Upgrade To Pro","jaPj24": "Please select a property","jfXqLp": "No Properties Found","jhVKvF": "Does not equal",@@ -1478,6 +1580,8 @@"jt9BUv": "No conversions yet","jtkU3K": "Conversion","jvo0vs": "Save",+ "jy7qwm": "Your profile, sign-in and personal API keys. They go with you into every organization you belong to.",+ "k+dwHu": "{count, plural, one {# person with all-site access} other {# people with all-site access}}","k+kHlN": "Team Name","k/CG+N": "Variant keys are required","k1sXXZ": "Failed to generate query",@@ -1490,19 +1594,20 @@"kD5wun": "sign in","kD8sQL": "Click \"Run\" to see the response","kF9XUo": "Timestamp",+ "kJ5W29": "You","kJfNiC": "Product pages with numeric IDs","kL9vD5": "Enter your domain to open a live dashboard. No account needed until you want to keep it.","kLNEaL": "Please complete the captcha verification",+ "kLSkAk": "Cancel trial","kLezBF": "Web Vitals","kNp7lL": "Created {time}","kR140n": "No matching timezone","kT8vGm": "UTM Medium",- "kTH3Q2": "You have exceeded your monthly event limit. Please contact support for assistance.","kWMpjI": "Available on","kYpf9a": "Search or add value","kZki3s": "Earn 50% recurring commission by referring Rybbit.",+ "kaXNR2": "Lifetime plan from AppSumo.","kc9gzx": "Couldn't send the email. Try again in a moment.",- "kdqPM0": "You have a custom plan with up to {limit} pageviews per month.","kehGIT": "URL parameters tracking enabled","kgLyso": "Total Time","kil8JO": "Edit Member",@@ -1510,6 +1615,8 @@"knAuaJ": "Couldn't copy the link. Select it and copy it manually.","kscC4K": "Move Site","ktXibd": "Need more than 20M events? Contact us for a custom plan.",+ "kv/nxM": "Your card and billing email are managed in Stripe.",+ "kz68CI": "New organization","kzaYlD": "Screen","l2og1o": "No experiments yet","l31E69": "Start with the behavior you want to change and the metric you expect to move.",@@ -1521,11 +1628,13 @@"l8wanU": "Joined","l94vPo": "{confidence}% confidence","lFpn8Y": "Search values...",+ "lGiM0d": "Pageviews and events across all sites.","lHFZhY": "{count} dropped","lIEejV": "Show advanced options","lILp7K": "Bot blocking disabled","lKv8ex": "Default","lOlBSr": "Keep the title under 120 characters",+ "lPhu6n": "Access by site","lRnHfd": "Events failed validation","lVP3yI": "No value needed","lXZjmr": "Invite a new member to this organization.",@@ -1533,6 +1642,7 @@"lYB8jy": "{count} users","lbr3Lq": "Copy link","lg/l37": "Session %",+ "lgv6Qm": "After that this organization has no plan, and its sites stop collecting new events. Data already collected is kept.","lmjFSA": "Select Google Search Console Property","lnIbba": "IP address tracking disabled","lnaWo/": "Region",@@ -1566,15 +1676,19 @@"mgYBYo": "Last 90 days","mhmZ+P": "Session Replay","mkp+qF": "Additional Parameters",- "mlMQEA": "Send Weekly Email Reports",+ "mmafso": "Subscribe now","mtBS10": "You'll be charged when you subscribe. You can cancel anytime.",+ "mwtohn": "from {role}","n+GeZI": "with events in the last 30 days","n+tV1v": "Exclude traffic to specific pages. Use * as a wildcard (e.g., /admin/* or /preview). Matching is case-insensitive.","n02jRA": "Accent color","n5Q9H0": "Event Name","n5QvJy": "Start date","n5XyC0": "This flag is evaluated server-side. Call the evaluate API from your backend instead of the browser script.",+ "n6y0PU": "{people, plural, one {# person} other {# people}} · {invited} invited","n9e0j6": "Select at least one site to view rollup analytics.",+ "nBIBjJ": "A traffic summary for each site you can access.",+ "nDfRHg": "Its teams have no members, so nobody else reaches this site.","nDvQwt": "Create a new goal","nFouWN": "Product Hunt","nGQuNF": "Pages per Session",@@ -1589,7 +1703,6 @@"na5psw": "Is not null","naIILe": "Delete Import","nhaiN+": "Add your first website to start tracking analytics",- "ni0MP6": "You are approaching your monthly event limit. Please contact support if you need more capacity.","niC6Ub": "Choose a plan","njW0hf": "{domain} stays with {organization}, and this link stops working.","nnuMWB": "Paths containing /blog/ followed by anything",@@ -1603,6 +1716,7 @@"o0jcye": "OS","o5Jj28": "Cannot delete account","o5XOA3": "{percent}% of your organization's event limit",+ "o7C/KT": "Add them to a team, or give them sites directly, so they can open a site.","o7g8s9": "e.g. ^/blog/.*","oA0ogD": "Both","oAFgOq": "Domain",@@ -1619,6 +1733,7 @@"oZhbMq": "Filter stats by","oacXfh": "Starts with","obVxeM": "no one",+ "obo67f": "To change it, we email a link to the new address. It takes over once you click that link.","odXlk8": "Log in","odrmaG": "Password changed successfully","oemoXC": "You don't have permission to view subscription settings.",@@ -1634,7 +1749,7 @@"orjNTN": "Device Info","orxRin": "Select a plan override","osCh7/": "Claim site",- "ou8jxS": "No pending invitations",+ "otTBkE": "{count, plural, one {# member} other {# members}}","ovJ26C": "Medium","ox5r8z": "Account successfully deleted","oxcZjO": "Unable to complete authorization.",@@ -1646,9 +1761,9 @@"pEc/5k": "Click %","pGEkVl": "Button click tracking enabled","pH6sDe": "Add this code to your app, then start the experiment from the list when you are ready.",- "pIN/qH": "You are on the AppSumo lifetime plan with up to {limit} events per month.","pJ+x3b": "Source Information","pTHVrx": "Maximum 100 IP exclusions allowed",+ "pULLlp": "Error: {message}","pW35eH": "No members in this organization","pW4lxD": "Pattern","pZrL8g": "Exported {fileCount} files",@@ -1658,7 +1773,6 @@"poMLbD": "Filter experiments","poXmsM": "Enter your email address and we'll send you a verification code to reset your password.","pq9Eeh": "Entry Page:",- "pqJqst": "{plan} Plan","ptwP96": "Inviting...","puODkp": "City:","puhcpn": "Funnels",@@ -1706,6 +1820,7 @@"rDEYPT": "Select the organization to remove {email} from. They will lose access to all resources in that organization.","rHJwM0": "Edit feature flag {key}","rIc2Hm": "Update Funnel",+ "rLBR8a": "Member seats used","rNoUmU": "Manages members, sites and settings, but not billing","rOpS8J": "Rybbit v{latest} is available (you're on v{current})","rRjjyk": "Consider upgrading to avoid interruptions.",@@ -1713,7 +1828,6 @@"rWPtv+": "Query parameter","rYzinM": "Read the flag in code before rendering the tested experience.","rbrahO": "Close",- "rd5F5r": "Custom Plan","rdE5Ca": "Rollout","rggp6J": "Last 60 Days","rk3ZU9": "Good CLS scores are 0.1 or less.",@@ -1724,6 +1838,7 @@"rvirM2": "Location","rxCN7M": "Failed to delete feature flag","s+vZVl": "Funnel Preview",+ "s3IOQQ": "Edit {name}","sE0HjV": "Enabling Web Vitals will increase your event usage.","sEqhTf": "Failed to load sites data. Please try again later.","sFoGzO": "No organizations",@@ -1741,11 +1856,12 @@"sd2ieZ": "Week","siqsij": "Only the owner of the organization can manage the subscription.","snh6R6": "Label (optional)",- "soeWeh": "Organization Settings",+ "swEvnD": "Consider upgrading to a paid plan for higher limits.","sy+pv5": "Email","szFhEu": "Animals & Nature","t2Iac8": "Min Duration","t2uvIi": "Operating System",+ "t3f+2z": "People in this organization.","t42UqP": "An error occurred during signup","t6nrnE": "No Team","tBR+UL": "Automatically track form submissions and input/select changes",@@ -1768,6 +1884,7 @@"tWsaCv": "Copied text (optional)","tf1lIh": "Free","tgfrrb": "Only the organization owner can start a plan. Tracking turns on as soon as they do.",+ "tn/WRX": "<b>{role}</b> on every site","to5LyQ": "Last 14 Days","trk2RK": "Could not delete the annotation","ttyUm0": "{sessions} sessions · {conversions} conversions",@@ -1787,17 +1904,21 @@"uA0DvF": "Failed to remove user from organization","uCk8r+": "Already have an account?","uDXLhQ": "No rows returned",+ "uGFjyJ": "For menus and labels.","uHJ/7A": "Install the SDK package:","uHnMYi": "New segment",+ "uK2PEE": "Trial expired",+ "uKiVnn": "You'll see the key once, right after you create it.","uL30u3": "Your role can't delete sites","uMhpKe": "Color","uPDgth": "Hostname",+ "uUF+Zq": "Create team","uWRAQk": "Choose your plan","uWWCBy": "First-Party Proxy",- "uXnWVV": "{count} sites · {role}","uYI322": "Event limit","ucusZJ": "Search timezones","ueH42Q": "Get started with Rybbit",+ "ueYsIr": "{price}/month","ugKpxV": "Not regex","ugvOOE": "No goals match \"{searchQuery}\"","uhu5aG": "Public",@@ -1809,6 +1930,7 @@"uq4QAg": "Unnamed","urfe0A": "First Contentful Paint","usSL9o": "E.g. /users/*/profile will hide usernames, /orders/** will hide order details",+ "ut/ErS": "{people, plural, one {# person} other {# people}}","utbyMo": "Please select a file","uuJSCu": "No goals found","uxcVP6": "Enter value...",@@ -1824,19 +1946,21 @@"vCL+NV": "Please select at least one site or disable site restrictions","vCqX8Z": "Embed widget enabled","vDpLV2": "Changed {type}input",- "vFH04o": "Change your account password","vFf5xV": "Entry Pages","vGMvPS": "Add a primary goal to measure conversions for each variant.","vHXIqS": "Form name or ID (optional)","vKB00F": "Failed to add user to organization","vONi+O": "Country",+ "vPBvvX": "Failed to resend invitation","vPG+A7": "Create flag",+ "vRupzr": "Free trial.","vVHo4Y": "performance events","vYmJVk": "Start your 7-day free trial — no credit card charges until the trial ends.","vde3+c": "Unique Visitors","ve/GDd": "Generate Private Link","vfG+nh": "Confirm Password","vgIb9E": "Outdoors",+ "vhQqLj": "Range","viXE32": "Private","vjs4rO": "Edit subscription override","vmlGzW": "Conversion event",@@ -1851,6 +1975,7 @@"wC1tEM": "Failed to connect property","wDjYR2": "This member has access to sites granted through their teams ({teams}), plus any site not assigned to a team.","wEQDC6": "Edit",+ "wEebuR": "Create key","wFGilL": "Deleted segment “{name}”","wFmAFC": "Page","wFqRlU": "Last 6 months",@@ -1874,21 +1999,22 @@"wYsv4Z": "Monthly","wbsq7O": "Usage","wc+2Lv": "Track when users click on external links",+ "wiSOTW": "Your trial ends today. Upgrade to continue tracking.","wkXAvx": "Failed to update member","wmFdws": "Move up","wmdo1a": "Each condition is evaluated in order. The first match wins.","wmrKEg": "Save Funnel","wmyg6t": "Resource",- "wnSZSp": "Create API Key","wninYK": "No session data","woXwSB": "Export failed. Please try again.","wqoG/5": "Defined as","wsKkfk": "No feature flags yet","wsUmh9": "Team",+ "wvpAzz": "{count, plural, one {# person} other {# people}}",+ "wyxJrL": "Delete account","wzKC2G": "Add a primary goal later to calculate conversions for each variant.","x0mEuT": "New account registration is currently disabled. If you have an account, you can","x61Ey6": "admin",- "x6GhQj": "Event Limit Exceeded","x9j/v6": "IP address tracking enabled","xA1LY9": "You need to create or be added to an organization before you can manage teams.","xIB8Kg": "Failed to update organization name",@@ -1905,24 +2031,23 @@"xmBzsn": "Export as PDF Report","xmcVZ0": "Search","xnky+a": "Identified only",- "xrcdXO": "Manage your personal account settings","xrk6zg": "Updated",+ "xumx/4": "Billed monthly.","xvsXfo": "with custom properties.","y/S0vE": "Each member's own role","y1WhQk": "Your new password","y1Z3or": "Language","y3qXTf": "Copies","y467+0": "Failed to save goal",- "y5jEwG": "Enable or disable automatic email reports for your account.","y9vcUt": "You've been invited by {inviterEmail}","yAAjri": "Enter OTP Code","yAaNQA": "Admins",- "yBFhF6": "Your 14-day free trial has ended. You need to subscribe to continue tracking visits again.","yBqtD8": "{count} sessions (24h)","yGsZm0": "Forms","yGxRRq": "Enhance privacy with daily rotating salts for user IDs","yIKO+Z": "CTR","yMG/h7": "Site Settings",+ "yOdaia": "Set at creation. It can't be changed.","yQUiLi": "Loading usage data...","yZLleP": "SPA navigation tracking enabled","yZaYFs": "Goal Type",@@ -1930,6 +2055,7 @@"yb9x0I": "User ID salting enabled","yc/tuy": "End time","yi/uLq": "events",+ "yiPdvO": "Takes effect when the trial ends.","yl0JSO": "Changing these notes does not change assignment or tracking.","ym0FiC": "Upgrade your plan to continue collecting analytics.","ytceSa": "No goal connected",@@ -1939,7 +2065,9 @@"z0076i": "Path goals work when conversion is a URL, like /thank-you. Event goals work for explicit actions.","z2PIbo": "Create the assignment","z2xGiR": "Annotation deleted",- "z4wbga": "Use an organization API key instead",+ "zAn0Ok": "Websites tracked by this organization.",+ "zAvz+s": "Shown in the nav and on invitations.",+ "zBq1cG": "Today's count couldn't be read. The daily limit still applies.","zD9VOD": "Click to edit traits","zGvUQx": "Is not","zINlao": "Owner",@@ -1958,8 +2086,10 @@"zXzUuE": "This link expires {date}.","zY8xSk": "Enter the domain of the website you want to track","zZE+e+": "Experiments use multivariate feature flags to assign each visitor to one stable variant.",+ "zkmNd3": "Shown to teammates in member lists.","znwd1N": "Delete Funnel","zoRFJV": "The bundle or package identifier used for tracking",+ "zsz6jF": "Invite people","zuA3Bg": "YouTube","zuqMfZ": "Map","zvbn/a": "Use a different email",diff --git a/client/messages/es.json b/client/messages/es.jsonindex a2acbde87..7171b1052 100644--- a/client/messages/es.json+++ b/client/messages/es.json@@ -35,7 +35,6 @@"/0tjRq": "Error al mover el sitio","/20q2D": "Tu contraseña se ha restablecido correctamente.","/6bl6s": "Clic en botón",- "/8v8/t": "Eliminar organización","/AMnMU": "Compartido con todos los sitios de la organización","/CkSRc": "O continuar con correo electrónico","/EBXiO": "Este miembro tiene acceso a todos los sitios de la organización.",@@ -168,7 +167,6 @@"4+6INx": "no regex","4/DApn": "Últimas 6 horas","41XJFz": "No se encontraron rasgos",- "42Qo3+": "Las claves de API de esta organización","450Fty": "Ninguno","45gABM": "¿Estás seguro de que quieres eliminar \"{name}\"? Esta acción no se puede deshacer.","45hFQt": "Incobrable",@@ -187,7 +185,6 @@"4Y+tpi": "Ver una demostración de esta función","4YGHzj": "Ningún experimento coincide con \"{search}\"","4ZtLoe": "Ruta",- "4cfxQk": "Nivel de plan AppSumo {tier}","4eYvJG": "Widget de Visitantes en Vivo","4gDkIw": "Experimento actualizado","4gXpPi": "Invitación enviada a {email}",@@ -216,7 +213,6 @@"5xQQz7": "Mismos días de la semana","5y2qWO": "Conectando...","5yUsUe": "Repetición",- "5yu28t": "Estás en el plan Gratuito con hasta {limit} visitas por mes.","5zGub0": "Rastreo de Errores","62nsdy": "Reintentar","65uDP/": "El tráfico de bots y rastreadores conocidos no será rastreado",@@ -316,7 +312,6 @@"93oVTh": "Copiado al portapapeles","94Fg25": "Seleccionar todo","95stPq": "Completado",- "96ejG8": "Acercándose al límite","97DGta": "Crear equipo","97KPX7": "No se encontraron etiquetas.","99HM2b": "Objetivo de evento",@@ -369,7 +364,6 @@"AdNsDZ": "Registro desactivado","AeDqHA": "Perderá inmediatamente el acceso a los sitios y datos de esta organización.","AkCxS/": "Motivo",- "AkVL9j": "Nombre de la clave de API","Asi2Jg": "Ocultar opciones avanzadas","Aujn2T": "Recuento","AyGauy": "Iniciar sesión",@@ -385,9 +379,7 @@"BReFYW": "Cambios de entrada","BUxbet": "Propiedad de prefijo de URL","BVVhyH": "Últimos 14 días",- "BW3cmW": "Claves de API personales","BWpuKl": "Actualizar",- "BX8PCh": "Administra la configuración y los miembros de tu organización","BYZnfs": "No se registraron eventos.","BdV5Om": "Sitios","BffFao": "El rastreo de errores captura errores y excepciones de JavaScript de tu aplicación.",@@ -501,7 +493,6 @@"FIKvUB": "Añadir sitio","FIs3zs": "Segmento «{name}» guardado","FJ6r9E": "Continuar con Google",- "FLgSbA": "¿Estás creando una integración de producción?","FQMQOJ": "Hubo un problema al obtener los usuarios. Inténtalo de nuevo más tarde.","FQTq3a": "Añadir {userEmail} a una organización con un rol específico.","FT1lfL": "Empieza a recopilar análisis en minutos",@@ -531,7 +522,6 @@"GBgVhg": "Usar el emoji que escribiste","GDgEmC": "No se encontraron eventos","GH6rlO": "Necesitas seleccionar una organización para gestionar tu suscripción.",- "GHbyp+": "Suscripción Requerida","GIL+DR": "Rastreo de interacciones en formularios activado","GIlxUl": "Combina el widget con el tema de tu sitio.","GM/hd6": "Invitación",@@ -559,7 +549,6 @@"H/r5m6": "Mover hacia abajo","H1TwHY": "Error al cargar usuarios","H359cw": "Introduce un periodo que termine después de comenzar y no sea posterior a hoy",- "H4uuIK": "Eliminar permanentemente tu cuenta y todos los datos asociados","HAlOn1": "Nombre","HB6OFk": "Error al crear la clave de API","HFp8uY": "Rendimiento por navegador",@@ -580,7 +569,6 @@"HtTwhf": "Identificador de la aplicación actualizado correctamente","Humfno": "Fecha de fin","Hv8xC3": "Cargando exclusiones de ASN...",- "HyiDcy": "Invitaciones","I3rqT8": "Confirma tu nueva contraseña","I4Etgx": "Devolver una carga útil JSON","I5k4g/": "Usar existente",@@ -606,12 +594,10 @@"IbhgkP": "Bloqueo de bots activado","Il1aAo": "Analíticas web de código abierto impulsadas por Rybbit","IoiMPE": "15 min",- "IpNrN4": "Has excedido tu límite de eventos mensuales. Por favor, actualiza a un plan Pro para seguir recopilando analíticas.","ItR6u3": "Países excluidos ({count})","IuFETn": "Duración","IuPATc": "Mostrando visitantes asignados. Llama a rybbit.flag(\"{flagKey}\") donde se renderiza la variante para medir los visitantes realmente expuestos a ella.","IvPFG7": "No se pudo actualizar el rol del sistema",- "Ix3wt3": "Más información sobre equipos","IxrHg4": "Filtrar {count} elementos...","J+At6e": "Último envío","J+DDdr": "Editar configuración del sitio",@@ -673,7 +659,6 @@"KYAqNj": "Use * para coincidir dentro de un segmento. Use ** para coincidir con cualquier cosa.","KaylUJ": "La nueva contraseña y la confirmación no coinciden","KeO51o": "Canal",- "KfIZ6o": "Actualiza tu nombre mostrado en la plataforma","KiXNvz": "Ejecutar","KjXPXZ": "{count} sesiones","KkOM4O": "Se permiten máximo 100 exclusiones de ruta",@@ -716,7 +701,6 @@"M/zZVx": "Añadir filtro","M2oRL5": "Elegir una fecha y hora","M6W/5v": "{count} correos de propietarios copiados",- "MAOWHK": "Tus claves de API personales","MAmm3B": "Excluir tráfico de nombres de host específicos, como dominios de staging o vista previa. Use * como comodín (p. ej., localhost o *.vercel.app). La coincidencia no distingue entre mayúsculas y minúsculas.","MD/3gh": "Copiar ID de usuario","MGHdwe": "No hay usuarios en línea en los últimos 5 minutos",@@ -760,7 +744,6 @@"NNQzoi": "Buscando...","NOTA3a": "Fuerte","NPL5hM": "Omitir patrones",- "NQgbYA": "Configuración de la cuenta","NRXNLC": "Clics en Botones","NUXhb8": "No hay datos de suscripción disponibles","NUknhD": "Amigos",@@ -776,7 +759,6 @@"O/IeYM": "Aprende cómo identificar usuarios","O/w//A": "{count} eventos","O6zCyZ": "Clave de la bandera",- "O8Sc7E": "Acceso al sitio","O8lxEI": "Consulta la documentación de Web Vitals de Google para los umbrales.","OFEa0m": "No se establecieron rasgos","OGk6DC": "Este año",@@ -794,10 +776,8 @@"OfmST8": "Aceptar invitación","Oh4usQ": "Seleccionar métrica","Oj6AtK": "Versión del SO",- "OlRI+i": "Claves de API de la organización","Omj2fC": "Deshabilitando...","OtO9EF": "Añade etiquetas para organizar y filtrar tus sitios.",- "OtSSs+": "{count} sitios","Otefae": "Dimensión","OvzONl": "Desactivado","OxNUFK": "Tu panel permanece abierto durante 24 horas. Reclámalo con una prueba gratuita de 7 días para conservarlo.",@@ -827,7 +807,6 @@"PoyENW": "Error al cargar usuarios. Inténtalo de nuevo más tarde.","PpIaGj": "Es nulo","Ppx673": "Informes",- "PqV1fm": "Selecciona tu idioma preferido","PqvkpE": "Elegir un objetivo","Ps71bZ": "Crea un nuevo equipo para agrupar sitios y controlar el acceso de los miembros.","PwlAG9": "Mostrar en el panel público y en los enlaces compartidos",@@ -866,7 +845,6 @@"Qzul6+": "ID del sitio","R/6nsx": "Suscripción","R/eOkj": "Pro",- "R2OqnW": "Eliminar cuenta","RC2XA4": "Eliminando...","RE0v43": "Eventos personalizados","RL7HbL": "Pide al propietario de tu organización que actualice a Pro para desbloquear {message}",@@ -898,7 +876,6 @@"S4u7Gc": "Obtén tu clave de API","S4zxrU": "Contar sesiones donde tu aplicación dispara un evento con nombre.","S5IFjk": "Crea un equipo para agrupar sitios y administrar el acceso de los miembros.",- "S7U3Nx": "Te estás acercando a tu límite de eventos mensuales. Considera actualizar a un plan de pago para obtener límites más altos.","SB3+JE": "No hay datos de embudo disponibles","SBUMrd": "Filtrar banderas de funcionalidad","SBoJg8": "¿Eliminar esta clave de API?",@@ -915,7 +892,6 @@"Sjo1P4": "Personalizado","SnIGkx": "Esta es la única vez que verás esta clave. Cópiala ahora y guárdala en un lugar seguro.","SoySgJ": "Referidor:",- "StUScz": "{count} miembros","SubaMm": "No se pudo guardar el segmento","SyINSq": "Error al ejecutar la consulta","T+D/1o": "Últimos {minutes} minutos",@@ -961,7 +937,6 @@"UAVBcs": "{sessions} sesiones · {conversions} conv.","UBQJK/": "Objetivo sin título","UE55jO": "Error al eliminar la cuenta: {error}",- "UEl0Sh": "Prueba expirada","UF6kPm": "Directo","UG2tSi": "Últim{count, plural, one {o # minuto} other {os # minutos}}","UG5qoS": "Sin datos",@@ -981,7 +956,6 @@"UgH9Vn": "Texto copiado","UgYEE0": "Navegación Día","UjlqkD": "Contraseña fuerte",- "UlLea3": "Una clave personal actúa como tú, con exactamente tu mismo acceso, para scripts personales y conexión de clientes MCP.","Um1u7W": "Embudo actualizado correctamente","UmEsZF": "Actividades","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "opcional","V52jNn": "Habilitado","V9fGSG": "Leer la identidad de tu cuenta y la información de tu perfil.",- "VAEdEJ": "— sigue funcionando cuando cambian los miembros del equipo (solo administradores y propietarios).","VB5EJL": "Mismo período del año pasado","VF3DcR": "Segmentos","VJWJyq": "Tipo de dispositivo",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "¿Qué quieres consultar?","VqI0Nz": "Ubicación y Dispositivo",- "VtLIgh": "Una clave de organización es la credencial propia de la organización: puede acceder a todos los sitios de esta organización y sigue funcionando cuando los miembros se van. Úsala para integraciones de producción.","Vwukkb": "Añadir carga útil JSON","VyvTDF": "Pantalla:","VzzYJk": "Crear",@@ -1104,7 +1076,6 @@"ZXp0z1": "Características","ZXuaOL": "No se pudo eliminar al usuario","ZbWc+A": "Dirección IP",- "ZcBC7s": "Administra tu suscripción y facturación.","Zh+5A6": "Activado","ZjhoiP": "Selecciona un plan","Zqi/ST": "¿Deshabilitar la inserción del panel?",@@ -1236,7 +1207,6 @@"eL0kqa": "Clave del atributo","eOj4Bs": "Nombre del evento","eQnbde": "¿Desconectar Google Search Console?",- "eYX7hS": "Actualiza tu correo electrónico para notificaciones de la cuenta","ebEqgQ": "Tienes una suscripción activa. Cancela tu suscripción antes de eliminar la organización.","ekXood": "Ilimitado","ekfOaV": "Volver",@@ -1248,13 +1218,11 @@"f3ocee": "Excluye tráfico de países específicos. Los eventos de estos países no serán rastreados en tus analíticas.","f3v0b6": "Recopilación de Web Vitals Desactivada","f5efCD": "Elige el resultado",- "f7uwif": "Organiza los sitios en equipos para controlar qué miembros pueden acceder a ellos.","fB09El": "Rutas que comienzan con /blog/","fDjNLX": "Estás a punto de importar un archivo grande ({size}). Esto puede tardar varios minutos en procesarse. ¿Estás seguro de que quieres continuar?","fGblXC": "O sigue una guía de configuración para tu plataforma","fH8TQL": "Valor del atributo","fItAD9": "Cohorte",- "fKrHaE": "Plan Gratuito","fNCCY7": "Básico","fOVatJ": "Widget de inserción desactivado","fQsGgo": "Identificar usuario",@@ -1282,7 +1250,6 @@"g34TTZ": "Tiempo de espera antes de rastrear una visita después de cambios de URL","g4dAtI": "Asigna un ID de usuario a este visitante. Su actividad anterior desde este dispositivo quedará vinculada a él.","g8H9Vw": "Error al eliminar el miembro",- "gHnd+A": "Limita esta clave a recursos específicos. Déjalo desactivado para una clave de acceso completo que pueda hacer todo lo que tú puedes hacer.","gI1OXG": "Eliminar Sitio","gK3VmA": "Clic en botón","gMhqKV": "Clonar embudo",@@ -1339,7 +1306,6 @@"hlmkcL": "Salud","hmloF3": "Información del dispositivo","hmnIY5": "Tarjeta",- "hncBRq": "Invitar miembro","hnp8iI": "Genera un enlace privado para compartir una vista de solo lectura de este panel con tu equipo.","hq3XcK": "Últim{count, plural, one {a # hora} other {as # horas}}","hw9VFi": "Más emojis",@@ -1347,7 +1313,6 @@"hyfdry": "Vista de página","i/DU33": "Activa esta opción si las solicitudes de seguimiento llegan a Rybbit a través de tu propio proxy o CDN (Cloudflare Worker, CloudFront, nginx). Las IP de los visitantes se leerán desde los encabezados reenviados en lugar de la IP de conexión.","i1G+Ml": "Contacta al propietario de tu organización para actualizar.",- "i7B/4+": "Elimina permanentemente esta organización y todos sus datos","i9WP0T": "Versión del Navegador","iBImEo": "Hipótesis","iBRQen": "Suscríbete ahora",@@ -1383,7 +1348,6 @@"j5kA5A": "Hubo un problema al obtener los errores. Inténtalo de nuevo más tarde.","j6Cfhx": "Quitar segmento","j7BiRg": "Ningún evento seleccionado.",- "j7DIJR": "Actualiza el nombre de tu organización","j8JkB/": "Hacker News","jBznVV": "Nombre del objetivo (opcional)","jCwXG9": "Repetición de sesión activada",@@ -1401,7 +1365,6 @@"jWq9Z8": "Rango personalizado","jXmB1T": "Las repeticiones aparecerán aquí una vez que la repetición de sesión esté activada.","jZu+25": "Define la pregunta",- "ja2Zok": "Actualizar a Pro","jaPj24": "Por favor, selecciona una propiedad","jfXqLp": "No se encontraron propiedades","jhVKvF": "No es igual a",@@ -1435,11 +1398,9 @@"kNp7lL": "Creado {time}","kR140n": "Ninguna zona horaria coincide","kT8vGm": "Medio UTM",- "kTH3Q2": "Has excedido tu límite mensual de eventos. Por favor, contacta con soporte para obtener ayuda.","kWMpjI": "Disponible en","kYpf9a": "Buscar o añadir valor","kZki3s": "Gana un 50% de comisión recurrente por recomendar Rybbit.",- "kdqPM0": "Tienes un plan personalizado con hasta {limit} visitas por mes.","kehGIT": "Rastreo de parámetros de URL activado","kgLyso": "Tiempo total","kil8JO": "Editar Miembro",@@ -1500,7 +1461,6 @@"mgYBYo": "Últimos 90 días","mhmZ+P": "Repetición de Sesión","mkp+qF": "Parámetros adicionales",- "mlMQEA": "Enviar informes semanales por correo","n+GeZI": "con eventos en los últimos 30 días","n+tV1v": "Excluir tráfico hacia páginas específicas. Use * como comodín (p. ej., /admin/* o /preview). La coincidencia no distingue entre mayúsculas y minúsculas.","n02jRA": "Color de énfasis",@@ -1521,7 +1481,6 @@"na5psw": "No es nulo","naIILe": "Eliminar importación","nhaiN+": "Añade tu primer sitio web para empezar a rastrear analíticas",- "ni0MP6": "Te estás acercando a tu límite mensual de eventos. Por favor, contacta con soporte si necesitas más capacidad.","nnuMWB": "Rutas que contienen /blog/ seguido de cualquier cosa","noZdV2": "Eliminando...","npZO3g": "Clic derecho",@@ -1562,7 +1521,6 @@"orjNTN": "Información del dispositivo","orxRin": "Selecciona una anulación de plan","osCh7/": "Reclamar sitio",- "ou8jxS": "Sin invitaciones pendientes","ovJ26C": "Medio","ox5r8z": "Cuenta eliminada correctamente","oxcZjO": "No se pudo completar la autorización.",@@ -1574,7 +1532,6 @@"pEc/5k": "% Clic","pGEkVl": "Rastreo de clics en botones activado","pH6sDe": "Añade este código a tu aplicación y luego inicia el experimento desde la lista cuando estés listo.",- "pIN/qH": "Estás en el plan de por vida de AppSumo con hasta {limit} eventos por mes.","pJ+x3b": "Información de la fuente","pTHVrx": "Máximo 100 exclusiones de IP permitidas","pW35eH": "No hay miembros en esta organización",@@ -1586,7 +1543,6 @@"poMLbD": "Filtrar experimentos","poXmsM": "Introduce tu correo electrónico y te enviaremos un código de verificación para restablecer tu contraseña.","pq9Eeh": "Página de entrada:",- "pqJqst": "Plan {plan}","ptwP96": "Invitando...","puODkp": "Ciudad:","puhcpn": "Embudos",@@ -1639,7 +1595,6 @@"rWPtv+": "Parámetro de consulta","rYzinM": "Lee la bandera en el código antes de renderizar la experiencia probada.","rbrahO": "Cerrar",- "rd5F5r": "Plan personalizado","rdE5Ca": "Despliegue","rggp6J": "Últimos 60 días","rk3ZU9": "Las puntuaciones buenas de CLS son 0.1 o menos.",@@ -1666,7 +1621,6 @@"sd2ieZ": "semana","siqsij": "Solo el propietario de la organización puede gestionar la suscripción.","snh6R6": "Etiqueta (opcional)",- "soeWeh": "Configuración de la organización","sy+pv5": "Correo electrónico","szFhEu": "Animales y naturaleza","t2Iac8": "Duración mínima",@@ -1744,7 +1698,6 @@"vCL+NV": "Selecciona al menos un sitio o deshabilita las restricciones de sitios","vCqX8Z": "Widget de inserción activado","vDpLV2": "{type}campo de entrada cambiado",- "vFH04o": "Cambia la contraseña de tu cuenta","vFf5xV": "Páginas de entrada","vGMvPS": "Añade un objetivo principal para medir las conversiones de cada variante.","vHXIqS": "Nombre o ID del formulario (opcional)",@@ -1798,7 +1751,6 @@"wmdo1a": "Cada condición se evalúa en orden. La primera coincidencia gana.","wmrKEg": "Guardar embudo","wmyg6t": "Recurso",- "wnSZSp": "Crear clave de API","wninYK": "No hay datos de sesión","woXwSB": "Error en la exportación. Inténtalo de nuevo.","wqoG/5": "Definido como",@@ -1807,7 +1759,6 @@"wzKC2G": "Añade un objetivo principal más adelante para calcular las conversiones de cada variante.","x0mEuT": "El registro de cuentas nuevas está actualmente desactivado. Si tienes una cuenta, puedes","x61Ey6": "Administrador",- "x6GhQj": "Límite de eventos excedido","x9j/v6": "Rastreo de dirección IP activado","xA1LY9": "Debes crear o ser agregado a una organización antes de poder administrar equipos.","xIB8Kg": "Error al actualizar el nombre de la organización",@@ -1824,18 +1775,15 @@"xmBzsn": "Exportar como informe PDF","xmcVZ0": "Buscar","xnky+a": "Solo identificados",- "xrcdXO": "Administra la configuración de tu cuenta personal","xrk6zg": "Actualizado","xvsXfo": "con propiedades personalizadas.","y1WhQk": "Tu nueva contraseña","y1Z3or": "Idioma","y3qXTf": "Copias","y467+0": "Error al guardar el objetivo",- "y5jEwG": "Activa o desactiva los informes automáticos por correo para tu cuenta.","y9vcUt": "Has sido invitado por {inviterEmail}","yAAjri": "Introduce el código OTP","yAaNQA": "Administradores",- "yBFhF6": "Tu prueba gratuita de 14 días ha finalizado. Necesitas suscribirte para continuar rastreando visitas nuevamente.","yBqtD8": "{count} sesiones (24h)","yGsZm0": "Formularios","yGxRRq": "Mejora la privacidad con sales rotativas diarias para los ID de usuario",@@ -1857,7 +1805,6 @@"z0076i": "Los objetivos de ruta funcionan cuando la conversión es una URL, como /gracias. Los objetivos de evento funcionan para acciones explícitas.","z2PIbo": "Crear la asignación","z2xGiR": "Anotación eliminada",- "z4wbga": "Usar una clave de API de la organización en su lugar","zD9VOD": "Haz clic para editar los rasgos","zGvUQx": "No es","zINlao": "Propietario",diff --git a/client/messages/fr.json b/client/messages/fr.jsonindex ac05fe08b..0835553b9 100644--- a/client/messages/fr.json+++ b/client/messages/fr.json@@ -35,7 +35,6 @@"/0tjRq": "Échec du déplacement du site","/20q2D": "Votre mot de passe a été réinitialisé avec succès.","/6bl6s": "Clic sur bouton",- "/8v8/t": "Supprimer l'organisation","/AMnMU": "Partagé avec tous les sites de l'organisation","/CkSRc": "Ou continuer avec e-mail","/EBXiO": "Ce membre a accès à tous les sites de l'organisation.",@@ -168,7 +167,6 @@"4+6INx": "pas regex","4/DApn": "6 dernières heures","41XJFz": "Aucun attribut trouvé",- "42Qo3+": "Les clés API de cette organisation","450Fty": "Aucun","45gABM": "Êtes-vous sûr de vouloir supprimer \"{name}\" ? Cette action est irréversible.","45hFQt": "Irrécouvrable",@@ -187,7 +185,6 @@"4Y+tpi": "Voir une démo de cette fonctionnalité","4YGHzj": "Aucune expérience ne correspond à \"{search}\"","4ZtLoe": "Chemin",- "4cfxQk": "Plan AppSumo Niveau {tier}","4eYvJG": "Widget de visiteurs en direct","4gDkIw": "Expérience mise à jour","4gXpPi": "Invitation envoyée à {email}",@@ -216,7 +213,6 @@"5xQQz7": "Mêmes jours de la semaine","5y2qWO": "Connexion en cours...","5yUsUe": "Relecture",- "5yu28t": "Vous êtes sur le plan gratuit avec jusqu'à {limit} pages vues par mois.","5zGub0": "Suivi des erreurs","62nsdy": "Réessayer","65uDP/": "Le trafic des bots et robots connus ne sera pas suivi",@@ -316,7 +312,6 @@"93oVTh": "Copié dans le presse-papiers","94Fg25": "Tout sélectionner","95stPq": "Terminé",- "96ejG8": "Approche de la limite","97DGta": "Créer une équipe","97KPX7": "Aucun tag trouvé.","99HM2b": "Objectif d'événement",@@ -369,7 +364,6 @@"AdNsDZ": "Inscription désactivée","AeDqHA": "Il perdra immédiatement l'accès aux sites et données de cette organisation.","AkCxS/": "Raison",- "AkVL9j": "Nom de la clé API","Asi2Jg": "Masquer les options avancées","Aujn2T": "Nombre","AyGauy": "Connexion",@@ -385,9 +379,7 @@"BReFYW": "Changements de saisie","BUxbet": "Propriété de préfixe URL","BVVhyH": "14 derniers jours",- "BW3cmW": "Clés API personnelles","BWpuKl": "Mettre à jour",- "BX8PCh": "Gérez les paramètres et les membres de votre organisation","BYZnfs": "Aucun événement enregistré.","BdV5Om": "Sites","BffFao": "Le suivi des erreurs capture les erreurs JavaScript et les exceptions de votre application.",@@ -501,7 +493,6 @@"FIKvUB": "Ajouter un site","FIs3zs": "Segment « {name} » enregistré","FJ6r9E": "Continuer avec Google",- "FLgSbA": "Vous développez une intégration de production ?","FQMQOJ": "Un problème est survenu lors de la récupération des utilisateurs. Veuillez réessayer plus tard.","FQTq3a": "Ajouter {userEmail} à une organisation avec un rôle spécifique.","FT1lfL": "Commencez à collecter des analyses en quelques minutes",@@ -531,7 +522,6 @@"GBgVhg": "Utiliser l'emoji saisi","GDgEmC": "Aucun événement trouvé","GH6rlO": "Vous devez sélectionner une organisation pour gérer votre abonnement.",- "GHbyp+": "Abonnement requis","GIL+DR": "Suivi des interactions de formulaire activé","GIlxUl": "Faites correspondre le widget au thème de votre site.","GM/hd6": "Invitation",@@ -559,7 +549,6 @@"H/r5m6": "Déplacer vers le bas","H1TwHY": "Échec du chargement des utilisateurs","H359cw": "Saisissez une période qui se termine après son début, aujourd’hui ou avant",- "H4uuIK": "Supprimer définitivement votre compte et toutes les données associées","HAlOn1": "Nom","HB6OFk": "Échec de la création de la clé API","HFp8uY": "Performance par navigateur",@@ -580,7 +569,6 @@"HtTwhf": "Identifiant de l'application mis à jour avec succès","Humfno": "Date de fin","Hv8xC3": "Chargement des exclusions ASN...",- "HyiDcy": "Invitations","I3rqT8": "Confirmez votre nouveau mot de passe","I4Etgx": "Retourner une charge utile JSON","I5k4g/": "Utiliser l'existant",@@ -606,12 +594,10 @@"IbhgkP": "Blocage des bots activé","Il1aAo": "Analyse web open source propulsée par Rybbit","IoiMPE": "15 min",- "IpNrN4": "Vous avez dépassé votre limite mensuelle d'événements. Veuillez passer à un plan Pro pour continuer à collecter des analyses.","ItR6u3": "Pays exclus ({count})","IuFETn": "Durée","IuPATc": "Affichage des visiteurs assignés. Appelez rybbit.flag(\"{flagKey}\") là où la variante s'affiche pour mesurer les visiteurs réellement exposés.","IvPFG7": "Échec de la mise à jour du rôle système",- "Ix3wt3": "En savoir plus sur les équipes","IxrHg4": "Filtrer {count} éléments...","J+At6e": "Dernière soumission","J+DDdr": "Modifier les paramètres du site",@@ -673,7 +659,6 @@"KYAqNj": "Utilisez * pour une correspondance à l'intérieur d'un segment. Utilisez ** pour une correspondance avec tout.","KaylUJ": "Le nouveau mot de passe et la confirmation ne correspondent pas","KeO51o": "Canal",- "KfIZ6o": "Mettez à jour votre nom affiché sur la plateforme","KiXNvz": "Exécuter","KjXPXZ": "{count} sessions","KkOM4O": "Maximum 100 exclusions de chemin autorisées",@@ -716,7 +701,6 @@"M/zZVx": "Ajouter un filtre","M2oRL5": "Choisir une date et une heure","M6W/5v": "{count} e-mails de propriétaires copiés",- "MAOWHK": "Vos clés API personnelles","MAmm3B": "Exclure le trafic provenant de noms d'hôte spécifiques comme les domaines de staging ou de prévisualisation. Utilisez * comme caractère générique (ex. localhost ou *.vercel.app). La correspondance est insensible à la casse.","MD/3gh": "Copier l'ID utilisateur","MGHdwe": "Aucun utilisateur en ligne ces 5 dernières minutes",@@ -760,7 +744,6 @@"NNQzoi": "Recherche...","NOTA3a": "Fort","NPL5hM": "Modèles d'exclusion",- "NQgbYA": "Paramètres du compte","NRXNLC": "Clics sur les boutons","NUXhb8": "Aucune donnée d'abonnement disponible","NUknhD": "Amis",@@ -776,7 +759,6 @@"O/IeYM": "Apprenez à identifier les utilisateurs","O/w//A": "{count} événements","O6zCyZ": "Clé du drapeau",- "O8Sc7E": "Accès au site","O8lxEI": "Consultez la documentation Web Vitals de Google pour les seuils.","OFEa0m": "Aucun attribut défini","OGk6DC": "Cette année",@@ -794,10 +776,8 @@"OfmST8": "Accepter l'invitation","Oh4usQ": "Sélectionner une métrique","Oj6AtK": "Version du système d'exploitation",- "OlRI+i": "Clés API de l'organisation","Omj2fC": "Désactivation...","OtO9EF": "Ajoutez des tags pour organiser et filtrer vos sites.",- "OtSSs+": "{count} sites","Otefae": "Dimension","OvzONl": "Désactivé","OxNUFK": "Votre tableau de bord reste ouvert pendant 24 heures. Revendiquez-le avec un essai gratuit de 7 jours pour le conserver.",@@ -827,7 +807,6 @@"PoyENW": "Échec du chargement des utilisateurs. Veuillez réessayer plus tard.","PpIaGj": "Est nul","Ppx673": "Rapports",- "PqV1fm": "Sélectionnez votre langue préférée","PqvkpE": "Choisir un objectif","Ps71bZ": "Créez une nouvelle équipe pour regrouper les sites et contrôler l'accès des membres.","PwlAG9": "Afficher sur le tableau de bord public et les liens partagés",@@ -866,7 +845,6 @@"Qzul6+": "ID du site","R/6nsx": "Abonnement","R/eOkj": "Pro",- "R2OqnW": "Supprimer le compte","RC2XA4": "Suppression en cours...","RE0v43": "Événements personnalisés","RL7HbL": "Demandez au propriétaire de votre organisation de passer à Pro pour débloquer {message}",@@ -898,7 +876,6 @@"S4u7Gc": "Obtenez votre clé API","S4zxrU": "Comptabiliser les sessions où votre application déclenche un événement nommé.","S5IFjk": "Créez une équipe pour regrouper les sites et gérer l'accès des membres.",- "S7U3Nx": "Vous approchez de votre limite mensuelle d'événements. Envisagez de passer à un plan payant pour des limites plus élevées.","SB3+JE": "Aucune donnée d'entonnoir disponible","SBUMrd": "Filtrer les feature flags","SBoJg8": "Supprimer cette clé API ?",@@ -915,7 +892,6 @@"Sjo1P4": "Personnalisé","SnIGkx": "C'est la seule fois où vous verrez cette clé. Copiez-la maintenant et conservez-la en lieu sûr.","SoySgJ": "Référent :",- "StUScz": "{count} membres","SubaMm": "Impossible d'enregistrer le segment","SyINSq": "Échec de l'exécution de la requête","T+D/1o": "{minutes} dernières minutes",@@ -961,7 +937,6 @@"UAVBcs": "{sessions} sessions · {conversions} conv.","UBQJK/": "Objectif sans titre","UE55jO": "Échec de la suppression du compte : {error}",- "UEl0Sh": "Essai expiré","UF6kPm": "Direct","UG2tSi": "{count, plural, one {# dernière minute} other {# dernières minutes}}","UG5qoS": "Aucune donnée",@@ -981,7 +956,6 @@"UgH9Vn": "Texte copié","UgYEE0": "Navigation Jour","UjlqkD": "Mot de passe fort",- "UlLea3": "Une clé personnelle agit comme vous, avec exactement vos accès — pour des scripts personnels et la connexion de clients MCP.","Um1u7W": "Entonnoir mis à jour avec succès","UmEsZF": "Activités","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "facultatif","V52jNn": "Activé","V9fGSG": "Lire votre identité de compte et les informations de votre profil.",- "VAEdEJ": "— elle continue de fonctionner même si des membres de l'équipe changent (administrateurs et propriétaires uniquement).","VB5EJL": "Même période l’an dernier","VF3DcR": "Segments","VJWJyq": "Type d'appareil",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "Que souhaitez-vous interroger ?","VqI0Nz": "Emplacement et appareil",- "VtLIgh": "Une clé d'organisation est l'identifiant propre de l'organisation : elle peut accéder à tous les sites de cette organisation et continue de fonctionner lorsque des membres quittent l'équipe. Utilisez-la pour les intégrations de production.","Vwukkb": "Ajouter une charge utile JSON","VyvTDF": "Écran :","VzzYJk": "Créer",@@ -1104,7 +1076,6 @@"ZXp0z1": "Fonctionnalités","ZXuaOL": "Échec de la suppression de l'utilisateur","ZbWc+A": "Adresse IP",- "ZcBC7s": "Gérez votre abonnement et votre facturation.","Zh+5A6": "Activé","ZjhoiP": "Sélectionner un plan","Zqi/ST": "Désactiver l'intégration du tableau de bord ?",@@ -1236,7 +1207,6 @@"eL0kqa": "Clé du trait","eOj4Bs": "Nom de l'événement","eQnbde": "Déconnecter Google Search Console ?",- "eYX7hS": "Mettez à jour votre adresse e-mail pour les notifications du compte","ebEqgQ": "Vous avez un abonnement actif. Veuillez annuler votre abonnement avant de supprimer votre organisation.","ekXood": "Illimité","ekfOaV": "Retour",@@ -1248,13 +1218,11 @@"f3ocee": "Excluez le trafic de pays spécifiques. Les événements de ces pays ne seront pas suivis dans vos analyses.","f3v0b6": "La collecte des Web Vitals est désactivée","f5efCD": "Choisir le résultat",- "f7uwif": "Organisez les sites en équipes pour contrôler quels membres peuvent y accéder.","fB09El": "Chemins commençant par /blog/","fDjNLX": "Vous êtes sur le point d'importer un gros fichier ({size}). Le traitement peut prendre plusieurs minutes. Voulez-vous continuer ?","fGblXC": "Ou suivez un guide de configuration pour votre plateforme","fH8TQL": "Valeur du trait","fItAD9": "Cohorte",- "fKrHaE": "Plan gratuit","fNCCY7": "Basique","fOVatJ": "Widget d'intégration désactivé","fQsGgo": "Identifier l'utilisateur",@@ -1282,7 +1250,6 @@"g34TTZ": "Temps d'attente avant l'enregistrement d'une page vue après un changement d'URL","g4dAtI": "Attribuez un identifiant utilisateur à ce visiteur. Son activité passée depuis cet appareil y sera associée.","g8H9Vw": "Échec de la suppression du membre",- "gHnd+A": "Limitez cette clé à des ressources spécifiques. Laissez désactivé pour une clé à accès complet capable de tout faire comme vous.","gI1OXG": "Supprimer le site","gK3VmA": "Clic sur le bouton","gMhqKV": "Dupliquer l'entonnoir",@@ -1339,7 +1306,6 @@"hlmkcL": "Santé","hmloF3": "Informations appareil","hmnIY5": "Carte",- "hncBRq": "Inviter un membre","hnp8iI": "Générez un lien privé pour partager une vue en lecture seule de ce tableau de bord avec votre équipe.","hq3XcK": "{count, plural, one {# dernière heure} other {# dernières heures}}","hw9VFi": "Plus d'emojis",@@ -1347,7 +1313,6 @@"hyfdry": "Page vue","i/DU33": "Activez cette option si les requêtes de suivi atteignent Rybbit via votre propre proxy ou CDN (Cloudflare Worker, CloudFront, nginx). Les IP des visiteurs seront alors lues depuis les en-têtes transmis plutôt que depuis l'IP de connexion.","i1G+Ml": "Veuillez contacter le propriétaire de votre organisation pour une mise à niveau.",- "i7B/4+": "Supprimer définitivement cette organisation et toutes ses données","i9WP0T": "Version du navigateur","iBImEo": "Hypothèse","iBRQen": "S'abonner maintenant",@@ -1383,7 +1348,6 @@"j5kA5A": "Un problème est survenu lors de la récupération des erreurs. Veuillez réessayer plus tard.","j6Cfhx": "Retirer le segment","j7BiRg": "Aucun événement sélectionné.",- "j7DIJR": "Mettez à jour le nom de votre organisation","j8JkB/": "Hacker News","jBznVV": "Nom de l'objectif (optionnel)","jCwXG9": "Session Replay activé",@@ -1401,7 +1365,6 @@"jWq9Z8": "Plage personnalisée","jXmB1T": "Les replays apparaîtront ici une fois le Session Replay activé.","jZu+25": "Définir la question",- "ja2Zok": "Passer à Pro","jaPj24": "Veuillez sélectionner une propriété","jfXqLp": "Aucune propriété trouvée","jhVKvF": "N'est pas égal à",@@ -1435,11 +1398,9 @@"kNp7lL": "Créé {time}","kR140n": "Aucun fuseau horaire correspondant","kT8vGm": "Support UTM",- "kTH3Q2": "Vous avez dépassé votre limite mensuelle d'événements. Veuillez contacter le support.","kWMpjI": "Disponible sur","kYpf9a": "Rechercher ou ajouter une valeur","kZki3s": "Gagnez 50% de commission récurrente en recommandant Rybbit.",- "kdqPM0": "Vous avez un plan personnalisé avec jusqu'à {limit} pages vues par mois.","kehGIT": "Suivi des paramètres URL activé","kgLyso": "Temps total","kil8JO": "Modifier le membre",@@ -1500,7 +1461,6 @@"mgYBYo": "90 derniers jours","mhmZ+P": "Enregistrement de session","mkp+qF": "Paramètres supplémentaires",- "mlMQEA": "Envoyer des rapports hebdomadaires par e-mail","n+GeZI": "avec des événements au cours des 30 derniers jours","n+tV1v": "Exclure le trafic vers des pages spécifiques. Utilisez * comme caractère générique (ex. /admin/* ou /preview). La correspondance est insensible à la casse.","n02jRA": "Couleur d'accentuation",@@ -1521,7 +1481,6 @@"na5psw": "N'est pas nul","naIILe": "Supprimer l'import","nhaiN+": "Ajoutez votre premier site web pour commencer à suivre les analyses",- "ni0MP6": "Vous approchez de votre limite mensuelle d'événements. Veuillez contacter le support si vous avez besoin de plus de capacité.","nnuMWB": "Chemins contenant /blog/ suivi de n'importe quoi","noZdV2": "Suppression en cours...","npZO3g": "Clic droit",@@ -1562,7 +1521,6 @@"orjNTN": "Info appareil","orxRin": "Sélectionner un override de plan","osCh7/": "Revendiquer le site",- "ou8jxS": "Aucune invitation en attente","ovJ26C": "Moyen","ox5r8z": "Compte supprimé avec succès","oxcZjO": "Impossible de terminer l’autorisation.",@@ -1574,7 +1532,6 @@"pEc/5k": "Clic %","pGEkVl": "Suivi des clics sur les boutons activé","pH6sDe": "Ajoutez ce code à votre application, puis démarrez l'expérience depuis la liste quand vous êtes prêt.",- "pIN/qH": "Vous êtes sur le plan à vie AppSumo avec jusqu'à {limit} événements par mois.","pJ+x3b": "Informations source","pTHVrx": "Maximum 100 exclusions IP autorisées","pW35eH": "Aucun membre dans cette organisation",@@ -1586,7 +1543,6 @@"poMLbD": "Filtrer les expériences","poXmsM": "Saisissez votre adresse e-mail et nous vous enverrons un code de vérification pour réinitialiser votre mot de passe.","pq9Eeh": "Page d'entrée :",- "pqJqst": "Plan {plan}","ptwP96": "Invitation en cours...","puODkp": "Ville :","puhcpn": "Entonnoirs",@@ -1639,7 +1595,6 @@"rWPtv+": "Paramètre de requête","rYzinM": "Lisez le drapeau dans le code avant d'afficher l'expérience testée.","rbrahO": "Fermer",- "rd5F5r": "Plan personnalisé","rdE5Ca": "Déploiement","rggp6J": "60 derniers jours","rk3ZU9": "De bons scores CLS sont de 0,1 ou moins.",@@ -1666,7 +1621,6 @@"sd2ieZ": "semaine","siqsij": "Seul le propriétaire de l'organisation peut gérer l'abonnement.","snh6R6": "Libellé (optionnel)",- "soeWeh": "Paramètres de l'organisation","sy+pv5": "E-mail","szFhEu": "Animaux et nature","t2Iac8": "Durée minimale",@@ -1744,7 +1698,6 @@"vCL+NV": "Veuillez sélectionner au moins un site ou désactiver les restrictions de sites","vCqX8Z": "Widget d'intégration activé","vDpLV2": "{type}champ de saisie modifié",- "vFH04o": "Changez le mot de passe de votre compte","vFf5xV": "Pages d'entrée","vGMvPS": "Ajoutez un objectif principal pour mesurer les conversions de chaque variante.","vHXIqS": "Nom ou ID du formulaire (facultatif)",@@ -1798,7 +1751,6 @@"wmdo1a": "Chaque condition est évaluée dans l'ordre. La première correspondance l'emporte.","wmrKEg": "Enregistrer l'entonnoir","wmyg6t": "Ressource",- "wnSZSp": "Créer une clé API","wninYK": "Aucune donnée de session","woXwSB": "Échec de l'export. Veuillez réessayer.","wqoG/5": "Défini comme",@@ -1807,7 +1759,6 @@"wzKC2G": "Ajoutez un objectif principal ultérieurement pour calculer les conversions de chaque variante.","x0mEuT": "L'inscription de nouveaux comptes est actuellement désactivée. Si vous avez un compte, vous pouvez","x61Ey6": "Administrateur",- "x6GhQj": "Limite d'événements dépassée","x9j/v6": "Suivi des adresses IP activé","xA1LY9": "Vous devez créer ou être ajouté à une organisation avant de pouvoir gérer les équipes.","xIB8Kg": "Échec de la mise à jour du nom de l'organisation",@@ -1824,18 +1775,15 @@"xmBzsn": "Exporter en rapport PDF","xmcVZ0": "Rechercher","xnky+a": "Identifiés uniquement",- "xrcdXO": "Gérez vos paramètres personnels de compte","xrk6zg": "Mis à jour","xvsXfo": "avec des propriétés personnalisées.","y1WhQk": "Votre nouveau mot de passe","y1Z3or": "Langue","y3qXTf": "Copies","y467+0": "Échec de l'enregistrement de l'objectif",- "y5jEwG": "Activez ou désactivez les rapports automatiques par e-mail pour votre compte.","y9vcUt": "Vous avez été invité par {inviterEmail}","yAAjri": "Saisir le code OTP","yAaNQA": "Administrateurs",- "yBFhF6": "Votre essai gratuit de 14 jours est terminé. Vous devez vous abonner pour recommencer à suivre les visites.","yBqtD8": "{count} sessions (24h)","yGsZm0": "Formulaires","yGxRRq": "Améliorez la confidentialité avec des sels rotatifs quotidiens pour les ID utilisateur",@@ -1857,7 +1805,6 @@"z0076i": "Les objectifs de page fonctionnent quand la conversion est une URL, comme /merci. Les objectifs d'événement fonctionnent pour des actions explicites.","z2PIbo": "Créer l'assignation","z2xGiR": "Annotation supprimée",- "z4wbga": "Utiliser une clé API d'organisation à la place","zD9VOD": "Cliquez pour modifier les attributs","zGvUQx": "N'est pas","zINlao": "Propriétaire",diff --git a/client/messages/it.json b/client/messages/it.jsonindex 0b7ca3e19..86857c57e 100644--- a/client/messages/it.json+++ b/client/messages/it.json@@ -35,7 +35,6 @@"/0tjRq": "Impossibile spostare il sito","/20q2D": "La tua password è stata reimpostata con successo.","/6bl6s": "Clic su pulsante",- "/8v8/t": "Elimina Organizzazione","/AMnMU": "Condiviso con tutti i siti dell'organizzazione","/CkSRc": "Oppure continua con l'email","/EBXiO": "Questo membro ha accesso a tutti i siti dell'organizzazione.",@@ -168,7 +167,6 @@"4+6INx": "non regex","4/DApn": "Ultime 6 Ore","41XJFz": "Nessun tratto trovato",- "42Qo3+": "Le chiavi API di questa organizzazione","450Fty": "Nessuno","45gABM": "Sei sicuro di voler eliminare \"{name}\"? Questa azione non può essere annullata.","45hFQt": "Inesigibile",@@ -187,7 +185,6 @@"4Y+tpi": "Guarda una demo di questa funzionalità","4YGHzj": "Nessun esperimento corrisponde a \"{search}\"","4ZtLoe": "Percorso URL",- "4cfxQk": "Piano AppSumo Livello {tier}","4eYvJG": "Widget Visitatori in Tempo Reale","4gDkIw": "Esperimento aggiornato","4gXpPi": "Invito inviato a {email}",@@ -216,7 +213,6 @@"5xQQz7": "Stessi giorni della settimana","5y2qWO": "Connessione in corso...","5yUsUe": "Riproduzione",- "5yu28t": "Sei sul piano Gratuito con fino a {limit} visualizzazioni di pagina al mese.","5zGub0": "Tracciamento Errori","62nsdy": "Riprova","65uDP/": "Il traffico da bot e crawler noti non verrà tracciato",@@ -316,7 +312,6 @@"93oVTh": "Copiato negli appunti","94Fg25": "Seleziona tutto","95stPq": "Completato",- "96ejG8": "In Avvicinamento al Limite","97DGta": "Crea team","97KPX7": "Nessun tag trovato.","99HM2b": "Obiettivo evento",@@ -369,7 +364,6 @@"AdNsDZ": "Registrazione Disabilitata","AeDqHA": "Perderà immediatamente l'accesso ai siti e ai dati di questa organizzazione.","AkCxS/": "Motivo",- "AkVL9j": "Nome Chiave API","Asi2Jg": "Nascondi opzioni avanzate","Aujn2T": "Conteggio","AyGauy": "Accedi",@@ -385,9 +379,7 @@"BReFYW": "Modifiche agli input","BUxbet": "Proprietà prefisso URL","BVVhyH": "Ultimi 14 giorni",- "BW3cmW": "Chiavi API personali","BWpuKl": "Aggiorna",- "BX8PCh": "Gestisci le impostazioni e i membri della tua organizzazione","BYZnfs": "Nessun evento registrato.","BdV5Om": "Siti","BffFao": "Il tracciamento degli errori cattura gli errori e le eccezioni JavaScript della tua applicazione.",@@ -501,7 +493,6 @@"FIKvUB": "Aggiungi Sito","FIs3zs": "Segmento “{name}” salvato","FJ6r9E": "Continua con Google",- "FLgSbA": "Stai creando un'integrazione di produzione?","FQMQOJ": "Si è verificato un problema nel recupero degli utenti. Riprova più tardi.","FQTq3a": "Aggiungi {userEmail} a un'organizzazione con un ruolo specifico.","FT1lfL": "Inizia a raccogliere dati analitici in pochi minuti",@@ -531,7 +522,6 @@"GBgVhg": "Usa l'emoji digitata","GDgEmC": "Nessun evento trovato","GH6rlO": "Devi selezionare un'organizzazione per gestire il tuo abbonamento.",- "GHbyp+": "Abbonamento Richiesto","GIL+DR": "Tracciamento interazioni moduli abilitato","GIlxUl": "Abbina il widget al tema del tuo sito.","GM/hd6": "Invito",@@ -559,7 +549,6 @@"H/r5m6": "Sposta in basso","H1TwHY": "Impossibile caricare gli utenti","H359cw": "Inserisci un intervallo che termini dopo il suo inizio e non oltre oggi",- "H4uuIK": "Elimina permanentemente il tuo account e tutti i dati associati","HAlOn1": "Nome","HB6OFk": "Impossibile creare la chiave API","HFp8uY": "Prestazioni per Browser",@@ -580,7 +569,6 @@"HtTwhf": "Identificatore app aggiornato con successo","Humfno": "Data di fine","Hv8xC3": "Caricamento esclusioni ASN...",- "HyiDcy": "Inviti","I3rqT8": "Conferma la tua nuova password","I4Etgx": "Restituisce un payload JSON","I5k4g/": "Usa esistente",@@ -606,12 +594,10 @@"IbhgkP": "Blocco bot abilitato","Il1aAo": "Analisi web open source potenziate da Rybbit","IoiMPE": "15 min",- "IpNrN4": "Hai superato il tuo limite di eventi mensili. Passa a un piano Pro per continuare a raccogliere analisi.","ItR6u3": "Paesi Esclusi ({count})","IuFETn": "Durata","IuPATc": "Mostrando i visitatori assegnati. Chiama rybbit.flag(\"{flagKey}\") dove la variante viene renderizzata per misurare i visitatori effettivamente esposti.","IvPFG7": "Impossibile aggiornare il ruolo di sistema",- "Ix3wt3": "Scopri di più sui team","IxrHg4": "Filtra {count} elementi...","J+At6e": "Ultimo Invio","J+DDdr": "Modifica impostazioni del sito",@@ -673,7 +659,6 @@"KYAqNj": "Usa * per una corrispondenza all'interno di un segmento. Usa ** per una corrispondenza con qualsiasi cosa.","KaylUJ": "La nuova password e la conferma della password non corrispondono","KeO51o": "Canale",- "KfIZ6o": "Aggiorna il tuo nome visualizzato sulla piattaforma","KiXNvz": "Esegui","KjXPXZ": "{count} sessioni","KkOM4O": "Massimo 100 esclusioni di percorso consentite",@@ -716,7 +701,6 @@"M/zZVx": "Aggiungi filtro","M2oRL5": "Scegli una data e un'ora","M6W/5v": "{count} email dei proprietari copiati",- "MAOWHK": "Le tue chiavi API personali","MAmm3B": "Escludi il traffico da hostname specifici come domini di staging o anteprima. Usa * come carattere jolly (ad es. localhost o *.vercel.app). La corrispondenza non fa distinzione tra maiuscole e minuscole.","MD/3gh": "Copia ID utente","MGHdwe": "Nessun utente online negli ultimi 5 minuti",@@ -760,7 +744,6 @@"NNQzoi": "Ricerca in corso...","NOTA3a": "Forte","NPL5hM": "Salta Modelli",- "NQgbYA": "Impostazioni Account","NRXNLC": "Clic sui Pulsanti","NUXhb8": "Nessun dato di abbonamento disponibile","NUknhD": "Amici",@@ -776,7 +759,6 @@"O/IeYM": "Scopri come identificare gli utenti","O/w//A": "{count} eventi","O6zCyZ": "Chiave flag",- "O8Sc7E": "Accesso al Sito","O8lxEI": "Controlla la documentazione Web Vitals di Google per le soglie.","OFEa0m": "Nessun tratto impostato","OGk6DC": "Quest'Anno",@@ -794,10 +776,8 @@"OfmST8": "Accetta Invito","Oh4usQ": "Seleziona metrica","Oj6AtK": "Versione SO",- "OlRI+i": "Chiavi API dell'organizzazione","Omj2fC": "Disabilitazione in corso...","OtO9EF": "Aggiungi tag per organizzare e filtrare i tuoi siti.",- "OtSSs+": "{count} siti","Otefae": "Dimensione","OvzONl": "Disattivo","OxNUFK": "La tua dashboard rimane aperta per 24 ore. Rivendicala con una prova gratuita di 7 giorni per conservarla.",@@ -827,7 +807,6 @@"PoyENW": "Impossibile caricare gli utenti. Riprova più tardi.","PpIaGj": "È null","Ppx673": "Report",- "PqV1fm": "Seleziona la tua lingua preferita","PqvkpE": "Scegli un obiettivo","Ps71bZ": "Crea un nuovo team per raggruppare i siti e controllare l'accesso dei membri.","PwlAG9": "Mostra sulla dashboard pubblica e nei link condivisi",@@ -866,7 +845,6 @@"Qzul6+": "ID Sito","R/6nsx": "Abbonamento","R/eOkj": "Pro",- "R2OqnW": "Elimina Account","RC2XA4": "Rimozione in corso...","RE0v43": "Eventi Personalizzati","RL7HbL": "Chiedi al proprietario della tua organizzazione di passare a Pro per sbloccare {message}",@@ -898,7 +876,6 @@"S4u7Gc": "Ottieni la tua chiave API","S4zxrU": "Conta le sessioni in cui la tua app genera un evento con nome.","S5IFjk": "Crea un team per raggruppare i siti e gestire l'accesso dei membri.",- "S7U3Nx": "Ti stai avvicinando al tuo limite di eventi mensili. Considera di passare a un piano a pagamento per limiti superiori.","SB3+JE": "Nessun dato del funnel disponibile","SBUMrd": "Filtra feature flag","SBoJg8": "Eliminare questa chiave API?",@@ -915,7 +892,6 @@"Sjo1P4": "Personalizzato","SnIGkx": "Questa è l'unica volta in cui vedrai questa chiave. Copiala ora e conservala in un luogo sicuro.","SoySgJ": "Referrer:",- "StUScz": "{count} membri","SubaMm": "Impossibile salvare il segmento","SyINSq": "Impossibile eseguire la query","T+D/1o": "Ultimi {minutes} minuti",@@ -961,7 +937,6 @@"UAVBcs": "{sessions} sessioni · {conversions} conv.","UBQJK/": "Obiettivo senza titolo","UE55jO": "Impossibile eliminare l'account: {error}",- "UEl0Sh": "Prova Scaduta","UF6kPm": "Diretto","UG2tSi": "Ultim{count, plural, one {o # minuto} other {i # minuti}}","UG5qoS": "Nessun dato",@@ -981,7 +956,6 @@"UgH9Vn": "Testo Copiato","UgYEE0": "Navigazione Giorno","UjlqkD": "Password forte",- "UlLea3": "Una chiave personale agisce come te, con esattamente il tuo accesso, per script personali e per collegare client MCP.","Um1u7W": "Funnel aggiornato con successo","UmEsZF": "Attività","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "facoltativo","V52jNn": "Abilitato","V9fGSG": "Leggere l’identità del tuo account e le informazioni del tuo profilo.",- "VAEdEJ": "— continua a funzionare quando cambiano i membri del team (solo amministratori e proprietari).","VB5EJL": "Stesso periodo dello scorso anno","VF3DcR": "Segmenti","VJWJyq": "Tipo di dispositivo",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "Cosa vuoi interrogare?","VqI0Nz": "Posizione & Dispositivo",- "VtLIgh": "Una chiave dell'organizzazione è la credenziale dell'organizzazione stessa: può accedere a tutti i siti di questa organizzazione e continua a funzionare quando i membri se ne vanno. Usala per le integrazioni di produzione.","Vwukkb": "Aggiungi payload JSON","VyvTDF": "Schermo:","VzzYJk": "Crea",@@ -1104,7 +1076,6 @@"ZXp0z1": "Funzionalità","ZXuaOL": "Impossibile eliminare l'utente","ZbWc+A": "Indirizzo IP",- "ZcBC7s": "Gestisci il tuo abbonamento e la fatturazione.","Zh+5A6": "Attivo","ZjhoiP": "Seleziona un piano","Zqi/ST": "Disabilitare l'incorporamento della dashboard?",@@ -1236,7 +1207,6 @@"eL0kqa": "Chiave del tratto","eOj4Bs": "Nome evento","eQnbde": "Disconnettere Google Search Console?",- "eYX7hS": "Aggiorna il tuo indirizzo email per le notifiche dell'account","ebEqgQ": "Hai un abbonamento attivo. Annulla il tuo abbonamento prima di eliminare l'organizzazione.","ekXood": "Illimitato","ekfOaV": "Torna Indietro",@@ -1248,13 +1218,11 @@"f3ocee": "Escludi traffico da paesi specifici. Gli eventi da questi paesi non verranno tracciati nelle tue analisi.","f3v0b6": "La raccolta dei Web Vitals è Disabilitata","f5efCD": "Scegli il risultato",- "f7uwif": "Organizza i siti in team per controllare quali membri possono accedervi.","fB09El": "Percorsi che iniziano con /blog/","fDjNLX": "Stai per importare un file di grandi dimensioni ({size}). Questo potrebbe richiedere diversi minuti. Sei sicuro di voler continuare?","fGblXC": "O segui una guida di configurazione per la tua piattaforma","fH8TQL": "Valore del tratto","fItAD9": "Coorte",- "fKrHaE": "Piano Gratuito","fNCCY7": "Base","fOVatJ": "Widget di incorporamento disabilitato","fQsGgo": "Identifica utente",@@ -1282,7 +1250,6 @@"g34TTZ": "Tempo di attesa prima di tracciare una visualizzazione di pagina dopo modifiche dell'URL","g4dAtI": "Assegna un ID utente a questo visitatore. La sua attività passata da questo dispositivo verrà collegata ad esso.","g8H9Vw": "Impossibile rimuovere il membro",- "gHnd+A": "Limita questa chiave a risorse specifiche. Lascia disattivato per una chiave con accesso completo in grado di fare tutto ciò che puoi fare tu.","gI1OXG": "Elimina Sito","gK3VmA": "Clic sul pulsante","gMhqKV": "Clona Funnel",@@ -1339,7 +1306,6 @@"hlmkcL": "Salute","hmloF3": "Informazioni Dispositivo","hmnIY5": "Scheda",- "hncBRq": "Invita membro","hnp8iI": "Genera un link privato per condividere una visualizzazione in sola lettura di questa dashboard con il tuo team.","hq3XcK": "Ultim{count, plural, one {a # ora} other {e # ore}}","hw9VFi": "Altre emoji",@@ -1347,7 +1313,6 @@"hyfdry": "Visualizzazione pagina","i/DU33": "Abilita se le richieste di tracciamento raggiungono Rybbit tramite il tuo proxy o CDN (Cloudflare Worker, CloudFront, nginx). Gli IP dei visitatori verranno letti dagli header inoltrati anziché dall'IP di connessione.","i1G+Ml": "Contatta il proprietario della tua organizzazione per aggiornare.",- "i7B/4+": "Elimina permanentemente questa organizzazione e tutti i suoi dati","i9WP0T": "Versione Browser","iBImEo": "Ipotesi","iBRQen": "Abbonati Ora",@@ -1383,7 +1348,6 @@"j5kA5A": "Si è verificato un problema nel recupero degli errori. Riprova più tardi.","j6Cfhx": "Rimuovi segmento","j7BiRg": "Nessun evento selezionato.",- "j7DIJR": "Aggiorna il nome della tua organizzazione","j8JkB/": "Hacker News","jBznVV": "Nome Obiettivo (opzionale)","jCwXG9": "Riproduzione della sessione abilitata",@@ -1401,7 +1365,6 @@"jWq9Z8": "Intervallo personalizzato","jXmB1T": "Le riproduzioni appariranno qui una volta abilitata la riproduzione della sessione.","jZu+25": "Definisci la domanda",- "ja2Zok": "Passa a Pro","jaPj24": "Seleziona una proprietà","jfXqLp": "Nessuna Proprietà Trovata","jhVKvF": "Non è uguale a",@@ -1435,11 +1398,9 @@"kNp7lL": "Creato {time}","kR140n": "Nessun fuso orario corrispondente","kT8vGm": "Mezzo UTM",- "kTH3Q2": "Hai superato il tuo limite di eventi mensili. Contatta il supporto per assistenza.","kWMpjI": "Disponibile su","kYpf9a": "Cerca o aggiungi valore","kZki3s": "Guadagna il 50% di commissioni ricorrenti riferendo Rybbit.",- "kdqPM0": "Hai un piano personalizzato con fino a {limit} visualizzazioni di pagina al mese.","kehGIT": "Tracciamento parametri URL abilitato","kgLyso": "Tempo Totale","kil8JO": "Modifica Membro",@@ -1500,7 +1461,6 @@"mgYBYo": "Ultimi 90 giorni","mhmZ+P": "Riproduzione Sessione","mkp+qF": "Parametri Aggiuntivi",- "mlMQEA": "Invia Report Email Settimanali","n+GeZI": "con eventi negli ultimi 30 giorni","n+tV1v": "Escludi il traffico verso pagine specifiche. Usa * come carattere jolly (ad es. /admin/* o /preview). La corrispondenza non fa distinzione tra maiuscole e minuscole.","n02jRA": "Colore di accento",@@ -1521,7 +1481,6 @@"na5psw": "Non è null","naIILe": "Elimina Importazione","nhaiN+": "Aggiungi il tuo primo sito web per iniziare a tracciare le analisi",- "ni0MP6": "Ti stai avvicinando al tuo limite di eventi mensili. Contatta il supporto se hai bisogno di maggiore capacità.","nnuMWB": "Percorsi che contengono /blog/ seguito da qualsiasi cosa","noZdV2": "Eliminazione in corso...","npZO3g": "Clic con il tasto destro",@@ -1562,7 +1521,6 @@"orjNTN": "Info Dispositivo","orxRin": "Seleziona un override del piano","osCh7/": "Rivendica sito",- "ou8jxS": "Nessun invito in attesa","ovJ26C": "Mezzo","ox5r8z": "Account eliminato con successo","oxcZjO": "Impossibile completare l’autorizzazione.",@@ -1574,7 +1532,6 @@"pEc/5k": "% Clic","pGEkVl": "Tracciamento clic sui pulsanti abilitato","pH6sDe": "Aggiungi questo codice alla tua app, poi avvia l'esperimento dalla lista quando sei pronto.",- "pIN/qH": "Sei nel piano a vita AppSumo con fino a {limit} eventi al mese.","pJ+x3b": "Informazioni Sorgente","pTHVrx": "Massimo 100 esclusioni IP consentite","pW35eH": "Nessun membro in questa organizzazione",@@ -1586,7 +1543,6 @@"poMLbD": "Filtra esperimenti","poXmsM": "Inserisci il tuo indirizzo email e ti invieremo un codice di verifica per reimpostare la tua password.","pq9Eeh": "Pagina di Ingresso:",- "pqJqst": "Piano {plan}","ptwP96": "Invitando...","puODkp": "Città:","puhcpn": "Funnel",@@ -1639,7 +1595,6 @@"rWPtv+": "Parametro query","rYzinM": "Leggi il flag nel codice prima di renderizzare l'esperienza testata.","rbrahO": "Chiudi",- "rd5F5r": "Piano personalizzato","rdE5Ca": "Rollout","rggp6J": "Ultimi 60 Giorni","rk3ZU9": "I punteggi CLS buoni sono 0,1 o meno.",@@ -1666,7 +1621,6 @@"sd2ieZ": "settimana","siqsij": "Solo il proprietario dell'organizzazione può gestire l'abbonamento.","snh6R6": "Etichetta (opzionale)",- "soeWeh": "Impostazioni organizzazione","sy+pv5": "E-mail","szFhEu": "Animali e natura","t2Iac8": "Durata Minima",@@ -1744,7 +1698,6 @@"vCL+NV": "Seleziona almeno un sito o disabilita le restrizioni sui siti","vCqX8Z": "Widget di incorporamento abilitato","vDpLV2": "{type}campo di input modificato",- "vFH04o": "Cambia la password del tuo account","vFf5xV": "Pagine di Ingresso","vGMvPS": "Aggiungi un obiettivo principale per misurare le conversioni per ogni variante.","vHXIqS": "Nome o ID del modulo (opzionale)",@@ -1798,7 +1751,6 @@"wmdo1a": "Ogni condizione viene valutata in ordine. Vince la prima corrispondenza.","wmrKEg": "Salva Funnel","wmyg6t": "Risorsa",- "wnSZSp": "Crea Chiave API","wninYK": "Nessun dato di sessione","woXwSB": "Esportazione fallita. Riprova.","wqoG/5": "Definito come",@@ -1807,7 +1759,6 @@"wzKC2G": "Aggiungi un obiettivo principale in seguito per calcolare le conversioni per ogni variante.","x0mEuT": "La registrazione di un nuovo account è attualmente disabilitata. Se hai un account, puoi","x61Ey6": "Amministratore",- "x6GhQj": "Limite Eventi Superato","x9j/v6": "Tracciamento indirizzo IP abilitato","xA1LY9": "Devi creare o essere aggiunto a un'organizzazione prima di poter gestire i team.","xIB8Kg": "Impossibile aggiornare il nome dell'organizzazione",@@ -1824,18 +1775,15 @@"xmBzsn": "Esporta come Report PDF","xmcVZ0": "Cerca","xnky+a": "Solo identificati",- "xrcdXO": "Gestisci le impostazioni del tuo account personale","xrk6zg": "Aggiornato","xvsXfo": "con proprietà personalizzate.","y1WhQk": "La tua nuova password","y1Z3or": "Lingua","y3qXTf": "Copie","y467+0": "Impossibile salvare l'obiettivo",- "y5jEwG": "Abilita o disabilita i report email automatici per il tuo account.","y9vcUt": "Sei stato invitato da {inviterEmail}","yAAjri": "Inserisci Codice OTP","yAaNQA": "Amministratori",- "yBFhF6": "La tua prova gratuita di 14 giorni è terminata. Devi abbonarti per continuare a tracciare di nuovo le visite.","yBqtD8": "{count} sessioni (24h)","yGsZm0": "Moduli","yGxRRq": "Migliora la privacy con salting a rotazione giornaliera per gli ID utente",@@ -1857,7 +1805,6 @@"z0076i": "Gli obiettivi di percorso funzionano quando la conversione è un URL, come /grazie. Gli obiettivi evento funzionano per azioni esplicite.","z2PIbo": "Crea l'assegnazione","z2xGiR": "Annotazione eliminata",- "z4wbga": "Usa invece una chiave API dell'organizzazione","zD9VOD": "Clicca per modificare i tratti","zGvUQx": "Non è","zINlao": "Proprietario",diff --git a/client/messages/ja.json b/client/messages/ja.jsonindex d4f2d7e70..1702ec574 100644--- a/client/messages/ja.json+++ b/client/messages/ja.json@@ -35,7 +35,6 @@"/0tjRq": "サイトの移動に失敗しました","/20q2D": "パスワードが正常にリセットされました。","/6bl6s": "ボタンクリック",- "/8v8/t": "組織を削除","/AMnMU": "組織内のすべてのサイトで共有","/CkSRc": "またはメールで続行","/EBXiO": "このメンバーは組織内のすべてのサイトにアクセスできます。",@@ -168,7 +167,6 @@"4+6INx": "正規表現以外","4/DApn": "過去6時間","41XJFz": "属性が見つかりません",- "42Qo3+": "この組織の API キー","450Fty": "なし","45gABM": "「{name}」を削除してもよろしいですか?この操作は元に戻せません。","45hFQt": "回収不能",@@ -187,7 +185,6 @@"4Y+tpi": "この機能のデモを見る","4YGHzj": "\"{search}\"に一致する実験はありません","4ZtLoe": "パス名",- "4cfxQk": "AppSumoプランティア{tier}","4eYvJG": "ライブ訪問者ウィジェット","4gDkIw": "実験を更新しました","4gXpPi": "{email} に招待を送信しました",@@ -216,7 +213,6 @@"5xQQz7": "同じ曜日","5y2qWO": "接続中...","5yUsUe": "リプレイ",- "5yu28t": "無料プランで月{limit}ページビューまでご利用いただけます。","5zGub0": "エラートラッキング","62nsdy": "再試行","65uDP/": "既知のボットやクローラーからのトラフィックは追跡されません",@@ -316,7 +312,6 @@"93oVTh": "クリップボードにコピーしました","94Fg25": "すべて選択","95stPq": "完了",- "96ejG8": "上限に近づいています","97DGta": "チームを作成","97KPX7": "タグが見つかりません。","99HM2b": "イベントゴール",@@ -369,7 +364,6 @@"AdNsDZ": "サインアップ無効","AeDqHA": "このメンバーはこの組織のサイトとデータへのアクセスを直ちに失います。","AkCxS/": "理由",- "AkVL9j": "APIキー名","Asi2Jg": "詳細オプションを非表示","Aujn2T": "カウント","AyGauy": "ログイン",@@ -385,9 +379,7 @@"BReFYW": "入力変更","BUxbet": "URLプレフィックスプロパティ","BVVhyH": "過去14日間",- "BW3cmW": "個人 API キー","BWpuKl": "更新",- "BX8PCh": "組織設定とメンバーを管理する","BYZnfs": "記録されたイベントはありません。","BdV5Om": "ウェブサイト","BffFao": "エラートラッキングはアプリケーションのJavaScriptエラーと例外をキャプチャします。",@@ -501,7 +493,6 @@"FIKvUB": "サイトを追加","FIs3zs": "セグメント「{name}」を保存しました","FJ6r9E": "Googleで続行",- "FLgSbA": "本番環境の統合を構築していますか?","FQMQOJ": "ユーザーの取得中に問題が発生しました。後でもう一度お試しください。","FQTq3a": "{userEmail}を特定のロールで組織に追加します。","FT1lfL": "数分でアナリティクスの収集を開始",@@ -531,7 +522,6 @@"GBgVhg": "入力した絵文字を使う","GDgEmC": "イベントが見つかりません","GH6rlO": "サブスクリプションを管理するには組織を選択する必要があります。",- "GHbyp+": "サブスクリプションが必要です","GIL+DR": "フォーム操作追跡を有効にしました","GIlxUl": "ウィジェットをサイトのテーマに合わせます。","GM/hd6": "招待",@@ -559,7 +549,6 @@"H/r5m6": "下へ移動","H1TwHY": "ユーザーの読み込みに失敗しました","H359cw": "開始より後に終わり、本日以前で終わる期間を入力してください",- "H4uuIK": "アカウントとすべての関連データを完全に削除","HAlOn1": "名前","HB6OFk": "APIキーの作成に失敗しました","HFp8uY": "ブラウザ別パフォーマンス",@@ -580,7 +569,6 @@"HtTwhf": "アプリ識別子を更新しました","Humfno": "終了日","Hv8xC3": "ASN除外を読み込み中...",- "HyiDcy": "招待","I3rqT8": "新しいパスワードの確認","I4Etgx": "JSONペイロードを返す","I5k4g/": "既存のものを使用",@@ -606,12 +594,10 @@"IbhgkP": "ボットブロックを有効にしました","Il1aAo": "Rybbitによるオープンソースウェブアナリティクス","IoiMPE": "15分",- "IpNrN4": "月間イベント上限を超えました。アナリティクスの収集を続けるにはProプランにアップグレードしてください。","ItR6u3": "除外国({count})","IuFETn": "滞在時間","IuPATc": "割り当て済み訪問者を表示中。バリアントがレンダリングされる場所でrybbit.flag(\"{flagKey}\")を呼び出して、実際に公開された訪問者を計測してください。","IvPFG7": "システムロールの更新に失敗しました",- "Ix3wt3": "チームについてもっと詳しく","IxrHg4": "{count}件を検索...","J+At6e": "最終送信","J+DDdr": "サイト設定を編集",@@ -673,7 +659,6 @@"KYAqNj": "* はセグメント内の任意の文字列に一致し、** は任意の文字列に一致します。","KaylUJ": "新しいパスワードと確認パスワードが一致しません","KeO51o": "チャネル",- "KfIZ6o": "プラットフォーム全体で表示される名前を更新","KiXNvz": "実行","KjXPXZ": "{count}セッション","KkOM4O": "パス除外は最大100件まで",@@ -716,7 +701,6 @@"M/zZVx": "フィルターを追加","M2oRL5": "日付と時刻を選択","M6W/5v": "オーナーメールを {count} 件コピーしました",- "MAOWHK": "あなたの個人 API キー","MAmm3B": "ステージングやプレビュードメインなど特定のホスト名からのトラフィックを除外します。ワイルドカードとして * を使用できます(例:localhost または *.vercel.app)。大文字・小文字は区別しません。","MD/3gh": "ユーザーIDをコピー","MGHdwe": "過去5分間にオンラインのユーザーはいません",@@ -760,7 +744,6 @@"NNQzoi": "検索中...","NOTA3a": "強い","NPL5hM": "スキップパターン",- "NQgbYA": "アカウント設定","NRXNLC": "ボタンクリック","NUXhb8": "サブスクリプションデータがありません","NUknhD": "友人",@@ -776,7 +759,6 @@"O/IeYM": "ユーザーの識別方法を学ぶ","O/w//A": "{count}イベント","O6zCyZ": "フラグキー",- "O8Sc7E": "サイトアクセス","O8lxEI": "しきい値についてはGoogleのWeb Vitalsドキュメントをご確認ください。","OFEa0m": "属性が設定されていません","OGk6DC": "今年",@@ -794,10 +776,8 @@"OfmST8": "招待を承認","Oh4usQ": "指標を選択","Oj6AtK": "OSバージョン",- "OlRI+i": "組織 API キー","Omj2fC": "無効化しています...","OtO9EF": "タグを追加してサイトを整理・フィルターしましょう。",- "OtSSs+": "{count}サイト","Otefae": "ディメンション","OvzONl": "オフ","OxNUFK": "ダッシュボードは24時間有効です。7日間の無料トライアルで引き継いで保持しましょう。",@@ -827,7 +807,6 @@"PoyENW": "ユーザーの読み込みに失敗しました。後でもう一度お試しください。","PpIaGj": "null である","Ppx673": "レポート",- "PqV1fm": "優先する言語を選択してください","PqvkpE": "ゴールを選択","Ps71bZ": "サイトをグループ化してメンバーアクセスを制御する新しいチームを作成します。","PwlAG9": "公開ダッシュボードと共有リンクに表示",@@ -866,7 +845,6 @@"Qzul6+": "サイトID","R/6nsx": "サブスクリプション","R/eOkj": "プロ",- "R2OqnW": "アカウントを削除","RC2XA4": "削除中...","RE0v43": "カスタムイベント","RL7HbL": "組織オーナーにProへのアップグレードを依頼して{message}をアンロック",@@ -898,7 +876,6 @@"S4u7Gc": "APIキーを取得","S4zxrU": "アプリが指定のイベントを発火したセッションをカウントします。","S5IFjk": "サイトをグループ化してメンバーアクセスを管理するチームを作成します。",- "S7U3Nx": "月間イベント上限に近づいています。より高い上限にするには有料プランへのアップグレードをご検討ください。","SB3+JE": "ファネルデータがありません","SBUMrd": "フィーチャーフラグを絞り込む","SBoJg8": "このAPIキーを削除しますか?",@@ -915,7 +892,6 @@"Sjo1P4": "カスタム","SnIGkx": "このキーが表示されるのはこの一度限りです。今すぐコピーして安全な場所に保存してください。","SoySgJ": "リファラー:",- "StUScz": "{count} 名のメンバー","SubaMm": "セグメントを保存できませんでした","SyINSq": "クエリの実行に失敗しました","T+D/1o": "過去{minutes}分",@@ -961,7 +937,6 @@"UAVBcs": "{sessions}セッション · {conversions}コンバージョン","UBQJK/": "無題のゴール","UE55jO": "アカウントの削除に失敗しました:{error}",- "UEl0Sh": "トライアル期限切れ","UF6kPm": "ダイレクト","UG2tSi": "過去{count, plural, other {#分}}","UG5qoS": "データなし",@@ -981,7 +956,6 @@"UgH9Vn": "コピーされたテキスト","UgYEE0": "ナビゲーション(昼)","UjlqkD": "強いパスワード",- "UlLea3": "個人キーはあなた自身として機能し、あなたとまったく同じアクセス権を持ちます。個人的なスクリプトや MCP クライアントの接続に使用します。","Um1u7W": "ファネルを更新しました","UmEsZF": "アクティビティ","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "任意","V52jNn": "有効","V9fGSG": "アカウントの識別情報とプロフィール情報を読み取ります。",- "VAEdEJ": "— チームメンバーが変更されても機能し続けます(管理者とオーナーのみ)。","VB5EJL": "前年の同期間","VF3DcR": "セグメント","VJWJyq": "デバイスタイプ",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "何をクエリしますか?","VqI0Nz": "場所とデバイス",- "VtLIgh": "組織キーは組織自体の認証情報です。この組織のすべてのサイトにアクセスでき、メンバーが退会しても機能し続けます。本番環境の統合に使用してください。","Vwukkb": "JSONペイロードを追加","VyvTDF": "画面:","VzzYJk": "作成",@@ -1104,7 +1076,6 @@"ZXp0z1": "機能","ZXuaOL": "ユーザーの削除に失敗しました","ZbWc+A": "IPアドレス",- "ZcBC7s": "サブスクリプションと請求を管理する。","Zh+5A6": "オン","ZjhoiP": "プランを選択","Zqi/ST": "ダッシュボードの埋め込みを無効にしますか?",@@ -1236,7 +1207,6 @@"eL0kqa": "特性キー","eOj4Bs": "イベント名","eQnbde": "Google Search Consoleを切断しますか?",- "eYX7hS": "アカウント通知用のメールアドレスを更新","ebEqgQ": "アクティブなサブスクリプションがあります。組織を削除する前にサブスクリプションをキャンセルしてください。","ekXood": "無制限","ekfOaV": "戻る",@@ -1248,13 +1218,11 @@"f3ocee": "特定の国からのトラフィックを除外します。これらの国からのイベントはアナリティクスで追跡されません。","f3v0b6": "Web Vitals収集は無効です","f5efCD": "結果を選ぶ",- "f7uwif": "サイトをチームに整理して、どのメンバーがアクセスできるかを制御します。","fB09El": "/blog/で始まるパス","fDjNLX": "大きなファイル({size})をインポートしようとしています。処理に数分かかる場合があります。続行しますか?","fGblXC": "またはプラットフォームのセットアップガイドをご覧ください","fH8TQL": "特性の値","fItAD9": "コホート",- "fKrHaE": "無料プラン","fNCCY7": "ベーシック","fOVatJ": "埋め込みウィジェット無効","fQsGgo": "ユーザーを識別",@@ -1282,7 +1250,6 @@"g34TTZ": "URL変更後にページビューを記録するまでの待機時間","g4dAtI": "この訪問者にユーザー ID を割り当てます。このデバイスからの過去のアクティビティがその ID に関連付けられます。","g8H9Vw": "メンバーの削除に失敗しました",- "gHnd+A": "このキーを特定のリソースに制限します。オフのままにすると、すべての操作が可能なフルアクセスキーになります。","gI1OXG": "サイトを削除","gK3VmA": "ボタンをクリックしました","gMhqKV": "ファネルを複製",@@ -1339,7 +1306,6 @@"hlmkcL": "ヘルス","hmloF3": "デバイス情報","hmnIY5": "カード",- "hncBRq": "メンバーを招待","hnp8iI": "プライベートリンクを生成して、このダッシュボードの読み取り専用ビューをチームと共有します。","hq3XcK": "過去{count, plural, other {#時間}}","hw9VFi": "その他の絵文字",@@ -1347,7 +1313,6 @@"hyfdry": "ページビュー","i/DU33": "トラッキングリクエストが独自のプロキシやCDN(Cloudflare Worker、CloudFront、nginxなど)経由でRybbitに届く場合に有効にしてください。訪問者のIPは接続元IPの代わりに転送されたヘッダーから読み取られます。","i1G+Ml": "アップグレードするには組織オーナーにお問い合わせください。",- "i7B/4+": "この組織とすべてのデータを完全に削除","i9WP0T": "ブラウザバージョン","iBImEo": "仮説","iBRQen": "今すぐサブスクリプション",@@ -1383,7 +1348,6 @@"j5kA5A": "エラーの取得中に問題が発生しました。後でもう一度お試しください。","j6Cfhx": "セグメントを解除","j7BiRg": "イベントが選択されていません。",- "j7DIJR": "組織名を更新","j8JkB/": "Hacker News","jBznVV": "ゴール名(任意)","jCwXG9": "セッションリプレイを有効にしました",@@ -1401,7 +1365,6 @@"jWq9Z8": "カスタム範囲","jXmB1T": "セッションリプレイを有効にすると、ここにリプレイが表示されます。","jZu+25": "問いを定義する",- "ja2Zok": "Proにアップグレード","jaPj24": "プロパティを選択してください","jfXqLp": "プロパティが見つかりません","jhVKvF": "等しくない",@@ -1435,11 +1398,9 @@"kNp7lL": "{time}に作成","kR140n": "一致するタイムゾーンがありません","kT8vGm": "UTMメディア",- "kTH3Q2": "月間イベント上限を超えました。サポートにお問い合わせください。","kWMpjI": "利用可能な範囲","kYpf9a": "値を検索または追加","kZki3s": "Rybbitを紹介して50%の継続報酬を獲得。",- "kdqPM0": "カスタムプランで月{limit}ページビューまでご利用いただけます。","kehGIT": "URLパラメータ追跡を有効にしました","kgLyso": "合計時間","kil8JO": "メンバーを編集",@@ -1500,7 +1461,6 @@"mgYBYo": "過去90日間","mhmZ+P": "セッションリプレイ","mkp+qF": "追加パラメーター",- "mlMQEA": "週次メールレポートを送信","n+GeZI": "過去30日間にイベントあり","n+tV1v": "特定のページへのトラフィックを除外します。ワイルドカードとして * を使用できます(例:/admin/* または /preview)。大文字・小文字は区別しません。","n02jRA": "アクセントカラー",@@ -1521,7 +1481,6 @@"na5psw": "null でない","naIILe": "インポートを削除","nhaiN+": "最初のウェブサイトを追加してアナリティクスの追跡を開始しましょう",- "ni0MP6": "月間イベント上限に近づいています。容量を増やす必要がある場合はサポートにお問い合わせください。","nnuMWB": "/blog/を含むパスとその後に続く任意の文字列","noZdV2": "削除中...","npZO3g": "右クリック",@@ -1562,7 +1521,6 @@"orjNTN": "デバイス情報","orxRin": "プランのオーバーライドを選択","osCh7/": "サイトを引き継ぐ",- "ou8jxS": "保留中の招待はありません","ovJ26C": "メディア","ox5r8z": "アカウントを削除しました","oxcZjO": "認可を完了できませんでした。",@@ -1574,7 +1532,6 @@"pEc/5k": "クリック率","pGEkVl": "ボタンクリック追跡を有効にしました","pH6sDe": "このコードをアプリに追加し、準備ができたらリストから実験を開始してください。",- "pIN/qH": "AppSumoライフタイムプランで月{limit}イベントまでご利用いただけます。","pJ+x3b": "ソース情報","pTHVrx": "IP除外は最大100件まで","pW35eH": "この組織にメンバーがいません",@@ -1586,7 +1543,6 @@"poMLbD": "実験を絞り込む","poXmsM": "メールアドレスを入力してください。パスワードリセット用の確認コードを送信します。","pq9Eeh": "入口ページ:",- "pqJqst": "{plan}プラン","ptwP96": "招待中...","puODkp": "都市:","puhcpn": "ファネル",@@ -1639,7 +1595,6 @@"rWPtv+": "クエリパラメータ","rYzinM": "テスト対象の体験をレンダリングする前に、コード内でフラグを読み取ってください。","rbrahO": "閉じる",- "rd5F5r": "カスタムプラン","rdE5Ca": "ロールアウト","rggp6J": "過去60日間","rk3ZU9": "良好なCLSスコアは0.1以下です。",@@ -1666,7 +1621,6 @@"sd2ieZ": "週","siqsij": "サブスクリプションを管理できるのは組織のオーナーのみです。","snh6R6": "ラベル(任意)",- "soeWeh": "組織設定","sy+pv5": "メール","szFhEu": "動物と自然","t2Iac8": "最短時間",@@ -1744,7 +1698,6 @@"vCL+NV": "少なくとも1つのサイトを選択するか、サイト制限を無効にしてください","vCqX8Z": "埋め込みウィジェット有効","vDpLV2": "{type}入力フィールドを変更しました",- "vFH04o": "アカウントのパスワードを変更","vFf5xV": "入口ページ","vGMvPS": "各バリアントのコンバージョンを測定する主要ゴールを追加してください。","vHXIqS": "フォーム名またはID(任意)",@@ -1798,7 +1751,6 @@"wmdo1a": "各条件は順番に評価されます。最初に一致した条件が優先されます。","wmrKEg": "ファネルを保存","wmyg6t": "リソース",- "wnSZSp": "APIキーを作成","wninYK": "セッションデータなし","woXwSB": "エクスポートに失敗しました。もう一度お試しください。","wqoG/5": "定義",@@ -1807,7 +1759,6 @@"wzKC2G": "後で主要ゴールを追加して、各バリアントのコンバージョンを算出します。","x0mEuT": "新規アカウント登録は現在無効です。アカウントをお持ちの場合は","x61Ey6": "管理者",- "x6GhQj": "イベント上限超過","x9j/v6": "IPアドレス追跡を有効にしました","xA1LY9": "チームを管理するには、まず組織を作成するか組織に追加される必要があります。","xIB8Kg": "組織名の更新に失敗しました",@@ -1824,18 +1775,15 @@"xmBzsn": "PDFレポートとしてエクスポート","xmcVZ0": "検索","xnky+a": "識別済みのみ",- "xrcdXO": "個人のアカウント設定を管理","xrk6zg": "更新済み","xvsXfo": "カスタムプロパティを使用。","y1WhQk": "新しいパスワード","y1Z3or": "言語","y3qXTf": "コピー","y467+0": "ゴールの保存に失敗しました",- "y5jEwG": "アカウントの自動メールレポートを有効または無効にします。","y9vcUt": "{inviterEmail}からの招待です","yAAjri": "OTPコードを入力","yAaNQA": "管理者",- "yBFhF6": "14日間の無料トライアルが終了しました。訪問の追跡を再開するにはサブスクリプションが必要です。","yBqtD8": "{count}セッション (24時間)","yGsZm0": "フォーム","yGxRRq": "日次ローテーションソルトでユーザーIDのプライバシーを強化",@@ -1857,7 +1805,6 @@"z0076i": "パスゴールはコンバージョンが/thank-youのようなURLの場合に機能します。イベントゴールは明示的なアクションに機能します。","z2PIbo": "割り当てを作成","z2xGiR": "注釈を削除しました",- "z4wbga": "代わりに組織 API キーを使用","zD9VOD": "クリックして属性を編集","zGvUQx": "ではない","zINlao": "オーナー",diff --git a/client/messages/ko.json b/client/messages/ko.jsonindex 84b9edb07..7a493372e 100644--- a/client/messages/ko.json+++ b/client/messages/ko.json@@ -35,7 +35,6 @@"/0tjRq": "사이트 이동 실패","/20q2D": "비밀번호가 성공적으로 재설정되었습니다.","/6bl6s": "버튼 클릭",- "/8v8/t": "조직 삭제","/AMnMU": "조직의 모든 사이트와 공유됨","/CkSRc": "또는 이메일로 계속","/EBXiO": "이 멤버는 조직의 모든 사이트에 액세스할 수 있습니다.",@@ -168,7 +167,6 @@"4+6INx": "정규식 아님","4/DApn": "최근 6시간","41XJFz": "특성을 찾을 수 없음",- "42Qo3+": "이 조직의 API 키","450Fty": "없음","45gABM": "\"{name}\"을(를) 삭제하시겠습니까? 이 작업은 취소할 수 없습니다.","45hFQt": "회수 불가",@@ -187,7 +185,6 @@"4Y+tpi": "이 기능의 데모 보기","4YGHzj": "\"{search}\"와 일치하는 실험이 없습니다","4ZtLoe": "경로명",- "4cfxQk": "AppSumo 플랜 등급 {tier}","4eYvJG": "실시간 방문자 위젯","4gDkIw": "실험이 업데이트되었습니다","4gXpPi": "{email}에 초대를 보냈습니다",@@ -216,7 +213,6 @@"5xQQz7": "같은 요일","5y2qWO": "연결 중...","5yUsUe": "리플레이",- "5yu28t": "월 최대 {limit}개 페이지뷰의 무료 플랜을 사용 중입니다.","5zGub0": "오류 추적","62nsdy": "재시도","65uDP/": "알려진 봇 및 크롤러의 트래픽이 추적되지 않습니다",@@ -316,7 +312,6 @@"93oVTh": "클립보드에 복사됨","94Fg25": "모두 선택","95stPq": "완료됨",- "96ejG8": "한도에 근접 중","97DGta": "팀 생성","97KPX7": "태그를 찾을 수 없습니다.","99HM2b": "이벤트 목표",@@ -369,7 +364,6 @@"AdNsDZ": "가입 비활성화됨","AeDqHA": "이 조직의 사이트와 데이터에 대한 액세스 권한을 즉시 잃게 됩니다.","AkCxS/": "사유",- "AkVL9j": "API 키 이름","Asi2Jg": "고급 옵션 숨기기","Aujn2T": "수","AyGauy": "로그인",@@ -385,9 +379,7 @@"BReFYW": "입력 변경","BUxbet": "URL 접두사 속성","BVVhyH": "최근 14일",- "BW3cmW": "개인 API 키","BWpuKl": "업데이트",- "BX8PCh": "조직 설정 및 멤버를 관리합니다","BYZnfs": "기록된 이벤트가 없습니다.","BdV5Om": "웹사이트","BffFao": "오류 추적은 애플리케이션에서 JavaScript 오류 및 예외를 캡처합니다.",@@ -501,7 +493,6 @@"FIKvUB": "사이트 추가","FIs3zs": "세그먼트 “{name}”을(를) 저장했습니다","FJ6r9E": "Google로 계속",- "FLgSbA": "프로덕션 통합을 구축 중이신가요?","FQMQOJ": "사용자를 가져오는 중 문제가 발생했습니다. 나중에 다시 시도해 주세요.","FQTq3a": "특정 역할로 {userEmail}을(를) 조직에 추가합니다.","FT1lfL": "몇 분 만에 분석 수집 시작",@@ -531,7 +522,6 @@"GBgVhg": "입력한 이모지 사용","GDgEmC": "이벤트를 찾을 수 없음","GH6rlO": "구독을 관리하려면 조직을 선택해야 합니다.",- "GHbyp+": "구독 필요","GIL+DR": "폼 상호작용 추적 활성화됨","GIlxUl": "위젯을 사이트 테마에 맞춥니다.","GM/hd6": "초대",@@ -559,7 +549,6 @@"H/r5m6": "아래로 이동","H1TwHY": "사용자 로드 실패","H359cw": "시작 이후에 끝나고 오늘 이전인 기간을 입력하세요",- "H4uuIK": "계정과 모든 관련 데이터를 영구적으로 삭제","HAlOn1": "이름","HB6OFk": "API 키 생성에 실패했습니다","HFp8uY": "브라우저별 성능",@@ -580,7 +569,6 @@"HtTwhf": "앱 식별자가 성공적으로 업데이트되었습니다","Humfno": "종료 날짜","Hv8xC3": "ASN 제외 항목 로드 중...",- "HyiDcy": "초대","I3rqT8": "새 비밀번호 확인","I4Etgx": "JSON 페이로드 반환","I5k4g/": "기존 항목 사용",@@ -606,12 +594,10 @@"IbhgkP": "봇 차단 활성화됨","Il1aAo": "Rybbit 기반의 오픈소스 웹 분석","IoiMPE": "15분",- "IpNrN4": "월별 이벤트 한도를 초과했습니다. 분석 수집을 계속하려면 Pro 플랜으로 업그레이드하세요.","ItR6u3": "제외된 국가 ({count})","IuFETn": "기간","IuPATc": "할당된 방문자를 표시 중입니다. 변형이 렌더링되는 곳에서 rybbit.flag(\"{flagKey}\")를 호출하여 실제로 노출된 방문자를 측정하세요.","IvPFG7": "시스템 역할을 업데이트하지 못했습니다",- "Ix3wt3": "팀에 대해 더 알아보기","IxrHg4": "{count}개 항목 필터...","J+At6e": "마지막 제출","J+DDdr": "사이트 설정 편집",@@ -673,7 +659,6 @@"KYAqNj": "세그먼트 내에서 일치시키려면 *를 사용하고, 무엇이든 일치시키려면 **를 사용하세요.","KaylUJ": "새 비밀번호와 비밀번호 확인이 일치하지 않습니다","KeO51o": "채널",- "KfIZ6o": "플랫폼 전체에 표시되는 이름 업데이트","KiXNvz": "실행","KjXPXZ": "{count}개 세션","KkOM4O": "최대 100개의 경로 제외 항목을 허용합니다",@@ -716,7 +701,6 @@"M/zZVx": "필터 추가","M2oRL5": "날짜와 시간 선택","M6W/5v": "소유자 이메일 {count}개 복사됨",- "MAOWHK": "회원님의 개인 API 키","MAmm3B": "스테이징 또는 미리보기 도메인 등 특정 호스트명의 트래픽을 제외합니다. * 를 와일드카드로 사용하세요 (예: localhost 또는 *.vercel.app). 대소문자를 구분하지 않습니다.","MD/3gh": "사용자 ID 복사","MGHdwe": "최근 5분 내 온라인 사용자 없음",@@ -760,7 +744,6 @@"NNQzoi": "검색 중...","NOTA3a": "강함","NPL5hM": "건너뛰기 패턴",- "NQgbYA": "계정 설정","NRXNLC": "버튼 클릭","NUXhb8": "사용 가능한 구독 데이터 없음","NUknhD": "친구",@@ -776,7 +759,6 @@"O/IeYM": "사용자 식별 방법 알아보기","O/w//A": "{count}개 이벤트","O6zCyZ": "플래그 키",- "O8Sc7E": "사이트 접근","O8lxEI": "임계값은 Google의 Web Vitals 문서를 확인하세요.","OFEa0m": "설정된 특성 없음","OGk6DC": "올해",@@ -794,10 +776,8 @@"OfmST8": "초대 수락","Oh4usQ": "지표 선택","Oj6AtK": "OS 버전",- "OlRI+i": "조직 API 키","Omj2fC": "비활성화하는 중...","OtO9EF": "사이트를 정리하고 필터링하기 위해 태그를 추가하세요.",- "OtSSs+": "{count}개 사이트","Otefae": "차원","OvzONl": "꺼짐","OxNUFK": "대시보드는 24시간 동안 유지됩니다. 무료 7일 체험으로 소유권을 주장하여 계속 보관하세요.",@@ -827,7 +807,6 @@"PoyENW": "사용자 로드에 실패했습니다. 나중에 다시 시도해 주세요.","PpIaGj": "null임","Ppx673": "보고서",- "PqV1fm": "선호 언어를 선택하세요","PqvkpE": "목표 선택","Ps71bZ": "사이트를 그룹화하고 멤버 액세스를 제어하는 새 팀을 만듭니다.","PwlAG9": "공개 대시보드 및 공유 링크에 표시",@@ -866,7 +845,6 @@"Qzul6+": "사이트 ID","R/6nsx": "구독","R/eOkj": "프로",- "R2OqnW": "계정 삭제","RC2XA4": "제거 중...","RE0v43": "사용자 정의 이벤트","RL7HbL": "{message}을(를) 잠금 해제하려면 조직 소유자에게 Pro 업그레이드를 요청하세요",@@ -898,7 +876,6 @@"S4u7Gc": "API 키 받기","S4zxrU": "앱이 특정 이름의 이벤트를 발생시킨 세션을 계산합니다.","S5IFjk": "사이트를 그룹화하고 멤버 액세스를 관리하는 팀을 만듭니다.",- "S7U3Nx": "월별 이벤트 한도에 근접하고 있습니다. 더 높은 한도를 위해 유료 플랜으로 업그레이드를 고려하세요.","SB3+JE": "사용 가능한 퍼널 데이터 없음","SBUMrd": "기능 플래그 필터","SBoJg8": "이 API 키를 삭제하시겠습니까?",@@ -915,7 +892,6 @@"Sjo1P4": "사용자 정의","SnIGkx": "이 키는 지금만 확인할 수 있습니다. 지금 복사하여 안전한 곳에 보관하세요.","SoySgJ": "리퍼러:",- "StUScz": "멤버 {count}명","SubaMm": "세그먼트를 저장하지 못했습니다","SyINSq": "쿼리 실행에 실패했습니다","T+D/1o": "최근 {minutes}분",@@ -961,7 +937,6 @@"UAVBcs": "{sessions}개 세션 · {conversions}회 전환","UBQJK/": "이름 없는 목표","UE55jO": "계정 삭제 실패: {error}",- "UEl0Sh": "체험 만료","UF6kPm": "직접","UG2tSi": "최근 {count, plural, other {#분}}","UG5qoS": "데이터 없음",@@ -981,7 +956,6 @@"UgH9Vn": "복사된 텍스트","UgYEE0": "내비게이션 주간","UjlqkD": "강력한 비밀번호",- "UlLea3": "개인 키는 사용자 본인으로 작동하며, 사용자와 정확히 동일한 액세스 권한을 가집니다. 개인 스크립트 및 MCP 클라이언트 연결에 사용하세요.","Um1u7W": "퍼널이 성공적으로 업데이트되었습니다","UmEsZF": "활동","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "선택 사항","V52jNn": "활성화됨","V9fGSG": "계정 식별 정보와 프로필 정보를 읽습니다.",- "VAEdEJ": "— 팀원이 변경되어도 계속 작동합니다 (관리자 및 소유자 전용).","VB5EJL": "작년 같은 기간","VF3DcR": "세그먼트","VJWJyq": "기기 유형",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "무엇을 조회하시겠습니까?","VqI0Nz": "위치 및 기기",- "VtLIgh": "조직 키는 조직 자체의 자격 증명입니다. 이 조직의 모든 사이트에 액세스할 수 있으며, 멤버가 탈퇴해도 계속 작동합니다. 프로덕션 통합에 사용하세요.","Vwukkb": "JSON 페이로드 추가","VyvTDF": "화면:","VzzYJk": "만들기",@@ -1104,7 +1076,6 @@"ZXp0z1": "기능","ZXuaOL": "사용자 삭제에 실패했습니다","ZbWc+A": "IP 주소",- "ZcBC7s": "구독 및 청구를 관리합니다.","Zh+5A6": "켜짐","ZjhoiP": "플랜 선택","Zqi/ST": "대시보드 임베드를 비활성화하시겠습니까?",@@ -1236,7 +1207,6 @@"eL0kqa": "특성 키","eOj4Bs": "이벤트 이름","eQnbde": "Google Search Console 연결을 해제하시겠습니까?",- "eYX7hS": "계정 알림용 이메일 주소 업데이트","ebEqgQ": "활성 구독이 있습니다. 조직을 삭제하기 전에 구독을 취소해 주세요.","ekXood": "무제한","ekfOaV": "뒤로 가기",@@ -1248,13 +1218,11 @@"f3ocee": "특정 국가의 트래픽을 제외합니다. 이 국가의 이벤트는 분석에 추적되지 않습니다.","f3v0b6": "Web Vitals 수집이 비활성화됨","f5efCD": "결과 선택",- "f7uwif": "어떤 멤버가 사이트에 액세스할 수 있는지 제어하기 위해 팀에 사이트를 구성합니다.","fB09El": "/blog/로 시작하는 경로","fDjNLX": "대용량 파일 ({size})을 가져오려 합니다. 처리하는 데 몇 분이 걸릴 수 있습니다. 계속하시겠습니까?","fGblXC": "또는 플랫폼 설정 가이드를 따르세요","fH8TQL": "특성 값","fItAD9": "코호트",- "fKrHaE": "무료 플랜","fNCCY7": "기본","fOVatJ": "임베드 위젯 비활성화됨","fQsGgo": "사용자 식별",@@ -1282,7 +1250,6 @@"g34TTZ": "URL 변경 후 페이지뷰를 추적하기 전 대기 시간","g4dAtI": "이 방문자에게 사용자 ID를 지정합니다. 이 기기에서의 과거 활동이 해당 ID에 연결됩니다.","g8H9Vw": "멤버 제거에 실패했습니다",- "gHnd+A": "이 키를 특정 리소스로 제한합니다. 비워두면 모든 작업이 가능한 전체 액세스 키가 됩니다.","gI1OXG": "사이트 삭제","gK3VmA": "버튼 클릭됨","gMhqKV": "퍼널 복제",@@ -1339,7 +1306,6 @@"hlmkcL": "상태","hmloF3": "기기 정보","hmnIY5": "카드",- "hncBRq": "멤버 초대","hnp8iI": "팀과 이 대시보드의 읽기 전용 보기를 공유할 비공개 링크를 생성하세요.","hq3XcK": "최근 {count, plural, other {#시간}}","hw9VFi": "이모지 더 보기",@@ -1347,7 +1313,6 @@"hyfdry": "페이지뷰","i/DU33": "추적 요청이 자체 프록시나 CDN(Cloudflare Worker, CloudFront, nginx)을 통해 Rybbit에 도달하는 경우 활성화하세요. 방문자 IP는 연결 IP 대신 전달된 헤더에서 읽어옵니다.","i1G+Ml": "업그레이드하려면 조직 소유자에게 문의하세요.",- "i7B/4+": "이 조직과 모든 데이터를 영구적으로 삭제합니다","i9WP0T": "브라우저 버전","iBImEo": "가설","iBRQen": "지금 구독",@@ -1383,7 +1348,6 @@"j5kA5A": "오류를 가져오는 중 문제가 발생했습니다. 나중에 다시 시도해 주세요.","j6Cfhx": "세그먼트 제거","j7BiRg": "이벤트가 선택되지 않았습니다.",- "j7DIJR": "조직 이름을 업데이트하세요","j8JkB/": "Hacker News","jBznVV": "목표 이름 (선택사항)","jCwXG9": "세션 리플레이 활성화됨",@@ -1401,7 +1365,6 @@"jWq9Z8": "사용자 지정 범위","jXmB1T": "세션 리플레이가 활성화되면 여기에 리플레이가 표시됩니다.","jZu+25": "질문 정의",- "ja2Zok": "Pro로 업그레이드","jaPj24": "속성을 선택하세요","jfXqLp": "속성을 찾을 수 없음","jhVKvF": "같지 않음",@@ -1435,11 +1398,9 @@"kNp7lL": "{time}에 생성됨","kR140n": "일치하는 시간대 없음","kT8vGm": "UTM 매체",- "kTH3Q2": "월별 이벤트 한도를 초과했습니다. 지원팀에 문의해 주세요.","kWMpjI": "적용 범위","kYpf9a": "값 검색 또는 추가","kZki3s": "Rybbit을 추천하고 50% 반복 수수료를 받으세요.",- "kdqPM0": "월 최대 {limit}개 페이지뷰의 사용자 정의 플랜입니다.","kehGIT": "URL 매개변수 추적 활성화됨","kgLyso": "총 시간","kil8JO": "멤버 편집",@@ -1500,7 +1461,6 @@"mgYBYo": "최근 90일","mhmZ+P": "세션 리플레이","mkp+qF": "추가 매개변수",- "mlMQEA": "주간 이메일 보고서 전송","n+GeZI": "지난 30일 이내 이벤트 있음","n+tV1v": "특정 페이지로의 트래픽을 제외합니다. * 를 와일드카드로 사용하세요 (예: /admin/* 또는 /preview). 대소문자를 구분하지 않습니다.","n02jRA": "강조 색상",@@ -1521,7 +1481,6 @@"na5psw": "null이 아님","naIILe": "가져오기 삭제","nhaiN+": "첫 번째 웹사이트를 추가하여 분석 추적을 시작하세요",- "ni0MP6": "월별 이벤트 한도에 근접하고 있습니다. 더 많은 용량이 필요하시면 지원팀에 문의해 주세요.","nnuMWB": "/blog/ 다음에 무엇이든 포함하는 경로","noZdV2": "삭제 중...","npZO3g": "오른쪽 클릭",@@ -1562,7 +1521,6 @@"orjNTN": "기기 정보","orxRin": "플랜 재정의 선택","osCh7/": "사이트 소유권 주장하기",- "ou8jxS": "대기 중인 초대 없음","ovJ26C": "매체","ox5r8z": "계정이 성공적으로 삭제되었습니다","oxcZjO": "권한 부여를 완료할 수 없습니다.",@@ -1574,7 +1532,6 @@"pEc/5k": "클릭 %","pGEkVl": "버튼 클릭 추적 활성화됨","pH6sDe": "앱에 이 코드를 추가한 후, 준비가 되면 목록에서 실험을 시작하세요.",- "pIN/qH": "월 최대 {limit}개 이벤트의 AppSumo 평생 플랜을 사용 중입니다.","pJ+x3b": "소스 정보","pTHVrx": "최대 100개의 IP 제외가 허용됩니다","pW35eH": "이 조직에 멤버가 없습니다",@@ -1586,7 +1543,6 @@"poMLbD": "실험 필터","poXmsM": "이메일 주소를 입력하면 비밀번호 재설정을 위한 인증 코드를 보내드립니다.","pq9Eeh": "진입 페이지:",- "pqJqst": "{plan} 플랜","ptwP96": "초대 중...","puODkp": "도시:","puhcpn": "퍼널",@@ -1639,7 +1595,6 @@"rWPtv+": "쿼리 파라미터","rYzinM": "테스트 경험을 렌더링하기 전에 코드에서 플래그를 읽으세요.","rbrahO": "닫기",- "rd5F5r": "맞춤 플랜","rdE5Ca": "롤아웃","rggp6J": "최근 60일","rk3ZU9": "좋은 CLS 점수는 0.1 이하입니다.",@@ -1666,7 +1621,6 @@"sd2ieZ": "주","siqsij": "조직 소유자만 구독을 관리할 수 있습니다.","snh6R6": "라벨 (선택사항)",- "soeWeh": "조직 설정","sy+pv5": "이메일","szFhEu": "동물 및 자연","t2Iac8": "최소 시간",@@ -1744,7 +1698,6 @@"vCL+NV": "최소 하나의 사이트를 선택하거나 사이트 제한을 비활성화하세요","vCqX8Z": "임베드 위젯 활성화됨","vDpLV2": "{type}입력 필드 변경됨",- "vFH04o": "계정 비밀번호 변경","vFf5xV": "진입 페이지","vGMvPS": "각 변형의 전환을 측정하기 위한 주요 목표를 추가하세요.","vHXIqS": "폼 이름 또는 ID(선택 사항)",@@ -1798,7 +1751,6 @@"wmdo1a": "각 조건은 순서대로 평가됩니다. 첫 번째 일치가 우선합니다.","wmrKEg": "퍼널 저장","wmyg6t": "리소스",- "wnSZSp": "API 키 생성","wninYK": "세션 데이터 없음","woXwSB": "내보내기 실패. 다시 시도해 주세요.","wqoG/5": "정의",@@ -1807,7 +1759,6 @@"wzKC2G": "나중에 주요 목표를 추가하여 각 변형의 전환을 계산하세요.","x0mEuT": "현재 새 계정 등록이 비활성화되어 있습니다. 계정이 있으시면","x61Ey6": "관리자",- "x6GhQj": "이벤트 한도 초과","x9j/v6": "IP 주소 추적 활성화됨","xA1LY9": "팀을 관리하려면 먼저 조직을 만들거나 추가되어야 합니다.","xIB8Kg": "조직 이름 업데이트 실패",@@ -1824,18 +1775,15 @@"xmBzsn": "PDF 보고서로 내보내기","xmcVZ0": "검색","xnky+a": "식별된 사용자만",- "xrcdXO": "개인 계정 설정을 관리하세요","xrk6zg": "업데이트됨","xvsXfo": "하고 사용자 정의 속성을 추가하면 여기에 표시됩니다.","y1WhQk": "새 비밀번호","y1Z3or": "언어","y3qXTf": "복사","y467+0": "목표 저장 실패",- "y5jEwG": "계정의 자동 이메일 보고서를 활성화 또는 비활성화합니다.","y9vcUt": "{inviterEmail}님이 초대했습니다","yAAjri": "OTP 코드 입력","yAaNQA": "관리자",- "yBFhF6": "14일 무료 체험이 종료되었습니다. 방문 추적을 계속하려면 구독이 필요합니다.","yBqtD8": "{count}개 세션 (24시간)","yGsZm0": "양식","yGxRRq": "일일 회전 솔트로 사용자 ID 개인정보 보호 강화",@@ -1857,7 +1805,6 @@"z0076i": "경로 목표는 /thank-you와 같이 전환이 URL인 경우에 사용합니다. 이벤트 목표는 명시적인 액션에 사용합니다.","z2PIbo": "할당 생성","z2xGiR": "주석이 삭제되었습니다",- "z4wbga": "대신 조직 API 키 사용","zD9VOD": "클릭하여 특성 편집","zGvUQx": "아님","zINlao": "소유자",diff --git a/client/messages/pl.json b/client/messages/pl.jsonindex 229fa08c2..6bebb151c 100644--- a/client/messages/pl.json+++ b/client/messages/pl.json@@ -35,7 +35,6 @@"/0tjRq": "Nie udało się przenieść witryny","/20q2D": "Twoje hasło zostało pomyślnie zresetowane.","/6bl6s": "Kliknięcie przycisku",- "/8v8/t": "Usuń organizację","/AMnMU": "Udostępniony wszystkim witrynom w organizacji","/CkSRc": "Lub kontynuuj przez e-mail","/EBXiO": "Ten członek ma dostęp do wszystkich witryn w organizacji.",@@ -168,7 +167,6 @@"4+6INx": "nie regex","4/DApn": "Ostatnie 6 godzin","41XJFz": "Nie znaleziono cech",- "42Qo3+": "Klucze API tej organizacji","450Fty": "Brak","45gABM": "Czy na pewno chcesz usunąć \"{name}\"? Tej czynności nie można cofnąć.","45hFQt": "Nieściągalna",@@ -187,7 +185,6 @@"4Y+tpi": "Zobacz demo tej funkcji","4YGHzj": "Brak eksperymentów pasujących do \"{search}\"","4ZtLoe": "Ścieżka URL",- "4cfxQk": "Plan AppSumo Tier {tier}","4eYvJG": "Widget live odwiedzających","4gDkIw": "Eksperyment zaktualizowany","4gXpPi": "Zaproszenie zostało wysłane do {email}",@@ -216,7 +213,6 @@"5xQQz7": "Te same dni tygodnia","5y2qWO": "Łączenie...","5yUsUe": "Odtwarzanie",- "5yu28t": "Jesteś na darmowym planie z limitem do {limit} odsłon miesięcznie.","5zGub0": "Śledzenie błędów","62nsdy": "Ponów","65uDP/": "Ruch ze znanych botów i crawlerów nie będzie śledzony",@@ -316,7 +312,6 @@"93oVTh": "Skopiowano do schowka","94Fg25": "Zaznacz wszystkie","95stPq": "Ukończone",- "96ejG8": "Zbliżanie się do limitu","97DGta": "Utwórz zespół","97KPX7": "Nie znaleziono tagów.","99HM2b": "Cel zdarzenia",@@ -369,7 +364,6 @@"AdNsDZ": "Rejestracja wyłączona","AeDqHA": "Natychmiast utraci dostęp do witryn i danych tej organizacji.","AkCxS/": "Powód",- "AkVL9j": "Nazwa klucza API","Asi2Jg": "Ukryj zaawansowane opcje","Aujn2T": "Liczba","AyGauy": "Logowanie",@@ -385,9 +379,7 @@"BReFYW": "Zmiany wejść","BUxbet": "Właściwość prefiksu URL","BVVhyH": "Ostatnie 14 dni",- "BW3cmW": "Osobiste klucze API","BWpuKl": "Zaktualizuj",- "BX8PCh": "Zarządzaj ustawieniami organizacji i członkami","BYZnfs": "Brak zarejestrowanych zdarzeń.","BdV5Om": "Witryny","BffFao": "Śledzenie błędów przechwytuje błędy JavaScript i wyjątki z Twojej aplikacji.",@@ -501,7 +493,6 @@"FIKvUB": "Dodaj witrynę","FIs3zs": "Zapisano segment „{name}”","FJ6r9E": "Kontynuuj z Google",- "FLgSbA": "Budujesz integrację produkcyjną?","FQMQOJ": "Wystąpił problem z pobieraniem użytkowników. Spróbuj ponownie później.","FQTq3a": "Dodaj {userEmail} do organizacji z określoną rolą.","FT1lfL": "Zacznij zbierać dane analityczne w kilka minut",@@ -531,7 +522,6 @@"GBgVhg": "Użyj wpisanego emoji","GDgEmC": "Nie znaleziono zdarzeń","GH6rlO": "Musisz wybrać organizację, aby zarządzać subskrypcją.",- "GHbyp+": "Wymagana subskrypcja","GIL+DR": "Śledzenie interakcji z formularzami włączone","GIlxUl": "Dopasuj widget do motywu swojej strony.","GM/hd6": "Zaproszenie",@@ -559,7 +549,6 @@"H/r5m6": "Przesuń w dół","H1TwHY": "Nie udało się załadować użytkowników","H359cw": "Podaj zakres, który kończy się po rozpoczęciu i nie wykracza poza dzisiaj",- "H4uuIK": "Trwale usuń swoje konto i wszystkie powiązane dane","HAlOn1": "Imię","HB6OFk": "Nie udało się utworzyć klucza API","HFp8uY": "Wydajność według przeglądarki",@@ -580,7 +569,6 @@"HtTwhf": "Identyfikator aplikacji zaktualizowany pomyślnie","Humfno": "Data końcowa","Hv8xC3": "Ładowanie wykluczeń ASN...",- "HyiDcy": "Zaproszenia","I3rqT8": "Potwierdź nowe hasło","I4Etgx": "Zwróć ładunek JSON","I5k4g/": "Użyj istniejącej",@@ -606,12 +594,10 @@"IbhgkP": "Blokowanie botów włączone","Il1aAo": "Analityka internetowa open source napędzana przez Rybbit","IoiMPE": "15 min",- "IpNrN4": "Przekroczyłeś swój miesięczny limit zdarzeń. Ulepsz do planu Pro, aby kontynuować zbieranie danych analitycznych.","ItR6u3": "Wykluczone kraje ({count})","IuFETn": "Czas trwania","IuPATc": "Wyświetlanie przypisanych odwiedzających. Wywołaj rybbit.flag(\"{flagKey}\") tam, gdzie renderuje się wariant, aby mierzyć odwiedzających faktycznie eksponowanych na niego.","IvPFG7": "Nie udało się zaktualizować roli systemowej",- "Ix3wt3": "Dowiedz się więcej o zespołach","IxrHg4": "Filtruj {count} elementów...","J+At6e": "Ostatnio przesłano","J+DDdr": "Edytuj ustawienia witryny",@@ -673,7 +659,6 @@"KYAqNj": "Użyj * do dopasowania w obrębie segmentu. Użyj ** do dopasowania czegokolwiek.","KaylUJ": "Nowe hasło i potwierdzenie hasła nie są zgodne","KeO51o": "Kanał",- "KfIZ6o": "Zaktualizuj swoją nazwę wyświetlaną na platformie","KiXNvz": "Uruchom","KjXPXZ": "{count} sesji","KkOM4O": "Maksymalnie 100 wykluczeń ścieżek",@@ -716,7 +701,6 @@"M/zZVx": "Dodaj filtr","M2oRL5": "Wybierz datę i godzinę","M6W/5v": "Skopiowano {count} adresów e-mail właścicieli",- "MAOWHK": "Twoje osobiste klucze API","MAmm3B": "Wyklucz ruch z określonych nazw hostów, takich jak domeny staging lub podglądu. Użyj * jako symbolu wieloznacznego (np. localhost lub *.vercel.app). Dopasowanie nie rozróżnia wielkości liter.","MD/3gh": "Kopiuj ID użytkownika","MGHdwe": "Brak użytkowników online w ciągu ostatnich 5 minut",@@ -760,7 +744,6 @@"NNQzoi": "Wyszukiwanie...","NOTA3a": "Silne","NPL5hM": "Wzorce pomijania",- "NQgbYA": "Ustawienia konta","NRXNLC": "Kliknięcia przycisków","NUXhb8": "Brak dostępnych danych subskrypcji","NUknhD": "Znajomi",@@ -776,7 +759,6 @@"O/IeYM": "Dowiedz się, jak identyfikować użytkowników","O/w//A": "{count} zdarzeń","O6zCyZ": "Klucz flagi",- "O8Sc7E": "Dostęp do stron","O8lxEI": "Sprawdź dokumentację Google Web Vitals, aby poznać progi.","OFEa0m": "Brak ustawionych cech","OGk6DC": "Ten rok",@@ -794,10 +776,8 @@"OfmST8": "Zaakceptuj zaproszenie","Oh4usQ": "Wybierz metrykę","Oj6AtK": "Wersja systemu operacyjnego",- "OlRI+i": "Klucze API organizacji","Omj2fC": "Wyłączanie...","OtO9EF": "Dodaj tagi, aby organizować i filtrować swoje strony.",- "OtSSs+": "{count} stron","Otefae": "Wymiar","OvzONl": "Wyłączone","OxNUFK": "Twój panel pozostanie dostępny przez 24 godziny. Przejmij go z bezpłatnym 7-dniowym okresem próbnym, aby go zachować.",@@ -827,7 +807,6 @@"PoyENW": "Nie udało się załadować użytkowników. Spróbuj ponownie później.","PpIaGj": "Jest null","Ppx673": "Raporty",- "PqV1fm": "Wybierz preferowany język","PqvkpE": "Wybierz cel","Ps71bZ": "Utwórz nowy zespół, aby grupować witryny i kontrolować dostęp członków.","PwlAG9": "Pokaż na publicznym pulpicie i w udostępnionych linkach",@@ -866,7 +845,6 @@"Qzul6+": "ID strony","R/6nsx": "Subskrypcja","R/eOkj": "Pro",- "R2OqnW": "Usuń konto","RC2XA4": "Usuwanie...","RE0v43": "Zdarzenia niestandardowe","RL7HbL": "Poproś właściciela organizacji o ulepszenie do Pro, aby odblokować {message}",@@ -898,7 +876,6 @@"S4u7Gc": "Pobierz swój klucz API","S4zxrU": "Zliczaj sesje, w których aplikacja wywołuje zdarzenie o podanej nazwie.","S5IFjk": "Utwórz zespół, aby grupować witryny i zarządzać dostępem członków.",- "S7U3Nx": "Zbliżasz się do miesięcznego limitu zdarzeń. Rozważ ulepszenie do płatnego planu dla wyższych limitów.","SB3+JE": "Brak dostępnych danych lejka","SBUMrd": "Filtruj flagi funkcji","SBoJg8": "Usunąć ten klucz API?",@@ -915,7 +892,6 @@"Sjo1P4": "Niestandardowy","SnIGkx": "To jedyny moment, w którym zobaczysz ten klucz. Skopiuj go teraz i przechowuj w bezpiecznym miejscu.","SoySgJ": "Źródło odesłania:",- "StUScz": "{count} członków","SubaMm": "Nie udało się zapisać segmentu","SyINSq": "Nie udało się uruchomić zapytania","T+D/1o": "Ostatnie {minutes} minut",@@ -961,7 +937,6 @@"UAVBcs": "{sessions} sesji · {conversions} konw.","UBQJK/": "Cel bez nazwy","UE55jO": "Nie udało się usunąć konta: {error}",- "UEl0Sh": "Wersja próbna wygasła","UF6kPm": "Bezpośrednie","UG2tSi": "Ostatnie {count, plural, one {# minuta} few {# minuty} many {# minut} other {# minuty}}","UG5qoS": "Brak danych",@@ -981,7 +956,6 @@"UgH9Vn": "Skopiowany tekst","UgYEE0": "Nawigacja dzienna","UjlqkD": "Silne hasło",- "UlLea3": "Klucz osobisty działa tak jak Ty, z dokładnie takim samym dostępem — do osobistych skryptów i łączenia klientów MCP.","Um1u7W": "Lejek zaktualizowany pomyślnie","UmEsZF": "Aktywności","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "opcjonalnie","V52jNn": "Włączona","V9fGSG": "Odczytywanie tożsamości Twojego konta i informacji z profilu.",- "VAEdEJ": "— nadal działa, gdy zmieniają się członkowie zespołu (tylko administratorzy i właściciele).","VB5EJL": "Ten sam okres w zeszłym roku","VF3DcR": "Segmenty","VJWJyq": "Typ urządzenia",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "Co chcesz zapytać?","VqI0Nz": "Lokalizacja i urządzenie",- "VtLIgh": "Klucz organizacji to własne poświadczenie organizacji: może uzyskać dostęp do wszystkich witryn tej organizacji i nadal działa, gdy członkowie odejdą. Używaj go do integracji produkcyjnych.","Vwukkb": "Dodaj ładunek JSON","VyvTDF": "Ekran:","VzzYJk": "Utwórz",@@ -1104,7 +1076,6 @@"ZXp0z1": "Funkcje","ZXuaOL": "Nie udało się usunąć użytkownika","ZbWc+A": "Adres IP",- "ZcBC7s": "Zarządzaj subskrypcją i rozliczeniami.","Zh+5A6": "Włączone","ZjhoiP": "Wybierz plan","Zqi/ST": "Wyłączyć osadzanie panelu?",@@ -1236,7 +1207,6 @@"eL0kqa": "Klucz cechy","eOj4Bs": "Nazwa zdarzenia","eQnbde": "Odłączyć Google Search Console?",- "eYX7hS": "Zaktualizuj swój adres e-mail dla powiadomień konta","ebEqgQ": "Masz aktywną subskrypcję. Anuluj subskrypcję przed usunięciem organizacji.","ekXood": "Bez limitu","ekfOaV": "Wróć",@@ -1248,13 +1218,11 @@"f3ocee": "Wyklucz ruch z określonych krajów. Zdarzenia z tych krajów nie będą śledzone w Twojej analityce.","f3v0b6": "Zbieranie Web Vitals jest wyłączone","f5efCD": "Wybierz wynik",- "f7uwif": "Organizuj witryny w zespoły, aby kontrolować, którzy członkowie mogą do nich uzyskać dostęp.","fB09El": "Ścieżki zaczynające się od /blog/","fDjNLX": "Zamierzasz zaimportować duży plik ({size}). Przetwarzanie może potrwać kilka minut. Czy na pewno chcesz kontynuować?","fGblXC": "Lub postępuj zgodnie z przewodnikiem konfiguracji dla swojej platformy","fH8TQL": "Wartość cechy","fItAD9": "Kohorta",- "fKrHaE": "Darmowy plan","fNCCY7": "Podstawowy","fOVatJ": "Widget osadzenia wyłączony","fQsGgo": "Zidentyfikuj użytkownika",@@ -1282,7 +1250,6 @@"g34TTZ": "Czas oczekiwania przed śledzeniem odsłony po zmianie URL","g4dAtI": "Przypisz identyfikator użytkownika temu odwiedzającemu. Jego dotychczasowa aktywność z tego urządzenia zostanie z nim powiązana.","g8H9Vw": "Nie udało się usunąć członka",- "gHnd+A": "Ogranicz ten klucz do określonych zasobów. Pozostaw wyłączone, aby uzyskać klucz z pełnym dostępem, który może zrobić wszystko to, co Ty.","gI1OXG": "Usuń stronę","gK3VmA": "Kliknięto przycisk","gMhqKV": "Klonuj lejek",@@ -1339,7 +1306,6 @@"hlmkcL": "Kondycja","hmloF3": "Informacje o urządzeniu","hmnIY5": "Karta",- "hncBRq": "Zaproś członka","hnp8iI": "Wygeneruj prywatny link, aby udostępnić widok tylko do odczytu tego pulpitu swojemu zespołowi.","hq3XcK": "Ostatnie {count, plural, one {# godzina} few {# godziny} many {# godzin} other {# godziny}}","hw9VFi": "Więcej emoji",@@ -1347,7 +1313,6 @@"hyfdry": "Odsłona","i/DU33": "Włącz, jeśli żądania śledzenia docierają do Rybbit przez Twoje własne proxy lub CDN (Cloudflare Worker, CloudFront, nginx). Adresy IP odwiedzających będą wtedy odczytywane z nagłówków przekazywania zamiast z adresu IP połączenia.","i1G+Ml": "Skontaktuj się z właścicielem organizacji w celu ulepszenia planu.",- "i7B/4+": "Trwale usuń tę organizację i wszystkie jej dane","i9WP0T": "Wersja przeglądarki","iBImEo": "Hipoteza","iBRQen": "Subskrybuj teraz",@@ -1383,7 +1348,6 @@"j5kA5A": "Wystąpił problem z pobieraniem błędów. Spróbuj ponownie później.","j6Cfhx": "Usuń segment","j7BiRg": "Nie wybrano zdarzenia.",- "j7DIJR": "Zaktualizuj nazwę organizacji","j8JkB/": "Hacker News","jBznVV": "Nazwa celu (opcjonalnie)","jCwXG9": "Odtwarzanie sesji włączone",@@ -1401,7 +1365,6 @@"jWq9Z8": "Zakres niestandardowy","jXmB1T": "Odtwarzania pojawią się tutaj po włączeniu odtwarzania sesji.","jZu+25": "Zdefiniuj pytanie",- "ja2Zok": "Ulepsz do Pro","jaPj24": "Wybierz właściwość","jfXqLp": "Nie znaleziono właściwości","jhVKvF": "Nie równa się",@@ -1435,11 +1398,9 @@"kNp7lL": "Utworzono {time}","kR140n": "Brak pasującej strefy czasowej","kT8vGm": "Medium UTM",- "kTH3Q2": "Przekroczyłeś swój miesięczny limit zdarzeń. Skontaktuj się z pomocą techniczną.","kWMpjI": "Dostępny w","kYpf9a": "Wyszukaj lub dodaj wartość","kZki3s": "Zarabiaj 50% prowizji cyklicznej, polecając Rybbit.",- "kdqPM0": "Masz niestandardowy plan z limitem do {limit} odsłon miesięcznie.","kehGIT": "Śledzenie parametrów URL włączone","kgLyso": "Łączny czas","kil8JO": "Edytuj członka",@@ -1500,7 +1461,6 @@"mgYBYo": "Ostatnie 90 dni","mhmZ+P": "Odtwarzanie sesji","mkp+qF": "Dodatkowe parametry",- "mlMQEA": "Wysyłaj tygodniowe raporty e-mail","n+GeZI": "ze zdarzeniami w ciągu ostatnich 30 dni","n+tV1v": "Wyklucz ruch do określonych stron. Użyj * jako symbolu wieloznacznego (np. /admin/* lub /preview). Dopasowanie nie rozróżnia wielkości liter.","n02jRA": "Kolor akcentu",@@ -1521,7 +1481,6 @@"na5psw": "Nie jest null","naIILe": "Usuń import","nhaiN+": "Dodaj swoją pierwszą stronę, aby rozpocząć śledzenie analityki",- "ni0MP6": "Zbliżasz się do miesięcznego limitu zdarzeń. Skontaktuj się z pomocą techniczną, jeśli potrzebujesz większej pojemności.","nnuMWB": "Ścieżki zawierające /blog/ i cokolwiek dalej","noZdV2": "Usuwanie...","npZO3g": "Kliknięcie prawym przyciskiem",@@ -1562,7 +1521,6 @@"orjNTN": "Informacje o urządzeniu","orxRin": "Wybierz zastąpienie planu","osCh7/": "Przejmij witrynę",- "ou8jxS": "Brak oczekujących zaproszeń","ovJ26C": "Nośnik","ox5r8z": "Konto pomyślnie usunięte","oxcZjO": "Nie udało się ukończyć autoryzacji.",@@ -1574,7 +1532,6 @@"pEc/5k": "% kliknięć","pGEkVl": "Śledzenie kliknięć przycisków włączone","pH6sDe": "Dodaj ten kod do swojej aplikacji, a następnie uruchom eksperyment z listy, gdy będziesz gotowy.",- "pIN/qH": "Jesteś na dożywotnim planie AppSumo z limitem do {limit} zdarzeń miesięcznie.","pJ+x3b": "Informacje o źródle","pTHVrx": "Maksymalnie 100 wykluczeń IP","pW35eH": "Brak członków w tej organizacji",@@ -1586,7 +1543,6 @@"poMLbD": "Filtruj eksperymenty","poXmsM": "Wprowadź swój adres e-mail, a wyślemy Ci kod weryfikacyjny do zresetowania hasła.","pq9Eeh": "Strona wejściowa:",- "pqJqst": "Plan {plan}","ptwP96": "Zapraszanie...","puODkp": "Miasto:","puhcpn": "Lejki",@@ -1639,7 +1595,6 @@"rWPtv+": "Parametr zapytania","rYzinM": "Odczytaj flagę w kodzie przed renderowaniem testowanego doświadczenia.","rbrahO": "Zamknij",- "rd5F5r": "Plan niestandardowy","rdE5Ca": "Wdrożenie stopniowe","rggp6J": "Ostatnie 60 dni","rk3ZU9": "Dobre wyniki CLS to 0,1 lub mniej.",@@ -1666,7 +1621,6 @@"sd2ieZ": "tydzień","siqsij": "Tylko właściciel organizacji może zarządzać subskrypcją.","snh6R6": "Etykieta (opcjonalnie)",- "soeWeh": "Ustawienia organizacji","sy+pv5": "E-mail","szFhEu": "Zwierzęta i natura","t2Iac8": "Min. czas trwania",@@ -1744,7 +1698,6 @@"vCL+NV": "Wybierz co najmniej jedną witrynę lub wyłącz ograniczenia witryn","vCqX8Z": "Widget osadzenia włączony","vDpLV2": "Zmieniono {type}pole wprowadzania",- "vFH04o": "Zmień hasło do swojego konta","vFf5xV": "Strony wejściowe","vGMvPS": "Dodaj główny cel, aby mierzyć konwersje dla każdego wariantu.","vHXIqS": "Nazwa lub ID formularza (opcjonalnie)",@@ -1798,7 +1751,6 @@"wmdo1a": "Każdy warunek jest oceniany po kolei. Wygrywa pierwsze dopasowanie.","wmrKEg": "Zapisz lejek","wmyg6t": "Zasób",- "wnSZSp": "Utwórz klucz API","wninYK": "Brak danych sesji","woXwSB": "Eksport nie powiódł się. Spróbuj ponownie.","wqoG/5": "Definicja",@@ -1807,7 +1759,6 @@"wzKC2G": "Dodaj główny cel później, aby obliczać konwersje dla każdego wariantu.","x0mEuT": "Rejestracja nowych kont jest obecnie wyłączona. Jeśli masz konto, możesz się","x61Ey6": "Administrator",- "x6GhQj": "Przekroczono limit zdarzeń","x9j/v6": "Śledzenie adresów IP włączone","xA1LY9": "Musisz utworzyć lub zostać dodany do organizacji, zanim będziesz mógł zarządzać zespołami.","xIB8Kg": "Nie udało się zaktualizować nazwy organizacji",@@ -1824,18 +1775,15 @@"xmBzsn": "Eksportuj jako raport PDF","xmcVZ0": "Szukaj","xnky+a": "Tylko zidentyfikowani",- "xrcdXO": "Zarządzaj osobistymi ustawieniami konta","xrk6zg": "Zaktualizowano","xvsXfo": "z niestandardowymi właściwościami.","y1WhQk": "Twoje nowe hasło","y1Z3or": "Język","y3qXTf": "Kopie","y467+0": "Nie udało się zapisać celu",- "y5jEwG": "Włącz lub wyłącz automatyczne raporty e-mail dla swojego konta.","y9vcUt": "Zostałeś zaproszony przez {inviterEmail}","yAAjri": "Wprowadź kod OTP","yAaNQA": "Administratorzy",- "yBFhF6": "Twoja 14-dniowa darmowa wersja próbna się zakończyła. Musisz subskrybować, aby ponownie śledzić odwiedziny.","yBqtD8": "{count} sesji (24h)","yGsZm0": "Formularze","yGxRRq": "Zwiększ prywatność dzięki codziennie rotowanym solom dla ID użytkowników",@@ -1857,7 +1805,6 @@"z0076i": "Cele ścieżki działają, gdy konwersja to URL, np. /dziekujemy. Cele zdarzenia działają dla jawnych akcji.","z2PIbo": "Utwórz przypisanie","z2xGiR": "Usunięto adnotację",- "z4wbga": "Użyj zamiast tego klucza API organizacji","zD9VOD": "Kliknij, aby edytować cechy","zGvUQx": "Nie jest","zINlao": "Właściciel",diff --git a/client/messages/pt.json b/client/messages/pt.jsonindex 863ed9a34..cfc7de5f5 100644--- a/client/messages/pt.json+++ b/client/messages/pt.json@@ -35,7 +35,6 @@"/0tjRq": "Falha ao mover site","/20q2D": "Sua senha foi redefinida com sucesso.","/6bl6s": "Clique em botão",- "/8v8/t": "Excluir Organização","/AMnMU": "Compartilhado com todos os sites da organização","/CkSRc": "Ou continue com email","/EBXiO": "Este membro tem acesso a todos os sites da organização.",@@ -168,7 +167,6 @@"4+6INx": "não regex","4/DApn": "Últimas 6 Horas","41XJFz": "Nenhum atributo encontrado",- "42Qo3+": "As chaves de API desta organização","450Fty": "Nenhum","45gABM": "Tem certeza de que deseja excluir \"{name}\"? Esta ação não pode ser desfeita.","45hFQt": "Incobrável",@@ -187,7 +185,6 @@"4Y+tpi": "Veja uma demo desta funcionalidade","4YGHzj": "Nenhum experimento corresponde a \"{search}\"","4ZtLoe": "Caminho",- "4cfxQk": "Plano AppSumo Tier {tier}","4eYvJG": "Widget de Visitantes ao Vivo","4gDkIw": "Experimento atualizado","4gXpPi": "Convite enviado para {email}",@@ -216,7 +213,6 @@"5xQQz7": "Mesmos dias da semana","5y2qWO": "Conectando...","5yUsUe": "Repetição",- "5yu28t": "Você está no plano Gratuito com até {limit} visualizações de página por mês.","5zGub0": "Rastreamento de Erros","62nsdy": "Tentar Novamente","65uDP/": "Tráfego de bots e crawlers conhecidos não será rastreado",@@ -316,7 +312,6 @@"93oVTh": "Copiado para a área de transferência","94Fg25": "Selecionar tudo","95stPq": "Concluído",- "96ejG8": "Aproximando-se do Limite","97DGta": "Criar time","97KPX7": "Nenhuma tag encontrada.","99HM2b": "Meta de evento",@@ -369,7 +364,6 @@"AdNsDZ": "Cadastro Desativado","AeDqHA": "Ele perderá imediatamente o acesso aos sites e dados desta organização.","AkCxS/": "Motivo",- "AkVL9j": "Nome da Chave de API","Asi2Jg": "Ocultar opções avançadas","Aujn2T": "Contagem","AyGauy": "Entrar",@@ -385,9 +379,7 @@"BReFYW": "Mudanças de entrada","BUxbet": "Propriedade de prefixo de URL","BVVhyH": "Últimos 14 dias",- "BW3cmW": "Chaves de API pessoais","BWpuKl": "Atualizar",- "BX8PCh": "Gerencie as configurações e membros da sua organização","BYZnfs": "Nenhum evento registrado.","BdV5Om": "Sites","BffFao": "O rastreamento de erros captura erros e exceções JavaScript da sua aplicação.",@@ -501,7 +493,6 @@"FIKvUB": "Adicionar Site","FIs3zs": "Segmento “{name}” salvo","FJ6r9E": "Continuar com Google",- "FLgSbA": "Está criando uma integração de produção?","FQMQOJ": "Houve um problema ao buscar os usuários. Por favor, tente novamente mais tarde.","FQTq3a": "Adicionar {userEmail} a uma organização com um papel específico.","FT1lfL": "Comece a coletar análises em minutos",@@ -531,7 +522,6 @@"GBgVhg": "Usar o emoji digitado","GDgEmC": "Nenhum evento encontrado","GH6rlO": "Você precisa selecionar uma organização para gerenciar sua assinatura.",- "GHbyp+": "Assinatura Necessária","GIL+DR": "Rastreamento de interação com formulários ativado","GIlxUl": "Combine o widget com o tema do seu site.","GM/hd6": "Convite",@@ -559,7 +549,6 @@"H/r5m6": "Mover para baixo","H1TwHY": "Falha ao carregar usuários","H359cw": "Informe um período que termine após o início e não ultrapasse hoje",- "H4uuIK": "Excluir permanentemente sua conta e todos os dados associados","HAlOn1": "Nome","HB6OFk": "Falha ao criar chave de API","HFp8uY": "Desempenho por Navegador",@@ -580,7 +569,6 @@"HtTwhf": "Identificador do app atualizado com sucesso","Humfno": "Data de término","Hv8xC3": "Carregando exclusões de ASN...",- "HyiDcy": "Convites","I3rqT8": "Confirme sua nova senha","I4Etgx": "Retornar um payload JSON","I5k4g/": "Usar existente",@@ -606,12 +594,10 @@"IbhgkP": "Bloqueio de bots ativado","Il1aAo": "Análise web de código aberto desenvolvida por Rybbit","IoiMPE": "15 min",- "IpNrN4": "Você excedeu seu limite mensal de eventos. Por favor, atualize para um plano Pro para continuar coletando análises.","ItR6u3": "Países Excluídos ({count})","IuFETn": "Duração","IuPATc": "Exibindo visitantes atribuídos. Chame rybbit.flag(\"{flagKey}\") onde a variante é renderizada para medir os visitantes realmente expostos a ela.","IvPFG7": "Falha ao atualizar a função do sistema",- "Ix3wt3": "Saiba mais sobre equipes","IxrHg4": "Filtrar {count} itens...","J+At6e": "Último Envio","J+DDdr": "Editar configurações do site",@@ -673,7 +659,6 @@"KYAqNj": "Use * para corresponder dentro de um segmento. Use ** para corresponder a qualquer coisa.","KaylUJ": "A nova senha e a confirmação não coincidem","KeO51o": "Canal",- "KfIZ6o": "Atualize seu nome exibido na plataforma","KiXNvz": "Executar","KjXPXZ": "{count} sessões","KkOM4O": "Máximo de 100 exclusões de caminho permitidas",@@ -716,7 +701,6 @@"M/zZVx": "Adicionar filtro","M2oRL5": "Escolher uma data e hora","M6W/5v": "{count} e-mails de proprietários copiados",- "MAOWHK": "Suas chaves de API pessoais","MAmm3B": "Exclua tráfego de nomes de host específicos, como domínios de staging ou pré-visualização. Use * como curinga (ex.: localhost ou *.vercel.app). A correspondência não diferencia maiúsculas de minúsculas.","MD/3gh": "Copiar ID do usuário","MGHdwe": "Nenhum usuário online nos últimos 5 minutos",@@ -760,7 +744,6 @@"NNQzoi": "Pesquisando...","NOTA3a": "Forte","NPL5hM": "Padrões de Exclusão",- "NQgbYA": "Configurações da Conta","NRXNLC": "Cliques em Botões","NUXhb8": "Nenhum dado de assinatura disponível","NUknhD": "Amigos",@@ -776,7 +759,6 @@"O/IeYM": "Saiba como identificar usuários","O/w//A": "{count} eventos","O6zCyZ": "Chave da flag",- "O8Sc7E": "Acesso ao Site","O8lxEI": "Consulte a documentação de Web Vitals do Google para os limites.","OFEa0m": "Nenhum atributo definido","OGk6DC": "Este Ano",@@ -794,10 +776,8 @@"OfmST8": "Aceitar Convite","Oh4usQ": "Selecionar métrica","Oj6AtK": "Versão do SO",- "OlRI+i": "Chaves de API da organização","Omj2fC": "Desativando...","OtO9EF": "Adicione tags para organizar e filtrar seus sites.",- "OtSSs+": "{count} sites","Otefae": "Dimensão","OvzONl": "Desligado","OxNUFK": "Seu painel fica disponível por 24 horas. Reivindique-o com um teste gratuito de 7 dias para mantê-lo.",@@ -827,7 +807,6 @@"PoyENW": "Falha ao carregar usuários. Por favor, tente novamente mais tarde.","PpIaGj": "É nulo","Ppx673": "Relatórios",- "PqV1fm": "Selecione seu idioma preferido","PqvkpE": "Escolher uma meta","Ps71bZ": "Crie um novo time para agrupar sites e controlar o acesso dos membros.","PwlAG9": "Exibir no painel público e em links compartilhados",@@ -866,7 +845,6 @@"Qzul6+": "ID do Site","R/6nsx": "Assinatura","R/eOkj": "Pro",- "R2OqnW": "Excluir Conta","RC2XA4": "Removendo...","RE0v43": "Eventos Personalizados","RL7HbL": "Peça ao proprietário da sua organização para atualizar para Pro para desbloquear {message}",@@ -898,7 +876,6 @@"S4u7Gc": "Obtenha sua chave de API","S4zxrU": "Conta sessões onde seu app dispara um evento nomeado.","S5IFjk": "Crie um time para agrupar sites e gerenciar o acesso dos membros.",- "S7U3Nx": "Você está se aproximando do seu limite mensal de eventos. Considere atualizar para um plano pago para limites maiores.","SB3+JE": "Nenhum dado de funil disponível","SBUMrd": "Filtrar feature flags","SBoJg8": "Excluir esta chave de API?",@@ -915,7 +892,6 @@"Sjo1P4": "Personalizado","SnIGkx": "Esta é a única vez que você verá esta chave. Copie-a agora e guarde-a em um local seguro.","SoySgJ": "Referenciador:",- "StUScz": "{count} membros","SubaMm": "Não foi possível salvar o segmento","SyINSq": "Falha ao executar consulta","T+D/1o": "Últimos {minutes} minutos",@@ -961,7 +937,6 @@"UAVBcs": "{sessions} sessões · {conversions} conv.","UBQJK/": "Meta sem título","UE55jO": "Falha ao excluir conta: {error}",- "UEl0Sh": "Teste Expirado","UF6kPm": "Direto","UG2tSi": "Últim{count, plural, one {o # minuto} other {os # minutos}}","UG5qoS": "Sem dados",@@ -981,7 +956,6 @@"UgH9Vn": "Texto Copiado","UgYEE0": "Navegação Diurna","UjlqkD": "Senha forte",- "UlLea3": "Uma chave pessoal age como você, com exatamente o seu acesso — para scripts pessoais e conexão de clientes MCP.","Um1u7W": "Funil atualizado com sucesso","UmEsZF": "Atividades","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "opcional","V52jNn": "Habilitado","V9fGSG": "Ler a identidade da sua conta e as informações do seu perfil.",- "VAEdEJ": "— ela continua funcionando quando os membros da equipe mudam (somente administradores e proprietários).","VB5EJL": "Mesmo período do ano passado","VF3DcR": "Segmentos","VJWJyq": "Tipo de dispositivo",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "O que você quer consultar?","VqI0Nz": "Localização e Dispositivo",- "VtLIgh": "Uma chave da organização é a credencial da própria organização: ela pode acessar todos os sites desta organização e continua funcionando quando membros saem. Use-a para integrações de produção.","Vwukkb": "Adicionar payload JSON","VyvTDF": "Tela:","VzzYJk": "Criar",@@ -1104,7 +1076,6 @@"ZXp0z1": "Funcionalidades","ZXuaOL": "Falha ao excluir usuário","ZbWc+A": "Endereço IP",- "ZcBC7s": "Gerencie sua assinatura e cobrança.","Zh+5A6": "Ligado","ZjhoiP": "Selecione um plano","Zqi/ST": "Desativar incorporação do dashboard?",@@ -1236,7 +1207,6 @@"eL0kqa": "Chave do atributo","eOj4Bs": "Nome do evento","eQnbde": "Desconectar Google Search Console?",- "eYX7hS": "Atualize seu endereço de email para notificações da conta","ebEqgQ": "Você tem uma assinatura ativa. Cancele sua assinatura antes de excluir a organização.","ekXood": "Ilimitado","ekfOaV": "Voltar",@@ -1248,13 +1218,11 @@"f3ocee": "Exclua tráfego de países específicos. Eventos desses países não serão rastreados nas suas análises.","f3v0b6": "Coleta de Web Vitals Desativada","f5efCD": "Escolha o resultado",- "f7uwif": "Organize sites em times para controlar quais membros podem acessá-los.","fB09El": "Caminhos começando com /blog/","fDjNLX": "Você está prestes a importar um arquivo grande ({size}). Isso pode levar vários minutos para processar. Tem certeza de que deseja continuar?","fGblXC": "Ou siga um guia de configuração para sua plataforma","fH8TQL": "Valor do atributo","fItAD9": "Coorte",- "fKrHaE": "Plano Gratuito","fNCCY7": "Básico","fOVatJ": "Widget de incorporação desativado","fQsGgo": "Identificar usuário",@@ -1282,7 +1250,6 @@"g34TTZ": "Tempo de espera antes de rastrear uma visualização de página após mudanças de URL","g4dAtI": "Atribua um ID de usuário a este visitante. A atividade anterior deste dispositivo será vinculada a ele.","g8H9Vw": "Falha ao remover membro",- "gHnd+A": "Restrinja esta chave a recursos específicos. Deixe desativado para uma chave de acesso total que pode fazer tudo o que você pode.","gI1OXG": "Excluir Site","gK3VmA": "Clicou no botão","gMhqKV": "Clonar Funil",@@ -1339,7 +1306,6 @@"hlmkcL": "Saúde","hmloF3": "Informações do Dispositivo","hmnIY5": "Cartão",- "hncBRq": "Convidar membro","hnp8iI": "Gere um link privado para compartilhar uma visualização somente leitura deste painel com sua equipe.","hq3XcK": "Últim{count, plural, one {a # hora} other {as # horas}}","hw9VFi": "Mais emojis",@@ -1347,7 +1313,6 @@"hyfdry": "Visualização de página","i/DU33": "Ative se as solicitações de rastreamento chegam ao Rybbit através do seu próprio proxy ou CDN (Cloudflare Worker, CloudFront, nginx). Os IPs dos visitantes serão lidos a partir dos cabeçalhos encaminhados em vez do IP de conexão.","i1G+Ml": "Entre em contato com o proprietário da sua organização para atualizar.",- "i7B/4+": "Excluir permanentemente esta organização e todos os seus dados","i9WP0T": "Versão do Navegador","iBImEo": "Hipótese","iBRQen": "Assinar Agora",@@ -1383,7 +1348,6 @@"j5kA5A": "Houve um problema ao buscar os erros. Por favor, tente novamente mais tarde.","j6Cfhx": "Remover segmento","j7BiRg": "Nenhum evento selecionado.",- "j7DIJR": "Atualize o nome da sua organização","j8JkB/": "Hacker News","jBznVV": "Nome da Meta (opcional)","jCwXG9": "Replay de sessão ativado",@@ -1401,7 +1365,6 @@"jWq9Z8": "Intervalo personalizado","jXmB1T": "Os replays aparecerão aqui quando o replay de sessão estiver ativado.","jZu+25": "Defina a pergunta",- "ja2Zok": "Atualizar Para Pro","jaPj24": "Por favor, selecione uma propriedade","jfXqLp": "Nenhuma Propriedade Encontrada","jhVKvF": "Não é igual a",@@ -1435,11 +1398,9 @@"kNp7lL": "Criado {time}","kR140n": "Nenhum fuso horário correspondente","kT8vGm": "Mídia UTM",- "kTH3Q2": "Você excedeu seu limite mensal de eventos. Por favor, entre em contato com o suporte para assistência.","kWMpjI": "Disponível em","kYpf9a": "Pesquisar ou adicionar valor","kZki3s": "Ganhe 50% de comissão recorrente indicando o Rybbit.",- "kdqPM0": "Você tem um plano personalizado com até {limit} visualizações de página por mês.","kehGIT": "Rastreamento de parâmetros de URL ativado","kgLyso": "Tempo Total","kil8JO": "Editar Membro",@@ -1500,7 +1461,6 @@"mgYBYo": "Últimos 90 dias","mhmZ+P": "Replay de Sessão","mkp+qF": "Parâmetros Adicionais",- "mlMQEA": "Enviar Relatórios Semanais por Email","n+GeZI": "com eventos nos últimos 30 dias","n+tV1v": "Exclua tráfego para páginas específicas. Use * como curinga (ex.: /admin/* ou /preview). A correspondência não diferencia maiúsculas de minúsculas.","n02jRA": "Cor de destaque",@@ -1521,7 +1481,6 @@"na5psw": "Não é nulo","naIILe": "Excluir Importação","nhaiN+": "Adicione seu primeiro site para começar a rastrear análises",- "ni0MP6": "Você está se aproximando do seu limite mensal de eventos. Por favor, entre em contato com o suporte se precisar de mais capacidade.","nnuMWB": "Caminhos contendo /blog/ seguido de qualquer coisa","noZdV2": "Excluindo...","npZO3g": "Clique com botão direito",@@ -1562,7 +1521,6 @@"orjNTN": "Info do Dispositivo","orxRin": "Selecione uma substituição de plano","osCh7/": "Reivindicar site",- "ou8jxS": "Nenhum convite pendente","ovJ26C": "Meio","ox5r8z": "Conta excluída com sucesso","oxcZjO": "Não foi possível concluir a autorização.",@@ -1574,7 +1532,6 @@"pEc/5k": "Clique %","pGEkVl": "Rastreamento de cliques em botões ativado","pH6sDe": "Adicione este código ao seu app e, quando estiver pronto, inicie o experimento pela lista.",- "pIN/qH": "Você está no plano vitalício AppSumo com até {limit} eventos por mês.","pJ+x3b": "Informações da Fonte","pTHVrx": "Máximo de 100 exclusões de IP permitidas","pW35eH": "Nenhum membro nesta organização",@@ -1586,7 +1543,6 @@"poMLbD": "Filtrar experimentos","poXmsM": "Digite seu endereço de email e enviaremos um código de verificação para redefinir sua senha.","pq9Eeh": "Página de Entrada:",- "pqJqst": "Plano {plan}","ptwP96": "Convidando...","puODkp": "Cidade:","puhcpn": "Funis",@@ -1639,7 +1595,6 @@"rWPtv+": "Parâmetro de query","rYzinM": "Leia a flag no código antes de renderizar a experiência testada.","rbrahO": "Fechar",- "rd5F5r": "Plano personalizado","rdE5Ca": "Distribuição gradual","rggp6J": "Últimos 60 Dias","rk3ZU9": "Boas pontuações de CLS são 0,1 ou menos.",@@ -1666,7 +1621,6 @@"sd2ieZ": "semana","siqsij": "Apenas o proprietário da organização pode gerenciar a assinatura.","snh6R6": "Rótulo (opcional)",- "soeWeh": "Configurações da organização","sy+pv5": "E-mail","szFhEu": "Animais e natureza","t2Iac8": "Duração Mínima",@@ -1744,7 +1698,6 @@"vCL+NV": "Selecione pelo menos um site ou desative as restrições de site","vCqX8Z": "Widget de incorporação ativado","vDpLV2": "{type}campo de entrada alterado",- "vFH04o": "Altere a senha da sua conta","vFf5xV": "Páginas de Entrada","vGMvPS": "Adicione uma meta principal para medir as conversões de cada variante.","vHXIqS": "Nome ou ID do formulário (opcional)",@@ -1798,7 +1751,6 @@"wmdo1a": "Cada condição é avaliada em ordem. A primeira correspondência vence.","wmrKEg": "Salvar Funil","wmyg6t": "Recurso",- "wnSZSp": "Criar Chave de API","wninYK": "Sem dados de sessão","woXwSB": "Exportação falhou. Por favor, tente novamente.","wqoG/5": "Definido como",@@ -1807,7 +1759,6 @@"wzKC2G": "Adicione uma meta principal depois para calcular as conversões de cada variante.","x0mEuT": "O registro de novas contas está desativado no momento. Se você tem uma conta, pode","x61Ey6": "Administrador",- "x6GhQj": "Limite de Eventos Excedido","x9j/v6": "Rastreamento de endereço IP ativado","xA1LY9": "Você precisa criar ou ser adicionado a uma organização antes de gerenciar times.","xIB8Kg": "Falha ao atualizar nome da organização",@@ -1824,18 +1775,15 @@"xmBzsn": "Exportar como Relatório PDF","xmcVZ0": "Pesquisar","xnky+a": "Apenas identificados",- "xrcdXO": "Gerencie suas configurações pessoais de conta","xrk6zg": "Atualizado","xvsXfo": "com propriedades personalizadas.","y1WhQk": "Sua nova senha","y1Z3or": "Idioma","y3qXTf": "Cópias","y467+0": "Falha ao salvar meta",- "y5jEwG": "Ative ou desative relatórios automáticos por email para sua conta.","y9vcUt": "Você foi convidado por {inviterEmail}","yAAjri": "Digite o Código OTP","yAaNQA": "Administradores",- "yBFhF6": "Seu teste gratuito de 14 dias acabou. Você precisa assinar para continuar rastreando visitas novamente.","yBqtD8": "{count} sessões (24h)","yGsZm0": "Formulários","yGxRRq": "Aumente a privacidade com salts rotativos diários para IDs de usuário",@@ -1857,7 +1805,6 @@"z0076i": "Metas de caminho funcionam quando a conversão é uma URL, como /obrigado. Metas de evento funcionam para ações explícitas.","z2PIbo": "Criar a atribuição","z2xGiR": "Anotação excluída",- "z4wbga": "Usar uma chave de API da organização","zD9VOD": "Clique para editar os atributos","zGvUQx": "Não é","zINlao": "Proprietário",diff --git a/client/messages/uk.json b/client/messages/uk.jsonindex 043dfaf2c..1df71d273 100644--- a/client/messages/uk.json+++ b/client/messages/uk.json@@ -35,7 +35,6 @@"/0tjRq": "Не вдалося перемістити сайт","/20q2D": "Ваш пароль успішно скинуто.","/6bl6s": "Клік по кнопці",- "/8v8/t": "Видалити організацію","/AMnMU": "Доступно всім сайтам організації","/CkSRc": "Або продовжити через email","/EBXiO": "Цей учасник має доступ до всіх сайтів в організації.",@@ -168,7 +167,6 @@"4+6INx": "не regex","4/DApn": "Останні 6 годин","41XJFz": "Ознак не знайдено",- "42Qo3+": "API-ключі цієї організації","450Fty": "Немає","45gABM": "Ви впевнені, що хочете видалити \"{name}\"? Цю дію неможливо скасувати.","45hFQt": "Безнадійний",@@ -187,7 +185,6 @@"4Y+tpi": "Подивитися демо цієї функції","4YGHzj": "Немає експериментів, що відповідають \"{search}\"","4ZtLoe": "Шлях (Pathname)",- "4cfxQk": "План AppSumo (Рівень {tier})","4eYvJG": "Віджет активних відвідувачів","4gDkIw": "Експеримент оновлено","4gXpPi": "Запрошення надіслано на {email}",@@ -216,7 +213,6 @@"5xQQz7": "Ті самі дні тижня","5y2qWO": "Підключення...","5yUsUe": "Відтворення",- "5yu28t": "Ви використовуєте безкоштовний план з лімітом до {limit} переглядів сторінок на місяць.","5zGub0": "Відстеження помилок","62nsdy": "Повторити спробу","65uDP/": "Трафік від відомих ботів та кроулерів не відстежуватиметься",@@ -316,7 +312,6 @@"93oVTh": "Скопійовано в буфер обміну","94Fg25": "Вибрати всіх","95stPq": "Завершено",- "96ejG8": "Наближення до ліміту","97DGta": "Створити команду","97KPX7": "Тегів не знайдено.","99HM2b": "Ціль-подія",@@ -369,7 +364,6 @@"AdNsDZ": "Реєстрацію вимкнено","AeDqHA": "Він негайно втратить доступ до сайтів і даних цієї організації.","AkCxS/": "Причина",- "AkVL9j": "Назва API-ключа","Asi2Jg": "Приховати розширені опції","Aujn2T": "Кількість","AyGauy": "Увійти",@@ -385,9 +379,7 @@"BReFYW": "Зміни полів вводу","BUxbet": "Ресурс із префіксом URL","BVVhyH": "Останні 14 днів",- "BW3cmW": "Особисті API-ключі","BWpuKl": "Оновити",- "BX8PCh": "Керуйте налаштуваннями вашої організації та учасниками","BYZnfs": "Жодних зафіксованих подій.","BdV5Om": "Сайти","BffFao": "Відстеження помилок фіксує помилки JavaScript та винятки з вашого застосунку.",@@ -501,7 +493,6 @@"FIKvUB": "Додати сайт","FIs3zs": "Сегмент «{name}» збережено","FJ6r9E": "Продовжити через Google",- "FLgSbA": "Створюєте продакшн-інтеграцію?","FQMQOJ": "Виникла проблема під час отримання користувачів. Будь ласка, спробуйте пізніше.","FQTq3a": "Додати {userEmail} до організації з певною роллю.","FT1lfL": "Почніть збирати аналітику за лічені хвилини",@@ -531,7 +522,6 @@"GBgVhg": "Використати введене емодзі","GDgEmC": "Подій не знайдено","GH6rlO": "Вам потрібно вибрати організацію, щоб керувати підпискою.",- "GHbyp+": "Потрібна підписка","GIL+DR": "Відстеження взаємодій із формами увімкнено","GIlxUl": "Узгодьте віджет з темою вашого сайту.","GM/hd6": "Запрошення",@@ -559,7 +549,6 @@"H/r5m6": "Перемістити вниз","H1TwHY": "Не вдалося завантажити користувачів","H359cw": "Введіть період, який завершується після початку й не пізніше сьогодні",- "H4uuIK": "Остаточно видалити ваш акаунт та всі пов'язані дані","HAlOn1": "Ім'я","HB6OFk": "Не вдалося створити API-ключ","HFp8uY": "Продуктивність за браузерами",@@ -580,7 +569,6 @@"HtTwhf": "Ідентифікатор застосунку успішно оновлено","Humfno": "Дата завершення","Hv8xC3": "Завантаження винятків ASN...",- "HyiDcy": "Запрошення","I3rqT8": "Підтвердіть ваш новий пароль","I4Etgx": "Повернути JSON payload","I5k4g/": "Використати наявний",@@ -606,12 +594,10 @@"IbhgkP": "Блокування ботів увімкнено","Il1aAo": "Вебаналітика з відкритим кодом на базі Rybbit","IoiMPE": "15 Мін.",- "IpNrN4": "Ви перевищили свій місячний ліміт подій. Будь ласка, перейдіть на план Pro, щоб продовжити збирати аналітику.","ItR6u3": "Виключені країни ({count})","IuFETn": "Тривалість","IuPATc": "Показано призначених відвідувачів. Викличте rybbit.flag(\"{flagKey}\") у місці рендерингу варіанту, щоб виміряти відвідувачів, які фактично побачили його.","IvPFG7": "Не вдалося оновити системну роль",- "Ix3wt3": "Дізнатися більше про команди","IxrHg4": "Фільтрувати {count} елементів...","J+At6e": "Останнє надсилання","J+DDdr": "Редагувати налаштування сайту",@@ -673,7 +659,6 @@"KYAqNj": "Використовуйте * для відповідності в межах сегмента. Використовуйте ** для відповідності будь-чому.","KaylUJ": "Новий пароль і підтвердження пароля не збігаються","KeO51o": "Канал",- "KfIZ6o": "Оновіть своє ім'я, яке відображатиметься на платформі","KiXNvz": "Запустити","KjXPXZ": "{count} сеансів","KkOM4O": "Дозволено максимум 100 винятків шляхів",@@ -716,7 +701,6 @@"M/zZVx": "Додати фільтр","M2oRL5": "Виберіть дату й час","M6W/5v": "Скопійовано {count} email-адрес власників",- "MAOWHK": "Ваші особисті API-ключі","MAmm3B": "Виключіть трафік з певних імен хостів, наприклад staging- чи preview-доменів. Використовуйте * як символ підстановки (напр., localhost або *.vercel.app). Пошук без урахування регістру.","MD/3gh": "Копіювати ID користувача","MGHdwe": "Немає користувачів онлайн за останні 5 хвилин",@@ -760,7 +744,6 @@"NNQzoi": "Пошук...","NOTA3a": "Надійний","NPL5hM": "Шаблони для пропуску",- "NQgbYA": "Налаштування акаунта","NRXNLC": "Кліки по кнопках","NUXhb8": "Дані про підписки недоступні","NUknhD": "Від друзів",@@ -776,7 +759,6 @@"O/IeYM": "Дізнайтеся, як ідентифікувати користувачів","O/w//A": "{count} подій","O6zCyZ": "Ключ прапорця",- "O8Sc7E": "Доступ до сайтів","O8lxEI": "Перевірте документацію Google Web Vitals для отримання порогових значень.","OFEa0m": "Ознаки не задано","OGk6DC": "Цього року",@@ -794,10 +776,8 @@"OfmST8": "Прийняти запрошення","Oh4usQ": "Виберіть метрику","Oj6AtK": "Версія ОС",- "OlRI+i": "API-ключі організації","Omj2fC": "Вимкнення...","OtO9EF": "Додавайте теги для організації та фільтрації ваших сайтів.",- "OtSSs+": "{count} сайтів","Otefae": "Вимір","OvzONl": "Вимк.","OxNUFK": "Ваша панель керування залишатиметься відкритою 24 години. Заявіть права на неї з безкоштовною 7-денною пробною версією, щоб зберегти її.",@@ -827,7 +807,6 @@"PoyENW": "Не вдалося завантажити користувачів. Будь ласка, спробуйте пізніше.","PpIaGj": "Дорівнює null","Ppx673": "Звіти",- "PqV1fm": "Виберіть мову інтерфейсу","PqvkpE": "Виберіть ціль","Ps71bZ": "Створіть нову команду, щоб групувати сайти та контролювати доступ учасників.","PwlAG9": "Показувати на публічній панелі та в спільних посиланнях",@@ -866,7 +845,6 @@"Qzul6+": "ID сайту","R/6nsx": "Підписка","R/eOkj": "Pro",- "R2OqnW": "Видалити акаунт","RC2XA4": "Видалення...","RE0v43": "Спеціальні події","RL7HbL": "Попросіть власника організації перейти на план Pro, щоб розблокувати {message}",@@ -898,7 +876,6 @@"S4u7Gc": "Отримати ключ API","S4zxrU": "Рахувати сесії, у яких ваш застосунок генерує названу подію.","S5IFjk": "Створіть команду, щоб групувати сайти та керувати доступом.",- "S7U3Nx": "Ви наближаєтеся до свого місячного ліміту подій. Подумайте про перехід на платний план для збільшення лімітів.","SB3+JE": "Дані воронки недоступні","SBUMrd": "Фільтрувати фіче-прапорці","SBoJg8": "Видалити цей API-ключ?",@@ -915,7 +892,6 @@"Sjo1P4": "Кастомний","SnIGkx": "Цей ключ буде показано лише один раз. Скопіюйте його зараз і зберігайте в надійному місці.","SoySgJ": "Джерело переходу:",- "StUScz": "{count} учасників","SubaMm": "Не вдалося зберегти сегмент","SyINSq": "Не вдалося виконати запит","T+D/1o": "Останні {minutes} хвилин",@@ -961,7 +937,6 @@"UAVBcs": "{sessions} сесій · {conversions} конв.","UBQJK/": "Ціль без назви","UE55jO": "Не вдалося видалити акаунт: {error}",- "UEl0Sh": "Пробний період закінчився","UF6kPm": "Прямий (Direct)","UG2tSi": "Останн{count, plural, one {я # хвилина} few {і # хвилини} many {их # хвилин} other {их # хвилини}}","UG5qoS": "Немає даних",@@ -981,7 +956,6 @@"UgH9Vn": "Скопійований текст","UgYEE0": "Навігація (День)","UjlqkD": "Надійний пароль",- "UlLea3": "Особистий ключ діє від вашого імені, з саме вашим рівнем доступу — для особистих скриптів і підключення MCP-клієнтів.","Um1u7W": "Воронку успішно оновлено","UmEsZF": "Активності","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "необов'язково","V52jNn": "Увімкнено","V9fGSG": "Читати дані для ідентифікації вашого облікового запису та інформацію профілю.",- "VAEdEJ": "— продовжує працювати навіть при зміні складу команди (лише для адміністраторів і власників).","VB5EJL": "Той самий період торік","VF3DcR": "Сегменти","VJWJyq": "Тип пристрою",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "Що ви хочете запитати?","VqI0Nz": "Локація та пристрій",- "VtLIgh": "Ключ організації — це власні облікові дані організації: вони мають доступ до всіх сайтів цієї організації та продовжують працювати навіть після виходу учасників. Використовуйте його для продакшн-інтеграцій.","Vwukkb": "Додати JSON payload","VyvTDF": "Екран:","VzzYJk": "Створити",@@ -1104,7 +1076,6 @@"ZXp0z1": "Функції","ZXuaOL": "Не вдалося видалити користувача","ZbWc+A": "IP-адреса",- "ZcBC7s": "Керуйте підпискою та білінгом.","Zh+5A6": "Увімк.","ZjhoiP": "Виберіть план","Zqi/ST": "Вимкнути вбудовування дашборду?",@@ -1236,7 +1207,6 @@"eL0kqa": "Ключ властивості","eOj4Bs": "Назва події","eQnbde": "Відключити Google Search Console?",- "eYX7hS": "Оновіть свою електронну адресу для отримання сповіщень","ebEqgQ": "У вас є активна підписка. Будь ласка, скасуйте її перед видаленням організації.","ekXood": "Безліміт","ekfOaV": "Повернутися",@@ -1248,13 +1218,11 @@"f3ocee": "Виключіть трафік із певних країн. Події з цих країн не будуть відстежуватися у вашій аналітиці.","f3v0b6": "Збір Web Vitals вимкнено","f5efCD": "Виберіть результат",- "f7uwif": "Організуйте сайти в команди, щоб контролювати доступ учасників до них.","fB09El": "Шляхи, що починаються з /blog/","fDjNLX": "Ви збираєтеся імпортувати великий файл ({size}). Обробка може зайняти кілька хвилин. Ви впевнені, що хочете продовжити?","fGblXC": "Або дотримуйтеся посібника з налаштування для вашої платформи","fH8TQL": "Значення властивості","fItAD9": "Когорта",- "fKrHaE": "Безкоштовний план","fNCCY7": "Базовий","fOVatJ": "Віджет вбудовування вимкнено","fQsGgo": "Ідентифікувати користувача",@@ -1282,7 +1250,6 @@"g34TTZ": "Час очікування перед відстеженням перегляду сторінки після зміни URL","g4dAtI": "Призначте ID користувача цьому відвідувачу. Його минула активність з цього пристрою буде пов'язана з ним.","g8H9Vw": "Не вдалося видалити учасника",- "gHnd+A": "Обмежте цей ключ конкретними ресурсами. Залиште вимкненим для ключа з повним доступом, що може робити все, що можете ви.","gI1OXG": "Видалити сайт","gK3VmA": "Натиснуто кнопку","gMhqKV": "Клонувати воронку",@@ -1339,7 +1306,6 @@"hlmkcL": "Стан","hmloF3": "Інформація про пристрій","hmnIY5": "Картка",- "hncBRq": "Запросити учасника","hnp8iI": "Згенеруйте приватне посилання, щоб надати команді доступ до цієї панелі лише для читання.","hq3XcK": "Останн{count, plural, one {я # година} few {і # години} many {их # годин} other {их # години}}","hw9VFi": "Більше емодзі",@@ -1347,7 +1313,6 @@"hyfdry": "Перегляд сторінки","i/DU33": "Увімкніть, якщо запити відстеження надходять до Rybbit через власний проксі чи CDN (Cloudflare Worker, CloudFront, nginx). IP-адреси відвідувачів зчитуватимуться із заголовків переадресації замість IP-адреси з'єднання.","i1G+Ml": "Будь ласка, зв'яжіться з власником організації для оновлення тарифу.",- "i7B/4+": "Остаточно видалити цю організацію та всі її дані","i9WP0T": "Версія браузера","iBImEo": "Гіпотеза","iBRQen": "Підписатися зараз",@@ -1383,7 +1348,6 @@"j5kA5A": "Виникла проблема під час отримання помилок. Будь ласка, спробуйте пізніше.","j6Cfhx": "Прибрати сегмент","j7BiRg": "Подію не вибрано.",- "j7DIJR": "Оновіть назву вашої організації","j8JkB/": "Hacker News","jBznVV": "Назва цілі (необов'язково)","jCwXG9": "Відтворення сеансів увімкнено",@@ -1401,7 +1365,6 @@"jWq9Z8": "Власний діапазон","jXmB1T": "Відтворення з'являться тут після того, як ви увімкнете цю функцію.","jZu+25": "Сформулюйте питання",- "ja2Zok": "Перейти на Pro","jaPj24": "Будь ласка, виберіть властивість","jfXqLp": "Ресурсів не знайдено","jhVKvF": "Не дорівнює",@@ -1435,11 +1398,9 @@"kNp7lL": "Створено {time}","kR140n": "Немає відповідного часового поясу","kT8vGm": "Канал UTM",- "kTH3Q2": "Ви перевищили свій місячний ліміт подій. Будь ласка, зверніться до служби підтримки за допомогою.","kWMpjI": "Доступно для","kYpf9a": "Пошук або додавання значення","kZki3s": "Отримуйте 50% регулярної комісії за рекомендацію Rybbit.",- "kdqPM0": "У вас індивідуальний план з лімітом до {limit} переглядів сторінок на місяць.","kehGIT": "Відстеження параметрів URL увімкнено","kgLyso": "Загальний час","kil8JO": "Редагувати учасника",@@ -1500,7 +1461,6 @@"mgYBYo": "Останні 90 днів","mhmZ+P": "Відтворення сеансів","mkp+qF": "Додаткові параметри",- "mlMQEA": "Надсилати щотижневі звіти на email","n+GeZI": "з подіями за останні 30 днів","n+tV1v": "Виключіть трафік на певні сторінки. Використовуйте * як символ підстановки (напр., /admin/* або /preview). Пошук без урахування регістру.","n02jRA": "Акцентний колір",@@ -1521,7 +1481,6 @@"na5psw": "Не дорівнює null","naIILe": "Видалити імпорт","nhaiN+": "Додайте свій перший вебсайт, щоб почати відстежувати аналітику",- "ni0MP6": "Ви наближаєтеся до свого місячного ліміту подій. Будь ласка, зверніться до служби підтримки, якщо вам потрібно більше потужностей.","nnuMWB": "Шляхи, що містять /blog/, після якого йде будь-що","noZdV2": "Видалення...","npZO3g": "Клік правою кнопкою",@@ -1562,7 +1521,6 @@"orjNTN": "Інформація про пристрій","orxRin": "Виберіть перевизначення плану","osCh7/": "Заявити права на сайт",- "ou8jxS": "Немає запрошень в очікуванні","ovJ26C": "Канал (Medium)","ox5r8z": "Акаунт успішно видалено","oxcZjO": "Не вдалося завершити авторизацію.",@@ -1574,7 +1532,6 @@"pEc/5k": "% кліків","pGEkVl": "Відстеження кліків по кнопках увімкнено","pH6sDe": "Додайте цей код до свого застосунку, а потім запустіть експеримент зі списку, коли будете готові.",- "pIN/qH": "Ви користуєтеся довічним планом AppSumo з лімітом до {limit} подій на місяць.","pJ+x3b": "Інформація про джерело","pTHVrx": "Дозволено максимум 100 винятків IP","pW35eH": "У цій організації немає учасників",@@ -1586,7 +1543,6 @@"poMLbD": "Фільтрувати експерименти","poXmsM": "Введіть вашу електронну адресу, і ми надішлемо вам код підтвердження для скидання пароля.","pq9Eeh": "Сторінка входу:",- "pqJqst": "План {plan}","ptwP96": "Запрошення...","puODkp": "Місто:","puhcpn": "Воронки",@@ -1639,7 +1595,6 @@"rWPtv+": "Параметр запиту","rYzinM": "Зчитайте прапорець у коді перед рендерингом тестованого варіанту досвіду.","rbrahO": "Закрити",- "rd5F5r": "Кастомний план","rdE5Ca": "Розгортання (rollout)","rggp6J": "Останні 60 днів","rk3ZU9": "Гарний показник CLS – 0.1 або менше.",@@ -1666,7 +1621,6 @@"sd2ieZ": "Тиждень","siqsij": "Тільки власник організації може керувати підпискою.","snh6R6": "Мітка (необов'язково)",- "soeWeh": "Налаштування організації","sy+pv5": "Email","szFhEu": "Тварини й природа","t2Iac8": "Мін. тривалість",@@ -1744,7 +1698,6 @@"vCL+NV": "Будь ласка, виберіть хоча б один сайт або вимкніть обмеження доступу до сайтів","vCqX8Z": "Віджет вбудовування увімкнено","vDpLV2": "Змінено {type}input",- "vFH04o": "Змінити пароль акаунта","vFf5xV": "Сторінки входу","vGMvPS": "Додайте основну ціль, щоб вимірювати конверсії для кожного варіанту.","vHXIqS": "Назва або ID форми (необов'язково)",@@ -1798,7 +1751,6 @@"wmdo1a": "Кожна умова обчислюється по черзі. Перший збіг перемагає.","wmrKEg": "Зберегти воронку","wmyg6t": "Ресурс",- "wnSZSp": "Створити API-ключ","wninYK": "Немає даних сеансу","woXwSB": "Помилка експорту. Будь ласка, спробуйте ще раз.","wqoG/5": "Визначення",@@ -1807,7 +1759,6 @@"wzKC2G": "Додайте основну ціль пізніше, щоб розраховувати конверсії для кожного варіанту.","x0mEuT": "Реєстрація нових акаунтів наразі вимкнена. Якщо у вас є акаунт, ви можете","x61Ey6": "адміністратор",- "x6GhQj": "Перевищено ліміт подій","x9j/v6": "Відстеження IP-адреси увімкнено","xA1LY9": "Вам потрібно створити або бути доданим до організації, перш ніж ви зможете керувати командами.","xIB8Kg": "Не вдалося оновити назву організації",@@ -1824,18 +1775,15 @@"xmBzsn": "Експорт у звіт PDF","xmcVZ0": "Пошук","xnky+a": "Лише ідентифіковані",- "xrcdXO": "Керуйте налаштуваннями вашого особистого акаунта","xrk6zg": "Оновлено","xvsXfo": "зі спеціальними властивостями.","y1WhQk": "Ваш новий пароль","y1Z3or": "Мова","y3qXTf": "Копіювання","y467+0": "Не вдалося зберегти ціль",- "y5jEwG": "Увімкніть або вимкніть автоматичні звіти на email для вашого акаунта.","y9vcUt": "Вас запросив {inviterEmail}","yAAjri": "Введіть код OTP","yAaNQA": "Адміністратори",- "yBFhF6": "Ваш 14-денний безкоштовний пробний період закінчився. Вам потрібно оформити підписку, щоб продовжити відстежувати візити.","yBqtD8": "{count} сеансів (24 год)","yGsZm0": "Форми","yGxRRq": "Підвищує конфіденційність за допомогою щоденної ротації солі для ідентифікаторів користувачів",@@ -1857,7 +1805,6 @@"z0076i": "Цілі-шляхи працюють, коли конверсія — це URL, наприклад /thank-you. Цілі-події працюють для явних дій.","z2PIbo": "Створити призначення","z2xGiR": "Анотацію видалено",- "z4wbga": "Використати натомість ключ організації","zD9VOD": "Натисніть, щоб редагувати атрибути","zGvUQx": "Не є","zINlao": "Власник",diff --git a/client/messages/zh.json b/client/messages/zh.jsonindex 84b421a67..190f711cf 100644--- a/client/messages/zh.json+++ b/client/messages/zh.json@@ -35,7 +35,6 @@"/0tjRq": "站点移动失败","/20q2D": "您的密码已成功重置。","/6bl6s": "按钮点击",- "/8v8/t": "删除组织","/AMnMU": "已与组织内的所有站点共享","/CkSRc": "或者继续使用电子邮件","/EBXiO": "此成员可以访问组织中的所有站点。",@@ -168,7 +167,6 @@"4+6INx": "非正则表达式","4/DApn": "过去 6 小时","41XJFz": "未找到特征",- "42Qo3+": "该组织的 API 密钥","450Fty": "无","45gABM": "您确定要删除“{name}”吗?此操作无法撤销。","45hFQt": "无法收回",@@ -187,7 +185,6 @@"4Y+tpi": "查看此功能的演示","4YGHzj": "没有与\"{search}\"匹配的实验","4ZtLoe": "路径名",- "4cfxQk": "AppSumo 计划层级 {tier}","4eYvJG": "实时访客小部件","4gDkIw": "实验已更新","4gXpPi": "邀请已发送至 {email}",@@ -216,7 +213,6 @@"5xQQz7": "相同星期","5y2qWO": "正在连接...","5yUsUe": "会话回放",- "5yu28t": "您目前处于免费计划,每月最高可达 {limit} 次页面浏览量。","5zGub0": "错误追踪","62nsdy": "重试","65uDP/": "来自已知机器人和爬虫的流量将不会被跟踪",@@ -316,7 +312,6 @@"93oVTh": "已复制到剪贴板","94Fg25": "全选","95stPq": "已完成",- "96ejG8": "接近限制","97DGta": "创建团队","97KPX7": "未找到标签。","99HM2b": "事件目标",@@ -369,7 +364,6 @@"AdNsDZ": "注册已禁用","AeDqHA": "该成员将立即失去对此组织网站和数据的访问权限。","AkCxS/": "原因",- "AkVL9j": "API 密钥名称","Asi2Jg": "隐藏高级选项","Aujn2T": "计数","AyGauy": "登录",@@ -385,9 +379,7 @@"BReFYW": "输入变更","BUxbet": "网址前缀属性","BVVhyH": "过去 14 天",- "BW3cmW": "个人 API 密钥","BWpuKl": "更新",- "BX8PCh": "管理您的组织设置和成员","BYZnfs": "没有记录事件。","BdV5Om": "网站","BffFao": "错误追踪可捕获应用程序中的 JavaScript 错误和异常。",@@ -501,7 +493,6 @@"FIKvUB": "添加站点","FIs3zs": "已保存分群“{name}”","FJ6r9E": "继续使用 Google",- "FLgSbA": "正在构建生产环境集成?","FQMQOJ": "获取用户时出现问题。请稍后重试。","FQTq3a": "将 {userEmail} 添加到组织并分配特定角色。","FT1lfL": "几分钟内开始收集分析数据",@@ -531,7 +522,6 @@"GBgVhg": "使用你输入的表情","GDgEmC": "未找到事件","GH6rlO": "您需要选择一个组织以管理您的订阅。",- "GHbyp+": "需要订阅","GIL+DR": "表单交互追踪已启用","GIlxUl": "将小部件与您站点的主题匹配。","GM/hd6": "邀请",@@ -559,7 +549,6 @@"H/r5m6": "下移","H1TwHY": "加载用户失败","H359cw": "请输入结束时间晚于开始时间、且不晚于今天的时间范围",- "H4uuIK": "永久删除您的帐户和所有相关数据","HAlOn1": "姓名","HB6OFk": "创建 API 密钥失败","HFp8uY": "按浏览器划分的性能",@@ -580,7 +569,6 @@"HtTwhf": "应用标识符更新成功","Humfno": "结束日期","Hv8xC3": "正在加载 ASN 排除项...",- "HyiDcy": "邀请","I3rqT8": "确认您的新密码","I4Etgx": "返回 JSON 载荷","I5k4g/": "使用现有",@@ -606,12 +594,10 @@"IbhgkP": "机器人拦截已启用","Il1aAo": "由 Rybbit 提供支持的开源网络分析","IoiMPE": "15 分钟",- "IpNrN4": "您已超过每月事件限制。请升级至 Pro 计划以继续收集分析数据。","ItR6u3": "已排除的国家/地区 ({count})","IuFETn": "时长","IuPATc": "显示已分配的访客。在变体渲染处调用 rybbit.flag(\"{flagKey}\") 以统计实际接触到该变体的访客。","IvPFG7": "更新系统角色失败",- "Ix3wt3": "了解更多关于团队的信息","IxrHg4": "过滤 {count} 个项目...","J+At6e": "最后提交时间","J+DDdr": "编辑网站设置",@@ -673,7 +659,6 @@"KYAqNj": "使用 * 匹配单个片段内的任意内容,使用 ** 匹配任意内容。","KaylUJ": "新密码与确认密码不匹配","KeO51o": "渠道",- "KfIZ6o": "更新在平台上显示的姓名","KiXNvz": "运行","KjXPXZ": "{count} 个会话","KkOM4O": "最多允许 100 个路径排除项",@@ -716,7 +701,6 @@"M/zZVx": "添加筛选条件","M2oRL5": "选择日期和时间","M6W/5v": "已复制 {count} 个所有者电子邮件",- "MAOWHK": "你的个人 API 密钥","MAmm3B": "排除来自特定主机名的流量,例如预发布或预览域名。使用 * 作为通配符(例如 localhost 或 *.vercel.app)。匹配不区分大小写。","MD/3gh": "复制用户 ID","MGHdwe": "过去 5 分钟内没有在线用户",@@ -760,7 +744,6 @@"NNQzoi": "搜索中...","NOTA3a": "强","NPL5hM": "跳过模式",- "NQgbYA": "帐户设置","NRXNLC": "按钮点击","NUXhb8": "无可用订阅数据","NUknhD": "朋友推荐",@@ -776,7 +759,6 @@"O/IeYM": "了解如何识别用户","O/w//A": "{count} 个事件","O6zCyZ": "标志键",- "O8Sc7E": "网站访问权限","O8lxEI": "检查 Google 的 Web Vitals 文档了解阈值。","OFEa0m": "未设置特征","OGk6DC": "今年",@@ -794,10 +776,8 @@"OfmST8": "接受邀请","Oh4usQ": "选择指标","Oj6AtK": "操作系统版本",- "OlRI+i": "组织 API 密钥","Omj2fC": "正在禁用...","OtO9EF": "添加标签以组织和过滤您的网站。",- "OtSSs+": "{count} 个网站","Otefae": "维度","OvzONl": "关闭","OxNUFK": "你的仪表盘将保持开放 24 小时。通过免费的 7 天试用认领它以永久保留。",@@ -827,7 +807,6 @@"PoyENW": "加载用户失败。请稍后重试。","PpIaGj": "为空","Ppx673": "报告",- "PqV1fm": "选择您首选的语言","PqvkpE": "选择目标","Ps71bZ": "创建新团队以对站点进行分组并控制成员访问权限。","PwlAG9": "在公开仪表盘和共享链接中显示",@@ -866,7 +845,6 @@"Qzul6+": "网站 ID","R/6nsx": "订阅","R/eOkj": "专业版",- "R2OqnW": "删除帐户","RC2XA4": "正在移除...","RE0v43": "自定义事件","RL7HbL": "请求您的组织所有者升级到 Pro 即可解锁 {message}",@@ -898,7 +876,6 @@"S4u7Gc": "获取您的 API 密钥","S4zxrU": "统计应用触发指定命名事件的会话数。","S5IFjk": "创建团队以对站点进行分组并管理成员访问权限。",- "S7U3Nx": "您正在接近每月的事件限制。考虑升级到付费计划以获得更高的额度。","SB3+JE": "没有可用的漏斗数据","SBUMrd": "筛选功能标志","SBoJg8": "删除此 API 密钥?",@@ -915,7 +892,6 @@"Sjo1P4": "自定义","SnIGkx": "此密钥仅显示一次。请立即复制并妥善保存。","SoySgJ": "来源网站:",- "StUScz": "{count} 名成员","SubaMm": "保存分群失败","SyINSq": "查询执行失败","T+D/1o": "过去 {minutes} 分钟",@@ -961,7 +937,6 @@"UAVBcs": "{sessions} 次会话 · {conversions} 次转化","UBQJK/": "未命名目标","UE55jO": "删除帐户失败:{error}",- "UEl0Sh": "试用期满","UF6kPm": "直接访问","UG2tSi": "最近 {count, plural, other {# 分钟}}","UG5qoS": "无数据",@@ -981,7 +956,6 @@"UgH9Vn": "复制的文本","UgYEE0": "白天导航","UjlqkD": "强密码",- "UlLea3": "个人密钥代表你本人,拥有与你完全相同的权限——适用于个人脚本和连接 MCP 客户端。","Um1u7W": "漏斗更新成功","UmEsZF": "活动","UmGlEG": "Twitter/X",@@ -993,7 +967,6 @@"V4KNjk": "可选","V52jNn": "已启用","V9fGSG": "读取你的账户身份和个人资料信息。",- "VAEdEJ": "——即使团队成员发生变动,它仍会继续工作(仅限管理员和所有者)。","VB5EJL": "去年同期","VF3DcR": "分群","VJWJyq": "设备类型",@@ -1017,7 +990,6 @@"Vn76qV": "Github","Vn7Wtu": "您想查询什么?","VqI0Nz": "位置和设备",- "VtLIgh": "组织密钥是组织自身的凭证:可以访问该组织的所有站点,并且在成员离开后仍可继续使用。请将其用于生产环境集成。","Vwukkb": "添加 JSON 载荷","VyvTDF": "屏幕:","VzzYJk": "创建",@@ -1104,7 +1076,6 @@"ZXp0z1": "功能","ZXuaOL": "删除用户失败","ZbWc+A": "IP 地址",- "ZcBC7s": "管理您的订阅和账单。","Zh+5A6": "开启","ZjhoiP": "选择套餐","Zqi/ST": "禁用仪表盘嵌入?",@@ -1236,7 +1207,6 @@"eL0kqa": "特征键","eOj4Bs": "事件名称","eQnbde": "断开 Google Search Console 吗?",- "eYX7hS": "更新用于帐户通知的电子邮件地址","ebEqgQ": "您有有效的订阅。请先取消订阅,再删除组织。","ekXood": "无限制","ekfOaV": "返回",@@ -1248,13 +1218,11 @@"f3ocee": "排除来自特定国家/地区的流量。来自这些国家/地区的事件将不会在您的分析中被跟踪。","f3v0b6": "Web Vitals 收集已禁用","f5efCD": "选择结果",- "f7uwif": "将站点组织成团队以控制哪些成员可以访问它们。","fB09El": "以 /blog/ 开头的路径","fDjNLX": "您即将导入一个大文件 ({size})。这可能需要几分钟来处理。您确定要继续吗?","fGblXC": "或参阅适用于您平台的安装指南","fH8TQL": "特征值","fItAD9": "群组",- "fKrHaE": "免费计划","fNCCY7": "基础版","fOVatJ": "嵌入小部件已禁用","fQsGgo": "识别用户",@@ -1282,7 +1250,6 @@"g34TTZ": "URL 更改后在跟踪页面浏览量之前要等待的时间","g4dAtI": "为此访客分配用户 ID。该设备上的历史活动将与其关联。","g8H9Vw": "移除成员失败",- "gHnd+A": "将此密钥限制为特定资源。留空则为可执行所有操作的完全访问密钥。","gI1OXG": "删除网站","gK3VmA": "点击了按钮","gMhqKV": "克隆漏斗",@@ -1339,7 +1306,6 @@"hlmkcL": "健康","hmloF3": "设备信息","hmnIY5": "卡片",- "hncBRq": "邀请成员","hnp8iI": "生成一个私有链接,与您的团队分享此仪表板的只读视图。","hq3XcK": "最近 {count, plural, other {# 小时}}","hw9VFi": "更多表情",@@ -1347,7 +1313,6 @@"hyfdry": "页面浏览","i/DU33": "如果跟踪请求是通过您自己的代理或 CDN(Cloudflare Worker、CloudFront、nginx)到达 Rybbit 的,请启用此选项。访客 IP 将从转发的请求头中读取,而不是从连接 IP 中读取。","i1G+Ml": "请联系您的组织所有者以进行升级。",- "i7B/4+": "永久删除此组织及其所有数据","i9WP0T": "浏览器版本","iBImEo": "假设","iBRQen": "立即订阅",@@ -1383,7 +1348,6 @@"j5kA5A": "获取错误时出现问题。请稍后重试。","j6Cfhx": "移除分群","j7BiRg": "未选择事件。",- "j7DIJR": "更新您的组织名称","j8JkB/": "Hacker News","jBznVV": "目标名称(可选)","jCwXG9": "会话回放已启用",@@ -1401,7 +1365,6 @@"jWq9Z8": "自定义范围","jXmB1T": "启用会话回放后,回放将显示在此处。","jZu+25": "定义问题",- "ja2Zok": "升级到 Pro","jaPj24": "请选择一个属性","jfXqLp": "未找到属性","jhVKvF": "不等于",@@ -1435,11 +1398,9 @@"kNp7lL": "创建于 {time}","kR140n": "没有匹配的时区","kT8vGm": "UTM 媒介",- "kTH3Q2": "您已超出每月的事件限制。请联系支持以获得帮助。","kWMpjI": "适用范围","kYpf9a": "搜索或添加值","kZki3s": "推荐 Rybbit 以赚取 50% 的持续佣金。",- "kdqPM0": "您拥有一个定制计划,每月最高可达 {limit} 次页面浏览量。","kehGIT": "URL 参数跟踪已启用","kgLyso": "总时长","kil8JO": "编辑成员",@@ -1500,7 +1461,6 @@"mgYBYo": "过去 90 天","mhmZ+P": "会话回放","mkp+qF": "其他参数",- "mlMQEA": "发送每周电子邮件报告","n+GeZI": "过去30天内有事件","n+tV1v": "排除特定页面的流量。使用 * 作为通配符(例如 /admin/* 或 /preview)。匹配不区分大小写。","n02jRA": "强调色",@@ -1521,7 +1481,6 @@"na5psw": "非空","naIILe": "删除导入","nhaiN+": "添加您的第一个网站以开始跟踪分析",- "ni0MP6": "您正在接近每月的事件限制。如果您需要更多容量,请联系支持。","nnuMWB": "包含 /blog/ 后接任意内容的路径","noZdV2": "正在删除...","npZO3g": "已右键单击",@@ -1562,7 +1521,6 @@"orjNTN": "设备信息","orxRin": "选择套餐覆盖","osCh7/": "认领站点",- "ou8jxS": "暂无待处理邀请","ovJ26C": "媒介","ox5r8z": "帐户成功删除","oxcZjO": "无法完成授权。",@@ -1574,7 +1532,6 @@"pEc/5k": "点击 %","pGEkVl": "按钮点击追踪已启用","pH6sDe": "将此代码添加到您的应用中,准备好后从列表中启动实验。",- "pIN/qH": "您目前处于 AppSumo 终身计划,每月事件上限为 {limit} 个。","pJ+x3b": "来源信息","pTHVrx": "最多允许 100 个 IP 排除项","pW35eH": "此组织中没有成员",@@ -1586,7 +1543,6 @@"poMLbD": "筛选实验","poXmsM": "输入您的电子邮件地址,我们将向您发送验证码以重置您的密码。","pq9Eeh": "入口页面:",- "pqJqst": "{plan} 计划","ptwP96": "正在邀请...","puODkp": "城市:","puhcpn": "漏斗",@@ -1639,7 +1595,6 @@"rWPtv+": "查询参数","rYzinM": "在渲染被测体验之前,先在代码中读取标志。","rbrahO": "关闭",- "rd5F5r": "自定义计划","rdE5Ca": "灰度发布","rggp6J": "过去 60 天","rk3ZU9": "良好的 CLS 分数应为 0.1 或更低。",@@ -1666,7 +1621,6 @@"sd2ieZ": "周","siqsij": "只有组织的所有者才能管理订阅。","snh6R6": "标签(可选)",- "soeWeh": "组织设置","sy+pv5": "电子邮件","szFhEu": "动物与自然","t2Iac8": "最短时长",@@ -1744,7 +1698,6 @@"vCL+NV": "请至少选择一个站点或禁用站点限制","vCqX8Z": "嵌入小部件已启用","vDpLV2": "已更改 {type}输入框",- "vFH04o": "更改您的帐户密码","vFf5xV": "入口页面","vGMvPS": "添加主要目标以衡量各变体的转化情况。","vHXIqS": "表单名称或 ID(可选)",@@ -1798,7 +1751,6 @@"wmdo1a": "按顺序评估每个条件,首个匹配项优先。","wmrKEg": "保存漏斗","wmyg6t": "资源",- "wnSZSp": "创建 API 密钥","wninYK": "无会话数据","woXwSB": "导出失败。请重试。","wqoG/5": "定义为",@@ -1807,7 +1759,6 @@"wzKC2G": "稍后添加主要目标以计算各变体的转化情况。","x0mEuT": "当前已禁用新账户注册。如果您有账户,您可以","x61Ey6": "管理员",- "x6GhQj": "超出事件限制","x9j/v6": "IP 地址跟踪已启用","xA1LY9": "您需要先创建或加入一个组织,才能管理团队。","xIB8Kg": "更新组织名称失败",@@ -1824,18 +1775,15 @@"xmBzsn": "导出为 PDF 报告","xmcVZ0": "搜索","xnky+a": "仅已识别用户",- "xrcdXO": "管理您的个人帐户设置","xrk6zg": "已更新","xvsXfo": "特征将显示在这里。","y1WhQk": "您的新密码","y1Z3or": "语言","y3qXTf": "复制次数","y467+0": "保存目标失败",- "y5jEwG": "为您的帐户启用或禁用自动电子邮件报告。","y9vcUt": "您被 {inviterEmail} 邀请","yAAjri": "输入 OTP 验证码","yAaNQA": "管理员",- "yBFhF6": "您的 14 天免费试用已结束。您需要订阅以继续追踪访问情况。","yBqtD8": "{count} 个会话 (24小时)","yGsZm0": "表单","yGxRRq": "通过每日轮换用户 ID 的盐值来增强隐私",@@ -1857,7 +1805,6 @@"z0076i": "路径目标适用于转化为 URL 的情况(如 /thank-you),事件目标适用于显式操作。","z2PIbo": "创建分配","z2xGiR": "注释已删除",- "z4wbga": "改用组织 API 密钥","zD9VOD": "点击编辑特征","zGvUQx": "不是","zINlao": "所有者",diff --git a/client/src/app/settings/account/components/AccountInner.tsx b/client/src/app/settings/account/components/AccountInner.tsxindex ec122eab5..085ab8ce2 100644--- a/client/src/app/settings/account/components/AccountInner.tsx+++ b/client/src/app/settings/account/components/AccountInner.tsx@@ -1,44 +1,53 @@"use client";-import { authClient } from "@/lib/auth";-import { useQueryClient } from "@tanstack/react-query";+import { Check } from "lucide-react";+import Link from "next/link";import { useExtracted } from "next-intl";-import { useRouter } from "next/navigation";-import { useEffect, useState } from "react";+import { useState } from "react";import { toast } from "@/components/ui/sonner";+import { authClient } from "@/lib/auth";import { useUpdateAccountSettings } from "../../../../api/admin/hooks/useAccountSettings";+import { LanguageSwitcher } from "../../../../components/LanguageSwitcher";+import { Badge } from "../../../../components/ui/badge";import { Button } from "../../../../components/ui/button";-import { Card, CardContent, CardHeader, CardTitle } from "../../../../components/ui/card";import { Input } from "../../../../components/ui/input";import { Switch } from "../../../../components/ui/switch";+import { useActiveOrgName } from "../../../../hooks/useActiveOrgName";import { validateEmail } from "../../../../lib/auth-utils";import { IS_CLOUD } from "../../../../lib/const";+import { DangerRow, DangerZone, LedgerRow, LedgerRows, LedgerSaveBar, LedgerSection } from "../../components/Ledger";import { ApiKeyManager } from "./ApiKeyManager";import { ChangePassword } from "./ChangePassword";-import { DeleteAccount } from "./DeleteAccount";-import { LanguageSwitcher } from "../../../../components/LanguageSwitcher";-import { useSignout } from "../../../../hooks/useSignout";+import { DeleteAccount, useHasActiveSubscription } from "./DeleteAccount";++const INLINE_LINK =+ "font-medium text-neutral-900 underline underline-offset-2 hover:text-neutral-700 dark:text-neutral-100 dark:hover:text-neutral-300";export function AccountInner() {const session = authClient.useSession();- const router = useRouter();- const queryClient = useQueryClient();- const signout = useSignout();const updateAccountSettings = useUpdateAccountSettings();+ const hasActiveSubscription = useHasActiveSubscription();+ const orgName = useActiveOrgName();const t = useExtracted();- const [email, setEmail] = useState(session.data?.user.email ?? "");- const [name, setName] = useState(session.data?.user.name ?? "");- const [isUpdatingEmail, setIsUpdatingEmail] = useState(false);+ const user = session.data?.user;+ const currentName = user?.name ?? "";+ const currentEmail = user?.email ?? "";+ // Returned by the server but not part of the client's inferred session type.+ const sendAutoEmailReports = (user as { sendAutoEmailReports?: boolean } | undefined)?.sendAutoEmailReports;++ // null while the field shows the saved name; a string once it has been edited.+ const [nameDraft, setNameDraft] = useState<string | null>(null);const [isUpdatingName, setIsUpdatingName] = useState(false);+ const name = nameDraft ?? currentName;+ const nameDirty = nameDraft !== null && nameDraft !== currentName;- useEffect(() => {- setEmail(session.data?.user.email ?? "");- setName(session.data?.user.name ?? "");- }, [session]);+ // null while the email row shows the current address; a string while a new one is being entered.+ const [newEmail, setNewEmail] = useState<string | null>(null);+ const [isUpdatingEmail, setIsUpdatingEmail] = useState(false);const handleNameUpdate = async () => {- if (!name) {+ if (!name.trim()) {toast.error(t("Name cannot be empty"));return;}@@ -54,7 +63,8 @@ export function AccountInner() {}toast.success(t("Name updated successfully"));- session.refetch();+ await session.refetch();+ setNameDraft(null);} catch (error) {console.error("Error updating name:", error);toast.error(error instanceof Error ? error.message : t("Failed to update name"));@@ -64,6 +74,7 @@ export function AccountInner() {};const handleEmailUpdate = async () => {+ const email = newEmail ?? "";if (!email) {toast.error(t("Email cannot be empty"));return;@@ -86,13 +97,13 @@ export function AccountInner() {// The email isn't changed yet — better-auth sends a confirmation link// to the current address if it's verified, otherwise to the new one.- const confirmationEmail = session.data?.user.emailVerified ? session.data.user.email : email;+ const confirmationEmail = user?.emailVerified ? currentEmail : email;toast.success(t("A confirmation link has been sent to {email}. Your email will be updated once you confirm the change.", {email: confirmationEmail,}));- setEmail(session.data?.user.email ?? "");+ setNewEmail(null);} catch (error) {console.error("Error updating email:", error);toast.error(error instanceof Error ? error.message : t("Failed to update email"));@@ -115,95 +126,170 @@ export function AccountInner() {};return (- <div className="flex flex-col gap-4">- <Card className="p-2">- <CardHeader>- <CardTitle className="text-xl">{t("Account")}</CardTitle>- </CardHeader>- <CardContent className="space-y-6">- <div className="space-y-2">- <h4 className="text-sm font-medium">{t("Name")}</h4>- <p className="text-xs text-neutral-500">{t("Update your name displayed across the platform")}</p>- <div className="flex space-x-2">- <Input id="name" value={name} onChange={({ target }) => setName(target.value)} placeholder="name" />- <Button- variant="outline"- onClick={handleNameUpdate}- disabled={isUpdatingName || name === session.data?.user.name}- >- {isUpdatingName ? t("Updating...") : t("Update")}- </Button>- </div>- </div>- <div className="space-y-2">- <h4 className="text-sm font-medium">{t("Email")}</h4>- <p className="text-xs text-neutral-500">{t("Update your email address for account notifications")}</p>- <div className="flex space-x-2">- <Input- id="email"- type="email"- value={email}- onChange={({ target }) => setEmail(target.value)}- placeholder="[email protected]"- />- <Button- variant="outline"- onClick={handleEmailUpdate}- disabled={isUpdatingEmail || email === session.data?.user.email}- >- {isUpdatingEmail ? t("Updating...") : t("Update")}- </Button>- </div>- </div>- {(session.data?.user as any)?.sendAutoEmailReports !== undefined && IS_CLOUD && (- <div className="flex items-center justify-between">- <div className="space-y-2">- <h4 className="text-sm font-medium">{t("Send Weekly Email Reports")}</h4>- <p className="text-xs text-neutral-500">{t("Enable or disable automatic email reports for your account.")}</p>+ <>+ <LedgerSection title={t("Profile")}>+ <LedgerRows>+ <LedgerRow label={t("Name")} description={t("Shown to teammates in member lists.")} htmlFor="account-name">+ <Input+ id="account-name"+ autoComplete="name"+ value={name}+ onChange={({ target }) => setNameDraft(target.value)}+ onKeyDown={e => {+ if (e.key === "Enter" && nameDirty && !isUpdatingName) {+ e.preventDefault();+ handleNameUpdate();+ }+ }}+ className="max-w-sm"+ />+ </LedgerRow>+ <LedgerRow+ label={t("Email")}+ description={t("For sign-in, reports and invitations.")}+ htmlFor={newEmail === null ? undefined : "account-new-email"}+ >+ {newEmail === null ? (+ <div className="flex min-h-9 flex-wrap items-center gap-x-3 gap-y-2">+ <span className="min-w-0 break-all text-sm">{currentEmail}</span>+ {user?.emailVerified && (+ <Badge variant="success" className="gap-1">+ <Check className="size-3" aria-hidden="true" />+ {t("Verified")}+ </Badge>+ )}+ <Button size="sm" className="ml-auto" onClick={() => setNewEmail("")}>+ {t("Change email")}+ </Button></div>- <div className="flex space-x-2">+ ) : (+ <form+ className="flex flex-wrap items-center gap-2"+ onSubmit={e => {+ e.preventDefault();+ handleEmailUpdate();+ }}+ >+ <Input+ id="account-new-email"+ type="email"+ autoComplete="email"+ autoFocus+ value={newEmail}+ onChange={({ target }) => setNewEmail(target.value)}+ onKeyDown={e => {+ if (e.key === "Escape" && !isUpdatingEmail) setNewEmail(null);+ }}+ placeholder="[email protected]"+ className="max-w-sm"+ />+ <div className="ml-auto flex items-center gap-1.5">+ <Button+ type="button"+ variant="ghost"+ size="sm"+ onClick={() => setNewEmail(null)}+ disabled={isUpdatingEmail}+ >+ {t("Cancel")}+ </Button>+ <Button+ type="submit"+ variant="success"+ size="sm"+ loading={isUpdatingEmail}+ loadingLabel={t("Sending...")}+ disabled={!newEmail || newEmail === currentEmail}+ >+ {t("Send confirmation link")}+ </Button>+ </div>+ </form>+ )}+ <p className="mt-2 max-w-[62ch] text-xs leading-4 text-neutral-500 dark:text-neutral-400">+ {user?.emailVerified+ ? t(+ "To change it, we email a confirmation link to {email} first, then a link to the new address. The new address takes over once you click both.",+ { email: currentEmail }+ )+ : t("To change it, we email a link to the new address. It takes over once you click that link.")}+ </p>+ </LedgerRow>+ </LedgerRows>+ <LedgerSaveBar+ dirty={nameDirty}+ saving={isUpdatingName}+ onCancel={() => setNameDraft(null)}+ onSave={handleNameUpdate}+ />+ </LedgerSection>++ <LedgerSection title={t("Preferences")}>+ <LedgerRows>+ {sendAutoEmailReports !== undefined && IS_CLOUD && (+ <LedgerRow+ label={t("Weekly email reports")}+ description={t("A traffic summary for each site you can access.")}+ htmlFor="account-email-reports"+ >+ <div className="flex min-h-9 items-center gap-3"><Switch- checked={(session.data?.user as any).sendAutoEmailReports}+ id="account-email-reports"+ checked={sendAutoEmailReports}onCheckedChange={handleEmailReportsToggle}disabled={updateAccountSettings.isPending}/>+ <span className="min-w-0 break-words text-sm text-neutral-500 dark:text-neutral-400">+ {sendAutoEmailReports ? t("On, sent to {email}", { email: currentEmail }) : t("Off")}+ </span></div>- </div>+ </LedgerRow>)}- <div className="space-y-2">- <h4 className="text-sm font-medium">{t("Language")}</h4>- <p className="text-xs text-neutral-500">{t("Select your preferred language")}</p>+ <LedgerRow label={t("Language")} description={t("For menus and labels.")}><LanguageSwitcher />- </div>- <Button variant="outline" onClick={signout}>- {t("Sign out")}- </Button>- </CardContent>- </Card>-- <Card className="p-2">- <CardHeader>- <CardTitle className="text-xl">{t("Security")}</CardTitle>- </CardHeader>- <CardContent className="space-y-6">- <div className="space-y-2">- <h4 className="text-sm font-medium">{t("Password")}</h4>- <p className="text-xs text-neutral-500">{t("Change your account password")}</p>- <div className="w-[200px]">+ </LedgerRow>+ </LedgerRows>+ </LedgerSection>++ <LedgerSection title={t("Sign-in & security")}>+ <LedgerRows>+ <LedgerRow label={t("Password")} description={t("Used with your email to sign in.")}>+ <div className="flex min-h-9 items-center justify-end"><ChangePassword /></div>- </div>+ </LedgerRow>+ </LedgerRows>+ </LedgerSection>- <div className="space-y-2">- <h4 className="text-sm font-medium text-red-500">{t("Danger Zone")}</h4>- <p className="text-xs text-neutral-500">{t("Permanently delete your account and all associated data")}</p>- <div className="w-[200px]">- <DeleteAccount />- </div>- </div>- </CardContent>- </Card><ApiKeyManager />- </div>++ <DangerZone>+ <DangerRow+ label={t("Delete account")}+ description={t("Permanent. There is no undo.")}+ consequence={+ <>+ {t(+ "Deletes your profile, your sign-in and your personal API keys, and removes you from every organization."+ )}+ {hasActiveSubscription && (+ <>+ {" "}+ {t.rich("{name} has an active subscription, so cancel it in <link>Billing</link> first.", {+ name: orgName ?? t("Your organization"),+ link: chunks => (+ <Link href="/settings/billing" className={INLINE_LINK}>+ {chunks}+ </Link>+ ),+ })}+ </>+ )}+ </>+ }+ action={<DeleteAccount />}+ />+ </DangerZone>+ </>);}diff --git a/client/src/app/settings/account/components/ApiKeyManager.test.tsx b/client/src/app/settings/account/components/ApiKeyManager.test.tsxindex f73a4dc8a..eb06a438e 100644--- a/client/src/app/settings/account/components/ApiKeyManager.test.tsx+++ b/client/src/app/settings/account/components/ApiKeyManager.test.tsx@@ -17,10 +17,15 @@ const mocks = vi.hoisted(() => {};});-vi.mock("next-intl", () => ({- useExtracted: () => (message: string, values?: Record<string, string | number>) =>- values ? message.replace(/\{(\w+)\}/g, (_, key) => String(values[key] ?? `{${key}}`)) : message,-}));+vi.mock("next-intl", () => {+ const format = (message: string, values?: Record<string, unknown>) =>+ values ? message.replace(/\{(\w+)\}/g, (_, key) => String(values[key] ?? `{${key}}`)) : message;+ // Rich messages render their tagged chunks as plain text.+ const t = Object.assign(format, {+ rich: (message: string, values?: Record<string, unknown>) => format(message.replace(/<\/?\w+>/g, ""), values),+ });+ return { useExtracted: () => t };+});vi.mock("next/link", () => ({default: ({ href, children, ...props }: { href: string; children: ReactNode }) => (@@ -57,12 +62,23 @@ vi.mock("@/components/ui/sonner", () => ({ toast: { success: vi.fn(), error: mocasync function createKey() {render(<ApiKeyManager />);- fireEvent.change(screen.getByLabelText("API Key Name"), { target: { value: "Deploy script" } });- fireEvent.click(screen.getByRole("button", { name: "Create" }));+ fireEvent.click(screen.getByRole("button", { name: "Create key" }));+ const form = screen.getByRole("form", { name: "New personal API key" });+ fireEvent.change(within(form).getByLabelText("Key name"), { target: { value: "Deploy script" } });+ fireEvent.click(within(form).getByRole("button", { name: "Create key" }));return screen.findByRole("dialog", { name: "API Key Created" });}beforeEach(() => {+ // The create form's Radix switch renders a hidden input inside the form and measures it.+ vi.stubGlobal(+ "ResizeObserver",+ class {+ observe() {}+ unobserve() {}+ disconnect() {}+ }+ );mocks.createKey.mockResolvedValue({ key: SECRET });Object.defineProperty(navigator, "clipboard", { value: { writeText: mocks.writeText }, configurable: true });});@@ -70,6 +86,7 @@ beforeEach(() => {afterEach(() => {cleanup();vi.clearAllMocks();+ vi.unstubAllGlobals();Reflect.deleteProperty(navigator, "clipboard");});@@ -138,3 +155,34 @@ describe("ApiKeyManager reveal dialog", () => {expect(within(dialog).getByRole("alert")).toBeTruthy();});});++describe("ApiKeyManager create form", () => {+ it("opens from the section header and starts over after Cancel", () => {+ render(<ApiKeyManager />);+ expect(screen.queryByRole("form")).toBeNull();++ const toggle = screen.getByRole("button", { name: "Create key" });+ fireEvent.click(toggle);+ expect(toggle.getAttribute("aria-expanded")).toBe("true");++ const form = screen.getByRole("form", { name: "New personal API key" });+ fireEvent.change(within(form).getByLabelText("Key name"), { target: { value: "Draft" } });+ fireEvent.click(within(form).getByRole("button", { name: "Cancel" }));+ expect(screen.queryByRole("form")).toBeNull();++ fireEvent.click(toggle);+ const reopened = screen.getByRole("form", { name: "New personal API key" });+ expect((within(reopened).getByLabelText("Key name") as HTMLInputElement).value).toBe("");+ expect(mocks.createKey).not.toHaveBeenCalled();+ });++ it("describes organization keys as the organization's own", () => {+ render(<ApiKeyManager organizationId="org_1" />);++ expect(screen.getByRole("heading", { name: "Organization API keys" })).toBeTruthy();+ expect(screen.getByText(/keep working when people leave/)).toBeTruthy();++ fireEvent.click(screen.getByRole("button", { name: "Create key" }));+ expect(screen.getByRole("form", { name: "New organization API key" })).toBeTruthy();+ });+});diff --git a/client/src/app/settings/account/components/ApiKeyManager.tsx b/client/src/app/settings/account/components/ApiKeyManager.tsxindex c9c6f9492..3b6e10c43 100644--- a/client/src/app/settings/account/components/ApiKeyManager.tsx+++ b/client/src/app/settings/account/components/ApiKeyManager.tsx@@ -1,12 +1,13 @@"use client";-import { AlertTriangle, KeyRound, Trash2 } from "lucide-react";+import { AlertTriangle, Plus, Trash2 } from "lucide-react";import { DateTime } from "luxon";import Link from "next/link";import { useExtracted } from "next-intl";-import { useState } from "react";+import { useId, useState } from "react";import { CopyButton } from "@/components/interior/copy-button";import { toast } from "@/components/ui/sonner";+import { cn } from "@/lib/utils";import { useCreateOrgApiKey, useDeleteOrgApiKey, useListOrgApiKeys } from "../../../../api/admin/hooks/useOrgApiKeys";import { useCreateApiKey, useDeleteApiKey, useListApiKeys } from "../../../../api/admin/hooks/useUserApiKeys";import {@@ -19,41 +20,69 @@ import {AlertDialogHeader,AlertDialogTitle,} from "../../../../components/ui/alert-dialog";-import { Badge } from "../../../../components/ui/badge";import { Button } from "../../../../components/ui/button";-import { Card, CardContent, CardHeader, CardTitle } from "../../../../components/ui/card";-import { Checkbox } from "../../../../components/ui/checkbox";import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from "../../../../components/ui/dialog";import { Input } from "../../../../components/ui/input";-import { Label } from "../../../../components/ui/label";import { Skeleton } from "../../../../components/ui/skeleton";+import { Switch } from "../../../../components/ui/switch";import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "../../../../components/ui/table";import { Tooltip, TooltipContent, TooltipTrigger } from "../../../../components/ui/tooltip";import { IS_CLOUD } from "../../../../lib/const";import { useStripeSubscription } from "../../../../lib/subscription/useStripeSubscription";+import { LedgerRow, LedgerSection, LedgerTable } from "../../components/Ledger";import { ApiKeyScopePicker, getScopeLabel, type ScopeSelection } from "./ApiKeyScopePicker";-function PermissionsBadge({ permissions }: { permissions: Record<string, string[]> | null | undefined }) {+const INLINE_LINK =+ "font-medium text-neutral-900 underline underline-offset-2 hover:text-neutral-700 dark:text-neutral-100 dark:hover:text-neutral-300";+const MUTED = "text-neutral-500 dark:text-neutral-400";+// Rows inside the create form sit 16px in from the section edge; narrowing the label column by the+// same amount keeps their controls on the page's control column.+const FORM_ROW = "px-4 md:grid-cols-[244px_minmax(0,1fr)]";++/** "Full access", or what a restricted key may touch, with the full list on hover. */+function PermissionsSummary({ permissions }: { permissions: Record<string, string[]> | null | undefined }) {const t = useExtracted();const entries = permissions ? Object.entries(permissions) : [];if (entries.length === 0) {- return <Badge variant="secondary">{t("Full access")}</Badge>;+ return <span>{t("Full access")}</span>;}+ // Name the resources outright when there are few and they share one access level.+ const accessLevels = new Set(entries.map(([, actions]) => [...actions].sort().join(",")));+ const [sharedLevel] = accessLevels.size === 1 ? [...accessLevels] : [];+ const sharedLabel =+ sharedLevel === "read"+ ? t("Read")+ : sharedLevel === "write"+ ? t("Write")+ : sharedLevel === "read,write"+ ? t("Read and write")+ : null;+ const summary =+ sharedLabel && entries.length <= 3+ ? t("{access} · {resources}", {+ access: sharedLabel,+ resources: entries.map(([resource]) => getScopeLabel(resource)).join(", "),+ })+ : t("{count, plural, one {# resource} other {# resources}}", { count: entries.length });+return (<Tooltip><TooltipTrigger asChild>- <Badge variant="outline" className="cursor-default">- {t("{count, plural, one {# resource} other {# resources}}", { count: entries.length })}- </Badge>+ <span+ tabIndex={0}+ className="cursor-default underline decoration-neutral-300 decoration-dotted underline-offset-4 dark:decoration-neutral-600"+ >+ {summary}+ </span></TooltipTrigger><TooltipContent align="start"><div className="space-y-1">{entries.map(([resource, actions]) => (<div key={resource} className="flex items-center justify-between gap-6"><span>{getScopeLabel(resource)}</span>- <span className="text-neutral-500 dark:text-neutral-400">{actions.join(", ")}</span>+ <span className={MUTED}>{actions.join(", ")}</span></div>))}</div>@@ -68,6 +97,10 @@ function PermissionsBadge({ permissions }: { permissions: Record<string, string[*/export function ApiKeyManager({ organizationId }: { organizationId?: string }) {const t = useExtracted();+ const formId = useId();+ const nameInputId = useId();+ const restrictSwitchId = useId();+ const [isCreating, setIsCreating] = useState(false);const [apiKeyName, setApiKeyName] = useState("");const [showApiKeyDialog, setShowApiKeyDialog] = useState(false);const [createdApiKey, setCreatedApiKey] = useState<string | null>(null);@@ -104,6 +137,13 @@ export function ApiKeyManager({ organizationId }: { organizationId?: string }) {const createApiKey = organizationId ? createOrgApiKey : createUserApiKey;const deleteApiKey = organizationId ? deleteOrgApiKey : deleteUserApiKey;+ const closeCreateForm = () => {+ setIsCreating(false);+ setApiKeyName("");+ setRestrictScopes(false);+ setScopes({});+ };+const handleCreateApiKey = async () => {if (!apiKeyName.trim()) {toast.error(t("Please enter a name for the API key"));@@ -122,9 +162,7 @@ export function ApiKeyManager({ organizationId }: { organizationId?: string }) {setKeyCopied(false);setConfirmClose(false);setShowApiKeyDialog(true);- setApiKeyName("");- setRestrictScopes(false);- setScopes({});+ closeCreateForm();} catch (error) {console.error("Error creating API key:", error);toast.error(error instanceof Error ? error.message : t("Failed to create API key"));@@ -161,180 +199,209 @@ export function ApiKeyManager({ organizationId }: { organizationId?: string }) {const showCloseWarning = confirmClose && !keyCopied;- return (- <>- <Card className="p-2">- <CardHeader>- <CardTitle className="text-xl">- {organizationId ? t("Organization API Keys") : t("Personal API Keys")}- </CardTitle>- </CardHeader>- <CardContent className="space-y-6">- <div className="space-y-2">- <h4 className="text-sm font-medium">{t("Create API Key")}</h4>- <p className="text-xs text-neutral-500">- {organizationId- ? t(- "An organization key is the organization's own credential: it can access all of this organization's sites and keeps working when members leave. Use it for production integrations."- )- : t(- "A personal key acts as you, with exactly your access — for personal scripts and connecting MCP clients."- )}- </p>- {!organizationId && (- <p className="text-xs text-neutral-500">- {t("Building a production integration?")}{" "}- <Link- href="/settings/organization"- className="font-medium text-neutral-900 underline underline-offset-2 hover:text-neutral-700 dark:text-neutral-100 dark:hover:text-neutral-300"- >- {t("Use an organization API key instead")}- </Link>{" "}- {t("— it keeps working when team members change (admins and owners only).")}- </p>- )}- {isPlanGated ? (- <div className="rounded-lg bg-neutral-50 dark:bg-neutral-900 p-3 border border-neutral-100 dark:border-neutral-800">- <p className="text-xs text-neutral-600 dark:text-neutral-400">- {t("API keys are available on Standard and Pro plans.")}{" "}- <Link- href="/settings/billing"- className="font-medium text-neutral-900 underline underline-offset-2 hover:text-neutral-700 dark:text-neutral-100 dark:hover:text-neutral-300"- >- {t("Upgrade your plan")}- </Link>- </p>- </div>- ) : (- <div className="space-y-3">- <div className="flex space-x-2">- <Input- id="apiKeyName"- value={apiKeyName}- onChange={({ target }) => setApiKeyName(target.value)}- placeholder={t("API Key Name")}- aria-label={t("API Key Name")}- onKeyDown={e => {- if (e.key === "Enter") {- e.preventDefault();- handleCreateApiKey();- }- }}- />- <Button- variant="success"- onClick={handleCreateApiKey}- disabled={createApiKey.isPending || !apiKeyName.trim()}- >- {createApiKey.isPending ? t("Creating...") : t("Create")}- </Button>- </div>-- <div className="flex items-start gap-2">- <Checkbox- id="restrictScopes"- checked={restrictScopes}- onCheckedChange={checked => setRestrictScopes(!!checked)}- className="mt-0.5"- />- <div>- <Label htmlFor="restrictScopes" className="text-sm">- {t("Restrict permissions")}- </Label>- <p className="text-xs text-neutral-500">- {t(- "Limit this key to specific resources. Leave off for a full-access key that can do everything you can."- )}- </p>- </div>- </div>+ const description = organizationId+ ? IS_CLOUD+ ? t(+ "These belong to the organization rather than a person, so they keep working when people leave. Only owners and admins can see or create them, and they share the organization's daily request budget."+ )+ : t(+ "These belong to the organization rather than a person, so they keep working when people leave. Only owners and admins can see or create them."+ )+ : t.rich(+ "Keys that act as you, with your role in each organization, and stop working if you leave it. For an integration that should outlive your membership, use an <link>organization key</link> (owners and admins only).",+ {+ link: chunks => (+ <Link href="/settings/organization" className={INLINE_LINK}>+ {chunks}+ </Link>+ ),+ }+ );- {restrictScopes && <ApiKeyScopePicker value={scopes} onChange={setScopes} />}+ return (+ <LedgerSection+ title={organizationId ? t("Organization API keys") : t("Personal API keys")}+ count={apiKeys && apiKeys.length > 0 ? apiKeys.length : undefined}+ description={+ isPlanGated ? (+ <>+ {description} {t("API keys are available on Standard and Pro plans.")}+ </>+ ) : (+ description+ )+ }+ actions={+ isPlanGated ? (+ <Button asChild variant="outline" size="sm">+ <Link href="/settings/billing">{t("Upgrade your plan")}</Link>+ </Button>+ ) : (+ <Button+ size="sm"+ aria-expanded={isCreating}+ aria-controls={isCreating ? formId : undefined}+ onClick={() => (isCreating ? closeCreateForm() : setIsCreating(true))}+ className={cn(isCreating && "bg-neutral-50 dark:bg-neutral-800")}+ >+ <Plus />+ {t("Create key")}+ </Button>+ )+ }+ >+ {isCreating && !isPlanGated && (+ <form+ id={formId}+ aria-label={organizationId ? t("New organization API key") : t("New personal API key")}+ onSubmit={e => {+ e.preventDefault();+ handleCreateApiKey();+ }}+ className="mb-5 divide-y divide-neutral-100 rounded-lg border border-neutral-150 bg-white dark:divide-neutral-850 dark:border-neutral-800 dark:bg-neutral-900"+ >+ <LedgerRow+ label={t("Key name")}+ description={t("So you can tell your keys apart.")}+ htmlFor={nameInputId}+ className={FORM_ROW}+ >+ <Input+ id={nameInputId}+ autoFocus+ value={apiKeyName}+ onChange={({ target }) => setApiKeyName(target.value)}+ onKeyDown={e => {+ if (e.key === "Escape") closeCreateForm();+ }}+ className="max-w-sm"+ />+ </LedgerRow>+ <LedgerRow+ label={t("Restrict permissions")}+ description={+ organizationId+ ? t("Off, the key has full access to all of this organization's sites.")+ : t("Off, the key can do anything you can.")+ }+ htmlFor={restrictSwitchId}+ className={FORM_ROW}+ >+ <div className="flex min-h-9 items-center gap-3">+ <Switch id={restrictSwitchId} checked={restrictScopes} onCheckedChange={setRestrictScopes} />+ <span className={cn("text-sm", MUTED)}>+ {restrictScopes ? t("Only what's selected below") : t("Full access")}+ </span>+ </div>+ {restrictScopes && (+ <div className="mt-3">+ <ApiKeyScopePicker value={scopes} onChange={setScopes} /></div>)}- </div>-- <div className="space-y-2">- <h4 className="text-sm font-medium">- {organizationId ? t("This organization's API keys") : t("Your personal API keys")}- </h4>- {isLoadingApiKeys ? (- <div className="space-y-2" aria-hidden="true">- <Skeleton className="h-8 w-full" />- <Skeleton className="h-8 w-full" />- <Skeleton className="h-8 w-3/4" />- </div>- ) : isError ? (- <div className="space-y-2">- <p className="text-xs text-red-500">- {t("Failed to load API keys")}- {error?.message ? `: ${error.message}` : ""}- </p>- <Button variant="outline" size="sm" onClick={() => refetch()}>- {t("Retry")}+ </LedgerRow>+ <div className={cn("grid gap-x-10 gap-y-3 py-3", FORM_ROW)}>+ <div className="hidden md:block" />+ <div className="flex flex-wrap items-center gap-x-4 gap-y-2">+ <p className={cn("text-xs leading-4", MUTED)}>+ {t("You'll see the key once, right after you create it.")}+ </p>+ <div className="ml-auto flex items-center gap-1.5">+ <Button type="button" variant="ghost" size="sm" onClick={closeCreateForm}>+ {t("Cancel")}+ </Button>+ <Button+ type="submit"+ variant="success"+ size="sm"+ loading={createApiKey.isPending}+ loadingLabel={t("Creating...")}+ disabled={!apiKeyName.trim()}+ >+ {t("Create key")}</Button></div>- ) : apiKeys && apiKeys.length > 0 ? (- <div className="rounded-lg">- <Table>- <TableHeader>- <TableRow>- <TableHead>{t("Name")}</TableHead>- <TableHead>{t("Key")}</TableHead>- <TableHead>{t("Permissions")}</TableHead>- <TableHead>{t("Created")}</TableHead>- <TableHead>{t("Last used")}</TableHead>- <TableHead className="w-10">- <span className="sr-only">{t("Actions")}</span>- </TableHead>- </TableRow>- </TableHeader>- <TableBody>- {apiKeys.map(key => (- <TableRow key={key.id}>- <TableCell className="font-medium">- {key.name || <span className="font-normal italic text-neutral-500">{t("Unnamed")}</span>}- </TableCell>- <TableCell className="font-mono text-xs text-neutral-600 dark:text-neutral-400">- {key.start ? `${key.start}…` : "••••"}- </TableCell>- <TableCell>- <PermissionsBadge permissions={key.permissions} />- </TableCell>- <TableCell className="text-neutral-600 dark:text-neutral-400">- {DateTime.fromJSDate(new Date(key.createdAt)).toLocaleString(DateTime.DATE_MED)}- </TableCell>- <TableCell className="text-neutral-600 dark:text-neutral-400">- {key.lastRequest ? DateTime.fromJSDate(new Date(key.lastRequest)).toRelative() : t("Never")}- </TableCell>- <TableCell className="text-right">- <Button- variant="ghost"- size="smIcon"- className="text-neutral-500 hover:text-red-500 dark:text-neutral-400 dark:hover:text-red-400"- onClick={() => setPendingDelete({ id: key.id, name: key.name })}- aria-label={t("Delete API key {name}", { name: key.name || t("Unnamed") })}- >- <Trash2 />- </Button>- </TableCell>- </TableRow>- ))}- </TableBody>- </Table>- </div>- ) : (- <div className="rounded-lg border border-neutral-100 px-4 py-8 text-center dark:border-neutral-800">- <KeyRound className="mx-auto h-5 w-5 text-neutral-400 dark:text-neutral-500" aria-hidden="true" />- <p className="mt-2 text-sm font-medium">{t("No API keys yet")}</p>- <p className="mt-1 text-xs text-neutral-500">- {t("API keys let your scripts and integrations access your analytics data.")}- </p>- </div>- )}+ </div></div>- </CardContent>- </Card>+ </form>+ )}++ {isLoadingApiKeys ? (+ <div className="space-y-3 border-y border-neutral-100 py-4 dark:border-neutral-850" aria-hidden="true">+ <Skeleton className="h-5 w-full" />+ <Skeleton className="h-5 w-full" />+ <Skeleton className="h-5 w-3/4" />+ </div>+ ) : isError ? (+ <div className="flex flex-wrap items-center justify-between gap-3 border-y border-neutral-100 py-4 dark:border-neutral-850">+ <p className="text-sm text-red-600 dark:text-red-400">+ {t("Failed to load API keys")}+ {error?.message ? `: ${error.message}` : ""}+ </p>+ <Button variant="outline" size="sm" onClick={() => refetch()}>+ {t("Retry")}+ </Button>+ </div>+ ) : apiKeys && apiKeys.length > 0 ? (+ <LedgerTable>+ <Table>+ <TableHeader className="bg-transparent dark:bg-transparent [&_tr]:border-b">+ <TableRow className="hover:bg-transparent dark:border-b-neutral-850 dark:hover:bg-transparent">+ <TableHead className="h-9">{t("Name")}</TableHead>+ <TableHead className="h-9">{t("Key")}</TableHead>+ <TableHead className="h-9">{t("Permissions")}</TableHead>+ <TableHead className="h-9">{t("Created")}</TableHead>+ <TableHead className="h-9">{t("Last used")}</TableHead>+ <TableHead className="h-9 w-10">+ <span className="sr-only">{t("Actions")}</span>+ </TableHead>+ </TableRow>+ </TableHeader>+ <TableBody className="bg-transparent dark:bg-transparent">+ {apiKeys.map(key => (+ <TableRow key={key.id} className="dark:border-b-neutral-850">+ <TableCell className="whitespace-nowrap py-3 font-medium">+ {key.name || <span className={cn("font-normal italic", MUTED)}>{t("Unnamed")}</span>}+ </TableCell>+ <TableCell className="whitespace-nowrap py-3 font-mono text-xs text-neutral-600 dark:text-neutral-400">+ {key.start ? `${key.start}…` : "••••"}+ </TableCell>+ <TableCell className="whitespace-nowrap py-3">+ <PermissionsSummary permissions={key.permissions} />+ </TableCell>+ <TableCell className="whitespace-nowrap py-3 tabular-nums">+ {DateTime.fromJSDate(new Date(key.createdAt)).toLocaleString(DateTime.DATE_MED)}+ </TableCell>+ <TableCell className="whitespace-nowrap py-3">+ {key.lastRequest ? (+ DateTime.fromJSDate(new Date(key.lastRequest)).toRelative()+ ) : (+ <span className={MUTED}>{t("Never")}</span>+ )}+ </TableCell>+ <TableCell className="py-3 text-right">+ <Button+ variant="ghost"+ size="smIcon"+ className="text-neutral-500 hover:text-red-500 dark:text-neutral-400 dark:hover:text-red-400"+ onClick={() => setPendingDelete({ id: key.id, name: key.name })}+ aria-label={t("Delete API key {name}", { name: key.name || t("Unnamed") })}+ >+ <Trash2 />+ </Button>+ </TableCell>+ </TableRow>+ ))}+ </TableBody>+ </Table>+ </LedgerTable>+ ) : (+ <div className="border-y border-neutral-100 py-6 dark:border-neutral-850">+ <p className="text-sm font-medium">{t("No API keys yet")}</p>+ <p className={cn("mt-0.5 text-xs leading-4", MUTED)}>+ {t("API keys let your scripts and integrations access your analytics data.")}+ </p>+ </div>+ )}<Dialog open={showApiKeyDialog} onOpenChange={handleApiKeyDialogOpenChange}><DialogContent className="max-w-md">@@ -402,6 +469,6 @@ export function ApiKeyManager({ organizationId }: { organizationId?: string }) {</AlertDialogFooter></AlertDialogContent></AlertDialog>- </>+ </LedgerSection>);}diff --git a/client/src/app/settings/account/components/ChangePassword.tsx b/client/src/app/settings/account/components/ChangePassword.tsxindex c46675f0d..85737aea5 100644--- a/client/src/app/settings/account/components/ChangePassword.tsx+++ b/client/src/app/settings/account/components/ChangePassword.tsx@@ -1,7 +1,7 @@"use client";import { cn } from "@/lib/utils";-import { CheckCircle2, KeyRound, ShieldAlert, ShieldCheck, XCircle } from "lucide-react";+import { CheckCircle2, ShieldAlert, ShieldCheck, XCircle } from "lucide-react";import { useExtracted } from "next-intl";import { useEffect, useState } from "react";import { toast } from "@/components/ui/sonner";@@ -130,10 +130,7 @@ export function ChangePassword() {}}><DialogTrigger asChild>- <Button variant="outline" className="w-full">- <KeyRound className="h-4 w-4 mr-2" />- {t("Change Password")}- </Button>+ <Button size="sm">{t("Change password")}</Button></DialogTrigger><DialogContent className="sm:max-w-[425px]"><DialogHeader>diff --git a/client/src/app/settings/account/components/DeleteAccount.tsx b/client/src/app/settings/account/components/DeleteAccount.tsxindex b1274ff36..317517ad5 100644--- a/client/src/app/settings/account/components/DeleteAccount.tsx+++ b/client/src/app/settings/account/components/DeleteAccount.tsx@@ -20,8 +20,17 @@ import { Button } from "../../../../components/ui/button";import { authClient } from "../../../../lib/auth";import { useStripeSubscription } from "../../../../lib/subscription/useStripeSubscription";-export function DeleteAccount() {+/**+ * Paid plans must be cancelled before the account can be deleted. Deliberately independent of a+ * running deletion, which used to flip the dialog to "Cannot delete account" mid-delete.+ */+export function useHasActiveSubscription() {const { data: subscription } = useStripeSubscription();+ return !!(subscription?.planName.startsWith("standard") || subscription?.planName.startsWith("pro"));+}++export function DeleteAccount() {+ const hasActiveSubscription = useHasActiveSubscription();const [isDeleting, setIsDeleting] = useState(false);const [isOpen, setIsOpen] = useState(false);const queryClient = useQueryClient();@@ -53,11 +62,6 @@ export function DeleteAccount() {setIsOpen(false);};- // Paid plans must be cancelled first. (isDeleting used to be part of this, which flipped the dialog to- // "Cannot delete account" for as long as the deletion was running.)- const hasActiveSubscription =- subscription?.planName.startsWith("standard") || subscription?.planName.startsWith("pro");-return (<AlertDialogopen={isOpen}@@ -66,8 +70,13 @@ export function DeleteAccount() {}}><AlertDialogTrigger asChild>- <Button variant="destructive" className="w-full" onClick={() => setIsOpen(true)}>- {t("Delete Account")}+ <Button+ variant="ghost"+ size="sm"+ className="text-red-600 hover:bg-red-500/10 hover:text-red-600 dark:text-red-400 dark:hover:bg-red-500/10 dark:hover:text-red-400"+ onClick={() => setIsOpen(true)}+ >+ {t("Delete account")}</Button></AlertDialogTrigger><AlertDialogContent>diff --git a/client/src/app/settings/account/page.tsx b/client/src/app/settings/account/page.tsxindex 760d4791b..14c44cce4 100644--- a/client/src/app/settings/account/page.tsx+++ b/client/src/app/settings/account/page.tsx@@ -1,26 +1,33 @@"use client";+import { LogOut } from "lucide-react";import { useExtracted } from "next-intl";+import { Button } from "../../../components/ui/button";import { useSetPageTitle } from "../../../hooks/useSetPageTitle";+import { useSignout } from "../../../hooks/useSignout";+import { SettingsPage, SettingsPageHeader } from "../components/Ledger";import { AccountInner } from "./components/AccountInner";-import { ExternalLink } from "../../../components/ExternalLink";export default function AccountPage() {useSetPageTitle("Account");const t = useExtracted();+ const signout = useSignout();return (- <>- <div className="mb-4">- <h1 className="text-3xl font-bold tracking-tight">{t("Account Settings")}</h1>- <p className="text-neutral-500 dark:text-neutral-400 flex items-center gap-1">- {t("Manage your personal account settings")}- <ExternalLink href="https://www.rybbit.com/docs/account-settings">- {t("Learn more")}- </ExternalLink>- </p>- </div>+ <SettingsPage>+ <SettingsPageHeader+ title={t("Account")}+ description={t(+ "Your profile, sign-in and personal API keys. They go with you into every organization you belong to."+ )}+ actions={+ <Button variant="outline" size="sm" onClick={signout}>+ <LogOut />+ {t("Sign out")}+ </Button>+ }+ /><AccountInner />- </>+ </SettingsPage>);}diff --git a/client/src/app/settings/billing/layout.tsx b/client/src/app/settings/billing/layout.tsxindex 7b6c65e51..8b757cb3d 100644--- a/client/src/app/settings/billing/layout.tsx+++ b/client/src/app/settings/billing/layout.tsx@@ -2,25 +2,25 @@import { useExtracted } from "next-intl";import { OrgPermissionGate } from "../components/OrgPermissionGate";+import { SettingsPage, SettingsPageHeader } from "../components/Ledger";+import { useActiveOrgName } from "../../../hooks/useActiveOrgName";export default function BillingLayout({ children }: { children: React.ReactNode }) {const t = useExtracted();+ const orgName = useActiveOrgName();return (- <div className="space-y-5">- <div>- <h1 className="text-3xl font-bold tracking-tight">{t("Billing")}</h1>- <p className="text-neutral-500 dark:text-neutral-400">- {t("Manage your subscription and billing.")}- </p>- </div>-+ <SettingsPage>+ <SettingsPageHeader+ title={t("Billing")}+ description={orgName ? t("Plan, usage and invoices for {name}.", { name: orgName }) : undefined}+ /><OrgPermissionGatepermission="billing:manage"deniedMessage={t("You don't have permission to view subscription settings.")}>- <div className="mt-6">{children}</div>+ {children}</OrgPermissionGate>- </div>+ </SettingsPage>);}diff --git a/client/src/app/settings/billing/page.tsx b/client/src/app/settings/billing/page.tsxindex 3759d00e5..94ed84781 100644--- a/client/src/app/settings/billing/page.tsx+++ b/client/src/app/settings/billing/page.tsx@@ -1,21 +1,51 @@"use client";-import { Card, CardContent, CardDescription, CardTitle } from "@/components/ui/card";-import { Skeleton } from "@/components/ui/skeleton";-import { PaidPlan } from "../../../components/subscription/PaidPlain/PaidPlan";-import { useStripeSubscription } from "../../../lib/subscription/useStripeSubscription";-import { NoOrganization } from "../../../components/NoOrganization";-import { ExpiredTrialPlan } from "../../../components/subscription/ExpiredTrialPlan";-import { useSetPageTitle } from "../../../hooks/useSetPageTitle";-import { FreePlan } from "../../../components/subscription/FreePlan";-import { OverridePlan } from "../../../components/subscription/OverridePlan";-import { CustomPlan } from "../../../components/subscription/CustomPlan";-import { Building } from "lucide-react";import { useExtracted } from "next-intl";+import { useEffect } from "react";+import { NoOrganization } from "@/components/NoOrganization";+import { AppSumoPlan } from "@/components/subscription/AppSumoPlan";+import { CustomPlan } from "@/components/subscription/CustomPlan";+import { ExpiredTrialPlan } from "@/components/subscription/ExpiredTrialPlan";+import { FreePlan } from "@/components/subscription/FreePlan";+import { OverridePlan } from "@/components/subscription/OverridePlan";+import { PaidPlan } from "@/components/subscription/PaidPlain/PaidPlan";+import { Skeleton } from "@/components/ui/skeleton";import { useCanInOrg } from "@/hooks/usePermissions";+import { useSetPageTitle } from "@/hooks/useSetPageTitle";import { authClient } from "@/lib/auth";-import { useEffect } from "react";-import { AppSumoPlan } from "../../../components/subscription/AppSumoPlan";+import { useStripeSubscription } from "@/lib/subscription/useStripeSubscription";+import { LedgerRow, LedgerRows, LedgerSection } from "../components/Ledger";++function BillingSkeleton() {+ const t = useExtracted();+ return (+ <>+ <LedgerSection title={t("Plan")}>+ <LedgerRows>+ <LedgerRow label={t("Current plan")}>+ <div className="space-y-2 md:pt-2">+ <Skeleton className="h-5 w-40" />+ <Skeleton className="h-4 w-64" />+ </div>+ </LedgerRow>+ </LedgerRows>+ </LedgerSection>+ <LedgerSection title={t("Usage this month")}>+ <LedgerRows>+ <LedgerRow label={t("Events")}>+ <div className="space-y-3 md:pt-2">+ <Skeleton className="h-4 w-48" />+ <Skeleton className="h-1.5 w-full" />+ </div>+ </LedgerRow>+ <LedgerRow label={t("Sites")}>+ <Skeleton className="h-4 w-24 md:mt-2" />+ </LedgerRow>+ </LedgerRows>+ </LedgerSection>+ </>+ );+}export default function OrganizationBillingPage() {useSetPageTitle("Organization Billing");@@ -36,70 +66,53 @@ export default function OrganizationBillingPage() {const isLoading = isLoadingSubscription || isPending;- // Determine which plan to display- const renderPlanComponent = () => {- if (!activeOrg && !isPending) {- return <NoOrganization message={t("You need to select an organization to manage your subscription.")} />;- }-- if (!canManageBilling) {- return (- <Card className="p-6 flex flex-col items-center text-center w-full">- <div className="mx-auto w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center mb-4">- <Building className="h-6 w-6 text-primary" />- </div>- <CardTitle className="mb-2 text-xl">{t("Not an owner")}</CardTitle>- <CardDescription className="mb-6">- {t("Only the owner of the organization can manage the subscription.")}- </CardDescription>- </Card>- );- }-- if (!activeSubscription) {- return <ExpiredTrialPlan />;- }-- // Check if trial expired- if (activeSubscription.status === "expired") {- return <ExpiredTrialPlan message={activeSubscription.message} />;- }-- // Check if user is on free plan- if (activeSubscription.status === "free") {- return <FreePlan />;- }-- if (activeSubscription.planName === "custom") {- return <CustomPlan />;- }-- if (activeSubscription.planName.startsWith("appsumo")) {- return <AppSumoPlan />;- }-- if (activeSubscription.isOverride) {- return <OverridePlan />;- }-- return <PaidPlan />;- };-- return (- <div className="space-y-6">- {isLoading ? (- <Card>- <CardContent className="pt-6">- <div className="space-y-2">- <Skeleton className="h-4 w-[250px]" />- <Skeleton className="h-4 w-[200px]" />- <Skeleton className="h-20 w-full mt-4" />- </div>- </CardContent>- </Card>- ) : (- renderPlanComponent()- )}- </div>- );+ if (isLoading) {+ return <BillingSkeleton />;+ }++ if (!activeOrg && !isPending) {+ return <NoOrganization message={t("You need to select an organization to manage your subscription.")} />;+ }++ if (!canManageBilling) {+ return (+ <LedgerSection title={t("Plan")}>+ <LedgerRows>+ <LedgerRow label={t("Not an owner")}>+ <p className="text-sm text-neutral-700 md:pt-2 dark:text-neutral-300">+ {t("Only the owner of the organization can manage the subscription.")}+ </p>+ </LedgerRow>+ </LedgerRows>+ </LedgerSection>+ );+ }++ if (!activeSubscription) {+ return <ExpiredTrialPlan />;+ }++ // Check if trial expired+ if (activeSubscription.status === "expired") {+ return <ExpiredTrialPlan message={activeSubscription.message} />;+ }++ // Check if user is on free plan+ if (activeSubscription.status === "free") {+ return <FreePlan />;+ }++ if (activeSubscription.planName === "custom") {+ return <CustomPlan />;+ }++ if (activeSubscription.planName.startsWith("appsumo")) {+ return <AppSumoPlan />;+ }++ if (activeSubscription.isOverride) {+ return <OverridePlan />;+ }++ return <PaidPlan />;}diff --git a/client/src/app/settings/components/Ledger.tsx b/client/src/app/settings/components/Ledger.tsxnew file mode 100644index 000000000..e4768ab9a--- /dev/null+++ b/client/src/app/settings/components/Ledger.tsx@@ -0,0 +1,202 @@+"use client";++import { useExtracted } from "next-intl";+import { Button } from "@/components/ui/button";+import { cn } from "@/lib/utils";++// Settings pages are laid out as a ledger: one continuous sheet where each setting is a row with+// its name and a line of help on the left and its control on the right, hairlines between rows.+// Collections (people, keys, invoices) break out to full width under their section heading.++export function SettingsPageHeader({+ title,+ description,+ actions,+}: {+ title: React.ReactNode;+ description?: React.ReactNode;+ actions?: React.ReactNode;+}) {+ return (+ <header className="flex flex-wrap items-end justify-between gap-x-6 gap-y-3">+ <div className="min-w-0">+ <h1 className="text-2xl font-semibold tracking-tight">{title}</h1>+ {description && (+ <p className="mt-1 max-w-prose text-sm text-neutral-500 dark:text-neutral-400">{description}</p>+ )}+ </div>+ {actions && <div className="flex shrink-0 items-center gap-2">{actions}</div>}+ </header>+ );+}++/** Wraps a page's sections so the first one sits closer to the page header than the rest sit to each other. */+export function SettingsPage({ children }: { children: React.ReactNode }) {+ return <div className="flex max-w-5xl flex-col gap-12 pb-16 [&>header+section]:-mt-3">{children}</div>;+}++export function LedgerSection({+ title,+ count,+ description,+ actions,+ children,+ className,+}: {+ title: React.ReactNode;+ /** A quiet figure after the title, e.g. how many rows the section holds. */+ count?: React.ReactNode;+ description?: React.ReactNode;+ actions?: React.ReactNode;+ children: React.ReactNode;+ className?: string;+}) {+ return (+ <section className={cn("min-w-0", className)}>+ <div className="flex flex-wrap items-end justify-between gap-x-4 gap-y-2.5 pb-3">+ <div className="min-w-0 flex-[1_1_320px]">+ <h2 className="text-base font-semibold leading-5">+ {title}+ {count !== undefined && (+ <span className="ml-2 text-sm font-normal tabular-nums text-neutral-500 dark:text-neutral-400">+ {count}+ </span>+ )}+ </h2>+ {description && (+ <p className="mt-0.5 max-w-[76ch] text-sm leading-5 text-neutral-500 dark:text-neutral-400">+ {description}+ </p>+ )}+ </div>+ {actions && <div className="flex shrink-0 flex-wrap items-center gap-2">{actions}</div>}+ </div>+ {children}+ </section>+ );+}++/** A run of ledger rows, ruled above and below. */+export function LedgerRows({ children, className }: { children: React.ReactNode; className?: string }) {+ return (+ <div+ className={cn(+ "divide-y divide-neutral-100 border-y border-neutral-100 dark:divide-neutral-850 dark:border-neutral-850",+ className+ )}+ >+ {children}+ </div>+ );+}++export function LedgerRow({+ label,+ description,+ htmlFor,+ children,+ className,+}: {+ label: React.ReactNode;+ description?: React.ReactNode;+ /** Points the label at the row's input, when there is one. */+ htmlFor?: string;+ children: React.ReactNode;+ className?: string;+}) {+ const Label = htmlFor ? "label" : "div";+ return (+ <div className={cn("grid gap-x-10 gap-y-2 py-4 md:grid-cols-[260px_minmax(0,1fr)]", className)}>+ <div className="min-w-0 md:pt-2">+ <Label htmlFor={htmlFor} className="block text-sm font-medium leading-5">+ {label}+ </Label>+ {description && (+ <p className="mt-0.5 text-xs leading-4 text-neutral-500 dark:text-neutral-400">{description}</p>+ )}+ </div>+ <div className="min-w-0">{children}</div>+ </div>+ );+}++/** A full-width block (usually a table) ruled above and below, for collections under a section heading. */+export function LedgerTable({ children, className }: { children: React.ReactNode; className?: string }) {+ return (+ <div+ className={cn(+ "overflow-x-auto border-y border-neutral-100 dark:border-neutral-850",+ "[&_th:first-child]:pl-0 [&_td:first-child]:pl-0 [&_th:last-child]:pr-0 [&_td:last-child]:pr-0",+ className+ )}+ >+ {children}+ </div>+ );+}++/**+ * Shown under a section only while it has unsaved edits, so saving is per section and a clean+ * section carries no buttons.+ */+export function LedgerSaveBar({+ dirty,+ saving,+ onCancel,+ onSave,+ message,+}: {+ dirty: boolean;+ saving?: boolean;+ onCancel: () => void;+ onSave: () => void;+ message?: React.ReactNode;+}) {+ const t = useExtracted();+ if (!dirty) return null;+ return (+ <div className="mt-3 flex flex-wrap items-center gap-x-2.5 gap-y-2 rounded-lg border border-neutral-150 bg-white py-1.5 pl-3.5 pr-1.5 text-sm dark:border-neutral-800 dark:bg-neutral-900">+ <span className="font-medium">{message ?? t("Unsaved changes")}</span>+ <div className="ml-auto flex items-center gap-1.5">+ <Button variant="ghost" size="sm" onClick={onCancel} disabled={saving}>+ {t("Cancel")}+ </Button>+ <Button variant="success" size="sm" onClick={onSave} loading={saving} loadingLabel={t("Saving...")}>+ {t("Save changes")}+ </Button>+ </div>+ </div>+ );+}++/** The closing section of a page, for actions that can't be undone. */+export function DangerZone({ children }: { children: React.ReactNode }) {+ const t = useExtracted();+ return (+ <LedgerSection title={t("Danger zone")}>+ <LedgerRows>{children}</LedgerRows>+ </LedgerSection>+ );+}++/** One destructive action in the danger zone: what it does on the left, the consequence and the button on the right. */+export function DangerRow({+ label,+ description,+ consequence,+ action,+}: {+ label: React.ReactNode;+ description?: React.ReactNode;+ consequence: React.ReactNode;+ action: React.ReactNode;+}) {+ return (+ <LedgerRow label={label} description={description}>+ <div className="grid items-start gap-x-6 gap-y-2 sm:grid-cols-[minmax(0,1fr)_auto]">+ <p className="max-w-[58ch] text-sm text-neutral-700 sm:pt-2 dark:text-neutral-300">{consequence}</p>+ <div className="sm:pt-0.5">{action}</div>+ </div>+ </LedgerRow>+ );+}diff --git a/client/src/app/settings/components/PersonAvatar.tsx b/client/src/app/settings/components/PersonAvatar.tsxnew file mode 100644index 000000000..34af1bdac--- /dev/null+++ b/client/src/app/settings/components/PersonAvatar.tsx@@ -0,0 +1,78 @@+import { Mail, Plus } from "lucide-react";++import { cn } from "@/lib/utils";+import { initials } from "./siteAccess";++const SIZES = {+ md: "size-7 text-[11px]",+ sm: "size-6 text-[10px]",+ xs: "size-5 text-[9px]",+};++const AVATAR =+ "inline-grid shrink-0 place-items-center rounded-full border font-semibold select-none border-neutral-150 bg-neutral-50 text-neutral-600 dark:border-neutral-750 dark:bg-neutral-850 dark:text-neutral-300";++type Person = { name?: string | null; email?: string | null };++/** A person's initials in a small circle. Decorative: the name is always written next to it or in the stack's label. */+export function PersonAvatar({ person, size = "sm" }: { person: Person; size?: keyof typeof SIZES }) {+ return (+ <span aria-hidden="true" className={cn(AVATAR, SIZES[size])}>+ {initials(person.name, person.email)}+ </span>+ );+}++/** The first few people of a group side by side; hovering shows everyone's name. */+export function AvatarStack({+ people,+ max,+ size = "sm",+}: {+ people: Person[];+ max: number;+ size?: keyof typeof SIZES;+}) {+ return (+ <span+ className="inline-flex items-center gap-0.5"+ title={people.map(person => person.name || person.email).join(", ")}+ >+ {people.slice(0, max).map((person, index) => (+ <PersonAvatar key={index} person={person} size={size} />+ ))}+ </span>+ );+}++/** The placeholder avatar for a group with nobody in it yet. */+export function EmptyAvatar() {+ return (+ <span+ aria-hidden="true"+ className={cn(+ AVATAR,+ SIZES.sm,+ "border-dashed bg-transparent text-neutral-400 dark:bg-transparent dark:text-neutral-500"+ )}+ >+ <Plus className="size-3" />+ </span>+ );+}++/** Someone invited but not yet joined: a dashed outline with an envelope. */+export function InvitationAvatar({ size = "md" }: { size?: keyof typeof SIZES }) {+ return (+ <span+ aria-hidden="true"+ className={cn(+ AVATAR,+ SIZES[size],+ "border-dashed bg-transparent text-neutral-400 dark:bg-transparent dark:text-neutral-500"+ )}+ >+ <Mail className="size-3.5" />+ </span>+ );+}diff --git a/client/src/app/settings/components/siteAccess.test.ts b/client/src/app/settings/components/siteAccess.test.tsnew file mode 100644index 000000000..905a96650--- /dev/null+++ b/client/src/app/settings/components/siteAccess.test.ts@@ -0,0 +1,211 @@+import type { SiteGrantRole } from "@rybbit/shared";+import { describe, expect, it } from "vitest";++import { AccessMember, AccessTeam, accessBySite, initials, teamMemberEffects } from "./siteAccess";++const site = (siteId: number) => ({ siteId, name: `site-${siteId}.dev`, domain: `site-${siteId}.dev` });++function member(+ userId: string,+ role: string,+ restrictedTo?: { siteIds: number[]; siteRole?: SiteGrantRole | null }+): AccessMember {+ return {+ userId,+ role,+ user: { id: userId, name: userId, email: `${userId}@example.com` },+ siteAccess: {+ hasRestrictedSiteAccess: !!restrictedTo,+ siteIds: restrictedTo?.siteIds ?? [],+ siteRole: restrictedTo?.siteRole ?? null,+ },+ };+}++function team(id: string, userIds: string[], siteIds: number[], role: SiteGrantRole | null = null): AccessTeam {+ return {+ id,+ name: id,+ members: userIds.map(userId => ({ userId, userName: userId, userEmail: `${userId}@example.com` })),+ sites: siteIds.map(siteId => ({ siteId, domain: `site-${siteId}.dev`, name: `site-${siteId}.dev`, role })),+ };+}++const sites = [site(1), site(2), site(3)];+const siteAccess = (access: ReturnType<typeof accessBySite>, siteId: number) =>+ access.find(entry => entry.site.siteId === siteId)!;+const broadIds = (access: ReturnType<typeof accessBySite>, siteId: number) =>+ siteAccess(access, siteId).broad.map(person => person.userId);+const scoped = (access: ReturnType<typeof accessBySite>, siteId: number) =>+ siteAccess(access, siteId).scoped.map(entry => ({+ userId: entry.member.userId,+ role: entry.role,+ sources: entry.sources,+ }));++describe("accessBySite", () => {+ it("lets owners and admins reach every site on their own role, even when a team holds it or lists them", () => {+ const members = [member("admin", "admin"), member("owner", "owner")];+ const access = accessBySite(sites, members, [team("growth", ["admin"], [1], "editor")]);++ for (const { siteId } of sites) {+ expect(broadIds(access, siteId)).toEqual(["owner", "admin"]);+ expect(scoped(access, siteId)).toEqual([]);+ }+ expect(access.every(entry => entry.broadReachesEverySite)).toBe(true);+ });++ it("opens a site in no team to every unrestricted member, and closes a site in a team to members outside it", () => {+ const access = accessBySite(sites, [member("owner", "owner"), member("ann", "member")], [team("docs", [], [3])]);++ expect(broadIds(access, 1)).toEqual(["owner", "ann"]);+ // ann reaches sites 1 and 2 but not 3, so "all-site access" would overstate what she has.+ expect(siteAccess(access, 1).broadReachesEverySite).toBe(false);+ expect(broadIds(access, 3)).toEqual(["owner"]);+ expect(siteAccess(access, 3).broadReachesEverySite).toBe(true);+ });++ it("raises a member to the team's role on its sites", () => {+ const access = accessBySite(sites, [member("tom", "member")], [team("growth", ["tom"], [1, 2], "editor")]);++ expect(scoped(access, 1)).toEqual([+ { userId: "tom", role: "editor", sources: [{ type: "team", teamId: "growth", teamName: "growth" }] },+ ]);+ expect(scoped(access, 2)[0].role).toBe("editor");+ expect(scoped(access, 3)).toEqual([]);+ // tom is unrestricted and site 3 is in no team, so he reaches it on his own role.+ expect(broadIds(access, 3)).toEqual(["tom"]);+ });++ it("never lowers a role: an editor in an Editor team, or in a Member team, stays an editor", () => {+ const members = [member("eve", "editor")];++ for (const role of ["editor", "member", null] as const) {+ const access = accessBySite(sites, members, [team("growth", ["eve"], [1], role)]);+ expect(scoped(access, 1)[0].role).toBe("editor");+ }+ });++ it("gives a restricted member only the sites granted to them directly, with the grant's role", () => {+ const access = accessBySite(sites, [member("sam", "viewer", { siteIds: [2], siteRole: "member" })], []);++ expect(scoped(access, 2)).toEqual([{ userId: "sam", role: "member", sources: [{ type: "direct" }] }]);+ expect(broadIds(access, 1)).toEqual([]);+ expect(scoped(access, 1)).toEqual([]);+ });++ it("ignores direct grants left on a member who is no longer restricted", () => {+ const unrestricted = {+ ...member("sam", "viewer"),+ siteAccess: { hasRestrictedSiteAccess: false, siteIds: [2], siteRole: "editor" as const },+ };+ const access = accessBySite(sites, [unrestricted], []);++ expect(scoped(access, 2)).toEqual([]);+ expect(broadIds(access, 2)).toEqual(["sam"]);+ });++ it("combines every grant for a member in two teams, taking the highest role and naming both teams", () => {+ const access = accessBySite(+ sites,+ [member("aiko", "member")],+ [team("growth", ["aiko"], [1, 2], "editor"), team("platform", ["aiko"], [2, 3])]+ );++ expect(scoped(access, 1)[0].role).toBe("editor");+ expect(scoped(access, 2)).toEqual([+ {+ userId: "aiko",+ role: "editor",+ sources: [+ { type: "team", teamId: "growth", teamName: "growth" },+ { type: "team", teamId: "platform", teamName: "platform" },+ ],+ },+ ]);+ expect(scoped(access, 3)[0].role).toBe("member");+ // Every site in a team is one of hers, so her access really does span the organization.+ expect(siteAccess(access, 3).broad).toEqual([]);+ });++ it("leaves a site held only by an empty team to owners and admins", () => {+ const members = [member("owner", "owner"), member("ann", "member"), member("sam", "viewer", { siteIds: [1] })];+ const access = accessBySite(sites, members, [team("docs", [], [3], "member")]);+ const docs = siteAccess(access, 3);++ expect(docs.teams.map(entry => entry.id)).toEqual(["docs"]);+ expect(docs.broad.map(person => person.userId)).toEqual(["owner"]);+ expect(docs.scoped).toEqual([]);+ });+});++describe("teamMemberEffects", () => {+ const members = [+ member("owner", "owner"),+ member("tom", "member"),+ member("eve", "editor"),+ member("sam", "viewer", { siteIds: [3] }),+ ];+ const growth = team("growth", ["owner", "tom", "eve"], [1, 2], "editor");++ it("reports each member's resulting role on the team's sites and how much else they reach", () => {+ const teams = [growth];+ const access = accessBySite(sites, members, teams);++ expect(teamMemberEffects(growth, access, members)).toEqual([+ {+ userId: "owner",+ name: "owner",+ orgRole: "owner",+ hasEverySite: true,+ roles: [{ role: "owner", sites: 2 }],+ otherSitesReached: 1,+ otherSites: 1,+ },+ {+ userId: "tom",+ name: "tom",+ orgRole: "member",+ hasEverySite: false,+ roles: [{ role: "editor", sites: 2 }],+ otherSitesReached: 1,+ otherSites: 1,+ },+ {+ userId: "eve",+ name: "eve",+ orgRole: "editor",+ hasEverySite: false,+ roles: [{ role: "editor", sites: 2 }],+ otherSitesReached: 1,+ otherSites: 1,+ },+ ]);+ });++ it("counts other sites a restricted member can't open", () => {+ const docs = team("docs", ["sam"], [1]);+ const access = accessBySite(sites, members, [docs]);++ expect(teamMemberEffects(docs, access, members)).toEqual([+ {+ userId: "sam",+ name: "sam",+ orgRole: "viewer",+ hasEverySite: false,+ roles: [{ role: "viewer", sites: 1 }],+ otherSitesReached: 1,+ otherSites: 2,+ },+ ]);+ });+});++describe("initials", () => {+ it("uses the first and last name, else the email", () => {+ expect(initials("Tom Becker", "[email protected]")).toBe("TB");+ expect(initials(" aiko ", "[email protected]")).toBe("A");+ expect(initials(null, "[email protected]")).toBe("P");+ expect(initials("", "")).toBe("");+ });+});diff --git a/client/src/app/settings/components/siteAccess.ts b/client/src/app/settings/components/siteAccess.tsnew file mode 100644index 000000000..52c28c783--- /dev/null+++ b/client/src/app/settings/components/siteAccess.ts@@ -0,0 +1,178 @@+import type { OrgRole } from "@rybbit/shared";++import type { GetOrganizationMembersResponse } from "@/api/admin/endpoints/auth";+import type { Team } from "@/api/admin/endpoints/teams";+import { isAdminRole, ORG_ROLES } from "@/lib/roles";++// Who can open each of an organization's sites, with what role, and why. This mirrors the server's+// site-access rule (memberSiteRole in server/src/lib/access.ts) so the Teams page can explain it:+// - owners and admins reach every site with their own role+// - a site in a team is open only to that team's members, owners and admins, and anyone given the+// site directly (a member restricted to specific sites)+// - a site in no team is open to every member who isn't restricted to specific sites+// - a grant, from a team or direct, raises the member's role on its sites when it names a higher+// role, and never lowers it++export type AccessMember = Pick<+ GetOrganizationMembersResponse["data"][number],+ "userId" | "role" | "user" | "siteAccess"+>;+export type AccessTeam = Pick<Team, "id" | "name" | "members" | "sites">;+export type AccessSite = { siteId: number; name: string; domain: string };++export type AccessSource = { type: "team"; teamId: string; teamName: string } | { type: "direct" };++export interface ScopedAccess<M extends AccessMember = AccessMember> {+ member: M;+ /** The role they hold on the site: their organization role, raised by any grant naming a higher one. */+ role: string;+ sources: AccessSource[];+}++export interface SiteAccess<T extends AccessTeam = AccessTeam, M extends AccessMember = AccessMember> {+ site: AccessSite;+ /** The teams that hold the site. When there are any, members outside them need a direct grant. */+ teams: T[];+ /** People who reach the site on their organization role alone: owners and admins, and on a site in no team every unrestricted member. Highest role first. */+ broad: M[];+ /** Whether everyone in `broad` also reaches every other site of the organization. */+ broadReachesEverySite: boolean;+ /** People who reach the site through a team or a direct grant. */+ scoped: ScopedAccess<M>[];+}++/** Lower is higher; unknown roles rank below every known one. */+function rank(role: string): number {+ const index = ORG_ROLES.indexOf(role as OrgRole);+ return index === -1 ? ORG_ROLES.length : index;+}++/** The higher of a role and a grant's role; a grant with no role leaves the role as it is. */+export function raiseRole(role: string, granted: string | null | undefined): string {+ return granted && rank(granted) < rank(role) ? granted : role;+}++function teamSitesByUser(teams: AccessTeam[]): Map<string, Set<number>> {+ const byUser = new Map<string, Set<number>>();+ for (const team of teams) {+ for (const member of team.members) {+ const sites = byUser.get(member.userId) ?? new Set<number>();+ team.sites.forEach(site => sites.add(site.siteId));+ byUser.set(member.userId, sites);+ }+ }+ return byUser;+}++export function accessBySite<T extends AccessTeam, M extends AccessMember>(+ sites: AccessSite[],+ members: M[],+ teams: T[]+): SiteAccess<T, M>[] {+ const sitesInTeams = new Set(teams.flatMap(team => team.sites.map(site => site.siteId)));+ const userTeamSites = teamSitesByUser(teams);+ const reachesEverySite = (member: M) =>+ isAdminRole(member.role) || [...sitesInTeams].every(siteId => userTeamSites.get(member.userId)?.has(siteId));+ const byRole = (a: M, b: M) => rank(a.role) - rank(b.role);++ return sites.map(site => {+ const siteTeams = teams.filter(team => team.sites.some(teamSite => teamSite.siteId === site.siteId));+ const inTeam = siteTeams.length > 0;+ const broad: M[] = [];+ const scoped: ScopedAccess<M>[] = [];++ for (const member of members) {+ if (isAdminRole(member.role)) {+ broad.push(member);+ continue;+ }++ const grants: { source: AccessSource; role: string | null }[] = [];+ // Direct grants only count while the member is restricted to specific sites, as on the server.+ if (member.siteAccess.hasRestrictedSiteAccess && member.siteAccess.siteIds.includes(site.siteId)) {+ grants.push({ source: { type: "direct" }, role: member.siteAccess.siteRole });+ }+ for (const team of siteTeams) {+ if (team.members.some(teamMember => teamMember.userId === member.userId)) {+ const role = team.sites.find(teamSite => teamSite.siteId === site.siteId)?.role ?? null;+ grants.push({ source: { type: "team", teamId: team.id, teamName: team.name }, role });+ }+ }++ if (grants.length > 0) {+ scoped.push({+ member,+ role: grants.reduce((role, grant) => raiseRole(role, grant.role), member.role),+ sources: grants.map(grant => grant.source),+ });+ } else if (!member.siteAccess.hasRestrictedSiteAccess && !inTeam) {+ broad.push(member);+ }+ }++ broad.sort(byRole);+ return { site, teams: siteTeams, broad, broadReachesEverySite: broad.every(reachesEverySite), scoped };+ });+}++export interface TeamMemberEffect {+ userId: string;+ name: string;+ /** Their organization role; null when they aren't in the organization's member list. */+ orgRole: string | null;+ /** Owners and admins, who reach every site whatever the team says. */+ hasEverySite: boolean;+ /** The role they hold on the team's sites, with how many of its sites carry it; usually one entry. */+ roles: { role: string; sites: number }[];+ /** How many of the organization's sites outside this team they reach, and how many there are. */+ otherSitesReached: number;+ otherSites: number;+}++/** What a team does for each of its members: the role each ends up with on its sites, given every other grant. */+export function teamMemberEffects(team: AccessTeam, access: SiteAccess[], members: AccessMember[]): TeamMemberEffect[] {+ const memberByUser = new Map(members.map(member => [member.userId, member]));+ const accessBySiteId = new Map(access.map(entry => [entry.site.siteId, entry]));+ const teamSiteIds = new Set(team.sites.map(site => site.siteId));+ const otherSites = access.filter(entry => !teamSiteIds.has(entry.site.siteId));++ return team.members.map(teamMember => {+ const member = memberByUser.get(teamMember.userId);+ const orgRole = member?.role ?? null;+ const hasEverySite = isAdminRole(orgRole);+ const counts = new Map<string, number>();++ if (orgRole) {+ for (const teamSite of team.sites) {+ const role = hasEverySite+ ? orgRole+ : (accessBySiteId.get(teamSite.siteId)?.scoped.find(entry => entry.member.userId === teamMember.userId)+ ?.role ?? raiseRole(orgRole, teamSite.role));+ counts.set(role, (counts.get(role) ?? 0) + 1);+ }+ }++ const reaches = (entry: SiteAccess) =>+ entry.broad.some(person => person.userId === teamMember.userId) ||+ entry.scoped.some(person => person.member.userId === teamMember.userId);++ return {+ userId: teamMember.userId,+ name: teamMember.userName || teamMember.userEmail,+ orgRole,+ hasEverySite,+ roles: [...counts].map(([role, sites]) => ({ role, sites })).sort((a, b) => rank(a.role) - rank(b.role)),+ otherSitesReached: otherSites.filter(reaches).length,+ otherSites: otherSites.length,+ };+ });+}++/** One or two letters for an avatar: the first and last initials of a name, else the email's first letter. */+export function initials(name: string | null | undefined, email: string | null | undefined): string {+ const parts = name?.trim().split(/\s+/).filter(Boolean) ?? [];+ if (parts.length > 0) {+ return (parts[0][0] + (parts.length > 1 ? parts[parts.length - 1][0] : "")).toUpperCase();+ }+ return email?.trim()[0]?.toUpperCase() ?? "";+}diff --git a/client/src/app/settings/organization/components/CreateUserDialog.tsx b/client/src/app/settings/organization/components/CreateUserDialog.tsxindex a59f7ef64..aba8d1216 100644--- a/client/src/app/settings/organization/components/CreateUserDialog.tsx+++ b/client/src/app/settings/organization/components/CreateUserDialog.tsx@@ -86,8 +86,8 @@ export function CreateUserDialog({ organizationId, onSuccess, assignableRoles }:return (<Dialog open={open} onOpenChange={resetState}><DialogTrigger asChild>- <Button size="sm" variant="outline">- <UserPlus className="h-4 w-4 mr-1" />+ <Button size="sm" variant="success">+ <UserPlus />{t("Create User")}</Button></DialogTrigger>diff --git a/client/src/app/settings/organization/components/DeleteOrganizationDialog.tsx b/client/src/app/settings/organization/components/DeleteOrganizationDialog.tsxindex 6d17d60fe..3ae5d139c 100644--- a/client/src/app/settings/organization/components/DeleteOrganizationDialog.tsx+++ b/client/src/app/settings/organization/components/DeleteOrganizationDialog.tsx@@ -21,7 +21,13 @@ import { Input } from "@/components/ui/input";import { authClient } from "@/lib/auth";import { useStripeSubscription } from "@/lib/subscription/useStripeSubscription";import { USER_ORGANIZATIONS_QUERY_KEY } from "../../../../api/admin/hooks/useOrganizations";-import { Organization } from "../page";+import type { Organization } from "../page";++/** Whether the organization is on a paid plan, which has to be cancelled before it can be deleted. */+export function useHasActiveSubscription() {+ const { data: subscription } = useStripeSubscription();+ return !!(subscription?.planName.startsWith("standard") || subscription?.planName.startsWith("pro"));+}interface DeleteOrganizationDialogProps {organization: Organization;@@ -29,7 +35,7 @@ interface DeleteOrganizationDialogProps {}export function DeleteOrganizationDialog({ organization, onSuccess }: DeleteOrganizationDialogProps) {- const { data: subscription } = useStripeSubscription();+ const hasActiveSubscription = useHasActiveSubscription();const t = useExtracted();const [isDeleting, setIsDeleting] = useState(false);const [isOpen, setIsOpen] = useState(false);@@ -37,9 +43,6 @@ export function DeleteOrganizationDialog({ organization, onSuccess }: DeleteOrgaconst queryClient = useQueryClient();const confirmPromptId = useId();- const hasActiveSubscription =- subscription?.planName.startsWith("standard") || subscription?.planName.startsWith("pro");-const handleDelete = async () => {if (confirmText !== organization.name) {toast.error(t("Please type the organization name to confirm deletion"));@@ -83,8 +86,12 @@ export function DeleteOrganizationDialog({ organization, onSuccess }: DeleteOrgareturn (<AlertDialog open={isOpen} onOpenChange={handleOpenChange}><AlertDialogTrigger asChild>- <Button variant="destructive" className="w-full">- {t("Delete Organization")}+ <Button+ variant="ghost"+ size="sm"+ className="-mr-2.5 text-red-600 hover:bg-red-500/10 hover:text-red-600 dark:text-red-400 dark:hover:bg-red-500/10 dark:hover:text-red-400"+ >+ {t("Delete organization")}</Button></AlertDialogTrigger><AlertDialogContent>diff --git a/client/src/app/settings/organization/components/Invitations.test.tsx b/client/src/app/settings/organization/components/Invitations.test.tsxindex 6f45ff5a3..a23a6b88d 100644--- a/client/src/app/settings/organization/components/Invitations.test.tsx+++ b/client/src/app/settings/organization/components/Invitations.test.tsx@@ -1,10 +1,11 @@import { cleanup, fireEvent, render, screen, waitFor } from "@testing-library/react";import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";-import { Invitations } from "./Invitations";+import { type Invitation, InvitationRow } from "./Invitations";const mocks = vi.hoisted(() => ({cancelInvitation: vi.fn(),+ inviteMember: vi.fn(),refetch: vi.fn(),toastSuccess: vi.fn(),toastError: vi.fn(),@@ -15,38 +16,61 @@ vi.mock("next-intl", () => ({values ? message.replace(/\{(\w+)\}/g, (_, key: string) => String(values[key])) : message,}));-vi.mock("../../../../api/admin/hooks/useOrganizations", () => ({- useOrganizationInvitations: () => ({- data: [- {- id: "inv-1",- email: "[email protected]",- role: "member",- status: "pending",- expiresAt: "2026-10-05T00:00:00.000Z",- },- ],- refetch: mocks.refetch,- isLoading: false,- }),+vi.mock("@/lib/auth", () => ({+ authClient: { organization: { cancelInvitation: mocks.cancelInvitation, inviteMember: mocks.inviteMember } },}));-vi.mock("../../../../lib/auth", () => ({- authClient: { organization: { cancelInvitation: mocks.cancelInvitation } },-}));+vi.mock("@/lib/store", () => ({ getTimezone: () => "UTC" }));vi.mock("@/components/ui/sonner", () => ({toast: { success: mocks.toastSuccess, error: mocks.toastError },}));+const invitation = {+ id: "inv-1",+ organizationId: "org-1",+ email: "[email protected]",+ role: "member",+ status: "pending",+ inviterId: "user-1",+ expiresAt: new Date("2099-10-05T00:00:00.000Z"),+ createdAt: new Date("2099-10-03T00:00:00.000Z"),+} as Invitation;++const access = {+ everySiteByRole: false,+ reached: 2,+ total: 5,+ raised: [{ role: "editor", sites: 2 }],+ sources: [{ type: "team" as const, teamId: "team-1", teamName: "Growth" }],+};++function renderRow(props: Partial<React.ComponentProps<typeof InvitationRow>> = {}) {+ return render(+ <table>+ <tbody>+ <InvitationRow+ invitation={invitation}+ access={access}+ canManage+ canResend+ onChanged={mocks.refetch}+ {...props}+ />+ </tbody>+ </table>+ );+}+function openConfirmation() {- render(<Invitations organizationId="org-1" canManage />);+ renderRow();fireEvent.click(screen.getByRole("button", { name: "Cancel invitation for [email protected]" }));return screen.getByRole("alertdialog");}beforeEach(() => {mocks.cancelInvitation.mockResolvedValue({ data: {}, error: null });+ mocks.inviteMember.mockResolvedValue({ data: {}, error: null });});afterEach(() => {@@ -54,11 +78,23 @@ afterEach(() => {vi.clearAllMocks();});-describe("Invitations", () => {- it("offers no cancel action without permission to manage members", () => {- render(<Invitations organizationId="org-1" canManage={false} />);+describe("InvitationRow", () => {+ it("shows who was invited, as what, the sites they'll reach, and when it expires", () => {+ renderRow({ inviterName: "Grace Hopper" });+ expect(screen.getByText("[email protected]")).toBeTruthy();+ expect(screen.getByText("Pending")).toBeTruthy();+ expect(screen.getByText("Invited by Grace Hopper")).toBeTruthy();+ expect(screen.getByText("Member")).toBeTruthy();+ expect(screen.getByText(/^2 of 5 sites/).textContent).toBe("2 of 5 sites · Editor on 2");+ expect(screen.getByText("Growth").getAttribute("title")).toBe("Access granted through this team's sites");+ expect(screen.getByText(/^Expires Oct 5/)).toBeTruthy();+ });++ it("offers no actions without permission to manage members", () => {+ renderRow({ canManage: false });expect(screen.getByText("[email protected]")).toBeTruthy();expect(screen.queryByRole("button", { name: "Cancel invitation for [email protected]" })).toBeNull();+ expect(screen.queryByRole("button", { name: "Resend invitation to [email protected]" })).toBeNull();});it("asks before cancelling, and keeping the invitation does nothing", () => {@@ -120,4 +156,36 @@ describe("Invitations", () => {expect(screen.getByRole("alertdialog")).toBeTruthy();expect(screen.getByRole("button", { name: "Cancel invitation" }).hasAttribute("disabled")).toBe(false);});++ it("resends the same invitation through better-auth, then refetches", async () => {+ renderRow();+ fireEvent.click(screen.getByRole("button", { name: "Resend invitation to [email protected]" }));++ await waitFor(() => expect(mocks.toastSuccess).toHaveBeenCalledWith("Invitation sent to [email protected]"));+ expect(mocks.inviteMember).toHaveBeenCalledWith({+ email: "[email protected]",+ role: "member",+ organizationId: "org-1",+ hasRestrictedSiteAccess: false,+ siteIds: [],+ resend: true,+ });+ expect(mocks.refetch).toHaveBeenCalledTimes(1);+ });++ it("reports a failed resend instead of claiming success", async () => {+ mocks.inviteMember.mockResolvedValue({ data: null, error: { message: "Member limit reached" } });+ renderRow();+ fireEvent.click(screen.getByRole("button", { name: "Resend invitation to [email protected]" }));++ await waitFor(() => expect(mocks.toastError).toHaveBeenCalledWith("Member limit reached"));+ expect(mocks.toastSuccess).not.toHaveBeenCalled();+ expect(mocks.refetch).not.toHaveBeenCalled();+ });++ it("offers no resend when the invitation can't be sent again", () => {+ renderRow({ canResend: false });+ expect(screen.queryByRole("button", { name: "Resend invitation to [email protected]" })).toBeNull();+ expect(screen.getByRole("button", { name: "Cancel invitation for [email protected]" })).toBeTruthy();+ });});diff --git a/client/src/app/settings/organization/components/Invitations.tsx b/client/src/app/settings/organization/components/Invitations.tsxindex 7c1f052a4..a61497e18 100644--- a/client/src/app/settings/organization/components/Invitations.tsx+++ b/client/src/app/settings/organization/components/Invitations.tsx@@ -1,9 +1,10 @@"use client";+import { DateTime } from "luxon";import { useExtracted } from "next-intl";import { useState } from "react";-import { toast } from "@/components/ui/sonner";-import { useOrganizationInvitations } from "../../../../api/admin/hooks/useOrganizations";++import type { useOrganizationInvitations } from "@/api/admin/hooks/useOrganizations";import {AlertDialog,AlertDialogCancel,@@ -13,19 +14,21 @@ import {AlertDialogHeader,AlertDialogTitle,AlertDialogTrigger,-} from "../../../../components/ui/alert-dialog";-import { Badge } from "../../../../components/ui/badge";-import { Button } from "../../../../components/ui/button";-import { Card, CardContent, CardHeader, CardTitle } from "../../../../components/ui/card";-import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "../../../../components/ui/table";-import { authClient } from "../../../../lib/auth";-import { useRoleInfo } from "../../../../lib/roles";+} from "@/components/ui/alert-dialog";+import { Badge } from "@/components/ui/badge";+import { Button } from "@/components/ui/button";+import { toast } from "@/components/ui/sonner";+import { TableCell, TableRow } from "@/components/ui/table";+import { authClient } from "@/lib/auth";+import { useRoleInfo } from "@/lib/roles";+import { getTimezone } from "@/lib/store";+import { cn } from "@/lib/utils";-interface InvitationsProps {- organizationId: string;- /** Cancel pending invitations (members:manage). */- canManage: boolean;-}+import { InvitationAvatar } from "../../components/PersonAvatar";+import { PEOPLE_CELL, PEOPLE_CHIP, PEOPLE_ROW, PEOPLE_SECONDARY, PersonCell, SiteAccessSummary } from "./PeopleCells";+import type { PersonAccess } from "./personAccess";++export type Invitation = NonNullable<ReturnType<typeof useOrganizationInvitations>["data"]>[number];function CancelInvitationButton({invitation,@@ -67,8 +70,9 @@ function CancelInvitationButton({><AlertDialogTrigger asChild><Button- variant="default"- size="sm"+ variant="ghost"+ size="xs"+ className="-mr-1.5"aria-label={t("Cancel invitation for {email}", { email: invitation.email })}>{t("Cancel")}@@ -96,91 +100,109 @@ function CancelInvitationButton({);}-export function Invitations({ organizationId, canManage }: InvitationsProps) {+function ResendInvitationButton({ invitation, onResent }: { invitation: Invitation; onResent: () => void }) {+ const t = useExtracted();+ const [isResending, setIsResending] = useState(false);++ const handleResend = async () => {+ setIsResending(true);+ try {+ // better-auth emails the existing invitation again with a fresh expiry; its role, sites and team+ // stay as they were (the site fields are required by the client types, and ignored on a resend).+ // It reports failures in the result rather than throwing.+ const { error } = await authClient.organization.inviteMember({+ email: invitation.email,+ // better-auth's client types only know its default roles; the server's access control defines ours.+ role: invitation.role as "owner" | "admin" | "member",+ organizationId: invitation.organizationId,+ hasRestrictedSiteAccess: invitation.hasRestrictedSiteAccess ?? false,+ siteIds: invitation.siteIds ?? [],+ resend: true,+ });+ if (error) {+ throw new Error(error.message || t("Failed to resend invitation"));+ }+ toast.success(t("Invitation sent to {email}", { email: invitation.email }));+ onResent();+ } catch (error) {+ toast.error(error instanceof Error && error.message ? error.message : t("Failed to resend invitation"));+ } finally {+ setIsResending(false);+ }+ };++ return (+ <Button+ variant="outline"+ size="xs"+ loading={isResending}+ loadingLabel={t("Resending...")}+ aria-label={t("Resend invitation to {email}", { email: invitation.email })}+ onClick={handleResend}+ >+ {t("Resend")}+ </Button>+ );+}++interface InvitationRowProps {+ invitation: Invitation;+ /** Who sent it, while they're still a member. */+ inviterName?: string;+ /** The sites they'll reach once they join; undefined while loading, null when unavailable. */+ access: PersonAccess | null | undefined;+ /** Show the actions column and allow cancelling (members:manage). */+ canManage: boolean;+ /** Allow emailing it again. */+ canResend: boolean;+ /** After a cancel or resend, so the list can be fetched again. */+ onChanged: () => void;+}++/** A pending invitation, as a row of the people table. */+export function InvitationRow({+ invitation,+ inviterName,+ access,+ canManage,+ canResend,+ onChanged,+}: InvitationRowProps) {const t = useExtracted();const roleInfo = useRoleInfo();- const {- data: invitations,- refetch: refetchInvitations,- isLoading: invitationsLoading,- } = useOrganizationInvitations(organizationId);- const pendingInvitations = invitations?.filter(invitation => invitation.status === "pending") ?? [];+ const expiresAt = DateTime.fromJSDate(new Date(invitation.expiresAt)).setZone(getTimezone());+ const expiry = expiresAt.toLocaleString({ month: "short", day: "numeric" });return (- <Card className="w-full">- <CardHeader className="pb-2">- <CardTitle className="text-xl">{t("Invitations")}</CardTitle>- </CardHeader>- <CardContent>- <Table>- <TableHeader>- <TableRow>- <TableHead>{t("Email")}</TableHead>- <TableHead>{t("Role")}</TableHead>- <TableHead>{t("Status")}</TableHead>- <TableHead>{t("Expires")}</TableHead>- {canManage && <TableHead className="w-12">{t("Actions")}</TableHead>}- </TableRow>- </TableHeader>- <TableBody>- {invitationsLoading ? (- // Loading skeleton rows- Array.from({ length: 2 }).map((_, index) => (- <TableRow key={`loading-${index}`}>- <TableCell>- <div className="h-4 bg-muted animate-pulse rounded w-32"></div>- </TableCell>- <TableCell>- <div className="h-4 bg-muted animate-pulse rounded w-16"></div>- </TableCell>- <TableCell>- <div className="h-6 bg-muted animate-pulse rounded w-20"></div>- </TableCell>- <TableCell>- <div className="h-4 bg-muted animate-pulse rounded w-20"></div>- </TableCell>- {canManage && (- <TableCell>- <div className="h-8 bg-muted animate-pulse rounded w-16 ml-auto"></div>- </TableCell>- )}- </TableRow>- ))- ) : (- <>- {pendingInvitations.length > 0 ? (- pendingInvitations.map(invitation => (- <TableRow key={invitation.id}>- <TableCell>{invitation.email}</TableCell>- <TableCell className="capitalize">{roleInfo(invitation.role).label}</TableCell>- <TableCell>- <Badge variant="secondary">{t("Pending")}</Badge>- </TableCell>- <TableCell>- {DateTime.fromJSDate(new Date(invitation.expiresAt)).toLocaleString(DateTime.DATE_SHORT)}- </TableCell>- {canManage && (- <TableCell className="text-right">- {invitation.status === "pending" && (- <CancelInvitationButton invitation={invitation} onCancelled={refetchInvitations} />- )}- </TableCell>- )}- </TableRow>- ))- ) : (- <TableRow>- <TableCell colSpan={canManage ? 5 : 4} className="text-center py-6 text-muted-foreground">- {t("No pending invitations")}- </TableCell>- </TableRow>- )}- </>- )}- </TableBody>- </Table>- </CardContent>- </Card>+ <TableRow className={PEOPLE_ROW}>+ <TableCell className={PEOPLE_CELL}>+ <PersonCell+ avatar={<InvitationAvatar />}+ name={invitation.email}+ marker={+ <Badge variant="outline" className={PEOPLE_CHIP}>+ {t("Pending")}+ </Badge>+ }+ detail={inviterName ? t("Invited by {name}", { name: inviterName }) : undefined}+ />+ </TableCell>+ <TableCell className={cn(PEOPLE_CELL, PEOPLE_SECONDARY)}>{roleInfo(invitation.role).label}</TableCell>+ <TableCell className={cn(PEOPLE_CELL, PEOPLE_SECONDARY)}>+ <SiteAccessSummary access={access} />+ </TableCell>+ <TableCell className={cn(PEOPLE_CELL, "whitespace-nowrap tabular-nums text-neutral-500 dark:text-neutral-400")}>+ {expiresAt < DateTime.now() ? t("Expired {date}", { date: expiry }) : t("Expires {date}", { date: expiry })}+ </TableCell>+ {canManage && (+ <TableCell className={cn(PEOPLE_CELL, "text-right")}>+ <div className="inline-flex items-center justify-end gap-1">+ {canResend && <ResendInvitationButton invitation={invitation} onResent={onChanged} />}+ <CancelInvitationButton invitation={invitation} onCancelled={onChanged} />+ </div>+ </TableCell>+ )}+ </TableRow>);}diff --git a/client/src/app/settings/organization/components/InviteMemberDialog.tsx b/client/src/app/settings/organization/components/InviteMemberDialog.tsxindex 1fb554a3a..e8e43d476 100644--- a/client/src/app/settings/organization/components/InviteMemberDialog.tsx+++ b/client/src/app/settings/organization/components/InviteMemberDialog.tsx@@ -132,9 +132,9 @@ export function InviteMemberDialog({<Tooltip><TooltipTrigger asChild><span>- <Button disabled size="sm" variant="outline" title={t("Upgrade to Pro to add more members")}>- <UserPlus className="h-4 w-4 mr-1" />- {t("Invite Member")}+ <Button disabled size="sm" variant="success" title={t("Upgrade to Pro to add more members")}>+ <UserPlus />+ {t("Invite people")}</Button></span></TooltipTrigger>@@ -150,9 +150,9 @@ export function InviteMemberDialog({return (<Dialog open={open} onOpenChange={setOpen}><DialogTrigger asChild>- <Button size="sm" variant="outline">- <UserPlus className="h-4 w-4 mr-1" />- {t("Invite Member")}+ <Button size="sm" variant="success">+ <UserPlus />+ {t("Invite people")}</Button></DialogTrigger><DialogContent className="max-w-lg">diff --git a/client/src/app/settings/organization/components/MembersTable.tsx b/client/src/app/settings/organization/components/MembersTable.tsxdeleted file mode 100644index cad9097e7..000000000--- a/client/src/app/settings/organization/components/MembersTable.tsx+++ /dev/null@@ -1,188 +0,0 @@-"use client";--import type { OrgRole } from "@rybbit/shared";-import { DateTime } from "luxon";-import { Pencil } from "lucide-react";-import { useExtracted } from "next-intl";-import { useState } from "react";--import { GetOrganizationMembersResponse } from "../../../../api/admin/endpoints/auth";-import { Badge } from "../../../../components/ui/badge";-import { Button } from "../../../../components/ui/button";-import { Card, CardContent, CardHeader, CardTitle } from "../../../../components/ui/card";-import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "../../../../components/ui/table";-import { IS_CLOUD } from "../../../../lib/const";-import { isAdminRole, useRoleInfo } from "../../../../lib/roles";-import { getTimezone } from "../../../../lib/store";-import { CreateUserDialog } from "./CreateUserDialog";-import { EditMemberDialog } from "./EditMemberDialog";-import { InviteMemberDialog } from "./InviteMemberDialog";--type MemberData = GetOrganizationMembersResponse["data"][0];--interface MembersTableProps {- org: { id: string; name: string; slug: string; createdAt: Date };- members: GetOrganizationMembersResponse | undefined;- membersLoading: boolean;- /** Invite, edit and remove members. */- canManageMembers: boolean;- /** Roles the current user may give; a member is editable only when their current role is one of them. */- assignableRoles: OrgRole[];- onRefresh: () => void;-}--export function MembersTable({- org,- members,- membersLoading,- canManageMembers,- assignableRoles,- onRefresh,-}: MembersTableProps) {- const t = useExtracted();- const roleInfo = useRoleInfo();- const [selectedMember, setSelectedMember] = useState<MemberData | null>(null);- const canEditMember = (member: MemberData) => assignableRoles.some(role => role === member.role);-- return (- <>- <Card className="w-full">- <CardHeader className="pb-2">- <div className="flex items-center justify-between flex-wrap gap-2">- <CardTitle className="text-xl">{t("Members")}</CardTitle>-- <div className="flex items-center gap-2">- {canManageMembers && (- <>- {IS_CLOUD ? (- <InviteMemberDialog- organizationId={org.id}- onSuccess={onRefresh}- memberCount={members?.data?.length || 0}- assignableRoles={assignableRoles}- />- ) : (- <CreateUserDialog organizationId={org.id} onSuccess={onRefresh} assignableRoles={assignableRoles} />- )}- </>- )}- </div>- </div>- </CardHeader>- <CardContent>- <Table>- <TableHeader>- <TableRow>- <TableHead>{t("Name")}</TableHead>- <TableHead>{t("Email")}</TableHead>- <TableHead>{t("Role")}</TableHead>- <TableHead>{t("Site Access")}</TableHead>- <TableHead>{t("Joined")}</TableHead>- {canManageMembers && <TableHead className="w-12">{t("Actions")}</TableHead>}- </TableRow>- </TableHeader>- <TableBody>- {membersLoading ? (- Array.from({ length: 3 }).map((_, index) => (- <TableRow key={`loading-${index}`}>- <TableCell>- <div className="h-4 bg-muted animate-pulse rounded w-24"></div>- </TableCell>- <TableCell>- <div className="h-4 bg-muted animate-pulse rounded w-32"></div>- </TableCell>- <TableCell>- <div className="h-4 bg-muted animate-pulse rounded w-16"></div>- </TableCell>- <TableCell>- <div className="h-4 bg-muted animate-pulse rounded w-16"></div>- </TableCell>- <TableCell>- <div className="h-4 bg-muted animate-pulse rounded w-20"></div>- </TableCell>- {canManageMembers && (- <TableCell>- <div className="h-8 bg-muted animate-pulse rounded w-16 ml-auto"></div>- </TableCell>- )}- </TableRow>- ))- ) : (- <>- {members?.data?.map((member: MemberData) => (- <TableRow key={member.id}>- <TableCell>{member.user?.name || "—"}</TableCell>- <TableCell>{member.user?.email}</TableCell>- <TableCell className="capitalize">{roleInfo(member.role).label}</TableCell>- <TableCell>- {!isAdminRole(member.role) ? (- <div className="flex flex-wrap gap-1">- {member.siteAccess?.hasRestrictedSiteAccess && (- <Badge variant="default">- {member.siteAccess.siteRole- ? t("{count} sites · {role}", {- count: String(member.siteAccess.siteIds.length),- role: roleInfo(member.siteAccess.siteRole).label,- })- : t("{count} sites", {- count: String(member.siteAccess.siteIds.length),- })}- </Badge>- )}- {member.teams?.map(team => (- <Badge- key={team.id}- variant="outline"- title={t("Access granted through this team's sites")}- >- {team.name}- </Badge>- ))}- {!member.siteAccess?.hasRestrictedSiteAccess && !member.teams?.length && (- <Badge variant="secondary">{t("All sites")}</Badge>- )}- </div>- ) : (- <Badge variant="outline">{t("All sites")}</Badge>- )}- </TableCell>- <TableCell>- {DateTime.fromSQL(member.createdAt, { zone: "utc" })- .setZone(getTimezone())- .toLocaleString(DateTime.DATE_SHORT)}- </TableCell>- {canManageMembers && (- <TableCell className="text-right">- {canEditMember(member) && (- <Button size="smIcon" variant="ghost" onClick={() => setSelectedMember(member)}>- <Pencil className="h-4 w-4" />- </Button>- )}- </TableCell>- )}- </TableRow>- ))}- {(!members?.data || members.data.length === 0) && (- <TableRow>- <TableCell colSpan={canManageMembers ? 6 : 5} className="text-center py-6 text-muted-foreground">- {t("No members found")}- </TableCell>- </TableRow>- )}- </>- )}- </TableBody>- </Table>- </CardContent>- </Card>-- <EditMemberDialog- member={selectedMember}- open={!!selectedMember}- onClose={() => setSelectedMember(null)}- onSuccess={onRefresh}- assignableRoles={assignableRoles}- />- </>- );-}diff --git a/client/src/app/settings/organization/components/PeopleCells.tsx b/client/src/app/settings/organization/components/PeopleCells.tsxnew file mode 100644index 000000000..22e937d41--- /dev/null+++ b/client/src/app/settings/organization/components/PeopleCells.tsx@@ -0,0 +1,122 @@+"use client";++import { useExtracted } from "next-intl";++import { Badge } from "@/components/ui/badge";+import { useRoleInfo } from "@/lib/roles";++import type { PersonAccess } from "./personAccess";++// The people table lists members and pending invitations in one run of rows. These are the pieces+// both kinds of row share.++/** A ledger row: hairline below, no hover fill (the table is read, not clicked). */+export const PEOPLE_ROW = "hover:bg-transparent dark:hover:bg-transparent dark:border-b-neutral-850";+export const PEOPLE_HEAD = "h-auto px-3 py-2";+export const PEOPLE_CELL = "h-[52px] px-3 py-2.5";+/** Cells that state a fact about the person (role, access) sit a step below their name. */+export const PEOPLE_SECONDARY = "text-neutral-700 dark:text-neutral-300";+/** Small outlined chips for the Pending state and team names. */+export const PEOPLE_CHIP = "px-1.5 py-0 text-xs leading-4";++export function PersonCell({+ avatar,+ name,+ marker,+ detail,+}: {+ avatar: React.ReactNode;+ name: string;+ /** A tag after the name, e.g. "You" or "Pending". */+ marker?: React.ReactNode;+ /** A quiet second line, e.g. the email under a name. */+ detail?: React.ReactNode;+}) {+ return (+ <div className="flex min-w-0 items-center gap-2.5">+ {avatar}+ <div className="min-w-0">+ <div className="flex items-center gap-1.5 whitespace-nowrap font-medium leading-[18px]">+ <span>{name}</span>+ {marker}+ </div>+ {detail && (+ <div className="whitespace-nowrap text-xs leading-4 text-neutral-500 dark:text-neutral-400">{detail}</div>+ )}+ </div>+ </div>+ );+}++export function YouMarker() {+ const t = useExtracted();+ return (+ <span className="rounded-sm border border-neutral-200 px-1 text-xs font-medium leading-4 text-neutral-500 dark:border-neutral-750 dark:text-neutral-400">+ {t("You")}+ </span>+ );+}++/**+ * Which of the organization's sites someone reaches, in words, with what raises their role there and+ * which teams or direct grants it comes through. `undefined` while sites and teams load; `null` when+ * they couldn't be loaded.+ */+export function SiteAccessSummary({ access }: { access: PersonAccess | null | undefined }) {+ const t = useExtracted();+ const roleInfo = useRoleInfo();++ if (access === undefined) {+ return <div className="h-4 w-20 animate-pulse rounded bg-muted"></div>;+ }+ if (access === null) {+ return <span className="text-neutral-500 dark:text-neutral-400">—</span>;+ }+ if (access.everySiteByRole) {+ return <span className="whitespace-nowrap">{t("All sites")}</span>;+ }+ if (access.reached === 0) {+ return (+ <span+ className="whitespace-nowrap text-neutral-500 dark:text-neutral-400"+ title={+ access.total > 0 ? t("Add them to a team, or give them sites directly, so they can open a site.") : undefined+ }+ >+ {t("No sites")}+ </span>+ );+ }++ return (+ <span className="flex items-center gap-1.5 whitespace-nowrap">+ <span className="tabular-nums">+ {access.reached === access.total+ ? t("{total, plural, one {All # site} other {All # sites}}", { total: access.total })+ : t("{reached} of {total} sites", { reached: String(access.reached), total: String(access.total) })}+ {access.raised.map(({ role, sites }) => (+ <span key={role} className="text-neutral-500 dark:text-neutral-400">+ {" · "}+ {t("{role} on {count}", { role: roleInfo(role).label, count: String(sites) })}+ </span>+ ))}+ </span>+ {access.sources.map(source =>+ source.type === "team" ? (+ <Badge+ key={source.teamId}+ variant="outline"+ className={PEOPLE_CHIP}+ title={t("Access granted through this team's sites")}+ >+ {source.teamName}+ </Badge>+ ) : (+ <Badge key="direct" variant="outline" className={PEOPLE_CHIP} title={t("Sites given to them directly")}>+ {t("Direct")}+ </Badge>+ )+ )}+ </span>+ );+}diff --git a/client/src/app/settings/organization/components/PeopleTable.tsx b/client/src/app/settings/organization/components/PeopleTable.tsxnew file mode 100644index 000000000..cd7f88aff--- /dev/null+++ b/client/src/app/settings/organization/components/PeopleTable.tsx@@ -0,0 +1,255 @@+"use client";++import type { OrgRole } from "@rybbit/shared";+import { DateTime } from "luxon";+import { Pencil } from "lucide-react";+import { useExtracted } from "next-intl";+import { useMemo, useState } from "react";++import { GetOrganizationMembersResponse } from "@/api/admin/endpoints/auth";+import { useGetSitesFromOrg } from "@/api/admin/hooks/useSites";+import { useTeams } from "@/api/admin/hooks/useTeams";+import { Button } from "@/components/ui/button";+import { Input } from "@/components/ui/input";+import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table";+import { authClient } from "@/lib/auth";+import { IS_CLOUD } from "@/lib/const";+import { useRoleInfo } from "@/lib/roles";+import { getTimezone } from "@/lib/store";+import { cn } from "@/lib/utils";++import { LedgerSection, LedgerTable } from "../../components/Ledger";+import { PersonAvatar } from "../../components/PersonAvatar";+import { CreateUserDialog } from "./CreateUserDialog";+import { EditMemberDialog } from "./EditMemberDialog";+import { type Invitation, InvitationRow } from "./Invitations";+import { InviteMemberDialog } from "./InviteMemberDialog";+import {+ PEOPLE_CELL,+ PEOPLE_HEAD,+ PEOPLE_ROW,+ PEOPLE_SECONDARY,+ PersonCell,+ SiteAccessSummary,+ YouMarker,+} from "./PeopleCells";+import { accessForPeople, invitationAccessKey } from "./personAccess";++type MemberData = GetOrganizationMembersResponse["data"][0];++interface PeopleTableProps {+ organizationId: string;+ members: MemberData[] | undefined;+ /** Pending invitations only. */+ invitations: Invitation[] | undefined;+ isLoading: boolean;+ /** Invite, edit and remove members, and resend or cancel invitations. */+ canManageMembers: boolean;+ /** Roles the current user may give; a member is editable only when their current role is one of them. */+ assignableRoles: OrgRole[];+ onRefresh: () => void;+ onInvitationsChanged: () => void;+}++/** Members and pending invitations in one table, under the People heading. */+export function PeopleTable({+ organizationId,+ members = [],+ invitations = [],+ isLoading,+ canManageMembers,+ assignableRoles,+ onRefresh,+ onInvitationsChanged,+}: PeopleTableProps) {+ const t = useExtracted();+ const roleInfo = useRoleInfo();+ const { data: session } = authClient.useSession();+ const { data: sitesData, isError: sitesError } = useGetSitesFromOrg(organizationId);+ const { data: teamsData, isError: teamsError } = useTeams(organizationId);+ const [selectedMember, setSelectedMember] = useState<MemberData | null>(null);+ const [query, setQuery] = useState("");++ // Who reaches which sites depends on every team and grant in the organization, so it's worked out+ // for everyone at once.+ const accessByKey = useMemo(+ () => sitesData && teamsData && accessForPeople(sitesData.sites, members, invitations, teamsData.teams),+ [sitesData, teamsData, members, invitations]+ );+ const accessOf = (key: string) => (sitesError || teamsError ? null : accessByKey ? accessByKey.get(key) : undefined);++ const canEditMember = (member: MemberData) => assignableRoles.some(role => role === member.role);+ // Invitations are emailed on cloud only, and resending needs the right to give the invited role.+ const canResend = (invitation: Invitation) =>+ IS_CLOUD && canManageMembers && assignableRoles.some(role => role === invitation.role);++ const needle = query.trim().toLowerCase();+ const matches = (...values: (string | null | undefined)[]) =>+ !needle || values.some(value => value?.toLowerCase().includes(needle));+ const shownMembers = members.filter(member => matches(member.user.name, member.user.email));+ const shownInvitations = invitations.filter(invitation => matches(invitation.email));+ const columnCount = canManageMembers ? 5 : 4;++ const summary =+ invitations.length > 0+ ? t("{people, plural, one {# person} other {# people}} · {invited} invited", {+ people: members.length,+ invited: String(invitations.length),+ })+ : t("{people, plural, one {# person} other {# people}}", { people: members.length });++ return (+ <LedgerSection+ title={t("People")}+ description={isLoading ? undefined : summary}+ actions={+ <>+ <div className="w-[180px] sm:w-[220px]">+ <Input+ isSearch+ type="search"+ value={query}+ onChange={event => setQuery(event.target.value)}+ placeholder={t("Search people")}+ aria-label={t("Search people")}+ className="h-8 text-sm"+ />+ </div>+ {canManageMembers &&+ (IS_CLOUD ? (+ <InviteMemberDialog+ organizationId={organizationId}+ onSuccess={onRefresh}+ memberCount={members.length}+ assignableRoles={assignableRoles}+ />+ ) : (+ <CreateUserDialog+ organizationId={organizationId}+ onSuccess={onRefresh}+ assignableRoles={assignableRoles}+ />+ ))}+ </>+ }+ >+ <LedgerTable>+ <Table className="min-w-[680px]">+ <TableHeader className="bg-transparent dark:bg-transparent [&_tr]:border-b">+ <TableRow className={PEOPLE_ROW}>+ <TableHead className={PEOPLE_HEAD}>{t("Person")}</TableHead>+ <TableHead className={PEOPLE_HEAD}>{t("Role")}</TableHead>+ <TableHead className={PEOPLE_HEAD}>{t("Site access")}</TableHead>+ <TableHead className={PEOPLE_HEAD}>{t("Joined")}</TableHead>+ {canManageMembers && (+ <TableHead className={cn(PEOPLE_HEAD, "w-12")}>+ <span className="sr-only">{t("Actions")}</span>+ </TableHead>+ )}+ </TableRow>+ </TableHeader>+ <TableBody className="bg-transparent dark:bg-transparent">+ {isLoading ? (+ Array.from({ length: 3 }).map((_, index) => (+ <TableRow key={`loading-${index}`} className={PEOPLE_ROW}>+ <TableCell className={PEOPLE_CELL}>+ <div className="flex items-center gap-2.5">+ <div className="size-7 shrink-0 animate-pulse rounded-full bg-muted"></div>+ <div className="space-y-1.5">+ <div className="h-3.5 w-24 animate-pulse rounded bg-muted"></div>+ <div className="h-3 w-32 animate-pulse rounded bg-muted"></div>+ </div>+ </div>+ </TableCell>+ <TableCell className={PEOPLE_CELL}>+ <div className="h-4 w-16 animate-pulse rounded bg-muted"></div>+ </TableCell>+ <TableCell className={PEOPLE_CELL}>+ <div className="h-4 w-20 animate-pulse rounded bg-muted"></div>+ </TableCell>+ <TableCell className={PEOPLE_CELL}>+ <div className="h-4 w-20 animate-pulse rounded bg-muted"></div>+ </TableCell>+ {canManageMembers && <TableCell className={PEOPLE_CELL}></TableCell>}+ </TableRow>+ ))+ ) : members.length === 0 && invitations.length === 0 ? (+ <TableRow className={PEOPLE_ROW}>+ <TableCell colSpan={columnCount} className="py-6 text-center text-neutral-500 dark:text-neutral-400">+ {t("No members found")}+ </TableCell>+ </TableRow>+ ) : shownMembers.length === 0 && shownInvitations.length === 0 ? (+ <TableRow className={PEOPLE_ROW}>+ <TableCell colSpan={columnCount} className="py-6 text-center text-neutral-500 dark:text-neutral-400">+ {t("No one matches “{query}”", { query: query.trim() })}+ </TableCell>+ </TableRow>+ ) : (+ <>+ {shownMembers.map(member => (+ <TableRow key={member.id} className={PEOPLE_ROW}>+ <TableCell className={PEOPLE_CELL}>+ <PersonCell+ avatar={<PersonAvatar person={member.user} size="md" />}+ name={member.user.name || member.user.email}+ marker={member.userId === session?.user.id ? <YouMarker /> : undefined}+ detail={member.user.name ? member.user.email : undefined}+ />+ </TableCell>+ <TableCell className={cn(PEOPLE_CELL, PEOPLE_SECONDARY)}>{roleInfo(member.role).label}</TableCell>+ <TableCell className={cn(PEOPLE_CELL, PEOPLE_SECONDARY)}>+ <SiteAccessSummary access={accessOf(member.userId)} />+ </TableCell>+ <TableCell className={cn(PEOPLE_CELL, "whitespace-nowrap tabular-nums")}>+ {DateTime.fromSQL(member.createdAt, { zone: "utc" })+ .setZone(getTimezone())+ .toLocaleString(DateTime.DATE_MED)}+ </TableCell>+ {canManageMembers && (+ <TableCell className={cn(PEOPLE_CELL, "text-right")}>+ {canEditMember(member) && (+ <Button+ size="smIcon"+ variant="ghost"+ className="-mr-1.5 text-neutral-500 dark:text-neutral-400"+ aria-label={t("Edit {name}", { name: member.user.name || member.user.email })}+ onClick={() => setSelectedMember(member)}+ >+ <Pencil />+ </Button>+ )}+ </TableCell>+ )}+ </TableRow>+ ))}+ {shownInvitations.map(invitation => {+ const inviter = members.find(member => member.userId === invitation.inviterId);+ return (+ <InvitationRow+ key={invitation.id}+ invitation={invitation}+ inviterName={inviter ? inviter.user.name || inviter.user.email : undefined}+ access={accessOf(invitationAccessKey(invitation))}+ canManage={canManageMembers}+ canResend={canResend(invitation)}+ onChanged={onInvitationsChanged}+ />+ );+ })}+ </>+ )}+ </TableBody>+ </Table>+ </LedgerTable>++ <EditMemberDialog+ member={selectedMember}+ open={!!selectedMember}+ onClose={() => setSelectedMember(null)}+ onSuccess={onRefresh}+ assignableRoles={assignableRoles}+ />+ </LedgerSection>+ );+}diff --git a/client/src/app/settings/organization/components/personAccess.test.ts b/client/src/app/settings/organization/components/personAccess.test.tsnew file mode 100644index 000000000..88db13474--- /dev/null+++ b/client/src/app/settings/organization/components/personAccess.test.ts@@ -0,0 +1,121 @@+import type { SiteGrantRole } from "@rybbit/shared";+import { describe, expect, it } from "vitest";++import type { AccessMember, AccessTeam } from "../../components/siteAccess";+import { accessForPeople, invitationAccessKey } from "./personAccess";++const site = (siteId: number) => ({ siteId, name: `site-${siteId}.dev`, domain: `site-${siteId}.dev` });++function member(+ userId: string,+ role: string,+ restrictedTo?: { siteIds: number[]; siteRole?: SiteGrantRole | null }+): AccessMember {+ return {+ userId,+ role,+ user: { id: userId, name: userId, email: `${userId}@example.com` },+ siteAccess: {+ hasRestrictedSiteAccess: !!restrictedTo,+ siteIds: restrictedTo?.siteIds ?? [],+ siteRole: restrictedTo?.siteRole ?? null,+ },+ };+}++function team(id: string, userIds: string[], siteIds: number[], role: SiteGrantRole | null = null): AccessTeam {+ return {+ id,+ name: id,+ members: userIds.map(userId => ({ userId, userName: userId, userEmail: `${userId}@example.com` })),+ sites: siteIds.map(siteId => ({ siteId, domain: `site-${siteId}.dev`, name: `site-${siteId}.dev`, role })),+ };+}++const sites = [site(1), site(2), site(3), site(4)];++describe("accessForPeople", () => {+ it("gives owners and admins every site on their role", () => {+ const access = accessForPeople(sites, [member("ann", "admin")], [], [team("growth", [], [1, 2])]);+ expect(access.get("ann")).toMatchObject({ everySiteByRole: true, reached: 4, total: 4, sources: [] });+ });++ it("counts only sites in no team for an unrestricted member outside every team", () => {+ const access = accessForPeople(sites, [member("lena", "viewer")], [], [team("growth", [], [1, 2])]);+ expect(access.get("lena")).toMatchObject({ everySiteByRole: false, reached: 2, total: 4, raised: [] });+ });++ it("reaches no site when every site belongs to a team they aren't on", () => {+ const access = accessForPeople(sites, [member("lena", "viewer")], [], [team("growth", [], [1, 2, 3, 4])]);+ expect(access.get("lena")?.reached).toBe(0);+ });++ it("adds a team's sites, with the role the team raises them to and the team as the source", () => {+ const access = accessForPeople(+ sites,+ [member("tom", "member")],+ [],+ [team("growth", ["tom"], [1, 2], "editor"), team("platform", [], [3])]+ );+ expect(access.get("tom")).toEqual({+ everySiteByRole: false,+ reached: 3,+ total: 4,+ raised: [{ role: "editor", sites: 2 }],+ sources: [{ type: "team", teamId: "growth", teamName: "growth" }],+ });+ });++ it("limits a restricted member to their direct grants plus their teams", () => {+ const access = accessForPeople(+ sites,+ [member("sam", "viewer", { siteIds: [4], siteRole: "member" })],+ [],+ [team("growth", ["sam"], [1])]+ );+ expect(access.get("sam")).toEqual({+ everySiteByRole: false,+ reached: 2,+ total: 4,+ raised: [{ role: "member", sites: 1 }],+ sources: [{ type: "team", teamId: "growth", teamName: "growth" }, { type: "direct" }],+ });+ });++ it("treats an invitation as the member it becomes, in the team it adds them to", () => {+ const invitation = {+ id: "inv-1",+ email: "[email protected]",+ role: "editor",+ teamId: "growth",+ hasRestrictedSiteAccess: false,+ siteIds: [],+ } as unknown as Parameters<typeof accessForPeople>[2][number];+ const access = accessForPeople(sites, [], [invitation], [team("growth", [], [1]), team("platform", [], [2])]);+ expect(access.get(invitationAccessKey(invitation))).toMatchObject({+ reached: 3,+ total: 4,+ sources: [{ type: "team", teamId: "growth", teamName: "growth" }],+ });+ });++ it("keeps an invitation restricted to specific sites to those sites", () => {+ const invitation = {+ id: "inv-2",+ email: "[email protected]",+ role: "viewer",+ teamId: null,+ hasRestrictedSiteAccess: true,+ siteIds: [2, 3],+ siteRole: "editor",+ } as unknown as Parameters<typeof accessForPeople>[2][number];+ const access = accessForPeople(sites, [], [invitation], []);+ expect(access.get(invitationAccessKey(invitation))).toEqual({+ everySiteByRole: false,+ reached: 2,+ total: 4,+ raised: [{ role: "editor", sites: 2 }],+ sources: [{ type: "direct" }],+ });+ });+});diff --git a/client/src/app/settings/organization/components/personAccess.ts b/client/src/app/settings/organization/components/personAccess.tsnew file mode 100644index 000000000..41044bfce--- /dev/null+++ b/client/src/app/settings/organization/components/personAccess.ts@@ -0,0 +1,127 @@+import type { SiteGrantRole } from "@rybbit/shared";++import { isAdminRole, ORG_ROLES } from "@/lib/roles";++import {+ type AccessMember,+ type AccessSite,+ type AccessSource,+ type AccessTeam,+ accessBySite,+} from "../../components/siteAccess";+import type { Invitation } from "./Invitations";++// The people table's view of site access: the Teams page's per-site derivation (which mirrors the+// server's rule) folded into one summary per person.++export interface PersonAccess {+ /** Owners and admins, who reach every site on their role alone. */+ everySiteByRole: boolean;+ /** How many of the organization's sites they reach, of how many. */+ reached: number;+ total: number;+ /** Sites where a team or direct grant raises their role, by that role, highest first. */+ raised: { role: string; sites: number }[];+ /** The teams and direct grants their access comes through, beyond their role. */+ sources: AccessSource[];+}++const rank = (role: string) => {+ const index = ORG_ROLES.indexOf(role as (typeof ORG_ROLES)[number]);+ return index === -1 ? ORG_ROLES.length : index;+};++/** Site access for each person, keyed by user id. */+export function accessByPerson(+ sites: AccessSite[],+ people: AccessMember[],+ teams: AccessTeam[]+): Map<string, PersonAccess> {+ const byPerson = new Map<string, PersonAccess & { raisedCounts: Map<string, number> }>(+ people.map(person => [+ person.userId,+ {+ everySiteByRole: isAdminRole(person.role),+ reached: 0,+ total: sites.length,+ raised: [],+ sources: [],+ raisedCounts: new Map(),+ },+ ])+ );++ for (const entry of accessBySite(sites, people, teams)) {+ for (const person of entry.broad) {+ const access = byPerson.get(person.userId);+ if (access) access.reached++;+ }+ for (const { member, role, sources } of entry.scoped) {+ const access = byPerson.get(member.userId);+ if (!access) continue;+ access.reached++;+ if (role !== member.role) access.raisedCounts.set(role, (access.raisedCounts.get(role) ?? 0) + 1);+ for (const source of sources) {+ const known = access.sources.some(existing =>+ source.type === "team"+ ? existing.type === "team" && existing.teamId === source.teamId+ : existing.type === "direct"+ );+ if (!known) access.sources.push(source);+ }+ }+ }++ return new Map(+ [...byPerson].map(([userId, { raisedCounts, ...access }]) => [+ userId,+ {+ ...access,+ raised: [...raisedCounts]+ .map(([role, count]) => ({ role, sites: count }))+ .sort((a, b) => rank(a.role) - rank(b.role)),+ },+ ])+ );+}++type PendingInvitation = Pick<+ Invitation,+ "id" | "email" | "role" | "teamId" | "hasRestrictedSiteAccess" | "siteIds" | "siteRole"+>;++/** The key an invitation's access is filed under: it stands in for the member it will become. */+export const invitationAccessKey = (invitation: Pick<Invitation, "id">) => `invitation:${invitation.id}`;++/**+ * Site access for members (by user id) and pending invitations (by invitationAccessKey). An invitation+ * counts as the member it will become once accepted: its role, its site restriction, and the team it+ * adds them to.+ */+export function accessForPeople(+ sites: AccessSite[],+ members: AccessMember[],+ invitations: PendingInvitation[],+ teams: AccessTeam[]+): Map<string, PersonAccess> {+ const invited: AccessMember[] = invitations.map(invitation => ({+ userId: invitationAccessKey(invitation),+ role: invitation.role,+ user: { id: invitationAccessKey(invitation), name: null, email: invitation.email },+ siteAccess: {+ hasRestrictedSiteAccess: invitation.hasRestrictedSiteAccess === true,+ siteIds: invitation.siteIds ?? [],+ siteRole: (invitation.siteRole as SiteGrantRole | undefined) ?? null,+ },+ }));+ const teamsOnceJoined = teams.map(team => ({+ ...team,+ members: [+ ...team.members,+ ...invitations+ .filter(invitation => invitation.teamId === team.id)+ .map(invitation => ({ userId: invitationAccessKey(invitation), userName: null, userEmail: invitation.email })),+ ],+ }));+ return accessByPerson(sites, [...members, ...invited], teamsOnceJoined);+}diff --git a/client/src/app/settings/organization/layout.tsx b/client/src/app/settings/organization/layout.tsxindex 5aee2cc14..e88e12f5f 100644--- a/client/src/app/settings/organization/layout.tsx+++ b/client/src/app/settings/organization/layout.tsx@@ -4,43 +4,40 @@ import { Plus } from "lucide-react";import { useExtracted } from "next-intl";import { useState } from "react";import { CreateOrganizationDialog } from "../../../components/CreateOrganizationDialog";-import { OrganizationSelector } from "../../../components/OrganizationSelector";import { Button } from "../../../components/ui/button";import { OrgPermissionGate } from "../components/OrgPermissionGate";+import { SettingsPage, SettingsPageHeader } from "../components/Ledger";+import { useActiveOrgName } from "../../../hooks/useActiveOrgName";export default function OrganizationLayout({ children }: { children: React.ReactNode }) {const [createOrgDialogOpen, setCreateOrgDialogOpen] = useState(false);-const t = useExtracted();+ const orgName = useActiveOrgName();return (- <>- <div className="space-y-5">- <div>- <h1 className="text-3xl font-bold tracking-tight">{t("Organization Settings")}</h1>- <p className="text-neutral-500 dark:text-neutral-400">{t("Manage your organization settings and members")}</p>- </div>-- <div className="flex items-center gap-2">- <OrganizationSelector />+ <SettingsPage>+ <SettingsPageHeader+ title={t("Organization")}+ description={orgName ? t("Settings and people for {name}.", { name: orgName }) : undefined}+ actions={<CreateOrganizationDialogopen={createOrgDialogOpen}onOpenChange={setCreateOrgDialogOpen}trigger={- <Button variant="secondary" size="icon">- <Plus className="h-4 w-4" />+ <Button variant="outline" size="sm">+ <Plus />+ {t("New organization")}</Button>}/>- </div>-- <OrgPermissionGate- permission="members:manage"- deniedMessage={t("You don't have permission to view organization settings.")}- >- <div className="mt-6">{children}</div>- </OrgPermissionGate>- </div>- </>+ }+ />+ <OrgPermissionGate+ permission="members:manage"+ deniedMessage={t("You don't have permission to view organization settings.")}+ >+ {children}+ </OrgPermissionGate>+ </SettingsPage>);}diff --git a/client/src/app/settings/organization/page.tsx b/client/src/app/settings/organization/page.tsxindex 0f3bcab16..ed775314e 100644--- a/client/src/app/settings/organization/page.tsx+++ b/client/src/app/settings/organization/page.tsx@@ -1,22 +1,26 @@"use client";++import { DateTime } from "luxon";+import Link from "next/link";import { useExtracted } from "next-intl";import { useEffect, useState } from "react";++import { useOrganizationMembers } from "@/api/admin/hooks/useOrganizationMembers";+import { useOrganizationInvitations } from "@/api/admin/hooks/useOrganizations";+import { CopyText } from "@/components/CopyText";+import { NoOrganization } from "@/components/NoOrganization";+import { Input } from "@/components/ui/input";import { toast } from "@/components/ui/sonner";-import { useOrganizationMembers } from "../../../api/admin/hooks/useOrganizationMembers";-import { useOrganizationInvitations } from "../../../api/admin/hooks/useOrganizations";-import { NoOrganization } from "../../../components/NoOrganization";-import { Button } from "../../../components/ui/button";-import { Card, CardContent, CardHeader, CardTitle } from "../../../components/ui/card";-import { Input } from "../../../components/ui/input";-import { useOrgPermissions } from "../../../hooks/usePermissions";-import { useSetPageTitle } from "../../../hooks/useSetPageTitle";-import { authClient } from "../../../lib/auth";+import { useOrgPermissions } from "@/hooks/usePermissions";+import { useSetPageTitle } from "@/hooks/useSetPageTitle";+import { authClient } from "@/lib/auth";+import { getTimezone } from "@/lib/store";+import { ApiKeyManager } from "../account/components/ApiKeyManager";-import { DeleteOrganizationDialog } from "./components/DeleteOrganizationDialog";-import { Invitations } from "./components/Invitations";-import { MembersTable } from "./components/MembersTable";+import { DangerRow, DangerZone, LedgerRow, LedgerRows, LedgerSaveBar, LedgerSection } from "../components/Ledger";+import { DeleteOrganizationDialog, useHasActiveSubscription } from "./components/DeleteOrganizationDialog";+import { PeopleTable } from "./components/PeopleTable";-// Types for our componentexport type Organization = {id: string;name: string;@@ -24,34 +28,7 @@ export type Organization = {slug: string;};-export type Member = {- id: string;- role: string;- userId: string;- organizationId: string;- createdAt: string;- user: {- id: string;- name: string | null;- email: string;- };- siteAccess?: {- hasRestrictedSiteAccess: boolean;- siteIds: number[];- };-};--// Organization Component with Members Table-function Organization({- org,-}: {- org: {- id: string;- name: string;- slug: string;- createdAt: Date;- };-}) {+function Organization({ org }: { org: Organization }) {const t = useExtracted();const [name, setName] = useState(org.name);const [isUpdating, setIsUpdating] = useState(false);@@ -61,10 +38,16 @@ function Organization({}, [org.name]);const { data: members, refetch, isLoading: membersLoading } = useOrganizationMembers(org.id);- const { refetch: refetchInvitations } = useOrganizationInvitations(org.id);+ const {+ data: invitations,+ refetch: refetchInvitations,+ isLoading: invitationsLoading,+ } = useOrganizationInvitations(org.id);const { can, assignableRoles } = useOrgPermissions(org.id);+ const hasActiveSubscription = useHasActiveSubscription();const canRename = can("org:rename");const canDelete = can("org:delete");+ const isNameDirty = canRename && name !== org.name;const handleRefresh = () => {refetch();@@ -102,54 +85,108 @@ function Organization({return (<>- {(canRename || canDelete) && (- <Card>- <CardHeader>- <CardTitle className="text-xl">{t("Organization")}</CardTitle>- </CardHeader>- <CardContent className="space-y-4">- {canRename && (- <div className="space-y-2">- <h4 className="text-sm font-medium">{t("Organization Name")}</h4>- <p className="text-xs text-neutral-500">{t("Update your organization name")}</p>- <div className="flex space-x-2">- <Input id="name" value={name} onChange={({ target }) => setName(target.value)} placeholder="name" />- <Button variant="outline" onClick={handleOrganizationNameUpdate} disabled={name === org.name}>- {isUpdating ? t("Updating...") : t("Update")}- </Button>- </div>- </div>+ <LedgerSection title={t("General")}>+ <LedgerRows>+ <LedgerRow+ label={t("Name")}+ description={t("Shown in the nav and on invitations.")}+ htmlFor={canRename ? "organization-name" : undefined}+ >+ {canRename ? (+ <>+ <Input+ id="organization-name"+ value={name}+ onChange={({ target }) => setName(target.value)}+ onKeyDown={event => {+ if (event.key === "Enter" && isNameDirty && !isUpdating) handleOrganizationNameUpdate();+ }}+ autoComplete="off"+ className="md:max-w-[340px]"+ />+ {isNameDirty && (+ <p className="mt-1 text-xs leading-4 text-neutral-500 dark:text-neutral-400">+ {t.rich("Was <old>{name}</old>", {+ name: org.name,+ old: chunks => (+ <span className="font-medium text-neutral-700 dark:text-neutral-300">{chunks}</span>+ ),+ })}+ </p>+ )}+ </>+ ) : (+ <p className="flex min-h-9 items-center text-sm">{org.name}</p>)}- {canDelete && (- <div className={canRename ? "pt-4 border-t space-y-2" : "space-y-2"}>- <h4 className="text-sm font-medium">{t("Delete Organization")}</h4>- <p className="text-xs text-neutral-500">{t("Permanently delete this organization and all its data")}</p>- <div className="w-[200px]">- <DeleteOrganizationDialog organization={org} onSuccess={handleRefresh} />- </div>- </div>- )}- </CardContent>- </Card>- )}-- <MembersTable- org={org}- members={members}- membersLoading={membersLoading}+ </LedgerRow>+ <LedgerRow label={t("Slug")} description={t("Set at creation. It can't be changed.")}>+ <div className="flex min-h-9 items-center">+ <CopyText text={org.slug} className="text-neutral-700 dark:text-neutral-300" />+ </div>+ </LedgerRow>+ <LedgerRow label={t("Created")}>+ <p className="flex min-h-9 items-center text-sm tabular-nums">+ {DateTime.fromJSDate(new Date(org.createdAt)).setZone(getTimezone()).toLocaleString(DateTime.DATE_MED)}+ </p>+ </LedgerRow>+ </LedgerRows>+ <LedgerSaveBar+ dirty={isNameDirty}+ saving={isUpdating}+ onCancel={() => setName(org.name)}+ onSave={handleOrganizationNameUpdate}+ />+ </LedgerSection>++ <PeopleTable+ organizationId={org.id}+ members={members?.data}+ invitations={invitations?.filter(invitation => invitation.status === "pending")}+ isLoading={membersLoading || invitationsLoading}canManageMembers={can("members:manage")}assignableRoles={assignableRoles}onRefresh={handleRefresh}+ onInvitationsChanged={refetchInvitations}/>- <Invitations organizationId={org.id} canManage={can("members:manage")} />-{can("apikeys:manage") && <ApiKeyManager organizationId={org.id} />}++ {canDelete && (+ <DangerZone>+ <DangerRow+ label={t("Delete organization")}+ description={t("Permanent. There is no undo.")}+ consequence={+ <>+ {t(+ "Deletes {name} and all its data, including its teams and organization API keys, and removes all its members.",+ { name: org.name }+ )}+ {hasActiveSubscription && (+ <>+ {" "}+ {t.rich("Cancel your subscription in <link>Billing</link> first.", {+ link: chunks => (+ <Link+ href="/settings/billing"+ className="font-medium text-neutral-900 underline underline-offset-2 dark:text-neutral-50"+ >+ {chunks}+ </Link>+ ),+ })}+ </>+ )}+ </>+ }+ action={<DeleteOrganizationDialog organization={org} onSuccess={handleRefresh} />}+ />+ </DangerZone>+ )}</>);}-// Main Organizations componentexport default function MembersPage() {useSetPageTitle("Organization Members");const t = useExtracted();@@ -169,9 +206,5 @@ export default function MembersPage() {);}- return (- <div className="flex flex-col gap-6">- <Organization key={activeOrganization.id} org={activeOrganization} />- </div>- );+ return <Organization key={activeOrganization.id} org={activeOrganization} />;}diff --git a/client/src/app/settings/teams/components/DeleteTeamDialog.tsx b/client/src/app/settings/teams/components/DeleteTeamDialog.tsxindex bc4edc0c1..056bc0870 100644--- a/client/src/app/settings/teams/components/DeleteTeamDialog.tsx+++ b/client/src/app/settings/teams/components/DeleteTeamDialog.tsx@@ -51,8 +51,13 @@ export function DeleteTeamDialog({ team, onSuccess }: DeleteTeamDialogProps) {return (<Dialog open={open} onOpenChange={setOpen}><DialogTrigger asChild>- <Button variant="ghost" size="smIcon">- <Trash2 className="h-3.5 w-3.5" />+ <Button+ variant="ghost"+ size="smIcon"+ className="text-neutral-500 dark:text-neutral-400"+ aria-label={t("Delete {name}", { name: team.name })}+ >+ <Trash2 className="size-3.5" /></Button></DialogTrigger><DialogContent className="max-w-md">diff --git a/client/src/app/settings/teams/components/SiteAccessList.tsx b/client/src/app/settings/teams/components/SiteAccessList.tsxnew file mode 100644index 000000000..42e12aa9c--- /dev/null+++ b/client/src/app/settings/teams/components/SiteAccessList.tsx@@ -0,0 +1,136 @@+"use client";++import { TriangleAlert } from "lucide-react";+import { useExtracted } from "next-intl";++import type { GetOrganizationMembersResponse } from "@/api/admin/endpoints/auth";+import type { Team } from "@/api/admin/endpoints/teams";+import { Badge } from "@/components/ui/badge";+import { useRoleInfo } from "@/lib/roles";+import { cn } from "@/lib/utils";+import { LedgerRow, LedgerRows } from "../../components/Ledger";+import { AvatarStack, PersonAvatar } from "../../components/PersonAvatar";+import { SiteAccess } from "../../components/siteAccess";++const MUTED = "text-neutral-500 dark:text-neutral-400";++type OrgMember = GetOrganizationMembersResponse["data"][number];++/**+ * One ledger row per site: who can open it, with what role, and why. The people who reach it on their+ * organization role fold into one line so the team and direct grants stand out.+ */+export function SiteAccessList({+ access,+ onEditTeam,+}: {+ access: SiteAccess<Team, OrgMember>[];+ onEditTeam: (team: Team) => void;+}) {+ const t = useExtracted();+ const roleInfo = useRoleInfo();++ return (+ <LedgerRows>+ {access.map(({ site, teams, broad, broadReachesEverySite, scoped }) => {+ const teamsAreEmpty = teams.every(team => team.members.length === 0);+ return (+ <LedgerRow+ key={site.siteId}+ label={+ <span className="block truncate" title={site.domain}>+ {site.name}+ </span>+ }+ description={t("{count, plural, one {# person} other {# people}}", {+ count: broad.length + scoped.length,+ })}+ >+ <div className={cn("flex min-h-9 flex-wrap items-center gap-x-3 gap-y-2 text-sm", MUTED)}>+ <AvatarStack+ people={broad.map(member => ({ name: member.user.name, email: member.user.email }))}+ max={4}+ size="xs"+ />+ <span>+ {broadReachesEverySite+ ? t("{count, plural, one {# person with all-site access} other {# people with all-site access}}", {+ count: broad.length,+ })+ : t(+ "{count, plural, one {# person reaches every site not in a team} other {# people reach every site not in a team}}",+ { count: broad.length }+ )}+ </span>+ </div>++ {scoped.length > 0 && (+ <ul className="mt-1">+ {scoped.map(({ member, role, sources }) => (+ <li+ key={member.userId}+ className="grid min-h-[30px] grid-cols-[20px_minmax(0,1fr)_auto_auto] items-center gap-2.5 text-sm md:grid-cols-[20px_minmax(0,140px)_minmax(0,170px)_minmax(0,1fr)]"+ >+ <PersonAvatar person={{ name: member.user.name, email: member.user.email }} size="xs" />+ <span className="truncate font-medium" title={member.user.email}>+ {member.user.name || member.user.email}+ </span>+ <span className="truncate text-neutral-700 dark:text-neutral-300">+ {roleInfo(role).label}+ {role !== member.role && (+ <span className={cn("ml-1 hidden md:inline", MUTED)}>+ {t("from {role}", { role: roleInfo(member.role).label })}+ </span>+ )}+ </span>+ <span className="flex flex-wrap justify-end gap-1 md:justify-start">+ {sources.map(source => (+ <Badge+ key={source.type === "team" ? source.teamId : "direct"}+ variant="outline"+ className="px-[5px] py-px text-xs leading-4 font-normal"+ >+ {source.type === "team" ? source.teamName : t("Direct")}+ </Badge>+ ))}+ </span>+ </li>+ ))}+ </ul>+ )}++ {teams.length > 0 && scoped.length === 0 && (+ <p className="mt-1 flex items-start gap-2 text-sm leading-5 text-neutral-700 dark:text-neutral-300">+ <TriangleAlert+ aria-hidden="true"+ className="mt-0.5 size-3.5 shrink-0 text-yellow-600 dark:text-yellow-500"+ />+ <span>+ {!teamsAreEmpty+ ? t("Only owners and admins reach this site.")+ : teams.length > 1+ ? t("Its teams have no members, so nobody else reaches this site.")+ : t.rich(+ "The {team} team has no members, so nobody else reaches this site. <link>Add people to {team}</link>",+ {+ team: teams[0].name,+ link: chunks => (+ <button+ type="button"+ onClick={() => onEditTeam(teams[0])}+ className="cursor-pointer rounded-sm underline decoration-neutral-300 underline-offset-2 hover:text-neutral-900 hover:decoration-current focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-neutral-950 dark:decoration-neutral-600 dark:hover:text-neutral-100 dark:focus-visible:ring-neutral-300"+ >+ {chunks}+ </button>+ ),+ }+ )}+ </span>+ </p>+ )}+ </LedgerRow>+ );+ })}+ </LedgerRows>+ );+}diff --git a/client/src/app/settings/teams/components/TeamsTable.tsx b/client/src/app/settings/teams/components/TeamsTable.tsxnew file mode 100644index 000000000..8de0c4e05--- /dev/null+++ b/client/src/app/settings/teams/components/TeamsTable.tsx@@ -0,0 +1,317 @@+"use client";++import { ChevronRight, Globe, Pencil, Plus } from "lucide-react";+import { useExtracted } from "next-intl";+import { Fragment, useState } from "react";++import type { Team } from "@/api/admin/endpoints/teams";+import { Button } from "@/components/ui/button";+import { isAdminRole, useRoleInfo } from "@/lib/roles";+import { cn } from "@/lib/utils";+import { LedgerTable } from "../../components/Ledger";+import { DeleteTeamDialog } from "./DeleteTeamDialog";+import { AvatarStack, EmptyAvatar, PersonAvatar } from "../../components/PersonAvatar";+import { AccessMember, SiteAccess, TeamMemberEffect, teamMemberEffects } from "../../components/siteAccess";++const TH = "h-9 px-3 text-left align-middle text-xs font-medium text-neutral-500 dark:text-neutral-400";+const TD = "h-[52px] px-3 py-2.5 align-middle";+const RULE = "border-neutral-100 dark:border-neutral-850";+const MUTED = "text-neutral-500 dark:text-neutral-400";+const STRONG = "font-medium text-neutral-900 dark:text-neutral-100";++export function TeamsTable({+ teams,+ access,+ members,+ onEdit,+}: {+ teams: Team[];+ /** Who reaches which site; undefined until members and sites have loaded. */+ access?: SiteAccess[];+ members?: AccessMember[];+ onEdit: (team: Team) => void;+}) {+ const t = useExtracted();+ const roleInfo = useRoleInfo();+ const [expanded, setExpanded] = useState<Set<string>>(new Set());+ const roleByUser = new Map(members?.map(member => [member.userId, member.role]));++ const toggle = (teamId: string) => {+ setExpanded(prev => {+ const next = new Set(prev);+ if (next.has(teamId)) {+ next.delete(teamId);+ } else {+ next.add(teamId);+ }+ return next;+ });+ };++ return (+ <LedgerTable>+ <table className="w-full min-w-[760px] border-collapse text-sm">+ <thead>+ <tr>+ <th className={TH}>{t("Team")}</th>+ <th className={TH}>{t("Members")}</th>+ <th className={TH}>{t("Sites")}</th>+ <th className={TH}>{t("Role on its sites")}</th>+ <th className={TH}>+ <span className="sr-only">{t("Actions")}</span>+ </th>+ </tr>+ </thead>+ <tbody>+ {teams.map(team => {+ const isExpanded = expanded.has(team.id);+ const siteNames = team.sites.map(site => site.name).join(", ");+ // A team gives owners and admins nothing: they already reach every site with a role above any it raises to.+ const withEverySite = team.members.filter(teamMember => isAdminRole(roleByUser.get(teamMember.userId)));++ return (+ <Fragment key={team.id}>+ <tr className={cn("cursor-pointer border-t", RULE)} onClick={() => toggle(team.id)}>+ <td className={TD}>+ {/* The whole row toggles; the button makes that reachable and announced by keyboard. */}+ <button+ type="button"+ aria-expanded={isExpanded}+ className="inline-flex max-w-[200px] cursor-pointer items-center gap-1.5 rounded-sm font-medium focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-neutral-950 dark:focus-visible:ring-neutral-300"+ >+ <ChevronRight+ aria-hidden="true"+ className={cn("size-3.5 shrink-0 transition-transform", MUTED, isExpanded && "rotate-90")}+ />+ <span className="truncate">{team.name}</span>+ </button>+ </td>+ <td className={TD}>+ {team.members.length === 0 ? (+ <span className={cn("flex items-center gap-2 whitespace-nowrap", MUTED)}>+ <EmptyAvatar />+ {t("No members yet")}+ </span>+ ) : (+ <span className="flex items-center gap-2 whitespace-nowrap text-neutral-700 dark:text-neutral-300">+ <AvatarStack+ people={team.members.map(teamMember => ({+ name: teamMember.userName,+ email: teamMember.userEmail,+ }))}+ max={3}+ />+ {t("{count, plural, one {# person} other {# people}}", { count: team.members.length })}+ </span>+ )}+ </td>+ <td className={TD}>+ {team.sites.length === 0 ? (+ <span className={MUTED}>{t("No sites")}</span>+ ) : (+ <span className="flex max-w-[270px] items-baseline gap-2 whitespace-nowrap">+ <span className="tabular-nums text-neutral-700 dark:text-neutral-300">{team.sites.length}</span>+ <span className={cn("min-w-0 truncate", MUTED)} title={siteNames}>+ {siteNames}+ </span>+ </span>+ )}+ </td>+ <td className={TD}>+ <span className="block whitespace-nowrap text-neutral-700 dark:text-neutral-300">+ {team.siteRole+ ? t.rich("Raises to <b>{role}</b>", {+ role: roleInfo(team.siteRole).label,+ b: chunks => <b className={STRONG}>{chunks}</b>,+ })+ : team.sites.some(site => site.role)+ ? t("Varies by site")+ : t("Each member's own role")}+ </span>+ {withEverySite.length > 0 && (+ <span className={cn("block whitespace-nowrap text-xs leading-4", MUTED)}>+ {withEverySite.length === 1+ ? t("Adds nothing for {name}, who has all sites", {+ name: withEverySite[0].userName || withEverySite[0].userEmail,+ })+ : t(+ "{count, plural, one {Adds nothing for # person who has all sites} other {Adds nothing for # people who have all sites}}",+ { count: withEverySite.length }+ )}+ </span>+ )}+ </td>+ <td className={cn(TD, "text-right")} onClick={e => e.stopPropagation()}>+ <span className="-mr-1.5 inline-flex justify-end gap-1">+ <Button+ variant="ghost"+ size="smIcon"+ className={MUTED}+ aria-label={t("Edit {name}", { name: team.name })}+ onClick={() => onEdit(team)}+ >+ <Pencil className="size-3.5" />+ </Button>+ <DeleteTeamDialog team={team} />+ </span>+ </td>+ </tr>+ {isExpanded && (+ <tr>+ <td colSpan={5} className="pb-4">+ <TeamDetail+ team={team}+ effects={access && members ? teamMemberEffects(team, access, members) : undefined}+ onEdit={onEdit}+ />+ </td>+ </tr>+ )}+ </Fragment>+ );+ })}+ </tbody>+ </table>+ </LedgerTable>+ );+}++/** The inline panel under an expanded team: what it does for each member, and its sites. */+function TeamDetail({+ team,+ effects,+ onEdit,+}: {+ team: Team;+ effects?: TeamMemberEffect[];+ onEdit: (team: Team) => void;+}) {+ const t = useExtracted();+ const roleInfo = useRoleInfo();+ const heading = "mb-1.5 text-xs font-medium leading-4 text-neutral-500 dark:text-neutral-400";+ const list = "divide-y divide-neutral-100 dark:divide-neutral-850";+ const addButton = cn("mt-1.5 -ml-1.5", MUTED);++ return (+ <div+ className={cn(+ "grid cursor-auto gap-x-10 gap-y-4 rounded-lg border bg-white p-4 md:grid-cols-[minmax(0,1.45fr)_minmax(0,1fr)] dark:bg-neutral-900",+ RULE+ )}+ >+ <div className="min-w-0">+ <h4 className={heading}>{t("What {team} does for each member", { team: team.name })}</h4>+ {team.members.length === 0 ? (+ <p className={cn("py-2", MUTED)}>{t("No members yet")}</p>+ ) : (+ <ul className={list}>+ {team.members.map(teamMember => {+ const effect = effects?.find(entry => entry.userId === teamMember.userId);+ return (+ <li+ key={teamMember.userId}+ className="grid min-h-9 grid-cols-[24px_minmax(0,120px)_auto_minmax(0,1fr)] items-center gap-2.5"+ >+ <PersonAvatar person={{ name: teamMember.userName, email: teamMember.userEmail }} />+ <span className="truncate font-medium" title={teamMember.userEmail}>+ {teamMember.userName || teamMember.userEmail}+ </span>+ {effect ? <MemberResult effect={effect} /> : <span className="col-span-2" />}+ </li>+ );+ })}+ </ul>+ )}+ <Button variant="ghost" size="xs" className={addButton} onClick={() => onEdit(team)}>+ <Plus className="size-3" />+ {t("Add people")}+ </Button>+ </div>++ <div className="min-w-0">+ <h4 className={heading}>+ {t("Sites")}+ <span className="ml-1.5 tabular-nums text-neutral-400 dark:text-neutral-500">{team.sites.length}</span>+ </h4>+ {team.sites.length === 0 ? (+ <p className={cn("py-2", MUTED)}>{t("No sites")}</p>+ ) : (+ <ul className={list}>+ {team.sites.map(site => (+ <li+ key={site.siteId}+ className="flex min-h-9 items-center gap-2 text-neutral-700 dark:text-neutral-300"+ title={site.domain}+ >+ <Globe aria-hidden="true" className="size-3.5 shrink-0 text-neutral-400 dark:text-neutral-500" />+ <span className="truncate">{site.name}</span>+ </li>+ ))}+ </ul>+ )}+ <Button variant="ghost" size="xs" className={addButton} onClick={() => onEdit(team)}>+ <Plus className="size-3" />+ {t("Add sites")}+ </Button>+ </div>++ {(team.siteRole || !team.sites.some(site => site.role)) && (+ <p className={cn("border-t pt-3 text-xs leading-4 md:col-span-2", RULE, MUTED)}>+ {team.siteRole+ ? t(+ "{team} lifts anyone below {role} to {role} on these sites. It never lowers a role, so an admin added here would stay an admin.",+ { team: team.name, role: roleInfo(team.siteRole).label }+ )+ : t(+ "Members keep their own role on these sites. Besides them, only owners, admins and people given a site directly can open them."+ )}+ </p>+ )}+ </div>+ );+}++/** One team member's outcome on the team's sites, and how much of the rest of the organization they reach. */+function MemberResult({ effect }: { effect: TeamMemberEffect }) {+ const t = useExtracted();+ const roleInfo = useRoleInfo();+ const { orgRole } = effect;+ const strong = (chunks: React.ReactNode) => <b className={STRONG}>{chunks}</b>;++ return (+ <>+ <span className={cn("flex items-center gap-3 whitespace-nowrap", MUTED)}>+ {orgRole &&+ effect.roles.map(({ role, sites }) => (+ <span key={role}>+ {effect.hasEverySite+ ? t.rich("<b>{role}</b> on every site", { role: roleInfo(role).label, b: strong })+ : role === orgRole+ ? t.rich("<b>{role}</b> on {count, plural, one {# site} other {# sites}}", {+ role: roleInfo(role).label,+ count: sites,+ b: strong,+ })+ : t.rich("{from} → <b>{to}</b> on {count, plural, one {# site} other {# sites}}", {+ from: roleInfo(orgRole).label,+ to: roleInfo(role).label,+ count: sites,+ b: strong,+ })}+ </span>+ ))}+ </span>+ <span className={cn("truncate text-xs", MUTED)}>+ {!effect.hasEverySite && effect.otherSites > 0+ ? effect.otherSitesReached === 0+ ? t("{count, plural, one {No access to the other site} other {No access to the other # sites}}", {+ count: effect.otherSites,+ })+ : t("{count, plural, one {Also # other site} other {Also # other sites}}", {+ count: effect.otherSitesReached,+ })+ : null}+ </span>+ </>+ );+}diff --git a/client/src/app/settings/teams/layout.tsx b/client/src/app/settings/teams/layout.tsxindex 669caa356..ab8382f32 100644--- a/client/src/app/settings/teams/layout.tsx+++ b/client/src/app/settings/teams/layout.tsx@@ -2,48 +2,49 @@import { Plus } from "lucide-react";import { useExtracted } from "next-intl";+import { ExternalLink } from "../../../components/ExternalLink";import { Button } from "../../../components/ui/button";import { useOrgPermissions } from "../../../hooks/usePermissions";import { authClient } from "../../../lib/auth";import { OrgPermissionGate } from "../components/OrgPermissionGate";+import { SettingsPage, SettingsPageHeader } from "../components/Ledger";import { CreateEditTeamDialog } from "./components/CreateEditTeamDialog";-import { ExternalLink } from "../../../components/ExternalLink";export default function TeamsLayout({ children }: { children: React.ReactNode }) {const t = useExtracted();- const { data: activeOrg } = authClient.useActiveOrganization();+ const { data: session } = authClient.useSession();const { can } = useOrgPermissions();return (- <div className="space-y-5">- <div className="flex items-end justify-between">- <div>- <h1 className="text-3xl font-bold tracking-tight">{t("Teams")}</h1>- <p className="text-neutral-500 dark:text-neutral-400 flex items-center gap-1">- {t("Organize sites into teams to control which members can access them.")}- <ExternalLink href="https://www.rybbit.com/docs/teams">- {t("Learn more about teams")}- </ExternalLink>- </p>- </div>- {activeOrg?.id && can("teams:manage") && (- <CreateEditTeamDialog- trigger={- <Button size="sm">- <Plus className="h-4 w-4 mr-1" />- {t("Create Team")}- </Button>- }- />- )}- </div>-+ <SettingsPage>+ <SettingsPageHeader+ title={t("Teams")}+ description={+ <>+ {t("A team gives its people a set of sites, and can raise their role on those sites.")}{" "}+ <ExternalLink href="https://www.rybbit.com/docs/teams">{t("How access works")}</ExternalLink>+ </>+ }+ actions={+ session?.session.activeOrganizationId &&+ can("teams:manage") && (+ <CreateEditTeamDialog+ trigger={+ <Button variant="success" size="sm">+ <Plus />+ {t("Create team")}+ </Button>+ }+ />+ )+ }+ /><OrgPermissionGatepermission="teams:manage"deniedMessage={t("You don't have permission to view team settings.")}>- <div className="mt-6">{children}</div>+ {children}</OrgPermissionGate>- </div>+ </SettingsPage>);}diff --git a/client/src/app/settings/teams/page.tsx b/client/src/app/settings/teams/page.tsxindex 8ca140d76..8d3bb098f 100644--- a/client/src/app/settings/teams/page.tsx+++ b/client/src/app/settings/teams/page.tsx@@ -1,41 +1,45 @@"use client";-import { ChevronDown, Globe, Pencil, ShieldCheck, Users2 } from "lucide-react";+import { Users2 } from "lucide-react";import { useExtracted } from "next-intl";-import { useState } from "react";+import { useMemo, useState } from "react";import { Team } from "@/api/admin/endpoints/teams";+import { useOrganizationMembers } from "@/api/admin/hooks/useOrganizationMembers";+import { useGetSitesFromOrg } from "@/api/admin/hooks/useSites";import { useTeams } from "@/api/admin/hooks/useTeams";import { NoOrganization } from "@/components/NoOrganization";-import { Button } from "@/components/ui/button";+import { Skeleton } from "@/components/ui/skeleton";import { useSetPageTitle } from "@/hooks/useSetPageTitle";import { authClient } from "@/lib/auth";-import { useRoleInfo } from "@/lib/roles";import { cn } from "@/lib/utils";+import { LedgerRows, LedgerSection } from "../components/Ledger";import { CreateEditTeamDialog } from "./components/CreateEditTeamDialog";-import { DeleteTeamDialog } from "./components/DeleteTeamDialog";+import { accessBySite } from "../components/siteAccess";+import { SiteAccessList } from "./components/SiteAccessList";+import { TeamsTable } from "./components/TeamsTable";++const MUTED = "text-neutral-500 dark:text-neutral-400";+const RULE = "border-neutral-100 dark:border-neutral-850";export default function TeamsPage() {useSetPageTitle("Organization Teams");const t = useExtracted();- const roleInfo = useRoleInfo();const { data: activeOrganization, isPending } = authClient.useActiveOrganization();- const { data: teamsData, isLoading: teamsLoading } = useTeams(activeOrganization?.id);+ const organizationId = activeOrganization?.id;+ const { data: teamsData, isLoading: teamsLoading, isError: teamsError } = useTeams(organizationId);+ const { data: membersData, isError: membersError } = useOrganizationMembers(organizationId);+ const { data: sitesData, isError: sitesError } = useGetSitesFromOrg(organizationId);const [editingTeam, setEditingTeam] = useState<Team | null>(null);- const [expandedTeams, setExpandedTeams] = useState<Set<string>>(new Set());- const toggleExpanded = (teamId: string) => {- setExpandedTeams(prev => {- const next = new Set(prev);- if (next.has(teamId)) {- next.delete(teamId);- } else {- next.add(teamId);- }- return next;- });- };+ const teams = teamsData?.teams;+ const members = membersData?.data;+ const sites = sitesData?.sites;+ const access = useMemo(+ () => (teams && members && sites ? accessBySite(sites, members, teams) : undefined),+ [teams, members, sites]+ );if (isPending) {return (@@ -51,120 +55,58 @@ export default function TeamsPage() {);}- const teams = teamsData?.teams || [];-return (- <div className="flex flex-col gap-4">- {teamsLoading ? (- <div className="space-y-3">- {Array.from({ length: 2 }).map((_, i) => (- <div key={i} className="h-20 bg-muted animate-pulse rounded-lg" />- ))}- </div>- ) : teams.length === 0 ? (- <div className="text-center py-8 text-muted-foreground">- <Users2 className="h-10 w-10 mx-auto mb-3 opacity-50" />- <p className="font-medium">{t("No teams yet")}</p>- <p className="text-sm mt-1">{t("Create a team to group sites and manage member access.")}</p>- </div>- ) : (- <div className="space-y-3">- {teams.map(team => {- const isExpanded = expandedTeams.has(team.id);- return (- <div key={team.id} className="border rounded-lg transition-colors bg-white dark:bg-neutral-900/70">- <div- className="flex items-center justify-between p-4 cursor-pointer hover:bg-muted/50"- onClick={() => toggleExpanded(team.id)}- >- <div className="flex items-center gap-3 flex-1 min-w-0">- <ChevronDown- className={cn(- "h-4 w-4 shrink-0 text-muted-foreground transition-transform",- !isExpanded && "-rotate-90"- )}- />- <div className="flex-1 min-w-0">- <h3 className="font-medium truncate">{team.name}</h3>- <div className="flex items-center gap-3 mt-1 text-sm text-muted-foreground">- <span className="flex items-center gap-1">- <Users2 className="h-3.5 w-3.5" />- {t("{count} members", {- count: String(team.members.length),- })}- </span>- <span className="flex items-center gap-1">- <Globe className="h-3.5 w-3.5" />- {t("{count} sites", {- count: String(team.sites.length),- })}- </span>- {team.siteRole && (- <span className="flex items-center gap-1">- <ShieldCheck className="h-3.5 w-3.5" />- {t("Site role: {role}", { role: roleInfo(team.siteRole).label })}- </span>- )}- </div>- </div>+ <>+ <LedgerSection title={t("Teams")} count={teams?.length}>+ {teamsLoading ? (+ <LedgerRows>+ {Array.from({ length: 2 }).map((_, i) => (+ <div key={i} className="flex h-[52px] items-center gap-10">+ <Skeleton className="h-4 w-28" />+ <Skeleton className="h-4 w-24" />+ <Skeleton className="h-4 w-56" />+ </div>+ ))}+ </LedgerRows>+ ) : !teams?.length ? (+ <div className={cn("border-y py-10 text-center", RULE)}>+ <Users2 aria-hidden="true" className={cn("mx-auto mb-3 size-8", MUTED)} />+ <p className="font-medium">{t("No teams yet")}</p>+ <p className={cn("mt-1 text-sm", MUTED)}>{t("Create a team to group sites and manage member access.")}</p>+ </div>+ ) : (+ <TeamsTable teams={teams} access={access} members={members} onEdit={setEditingTeam} />+ )}+ </LedgerSection>++ {(!sites || sites.length > 0) && (+ <LedgerSection+ title={t("Access by site")}+ description={t("Who can open each site, with what role, and why. Owners and admins always reach every site.")}+ >+ {access ? (+ <SiteAccessList access={access} onEditTeam={setEditingTeam} />+ ) : teamsError || membersError || sitesError ? (+ <p className={cn("border-y py-4 text-sm", RULE, MUTED)}>{t("Couldn't load who can open each site.")}</p>+ ) : (+ <LedgerRows>+ {Array.from({ length: 2 }).map((_, i) => (+ <div key={i} className="grid gap-x-10 gap-y-2 py-4 md:grid-cols-[260px_minmax(0,1fr)]">+ <div className="space-y-2 md:pt-2">+ <Skeleton className="h-4 w-32" />+ <Skeleton className="h-3 w-16" /></div>- <div className="flex items-center gap-2 ml-4" onClick={e => e.stopPropagation()}>- <Button variant="ghost" size="smIcon" onClick={() => setEditingTeam(team)}>- <Pencil className="h-3.5 w-3.5" />- </Button>- <DeleteTeamDialog team={team} />+ <div className="space-y-2 md:pt-2">+ <Skeleton className="h-4 w-56" />+ <Skeleton className="h-4 w-72" /></div></div>- {isExpanded && (- <div className="border-t px-4 py-3">- <div className="grid grid-cols-1 md:grid-cols-2 gap-4">- <div>- <h4 className="text-sm font-medium mb-2 flex items-center gap-1.5">- <Users2 className="h-3.5 w-3.5" />- {t("Members")}- </h4>- {team.members.length === 0 ? (- <p className="text-sm text-muted-foreground">{t("No members")}</p>- ) : (- <div className="space-y-1">- {team.members.map(member => (- <div key={member.userId} className="text-sm py-1 px-5 rounded hover:bg-muted/50">- <span>{member.userName || member.userEmail}</span>- {member.userName && (- <span className="text-muted-foreground ml-2 text-xs">{member.userEmail}</span>- )}- </div>- ))}- </div>- )}- </div>- <div>- <h4 className="text-sm font-medium mb-2 flex items-center gap-1.5">- <Globe className="h-3.5 w-3.5" />- {t("Sites")}- </h4>- {team.sites.length === 0 ? (- <p className="text-sm text-muted-foreground">{t("No sites")}</p>- ) : (- <div className="space-y-1">- {team.sites.map(site => (- <div key={site.siteId} className="text-sm py-1 px-5 rounded hover:bg-muted/50">- {site.name}- </div>- ))}- </div>- )}- </div>- </div>- </div>- )}- </div>- );- })}- </div>+ ))}+ </LedgerRows>+ )}+ </LedgerSection>)}- {/* Edit Team Dialog */}<CreateEditTeamDialogteam={editingTeam || undefined}open={!!editingTeam}@@ -172,6 +114,6 @@ export default function TeamsPage() {if (!open) setEditingTeam(null);}}/>- </div>+ </>);}diff --git a/client/src/components/UsageChart.tsx b/client/src/components/UsageChart.tsxindex f9d660589..ba868cca5 100644--- a/client/src/components/UsageChart.tsx+++ b/client/src/components/UsageChart.tsx@@ -8,7 +8,7 @@ import { Badge } from "./ui/badge";import { Tabs, TabsList, TabsTrigger } from "./ui/tabs";import { EventUsageChart } from "./EventUsageChart";-const PERIODS = [+export const PERIODS = [{ value: "7", label: "7D" },{ value: "14", label: "14D" },{ value: "30", label: "30D" },@@ -16,9 +16,9 @@ const PERIODS = [{ value: "all", label: "All" },] as const;-type PeriodValue = (typeof PERIODS)[number]["value"];+export type PeriodValue = (typeof PERIODS)[number]["value"];-function getPeriodDates(period: PeriodValue): { startDate?: string; endDate?: string } {+export function getPeriodDates(period: PeriodValue): { startDate?: string; endDate?: string } {if (period === "all") return {};const end = DateTime.now().toFormat("yyyy-MM-dd");const start = DateTime.now().minus({ days: Number(period) }).toFormat("yyyy-MM-dd");diff --git a/client/src/components/sidebar/NavigationSidebar.tsx b/client/src/components/sidebar/NavigationSidebar.tsxindex 25fb486da..d96f529a8 100644--- a/client/src/components/sidebar/NavigationSidebar.tsx+++ b/client/src/components/sidebar/NavigationSidebar.tsx@@ -2,6 +2,7 @@import { AppWindow, Building2, Combine, CreditCard, UserCircle, Users } from "lucide-react";import { useExtracted } from "next-intl";import { usePathname } from "next/navigation";+import { useActiveOrgName } from "../../hooks/useActiveOrgName";import { useOrgPermissions } from "../../hooks/usePermissions";import { IS_CLOUD } from "../../lib/const";import { OrganizationSelector } from "../OrganizationSelector";@@ -11,6 +12,8 @@ export function NavigationSidebar() {const t = useExtracted();const pathname = usePathname();const { can } = useOrgPermissions();+ const activeOrgName = useActiveOrgName();+ const showOrgSettings = can("members:manage") || can("teams:manage") || (IS_CLOUD && can("billing:manage"));return (<Sidebar.Root>@@ -30,12 +33,14 @@ export function NavigationSidebar() {href="/rollup"icon={<Combine className="w-4 h-4" />}/>+ <Sidebar.SectionHeader>{t("Personal")}</Sidebar.SectionHeader><Sidebar.Itemlabel={t("Account")}active={pathname.startsWith("/settings/account")}href="/settings/account"icon={<UserCircle className="w-4 h-4" />}/>+ {showOrgSettings && <Sidebar.SectionHeader>{activeOrgName ?? t("Organization")}</Sidebar.SectionHeader>}{can("members:manage") && (<Sidebar.Itemlabel={t("Organization")}diff --git a/client/src/components/subscription/AppSumoPlan.tsx b/client/src/components/subscription/AppSumoPlan.tsxindex 6c1b00f69..c92196e3a 100644--- a/client/src/components/subscription/AppSumoPlan.tsx+++ b/client/src/components/subscription/AppSumoPlan.tsx@@ -1,15 +1,14 @@-import { authClient } from "@/lib/auth";import { ArrowRight } from "lucide-react";import { useExtracted } from "next-intl";import { useState } from "react";-import { useStripeSubscription } from "../../lib/subscription/useStripeSubscription";+import { authClient } from "@/lib/auth";+import { useStripeSubscription } from "@/lib/subscription/useStripeSubscription";import { Button } from "../ui/button";-import { UsageChart } from "../UsageChart";-import { PlanCard } from "./components/PlanCard";+import { InvoicesSection } from "./components/InvoicesSection";import { PlanDialog } from "./components/PlanDialog";-import { UsageLimitAlerts } from "./components/UsageLimitAlerts";-import { UsageCards } from "./components/UsageCards";-import { useUsageStats } from "./components/useUsageStats";+import { PlanAllowances, PlanSection } from "./components/PlanSection";+import { UsageHistorySection } from "./components/UsageHistorySection";+import { UsageSection } from "./components/UsageSection";export function AppSumoPlan() {const t = useExtracted();@@ -18,32 +17,32 @@ export function AppSumoPlan() {const [showPlanDialog, setShowPlanDialog] = useState(false);const organizationId = activeOrg?.id;- const { isNearLimit, isLimitExceeded } = useUsageStats(subscription);if (!subscription) return null;+ const planName = t("AppSumo Tier {tier}", { tier: subscription.planName.split("-")[1] });+return (- <PlanCard- title={t("AppSumo Plan Tier {tier}", { tier: subscription.planName.split("-")[1] })}- description={t("You are on the AppSumo lifetime plan with up to {limit} events per month.", { limit: subscription?.eventLimit.toLocaleString() })}- footer={- <Button onClick={() => setShowPlanDialog(true)} variant={"success"}>- {t("Upgrade To Pro")} <ArrowRight className="ml-2 h-4 w-4" />- </Button>- }- >- <UsageLimitAlerts- isLimitExceeded={isLimitExceeded}- isNearLimit={isNearLimit}- exceededMessage={t("You have exceeded your monthly event limit. Please upgrade to a Pro plan to continue collecting analytics.")}+ <>+ <PlanDialog open={showPlanDialog} onOpenChange={setShowPlanDialog} hasActiveSubscription={false} />+ <PlanSection+ name={planName}+ description={t("Lifetime plan from AppSumo.")}+ details={<PlanAllowances subscription={subscription} />}+ action={+ <Button onClick={() => setShowPlanDialog(true)} variant="success">+ {t("Upgrade to Pro")} <ArrowRight className="h-4 w-4" />+ </Button>+ }/>- <UsageCards />- {organizationId && <UsageChart organizationId={organizationId} />}- <PlanDialog- open={showPlanDialog}- onOpenChange={setShowPlanDialog}- hasActiveSubscription={false}+ <UsageSection+ subscription={subscription}+ planName={planName}+ nearLimitHint={t("Consider upgrading to a paid plan for higher limits.")}+ overLimitHint={t("Upgrade to a Pro plan to continue collecting analytics.")}/>- </PlanCard>+ {organizationId && <UsageHistorySection organizationId={organizationId} />}+ <InvoicesSection />+ </>);}diff --git a/client/src/components/subscription/CustomPlan.tsx b/client/src/components/subscription/CustomPlan.tsxindex f14bb1ce0..9c9063eb2 100644--- a/client/src/components/subscription/CustomPlan.tsx+++ b/client/src/components/subscription/CustomPlan.tsx@@ -1,12 +1,10 @@-import { authClient } from "@/lib/auth";-import { Sparkles } from "lucide-react";import { useExtracted } from "next-intl";-import { useStripeSubscription } from "../../lib/subscription/useStripeSubscription";-import { UsageChart } from "../UsageChart";-import { PlanCard } from "./components/PlanCard";-import { UsageLimitAlerts } from "./components/UsageLimitAlerts";-import { UsageCards } from "./components/UsageCards";-import { useUsageStats } from "./components/useUsageStats";+import { authClient } from "@/lib/auth";+import { useStripeSubscription } from "@/lib/subscription/useStripeSubscription";+import { InvoicesSection } from "./components/InvoicesSection";+import { PlanAllowances, PlanSection } from "./components/PlanSection";+import { UsageHistorySection } from "./components/UsageHistorySection";+import { UsageSection } from "./components/UsageSection";export function CustomPlan() {const t = useExtracted();@@ -14,31 +12,27 @@ export function CustomPlan() {const { data: activeOrg } = authClient.useActiveOrganization();const organizationId = activeOrg?.id;- const { limit, isNearLimit, isLimitExceeded } = useUsageStats(subscription);if (!subscription) return null;+ const planName = t("Custom");+ const supportHint = t("Contact support if you need more capacity.");+return (- <PlanCard- title={- <>- <Sparkles className="h-5 w-5" />- {t("Custom Plan")}- </>- }- description={t("You have a custom plan with up to {limit} pageviews per month.", {- limit: limit.toLocaleString(),- })}- >- <UsageLimitAlerts- isLimitExceeded={isLimitExceeded}- isNearLimit={isNearLimit}- exceededMessage={t("You have exceeded your monthly event limit. Please contact support for assistance.")}- nearLimitMessage={t("You are approaching your monthly event limit. Please contact support if you need more capacity.")}+ <>+ <PlanSection+ name={planName}+ description={t("Arranged with Rybbit. Contact support to change it.")}+ details={<PlanAllowances subscription={subscription} />}/>- <UsageCards />-- {organizationId && <UsageChart organizationId={organizationId} />}- </PlanCard>+ <UsageSection+ subscription={subscription}+ planName={planName}+ nearLimitHint={supportHint}+ overLimitHint={supportHint}+ />+ {organizationId && <UsageHistorySection organizationId={organizationId} />}+ <InvoicesSection />+ </>);}diff --git a/client/src/components/subscription/ExpiredTrialPlan.tsx b/client/src/components/subscription/ExpiredTrialPlan.tsxindex 3618cde86..78b59c757 100644--- a/client/src/components/subscription/ExpiredTrialPlan.tsx+++ b/client/src/components/subscription/ExpiredTrialPlan.tsx@@ -1,9 +1,9 @@-import { AlertTriangle, ArrowRight } from "lucide-react";+import { ArrowRight } from "lucide-react";import { useExtracted } from "next-intl";import { useRouter } from "next/navigation";-import { Alert, AlertDescription, AlertTitle } from "../ui/alert";import { Button } from "../ui/button";-import { PlanCard } from "./components/PlanCard";+import { InvoicesSection } from "./components/InvoicesSection";+import { PlanSection } from "./components/PlanSection";interface ExpiredTrialPlanProps {message?: string;@@ -13,23 +13,19 @@ export function ExpiredTrialPlan({ message }: ExpiredTrialPlanProps) {const t = useExtracted();const router = useRouter();- const defaultMessage = t("Your 14-day free trial has ended. You need to subscribe to continue tracking visits again.");-return (- <PlanCard- title={t("Trial Expired")}- description={t("Your free trial has expired. Subscribe to a plan to continue tracking visits again.")}- footer={- <Button onClick={() => router.push("/subscribe")} variant={"success"}>- {t("Subscribe Now")} <ArrowRight className="ml-2 h-4 w-4" />- </Button>- }- >- <Alert className="bg-amber-50 dark:bg-amber-900/20 border-amber-200 dark:border-amber-800">- <AlertTriangle className="h-4 w-4 text-amber-500 dark:text-amber-400" />- <AlertTitle>{t("Subscription Required")}</AlertTitle>- <AlertDescription>{message || defaultMessage}</AlertDescription>- </Alert>- </PlanCard>+ <>+ <PlanSection+ name={t("Trial expired")}+ description={t("Subscription required.")}+ status={message || t("Your free trial has expired. Subscribe to a plan to continue tracking visits again.")}+ action={+ <Button onClick={() => router.push("/subscribe")} variant="success">+ {t("Subscribe now")} <ArrowRight className="h-4 w-4" />+ </Button>+ }+ />+ <InvoicesSection />+ </>);}diff --git a/client/src/components/subscription/FreePlan.tsx b/client/src/components/subscription/FreePlan.tsxindex a87286c02..7102030cc 100644--- a/client/src/components/subscription/FreePlan.tsx+++ b/client/src/components/subscription/FreePlan.tsx@@ -1,16 +1,14 @@-import { authClient } from "@/lib/auth";import { ArrowRight } from "lucide-react";import { useExtracted } from "next-intl";import { useState } from "react";-import { DEFAULT_EVENT_LIMIT } from "../../lib/subscription/constants";-import { useStripeSubscription } from "../../lib/subscription/useStripeSubscription";+import { authClient } from "@/lib/auth";+import { useStripeSubscription } from "@/lib/subscription/useStripeSubscription";import { Button } from "../ui/button";-import { UsageChart } from "../UsageChart";-import { PlanCard } from "./components/PlanCard";+import { InvoicesSection } from "./components/InvoicesSection";import { PlanDialog } from "./components/PlanDialog";-import { UsageLimitAlerts } from "./components/UsageLimitAlerts";-import { UsageCards } from "./components/UsageCards";-import { useUsageStats } from "./components/useUsageStats";+import { PlanAllowances, PlanSection } from "./components/PlanSection";+import { UsageHistorySection } from "./components/UsageHistorySection";+import { UsageSection } from "./components/UsageSection";export function FreePlan() {const t = useExtracted();@@ -19,32 +17,31 @@ export function FreePlan() {const [showPlanDialog, setShowPlanDialog] = useState(false);const organizationId = activeOrg?.id;- const { isNearLimit, isLimitExceeded } = useUsageStats(subscription);if (!subscription) return null;+ const planName = t("Free");+return (- <PlanCard- title={t("Free Plan")}- description={t("You are on the Free plan with up to {limit} pageviews per month.", { limit: DEFAULT_EVENT_LIMIT.toLocaleString() })}- footer={- <Button onClick={() => setShowPlanDialog(true)} variant={"success"}>- {t("Upgrade To Pro")} <ArrowRight className="ml-2 h-4 w-4" />- </Button>- }- >- <UsageLimitAlerts- isLimitExceeded={isLimitExceeded}- isNearLimit={isNearLimit}- exceededMessage={t("You have exceeded your monthly event limit. Please upgrade to a Pro plan to continue collecting analytics.")}+ <>+ <PlanDialog open={showPlanDialog} onOpenChange={setShowPlanDialog} hasActiveSubscription={false} />+ <PlanSection+ name={planName}+ details={<PlanAllowances subscription={subscription} />}+ action={+ <Button onClick={() => setShowPlanDialog(true)} variant="success">+ {t("Upgrade to Pro")} <ArrowRight className="h-4 w-4" />+ </Button>+ }/>- <UsageCards />- {organizationId && <UsageChart organizationId={organizationId} />}- <PlanDialog- open={showPlanDialog}- onOpenChange={setShowPlanDialog}- hasActiveSubscription={false}+ <UsageSection+ subscription={subscription}+ planName={planName}+ nearLimitHint={t("Consider upgrading to a paid plan for higher limits.")}+ overLimitHint={t("Upgrade to a Pro plan to continue collecting analytics.")}/>- </PlanCard>+ {organizationId && <UsageHistorySection organizationId={organizationId} />}+ <InvoicesSection />+ </>);}diff --git a/client/src/components/subscription/OverridePlan.tsx b/client/src/components/subscription/OverridePlan.tsxindex 5107669ad..81d4e8ea6 100644--- a/client/src/components/subscription/OverridePlan.tsx+++ b/client/src/components/subscription/OverridePlan.tsx@@ -1,13 +1,22 @@-import { authClient } from "@/lib/auth";-import { Shield } from "lucide-react";import { useExtracted } from "next-intl";-import { useStripeSubscription } from "../../lib/subscription/useStripeSubscription";-import { UsageChart } from "../UsageChart";-import { getPlanType } from "../../lib/stripe";-import { PlanCard } from "./components/PlanCard";-import { UsageLimitAlerts } from "./components/UsageLimitAlerts";-import { UsageCards } from "./components/UsageCards";-import { useUsageStats } from "./components/useUsageStats";+import { authClient } from "@/lib/auth";+import { getPlanType } from "@/lib/stripe";+import { useStripeSubscription } from "@/lib/subscription/useStripeSubscription";+import { InvoicesSection } from "./components/InvoicesSection";+import { PlanAllowances, PlanSection } from "./components/PlanSection";+import { UsageHistorySection } from "./components/UsageHistorySection";+import { UsageSection } from "./components/UsageSection";++function formatPlanName(name: string) {+ const eventMatch = name.match(/(\d+)(k|m)/i);+ if (!eventMatch) return name;++ const num = parseInt(eventMatch[1]);+ const unit = eventMatch[2].toLowerCase();+ const events = unit === "m" ? `${num}M` : `${num}K`;++ return `${getPlanType(name)} ${events}`;+}export function OverridePlan() {const t = useExtracted();@@ -15,39 +24,27 @@ export function OverridePlan() {const { data: activeOrg } = authClient.useActiveOrganization();const organizationId = activeOrg?.id;- const { isNearLimit, isLimitExceeded } = useUsageStats(subscription);if (!subscription) return null;- const formatPlanName = (name: string) => {- const eventMatch = name.match(/(\d+)(k|m)/i);- if (!eventMatch) return name;-- const num = parseInt(eventMatch[1]);- const unit = eventMatch[2].toLowerCase();- const events = unit === "m" ? `${num}M` : `${num}K`;-- return `${getPlanType(name)} ${events}`;- };+ const planName = formatPlanName(subscription.planName);+ const supportHint = t("Contact support if you need more capacity.");return (- <PlanCard- title={- <>- <Shield className="h-5 w-5" />- {t("{plan} Plan", { plan: formatPlanName(subscription.planName) })}- </>- }- description={t("You have a custom plan with up to {limit} pageviews per month.", { limit: subscription?.eventLimit.toLocaleString() })}- >- <UsageLimitAlerts- isLimitExceeded={isLimitExceeded}- isNearLimit={isNearLimit}- exceededMessage={t("You have exceeded your monthly event limit. Please contact support for assistance.")}- nearLimitMessage={t("You are approaching your monthly event limit. Please contact support if you need more capacity.")}+ <>+ <PlanSection+ name={planName}+ description={t("Arranged with Rybbit. Contact support to change it.")}+ details={<PlanAllowances subscription={subscription} />}+ />+ <UsageSection+ subscription={subscription}+ planName={planName}+ nearLimitHint={supportHint}+ overLimitHint={supportHint}/>- <UsageCards />- {organizationId && <UsageChart organizationId={organizationId} />}- </PlanCard>+ {organizationId && <UsageHistorySection organizationId={organizationId} />}+ <InvoicesSection />+ </>);}diff --git a/client/src/components/subscription/PaidPlain/PaidPlan.tsx b/client/src/components/subscription/PaidPlain/PaidPlan.tsxindex 5c93b7f38..df06c9341 100644--- a/client/src/components/subscription/PaidPlain/PaidPlan.tsx+++ b/client/src/components/subscription/PaidPlain/PaidPlan.tsx@@ -1,22 +1,28 @@-import { Clock, Shield } from "lucide-react";+import { ExternalLink } from "lucide-react";+import { useExtracted, useLocale } from "next-intl";import { useState } from "react";+import { DangerRow, DangerZone, LedgerRow, LedgerRows, LedgerSection } from "@/app/settings/components/Ledger";+import { Alert } from "@/components/ui/alert";+import { Button } from "@/components/ui/button";import { toast } from "@/components/ui/sonner";-import { Alert, AlertDescription, AlertTitle } from "../../ui/alert";-import { Button } from "../../ui/button";-import { Card, CardContent } from "../../ui/card";-import { BACKEND_URL } from "../../../lib/const";-import { getPlanType, getStripePrices } from "../../../lib/stripe";-import { formatDate } from "../../../lib/subscription/planUtils";-import { useStripeSubscription } from "../../../lib/subscription/useStripeSubscription";-import { UsageChart } from "../../UsageChart";import { authClient } from "@/lib/auth";-import { InvoicesCard } from "../components/InvoicesCard";-import { UsageCards } from "../components/UsageCards";-import { CancellationDialog } from "./CancellationDialog";+import { BACKEND_URL } from "@/lib/const";+import { getPlanType, getStripePrices } from "@/lib/stripe";+import { useStripeSubscription } from "@/lib/subscription/useStripeSubscription";+import { InvoicesSection } from "../components/InvoicesSection";import { PlanDialog } from "../components/PlanDialog";+import { PlanAllowances, PlanSection } from "../components/PlanSection";+import { UsageHistorySection } from "../components/UsageHistorySection";+import { UsageSection } from "../components/UsageSection";+import { CancellationDialog } from "./CancellationDialog";++const DANGER_BUTTON =+ "text-red-600 hover:bg-red-500/10 hover:text-red-600 dark:text-red-400 dark:hover:bg-red-500/10 dark:hover:text-red-400";export function PaidPlan() {- const { data: activeSubscription, isLoading, error: subscriptionError, refetch } = useStripeSubscription();+ const t = useExtracted();+ const locale = useLocale();+ const { data: activeSubscription } = useStripeSubscription();const { data: activeOrg } = authClient.useActiveOrganization();const organizationId = activeOrg?.id;@@ -26,29 +32,9 @@ export function PaidPlan() {const [showPlanDialog, setShowPlanDialog] = useState(false);const [showCancellationDialog, setShowCancellationDialog] = useState(false);- const isTrial = !!activeSubscription?.isTrial;- const trialDaysRemaining = activeSubscription?.trialDaysRemaining || 0;-- const eventLimit = activeSubscription?.eventLimit || 0;- const currentUsage = activeSubscription?.monthlyEventCount || 0;- const isAnnualPlan = activeSubscription?.interval === "year";-- const stripePlan = getStripePrices().find(p => p.name === activeSubscription?.planName);-- const planType = activeSubscription ? getPlanType(activeSubscription.planName) : null;-- const currentPlanDetails = activeSubscription- ? {- id: planType,- name: planType,- price: `$${stripePlan?.price}`,- interval: stripePlan?.interval,- }- : null;-const createPortalSession = async (flowType?: string) => {if (!organizationId) {- toast.error("No organization selected");+ toast.error(t("No organization selected"));return;}@@ -71,18 +57,19 @@ export function PaidPlan() {const data = await response.json();if (!response.ok) {- throw new Error(data.error || "Failed to create portal session.");+ throw new Error(data.error || t("Failed to create portal session."));}if (data.portalUrl) {window.location.href = data.portalUrl;} else {- throw new Error("Portal URL not received.");+ throw new Error(t("Portal URL not received."));}} catch (err: any) {console.error("Portal Session Error:", err);- setActionError(err.message || "Could not open billing portal.");- toast.error(`Error: ${err.message || "Could not open billing portal."}`);+ const message = err.message || t("Could not open billing portal.");+ setActionError(message);+ toast.error(t("Error: {message}", { message }));} finally {setIsProcessing(false);}@@ -91,41 +78,79 @@ export function PaidPlan() {const handleChangePlan = () => setShowPlanDialog(true);const handleCancelSubscription = () => setShowCancellationDialog(true);- const getFormattedPrice = () => {- if (!currentPlanDetails) return "$0/month";- return `${currentPlanDetails.price}/${currentPlanDetails.interval === "year" ? "year" : "month"}`;- };+ if (!activeSubscription) {+ return null;+ }- const formatRenewalDate = () => {- if (!activeSubscription?.currentPeriodEnd) return "N/A";- const formattedDate = formatDate(activeSubscription.currentPeriodEnd);+ const isTrial = !!activeSubscription.isTrial;+ const trialDaysRemaining = activeSubscription.trialDaysRemaining || 0;+ const isAnnualPlan = activeSubscription.interval === "year";++ const stripePlan = getStripePrices().find(p => p.name === activeSubscription.planName);+ const planType = getPlanType(activeSubscription.planName);+ const planName = stripePlan ? `${planType} ${stripePlan.shortName}` : planType;++ const priceAmount = stripePlan+ ? new Intl.NumberFormat(locale, { style: "currency", currency: "USD", minimumFractionDigits: 0 }).format(+ stripePlan.price+ )+ : null;+ const price = priceAmount+ ? stripePlan?.interval === "year"+ ? t("{price}/year", { price: priceAmount })+ : t("{price}/month", { price: priceAmount })+ : null;+ const periodEnd = activeSubscription.currentPeriodEnd+ ? new Intl.DateTimeFormat(locale, { dateStyle: "medium" }).format(new Date(activeSubscription.currentPeriodEnd))+ : null;++ // What happens at the end of the current period, trial status folded in.+ const getStatusLine = () => {+ if (!periodEnd) return null;if (activeSubscription.cancelAtPeriodEnd) {- return `Cancels on ${formattedDate}`;+ return t("Cancels on {date}.", { date: periodEnd });}if (activeSubscription.status === "trialing") {- return `Trial ends on ${formattedDate}`;+ return trialDaysRemaining > 0+ ? t("Your trial ends in {count, plural, one {# day} other {# days}}, on {date}.", {+ count: trialDaysRemaining,+ date: periodEnd,+ })+ : t("Your trial ends today. Upgrade to continue tracking.");}if (activeSubscription.status === "active") {- return isAnnualPlan ? `Renews annually on ${formattedDate}` : `Renews monthly on ${formattedDate}`;+ return isAnnualPlan+ ? t("Renews annually on {date}.", { date: periodEnd })+ : t("Renews monthly on {date}.", { date: periodEnd });}- return `Status: ${activeSubscription.status}, ends/renews ${formattedDate}`;+ return t("Status: {status}. Ends or renews on {date}.", { status: activeSubscription.status, date: periodEnd });};- if (!activeSubscription) {- return null;- }+ const getCancelConsequence = () => {+ const after = t(+ "After that this organization has no plan, and its sites stop collecting new events. Data already collected is kept."+ );+ if (!periodEnd) return after;+ if (activeSubscription.cancelAtPeriodEnd) {+ return `${t("{plan} is already set to cancel on {date}.", { plan: planName, date: periodEnd })} ${after}`;+ }+ if (isTrial) {+ return `${t("Your trial stays active until {date} and you won't be charged.", { date: periodEnd })} ${after}`;+ }+ return `${t("{plan} stays active until {date} and you won't be charged again.", { plan: planName, date: periodEnd })} ${after}`;+ };return (- <div className="space-y-6">+ <>{actionError && <Alert variant="destructive">{actionError}</Alert>}<PlanDialogopen={showPlanDialog}onOpenChange={setShowPlanDialog}- currentPlanName={activeSubscription?.planName}- hasActiveSubscription={!!activeSubscription}+ currentPlanName={activeSubscription.planName}+ hasActiveSubscription/>- {activeSubscription && organizationId && (+ {organizationId && (<CancellationDialogopen={showCancellationDialog}onOpenChange={setShowCancellationDialog}@@ -135,90 +160,74 @@ export function PaidPlan() {onChangePlan={handleChangePlan}/>)}- <Card>- <CardContent>- <div className="space-y-6 mt-3 p-2">- <div className="flex justify-between items-start">- <div className="space-y-1">- <p className="text-3xl font-bold">{currentPlanDetails?.name || activeSubscription.planName} </p>- <p className="text text-neutral-600 dark:text-neutral-300">- {getFormattedPrice()} • {activeSubscription.eventLimit.toLocaleString()} events- </p>- {isAnnualPlan && (- <div className="mt-2 text-sm text-emerald-400">- <p>You save by paying annually (4 months free)</p>- </div>- )}- <p className="text-neutral-400 text-sm">{formatRenewalDate()}</p>- </div>- <div className="space-x-2">- <Button- variant="outline"- onClick={() => createPortalSession("payment_method_update")}- disabled={isProcessing}- >- Manage Payment Details- </Button>- <Button variant="success" onClick={handleChangePlan}>- Change Plan- </Button>- </div>- </div>- {currentUsage >= eventLimit && (- <div className="mt-4 p-3 bg-amber-50 dark:bg-amber-900/20 rounded-md border border-amber-200 dark:border-amber-800">- <div className="flex items-center justify-between">- <p className="text-sm text-amber-700 dark:text-amber-300">- <strong>Usage limit reached!</strong> You've exceeded your plan's event limit.- </p>- <Button variant="success" size="sm" onClick={handleChangePlan}>- Upgrade Plan- </Button>- </div>- </div>- )}- <UsageCards />-- {organizationId && <UsageChart organizationId={organizationId} />}-- {isTrial && (- <Alert className="bg-blue-50 dark:bg-blue-900/20 border-blue-200 dark:border-blue-800">- <Clock className="h-4 w-4 text-blue-500 dark:text-blue-400" />- <AlertTitle>Trial Status</AlertTitle>- <AlertDescription>- {trialDaysRemaining > 0 ? (- <>Your trial ends in <strong>{trialDaysRemaining} days</strong> on {formatDate(activeSubscription.currentPeriodEnd)}.</>- ) : (- <>Your trial ends today. Upgrade to continue tracking.</>- )}- </AlertDescription>- </Alert>- )}-- {isAnnualPlan && !isTrial && (- <div className="pt-2 pb-0 px-3 bg-emerald-50 dark:bg-emerald-900/20 rounded-md border border-emerald-100 dark:border-emerald-800">- <p className="text-sm text-emerald-700 dark:text-emerald-300 py-2">- <strong>Annual Billing:</strong> You're on annual billing which saves you money compared to monthly- billing. Your subscription will renew once per year on{" "}- {formatDate(activeSubscription.currentPeriodEnd)}.- </p>- </div>- )}-- <div className="flex justify-end pt-2 border-t border-neutral-200 dark:border-neutral-800">++ <PlanSection+ name={planName}+ price={price}+ description={+ isTrial ? t("Free trial.") : isAnnualPlan ? t("Billed annually, 4 months free.") : t("Billed monthly.")+ }+ status={getStatusLine()}+ details={<PlanAllowances subscription={activeSubscription} />}+ action={+ <Button variant="success" onClick={handleChangePlan}>+ {t("Change plan")}+ </Button>+ }+ />++ <UsageSection+ subscription={activeSubscription}+ planName={planType}+ overLimitAction={+ <Button variant="success" size="sm" onClick={handleChangePlan}>+ {t("Upgrade plan")}+ </Button>+ }+ />++ {organizationId && <UsageHistorySection organizationId={organizationId} />}++ <LedgerSection title={t("Payment")}>+ <LedgerRows>+ <LedgerRow label={t("Payment method")} description={t("Charged on each renewal.")}>+ <div className="flex min-h-9 flex-wrap items-center gap-x-3 gap-y-2">+ <p className="text-sm text-neutral-700 dark:text-neutral-300">+ {t("Your card and billing email are managed in Stripe.")}+ </p><Button- variant="ghost"- onClick={handleCancelSubscription}+ variant="outline"+ className="sm:ml-auto"+ onClick={() => createPortalSession("payment_method_update")}disabled={isProcessing}- size="sm"- className="dark:hover:bg-red-700/60">- {isTrial ? "Cancel Trial" : "Cancel Subscription"}+ {t("Manage in Stripe")}+ <ExternalLink aria-hidden className="size-3.5" /></Button></div>- </div>- </CardContent>- </Card>- <InvoicesCard />- </div >+ </LedgerRow>+ </LedgerRows>+ </LedgerSection>++ <InvoicesSection />++ <DangerZone>+ <DangerRow+ label={isTrial ? t("Cancel trial") : t("Cancel subscription")}+ description={isTrial ? t("Takes effect when the trial ends.") : t("Takes effect when the period ends.")}+ consequence={getCancelConsequence()}+ action={+ <Button+ variant="ghost"+ onClick={handleCancelSubscription}+ disabled={isProcessing}+ className={DANGER_BUTTON}+ >+ {isTrial ? t("Cancel trial") : t("Cancel subscription")}+ </Button>+ }+ />+ </DangerZone>+ </>);}diff --git a/client/src/components/subscription/components/InvoicesCard.tsx b/client/src/components/subscription/components/InvoicesCard.tsxdeleted file mode 100644index 2e780cf66..000000000--- a/client/src/components/subscription/components/InvoicesCard.tsx+++ /dev/null@@ -1,131 +0,0 @@-import { authClient } from "@/lib/auth";-import { useQuery } from "@tanstack/react-query";-import { ExternalLink } from "lucide-react";-import { useExtracted, useLocale } from "next-intl";-import { authedFetch } from "../../../api/utils";-import { IS_CLOUD } from "../../../lib/const";-import { Badge } from "../../ui/badge";-import { Card, CardContent, CardHeader, CardTitle } from "../../ui/card";--interface Invoice {- id: string;- number: string | null;- status: string | null;- amountDue: number;- amountPaid: number;- currency: string;- created: number;- periodStart: number;- periodEnd: number;- hostedInvoiceUrl: string | null;- invoicePdf: string | null;-}--function useInvoices() {- const { data: activeOrg } = authClient.useActiveOrganization();-- return useQuery<Invoice[]>({- queryKey: ["stripe-invoices", activeOrg?.id],- queryFn: () => authedFetch<Invoice[]>(`/stripe/invoices?organizationId=${activeOrg!.id}`),- enabled: !!activeOrg && IS_CLOUD,- staleTime: 5 * 60 * 1000,- });-}--function formatCurrency(amount: number, currency: string, locale: string) {- return new Intl.NumberFormat(locale, {- style: "currency",- currency: currency.toUpperCase(),- }).format(amount / 100);-}--function formatDate(timestamp: number, locale: string) {- return new Date(timestamp * 1000).toLocaleDateString(locale, {- year: "numeric",- month: "short",- day: "numeric",- });-}--const statusVariants: Record<string, "success" | "warning" | "secondary" | "destructive"> = {- paid: "success",- open: "warning",- void: "secondary",- uncollectible: "destructive",- draft: "secondary",-};--export function InvoicesCard() {- const t = useExtracted();-- function getStatusLabel(status: string | null): string {- switch (status) {- case "paid":- return t("Paid");- case "open":- return t("Open");- case "void":- return t("Void");- case "uncollectible":- return t("Uncollectible");- case "draft":- return t("Draft");- default:- return status ?? "";- }- }- const locale = useLocale();- const { data: invoices, isLoading } = useInvoices();-- if (isLoading || !invoices || invoices.length === 0) {- return null;- }-- return (- <Card>- <CardHeader>- <CardTitle>{t("Invoices")}</CardTitle>- </CardHeader>- <CardContent>- <div className="overflow-x-auto">- <table className="w-full text-sm">- <thead>- <tr className="border-b border-neutral-200 dark:border-neutral-800">- <th className="text-left py-2 pr-4 font-medium text-muted-foreground">{t("Date")}</th>- <th className="text-left py-2 pr-4 font-medium text-muted-foreground">{t("Status")}</th>- <th className="text-right py-2 pr-4 font-medium text-muted-foreground">{t("Amount")}</th>- <th className="text-right py-2 font-medium text-muted-foreground"></th>- </tr>- </thead>- <tbody>- {invoices.map((invoice) => (- <tr key={invoice.id} className="border-b border-neutral-200/50 dark:border-neutral-800/50 last:border-0">- <td className="py-2.5 pr-4">{formatDate(invoice.created, locale)}</td>- <td className="py-2.5 pr-4">- <Badge variant={statusVariants[invoice.status ?? ""] ?? "secondary"}>- {getStatusLabel(invoice.status)}- </Badge>- </td>- <td className="py-2.5 pr-4 text-right">{formatCurrency(invoice.amountPaid || invoice.amountDue, invoice.currency, locale)}</td>- <td className="py-2.5 text-right">- {invoice.hostedInvoiceUrl && (- <a- href={invoice.hostedInvoiceUrl}- target="_blank"- rel="noopener noreferrer"- className="inline-flex items-center gap-1 text-sm transition-colors hover:underline"- >- {t("View")}- <ExternalLink className="h-4 w-4" />- </a>- )}- </td>- </tr>- ))}- </tbody>- </table>- </div>- </CardContent>- </Card>- );-}diff --git a/client/src/components/subscription/components/InvoicesSection.tsx b/client/src/components/subscription/components/InvoicesSection.tsxnew file mode 100644index 000000000..140aa8f7a--- /dev/null+++ b/client/src/components/subscription/components/InvoicesSection.tsx@@ -0,0 +1,131 @@+import { useQuery } from "@tanstack/react-query";+import { ExternalLink } from "lucide-react";+import { useExtracted, useLocale } from "next-intl";+import { authedFetch } from "@/api/utils";+import { LedgerSection, LedgerTable } from "@/app/settings/components/Ledger";+import { Button } from "@/components/ui/button";+import { authClient } from "@/lib/auth";+import { IS_CLOUD } from "@/lib/const";+import { cn } from "@/lib/utils";++interface Invoice {+ id: string;+ number: string | null;+ status: string | null;+ amountDue: number;+ amountPaid: number;+ currency: string;+ created: number;+ periodStart: number;+ periodEnd: number;+ hostedInvoiceUrl: string | null;+ invoicePdf: string | null;+}++function useInvoices() {+ const { data: activeOrg } = authClient.useActiveOrganization();++ return useQuery<Invoice[]>({+ queryKey: ["stripe-invoices", activeOrg?.id],+ queryFn: () => authedFetch<Invoice[]>(`/stripe/invoices?organizationId=${activeOrg!.id}`),+ enabled: !!activeOrg && IS_CLOUD,+ staleTime: 5 * 60 * 1000,+ });+}++const STATUS_DOT: Record<string, string> = {+ paid: "bg-accent-500",+ open: "bg-yellow-500",+ uncollectible: "bg-red-500",+};++const TH = "py-2 pr-4 text-left text-xs font-medium text-neutral-500 dark:text-neutral-400";+const TD = "py-3 pr-4";++/** The organization's Stripe invoices as a ruled table. Hidden while loading, on error and when there are none. */+export function InvoicesSection() {+ const t = useExtracted();+ const locale = useLocale();+ const { data: invoices, isLoading } = useInvoices();++ function getStatusLabel(status: string | null): string {+ switch (status) {+ case "paid":+ return t("Paid");+ case "open":+ return t("Open");+ case "void":+ return t("Void");+ case "uncollectible":+ return t("Uncollectible");+ case "draft":+ return t("Draft");+ default:+ return status ?? "";+ }+ }++ if (isLoading || !invoices || invoices.length === 0) {+ return null;+ }++ const date = new Intl.DateTimeFormat(locale, { year: "numeric", month: "short", day: "numeric" });++ return (+ <LedgerSection title={t("Invoices")} count={invoices.length}>+ <LedgerTable>+ <table className="w-full min-w-[480px] text-sm">+ <thead>+ <tr className="border-b border-neutral-100 dark:border-neutral-850">+ <th className={TH}>{t("Date")}</th>+ <th className={TH}>{t("Invoice")}</th>+ <th className={cn(TH, "text-right")}>{t("Amount")}</th>+ <th className={TH}>{t("Status")}</th>+ <th className={TH}>+ <span className="sr-only">{t("View")}</span>+ </th>+ </tr>+ </thead>+ <tbody className="divide-y divide-neutral-100 dark:divide-neutral-850">+ {invoices.map(invoice => (+ <tr key={invoice.id}>+ <td className={cn(TD, "whitespace-nowrap tabular-nums")}>{date.format(invoice.created * 1000)}</td>+ <td className={cn(TD, "tabular-nums text-neutral-500 dark:text-neutral-400")}>+ {invoice.number ?? "—"}+ </td>+ <td className={cn(TD, "whitespace-nowrap text-right font-medium tabular-nums")}>+ {new Intl.NumberFormat(locale, {+ style: "currency",+ currency: invoice.currency.toUpperCase(),+ }).format((invoice.amountPaid || invoice.amountDue) / 100)}+ </td>+ <td className={TD}>+ <span className="inline-flex items-center gap-1.5 whitespace-nowrap text-neutral-700 dark:text-neutral-300">+ <span+ aria-hidden+ className={cn(+ "size-1.5 shrink-0 rounded-full",+ STATUS_DOT[invoice.status ?? ""] ?? "bg-neutral-400 dark:bg-neutral-600"+ )}+ />+ {getStatusLabel(invoice.status)}+ </span>+ </td>+ <td className="py-2 text-right">+ {invoice.hostedInvoiceUrl && (+ <Button asChild variant="ghost" size="xs" className="-mr-1.5 [&_svg]:size-3">+ <a href={invoice.hostedInvoiceUrl} target="_blank" rel="noopener noreferrer">+ {t("View")}+ <ExternalLink aria-hidden />+ </a>+ </Button>+ )}+ </td>+ </tr>+ ))}+ </tbody>+ </table>+ </LedgerTable>+ </LedgerSection>+ );+}diff --git a/client/src/components/subscription/components/PlanCard.tsx b/client/src/components/subscription/components/PlanCard.tsxdeleted file mode 100644index f29946b8f..000000000--- a/client/src/components/subscription/components/PlanCard.tsx+++ /dev/null@@ -1,28 +0,0 @@-import { ReactNode } from "react";-import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "../../ui/card";-import { InvoicesCard } from "./InvoicesCard";--interface PlanCardProps {- title: ReactNode;- description: ReactNode;- children: ReactNode;- footer?: ReactNode;-}--export function PlanCard({ title, description, children, footer }: PlanCardProps) {- return (- <div className="space-y-6">- <Card>- <CardHeader>- <CardTitle className="flex items-center gap-2">{title}</CardTitle>- <CardDescription>{description}</CardDescription>- </CardHeader>- <CardContent>- <div className="space-y-6">{children}</div>- </CardContent>- {footer && <CardFooter>{footer}</CardFooter>}- </Card>- <InvoicesCard />- </div>- );-}diff --git a/client/src/components/subscription/components/PlanSection.tsx b/client/src/components/subscription/components/PlanSection.tsxnew file mode 100644index 000000000..e7db87222--- /dev/null+++ b/client/src/components/subscription/components/PlanSection.tsx@@ -0,0 +1,75 @@+import { useExtracted, useLocale } from "next-intl";+import { LedgerRow, LedgerRows, LedgerSection } from "@/app/settings/components/Ledger";+import { DEFAULT_EVENT_LIMIT } from "@/lib/subscription/constants";+import { SubscriptionData } from "@/lib/subscription/useStripeSubscription";+import { useOrgUsage } from "./useOrgUsage";++/** The billing page's opening section: one "Current plan" row with the plan, its status and its action. */+export function PlanSection({+ name,+ price,+ description,+ status,+ details,+ action,+}: {+ name: React.ReactNode;+ /** e.g. "$99/month", set beside the name. */+ price?: React.ReactNode;+ /** Under the row label, e.g. how the plan is billed. */+ description?: React.ReactNode;+ /** What happens next: renewal, trial end, cancellation. */+ status?: React.ReactNode;+ /** What the plan includes. */+ details?: React.ReactNode;+ action?: React.ReactNode;+}) {+ const t = useExtracted();++ return (+ <LedgerSection title={t("Plan")}>+ <LedgerRows>+ <LedgerRow label={t("Current plan")} description={description}>+ <div className="flex min-h-9 flex-wrap items-center gap-x-3 gap-y-2">+ <span className="text-base font-semibold tracking-tight">{name}</span>+ {price && <span className="text-sm tabular-nums text-neutral-600 dark:text-neutral-300">{price}</span>}+ {action && <div className="ml-auto flex shrink-0 items-center gap-2">{action}</div>}+ </div>+ {status && (+ <p className="mt-1 max-w-[62ch] text-sm leading-5 text-neutral-700 dark:text-neutral-300">{status}</p>+ )}+ {details && (+ <p className="mt-0.5 max-w-[62ch] text-xs leading-4 text-neutral-500 dark:text-neutral-400">{details}</p>+ )}+ </LedgerRow>+ </LedgerRows>+ </LedgerSection>+ );+}++/** One line listing what a plan includes: events a month, sites, members and org API requests a day. */+export function PlanAllowances({ subscription }: { subscription: SubscriptionData }) {+ const t = useExtracted();+ const locale = useLocale();+ const { apiUsage } = useOrgUsage();+ const number = new Intl.NumberFormat(locale);++ const parts = [t("{count} events a month", { count: number.format(subscription.eventLimit || DEFAULT_EVENT_LIMIT) })];+ if (subscription.siteLimit == null && subscription.memberLimit == null) {+ parts.push(t("unlimited sites and members"));+ } else {+ parts.push(+ subscription.siteLimit == null+ ? t("unlimited sites")+ : t("{count, plural, one {# site} other {# sites}}", { count: subscription.siteLimit }),+ subscription.memberLimit == null+ ? t("unlimited members")+ : t("{count, plural, one {# member} other {# members}}", { count: subscription.memberLimit })+ );+ }+ if (apiUsage) {+ parts.push(t("{count} org API requests a day", { count: number.format(apiUsage.dailyLimit) }));+ }++ return <>{parts.join(" · ")}</>;+}diff --git a/client/src/components/subscription/components/UsageCards.tsx b/client/src/components/subscription/components/UsageCards.tsxdeleted file mode 100644index 925c85e34..000000000--- a/client/src/components/subscription/components/UsageCards.tsx+++ /dev/null@@ -1,103 +0,0 @@-import { authClient } from "@/lib/auth";-import { useGetSitesFromOrg } from "@/api/admin/hooks/useSites";-import { useOrganizationMembers } from "@/api/admin/hooks/useOrganizationMembers";-import { useOrgApiUsage } from "@/api/admin/hooks/useOrgApiUsage";-import { useStripeSubscription } from "../../../lib/subscription/useStripeSubscription";--interface UsageCardItem {- label: string;- current: number;- limit: number | null;- /** The count could not be read. Shows a placeholder instead of a false zero. */- unavailable?: boolean;-}--function UsageCard({ label, current, limit, unavailable }: UsageCardItem) {- const percentage =- limit === null || unavailable ? 0 : Math.min((current / limit) * 100, 100);- const isExceeded = !unavailable && limit !== null && current >= limit;-- return (- <div className="rounded-lg border p-3 pb-0 overflow-hidden relative">- <div className="text-sm text-muted-foreground">{label}</div>- <div className="text-lg font-semibold mb-3">- {unavailable ? "—" : current.toLocaleString()} /{" "}- {limit === null ? "Unlimited" : limit.toLocaleString()}- </div>- <div className="relative h-1.5 -mx-3">- <div className="bg-neutral-100 dark:bg-neutral-700 h-1.5 w-full absolute bottom-0 left-0"></div>- <div- style={{ width: `${percentage}%` }}- className={`h-1.5 absolute bottom-0 left-0 ${- isExceeded ? "bg-red-500" : "bg-accent-400/75"- }`}- ></div>- </div>- </div>- );-}--// Tailwind only emits classes it can see as literals, so the column count maps-// to a fixed class rather than being interpolated.-const COLUMN_CLASSES: Record<number, string> = {- 3: "lg:grid-cols-3",- 4: "lg:grid-cols-4",-};--export function UsageCards() {- const { data: subscription } = useStripeSubscription();- const { data: activeOrg } = authClient.useActiveOrganization();- const organizationId = activeOrg?.id;-- const { data: sitesData } = useGetSitesFromOrg(organizationId);- const { data: membersData } = useOrganizationMembers(organizationId ?? "");- const { data: apiUsage } = useOrgApiUsage(organizationId);-- if (!subscription) return null;-- // Mirrors the server's gate in createApiKey: free and basic plans can't hold- // API keys, so a quota card would describe a budget they can't spend.- const planName = subscription.planName || "free";- const hasApiAccess = planName !== "free" && !planName.includes("basic");-- const items: UsageCardItem[] = [- {- label: "Events used this month",- current: subscription.monthlyEventCount || 0,- limit: subscription.eventLimit || 0,- },- {- label: "Websites",- current: sitesData?.sites.length ?? 0,- limit: subscription.siteLimit,- },- {- label: "Team Members",- current: membersData?.data?.length ?? 0,- limit: subscription.memberLimit,- },- ];-- // Organization-owned keys only — personal keys are budgeted per user, so- // their usage isn't part of this number.- if (hasApiAccess && apiUsage?.metered) {- items.push({- label: "Org API requests today",- current: apiUsage.dailyUsed,- limit: apiUsage.dailyLimit,- unavailable: !apiUsage.available,- });- }-- return (- <div- className={`grid grid-cols-1 sm:grid-cols-2 gap-4 ${- COLUMN_CLASSES[items.length] ?? "lg:grid-cols-4"- }`}- >- {items.map((item) => (- <UsageCard key={item.label} {...item} />- ))}- </div>- );-}diff --git a/client/src/components/subscription/components/UsageHistorySection.tsx b/client/src/components/subscription/components/UsageHistorySection.tsxnew file mode 100644index 000000000..e0dc9e3a2--- /dev/null+++ b/client/src/components/subscription/components/UsageHistorySection.tsx@@ -0,0 +1,52 @@+import { useExtracted, useLocale } from "next-intl";+import { useState } from "react";+import { useGetOrgEventCount } from "@/api/analytics/hooks/useGetOrgEventCount";+import { LedgerSection } from "@/app/settings/components/Ledger";+import { EventUsageChart } from "@/components/EventUsageChart";+import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";+import { getPeriodDates, PERIODS, PeriodValue } from "@/components/UsageChart";++/** Daily events for the organization, flat in the page, with UsageChart's range control in the section header. */+export function UsageHistorySection({ organizationId }: { organizationId: string }) {+ const t = useExtracted();+ const locale = useLocale();+ const [period, setPeriod] = useState<PeriodValue>("30");++ const { startDate, endDate } = getPeriodDates(period);+ const { data, isLoading, error } = useGetOrgEventCount({+ organizationId,+ startDate,+ endDate,+ timeZone: "UTC",+ });++ const totalEvents = data?.data?.reduce((acc, e) => acc + e.event_count, 0);++ return (+ <LedgerSection+ title={t("Usage history")}+ description={+ totalEvents === undefined+ ? undefined+ : t("{count} events in this range, across all sites.", {+ count: new Intl.NumberFormat(locale).format(totalEvents),+ })+ }+ actions={+ <Tabs value={period} onValueChange={v => setPeriod(v as PeriodValue)}>+ <TabsList className="h-7" aria-label={t("Range")}>+ {PERIODS.map(p => (+ <TabsTrigger key={p.value} value={p.value} className="px-2 py-0.5 text-xs">+ {p.value === "all" ? t("All") : p.label}+ </TabsTrigger>+ ))}+ </TabsList>+ </Tabs>+ }+ >+ <div className="border-y border-neutral-100 py-4 dark:border-neutral-850">+ <EventUsageChart data={data?.data} isLoading={isLoading} error={error} maxTickCount={6} />+ </div>+ </LedgerSection>+ );+}diff --git a/client/src/components/subscription/components/UsageLimitAlerts.tsx b/client/src/components/subscription/components/UsageLimitAlerts.tsxdeleted file mode 100644index 247252fb0..000000000--- a/client/src/components/subscription/components/UsageLimitAlerts.tsx+++ /dev/null@@ -1,47 +0,0 @@-import { AlertTriangle } from "lucide-react";-import { useExtracted } from "next-intl";-import { Alert, AlertDescription, AlertTitle } from "../../ui/alert";--interface UsageLimitAlertsProps {- isLimitExceeded: boolean;- isNearLimit: boolean;- exceededMessage?: string;- nearLimitMessage?: string;-}--export function UsageLimitAlerts({- isLimitExceeded,- isNearLimit,- exceededMessage,- nearLimitMessage,-}: UsageLimitAlertsProps) {- const t = useExtracted();-- if (isLimitExceeded) {- return (- <Alert className="bg-red-50 dark:bg-red-900/20 border-red-200 dark:border-red-800">- <AlertTriangle className="h-4 w-4 text-red-500 dark:text-red-400" />- <AlertTitle>{t("Event Limit Exceeded")}</AlertTitle>- <AlertDescription>- {exceededMessage ||- t("You have exceeded your monthly event limit. Please upgrade to a Pro plan to continue collecting analytics.")}- </AlertDescription>- </Alert>- );- }-- if (isNearLimit) {- return (- <Alert className="bg-amber-50 dark:bg-amber-900/20 border-amber-200 dark:border-amber-800">- <AlertTriangle className="h-4 w-4 text-amber-500 dark:text-amber-400" />- <AlertTitle>{t("Approaching Limit")}</AlertTitle>- <AlertDescription>- {nearLimitMessage ||- t("You are approaching your monthly event limit. Consider upgrading to a paid plan for higher limits.")}- </AlertDescription>- </Alert>- );- }-- return null;-}diff --git a/client/src/components/subscription/components/UsageSection.tsx b/client/src/components/subscription/components/UsageSection.tsxnew file mode 100644index 000000000..b66159ec5--- /dev/null+++ b/client/src/components/subscription/components/UsageSection.tsx@@ -0,0 +1,239 @@+import { AlertTriangle } from "lucide-react";+import { DateTime } from "luxon";+import { useExtracted, useLocale } from "next-intl";+import { LedgerRow, LedgerRows, LedgerSection } from "@/app/settings/components/Ledger";+import { DEFAULT_EVENT_LIMIT } from "@/lib/subscription/constants";+import { SubscriptionData } from "@/lib/subscription/useStripeSubscription";+import { cn } from "@/lib/utils";+import { useOrgUsage } from "./useOrgUsage";++type UsageLevel = "normal" | "warn" | "over";++function usageLevel(used: number, limit: number): UsageLevel {+ if (used >= limit) return "over";+ if (used / limit >= 0.8) return "warn";+ return "normal";+}++const METER_FILL: Record<UsageLevel, string> = {+ normal: "bg-dataviz",+ warn: "bg-yellow-500",+ over: "bg-red-500",+};++const LEVEL_TEXT: Record<UsageLevel, string> = {+ normal: "text-neutral-600 dark:text-neutral-300",+ warn: "text-yellow-700 dark:text-yellow-400",+ over: "text-red-600 dark:text-red-400",+};++function UsageMeter({+ label,+ used,+ limit,+ unavailable,+ showPercent = true,+}: {+ /** Accessible name of the meter. */+ label: string;+ used: number;+ limit: number;+ /** The count could not be read: shows a placeholder instead of a false zero. */+ unavailable?: boolean;+ showPercent?: boolean;+}) {+ const t = useExtracted();+ const locale = useLocale();+ const number = new Intl.NumberFormat(locale);+ const percent = new Intl.NumberFormat(locale, { style: "percent", maximumFractionDigits: 0 });++ const level = unavailable ? "normal" : usageLevel(used, limit);+ const ratio = unavailable ? 0 : used / limit;++ return (+ <div>+ <div className="flex items-baseline justify-between gap-3 text-sm leading-5 md:pt-2">+ <span className="tabular-nums text-neutral-500 dark:text-neutral-400">+ {t.rich("<strong>{used}</strong> of {limit}", {+ used: unavailable ? "—" : number.format(used),+ limit: number.format(limit),+ strong: chunks => <span className="font-medium text-neutral-900 dark:text-neutral-50">{chunks}</span>,+ })}+ </span>+ {showPercent && !unavailable && (+ // Rounded down, so 99.6% never reads as a full 100% while there is still room.+ <span className={cn("font-medium tabular-nums", LEVEL_TEXT[level])}>+ {percent.format(Math.floor(ratio * 100) / 100)}+ </span>+ )}+ </div>+ <div+ role="meter"+ aria-label={label}+ aria-valuemin={0}+ aria-valuemax={limit}+ aria-valuenow={unavailable ? undefined : Math.min(used, limit)}+ className="mt-2 h-1.5 overflow-hidden rounded-full bg-neutral-150 dark:bg-neutral-800"+ >+ <div+ className={cn("h-full rounded-full", METER_FILL[level])}+ style={{ width: `${Math.min(ratio, 1) * 100}%` }}+ />+ </div>+ </div>+ );+}++function LimitNote({+ level,+ children,+ action,+}: {+ level: "warn" | "over";+ children: React.ReactNode;+ action?: React.ReactNode;+}) {+ return (+ <div className="mt-2.5 flex flex-wrap items-center gap-x-3 gap-y-2">+ <p className="flex max-w-[68ch] items-start gap-1.5 text-sm leading-5 text-neutral-700 dark:text-neutral-300">+ <AlertTriangle aria-hidden className={cn("mt-0.5 size-3.5 shrink-0", LEVEL_TEXT[level])} />+ <span>{children}</span>+ </p>+ {action}+ </div>+ );+}++function Note({ children }: { children: React.ReactNode }) {+ return <p className="mt-2 text-xs leading-4 text-neutral-500 dark:text-neutral-400">{children}</p>;+}++/**+ * How much of its plan the organization has used this month: events against the monthly limit+ * (with a projection at the current pace), sites, members and today's org API requests.+ */+export function UsageSection({+ subscription,+ planName,+ nearLimitHint,+ overLimitHint,+ overLimitAction,+}: {+ subscription: SubscriptionData;+ /** Shown as "Unlimited on {plan}" for limits the plan doesn't have. */+ planName: string;+ /** Follows the warning when events are near or on pace to reach the limit. */+ nearLimitHint?: React.ReactNode;+ /** Follows the warning once events have reached the limit. */+ overLimitHint?: React.ReactNode;+ /** A control beside the over-limit warning, e.g. to upgrade. */+ overLimitAction?: React.ReactNode;+}) {+ const t = useExtracted();+ const locale = useLocale();+ const { siteCount, memberCount, apiUsage } = useOrgUsage();+ const number = new Intl.NumberFormat(locale);+ const day = new Intl.DateTimeFormat(locale, { month: "short", day: "numeric", timeZone: "UTC" });++ // monthlyEventCount covers the current calendar month in UTC (the usage service's window),+ // not the billing period, so the month and the projection are worked out in UTC too.+ const now = DateTime.utc();+ const monthStart = now.startOf("month");+ const nextMonth = monthStart.plus({ months: 1 });+ const daysInMonth = now.daysInMonth ?? 30;+ const elapsedDays = now.diff(monthStart, "days").days;++ const used = subscription.monthlyEventCount || 0;+ const limit = subscription.eventLimit || DEFAULT_EVENT_LIMIT;+ const level = usageLevel(used, limit);++ // Once a full day is in, extrapolate the month's daily average; only worth saying when the+ // limit would be reached before the count resets.+ let limitDate: DateTime | null = null;+ if (level !== "over" && used > 0 && elapsedDays >= 1) {+ const reachedAt = now.plus({ days: (limit - used) / (used / elapsedDays) });+ if (reachedAt < nextMonth) limitDate = reachedAt;+ }++ const renderCount = (count: number | undefined, countLimit: number | null, label: string) =>+ countLimit == null ? (+ <div className="flex min-h-9 flex-wrap items-center gap-x-3 text-sm">+ <span className="font-medium tabular-nums">{count === undefined ? "—" : number.format(count)}</span>+ <span className="text-neutral-500 dark:text-neutral-400">{t("Unlimited on {plan}", { plan: planName })}</span>+ </div>+ ) : (+ <UsageMeter+ label={label}+ used={count ?? 0}+ limit={countLimit}+ unavailable={count === undefined}+ showPercent={false}+ />+ );++ return (+ <LedgerSection+ title={t("Usage this month")}+ description={t("Events are counted per calendar month in UTC and reset on the 1st.")}+ actions={+ <span className="text-sm tabular-nums text-neutral-500 dark:text-neutral-400">+ {t("{range} · day {day} of {days}", {+ range: day.formatRange(monthStart.toJSDate(), nextMonth.minus({ days: 1 }).toJSDate()),+ day: number.format(now.day),+ days: number.format(daysInMonth),+ })}+ </span>+ }+ >+ <LedgerRows>+ <LedgerRow label={t("Events")} description={t("Pageviews and events across all sites.")}>+ <UsageMeter label={t("Events used this month")} used={used} limit={limit} />+ {level === "over" ? (+ <LimitNote level="over" action={overLimitAction}>+ {t(+ "You've reached this month's limit. Events past it aren't recorded until the count resets on {date}.",+ {+ date: day.format(nextMonth.toJSDate()),+ }+ )}+ {overLimitHint && <> {overLimitHint}</>}+ </LimitNote>+ ) : limitDate ? (+ <LimitNote level="warn">+ {limitDate.hasSame(now, "day")+ ? t("At this pace you'll reach the limit later today.")+ : t("At this pace you'll reach the limit around {date}.", { date: day.format(limitDate.toJSDate()) })}+ {nearLimitHint && <> {nearLimitHint}</>}+ </LimitNote>+ ) : level === "warn" ? (+ <LimitNote level="warn">+ {t("You're close to this month's limit.")}+ {nearLimitHint && <> {nearLimitHint}</>}+ </LimitNote>+ ) : null}+ </LedgerRow>+ <LedgerRow label={t("Sites")} description={t("Websites tracked by this organization.")}>+ {renderCount(siteCount, subscription.siteLimit, t("Sites used"))}+ </LedgerRow>+ <LedgerRow label={t("Members")} description={t("People in this organization.")}>+ {renderCount(memberCount, subscription.memberLimit, t("Member seats used"))}+ </LedgerRow>+ {apiUsage && (+ <LedgerRow label={t("Org API requests today")} description={t("Calls made with organization API keys.")}>+ <UsageMeter+ label={t("Organization API requests today")}+ used={apiUsage.dailyUsed}+ limit={apiUsage.dailyLimit}+ unavailable={!apiUsage.available}+ />+ <Note>+ {apiUsage.available+ ? t("Resets daily.")+ : t("Today's count couldn't be read. The daily limit still applies.")}+ </Note>+ </LedgerRow>+ )}+ </LedgerRows>+ </LedgerSection>+ );+}diff --git a/client/src/components/subscription/components/useOrgUsage.ts b/client/src/components/subscription/components/useOrgUsage.tsnew file mode 100644index 000000000..891360798--- /dev/null+++ b/client/src/components/subscription/components/useOrgUsage.ts@@ -0,0 +1,31 @@+import { useOrgApiUsage } from "@/api/admin/hooks/useOrgApiUsage";+import { useOrganizationMembers } from "@/api/admin/hooks/useOrganizationMembers";+import { useGetSitesFromOrg } from "@/api/admin/hooks/useSites";+import { authClient } from "@/lib/auth";+import { useStripeSubscription } from "@/lib/subscription/useStripeSubscription";++/**+ * What the active organization has used against its plan: site and member counts (undefined+ * until loaded) and today's org API requests.+ */+export function useOrgUsage() {+ const { data: subscription } = useStripeSubscription();+ const { data: activeOrg } = authClient.useActiveOrganization();+ const organizationId = activeOrg?.id;++ const { data: sitesData } = useGetSitesFromOrg(organizationId);+ const { data: membersData } = useOrganizationMembers(organizationId);+ const { data: apiUsage } = useOrgApiUsage(organizationId);++ // Mirrors the server's gate in createApiKey: free and basic plans can't hold API keys, so a+ // quota would describe a budget they can't spend. Only organization-owned keys count here;+ // personal keys are budgeted per user.+ const planName = subscription?.planName || "free";+ const hasApiAccess = planName !== "free" && !planName.includes("basic");++ return {+ siteCount: sitesData?.sites.length,+ memberCount: membersData?.data?.length,+ apiUsage: hasApiAccess && apiUsage?.metered ? apiUsage : undefined,+ };+}diff --git a/client/src/components/subscription/components/useUsageStats.ts b/client/src/components/subscription/components/useUsageStats.tsdeleted file mode 100644index c6428cdfe..000000000--- a/client/src/components/subscription/components/useUsageStats.ts+++ /dev/null@@ -1,16 +0,0 @@-import { DEFAULT_EVENT_LIMIT } from "../../../lib/subscription/constants";--interface SubscriptionData {- monthlyEventCount?: number;- eventLimit?: number;-}--export function useUsageStats(subscription: SubscriptionData | null | undefined) {- const currentUsage = subscription?.monthlyEventCount || 0;- const limit = subscription?.eventLimit || DEFAULT_EVENT_LIMIT;- const percentageUsed = Math.min((currentUsage / limit) * 100, 100);- const isNearLimit = percentageUsed > 80;- const isLimitExceeded = currentUsage >= limit;-- return { currentUsage, limit, percentageUsed, isNearLimit, isLimitExceeded };-}diff --git a/client/src/hooks/useActiveOrgName.ts b/client/src/hooks/useActiveOrgName.tsnew file mode 100644index 000000000..383c24785--- /dev/null+++ b/client/src/hooks/useActiveOrgName.ts@@ -0,0 +1,12 @@+import { useUserOrganizations } from "../api/admin/hooks/useOrganizations";+import { authClient } from "../lib/auth";++/**+ * The active organization's name, from the session and the user's organization list rather than+ * the full-organization fetch, which is slow and can fail for large organizations.+ */+export function useActiveOrgName(): string | undefined {+ const { data: session } = authClient.useSession();+ const { data: organizations } = useUserOrganizations({ enabled: !!session?.user });+ return organizations?.find(org => org.id === session?.session.activeOrganizationId)?.name;+}