Skip to content

Commit 15c8b65

Browse files
authored
PrefsDialog: removed hardcoded "Default View Mode" text (#379)
1 parent 2a313e3 commit 15c8b65

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/components/dialogs/PrefsDialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ const PrefsDialog = observer(({ isOpen, onClose }: PrefsProps) => {
222222
</Select2>
223223
</FormGroup>
224224

225-
<FormGroup inline={true} label="Default Viewmode">
225+
<FormGroup inline={true} label={t('DIALOG.PREFS.DEFAULT_VIEW_MODE')}>
226226
<RadioGroup inline={true} selectedValue={defaultViewMode} onChange={onChangeViewMode}>
227-
<Radio label="details" value="details" />
228-
<Radio label="icons" value="icons" />
227+
<Radio label={t('TOOLBAR.ICON_VIEW')} value="details" />
228+
<Radio label={t('TOOLBAR.DETAILS_VIEW')} value="icons" />
229229
</RadioGroup>
230230
</FormGroup>
231231

src/locale/lang/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"INVALID_FOLDER": "Invalid folder name or non-existing folder",
7171
"DEFAULT_TERMINAL": "External terminal",
7272
"DEFAULT_TERMINAL_HELP": "Customizes what kind of terminal to launch",
73+
"DEFAULT_VIEW_MODE": "Default view mode",
7374
"TEST_TERMINAL": "Click here to launch the specified external terminal",
7475
"TEST_TERMINAL_FAILED": "Unable to start specified terminal: {{terminal}} (return code: {{code}})"
7576
},

src/locale/lang/fr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"INVALID_FOLDER": "Nom de dossier invalide ou introuvable",
7171
"DEFAULT_TERMINAL": "Terminal externe",
7272
"DEFAULT_TERMINAL_HELP": "Spécifie le type de terminal à lancer",
73+
"DEFAULT_VIEW_MODE": "Mode d'affichage par défaut",
7374
"TEST_TERMINAL": "Cliquez ici pour lancer le terminal specifié",
7475
"TEST_TERMINAL_FAILED": "Impossible de lancer le terminal spécifié: {{terminal}} (code de retour: {{code}})"
7576
},

0 commit comments

Comments
 (0)