Skip to content

Commit

Permalink
update: text domain
Browse files Browse the repository at this point in the history
  • Loading branch information
nirbhayel committed Nov 15, 2024
1 parent e521973 commit 4714c62
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 4 additions & 1 deletion modules/settings/assets/js/components/bottom-bar/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Box from '@elementor/ui/Box';
import Button from '@elementor/ui/Button';
import { __ } from '@wordpress/i18n';

export const BottomBar = () => {
return (
Expand All @@ -8,7 +9,9 @@ export const BottomBar = () => {
p={ 2 }
width="100%"
borderTop="1px solid rgba(0, 0, 0, 0.12)">
<Button variant="contained" color="info">Save Changes</Button>
<Button variant="contained" color="info">
{ __( 'Save Changes', 'pojo-accessibility' ) }
</Button>
</Box>
);
};
9 changes: 5 additions & 4 deletions modules/settings/assets/js/components/sidebar-menu/menu.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
import { PagesIcon } from '@elementor/icons';
import { __ } from '@wordpress/i18n';
import { WidgetIcon } from '../../icons';
import { AccessibilityStatement, Menu, IconSettings } from '../../pages';

export const MenuItems = {
widget: {
name: 'Widget',
name: __( 'Widget', 'pojo-accessibility' ),
key: 'widget',
icon: <WidgetIcon />,
children: {
iconSettings: {
name: 'Icon Settings',
name: __( 'Icon Settings', 'pojo-accessibility' ),
key: 'icon-settings',
page: <IconSettings />,
},
menu: {
name: 'Menu',
name: __( 'Menu', 'pojo-accessibility' ),
key: 'menu',
page: <Menu />,
},
},
},
accessibilityStatement: {
name: 'Accessibility Statement',
name: __( 'Accessibility Statement', 'pojo-accessibility' ),
key: 'accessibility-statement',
page: <AccessibilityStatement />,
icon: <PagesIcon />,
Expand Down

0 comments on commit 4714c62

Please sign in to comment.