fix: translation omission (#281)
This commit is contained in:
		
							parent
							
								
									00c6c72270
								
							
						
					
					
						commit
						6ef83b0cb6
					
				|  | @ -65,7 +65,7 @@ export const PromptModal: FC<Props> = ({ prompt, onClose, onUpdatePrompt }) => { | |||
|             <input | ||||
|               ref={nameInputRef} | ||||
|               className="mt-2 w-full rounded-lg border border-neutral-500 px-4 py-2 text-neutral-900 shadow focus:outline-none dark:border-neutral-800 dark:border-opacity-50 dark:bg-[#40414F] dark:text-neutral-100" | ||||
|               placeholder="A name for your prompt." | ||||
|               placeholder={t('A name for your prompt.') || ''} | ||||
|               value={name} | ||||
|               onChange={(e) => setName(e.target.value)} | ||||
|             /> | ||||
|  |  | |||
|  | @ -4,6 +4,7 @@ | |||
|   "No prompts.": "无提示词", | ||||
|   "Search prompts...": "搜索提示...", | ||||
|   "Name": "名称", | ||||
|   "A name for your prompt.": "提示词名称", | ||||
|   "Description": "描述", | ||||
|   "A description for your prompt.": "提示词描述", | ||||
|   "Prompt": "提示词", | ||||
|  |  | |||
|  | @ -51,8 +51,8 @@ export function cleanData(data: SupportedExportFormats): LatestExportFormat { | |||
| 
 | ||||
| function currentDate() { | ||||
|   const date = new Date(); | ||||
|   let month = date.getMonth() + 1; | ||||
|   let day = date.getDate(); | ||||
|   const month = date.getMonth() + 1; | ||||
|   const day = date.getDate(); | ||||
|   return `${month}-${day}`; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue