diff --git a/client/components/build/RightSidebar/sections/Layout.tsx b/client/components/build/RightSidebar/sections/Layout.tsx index 245b5d5f..b8b571aa 100644 --- a/client/components/build/RightSidebar/sections/Layout.tsx +++ b/client/components/build/RightSidebar/sections/Layout.tsx @@ -103,7 +103,7 @@ const Layout = () => { {(provided) => (
-

{columnIndex ? 'Sidebar' : 'Main'}

+

{columnIndex ? t('builder.rightSidebar.sections.layout.sidebar') : t('builder.rightSidebar.sections.layout.main')}

diff --git a/client/components/build/RightSidebar/sections/Settings.tsx b/client/components/build/RightSidebar/sections/Settings.tsx index 5670e5e8..0a883a3c 100644 --- a/client/components/build/RightSidebar/sections/Settings.tsx +++ b/client/components/build/RightSidebar/sections/Settings.tsx @@ -51,7 +51,7 @@ const Settings = () => { const pageConfig: PageConfig | undefined = useMemo(() => get(resume, 'metadata.page'), [resume]); const isDarkMode = useMemo(() => theme === 'dark', [theme]); - const exampleDateString = useMemo(() => `Eg. ${dayjs().utc().format(dateConfig.format)}`, [dateConfig.format]); + const exampleDateString = useMemo(() => t('builder.rightSidebar.sections.settings.global.date.prefix') + ` ${dayjs().utc().format(dateConfig.format)}`, [dateConfig.format]); const themeString = useMemo(() => (isDarkMode ? 'Matte Black Everything' : 'As bright as your future'), [isDarkMode]); const { mutateAsync: loadSampleDataMutation } = useMutation( diff --git a/client/public/locales/en/builder.json b/client/public/locales/en/builder.json index cfb4a653..8285235d 100644 --- a/client/public/locales/en/builder.json +++ b/client/public/locales/en/builder.json @@ -257,7 +257,9 @@ "heading": "Layout", "tooltip": { "reset-layout": "Reset Layout" - } + }, + "main": "Main", + "sidebar": "Sidebar" }, "links": { "bugs-features": { @@ -278,7 +280,8 @@ "global": { "date": { "primary": "Date", - "secondary": "Date format to use across the app" + "secondary": "Date format to use across the app", + "prefix": "Eg." }, "heading": "Global", "language": {