mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 00:03:27 +10:00
Revert "fix: made some missing texts translatable"
This reverts commit deb4e0a0de.
This commit is contained in:
@ -103,7 +103,7 @@ const Layout = () => {
|
|||||||
<Droppable key={index} droppableId={index}>
|
<Droppable key={index} droppableId={index}>
|
||||||
{(provided) => (
|
{(provided) => (
|
||||||
<div ref={provided.innerRef} className={styles.column} {...provided.droppableProps}>
|
<div ref={provided.innerRef} className={styles.column} {...provided.droppableProps}>
|
||||||
<p className={styles.heading}>{columnIndex ? t<string>('builder.rightSidebar.sections.layout.sidebar') : t<string>('builder.rightSidebar.sections.layout.main')}</p>
|
<p className={styles.heading}>{columnIndex ? 'Sidebar' : 'Main'}</p>
|
||||||
|
|
||||||
<div className={styles.base} />
|
<div className={styles.base} />
|
||||||
|
|
||||||
|
|||||||
@ -51,7 +51,7 @@ const Settings = () => {
|
|||||||
const pageConfig: PageConfig | undefined = useMemo(() => get(resume, 'metadata.page'), [resume]);
|
const pageConfig: PageConfig | undefined = useMemo(() => get(resume, 'metadata.page'), [resume]);
|
||||||
|
|
||||||
const isDarkMode = useMemo(() => theme === 'dark', [theme]);
|
const isDarkMode = useMemo(() => theme === 'dark', [theme]);
|
||||||
const exampleDateString = useMemo(() => t<string>('builder.rightSidebar.sections.settings.global.date.prefix') + ` ${dayjs().utc().format(dateConfig.format)}`, [dateConfig.format]);
|
const exampleDateString = useMemo(() => `Eg. ${dayjs().utc().format(dateConfig.format)}`, [dateConfig.format]);
|
||||||
const themeString = useMemo(() => (isDarkMode ? 'Matte Black Everything' : 'As bright as your future'), [isDarkMode]);
|
const themeString = useMemo(() => (isDarkMode ? 'Matte Black Everything' : 'As bright as your future'), [isDarkMode]);
|
||||||
|
|
||||||
const { mutateAsync: loadSampleDataMutation } = useMutation<Resume, ServerError, LoadSampleDataParams>(
|
const { mutateAsync: loadSampleDataMutation } = useMutation<Resume, ServerError, LoadSampleDataParams>(
|
||||||
|
|||||||
@ -257,9 +257,7 @@
|
|||||||
"heading": "Layout",
|
"heading": "Layout",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"reset-layout": "Reset Layout"
|
"reset-layout": "Reset Layout"
|
||||||
},
|
}
|
||||||
"main": "Main",
|
|
||||||
"sidebar": "Sidebar"
|
|
||||||
},
|
},
|
||||||
"links": {
|
"links": {
|
||||||
"bugs-features": {
|
"bugs-features": {
|
||||||
@ -280,8 +278,7 @@
|
|||||||
"global": {
|
"global": {
|
||||||
"date": {
|
"date": {
|
||||||
"primary": "Date",
|
"primary": "Date",
|
||||||
"secondary": "Date format to use across the app",
|
"secondary": "Date format to use across the app"
|
||||||
"prefix": "Eg."
|
|
||||||
},
|
},
|
||||||
"heading": "Global",
|
"heading": "Global",
|
||||||
"language": {
|
"language": {
|
||||||
|
|||||||
Reference in New Issue
Block a user