mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
4ed90faf79
Summary: 1. Unclear why Embed fails often. Locally, it fails for me every time, and this tweak makes it pass (while still keeping the test useful). 2. Reduced back main bundle's size by removing dependency of some common elements on the full AdminPanel. Updated expected size of errorPages bundle to the new reduced size. Test Plan: No changes to functionality; relying on existing tests to verify that. Reviewers: jordigh Reviewed By: jordigh Subscribers: georgegevoian, jordigh Differential Revision: https://phab.getgrist.com/D4315
12 lines
371 B
TypeScript
12 lines
371 B
TypeScript
// Separated out into its own file because this is used in several modules, but we'd like to avoid
|
|
// pulling in the full AdminPanel into their bundle.
|
|
|
|
import {makeT} from 'app/client/lib/localization';
|
|
|
|
const t = makeT('AdminPanel');
|
|
|
|
// Translated "Admin Panel" name, made available to other modules.
|
|
export function getAdminPanelName() {
|
|
return t("Admin Panel");
|
|
}
|