@strapi/i18n 0.0.0-experimental.fccfa141baa6df7776ec7cb83f7fe923626ba6f5 → 0.0.0-next.3c5bc3f35387771b185349533729e99e6e59c525
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/_chunks/{SettingsPage-Ce-YIA4X.mjs → SettingsPage-DbRFoF_H.mjs} +2 -2
- package/dist/_chunks/{SettingsPage-Ce-YIA4X.mjs.map → SettingsPage-DbRFoF_H.mjs.map} +1 -1
- package/dist/_chunks/{SettingsPage-nhDLojjb.js → SettingsPage-uGJv15wR.js} +2 -2
- package/dist/_chunks/{SettingsPage-nhDLojjb.js.map → SettingsPage-uGJv15wR.js.map} +1 -1
- package/dist/_chunks/{index-Dy4uJV-2.mjs → index-7_EUScSl.mjs} +5 -2
- package/dist/_chunks/{index-Dy4uJV-2.mjs.map → index-7_EUScSl.mjs.map} +1 -1
- package/dist/_chunks/{index-DAbvvXN9.js → index-BGtXLYX-.js} +5 -2
- package/dist/_chunks/{index-DAbvvXN9.js.map → index-BGtXLYX-.js.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +7 -7
@@ -1419,6 +1419,9 @@ 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
|
+
}
|
1422
1425
|
return Object.keys(trad).reduce((acc, current) => {
|
1423
1426
|
acc[`${pluginId2}.${current}`] = trad[current];
|
1424
1427
|
return acc;
|
@@ -1488,7 +1491,7 @@ const index = {
|
|
1488
1491
|
},
|
1489
1492
|
id: "internationalization",
|
1490
1493
|
to: "internationalization",
|
1491
|
-
Component: () => Promise.resolve().then(() => require("./SettingsPage-
|
1494
|
+
Component: () => Promise.resolve().then(() => require("./SettingsPage-uGJv15wR.js")).then((mod) => ({ default: mod.ProtectedSettingsPage })),
|
1492
1495
|
permissions: PERMISSIONS.accessMain
|
1493
1496
|
});
|
1494
1497
|
const contentManager = app.getPlugin("content-manager");
|
@@ -1630,4 +1633,4 @@ exports.useDeleteLocaleMutation = useDeleteLocaleMutation;
|
|
1630
1633
|
exports.useGetDefaultLocalesQuery = useGetDefaultLocalesQuery;
|
1631
1634
|
exports.useGetLocalesQuery = useGetLocalesQuery;
|
1632
1635
|
exports.useUpdateLocaleMutation = useUpdateLocaleMutation;
|
1633
|
-
//# sourceMappingURL=index-
|
1636
|
+
//# sourceMappingURL=index-BGtXLYX-.js.map
|