Skip to content

Commit 15c7f73

Browse files
committed
Removed addTabDialog.newItemPlaceholder which was not used in the AddTabDialog.
It was used in the ClassNameCompoonent and ProjectNameComponent and "Add Module" doesn't make sense there.
1 parent ce30750 commit 15c7f73

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

src/i18n/locales/en/translation.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"example_project": "For example: WackyWheelerRobot",
1818
"addTabDialog": {
1919
"title": "Add Tab",
20-
"newItemPlaceholder": "Add Module",
2120
"search": "Search..."
2221
},
2322
"PROJECT": "Project",

src/i18n/locales/es/translation.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"COPY": "Copiar",
3737
"addTabDialog": {
3838
"title": "Agregar Pestaña",
39-
"newItemPlaceholder": "Agregar Módulo",
4039
"search": "Buscar..."
4140
},
4241
"MECHANISMS": "Mecanismos",

src/i18n/locales/he/translation.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"example_project": "לדוגמה: WackyWheelerRobot",
1818
"addTabDialog": {
1919
"title": "הוסף כרטיסייה",
20-
"newItemPlaceholder": "הוסף מודול",
2120
"search": "חיפוש..."
2221
},
2322
"PROJECT": "פרויקט",

src/reactComponents/ClassNameComponent.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ export default function ClassNameComponent(props: ClassNameComponentProps): Reac
121121
const renderInput = (): React.JSX.Element => (
122122
<Antd.Input
123123
style={{width: getInputWidth()}}
124-
placeholder={t('addTabDialog.newItemPlaceholder')}
125124
value={props.newItemName}
126125
onChange={handleInputChange}
127126
onPressEnter={handleAddNewItem}

src/reactComponents/ProjectNameComponent.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ export default function ProjectNameComponent(props: ProjectNameComponentProps):
109109
const renderInput = (): React.JSX.Element => (
110110
<Antd.Input
111111
style={FULL_WIDTH_STYLE}
112-
placeholder={t('addTabDialog.newItemPlaceholder')}
113112
value={props.newItemName}
114113
onChange={handleInputChange}
115114
onPressEnter={handleAddNewItem}

0 commit comments

Comments
 (0)