iachat/config/locales
Shivam Mishra 3b366f43e6
feat: setup captain limits (#10713)
This pull request introduces several changes to implement and manage
usage limits for the Captain AI service. The key changes include adding
configuration for plan limits, updating error messages, modifying
controllers and models to handle usage limits, and updating tests to
ensure the new functionality works correctly.

## Implementation Checklist

- [x] Ability to configure captain limits per check
- [x] Update response for `usage_limits` to include captain limits
- [x] Methods to increment or reset captain responses limits in the
`limits` column for the `Account` model
- [x] Check documents limit using a count query
- [x] Ensure Captain hand-off if a limit is reached
- [x] Ensure limits are enforced for Copilot Chat
- [x] Ensure limits are reset when stripe webhook comes in 
- [x] Increment usage for FAQ generation and Contact notes
- [x] Ensure documents limit is enforced

These changes ensure that the Captain AI service operates within the defined usage limits for different subscription plans, providing appropriate error messages and handling when limits are exceeded.
2025-01-23 01:23:18 +05:30
..
am.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ar.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
az.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
bg.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ca.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
cs.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
da.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
de.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
devise.am.yml chore: Update translations (#7728) 2023-08-15 13:47:38 -07:00
devise.ar.yml chore: Update translations (#9946) 2024-08-16 14:06:32 +05:30
devise.az.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
devise.bg.yml chore: New Crowdin updates (#3616) 2021-12-19 11:38:02 +05:30
devise.ca.yml
devise.cs.yml
devise.da.yml
devise.de.yml chore: Update translations (#4099) 2022-03-17 20:02:32 +05:30
devise.el.yml
devise.en.yml
devise.es.yml
devise.fa.yml
devise.fi.yml
devise.fr.yml
devise.he.yml chore: Update translations (#6895) 2023-04-17 14:45:49 +05:30
devise.hi.yml
devise.hr.yml chore: Update translations (#9946) 2024-08-16 14:06:32 +05:30
devise.hu.yml
devise.hy.yml chore: Update translations 2023-03-08 14:00:00 +05:30
devise.id.yml
devise.is.yml chore: Update translations from Crowdin (#5810) 2022-11-08 09:36:24 -08:00
devise.it.yml chore: Update to the latest translations (#3923) 2022-02-07 17:19:34 +05:30
devise.ja.yml
devise.ka.yml chore: Enable Thai language (th), update translations (#5095) 2022-07-26 09:52:59 +05:30
devise.ko.yml chore: Update translations from Crowdin (#5810) 2022-11-08 09:36:24 -08:00
devise.lt.yml chore: Update translations (#7347) 2023-06-19 17:27:43 +05:30
devise.lv.yml chore: Update translations from Crowdin (#5523) 2022-09-28 21:59:41 -07:00
devise.ml.yml chore: Update to the latest translations (#3923) 2022-02-07 17:19:34 +05:30
devise.ms.yml chore: New Translation updates (#5287) 2022-08-19 13:55:23 +05:30
devise.ne.yml
devise.nl.yml
devise.no.yml
devise.pl.yml
devise.pt_BR.yml
devise.pt.yml
devise.ro.yml chore: Update translations from Crowdin (#4652) 2022-05-09 18:57:05 +05:30
devise.ru.yml
devise.sh.yml chore: Update translations (#6751) 2023-03-27 14:45:50 +05:30
devise.sk.yml chore: New Crowdin updates (#3616) 2021-12-19 11:38:02 +05:30
devise.sl.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
devise.sq.yml chore: Update translations (#8016) 2023-09-29 15:46:29 +05:30
devise.sr.yml chore: Update translations from Crowdin (#5202) 2022-08-08 21:14:50 +05:30
devise.sv.yml
devise.ta.yml
devise.th.yml chore: Update translations from Crowdin (#4652) 2022-05-09 18:57:05 +05:30
devise.tl.yml chore: Update translations from Crowdin (#9835) 2024-07-25 11:58:22 -07:00
devise.tr.yml
devise.uk.yml chore: Update translations from Crowdin (#4652) 2022-05-09 18:57:05 +05:30
devise.ur_IN.yml chore: Update translations from Crowdin (#4665) 2022-05-13 11:38:49 +05:30
devise.ur.yml chore: Update translations from Crowdin (#4652) 2022-05-09 18:57:05 +05:30
devise.vi.yml
devise.zh_CN.yml
devise.zh_TW.yml
devise.zh.yml
el.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
en.yml feat: setup captain limits (#10713) 2025-01-23 01:23:18 +05:30
es.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
fa.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
fi.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
fr.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
he.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
hi.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
hr.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
hu.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
hy.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
id.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
is.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
it.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ja.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ka.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ko.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
lt.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
lv.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ml.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ms.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ne.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
nl.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
no.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
pl.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
pt_BR.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
pt.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ro.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ru.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
secure_password.en.yml
sh.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sk.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sl.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sq.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sr.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
sv.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ta.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
th.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
tl.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
tr.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
uk.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ur_IN.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
ur.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
vi.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
zh_CN.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
zh_TW.yml chore: Update translations (#10549) 2025-01-14 22:00:56 +05:30
zh.yml