# fluent-cart/trunk/assets/chunks/BlockEditorTranslator.js

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version trunk. 2 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/trunk/code/assets/chunks/BlockEditorTranslator.js
- Raw: https://pluginprobe.com/plugins/fluent-cart/trunk/raw/assets/chunks/BlockEditorTranslator.js
- Modified: 2026-09-11T13:28:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/trunk/code/assets/chunks/BlockEditorTranslator.js#L10-L20`.

```javascript
function f(e){const n=window.fluent_cart_block_translation;if(typeof n!="object")return e;n[e],e=n[e]||e;const t=Array.prototype.slice.call(arguments,1);if(t.length===0)return e;const c=/%(\d*\$?)s|%d/g;let l=0;return e=e.replace(c,(o,r)=>{if(r){const a=parseInt(r,10)-1;return a<t.length?t[a]:o}else return l<t.length?t[l++]:o}),e}export{f as b};

```
