@strapi/i18n 5.0.2-beta.0 → 5.0.3

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.
@@ -1419,9 +1419,6 @@ const localeMiddleware = (ctx) => (next) => (permissions) => {
1419
1419
  return next(revisedPermissions);
1420
1420
  };
1421
1421
  const prefixPluginTranslations = (trad, pluginId2) => {
1422
- if (!pluginId2) {
1423
- throw new TypeError("pluginId can't be empty");
1424
- }
1425
1422
  return Object.keys(trad).reduce((acc, current) => {
1426
1423
  acc[`${pluginId2}.${current}`] = trad[current];
1427
1424
  return acc;
@@ -1491,7 +1488,7 @@ const index = {
1491
1488
  },
1492
1489
  id: "internationalization",
1493
1490
  to: "internationalization",
1494
- Component: () => Promise.resolve().then(() => require("./SettingsPage-m3FyiYwx.js")).then((mod) => ({ default: mod.ProtectedSettingsPage })),
1491
+ Component: () => Promise.resolve().then(() => require("./SettingsPage-Z94BBMrV.js")).then((mod) => ({ default: mod.ProtectedSettingsPage })),
1495
1492
  permissions: PERMISSIONS.accessMain
1496
1493
  });
1497
1494
  const contentManager = app.getPlugin("content-manager");
@@ -1633,4 +1630,4 @@ exports.useDeleteLocaleMutation = useDeleteLocaleMutation;
1633
1630
  exports.useGetDefaultLocalesQuery = useGetDefaultLocalesQuery;
1634
1631
  exports.useGetLocalesQuery = useGetLocalesQuery;
1635
1632
  exports.useUpdateLocaleMutation = useUpdateLocaleMutation;
1636
- //# sourceMappingURL=index-CaRhsPTY.js.map
1633
+ //# sourceMappingURL=index-BOvOaxo-.js.map