← All changes
|
assets/js/packages/editor-global-classes/editor-global-classes.strings.js
+29
-97
4.3.1
→
3.28.0-dev2
View file →
| @@ -1,97 +1,29 @@ | ||
| 1 | -__( 'More actions', 'elementor' ); | |
| 2 | -__( 'Rename', 'elementor' ); | |
| 3 | -__( 'Stop syncing to Global Fonts', 'elementor' ); | |
| 4 | -__( 'Sync to Global Fonts', 'elementor' ); | |
| 5 | -__( 'Delete', 'elementor' ); | |
| 6 | -__( 'Class Manager', 'elementor' ); | |
| 7 | -__( 'Class Manager', 'elementor' ); | |
| 8 | -__( | |
| 9 | - "The Class Manager lets you see all the classes you've created, plus adjust their priority, rename them, and delete unused classes to keep your CSS structured.", | |
| 10 | - 'elementor' | |
| 11 | - ); | |
| 12 | -__( | |
| 13 | - 'Remember, when editing an item within a specific class, any changes you make will apply across all elements in that class.', | |
| 14 | - 'elementor' | |
| 15 | - ); | |
| 16 | -__( 'Save changes', 'elementor' ); | |
| 17 | -__( 'You have unsaved changes', 'elementor' ); | |
| 18 | -__( 'You have unsaved changes in the Class Manager.', 'elementor' ); | |
| 19 | -__( 'To avoid losing your updates, save your changes before leaving.', 'elementor' ); | |
| 20 | -__( 'Discard', 'elementor' ); | |
| 21 | -__( 'Save & Continue', 'elementor' ); | |
| 22 | -__( 'Something went wrong', 'elementor' ); | |
| 23 | -__( 'Un-sync typography class', 'elementor' ); | |
| 24 | -__( "You're about to stop syncing a typography class to Global Fonts.", 'elementor' ); | |
| 25 | -__( | |
| 26 | - "Note that if it's being used anywhere, the affected elements will inherit the default typography.", | |
| 27 | - 'elementor' | |
| 28 | - ); | |
| 29 | -__( 'Cancel', 'elementor' ); | |
| 30 | -__( 'Got it', 'elementor' ); | |
| 31 | -__( "Don't show again", 'elementor' ); | |
| 32 | -// translators: %1: total usage count, %2: number of pages | |
| 33 | -__( | |
| 34 | - 'Will permanently remove it from your project and may affect the design across all elements using it. Used %1 times across %2 pages. This action cannot be undone.', | |
| 35 | - 'elementor' | |
| 36 | - ); | |
| 37 | -__( | |
| 38 | - 'Will permanently remove it from your project and may affect the design across all elements using it. This action cannot be undone.', | |
| 39 | - 'elementor' | |
| 40 | - ); | |
| 41 | -__( 'Delete this class?', 'elementor' ); | |
| 42 | -__( 'Deleting', 'elementor' ); | |
| 43 | -__( "We've published your page and updated class names.", 'elementor' ); | |
| 44 | -__( | |
| 45 | - 'Some new classes used the same names as existing ones. To prevent conflicts, we added the prefix', | |
| 46 | - 'elementor' | |
| 47 | - ); | |
| 48 | -__( 'Before', 'elementor' ); | |
| 49 | -__( 'After', 'elementor' ); | |
| 50 | -__( 'Your designs and classes are safe.', 'elementor' ); | |
| 51 | -__( | |
| 52 | - 'Only the prefixes were added. Find them in Class Manager by searching', | |
| 53 | - 'elementor' | |
| 54 | - ); | |
| 55 | -__( 'Go to Class Manager', 'elementor' ); | |
| 56 | -__( 'Done', 'elementor' ); | |
| 57 | -__( 'There are no global classes yet.', 'elementor' ); | |
| 58 | -__( | |
| 59 | - 'CSS classes created in the editor panel will appear here. Once they are available, you can arrange their hierarchy, rename them, or delete them as needed.', | |
| 60 | - 'elementor' | |
| 61 | - ); | |
| 62 | -__( 'Sorry, nothing matched.', 'elementor' ); | |
| 63 | -__( 'Try something else.', 'elementor' ); | |
| 64 | -__( 'Sorry, nothing matched', 'elementor' ); | |
| 65 | -__( 'Clear your input and try something else.', 'elementor' ); | |
| 66 | -__( 'Sorry, nothing matched that search.', 'elementor' ); | |
| 67 | -__( 'Clear the filters and try something else.', 'elementor' ); | |
| 68 | -__( 'Clear & try again', 'elementor' ); | |
| 69 | -__( 'Sync class to Global Fonts', 'elementor' ); | |
| 70 | -__( | |
| 71 | - 'Only typography settings supported in Global Fonts will be applied, including: font family, responsive font sizes, weight, text transform, decoration, line height, letter spacing, and word spacing. Changes made in the class will automatically apply to Global Fonts.', | |
| 72 | - 'elementor' | |
| 73 | - ); | |
| 74 | -__( "Don't show again", 'elementor' ); | |
| 75 | -__( 'Cancel', 'elementor' ); | |
| 76 | -__( 'Sync to Global Fonts', 'elementor' ); | |
| 77 | -__( 'Convert to global class', 'elementor' ); | |
| 78 | -__( 'Post', 'elementor' ); | |
| 79 | -__( 'Page', 'elementor' ); | |
| 80 | -__( 'Popup', 'elementor' ); | |
| 81 | -__( 'Header', 'elementor' ); | |
| 82 | -__( 'Footer', 'elementor' ); | |
| 83 | -__( 'Locator', 'elementor' ); | |
| 84 | -__( 'Show {{number}} {{locations}}', 'elementor' ); | |
| 85 | -__( 'location', 'elementor' ); | |
| 86 | -__( 'locations', 'elementor' ); | |
| 87 | -__( 'This class isn’t being used yet.', 'elementor' ); | |
| 88 | -__( 'Clear Filters', 'elementor' ); | |
| 89 | -__( 'Filters', 'elementor' ); | |
| 90 | -__( 'Clear all', 'elementor' ); | |
| 91 | -__( 'Filters', 'elementor' ); | |
| 92 | -__( 'Unused', 'elementor' ); | |
| 93 | -__( 'Empty', 'elementor' ); | |
| 94 | -__( 'On this page', 'elementor' ); | |
| 95 | -__( 'Search', 'elementor' ); | |
| 96 | -__( 'class', 'elementor' ); | |
| 97 | -__( 'classes', 'elementor' ); | |
| 1 | +__( 'Global CSS Class', 'elementor' ); | |
| 2 | +__( 'Global CSS Classes', 'elementor' ); | |
| 3 | +__( 'CSS Class manager' ) } | |
| 4 | + </PanelHeaderTitle> | |
| 5 | + <CloseButton sx={ { marginLeft: 'auto' } } /> | |
| 6 | + </Stack> | |
| 7 | + </PanelHeader> | |
| 8 | + <PanelBody px={ 2 }> | |
| 9 | + <GlobalClassesList /> | |
| 10 | + </PanelBody> | |
| 11 | + </Panel> | |
| 12 | + </ErrorBoundary> | |
| 13 | + ); | |
| 14 | +} | |
| 15 | + | |
| 16 | +const CloseButton = ( props: IconButtonProps ) => { | |
| 17 | + const { close } = usePanelActions(); | |
| 18 | + | |
| 19 | + return ( | |
| 20 | + <IconButton size="small" color="secondary" onClick={ close } { ...props }> | |
| 21 | + <XIcon fontSize="small" /> | |
| 22 | + </IconButton> | |
| 23 | + ); | |
| 24 | +}; | |
| 25 | + | |
| 26 | +const ErrorBoundaryFallback = () => ( | |
| 27 | + <Box role="alert" sx={ { minHeight: '100%', p: 2 } }> | |
| 28 | + <Alert severity="error" sx={ { mb: 2, maxWidth: 400, textAlign: 'center' } }> | |
| 29 | + <strong>{ __( 'Something went wrong', 'elementor' ); | |