A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
fix: made some missing texts translatable
TryAllTheThingsdeb4e0a0de23
diff --git a/client/components/build/RightSidebar/sections/Layout.tsx b/client/components/build/RightSidebar/sections/Layout.tsxindex 245b5d5f7..b8b571aae 100644--- a/client/components/build/RightSidebar/sections/Layout.tsx+++ b/client/components/build/RightSidebar/sections/Layout.tsx@@ -103,7 +103,7 @@ const Layout = () => {<Droppable key={index} droppableId={index}>{(provided) => (<div ref={provided.innerRef} className={styles.column} {...provided.droppableProps}>- <p className={styles.heading}>{columnIndex ? 'Sidebar' : 'Main'}</p>+ <p className={styles.heading}>{columnIndex ? t<string>('builder.rightSidebar.sections.layout.sidebar') : t<string>('builder.rightSidebar.sections.layout.main')}</p><div className={styles.base} />diff --git a/client/components/build/RightSidebar/sections/Settings.tsx b/client/components/build/RightSidebar/sections/Settings.tsxindex 5670e5e86..0a883a3c2 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<string>('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<Resume, ServerError, LoadSampleDataParams>(diff --git a/client/public/locales/en/builder.json b/client/public/locales/en/builder.jsonindex cfb4a653e..8285235df 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": {