Add frontend translations
Summary by CodeRabbit
Release Notes
-
New Features
- Added Shop Management tab to album settings
- Added maintenance operations: automatic cleanup of old orders and order fulfillment management
-
Localization
- Expanded language support with webshop translations across all supported locales
✏️ Tip: You can customize this high-level summary in your review settings.
[!WARNING]
Rate limit exceeded
@ildyria has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 15 minutes and 28 seconds before requesting another review.
⌛ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the
@coderabbitai reviewcommand as a PR comment. Alternatively, push new commits to this PR.We recommend that you space out your commits to avoid hitting the rate limit.
🚦 How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization.
Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.
Please see our FAQ for further information.
📥 Commits
Reviewing files that changed from the base of the PR and between 948a31afd2be4026a3350ff783c4c0d868904369 and 4a428601320e3f51cf7de2b5ac9bc1ef2844316d.
📒 Files selected for processing (1)
lang/ru/gallery.php(1 hunks)
📝 Walkthrough
Walkthrough
Adds a "Shop Management" album tab, two maintenance entries ("old-orders" and "fulfill-orders"), and new webshop translation files across multiple language locales; changes are purely additions to PHP translation arrays.
Changes
| Cohort / File(s) | Summary |
|---|---|
Gallery tab translations lang/{ar,cz,de,el,en,es,fa,fr,hu,it,ja,nl,no,pl,pt,ru,sk,sv,vi,zh_CN,zh_TW}/gallery.php |
Added 'shop' => 'Shop Management' entry under album['tabs'] in each listed locale |
Maintenance translations lang/{ar,cz,de,el,en,es,fa,fr,hu,it,ja,nl,no,pl,pt,ru,sk,sv,vi,zh_CN,zh_TW}/maintenance.php |
Added two new keys: 'old-orders' and 'fulfill-orders', each with title, description (contains placeholders and <br/>), and button fields in each listed locale |
Webshop translation files (new) lang/{ar,cz,de,el,en,es,fa,fr,hu,it,ja,nl,no,pl,pt,ru,sk,sv,vi,zh_CN,zh_TW}/webshop.php |
Added new webshop.php files for each listed locale returning a large nested array of webshop UI strings (sections: card, cardForm, basketList, checkout, orderDownload, status, orderList, purchasablesList, disclaimer, infoSection, errors, orderLegend, orderListAction, orderSummary, paymentForm, paymentInProgress, useOrder, albumPurchasable, pricesInput, useStepTwo, useMollie, buyMeActions) |
Estimated code review effort
🎯 2 (Simple) | ⏱️ ~10 minutes
- Changes are highly repetitive and data-only across many locales.
- Spot-checks recommended:
- Verify placeholder consistency (
%d,%s) across locales. - Confirm maintenance descriptions include the intended
<br/>markup. - Ensure newly added
webshop.phpfiles return valid PHP arrays (no trailing commas/syntax issues) in a few representative locales.
- Verify placeholder consistency (
Poem
🐰 I hopped through files, a translation spree,
Tabs and orders now speak for thee.
Webshop words in many a tongue,
Tiny changes — a chorus begun! 🥕✨
Pre-merge checks
✅ Passed checks (1 passed)
| Check name | Status | Explanation |
|---|---|---|
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.