diff --git a/src/app/importer/importer/importer.component.css b/src/app/importer/importer/importer.component.css index 8bc5451..cda3fe2 100644 --- a/src/app/importer/importer/importer.component.css +++ b/src/app/importer/importer/importer.component.css @@ -3,7 +3,7 @@ } .upload-button::before { - content: 'Select File'; + content: '浏览'; cursor: pointer; outline: none; border: none; @@ -14,7 +14,7 @@ vertical-align: baseline; text-align: center; margin: 0; - min-width: 64px; + min-width: 36px; line-height: 36px; padding: 0 16px; border-radius: 4px; diff --git a/src/app/importer/importer/importer.component.ts b/src/app/importer/importer/importer.component.ts index 1a4f134..2a51192 100644 --- a/src/app/importer/importer/importer.component.ts +++ b/src/app/importer/importer/importer.component.ts @@ -46,10 +46,10 @@ export class ImporterComponent implements OnInit { error => this.messageService.notice(error) ); } else { - this.messageService.notice('Wrong Game ID, please check you have select the correct file.'); + this.messageService.notice('错误的游戏ID,请检查您是否选择了正确的文件.'); } }; fileReader.readAsText(file); - this.messageService.notice('Uploading...'); + this.messageService.notice('上传中...'); } }