Skip to content

Commit

Permalink
Merge pull request #57 from pkolt/56-add-translate
Browse files Browse the repository at this point in the history
Fix translates
  • Loading branch information
pkolt authored Sep 4, 2024
2 parents ec8acba + 06d3190 commit cee07af
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"Export bitmap": "Export bitmap",
"Export to C": "Export to C",
"Export to file": "Export to file",
"Favorite": "Favorite",
"File": "File",
"Filename": "Filename",
"Fit to image": "Fit to image",
Expand Down
3 changes: 2 additions & 1 deletion src/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"Export bitmap": "Экспортировать bitmap",
"Export to C": "Экспорт в C",
"Export to file": "Экспортировать в файл",
"Favorite": "Избранное",
"File": "Файл",
"Filename": "Имя файла",
"Fit to image": "По размеру изображения",
Expand All @@ -49,7 +50,7 @@
"Image": "Изображение",
"Import": "Импортировать",
"Import bitmap from JSON": "Импорт bitmap из JSON",
"Import from collections": "Импортировать из набора",
"Import from collections": "Импортировать из коллекции",
"Include PROGMEM (AVR)": "Включить PROGMEM (AVR)",
"Invert": "Инверсия",
"Invert color": "Инвертировать цвет",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/ImportFromImage/ImportForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ export const ImportForm = ({ setBitmap, onSubmit, imageUrl }: ImportFormProps) =
</div>
</div>
<div className="d-flex gap-3">
<Input label="Width" {...register('width', { valueAsNumber: true })} />
<Input label="Height" {...register('height', { valueAsNumber: true })} />
<Input label={t('Width')} {...register('width', { valueAsNumber: true })} />
<Input label={t('Height')} {...register('height', { valueAsNumber: true })} />
<div className="d-flex flex-column">
<div className="form-label">{t('Crop')}</div>
<div className="d-flex gap-3">
Expand Down

0 comments on commit cee07af

Please sign in to comment.