Commit 5b048477 authored by 神楽坂玲奈's avatar 神楽坂玲奈

美化进度条

parent 45061b60
...@@ -11,3 +11,4 @@ ...@@ -11,3 +11,4 @@
.DS_Store .DS_Store
Thumbs.db Thumbs.db
messages.xlf messages.xlf
messages.xlf.bak
\ No newline at end of file
<h1>{{currentApp.name}}</h1> <h1>{{currentApp.name}}</h1>
<div class="actions" *ngIf="currentApp.status.status === 'init'"> <!--应用未安装-->
<div class="actions" *ngIf="!currentApp.isInstalled()">
<button i18n type="button" class="btn btn-primary" data-toggle="modal" (click)="updateInstallConfig(currentApp)" data-target="#install-modal">安装</button> <button i18n type="button" class="btn btn-primary" data-toggle="modal" (click)="updateInstallConfig(currentApp)" data-target="#install-modal">安装</button>
<button i18n type="button" class="btn btn-secondary">导入</button> <button i18n type="button" class="btn btn-secondary">导入</button>
</div> </div>
<div i18n *ngIf="currentApp.status.status === 'installing'">正在安装...</div>
<div i18n *ngIf="currentApp.status.status==='waiting'">等待安装...</div> <!--应用变更中-->
<progress *ngIf="currentApp.status.status === 'downloading'" class="progress progress-striped progress-animated" value="{{currentApp.status.progress}}" max="{{currentApp.status.total}}"></progress> <div class="actions" *ngIf="currentApp.isInstalled() && !currentApp.isReady()">
<div class="actions" *ngIf="currentApp.status.status==='ready' && (currentApp.id != 'ygopro')"> <div *ngIf="currentApp.isInstalling()">
<span>正在下载</span><span *ngIf="currentApp.status.total">{{currentApp.status.progress/currentApp.status.total}}%</span>
</div>
<div i18n *ngIf="currentApp.isInstalling()">正在安装...</div>
<div i18n *ngIf="currentApp.isWaiting()">等待安装...</div>
<progress class="progress" [class.progress-striped]="!currentApp.status.total" [class.progress-animated]="!currentApp.status.total" value="{{currentApp.status.progress}}" max="{{currentApp.status.total}}"></progress>
</div>
<!--应用ready-->
<div class="actions" *ngIf="currentApp.isReady() && (currentApp.id != 'ygopro')">
<button i18n *ngIf="currentApp.runable()" (click)="runApp(currentApp)" type="button" class="btn btn-primary">运行</button> <button i18n *ngIf="currentApp.runable()" (click)="runApp(currentApp)" type="button" class="btn btn-primary">运行</button>
<button i18n *ngIf="currentApp.runable() && currentApp.actions.get('custom')" (click)="custom(currentApp)" type="button" class="btn btn-secondary">设置</button> <button i18n *ngIf="currentApp.runable() && currentApp.actions.get('custom')" (click)="custom(currentApp)" type="button" class="btn btn-secondary">设置</button>
<div id="network" *ngIf="currentApp.network && currentApp.network.protocol == 'maotama'"> <div id="network" *ngIf="currentApp.network && currentApp.network.protocol == 'maotama'">
...@@ -24,7 +34,8 @@ ...@@ -24,7 +34,8 @@
</div> </div>
</div> </div>
</div> </div>
<ygopro *ngIf="currentApp.status.status==='ready'&& (currentApp.id == 'ygopro')" [app]="currentApp"></ygopro> <ygopro *ngIf="currentApp.isReady() && (currentApp.id == 'ygopro')" [app]="currentApp"></ygopro>
<h2 i18n *ngIf="news && news.length">新闻</h2> <h2 i18n *ngIf="news && news.length">新闻</h2>
<div id="news" *ngFor="let item of news"> <div id="news" *ngFor="let item of news">
<h3>{{item.title}}</h3> <h3>{{item.title}}</h3>
...@@ -33,7 +44,6 @@ ...@@ -33,7 +44,6 @@
</div> </div>
<div *ngIf="currentApp.isInstalled()"> <div *ngIf="currentApp.isInstalled()">
<div *ngIf="mods && mods.length"> <div *ngIf="mods && mods.length">
<h2>扩展内容</h2>
<table class="table table-striped"> <table class="table table-striped">
<thead class="thead-inverse"> <thead class="thead-inverse">
<tr> <tr>
...@@ -63,6 +73,8 @@ ...@@ -63,6 +73,8 @@
<button i18n type="button" class="btn btn-secondary">校验完整性</button> <button i18n type="button" class="btn btn-secondary">校验完整性</button>
<button i18n (click)="uninstall(currentApp)" type="button" class="btn btn-secondary">卸载</button> <button i18n (click)="uninstall(currentApp)" type="button" class="btn btn-secondary">卸载</button>
</div> </div>
<!--安装modal-->
<div class="modal fade" id="install-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" *ngIf="installConfig"> <div class="modal fade" id="install-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" *ngIf="installConfig">
<div class="modal-dialog" role="document"> <div class="modal-dialog" role="document">
<form id="install-form" class="modal-content" (ngSubmit)="install(currentApp)" #theForm="ngForm"> <form id="install-form" class="modal-content" (ngSubmit)="install(currentApp)" #theForm="ngForm">
...@@ -89,7 +101,7 @@ ...@@ -89,7 +101,7 @@
<input id="create_desktop_shortcut" type="checkbox" name="desktop" [(ngModel)]="installConfig.createDesktopShortcut"> <input id="create_desktop_shortcut" type="checkbox" name="desktop" [(ngModel)]="installConfig.createDesktopShortcut">
<label i18n for="create_desktop_shortcut">创建桌面快捷方式</label> <label i18n for="create_desktop_shortcut">创建桌面快捷方式</label>
</div> </div>
<h4 *ngIf="installConfig.references.length">扩展内容</h4> <h4 i18n *ngIf="installConfig.references.length">扩展内容</h4>
<div *ngFor="let reference of installConfig.references"><label> <div *ngFor="let reference of installConfig.references"><label>
<input type="checkbox" [(ngModel)]="reference.install" name="references" value="{{reference.app.id}}"> {{reference.app.name}} <input type="checkbox" [(ngModel)]="reference.install" name="references" value="{{reference.app.id}}"> {{reference.app.name}}
</label></div> </label></div>
......
...@@ -62,7 +62,19 @@ export class App { ...@@ -62,7 +62,19 @@ export class App {
conference: string | undefined; conference: string | undefined;
isInstalled(): boolean { isInstalled(): boolean {
return !!this.local; return this.status.status != 'init';
}
isReady(): boolean {
return this.status.status == 'ready';
}
isInstalling(): boolean {
return this.status.status == 'installing';
}
isWaiting(): boolean {
return this.status.status == 'waiting';
} }
runable() { runable() {
......
...@@ -46,4 +46,69 @@ span { ...@@ -46,4 +46,69 @@ span {
.actions { .actions {
margin-bottom: 1em; margin-bottom: 1em;
}
.progress {
height: 1em;
width: 1em;
float: right;
margin: 14px;
position: relative;
}
.pie {
height: 100%;
width: 100%;
clip: rect(0, 1em, 1em, 0.5em);
left: 0;
position: absolute;
top: 0;
}
.half-circle {
height: 100%;
width: 100%;
border: 0.2em solid #3498db;
border-radius: 50%;
clip: rect(0, 0.5em, 1em, 0);
left: 0;
position: absolute;
top: 0;
}
.shadow {
height: 100%;
width: 100%;
border: 0.2em solid #bdc3c7;
border-radius: 50%;
}
.right-side {
display: none;
}
.half-circle {
/*border-color: #e74c3c;*/
border-color: rgb(0, 116, 217);
}
.left-side {
/*transform: rotate(1turn);*/
/*在前台用Angular填写*/
}
.second-half {
clip: rect(auto, auto, auto, auto);
}
.second-half > .right-side {
display: inherit;
transform: rotate(0.5turn);
}
.fa-spin {
margin: 14px;
color: #0275d8;
font-weight: bold;
float: right;
} }
\ No newline at end of file
<!-- Begin page content --> <!-- Begin page content -->
<div id="main"> <div id="main">
<div id="apps" *ngIf="apps"> <div id="apps" *ngIf="apps">
<span *ngIf="grouped_apps.installed">已安装</span> <span *ngIf="grouped_apps.installed">已安装</span>
<ul *ngIf="grouped_apps.installed" class="nav nav-sidebar"> <ul *ngIf="grouped_apps.installed" class="nav nav-sidebar">
<li *ngFor="let app of grouped_apps.installed" [class.active]="app===currentApp"> <li *ngFor="let app of grouped_apps.installed" [class.active]="app===currentApp">
<i *ngIf="!app.isReady() && !app.status.total" class="spin fa fa-circle-o-notch fa-spin fa-fw"></i>
<div *ngIf="!app.isReady() && app.status.total" class="progress">
<div class="pie" [class.second-half]="app.status.progress/app.status.total>0.5">
<div class="left-side half-circle" [style.transform]="'rotate('+(app.status.progress/app.status.total).toString()+'turn)'"></div>
<div class="right-side half-circle"></div>
</div>
<div class="shadow"></div>
</div>
<a (click)="chooseApp(app)" href="#">{{app.name}}</a> <a (click)="chooseApp(app)" href="#">{{app.name}}</a>
</li> </li>
</ul> </ul>
...@@ -41,4 +50,5 @@ ...@@ -41,4 +50,5 @@
<app-detail *ngIf="currentApp" [currentApp]="currentApp"></app-detail> <app-detail *ngIf="currentApp" [currentApp]="currentApp"></app-detail>
<roster></roster> <roster></roster>
</div> </div>
<webview *ngIf="currentApp" #candy id="candy" [src]="candy_url" nodeintegration></webview> <webview *ngIf="currentApp" #candy id="candy" [src]="candy_url" nodeintegration></webview>
<?xml version="1.0" encoding="UTF-8" ?> <?xml version="1.0" ?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2"> <xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="zh-CN" datatype="plaintext" original="ng2.template"> <file datatype="plaintext" original="ng2.template" source-language="zh-CN" target-language="en-US">
<body> <body>
<trans-unit id="fbfb7c4354663a67786aa5aee748d1f38b8fe71c" datatype="html"> <trans-unit datatype="html" id="fbfb7c4354663a67786aa5aee748d1f38b8fe71c">
<source>游戏</source> <source>游戏</source>
<target>Library</target> <target>Library</target>
</trans-unit> </trans-unit>
<trans-unit id="c4fc2b3584e7581cddb08bb1ebfa41e601195d5b" datatype="html"> <trans-unit datatype="html" id="c4fc2b3584e7581cddb08bb1ebfa41e601195d5b">
<source>社区</source> <source>社区</source>
<target>Community</target> <target>Community</target>
</trans-unit> </trans-unit>
<trans-unit id="8422ff34db177236e8f54d415b07c972284c36bf" datatype="html"> <trans-unit datatype="html" id="8422ff34db177236e8f54d415b07c972284c36bf">
<source>切换账号</source> <source>切换账号</source>
<target>Change Account</target> <target>Change Account</target>
</trans-unit> </trans-unit>
<trans-unit id="a8cae935472a05e1c8c9be436bb7b1bdea96a54a" datatype="html"> <trans-unit datatype="html" id="a8cae935472a05e1c8c9be436bb7b1bdea96a54a">
<source>安装</source> <source>安装</source>
<target>Install</target> <target>Install</target>
</trans-unit> </trans-unit>
<trans-unit id="e6194d8a9c8da57b667847cd80f1da563f2c2b1e" datatype="html"> <trans-unit datatype="html" id="e6194d8a9c8da57b667847cd80f1da563f2c2b1e">
<source>导入</source> <source>导入</source>
<target>Import</target> <target>Import</target>
</trans-unit> </trans-unit>
<trans-unit id="2fe99d94b20d6f8aba7814d8657037ec9d69d36c" datatype="html"> <trans-unit datatype="html" id="2fe99d94b20d6f8aba7814d8657037ec9d69d36c">
<source>正在安装...</source> <source>正在安装...</source>
<target>Installing...</target> <target>Installing...</target>
</trans-unit> </trans-unit>
<trans-unit id="e5ee7e692c816893b6fd2f9375e6d8303cd794cd" datatype="html"> <trans-unit datatype="html" id="e5ee7e692c816893b6fd2f9375e6d8303cd794cd">
<source>等待安装...</source> <source>等待安装...</source>
<target>Pending...</target> <target>Pending...</target>
</trans-unit> </trans-unit>
<trans-unit id="d3852e0147360b29d0d6076e95dd1ad0098a60db" datatype="html"> <trans-unit datatype="html" id="d3852e0147360b29d0d6076e95dd1ad0098a60db">
<source>运行</source> <source>运行</source>
<target>Start</target> <target>Start</target>
</trans-unit> </trans-unit>
<trans-unit id="67adbad4f646bb8e1c440522bafea8fe5f7e6bfd" datatype="html"> <trans-unit datatype="html" id="67adbad4f646bb8e1c440522bafea8fe5f7e6bfd">
<source>设置</source> <source>设置</source>
<target>Custom</target> <target>Custom</target>
</trans-unit> </trans-unit>
<trans-unit id="3d6cad40e26f99e39bc6f5925a890ba83b67ce5b" datatype="html"> <trans-unit datatype="html" id="3d6cad40e26f99e39bc6f5925a890ba83b67ce5b">
<source>联机</source> <source>联机</source>
<target>Network</target> <target>Network</target>
</trans-unit> </trans-unit>
<trans-unit id="5eadb60473a54773298ee679a4ce6a19d9c2f31c" datatype="html"> <trans-unit datatype="html" id="5eadb60473a54773298ee679a4ce6a19d9c2f31c">
<source>复制</source> <source>复制</source>
<target>Copy</target> <target>Copy</target>
</trans-unit> </trans-unit>
<trans-unit id="95d5e106e679433bec012420b1ab9334c294bc7e" datatype="html"> <trans-unit datatype="html" id="95d5e106e679433bec012420b1ab9334c294bc7e">
<source>选择服务器</source> <source>选择服务器</source>
<target>Select Server</target> <target>Select Server</target>
</trans-unit> </trans-unit>
<trans-unit id="63346eb53d54138db02c1713ae58f73bb1b8786f" datatype="html"> <trans-unit datatype="html" id="63346eb53d54138db02c1713ae58f73bb1b8786f">
<source>新闻</source> <source>新闻</source>
<target>News</target> <target>News</target>
</trans-unit> </trans-unit>
<trans-unit id="b1c134df688af90e436e49f6d3e9f6960f9497c6" datatype="html"> <trans-unit datatype="html" id="b1c134df688af90e436e49f6d3e9f6960f9497c6">
<source>了解更多</source> <source>了解更多</source>
<target>More Info</target> <target>More Info</target>
</trans-unit> </trans-unit>
<trans-unit id="3ebbe3f1c691ec3184ac8c7a5f360706501e6b50" datatype="html"> <trans-unit datatype="html" id="3ebbe3f1c691ec3184ac8c7a5f360706501e6b50">
<source>名称</source> <source>名称</source>
<target>Name</target> <target>Name</target>
</trans-unit> </trans-unit>
<trans-unit id="d58ff4f339ad18d82b08fb0615ba8c1cf373a4a2" datatype="html"> <trans-unit datatype="html" id="d58ff4f339ad18d82b08fb0615ba8c1cf373a4a2">
<source>操作</source> <source>操作</source>
<target>Action</target> <target>Action</target>
</trans-unit> </trans-unit>
<trans-unit id="e090f6d9d8129a7b8b92387f05f37eb4b44c0b4e" datatype="html"> <trans-unit datatype="html" id="e090f6d9d8129a7b8b92387f05f37eb4b44c0b4e">
<source>卸载</source> <source>卸载</source>
<target>Uninstall</target> <target>Uninstall</target>
</trans-unit> </trans-unit>
<trans-unit id="8d0792a89fc399aafb40cc1228cb8c04a2056883" datatype="html"> <trans-unit datatype="html" id="8d0792a89fc399aafb40cc1228cb8c04a2056883">
<source>本地文件</source> <source>本地文件</source>
<target>Local Files</target> <target>Local Files</target>
</trans-unit> </trans-unit>
<trans-unit id="628c76783ac32e6c8b2ea9134397b8cb82a82cd6" datatype="html"> <trans-unit datatype="html" id="628c76783ac32e6c8b2ea9134397b8cb82a82cd6">
<source>浏览本地文件</source> <source>浏览本地文件</source>
<target>Browse</target> <target>Browse</target>
</trans-unit> </trans-unit>
<trans-unit id="6d582ed48c57c91fc7cf10f36f3869cd33808d1d" datatype="html"> <trans-unit datatype="html" id="6d582ed48c57c91fc7cf10f36f3869cd33808d1d">
<source>校验完整性</source> <source>校验完整性</source>
<target>Verify integrity</target> <target>Verify integrity</target>
</trans-unit> </trans-unit>
<trans-unit id="4809edca33b1a07d7d6e8905287d3825e676f2c8" datatype="html"> <trans-unit datatype="html" id="4809edca33b1a07d7d6e8905287d3825e676f2c8">
<source>安装 <x id="INTERPOLATION"/></source> <source>安装 <x id="INTERPOLATION"/></source>
<target>Install <x id="INTERPOLATION"/></target> <target>Install <x id="INTERPOLATION"/></target>
</trans-unit> </trans-unit>
<trans-unit id="f8e60167c7a0871ccf40ed2a0750311411dfd665" datatype="html"> <trans-unit datatype="html" id="f8e60167c7a0871ccf40ed2a0750311411dfd665">
<source>即将开始安装 <x id="INTERPOLATION"/></source> <source>即将开始安装 <x id="INTERPOLATION"/></source>
<target>Preparing Install <x id="INTERPOLATION"/></target> <target>Preparing Installation
<x id="INTERPOLATION"/>
</target>
</trans-unit> </trans-unit>
<trans-unit id="63a6c9b023e9e9f8ddfba70b0e24931008fa2510" datatype="html"> <trans-unit datatype="html" id="63a6c9b023e9e9f8ddfba70b0e24931008fa2510">
<source>安装位置</source> <source>安装位置</source>
<target>Path</target> <target>Path</target>
</trans-unit> </trans-unit>
<trans-unit id="0b96c54bf810c6deb2c32253bf16b86d3c90da94" datatype="html"> <trans-unit datatype="html" id="0b96c54bf810c6deb2c32253bf16b86d3c90da94">
<source>快捷方式</source> <source>快捷方式</source>
<target>Shortcuts</target> <target>Shortcuts</target>
</trans-unit> </trans-unit>
<trans-unit id="8aa0a41ee6809b972d3904d96607ba5e6dc48fd9" datatype="html"> <trans-unit datatype="html" id="8aa0a41ee6809b972d3904d96607ba5e6dc48fd9">
<source>创建 LaunchPad 快捷方式</source> <source>创建 LaunchPad 快捷方式</source>
<target>Create Launchpad Shortcut</target> <target>Create Launchpad Shortcut</target>
</trans-unit> </trans-unit>
<trans-unit id="da32e99069864644f0419f67858d93815e029b02" datatype="html"> <trans-unit datatype="html" id="da32e99069864644f0419f67858d93815e029b02">
<source>创建开始菜单快捷方式</source> <source>创建开始菜单快捷方式</source>
<target>Create Start Menu Shortcut</target> <target>Create Start Menu Shortcut</target>
</trans-unit> </trans-unit>
<trans-unit id="d8a2d9a9f8854ad118381e6e30a41dc1959a4f0b" datatype="html"> <trans-unit datatype="html" id="d8a2d9a9f8854ad118381e6e30a41dc1959a4f0b">
<source>创建桌面快捷方式</source> <source>创建桌面快捷方式</source>
<target>Create Desktop Shortcut</target> <target>Create Desktop Shortcut</target>
</trans-unit> </trans-unit>
<trans-unit id="2ba33dd61b1ac70666322680f248e5336b3ee69a" datatype="html"> <trans-unit datatype="html" id="2af1068491573803bc4756c4f94a689155370d9c">
<source>扩展内容</source>
<target>Expansion</target>
</trans-unit>
<trans-unit datatype="html" id="2ba33dd61b1ac70666322680f248e5336b3ee69a">
<source>依赖:</source> <source>依赖:</source>
<target>Dependencies</target> <target>Dependencies</target>
</trans-unit> </trans-unit>
<trans-unit datatype="html" id="def237147323023c1f5ce0579345da19d4707fdb"> <trans-unit datatype="html" id="def237147323023c1f5ce0579345da19d4707fdb">
<source>卡组</source> <source>卡组</source>
<target>Deck</target> <target>Deck</target>
</trans-unit> </trans-unit>
<trans-unit id="a842d4536fdee499a55c753c50810254347ced32" datatype="html"> <trans-unit datatype="html" id="a842d4536fdee499a55c753c50810254347ced32">
<source>编辑</source> <source>编辑</source>
<target>Edit</target> <target>Edit</target>
</trans-unit> </trans-unit>
<trans-unit id="08254f4ac965519b9a0befb43fd82bd6fa72a7af" datatype="html"> <trans-unit datatype="html" id="08254f4ac965519b9a0befb43fd82bd6fa72a7af">
<source>删除</source> <source>删除</source>
<target>Delete</target> <target>Delete</target>
</trans-unit> </trans-unit>
<trans-unit id="a9f9a37033c904e50f9920798cf02b0f3ccd8270" datatype="html"> <trans-unit datatype="html" id="a9f9a37033c904e50f9920798cf02b0f3ccd8270">
<source>刷新</source> <source>刷新</source>
<target>Refresh</target> <target>Refresh</target>
</trans-unit> </trans-unit>
<trans-unit id="86738bd5d32223ffbb690a7c71360ddf8e7b1b2e" datatype="html"> <trans-unit datatype="html" id="86738bd5d32223ffbb690a7c71360ddf8e7b1b2e">
<source>竞技匹配</source> <source>竞技匹配</source>
<target>Ranked Match</target> <target>Ranked Match</target>
</trans-unit> </trans-unit>
<trans-unit id="37869c115276c5df476f1f5aae75c099ffb35b59" datatype="html"> <trans-unit datatype="html" id="37869c115276c5df476f1f5aae75c099ffb35b59">
<source>取消等待</source> <source>取消等待</source>
<target>Cancel</target> <target>Cancel</target>
</trans-unit> </trans-unit>
<trans-unit id="0bf938a69dc640aba46428d1cbbd2fef34c88daa" datatype="html"> <trans-unit datatype="html" id="0bf938a69dc640aba46428d1cbbd2fef34c88daa">
<source>娱乐匹配</source> <source>娱乐匹配</source>
<target>Unranked Match</target> <target>Unranked Match</target>
</trans-unit> </trans-unit>
<trans-unit id="19923836b1ae79614782426a7a001d8ccfa27b5c" datatype="html"> <trans-unit datatype="html" id="19923836b1ae79614782426a7a001d8ccfa27b5c">
<source>创建房间</source> <source>创建房间</source>
<target>Custom Game</target> <target>Custom Game</target>
</trans-unit> </trans-unit>
<trans-unit id="c54a3c40a2766446dd03b0af75f64055aa404855" datatype="html"> <trans-unit datatype="html" id="c54a3c40a2766446dd03b0af75f64055aa404855">
<source>房间列表</source> <source>房间列表</source>
<target>Game List</target> <target>Game List</target>
</trans-unit> </trans-unit>
<trans-unit id="3768b60a7e2625bb1fc2db37eb8c6b8e4bd99101" datatype="html"> <trans-unit datatype="html" id="3768b60a7e2625bb1fc2db37eb8c6b8e4bd99101">
<source>单人模式</source> <source>单人模式</source>
<target>Simgle Mode</target> <target>Single Mode</target>
</trans-unit> </trans-unit>
<trans-unit id="1e64bb9c96dfc2b9cb03179dd0c9f992e0645e5f" datatype="html"> <trans-unit datatype="html" id="1e64bb9c96dfc2b9cb03179dd0c9f992e0645e5f">
<source>选择对手</source> <source>选择对手</source>
<target>Select Opponent</target> <target>Select Opponent</target>
</trans-unit> </trans-unit>
<trans-unit id="f6f3be110e7043e3cfe71a7bd75b8b3be79bff5d" datatype="html"> <trans-unit datatype="html" id="f6f3be110e7043e3cfe71a7bd75b8b3be79bff5d">
<source>取消</source> <source>取消</source>
<target>Cancel</target> <target>Cancel</target>
</trans-unit> </trans-unit>
<trans-unit id="e35d1bf7c735e8df55a62046cd2d9f820bf5bffd" datatype="html"> <trans-unit datatype="html" id="e35d1bf7c735e8df55a62046cd2d9f820bf5bffd">
<source>游戏标题</source> <source>游戏标题</source>
<target>Title</target> <target>Title</target>
</trans-unit> </trans-unit>
<trans-unit id="4b911deaa4defd0803635012281f3dd1112aabd1" datatype="html"> <trans-unit datatype="html" id="4b911deaa4defd0803635012281f3dd1112aabd1">
<source>卡片允许</source> <source>卡片允许</source>
<target>Rule</target> <target>Rule</target>
</trans-unit> </trans-unit>
<trans-unit id="93d3b6bb4f3a66efd8c49f9063f6c8d6a9e959bf" datatype="html"> <trans-unit datatype="html" id="93d3b6bb4f3a66efd8c49f9063f6c8d6a9e959bf">
<source>OCG</source> <source>OCG</source>
<target/> <target>OCG</target>
</trans-unit> </trans-unit>
<trans-unit id="150cb34526cf737163beb63ab76e4809ac1367dd" datatype="html"> <trans-unit datatype="html" id="150cb34526cf737163beb63ab76e4809ac1367dd">
<source>TCG</source> <source>TCG</source>
<target/> <target>TCG</target>
</trans-unit> </trans-unit>
<trans-unit id="be6d109c359b1d11b261280915e6b1706ca3ed9b" datatype="html"> <trans-unit datatype="html" id="be6d109c359b1d11b261280915e6b1706ca3ed9b">
<source>OCG &amp; TCG</source> <source>OCG &amp; TCG</source>
<target/> <target>TCG/OCG</target>
</trans-unit> </trans-unit>
<trans-unit id="2a3f48f9ea5e6aae92e249ac2b279dbc07a6127d" datatype="html"> <trans-unit datatype="html" id="2a3f48f9ea5e6aae92e249ac2b279dbc07a6127d">
<source>专有卡禁止</source> <source>专有卡禁止</source>
<target/> <target>Unspecified</target>
</trans-unit> </trans-unit>
<trans-unit id="d62a2717a0381d996785271c61177711777ba63c" datatype="html"> <trans-unit datatype="html" id="d62a2717a0381d996785271c61177711777ba63c">
<source>决斗模式</source> <source>决斗模式</source>
<target/> <target>Duel mode</target>
</trans-unit> </trans-unit>
<trans-unit id="e436a4a0da03320dc61ba35bfab390ab85a23d0c" datatype="html"> <trans-unit datatype="html" id="e436a4a0da03320dc61ba35bfab390ab85a23d0c">
<source>单局模式</source> <source>单局模式</source>
<target/> <target>Single Duel</target>
</trans-unit> </trans-unit>
<trans-unit id="2cf71acc936cf244cc5862b28efe461e91cb137d" datatype="html"> <trans-unit datatype="html" id="2cf71acc936cf244cc5862b28efe461e91cb137d">
<source>比赛模式</source> <source>比赛模式</source>
<target/> <target>Match</target>
</trans-unit> </trans-unit>
<trans-unit id="c2ed31e132c305b995382adce0f95ccdabadaa21" datatype="html"> <trans-unit datatype="html" id="c2ed31e132c305b995382adce0f95ccdabadaa21">
<source>TAG</source> <source>TAG</source>
<target/> <target>TAG</target>
</trans-unit> </trans-unit>
<trans-unit id="d4038dd5d0e9d5139d425fc7bea40e40d965cc5b" datatype="html"> <trans-unit datatype="html" id="d4038dd5d0e9d5139d425fc7bea40e40d965cc5b">
<source>额外选项</source> <source>额外选项</source>
<target/> <target>Additional Options</target>
</trans-unit> </trans-unit>
<trans-unit id="01cfbee3f1d69f5adae299b7b8c8d75034aef53b" datatype="html"> <trans-unit datatype="html" id="01cfbee3f1d69f5adae299b7b8c8d75034aef53b">
<source>初始 LP</source> <source>初始 LP</source>
<target/> <target>Starting LP</target>
</trans-unit> </trans-unit>
<trans-unit id="0d72e50857f1d2504e08f7886d4c9d35a46e3ed9" datatype="html"> <trans-unit datatype="html" id="0d72e50857f1d2504e08f7886d4c9d35a46e3ed9">
<source>初始手牌数</source> <source>初始手牌数</source>
<target/> <target>Starting Hand</target>
</trans-unit> </trans-unit>
<trans-unit id="88cc5676c5322fd55c1df94ab487359100e6f9dd" datatype="html"> <trans-unit datatype="html" id="88cc5676c5322fd55c1df94ab487359100e6f9dd">
<source>每回合抽卡</source> <source>每回合抽卡</source>
<target/> <target>Draw per Turn</target>
</trans-unit> </trans-unit>
<trans-unit id="e405d8c7feb2bed82f3f0667657fa4ab668ae015" datatype="html"> <trans-unit datatype="html" id="e405d8c7feb2bed82f3f0667657fa4ab668ae015">
<source>允许启动效果优先权</source> <source>允许启动效果优先权</source>
<target/> <target>Effect priority during Summon</target>
</trans-unit> </trans-unit>
<trans-unit id="6e7470ddf4c35f6fab39b6ebeadb1780701a5469" datatype="html"> <trans-unit datatype="html" id="6e7470ddf4c35f6fab39b6ebeadb1780701a5469">
<source>不检查卡组</source> <source>不检查卡组</source>
<target/> <target>Don't check</target>
</trans-unit> </trans-unit>
<trans-unit id="0320acff078b039f2220bb385586cd2e24392bbb" datatype="html"> <trans-unit datatype="html" id="0320acff078b039f2220bb385586cd2e24392bbb">
<source>开局不洗卡组</source> <source>开局不洗卡组</source>
<target/> <target>Don't shuffle</target>
</trans-unit> </trans-unit>
<trans-unit id="c17e9385db80e1881f37dda25d109b115a2843b3" datatype="html"> <trans-unit datatype="html" id="c17e9385db80e1881f37dda25d109b115a2843b3">
<source>查看房间</source> <source>查看房间</source>
<target/> <target>View rooms</target>
</trans-unit> </trans-unit>
<trans-unit id="f8ae23b4314929573cf0e815ccc12d70486dd74f" datatype="html"> <trans-unit datatype="html" id="f8ae23b4314929573cf0e815ccc12d70486dd74f">
<source>创建</source> <source>创建</source>
<target/> <target>Create</target>
</trans-unit> </trans-unit>
<trans-unit id="3872a823a98042e4730861ab6f9344239d9deeb6" datatype="html"> <trans-unit datatype="html" id="3872a823a98042e4730861ab6f9344239d9deeb6">
<source>玩家</source> <source>玩家</source>
<target/> <target>Player</target>
</trans-unit> </trans-unit>
<trans-unit id="4baa1360b4d635000fc5e14a6e7376f46ace0bd9" datatype="html"> <trans-unit datatype="html" id="4baa1360b4d635000fc5e14a6e7376f46ace0bd9">
<source><x id="INTERPOLATION"/> LP</source> <source><x id="INTERPOLATION"/> LP</source>
<target/> <target>
<x id="INTERPOLATION"/>
LP
</target>
</trans-unit> </trans-unit>
<trans-unit id="1939517ea2b4ff337ce2847302fbcc6f1217d269" datatype="html"> <trans-unit datatype="html" id="1939517ea2b4ff337ce2847302fbcc6f1217d269">
<source><x id="INTERPOLATION"/> 初始</source> <source><x id="INTERPOLATION"/> 初始</source>
<target/> <target>
<x id="INTERPOLATION"/>
Starting
</target>
</trans-unit> </trans-unit>
<trans-unit id="a19d6d5a2c74d9df73936a17b5c71b2069051b49" datatype="html"> <trans-unit datatype="html" id="a19d6d5a2c74d9df73936a17b5c71b2069051b49">
<source><x id="INTERPOLATION"/> 抽卡</source> <source><x id="INTERPOLATION"/> 抽卡</source>
<target/> <target>
<x id="INTERPOLATION"/>
Draw
</target>
</trans-unit> </trans-unit>
<trans-unit id="be32d8fb22f36c3b2c1530e91f2ca07d108c8abe" datatype="html"> <trans-unit datatype="html" id="be32d8fb22f36c3b2c1530e91f2ca07d108c8abe">
<source>优先权</source> <source>优先权</source>
<target/> <target>Priority</target>
</trans-unit> </trans-unit>
<trans-unit id="b5be173f96718dfa737f1da31d9ffab5b803561e" datatype="html"> <trans-unit datatype="html" id="b5be173f96718dfa737f1da31d9ffab5b803561e">
<source>不检查</source> <source>不检查</source>
<target/> <target>Don't check</target>
</trans-unit> </trans-unit>
<trans-unit id="517c8b6e5361bc32d7458a1e8b2bdbf09abb6f01" datatype="html"> <trans-unit datatype="html" id="517c8b6e5361bc32d7458a1e8b2bdbf09abb6f01">
<source>不洗卡</source> <source>不洗卡</source>
<target/> <target>Don't shuffle</target>
</trans-unit> </trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
"pack": "tsc && build --dir", "pack": "tsc && build --dir",
"dist": "tsc && build", "dist": "tsc && build",
"tsc": "tsc", "tsc": "tsc",
"i18n": "ng-xi18n" "i18n": "ng-xi18n && sed -i.bak 's/source-language=\"en\"/source-language=\"zh-CN\"/' messages.xlf"
}, },
"dependencies": { "dependencies": {
"@angular/common": "latest", "@angular/common": "latest",
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"reflect-metadata": "latest", "reflect-metadata": "latest",
"rxjs": "5.0.0-beta.12", "rxjs": "5.0.0-beta.12",
"systemjs": "mycard/systemjs#mycard", "systemjs": "mycard/systemjs#mycard",
"systemjs-plugin-text":"latest", "systemjs-plugin-text": "latest",
"tether": "latest", "tether": "latest",
"zone.js": "^0.6.26" "zone.js": "^0.6.26"
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment