@elementor/editor-editing-panel 3.35.0-486 → 3.35.0-488

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1340,10 +1340,11 @@ function useCreateAction() {
1340
1340
  if (hasReachedLimit(provider)) {
1341
1341
  return {
1342
1342
  isValid: false,
1343
+ /* translators: %s is the maximum number of classes */
1343
1344
  errorMessage: (0, import_i18n5.__)(
1344
- "You\u2019ve reached the limit of 50 classes. Please remove an existing one to create a new class.",
1345
+ "You\u2019ve reached the limit of %s classes. Please remove an existing one to create a new class.",
1345
1346
  "elementor"
1346
- )
1347
+ ).replace("%s", provider.limit.toString())
1347
1348
  };
1348
1349
  }
1349
1350
  return (0, import_editor_styles_repository8.validateStyleLabel)(newClassLabel, event);