Skip to content

fix(i18n): billing strings: API rate limit mislabeled as fee limit, message credits count dropped - #43460

Merged
41tair merged 1 commit into
langgenius:mainfrom
uhhgxg:docs/issue-43459
Nov 7, 2026
Merged

41tair merged 1 commit into
langgenius:mainfrom
uhhgxg:docs/issue-43459

Conversation

@uhhgxg

@uhhgxg uhhgxg commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

Fixes #43459

This PR corrects four Korean (ko-KR) billing strings in web/i18n/locales/ko-KR/billing.json that mislabel the API rate limit as a fee limit and drop the "credits" semantics of message allowances, as reported in #43459:

  1. plansCommon.apiRateLimit: API 요금 한도 (fee limit) → API 요청 한도 (request limit), matching the English source API Rate Limit.
  2. plansCommon.apiRateLimitTooltip: same wording fix within the sentence (요금 한도 → 요청 한도); the rest of the sentence is unchanged.
  3. plansCommon.messageRequest.titlePerMonth: {{count,number}} 메시지/월 → {{count,number}} 메시지 크레딧/월, restoring the English "message credits/month" semantics while preserving the ICU {{count,number}} placeholder.
  4. plansCommon.messageRequest.tooltip: replaced the outdated GPT/OpenAI-only wording (GPT 제외 … (gpt4 제외) … OpenAI API 키) with a translation aligned to the current English source (model-dependent credit consumption across OpenAI, Anthropic, Gemini, xAI, DeepSeek and Tongyi; switch to your own API key once credits are used up).

No code logic is touched; only the four Korean string values change. The non-monthly Korean title already uses 메시지 크레딧, so this also makes the two titles consistent.

Verification: the modified file parses as valid JSON; all four keys were asserted against the expected values, the {{count,number}} placeholder is preserved, and no 요금 한도 / GPT wording remains in the affected strings.

From WorkBuddy (AI-assisted) — this PR was generated and verified with AI assistance, and reviewed line by line by the author.

Screenshots

Before After
Text-only i18n string changes in web/i18n/locales/ko-KR/billing.json; no visual runtime change beyond the corrected copy, so no screenshot is attached.

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've verified the change and added or updated tests where meaningful regression risk justifies coverage.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and vp staged (frontend) to appease the lint gods

…ge credits

- plansCommon.apiRateLimit / apiRateLimitTooltip: 'API 요금 한도' (fee limit) -> 'API 요청 한도' (request limit), matching the English 'API Rate Limit' semantics
- plansCommon.messageRequest.titlePerMonth: restore the 'credits' wording ('{{count,number}} 메시지 크레딧/월'), preserving the ICU placeholder
- plansCommon.messageRequest.tooltip: replace the outdated GPT/OpenAI-only wording with a translation aligned to the current English source

Closes langgenius#43459
@uhhgxg
uhhgxg requested a review from iamjoel as a code owner October 3, 2026 11:19
@github-actions github-actions Bot added web This relates to changes on the web. size:XS This PR changes 0-9 lines, ignoring generated files. labels Oct 3, 2026
@ghfind-review ghfind-review Bot added the review: low ghfind author score; see https://ghfind.com label Oct 3, 2026
@codecov

codecov Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.62%. Comparing base (8222397) to head (46c4b54).
⚠️ Report is 12 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #43460   +/-   ##
=======================================
  Coverage   88.62%   88.62%           
=======================================
  Files        5182     5182           
  Lines      326065   326065           
  Branches    65398    65398           
=======================================
  Hits       288968   288968           
  Misses      31865    31865           
  Partials     5232     5232           
Flag Coverage Δ
dify-ui 92.14% <ø> (ø)
web 88.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@crazywoola crazywoola changed the title [i18n][ko-KR] Fix billing strings: API rate limit mislabeled as fee limit, message credits count dropped Fix: billing strings: API rate limit mislabeled as fee limit, message credits count dropped Oct 5, 2026
@uhhgxg uhhgxg changed the title Fix: billing strings: API rate limit mislabeled as fee limit, message credits count dropped fix(i18n): billing strings: API rate limit mislabeled as fee limit, message credits count dropped Oct 24, 2026
@uhhgxg

uhhgxg commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Friendly ping 🙏 — this was approved by @crazywoola on Oct 5 and has been waiting for a merge for about four weeks. If there's anything else needed before it can land (rebase, changelog, extra checks), happy to take care of it — otherwise, could a maintainer take a look at merging when there's a moment? Thanks!

@41tair
41tair added this pull request to the merge queue Nov 7, 2026
Merged via the queue into langgenius:main with commit 04582a4 Nov 7, 2026
47 of 49 checks passed
fatelei pushed a commit to fatelei/dify that referenced this pull request Nov 9, 2026
@wylswz wylswz mentioned this pull request Nov 17, 2026
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review: low ghfind author score; see https://ghfind.com size:XS This PR changes 0-9 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[i18n][ko-KR] Billing strings mislabel API request limits and message credits

3 participants