Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LeafYeeXYZ committed May 15, 2024
1 parent 1e858c0 commit da3c7da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Widgets/PromptGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function PromptGenerator({ status, dialogAction, promptRef }: Pro
className='prompt-generator-container'
htmlFor='prompt-generator-input'
ref={lebalRef}
style={{ width: t.lang.includes('zh') ? '6.7rem' : '8.5rem' }}
style={{ width: t.lang.includes('zh') ? '6.8rem' : '8.5rem' }}
>
<input
type="file"
Expand Down
2 changes: 1 addition & 1 deletion src/lang.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const EN = {
// ImageSelector
chooseImage: 'ChooseImage', imageTooBig: 'Image Too Big', imageTooBigInfo: (size: number) => `Please select an image smaller than ${size}MB`,
// PromptGenerator
initText: 'Gen Prompt From Img', loadText: 'Generating Prompt',
initText: 'GenPromptFromImg', loadText: 'GeneratingPrompt',
generatePrompt: 'Generate Prompt', genPromptFail: 'Failed to Generate Prompt:',
}

Expand Down

0 comments on commit da3c7da

Please sign in to comment.