From 9ec591a0868f714732febeaf53d6eb2700a6cce4 Mon Sep 17 00:00:00 2001 From: scarqin <1054139596@qq.com> Date: Fri, 1 Jul 2022 00:05:02 +0800 Subject: [PATCH] translate zh --- .../editor/eo-editor/eo-editor.component.ts | 2 +- .../browser/src/app/ng1/ng1.module.ts | 8 +- .../pages/api/test/api-test.component.html | 3 +- .../setting/common/data-storage.component.ts | 2 +- .../storage/IndexedDB/sample/index.ts | 18 +- src/workbench/browser/src/locale/messages.xlf | 105 +++-- .../browser/src/locale/messages.zh.xlf | 416 ++++++------------ .../browser/src/ng1/component/list-block.js | 20 +- 8 files changed, 246 insertions(+), 328 deletions(-) diff --git a/src/workbench/browser/src/app/eoui/editor/eo-editor/eo-editor.component.ts b/src/workbench/browser/src/app/eoui/editor/eo-editor/eo-editor.component.ts index 001ec67b..78fe7d35 100644 --- a/src/workbench/browser/src/app/eoui/editor/eo-editor/eo-editor.component.ts +++ b/src/workbench/browser/src/app/eoui/editor/eo-editor/eo-editor.component.ts @@ -155,7 +155,7 @@ export class EoEditorComponent implements AfterViewInit, OnInit, OnChanges { const value = session.getValue(); if (navigator.clipboard) { navigator.clipboard.writeText(value); - this.message.success('复制成功'); + this.message.success($localize`Copied`); return; } break; diff --git a/src/workbench/browser/src/app/ng1/ng1.module.ts b/src/workbench/browser/src/app/ng1/ng1.module.ts index 1777f752..d384ae7e 100644 --- a/src/workbench/browser/src/app/ng1/ng1.module.ts +++ b/src/workbench/browser/src/app/ng1/ng1.module.ts @@ -1,10 +1,6 @@ import { NgModule } from '@angular/core'; -import { - ListBlockCommonComponent, -} from './component.ajs'; -const declarations: Array = [ - ListBlockCommonComponent -]; +import { ListBlockCommonComponent } from './component.ajs'; +const declarations: Array = [ListBlockCommonComponent]; @NgModule({ declarations: declarations, imports: [], diff --git a/src/workbench/browser/src/app/pages/api/test/api-test.component.html b/src/workbench/browser/src/app/pages/api/test/api-test.component.html index 2a06ea70..b98a680e 100644 --- a/src/workbench/browser/src/app/pages/api/test/api-test.component.html +++ b/src/workbench/browser/src/app/pages/api/test/api-test.component.html @@ -29,7 +29,8 @@ (change)="changeUri()" />