Add: min_id TL

This commit is contained in:
Cutls 2019-05-06 19:10:03 +09:00
parent 771db8c3ad
commit 7a06a2b192
20 changed files with 4324 additions and 3784 deletions

2
.gitignore vendored
View File

@ -5,8 +5,6 @@
TheDesk-* TheDesk-*
app/build app/build
build build
make.js
make_js.js
app/.DS_Store app/.DS_Store
.DS_Store .DS_Store
.vs/* .vs/*

View File

@ -91,6 +91,9 @@ function details(id, acct_id, tlid, mode) {
} }
beforeToot(id, acct_id, dom); beforeToot(id, acct_id, dom);
userToot(id, acct_id, uid); userToot(id, acct_id, uid);
afterToot(id, acct_id, dom);
afterUserToot(id, acct_id, uid);
afterFTLToot(id, acct_id, dom);
faved(id, acct_id); faved(id, acct_id);
rted(id, acct_id); rted(id, acct_id);
if($("#toot-this div").hasClass("cvo")){ if($("#toot-this div").hasClass("cvo")){
@ -99,7 +102,7 @@ function details(id, acct_id, tlid, mode) {
$("#toot-this").addClass("cvo"); $("#toot-this").addClass("cvo");
} }
if(!$("#activator").hasClass("active")){ if(!$("#activator").hasClass("active")){
$('#det-col').collapsible('open', 1); $('#det-col').collapsible('open', 4);
} }
}); });
@ -332,6 +335,81 @@ function userToot(id, acct_id, user) {
} }
} }
//後のLTL
function afterToot(id, acct_id, domain) {
//var domain = localStorage.getItem("domain_" + acct_id);
var at = localStorage.getItem("acct_"+ acct_id + "_at");
var start = "https://" + domain +
"/api/v1/timelines/public?local=true&min_id=" + id;
fetch(start, {
method: 'GET',
headers: {
'content-type': 'application/json',
},
}).then(function(response) {
return response.json();
}).catch(function(error) {
todo(error);
console.error(error);
}).then(function(json) {
var templete = parse(json, 'noauth', acct_id);
if(templete!=""){
$("#ltl-after .no-data").hide();
}
$("#ltl-after").html(templete);
jQuery("time.timeago").timeago();
});
}
//後のUTL
function afterUserToot(id, acct_id, user) {
var domain = localStorage.getItem("domain_" + acct_id);
var at = localStorage.getItem("acct_"+ acct_id + "_at");
var start = "https://" + domain + "/api/v1/accounts/" + user + "/statuses?min_id=" + id;
fetch(start, {
method: 'GET',
headers: {
'content-type': 'application/json',
'Authorization': 'Bearer ' + at
},
}).then(function(response) {
return response.json();
}).catch(function(error) {
todo(error);
console.error(error);
}).then(function(json) {
var templete = parse(json, '', acct_id);
if(templete!=""){
$("#user-after .no-data").hide();
}
$("#user-after").html(templete);
jQuery("time.timeago").timeago();
});
}
//後のFTL
function afterFTLToot(id, acct_id, domain) {
//var domain = localStorage.getItem("domain_" + acct_id);
var at = localStorage.getItem("acct_"+ acct_id + "_at");
var start = "https://" + domain +
"/api/v1/timelines/public?min_id=" + id;
fetch(start, {
method: 'GET',
headers: {
'content-type': 'application/json',
},
}).then(function(response) {
return response.json();
}).catch(function(error) {
todo(error);
console.error(error);
}).then(function(json) {
var templete = parse(json, 'noauth', acct_id);
if(templete!=""){
$("#ftl-after .no-data").hide();
}
$("#ftl-after").html(templete);
jQuery("time.timeago").timeago();
});
}
//ふぁぼ一覧 //ふぁぼ一覧
function faved(id, acct_id) { function faved(id, acct_id) {

View File

@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="ja">
<head> <head>
<title>Account Manager - TheDesk</title> <title>Account Manager - TheDesk</title>
<meta content="width=device-width,initial-scale=1.0" name="viewport"> <meta content="width=device-width,initial-scale=1.0" name="viewport">
@ -40,7 +40,7 @@ body,html{overflow-y: scroll;}
<script type="text/javascript" src="../../js/common/jquery.js"></script> <script type="text/javascript" src="../../js/common/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script> <script type="text/javascript" src="../../js/platform/first.js"></script>
<script type="text/javascript" src="../../js/common/materialize.js"></script> <script type="text/javascript" src="../../js/common/materialize.js"></script>
<script type="text/javascript" src="../../js/lang/lang.en.js"></script> <script type="text/javascript" src="../../js/lang/lang.ja.js"></script>
<script> <script>
var misskeytoken=false; var misskeytoken=false;
</script> </script>
@ -48,23 +48,23 @@ body,html{overflow-y: scroll;}
<script type="text/javascript" src="../../js/common/time.js"></script> <script type="text/javascript" src="../../js/common/time.js"></script>
<script type="text/javascript" src="../../js/common/modal.js"></script> <script type="text/javascript" src="../../js/common/modal.js"></script>
<div class="hide-first"> <div class="hide-first">
<a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;">Back</a><br> <a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;">戻る</a><br>
<h5>List of accounts</h5> <h5>アカウント一覧</h5>
<div id="acct-list"></div> <div id="acct-list"></div>
<div class="divider"></div> <div class="divider"></div>
</div> </div>
<div> <div>
<h5>Add an account</h5><br> <h5>アカウントを追加</h5><br>
<div id="add"> <div id="add">
<div class="row"> <div class="row">
<div class="col s8"> <div class="col s8">
<input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp"> <input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp">
<div id="ins-suggest"></div> <div id="ins-suggest"></div>
Uncheck it to skip pasiting code.(login to Mastodon on Windows or macOS) (Recommended: pcheck)<br> チェックを外すとコード貼り付けをスキップできます。(<u>Mastodon</u>にWindowsやmacOSからログインする場合)失敗する場合はチェックを入れてください。<br>
<input type="checkbox" class="filled-in" id="linux" /> <input type="checkbox" class="filled-in" id="linux" />
<label for="linux">Code setup</label><br> <label for="linux">コードセットアップ</label><br>
<input type="checkbox" class="filled-in" id="misskey" /> <input type="checkbox" class="filled-in" id="misskey" />
<label for="misskey">Login as Misskey</label><br> <label for="misskey">Misskeyとしてログイン</label><br>
<button class="btn waves-effect" onclick="instance()">Login</button><br> <button class="btn waves-effect" onclick="instance()">Login</button><br>
</div> </div>
<div class="col s4"> <div class="col s4">
@ -73,21 +73,21 @@ body,html{overflow-y: scroll;}
</div> </div>
</div></div> </div></div>
<div id="auth" style="display:none"> <div id="auth" style="display:none">
Paste the code and close browser.<br> 指定されたコードを貼り付けてください。ログインウィンドウは閉じていただいて構いません。<br>
<input type="text" id="code" placeholder="Code"> <input type="text" id="code" placeholder="コードを入力">
<button class="btn waves-effect" onclick="code()">Auth</button><br> <button class="btn waves-effect" onclick="code()">Auth</button><br>
</div> </div>
<div id="misskeylogin" style="display:none"> <div id="misskeylogin" style="display:none">
<h5>AppSecret</h5> <h5>AppSecret</h5>
Read <a href="https://thedesk.top/how-to-misskey-login.html">Docs(ja)</a> to login Misskey.<br> <a href="https://thedesk.top/how-to-misskey-login.html">ドキュメント</a>を参照して正しいコードを入れてください。<br>
<input type="hidden" id="misskey-url"> <input type="hidden" id="misskey-url">
<input type="text" id="misskey-key" placeholder="Code"> <input type="text" id="misskey-key" placeholder="コードを入力">
<button class="btn waves-effect" onclick="misskeyLogin()">Auth</button><br> <button class="btn waves-effect" onclick="misskeyLogin()">Auth</button><br>
</div> </div>
</div> </div>
<div class="hide-first"> <div class="hide-first">
<h5>Main an account</h5> <h5>メインアカウント</h5>
<div class="input-field" style="width:300px"><span data-trans="your_acct">Select an account</span> <div class="input-field" style="width:300px"><span data-trans="your_acct">アカウントを選択</span>
<br> <br>
<select id="main-acct-sel" class="acct-sel" style="color:black" onchange="mainacct()"></select> <select id="main-acct-sel" class="acct-sel" style="color:black" onchange="mainacct()"></select>
<label></label> <label></label>
@ -98,12 +98,12 @@ Administered by:<a id="ins-admin"></a><br>
<span id="ins-desc"></span><br> <span id="ins-desc"></span><br>
<img src="../../img/loading.svg" id="ins-prof" width="200"><br> <img src="../../img/loading.svg" id="ins-prof" width="200"><br>
<br> <br>
Domain:<span id="ins-name"></span><br> ドメイン名:<span id="ins-name"></span><br>
Federated servers:<span id="ins-connect"></span><br> 接続サーバー数:<span id="ins-connect"></span><br>
Toots:<span id="ins-toot"></span><br> トゥート数:<span id="ins-toot"></span><br>
Users:<span id="ins-user"></span>Users<br> ユーザー数:<span id="ins-user"></span>ユーザー数<br>
Connection:<span id="ins-per"></span>%<br> コネクション:<span id="ins-per"></span>%<br>
Mastodon version:<span id="ins-ver"></span>@<span id="ins-upd"></span><br> Mastodonバージョン:<span id="ins-ver"></span>@<span id="ins-upd"></span><br>
</div> </div>
<script type="text/javascript" src="../../js/ui/theme.js"></script> <script type="text/javascript" src="../../js/ui/theme.js"></script>
<script type="text/javascript" src="../../js/platform/end.js"></script> <script type="text/javascript" src="../../js/platform/end.js"></script>

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html lang="en" style="overflow:scroll"> <html lang="ja" style="overflow:scroll">
<head> <head>
<title>Settings - TheDesk</title> <title>Settings - TheDesk</title>
@ -32,26 +32,26 @@
<script type="text/javascript" src="../../js/common/jquery.js"></script> <script type="text/javascript" src="../../js/common/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script> <script type="text/javascript" src="../../js/platform/first.js"></script>
<script type="text/javascript" src="../../js/common/materialize.js"></script> <script type="text/javascript" src="../../js/common/materialize.js"></script>
<script type="text/javascript" src="../../js/lang/lang.en.js"></script> <script type="text/javascript" src="../../js/lang/lang.ja.js"></script>
<script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script> <script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script>
<script src="../../node_modules/vue/dist/vue.min.js"></script> <script src="../../node_modules/vue/dist/vue.min.js"></script>
<script type="text/javascript" src="setting.vue.js"></script> <script type="text/javascript" src="setting.vue.js"></script>
<h4>Preferences</h4> <h4>設定</h4>
<ul class="collapsible" data-collapsible="accordion"> <ul class="collapsible" data-collapsible="accordion">
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">desktop_windows</i>System Preferences <i class="material-icons">desktop_windows</i>環境設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h5>Languages</h5> <h5>言語</h5>
To translate with Crowdin, you have to login Crowdin and restart TheDesk when login is finished.<br> To translate with Crowdin, you have to login Crowdin and restart TheDesk when login is finished.<br>
<a href="../ja/setting.html" onclick="changelang('ja')">日本語(Japanese)</a>/<a href="../en/setting.html" onclick="changelang('en')">English</a>/<a href="../ps/setting.html" onclick="changelang('ps')">Crowdin web translate</a>/ @@langlist@@
<h5>Import and export of preferences</h5> <h5>設定のインポートとエクスポート</h5>
<button onclick="exportSettings()" class="btn waves-effect lime darken-3" <button onclick="exportSettings()" class="btn waves-effect lime darken-3"
style="width:100%; max-width:200px;">Export</button> style="width:100%; max-width:200px;">エクスポート</button>
<button onclick="importSettings()" class="btn waves-effect cyan darken-3" <button onclick="importSettings()" class="btn waves-effect cyan darken-3"
style="width:100%; max-width:200px;">Import</button> style="width:100%; max-width:200px;">インポート</button>
<div id="envView"> <div id="envView">
<template v-for="(item, i) in config"> <template v-for="(item, i) in config">
<h5>{{item.text.head}}</h5> <h5>{{item.text.head}}</h5>
@ -59,7 +59,7 @@
<templete v-html="item.text.desc"></templete><br> <templete v-html="item.text.desc"></templete><br>
</template> </template>
<template v-if="item.id=='notf'"><a onclick="notftest()" <template v-if="item.id=='notf'"><a onclick="notftest()"
class="pointer">Notification test</a><br></template> class="pointer">通知テスト</a><br></template>
<template v-if="item.checkbox"> <template v-if="item.checkbox">
<template v-for="(check, j) in item.text.checkbox"> <template v-for="(check, j) in item.text.checkbox">
<input class="with-gap" v-on:click="complete(i,check.value)" v-model="item.setValue" <input class="with-gap" v-on:click="complete(i,check.value)" v-model="item.setValue"
@ -79,30 +79,30 @@
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}} v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
</template> </template>
<button class="btn waves-effect" style="width:100px;" <button class="btn waves-effect" style="width:100px;"
v-on:click="complete(i)">Change</button> v-on:click="complete(i)">変更</button>
</template><br> </template><br>
</template> </template>
</div> </div>
<h5>Font</h5> <h5>フォント</h5>
Select your favorite font to 'Select'(Windows/ macOS only)<br> 「選択」を押してフォントを選んでください。(Linuxでは動きません)<br>
<button class="btn waves-effect" style="width:100px;" onclick="font()">Select</button><br> <button class="btn waves-effect" style="width:100px;" onclick="font()">選択</button><br>
<div id="fonts" class="hide" style="overflow-y:scroll; width:300px; height:500px;"></div> <div id="fonts" class="hide" style="overflow-y:scroll; width:300px; height:500px;"></div>
<br> <br>
<input type="text" style="width:150px" id="font"> <input type="text" style="width:150px" id="font">
<button class="btn waves-effect" style="width:100px;" onclick="settings()">Save</button> <button class="btn waves-effect" style="width:100px;" onclick="settings()">設定</button>
<br> <br>
<h5>Folder to save</h5> <h5>デフォルトの保存先</h5>
TheDesk uses this value when it try to save pictures or take screenshots.<br> 画像ダウンロードやスクリーンショットに影響します。<br>
<button class="btn waves-effect" style="width:100px;" onclick="savefolder()">Change</button> <button class="btn waves-effect" style="width:100px;" onclick="savefolder()">変更</button>
<br> <br>
</div> </div>
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">color_lens</i>Themes <i class="material-icons">color_lens</i>テーマの設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h4>Select theme</h4> <h4>テーマの選択</h4>
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="black" value="black" /> <input class="with-gap" onchange="settings()" name="theme" type="radio" id="black" value="black" />
<label for="black">Black</label> <label for="black">Black</label>
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="white" value="white" /> <input class="with-gap" onchange="settings()" name="theme" type="radio" id="white" value="white" />
@ -118,66 +118,66 @@
<div style="width:300px" id="sel-selector"> <div style="width:300px" id="sel-selector">
<select id="custom-sel-sel" class="custom-sel" onchange="customSel()"></select> <select id="custom-sel-sel" class="custom-sel" onchange="customSel()"></select>
</div> </div>
<h4>Edit and add custom themes</h4> <h4>カスタムテーマの作成・編集</h4>
<div style="width:300px" id="edit-selector" data-add="Add new"> <div style="width:300px" id="edit-selector" data-add="新規作成">
<select id="custom-edit-sel" class="custom-sel" onchange="custom()"> <select id="custom-edit-sel" class="custom-sel" onchange="custom()">
<option value="add_new">Add new</option> <option value="add_new">新規作成</option>
</select> </select>
</div> </div>
<h5>Name</h5> <h5>名前</h5>
<input type="text" style="width:300px" id="custom_name" placeholder="Name..."> <input type="text" style="width:300px" id="custom_name" placeholder="名前...">
<h5>About this theme</h5> <h5>説明</h5>
<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea" <div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea"
placeholder="About this theme..."></textarea></div> placeholder="説明..."></textarea></div>
<h5>Color scheme</h5> <h5>色の系統</h5>
<input class="with-gap" name="direction" type="radio" id="dark" value="dark" checked="true" /> <input class="with-gap" name="direction" type="radio" id="dark" value="dark" checked="true" />
<label for="dark">Dark</label> <label for="dark">Dark</label>
<input class="with-gap" name="direction" type="radio" id="light" value="light" /> <input class="with-gap" name="direction" type="radio" id="light" value="light" />
<label for="light">Light</label> <label for="light">Light</label>
<div id="pickers"> <div id="pickers">
<div> <div>
<h5>Primary</h5>Background of components <h5>Primary</h5>補助要素に使われる背景色
<div id="color-picker0-wrap"> <div id="color-picker0-wrap">
<div class="color-picker" id="color-picker0"></div> <div class="color-picker" id="color-picker0"></div>
</div> </div>
<input type="hidden" id="color-picker0_value"> <input type="hidden" id="color-picker0_value">
</div> </div>
<div> <div>
<h5>Secondary</h5>Background color <h5>Secondary</h5>全体の背景色など
<div id="color-picker1-wrap"> <div id="color-picker1-wrap">
<div class="color-picker" id="color-picker1"></div> <div class="color-picker" id="color-picker1"></div>
</div> </div>
<input type="hidden" id="color-picker1_value"> <input type="hidden" id="color-picker1_value">
</div> </div>
<div> <div>
<h5>Texts</h5>Text color <h5>Texts</h5>テキストの色
<div id="color-picker2-wrap"> <div id="color-picker2-wrap">
<div class="color-picker" id="color-picker2"></div> <div class="color-picker" id="color-picker2"></div>
</div> </div>
<input type="hidden" id="color-picker2_value"> <input type="hidden" id="color-picker2_value">
</div> </div>
<div> <div>
<h5>Accent</h5>Background of boosts <h5>Accent</h5>ブーストの背景色など
<div id="color-picker3-wrap"> <div id="color-picker3-wrap">
<div class="color-picker" id="color-picker3"></div> <div class="color-picker" id="color-picker3"></div>
</div> </div>
<input type="hidden" id="color-picker3_value"> <input type="hidden" id="color-picker3_value">
</div> </div>
</div> </div>
<button class="btn-large waves-effect" onclick="customComp()">Change</button>&nbsp;<button <button class="btn-large waves-effect" onclick="customComp()">変更</button>&nbsp;<button
class="btn waves-effect red disabled" id="delTheme" onclick="deleteIt()">Delete</button><br><br> class="btn waves-effect red disabled" id="delTheme" onclick="deleteIt()">削除</button><br><br>
<input type="text" style="width:300px" id="custom_json" class="materialize-textarea" <input type="text" style="width:300px" id="custom_json" class="materialize-textarea"
placeholder="JSON style" readonly><br> placeholder="JSON style" readonly><br>
Share this code with other TheDesk. Do not share this code with MiAS. このコードは他のTheDeskなどとシェアできます。このコードをMiASに貼ることはご遠慮ください。詳細:<a href="https://thedesk.top/mias.html" target="_blank">テーマ互換性</a>
<h4>Import of custom themes</h4> <h4>カスタムテーマのインポート</h4>
Get more themes on <a href="https://assets.msky.cafe/" target="_blank">MiAS</a><br> <a href="https://assets.msky.cafe/" target="_blank">MiAS</a>上の80を超えるテーマを張り付けることもできます。<br>
<input type="text" style="width:300px" id="custom_import" class="materialize-textarea" <input type="text" style="width:300px" id="custom_import" class="materialize-textarea"
placeholder="JSON/JSON5 style"> placeholder="JSON/JSON5 style">
<button class="btn waves-effect" onclick="customImp()">Import</button><br> <button class="btn waves-effect" onclick="customImp()">インポート</button><br>
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">reorder</i>Timeline Preferences <i class="material-icons">reorder</i>タイムラインの設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<div id="tlView"> <div id="tlView">
@ -205,11 +205,11 @@
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}} v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
</template> </template>
<button class="btn waves-effect" style="width:100px;" <button class="btn waves-effect" style="width:100px;"
v-on:click="complete(i)">Change</button> v-on:click="complete(i)">変更</button>
</template><br> </template><br>
</template> </template>
</div> </div>
<h5>Custom sound</h5> <h5>カスタム通知音</h5>
<button class="btn waves-effect" style="width:120px;" onclick="customSound(1)">Custom 1</button><span id="c1-file"></span><br> <button class="btn waves-effect" style="width:120px;" onclick="customSound(1)">Custom 1</button><span id="c1-file"></span><br>
<button class="btn waves-effect" style="width:120px;" onclick="customSound(2)">Custom 2</button><span id="c2-file"></span><br> <button class="btn waves-effect" style="width:120px;" onclick="customSound(2)">Custom 2</button><span id="c2-file"></span><br>
<button class="btn waves-effect" style="width:120px;" onclick="customSound(3)">Custom 3</button><span id="c3-file"></span><br> <button class="btn waves-effect" style="width:120px;" onclick="customSound(3)">Custom 3</button><span id="c3-file"></span><br>
@ -218,7 +218,7 @@
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">send</i>Posting Preferences <i class="material-icons">send</i>投稿設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<div id="postView"> <div id="postView">
@ -249,7 +249,7 @@
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}} v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
</template> </template>
<button class="btn waves-effect" style="width:100px;" <button class="btn waves-effect" style="width:100px;"
v-on:click="complete(i)">Change</button> v-on:click="complete(i)">変更</button>
</template><br> </template><br>
</template> </template>
</div> </div>
@ -257,49 +257,49 @@
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">keyboard</i>Keyboard shortcut Preferences <i class="material-icons">keyboard</i>キーボードショートカットの設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h5>Easy inserter</h5> <h5>簡単文字入力</h5>
You can insert any letters and emojis with only 3 keys<br> 絵文字やタグ、&gt;BTなどを登録しておくとすぐに入力できます。<br>
Ctrl+Shift+1:<input type="text" style="width:150px" id="oks-1"> Ctrl+Shift+1:<input type="text" style="width:150px" id="oks-1">
<button onclick="oks(1)" class="btn waves-effect" style="width:100px;">Save</button><br><br> <button onclick="oks(1)" class="btn waves-effect" style="width:100px;">設定</button><br><br>
Ctrl+Shift+2:<input type="text" style="width:150px" id="oks-2"> Ctrl+Shift+2:<input type="text" style="width:150px" id="oks-2">
<button onclick="oks(2)" class="btn waves-effect" style="width:100px;">Save</button><br><br> <button onclick="oks(2)" class="btn waves-effect" style="width:100px;">設定</button><br><br>
Ctrl+Shift+3:<input type="text" style="width:150px" id="oks-3"> Ctrl+Shift+3:<input type="text" style="width:150px" id="oks-3">
<button onclick="oks(3)" class="btn waves-effect" style="width:100px;">Save</button><br><br> <button onclick="oks(3)" class="btn waves-effect" style="width:100px;">設定</button><br><br>
</div> </div>
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">bookmark</i>Mute & Emphasis Preferences <i class="material-icons">bookmark</i>ミュート・強調の設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h5>Client Mute</h5> <h5>クライアントミュート</h5>
<div id="mute-cli"></div> <div id="mute-cli"></div>
<h5>Client Emphasis</h5> <h5>クライアント強調</h5>
Click client name on toots to toggle mute and emphasis. 各トゥートのクライアントをクリックすると設定できます。
<h5>Words Mute</h5> <h5>ワードミュート</h5>
Enter to set<br> Enterで確定<br>
<div class="chips" id="wordmute" style="background-color:gray;"></div> <div class="chips" id="wordmute" style="background-color:gray;"></div>
<button onclick="wordmuteSave()" class="btn waves-effect" style="width:100px;">Save</button> <button onclick="wordmuteSave()" class="btn waves-effect" style="width:100px;">設定</button>
<h5>Words Emphasis</h5> <h5>ワード強調</h5>
Enter to set<br> Enterで確定<br>
<div class="chips" id="wordemp" style="background-color:gray;"></div> <div class="chips" id="wordemp" style="background-color:gray;"></div>
<button onclick="wordempSave()" class="btn waves-effect" style="width:100px;">Save</button> <button onclick="wordempSave()" class="btn waves-effect" style="width:100px;">設定</button>
<h5>Users Emphasis</h5> <h5>ユーザー強調</h5>
Set on users data modals. 各ユーザーのデータ表示画面で設定できます。
<span class="emphasized"> Use this color to emphasis </span> <span class="emphasized"> 強調色(テーマによって異なります。) </span>
</div> </div>
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="fa fa-spotify"></i>Spotify and NowPlaying Preferences <i class="fa fa-spotify"></i>SpotifyとNowPlayingの設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h5>NowPlaying Provider(Windows)</h5> <h5>NowPlayingのソース(Windows)</h5>
macOS and Linux are not supported. AIMP and iTunes were checked by developer. <br>CAD:foobar2000, MusicBee,J. River Media Center, Media Jukebox<br>WLM:Last.fm Client, TTPlayer, OpenPandora, Zune.<br> For foobar2000, <a href="http://poiru.github.com/foo-cad/">foo_cad plugin</a> is required. And MusicBee requires CAD.<br> macOSやLinuxでは動作しません。AIMPとiTunes以外未検証です。<br>foobar2000, MusicBee,J. River Media Center, Media JukeboxはCADを、Last.fm Client, TTPlayer, OpenPandora, ZuneはWLMを選んでください。<br>ただし、foobar2000は<a href="http://poiru.github.com/foo-cad/">foo_cad plugin</a>が必要です。MusicBeeもCADを有効にする必要があります。<br>
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="aimp" value="AIMP" /> <input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="aimp" value="AIMP" />
<label for="aimp">AIMP</label> <label for="aimp">AIMP</label>
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="itunes" value="ITUNES" /> <input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="itunes" value="ITUNES" />
@ -314,80 +314,80 @@
<label for="wlm">WLM</label> <label for="wlm">WLM</label>
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="cad" value="CAD" /> <input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="cad" value="CAD" />
<label for="cad">CAD</label><br><br> <label for="cad">CAD</label><br><br>
Click <i class="material-icons" style="font-size:24px;">music_note</i>icon to NowPlaying<br> <i class="material-icons" style="font-size:24px;">music_note</i>ボタンから簡単にNowPlayingができます。<br>
<h5>Account Connection</h5> <h5>アカウントの連携</h5>
TheDesk save your data on thedesk.top server.<br> APIの性質上thedesk.topへアクセスします。<br>
<div id="spotify-code-show" class="hide"><input type="text" id="spotify-code"><button <div id="spotify-code-show" class="hide"><input type="text" id="spotify-code"><button
onclick="spotifyAuth()" class="btn waves-effect" style="width:100px;">Save</button></div> onclick="spotifyAuth()" class="btn waves-effect" style="width:100px;">設定</button></div>
<a onclick="spotifyConnect()" class="btn waves-effect nex" <a onclick="spotifyConnect()" class="btn waves-effect nex"
style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-enable"><i style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-enable"><i
class="fa fa-spotify left"></i>Connect</a> class="fa fa-spotify left"></i>接続</a>
<a onclick="spotifyDisconnect()" class="btn waves-effect nex disabled" <a onclick="spotifyDisconnect()" class="btn waves-effect nex disabled"
style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-disable"><i style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-disable"><i
class="fa fa-spotify left"></i>Disconnect</a> class="fa fa-spotify left"></i>切断</a>
<h5>Edit a template</h5> <h5>テンプレートの編集</h5>
<br> 以下を編集してテンプレートを変更できます。<br>
<textarea id="np-temp" class="materialize-textarea" data-length="500">#NowPlaying {song} / {album} / {artist} <textarea id="np-temp" class="materialize-textarea" data-length="500">#NowPlaying {song} / {album} / {artist}
{url}</textarea><br> {url}</textarea><br>
Spotify:{song}:Song name/{album}:Album name/{artist}:Artist name/{url}:URL to Spotify<br> Spotify:{song}:曲名/{album}:アルバム名/{artist}:アーティスト名/{url}:各曲のSpotifyのURL<br>
macOS:{song}:Song name/{album}:Album name/{artist}:Artist name/composer:{composer}/spampling rate:{hz}/bit rate:{bitRate}/genre:{genre}<br> macOS:{song}:曲名/{album}:アルバム名/{artist}:アーティスト名/作曲家{composer}/サンプルレート{hz}/ビットレート{bitRate}/ジャンル{genre}<br>
Windows:{song}:Song name/{album}:Album name/{artist}:Artist name<br> Windows:{song}:曲名/{album}:アルバム名/{artist}:アーティスト名<br>
<button onclick="spotifySave()" class="btn waves-effect" style="width:100px;">Save</button> <button onclick="spotifySave()" class="btn waves-effect" style="width:100px;">設定</button>
<h5>Attach an Artwork of Spotify</h5> <h5>アルバムアートワークを添付する(Spotify/Windows)</h5>
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_yes" value="yes" /> <input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_yes" value="yes" />
<label for="awk_yes">Yes</label> <label for="awk_yes">はい</label>
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_no" value="no" /> <input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_no" value="no" />
<label for="awk_no">No</label> <label for="awk_no">いいえ</label>
<br> <br>
</div> </div>
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">hearing</i>TTS(text to speech) Preferences <i class="material-icons">hearing</i>読み上げの設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h5>Speed</h5> <h5>読み上げの速さ</h5>
1-100(default:10)<br> 1-100まで、デフォルトは10。<br>
<p class="range-field"><input type="range" id="voicespeed" min="1" max="100" value="10" <p class="range-field"><input type="range" id="voicespeed" min="1" max="100" value="10"
style="width:500px; max-width:100%" /></p> style="width:500px; max-width:100%" /></p>
<h5>Pitch</h5> <h5>読み上げの高さ</h5>
0-100(default:50)<br> 0-100まで、デフォルトは50。(大きくなるほど高い)<br>
<p class="range-field"><input type="range" id="voicepitch" min="0" max="100" value="50" <p class="range-field"><input type="range" id="voicepitch" min="0" max="100" value="50"
style="width:500px; max-width:100%" /></p> style="width:500px; max-width:100%" /></p>
<h5>Volume</h5> <h5>読み上げの音量</h5>
0-100(default:100)<br> 0-100まで、デフォルトは100。<br>
<p class="range-field"><input type="range" id="voicevol" min="0" max="100" value="100" <p class="range-field"><input type="range" id="voicevol" min="0" max="100" value="100"
style="width:500px; max-width:100%" /></p> style="width:500px; max-width:100%" /></p>
<h5>Test</h5> <h5>テスト</h5>
<input type="text" style="width:350px" id="voicetxt" value="TheDesk is an open-source Mastodon client for PC."> <input type="text" style="width:350px" id="voicetxt" value="これはテスト音声です。TheDeskはオープンソースのPC向けマストドンクライアントです。マルチサーバーやマルチカラムに対応しています。">
<button class="btn waves-effect blue" style="width:150px;" onclick="voicePlay()" <button class="btn waves-effect blue" style="width:150px;" onclick="voicePlay()"
id="testplay">Play/Stop</button><br> id="testplay">再生/停止</button><br>
<br> <br>
<button class="btn waves-effect" style="width:100px;" onclick="voiceSettings()">Save</button> <button class="btn waves-effect" style="width:100px;" onclick="voiceSettings()">設定</button>
</div> </div>
</li> </li>
</ul> </ul>
<br> <br>
<a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;"><i <a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;"><i
class="material-icons left">undo</i>Back</a> class="material-icons left">undo</i>戻る</a>
<br> <br>
<br>Keyboard shortcuts <br>キーボードショートカット一覧
<li>Ctrl+1-9:Jump to n(1-9)th column</li> <li>Ctrl+1-9:1番目9番目のTLにスクロール</li>
<li>N:Open toot box</li> <li>N:投稿パネルを開く</li>
<li>X:Toggle toot box</li> <li>X:投稿パネルを開閉</li>
<li>Ctrl+Enter:Post</li> <li>Ctrl+Enter:投稿</li>
<li>Ctrl+Enter+Shift:Post(secondary toot)</li> <li>Ctrl+Enter+Shift:投稿(セカンダリートゥート)</li>
<li>Alt+Enter:Secondary Toot Button</li> <li>Alt+Enter:セカンダリートゥートボタン</li>
<li>Ctrl+E:Make all notifications read</li> <li>Ctrl+E:全ての通知を既読にする</li>
<li>Esc:Hide toot box</li> <li>Esc:投稿パネルを消す</li>
<li>F5:Super Reload</li> <li>F5:スーパーリロード</li>
<li>Ctrl+Shift+C:Clear toot box</li> <li>Ctrl+Shift+C:入力内容を消す</li>
<li>Ctrl+Shift+S:Preferences</li> <li>Ctrl+Shift+S:設定</li>
<li>Ctrl+Shift+M:Account Manager</li> <li>Ctrl+Shift+M:アカウントマネージャ</li>
<li>Ctrl+Shift+N:NowPlaying(Spotify)</li> <li>Ctrl+Shift+N:NowPlaying(Spotify)</li>
<li>Ctrl+Shift+P:Show profile of selecting</li> <li>Ctrl+Shift+P:現在選択中のプロフィール</li>
<li>←/→:Show next or previous image</li> <li>←/→:イメージビューワー起動時に画像切り替え</li>
<li>Mousewheel:Zoom a image</li> <li>マウスホイール:イメージビューワー時に拡大縮小</li>
<div class="hide kirishima"> <div class="hide kirishima">
以下Markdownに対応したインスタンスのみ。 以下Markdownに対応したインスタンスのみ。
<br> <br>
@ -401,16 +401,16 @@
</li><br> </li><br>
</div> </div>
<button class="btn waves-effect red" style="width:100%; max-width:500px;" <button class="btn waves-effect red" style="width:100%; max-width:500px;"
onclick="if(confirm('Delete all data. You cannot undo. Continue?')){ localStorage.clear(); location.href='index.html'; }"><i onclick="if(confirm('全てのデータを削除します。この操作は取り消せません。')){ localStorage.clear(); location.href='index.html'; }"><i
class="material-icons left">delete</i>Reset(Danger)</button><br><br> class="material-icons left">delete</i>初期化</button><br><br>
<button class="btn waves-effect indigo" onclick="about()" style="width:100%; max-width:500px;"><i <button class="btn waves-effect indigo" onclick="about()" style="width:100%; max-width:500px;"><i
class="material-icons left">info</i>About TheDesk</button> class="material-icons left">info</i>このソフトについて</button>
<a href="https://thedesk.top" class="btn waves-effect deep-purple lighten-2" style="width:100%; max-width:500px;"><i <a href="https://thedesk.top" class="btn waves-effect deep-purple lighten-2" style="width:100%; max-width:500px;"><i
class="material-icons left">web</i>Website</a> class="material-icons left">web</i>公式HP</a>
<a href="https://www.pixiv.net/fanbox/creator/28105985" class="btn waves-effect red lighten-2" <a href="https://www.pixiv.net/fanbox/creator/28105985" class="btn waves-effect red lighten-2"
style="width:100%; max-width:500px;"><i class="material-icons left">trending_up</i>Support(Pixiv FANBOX)</a> style="width:100%; max-width:500px;"><i class="material-icons left">trending_up</i>支援(Pixiv FANBOX)</a>
<a href="https://docs.thedesk.top" class="btn waves-effect blue darken-2" style="width:100%; max-width:500px;"><i <a href="https://docs.thedesk.top" class="btn waves-effect blue darken-2" style="width:100%; max-width:500px;"><i
class="material-icons left">list</i>Help/Docs(Constructing)</a> class="material-icons left">list</i>ヘルプ/Docs(Constructing)</a>
<a href="https://github.com/cutls/TheDesk" class="btn waves-effect black lighten-2" <a href="https://github.com/cutls/TheDesk" class="btn waves-effect black lighten-2"
style="width:100%; max-width:500px;"><i class="fa fa-github left"></i>GitHub</a> style="width:100%; max-width:500px;"><i class="fa fa-github left"></i>GitHub</a>
<a href="index.html?mode=user&code=Cutls@cutls.com" class="btn waves-effect blue lighten-2" <a href="index.html?mode=user&code=Cutls@cutls.com" class="btn waves-effect blue lighten-2"
@ -420,8 +420,8 @@
Kyash<br> Kyash<br>
<img src="../../img/kyash.png" width="100"><br> <img src="../../img/kyash.png" width="100"><br>
<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';" <a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';"
class="pointer">Check update</a><br> class="pointer">アップデートを確認</a><br>
<a href="oss.html">OSS License</a><br> <a href="oss.html">OSS License(オープンソースライセンス)</a><br>
<span style="font-family:Open Sans;">Copyright &copy; Cutls P 2018 All Rights Reserved. <span style="font-family:Open Sans;">Copyright &copy; Cutls P 2018 All Rights Reserved.
Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a
href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy

View File

@ -1,18 +1,18 @@
var yesno=[ var yesno=[
{ {
text:"Yes", text:"はい",
value:"yes" value:"yes"
},{ },{
text:"No", text:"いいえ",
value:"no" value:"no"
} }
]; ];
var sound=[ var sound=[
{ {
text:"None", text:"なし",
value:"none" value:"none"
},{ },{
text:"Default", text:"既定",
value:"default" value:"default"
},{ },{
text:"Custom 1", text:"Custom 1",
@ -37,9 +37,9 @@ var envConstruction=[
setValue:0, setValue:0,
width:50, width:50,
text:{ text:{
head:"Popup notification(on Windows)", head:"新規通知のポップアップお知らせの表示秒数",
desc:'Hide to set "0"', desc:'0に設定すると表示されません',
after:"sec" after:""
} }
},{ },{
id:"notf", id:"notf",
@ -47,8 +47,8 @@ var envConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"Native notification", head:"ネイティブ通知設定",
desc:"This does not work on Windows Portable ver.", desc:"Portableバージョンでは表示できません。",
checkbox:yesno checkbox:yesno
} }
},{ },{
@ -59,9 +59,9 @@ var envConstruction=[
width:50, width:50,
setValue:300, setValue:300,
text:{ text:{
head:"Minimum width of columns", head:"マルチカラムの最低横幅",
desc:"Scroll bar will be shown when your window size is more than ammounts of columns.", desc:"画面全体の横幅÷コラム数がこの値を超えた時、横スクロールとなります。",
after:"px above" after:"px 以上"
} }
},{ },{
id:"fixwidth", id:"fixwidth",
@ -71,9 +71,9 @@ var envConstruction=[
setValue:300, setValue:300,
width:50, width:50,
text:{ text:{
head:"Minimum width of TweetDeck browser", head:"TweetDeckの限定の最低横幅",
desc:"", desc:"",
after:"px above" after:"px 以上"
} }
},{ },{
id:"size", id:"size",
@ -83,8 +83,8 @@ var envConstruction=[
width:50, width:50,
setValue:13, setValue:13,
text:{ text:{
head:"Font size", head:"フォントサイズ",
desc:'<span style="font-size:13px">13px(absolute value)</span>', desc:'<span style="font-size:13px">13px(絶対指定)</span>',
after:"px" after:"px"
} }
},{ },{
@ -93,14 +93,14 @@ var envConstruction=[
checkbox:true, checkbox:true,
setValue:false, setValue:false,
text:{ text:{
head:"Disable hardware acceleration", head:"ハードウェアアクセラレーションの無効化",
desc:"Auto restarted", desc:"表示(特に設定画面)が乱れる場合に「はい」を選択してください。自動で再起動します。",
checkbox:[ checkbox:[
{ {
text:"Yes", text:"はい",
value:"true" value:"true"
},{ },{
text:"No", text:"いいえ",
value:"false" value:"false"
} }
] ]
@ -114,20 +114,20 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"absolute", setValue:"absolute",
text:{ text:{
head:"Time format", head:"時間表記設定",
desc:'Relative format:"1 minutes ago","3 days ago"<br>Absolute format:"23:25:21","2017/12/30 23:59:00"<br>Mixed format:toots posted today are relative-format, others are absolute-format.', desc:'相対時間の例:"1分前","3日前"<br>絶対時間の例"23:25:21","2017年12月30日 23:59:00"<br>混合表示は、当日のトゥートのみ相対、それ以外は絶対で表示 ',
checkbox:[ checkbox:[
{ {
text:"Relative", text:"相対時間",
value:"relative" value:"relative"
},{ },{
text:"Absolute", text:"絶対時間",
value:"absolute" value:"absolute"
},{ },{
text:"Both relative and absolute", text:"両方表示",
value:"double" value:"double"
},{ },{
text:"Mixed", text:"混合表示",
value:"medium" value:"medium"
} }
@ -139,8 +139,8 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"Server's unique locale", head:"独自ロケールを使用",
desc:"This value is available on some Japanese servers", desc:"対応サーバーではそのサーバーにあわせた言語表示ができます。",
checkbox:yesno checkbox:yesno
} }
},{ },{
@ -149,8 +149,8 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"Hide NSFW pictures", head:"非表示設定の画像(NSFW)を隠す",
desc:"Strong blur effect", desc:"きつめのぼかしがかかります。",
checkbox:yesno checkbox:yesno
} }
},{ },{
@ -159,7 +159,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"Hide CW contents", head:"非表示設定のテキスト(CW)を隠す",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -169,14 +169,14 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"hidden", setValue:"hidden",
text:{ text:{
head:"Reply counter style", head:"リプライ数表示",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"Show 1+ if the replies are more than 1.", text:"2以上のとき1+と表示",
value:"hidden" value:"hidden"
},{ },{
text:"Show 1+ if the replies are more than 1.", text:"2以上のとき1+と表示",
value:"all" value:"all"
} }
@ -188,7 +188,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"Animated GIF images animation", head:"アイコンのアニメーションを再生する",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -198,14 +198,14 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"local", setValue:"local",
text:{ text:{
head:"Tag TL Search", head:"タグタイムラインの表示範囲",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"Use federated network", text:"接続しているサーバー",
value:"all" value:"all"
},{ },{
text:"Use local network", text:"検索対象のサーバーのみ",
value:"local" value:"local"
} }
@ -217,7 +217,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"no", setValue:"no",
text:{ text:{
head:"Show via", head:"viaを表示する",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -227,17 +227,17 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"no", setValue:"no",
text:{ text:{
head:"Hide action buttons without mouseover", head:"アクションメニューを非表示",
desc:"You may feel 'mouseover' is unconfortable:(", desc:"「マウスオーバー」はすこし鬱陶しいと思うかもしれません。",
checkbox:[ checkbox:[
{ {
text:"Mouseover to show", text:"マウスオーバーで表示",
value:"yes" value:"yes"
},{ },{
text:"Click to show", text:"クリックで表示",
value:"click" value:"click"
},{ },{
text:"No", text:"いいえ",
value:"no" value:"no"
} }
@ -249,7 +249,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"Show Notification marker, red colored bell and counter(if you show a notification column.)", head:"通知を開いているとき、通知新着お知らせを表示する",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -262,18 +262,18 @@ var tlConstruction=[
storage:"sentence", storage:"sentence",
width:50, width:50,
setValue:500, setValue:500,
text:{after:"lines above or"} text:{after:"行 以上 または"}
},{ },{
id:"letters", id:"letters",
storage:"letters", storage:"letters",
width:50, width:50,
setValue:7000, setValue:7000,
text:{after:"letters above"} text:{after:"文字 以上"}
} }
], ],
text:{ text:{
head:"Auto folding", head:"指定行数以上を折りたたむ",
desc:"TheDesk does not collapse totes of 5 characters or less. Also, when collapsing, newlines are not shown. TheDesk count only newlines as the number of lines.", desc:"5文字以下のトゥートは折りたたみません。また、折りたたみ時は改行が描画されません。改行のみを行数とカウントします。",
} }
},{ },{
id:"img-height", id:"img-height",
@ -283,8 +283,8 @@ var tlConstruction=[
width:80, width:80,
setValue:200, setValue:200,
text:{ text:{
head:"Height of images", head:"画像の高さ",
desc:'Option:Set "full" to uncrop.', desc:'オプション:「full」と指定すると全ての画像をクロップしません。',
after:"px" after:"px"
} }
},{ },{
@ -293,8 +293,8 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"no", setValue:"no",
text:{ text:{
head:"Enable #InstanceTicker", head:"#InstanceTickerを使う",
desc:'Show colorful stickers about the server. <a href="https://cdn.weep.me/mastodon/">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.', desc:'トゥートした人の所属サーバーをわかりやすく彩ります(自サーバー以外のトゥート向け)。<a href="https://cdn.weep.me/mastodon/">#InstanceTickerについて</a> Copyright 2018 weepjp, kyori19.',
checkbox:yesno checkbox:yesno
} }
},{ },{
@ -303,7 +303,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"Animation of timelines", head:"タイムラインのアニメーション",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -313,7 +313,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"none", setValue:"none",
text:{ text:{
head:"Sound(Reply)", head:"リプライの通知音",
desc:"", desc:"",
checkbox:sound checkbox:sound
} }
@ -323,7 +323,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"none", setValue:"none",
text:{ text:{
head:"Sound(Fav)", head:"お気に入り登録の通知音",
desc:"", desc:"",
checkbox:sound checkbox:sound
} }
@ -333,7 +333,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"none", setValue:"none",
text:{ text:{
head:"Sound(Boost)", head:"ブーストの通知音",
desc:"", desc:"",
checkbox:sound checkbox:sound
} }
@ -343,7 +343,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"none", setValue:"none",
text:{ text:{
head:"Sound(Follow)", head:"フォローの通知音",
desc:"", desc:"",
checkbox:sound checkbox:sound
} }
@ -358,7 +358,7 @@ var postConstruction=[
width:150, width:150,
setValue:"", setValue:"",
text:{ text:{
head:"Default warining text", head:"デフォルトの警告文",
desc:"", desc:"",
after:"" after:""
} }
@ -371,18 +371,18 @@ var postConstruction=[
storage:"cw_sentence", storage:"cw_sentence",
width:50, width:50,
setValue:500, setValue:500,
text:{after:"lines above or"} text:{after:"行 以上 または"}
},{ },{
id:"cw_letters", id:"cw_letters",
storage:"cw_letters", storage:"cw_letters",
width:50, width:50,
setValue:7000, setValue:7000,
text:{after:"letters above"} text:{after:"文字 以上"}
} }
], ],
text:{ text:{
head:"Alert before posting a long toot.", head:"長文投稿時に警告",
desc:"Show dialog whether you make too-long text hidden.", desc:"下で指定した以上のトゥートを投稿するときにCWするかのダイアログを表示します。",
} }
},{ },{
id:"cws", id:"cws",
@ -390,7 +390,7 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"no", setValue:"no",
text:{ text:{
head:"Always CW set", head:"標準でCWを設定",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -400,26 +400,26 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"public", setValue:"public",
text:{ text:{
head:"Default visibility", head:"デフォルトの公開設定",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"Public", text:"公開(Public)",
value:"public" value:"public"
},{ },{
text:"Unlisted", text:"未収載(Unlisted)",
value:"unlisted" value:"unlisted"
},{ },{
text:"Private", text:"非公開(Private)",
value:"private" value:"private"
},{ },{
text:"Direct", text:"ダイレクト(Direct)",
value:"direct" value:"direct"
},{ },{
text:"Memory(memorized as each server)", text:"前回の投稿設定を記憶する(サーバーごとに記憶されます)",
value:"memory" value:"memory"
},{ },{
text:"Default of your visibility(Set on preferences of Mastodon server)", text:"マストドンアカウント設定の既定値",
value:"useapi" value:"useapi"
} }
] ]
@ -430,14 +430,14 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"no-act", setValue:"no-act",
text:{ text:{
head:"Posting images preferences", head:"画像投稿設定",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"Insert media URL", text:"画像を投稿し、画像のURLを最後に表示",
value:"url" value:"url"
},{ },{
text:"Insert nothig", text:"画像を投稿するがURLは表示しない",
value:"no-act" value:"no-act"
} }
] ]
@ -448,17 +448,17 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"Action of posting-box", head:"投稿ボックスの挙動",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"Folding", text:"たたむ",
value:"yes" value:"yes"
},{ },{
text:"Open after posting", text:"投稿後も隠さない",
value:"no" value:"no"
},{ },{
text:"Absolutely open", text:"枠外クリックで閉じない(起動時に展開)",
value:"absolute" value:"absolute"
} }
] ]
@ -469,20 +469,20 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"nothing", setValue:"nothing",
text:{ text:{
head:"Quote format", head:"引用形式",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"Only URL", text:"URLのみ",
value:"simple" value:"simple"
},{ },{
text:"URL and acct(mention to the user)", text:"URLとアカウント名(相手に通知)",
value:"mention" value:"mention"
},{ },{
text:"URL, text and acct(mention to the user)", text:"本文・URL・アカウント名",
value:"full" value:"full"
},{ },{
text:"Disabled(Hide buttons on TLs)", text:"使わない(TL上にボタンも表示されません)",
value:"nothing" value:"nothing"
} }
] ]
@ -493,14 +493,14 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"remain", setValue:"remain",
text:{ text:{
head:"Default accounts of actions", head:"投稿後や起動時のアカウント",
desc:"Main account can be set on Account Manager.", desc:"メインアカウントはアカウント設定で指定できます。投稿以外のアカウント選択にも影響します。",
checkbox:[ checkbox:[
{ {
text:"Account you used recently", text:"最後に使用したアカウント",
value:"remain" value:"remain"
},{ },{
text:"Main account", text:"メインアカウント",
value:"main" value:"main"
} }
] ]
@ -511,26 +511,26 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"public", setValue:"public",
text:{ text:{
head:"Secondary Toot Button", head:"セカンダリートゥートボタン",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"Hidden", text:"表示しない",
value:"nothing" value:"nothing"
},{ },{
text:"Public", text:"公開(Public)",
value:"public" value:"public"
},{ },{
text:"Unlisted", text:"未収載(Unlisted)",
value:"unlisted" value:"unlisted"
},{ },{
text:"Private", text:"非公開(Private)",
value:"private" value:"private"
},{ },{
text:"Direct", text:"ダイレクト(Direct)",
value:"direct" value:"direct"
},{ },{
text:"Local Only", text:"ローカル限定",
value:"local", value:"local",
kirishima:true, kirishima:true,
kirishimaText:"非対応インスタンスでは「未収載」になります。" kirishimaText:"非対応インスタンスでは「未収載」になります。"
@ -544,7 +544,7 @@ var postConstruction=[
setValue:"normal", setValue:"normal",
setValue:"no", setValue:"no",
text:{ text:{
head:"Zero-width space when inserting emojis", head:"絵文字にゼロ幅スペースを使う",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }

View File

@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="ja">
<head> <head>
<title>Update - TheDesk</title> <title>Update - TheDesk</title>
<link href="../../css/materialize.css" type="text/css" rel="stylesheet"> <link href="../../css/materialize.css" type="text/css" rel="stylesheet">
@ -72,27 +72,27 @@ a,button,input,label,i{
<div id="start"> <div id="start">
<div id="box" class="show"> <div id="box" class="show">
<h2>TheDesk</h2> <h2>TheDesk</h2>
<p>Get latest TheDesk</p> <p>アップデートがあります</p>
<span id="now"></span><b id="ver"></b><br> <span id="now"></span><b id="ver"></b><br>
<span id="det"></span><br> <span id="det"></span><br>
<button class="waves-effect btn windows hide" onclick="update('install')" style="margin-left:15px;">Installer ver.</button> <button class="waves-effect btn windows hide" onclick="update('install')" style="margin-left:15px;">インストーラー版(推奨)</button>
<button class="waves-effect btn windows hide" onclick="update('portable')" style="margin-left:15px;">Portable ver.</button> <button class="waves-effect btn windows hide" onclick="update('portable')" style="margin-left:15px;">ポータブル版</button>
<button class="waves-effect btn linux hide" onclick="update('linux')" style="margin-left:15px;">Start</button> <button class="waves-effect btn linux hide" onclick="update('linux')" style="margin-left:15px;">開始</button>
<button class="waves-effect btn mac hide" onclick="update('mac')" style="margin-left:15px;">Start</button> <button class="waves-effect btn mac hide" onclick="update('mac')" style="margin-left:15px;">開始</button>
<br> <br>
Some problems?<br>Please download on <a href="https://thedesk.top">Oficial HP</a>. 問題が発生しますか?<br><a href="https://thedesk.top">公式HP</a>からダウンロードをお試しください。
</div> </div>
<div id="skipper" class="hide"> <div id="skipper" class="hide">
<h4>You may lose a cool experience!</h4> <h4>アップデートは必ず行ってください</h4>
Skip this update<br> アップデートをスキップする<br>
<div id="updskip"> <div id="updskip">
<a onclick="window.close();" class="pointer skipbtn waves-effect waves-light"><div>Until next TL loading</div></a> <a onclick="window.close();" class="pointer skipbtn waves-effect waves-light"><div>次回TL表示時まで</div></a>
<a onclick="nextv();" class="pointer skipbtn waves-effect waves-light"><div>Until next version</div></a> <a onclick="nextv();" class="pointer skipbtn waves-effect waves-light"><div>次のバージョンが出るまで</div></a>
</div> </div>
<a class="pointer waves-effect" onclick="skipper();" style="margin-top:5px">Continue updating</a> <a class="pointer waves-effect" onclick="skipper();" style="margin-top:5px">アップデートを続行</a>
</div> </div>
<div id="dlnow" class="hide"> <div id="dlnow" class="hide">
<h4>Downloading...</h4> <h4>ダウンロード中</h4>
<h4 id="prog"></h4> <h4 id="prog"></h4>
</div> </div>
</div> </div>
@ -208,7 +208,7 @@ function verck(){
$("#ver").text(json.desk_mac); $("#ver").text(json.desk_mac);
localStorage.setItem("next-ver",json.desk_mac); localStorage.setItem("next-ver",json.desk_mac);
} }
var lang="en"; var lang="ja";
if(lang=="ja"){ if(lang=="ja"){
$("#det").html(json.detail); $("#det").html(json.detail);
}else{ }else{

View File

@ -1,10 +1,12 @@
<!doctype html> <!doctype html>
<html lang="ja"> <html lang="ja">
<head> <head>
<title>TheDesk</title> <title>TheDesk</title>
<meta content="width=device-width,initial-scale=1.0" name="viewport"> <meta content="width=device-width,initial-scale=1.0" name="viewport">
<link href="../../css/materialize.css" type="text/css" rel="stylesheet"> <link href="../../css/materialize.css" type="text/css" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<link href="../../css/themes.css" type="text/css" rel="stylesheet"> <link href="../../css/themes.css" type="text/css" rel="stylesheet">
<link href="../../css/tl.css" rel="stylesheet" type="text/css"> <link href="../../css/tl.css" rel="stylesheet" type="text/css">
<link href="../../css/userdata.css" rel="stylesheet" type="text/css"> <link href="../../css/userdata.css" rel="stylesheet" type="text/css">
@ -21,6 +23,7 @@
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script> <script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
--> -->
</head> </head>
<body> <body>
<script type="text/javascript" src="../../js/common/jquery.js"></script> <script type="text/javascript" src="../../js/common/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script> <script type="text/javascript" src="../../js/platform/first.js"></script>
@ -32,7 +35,7 @@
<script type="text/javascript" src="../../js/common/modal.js"></script> <script type="text/javascript" src="../../js/common/modal.js"></script>
<script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script> <script type="text/javascript" src="../../js/ui/jquery-ui.min.js"></script>
<script> <script>
var ver="Usamin (18.3.1)"; var ver = "Usamin (18.3.2)";
//betaを入れるとバージョンチェックしない //betaを入れるとバージョンチェックしない
//GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html) //GitHubに上げるときはindex.htmlをちゃんとする。(index.start.html)
//var ver="beta"; //var ver="beta";
@ -52,55 +55,76 @@ var tlid=0;
</div> </div>
</div> </div>
<div id="post-box" class="z-depth-5"> <div id="post-box" class="z-depth-5">
<div id="post-bar" class="drag-bar"><span id="unreact">投稿</span><span id="addreact" class="hide">Reaction</span></div> <div id="post-bar" class="drag-bar"><span id="unreact">投稿</span><span id="addreact"
class="hide">Reaction</span></div>
<!--トゥートボックス--> <!--トゥートボックス-->
<div id="left-side"> <div id="left-side">
<div class="row" style="margin-bottom:0;"> <div class="row" style="margin-bottom:0;">
</span> </span>
<div class="" style="float:left;"> <div class="" style="float:left;">
<a onclick="profShow()" style="vertical-align:-2.5rem;" class="pointer mize"> <a onclick="profShow()" style="vertical-align:-2.5rem;" class="pointer mize">
<img src="../../img/missing.svg" id="acct-sel-prof" title="選択したアカウントのプロフィールを表示(Ctrl+Shift+P)" data-trans-title="post_box_prof" width="24px"> <img src="../../img/missing.svg" id="acct-sel-prof" title="選択したアカウントのプロフィールを表示(Ctrl+Shift+P)"
data-trans-title="post_box_prof" width="24px">
</a> </a>
</div> </div>
<div class="input-field mize" style="float:left; width:calc(100% - 24px)"> <div class="input-field mize" style="float:left; width:calc(100% - 24px)">
<select id="post-acct-sel" class="acct-sel" onchange="mdCheck()"></select> <select id="post-acct-sel" class="acct-sel" onchange="mdCheck()"></select>
</div> </div>
<span class="cancel"> <span class="cancel">
<i class="material-icons waves-effect" onclick="hide()" title="このボックスを閉じる(X)" data-trans-title="post_box_close">cancel</i> <i class="material-icons waves-effect" onclick="hide()" title="このボックスを閉じる(X)"
data-trans-title="post_box_close">cancel</i>
</span> </span>
<!--Markdown--> <!--Markdown-->
<div class="row" style="margin-bottom:0"> <div class="row" style="margin-bottom:0">
<div class="markdown mize hide"> <div class="markdown mize hide">
<div class="col s12"> <div class="col s12">
<i class="material-icons pointer setting waves-effect" onclick="tagsel('b')" title="太字(Ctrl+B)テキストボックス内を選択してから押すと囲みます。">format_bold</i> <i class="material-icons pointer setting waves-effect" onclick="tagsel('b')"
<i class="material-icons pointer setting waves-effect" onclick="tagsel('i')" title="斜字(Ctrl+I)テキストボックス内を選択してから押すと囲みます。">format_italic</i> title="太字(Ctrl+B)テキストボックス内を選択してから押すと囲みます。">format_bold</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('u')" title="下線(Ctrl+U)テキストボックス内を選択してから押すと囲みます。">format_underlined</i> <i class="material-icons pointer setting waves-effect" onclick="tagsel('i')"
<i class="material-icons pointer setting waves-effect" onclick="tagsel('s')" title="取り消し(Ctrl+S)テキストボックス内を選択してから押すと囲みます。">strikethrough_s</i> title="斜字(Ctrl+I)テキストボックス内を選択してから押すと囲みます。">format_italic</i>
<i class="material-icons pointer setting waves-effect" onclick="markdown('>','no','yes')" title="引用">format_quote</i> <i class="material-icons pointer setting waves-effect" onclick="tagsel('u')"
<i class="material-icons pointer setting waves-effect" onclick="markdown('#','no','yes')" title="見出し">short_text</i> title="下線(Ctrl+U)テキストボックス内を選択してから押すと囲みます。">format_underlined</i>
<i class="material-icons pointer setting waves-effect" onclick="markdown('`','yes','no')" title="コード挿入 テキストボックス内を選択してから押すと囲みます。">code</i> <i class="material-icons pointer setting waves-effect" onclick="tagsel('s')"
<i class="material-icons pointer setting waves-effect" onclick="markdown('- ','yes','yes')" title="箇条書きリスト">format_list_bulleted</i> title="取り消し(Ctrl+S)テキストボックス内を選択してから押すと囲みます。">strikethrough_s</i>
<i class="material-icons pointer setting waves-effect" onclick="markdown('1. ','yes','yes')" title="番号付きリスト">format_list_numbered</i> <i class="material-icons pointer setting waves-effect" onclick="markdown('>','no','yes')"
<i class="pointer setting fa fa-subscript waves-effect" onclick="markdown('__','yes','no','before')" title="下付き文字 テキストボックス内を選択してから押すと囲みます。" style="font-size:1.5rem"></i> title="引用">format_quote</i>
<i class="pointer setting fa fa-superscript waves-effect" onclick="markdown('_','yes','no','before')" title="上付き文字 テキストボックス内を選択してから押すと囲みます。" style="font-size:1.5rem"></i> <i class="material-icons pointer setting waves-effect" onclick="markdown('#','no','yes')"
<i class="material-icons pointer setting waves-effect" onclick="tagsel('spin')" title="回転 テキストボックス内を選択してから押すと囲みます。">autorenew</i> title="見出し">short_text</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('pulse')" title="点滅 テキストボックス内を選択してから押すと囲みます。">flare</i> <i class="material-icons pointer setting waves-effect" onclick="markdown('`','yes','no')"
<i class="material-icons pointer setting waves-effect" onclick="tagsel('flip=vertical')" title="上下反転 テキストボックス内を選択してから押すと囲みます。">swap_vert</i> title="コード挿入 テキストボックス内を選択してから押すと囲みます。">code</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('flip=horizontal')" title="左右反転 テキストボックス内を選択してから押すと囲みます。">swap_horiz</i> <i class="material-icons pointer setting waves-effect" onclick="markdown('- ','yes','yes')"
title="箇条書きリスト">format_list_bulleted</i>
<i class="material-icons pointer setting waves-effect" onclick="markdown('1. ','yes','yes')"
title="番号付きリスト">format_list_numbered</i>
<i class="pointer setting fa fa-subscript waves-effect" onclick="markdown('__','yes','no','before')"
title="下付き文字 テキストボックス内を選択してから押すと囲みます。" style="font-size:1.5rem"></i>
<i class="pointer setting fa fa-superscript waves-effect" onclick="markdown('_','yes','no','before')"
title="上付き文字 テキストボックス内を選択してから押すと囲みます。" style="font-size:1.5rem"></i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('spin')"
title="回転 テキストボックス内を選択してから押すと囲みます。">autorenew</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('pulse')"
title="点滅 テキストボックス内を選択してから押すと囲みます。">flare</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('flip=vertical')"
title="上下反転 テキストボックス内を選択してから押すと囲みます。">swap_vert</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('flip=horizontal')"
title="左右反転 テキストボックス内を選択してから押すと囲みます。">swap_horiz</i>
<span class="sml gray pointer waves-effect"> <span class="sml gray pointer waves-effect">
<a onclick="mdToggle()">Markdownエディタを隠す</a> <a onclick="mdToggle()">Markdownエディタを隠す</a>
</span> </span>
<br> <br>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('size')" title="文字サイズ変更 テキストボックス内を選択してから押すと囲みます。">format_size</i> <i class="material-icons pointer setting waves-effect" onclick="tagsel('size')"
title="文字サイズ変更 テキストボックス内を選択してから押すと囲みます。">format_size</i>
<input id="size" style="width: calc(50% - 20px); margin: 0; height: 24px;" value="12">px <input id="size" style="width: calc(50% - 20px); margin: 0; height: 24px;" value="12">px
<i class="material-icons pointer setting waves-effect" onclick="tagsel('colorhex')" title="文字色変更 テキストボックス内を選択してから押すと囲みます。">color_lens</i> <i class="material-icons pointer setting waves-effect" onclick="tagsel('colorhex')"
title="文字色変更 テキストボックス内を選択してから押すと囲みます。">color_lens</i>
<input id="colorhex" style="width: calc(50% - 50px); margin: 0; height: 24px;" type="color"> <input id="colorhex" style="width: calc(50% - 50px); margin: 0; height: 24px;" type="color">
<br> <br>
<i class="material-icons pointer setting waves-effect" onclick="markdownLink()" title="リンク挿入">link</i> <i class="material-icons pointer setting waves-effect" onclick="markdownLink()" title="リンク挿入">link</i>
<input id="linkt" style="width: calc(50% - 20px); margin: 0; height: 24px;" placeholder="リンクテキスト">&nbsp; <input id="linkt" style="width: calc(50% - 20px); margin: 0; height: 24px;" placeholder="リンクテキスト">&nbsp;
<input id="link2" style="width: calc(50% - 20px); margin: 0; height: 24px;" placeholder="リンクアドレス"> <input id="link2" style="width: calc(50% - 20px); margin: 0; height: 24px;" placeholder="リンクアドレス">
<br> <br>
<i class="material-icons pointer setting waves-effect" onclick="markdownImage()" title="インライン画像挿入">image</i> <i class="material-icons pointer setting waves-effect" onclick="markdownImage()"
title="インライン画像挿入">image</i>
<input id="image" style="width: calc(50% - 20px); margin: 0; height: 24px;" placeholder="代替テキスト">&nbsp; <input id="image" style="width: calc(50% - 20px); margin: 0; height: 24px;" placeholder="代替テキスト">&nbsp;
<input id="image2" style="width: calc(50% - 20px); margin: 0; height: 24px;" placeholder="画像アドレス"> <input id="image2" style="width: calc(50% - 20px); margin: 0; height: 24px;" placeholder="画像アドレス">
</div> </div>
@ -114,7 +138,8 @@ var tlid=0;
</div> </div>
<div class="input-field col s12" id="toot-field" style="margin-top: 10px;"> <div class="input-field col s12" id="toot-field" style="margin-top: 10px;">
<textarea id="textarea" class="materialize-textarea unmize" style="margin-bottom:0;" data-length="500"></textarea> <textarea id="textarea" class="materialize-textarea unmize" style="margin-bottom:0;"
data-length="500"></textarea>
<label for="textarea" data-trans="toot">トゥート</label> <label for="textarea" data-trans="toot">トゥート</label>
<br> <br>
<span class="sml gray pointer markdown mize" id="preview-btn"> <span class="sml gray pointer markdown mize" id="preview-btn">
@ -125,13 +150,18 @@ var tlid=0;
</span> </span>
</div> </div>
<div class="col s12 mize" style="margin-top: 0; display:flex; justify-content: space-between"> <div class="col s12 mize" style="margin-top: 0; display:flex; justify-content: space-between">
<i class="waves-effect gray material-icons" id="nsfw" title="画像に制限を付与" onclick="nsfw()">visibility_off</i> <i class="waves-effect gray material-icons" id="nsfw" title="画像に制限を付与"
<i class="waves-effect gray material-icons purple-text dropdown-button" data-activates='dropdown1' id="vis-icon">public</i> onclick="nsfw()">visibility_off</i>
<i class="waves-effect gray material-icons purple-text dropdown-button" data-activates='dropdown1'
id="vis-icon">public</i>
<a class="waves-effect gray" id="cw" onclick="cw()" title="コンテンツワーニング(トゥートを表示する前にメッセージで隠す)">CW</a> <a class="waves-effect gray" id="cw" onclick="cw()" title="コンテンツワーニング(トゥートを表示する前にメッセージで隠す)">CW</a>
<span><span id="imgup"></span><span id="imgsel"><i class="waves-effect material-icons gray" onclick="fileselect()" title="ファイルを選択">photo_library</i></span></span> <span><span id="imgup"></span><span id="imgsel"><i class="waves-effect material-icons gray"
<i class="waves-effect gray material-icons" onclick="emojiToggle()" id="emojibtn" title="絵文字を挿入">tag_faces</i> onclick="fileselect()" title="ファイルを選択">photo_library</i></span></span>
<i class="waves-effect gray material-icons" onclick="emojiToggle()" id="emojibtn"
title="絵文字を挿入">tag_faces</i>
<i class="waves-effect gray material-icons dropdown-button" data-activates='dropdown2'>more_vert</i> <i class="waves-effect gray material-icons dropdown-button" data-activates='dropdown2'>more_vert</i>
<i class="material-icons nex gray waves-effect" title="トゥートボックスのクリア(Ctrl+Shit+C)" data-trans-title="post_box_clear" id="clear">clear</i> <i class="material-icons nex gray waves-effect" title="トゥートボックスのクリア(Ctrl+Shit+C)"
data-trans-title="post_box_clear" id="clear">clear</i>
</div> </div>
<div class="col s12 mize" style="margin-bottom:5px; padding:0;"> <div class="col s12 mize" style="margin-bottom:5px; padding:0;">
<div id="taglist"></div> <div id="taglist"></div>
@ -194,8 +224,10 @@ var tlid=0;
<!--END hidden area--> <!--END hidden area-->
</div> </div>
<div id="toot-btn-field"> <div id="toot-btn-field">
<button class="btn waves-effect indigo unmize toot-btn-group" onclick="post()" id="toot-post-btn">トゥート</button> <button class="btn waves-effect indigo unmize toot-btn-group" onclick="post()"
<button class="btn waves-effect indigo darken-3 unmize hide toot-btn-group" onclick="sec()" id="toot-sec-btn"><i class="material-icons" id="toot-sec-icon" title="セカンダリートゥート">lock_open</i></button> id="toot-post-btn">トゥート</button>
<button class="btn waves-effect indigo darken-3 unmize hide toot-btn-group" onclick="sec()" id="toot-sec-btn"><i
class="material-icons" id="toot-sec-icon" title="セカンダリートゥート">lock_open</i></button>
</div> </div>
</div> </div>
<div id="right-side"> <div id="right-side">
@ -209,12 +241,14 @@ var tlid=0;
<div id="emoji-list" class="" style=""> <div id="emoji-list" class="" style="">
</div> </div>
<div class="emoji-control center"> <div class="emoji-control center">
<button class="btn waves-effect blue" style="width:30%; padding:0;" onclick="emojiList('before')" id="emoji-before"> <button class="btn waves-effect blue" style="width:30%; padding:0;" onclick="emojiList('before')"
id="emoji-before">
<i class="material-icons">navigate_before</i> <i class="material-icons">navigate_before</i>
</button> </button>
<span id="emoji-count"></span>/ <span id="emoji-count"></span>/
<span id="emoji-sum"></span> <span id="emoji-sum"></span>
<button class="btn waves-effect blue" style="width:30%; padding:0;" onclick="emojiList('next')" id="emoji-next"> <button class="btn waves-effect blue" style="width:30%; padding:0;" onclick="emojiList('next')"
id="emoji-next">
<i class="material-icons">navigate_next</i> <i class="material-icons">navigate_next</i>
</button> </button>
</div> </div>
@ -279,6 +313,27 @@ var tlid=0;
<div id="tootmodal" class="modal modal-fixed-footer"> <div id="tootmodal" class="modal modal-fixed-footer">
<div class="modal-content"> <div class="modal-content">
<ul class="collapsible" data-collapsible="accordion" id="det-col"> <ul class="collapsible" data-collapsible="accordion" id="det-col">
<li class="dm-hide">
<div class="collapsible-header">
<i class="material-icons">people_outline</i>これより後のLocal TL(言及確認)
</div>
<div class="collapsible-body toot-reset" id="ltl-after">
</div>
</li>
<li class="dm-hide">
<div class="collapsible-header">
<i class="material-icons">person_outline</i>これより後のユーザーTL(言及確認)
</div>
<div class="collapsible-body toot-reset" id="user-after">
</div>
</li>
<li class="dm-hide">
<div class="collapsible-header">
<i class="material-icons">language</i>これより後の連合TL(言及確認)
</div>
<div class="collapsible-body toot-reset" id="ftl-after">
</div>
</li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">arrow_upward</i>これより前の会話 <i class="material-icons">arrow_upward</i>これより前の会話
@ -337,13 +392,16 @@ var tlid=0;
<select id="status-acct-sel" class="acct-sel"></select> <select id="status-acct-sel" class="acct-sel"></select>
</div> </div>
<div class="col s2"> <div class="col s2">
<button class="dropdown-button btn waves-effect" style="width:100%;" onclick="staEx('reply')"><i class="fas fa-share"></i>/button> <button class="dropdown-button btn waves-effect" style="width:100%;" onclick="staEx('reply')"><i
class="fas fa-share"></i></button>
</div> </div>
<div class="col s2"> <div class="col s2">
<button class="dropdown-button btn waves-effect indigo" style="width:100%;" onclick="staEx('rt')"><i class="fas fa-retweet"></i></button> <button class="dropdown-button btn waves-effect indigo" style="width:100%;" onclick="staEx('rt')"><i
class="fas fa-retweet"></i></button>
</div> </div>
<div class="col s2"> <div class="col s2">
<button class="dropdown-button btn waves-effect orange" style="width:100%;" onclick="staEx('fav')"><i class="fas fa-star"></i></button> <button class="dropdown-button btn waves-effect orange" style="width:100%;" onclick="staEx('fav')"><i
class="fas fa-star"></i></button>
</div> </div>
</div> </div>
<div id="toot-tools"> <div id="toot-tools">
@ -387,9 +445,12 @@ var tlid=0;
</div> </div>
<div id="his-des" data-acct=""></div><br> <div id="his-des" data-acct=""></div><br>
<div id="his-plus-action"> <div id="his-plus-action">
<a href="#!" class="btn waves-effect waves-effect blue-grey btn-flat" id="his-emp-btn" onclick="empUser()">ユーザー強調</a> <a href="#!" class="btn waves-effect waves-effect blue-grey btn-flat" id="his-emp-btn"
<a href="#!" class="btn waves-effect waves-effect blue-grey btn-flat only-his-data" id="his-end-btn" onclick="pinUser()">紹介する</a><br> onclick="empUser()">ユーザー強調</a>
<a href="#!" class="btn waves-effect waves-effect blue-grey btn-flat" id="his-openin" onclick="profbrws()">ブラウザで開く</a><br> <a href="#!" class="btn waves-effect waves-effect blue-grey btn-flat only-his-data" id="his-end-btn"
onclick="pinUser()">紹介する</a><br>
<a href="#!" class="btn waves-effect waves-effect blue-grey btn-flat" id="his-openin"
onclick="profbrws()">ブラウザで開く</a><br>
</div><br> </div><br>
<div id="his-matching-list"> <div id="his-matching-list">
似ているユーザーを取得できます。<br> 似ているユーザーを取得できます。<br>
@ -426,7 +487,8 @@ var tlid=0;
<a go="#his-blocking-list" title="ブロック"><i class="material-icons">voice_over_off</i></a> <a go="#his-blocking-list" title="ブロック"><i class="material-icons">voice_over_off</i></a>
</li> </li>
<li class="custom-tab col my-data-width only-my-data"> <li class="custom-tab col my-data-width only-my-data">
<a go="#his-domain-list" title="ドメインブロック"><i class="material-icons">language</i><i class="material-icons">block</i></a> <a go="#his-domain-list" title="ドメインブロック"><i class="material-icons">language</i><i
class="material-icons">block</i></a>
</li> </li>
<li class="custom-tab col my-data-width only-my-data"> <li class="custom-tab col my-data-width only-my-data">
<a go="#his-prof-list" title="プロフィール編集"><i class="material-icons">create</i></a> <a go="#his-prof-list" title="プロフィール編集"><i class="material-icons">create</i></a>
@ -442,17 +504,20 @@ var tlid=0;
<div id="his-tl" class="tab-content"> <div id="his-tl" class="tab-content">
<div id="his-tl-contents" class="cont-series"> <div id="his-tl-contents" class="cont-series">
</div> </div>
<button class="btn waves-effect " style="width:100%; padding:0;" onclick="utl('--now','more')">もっと</button> <button class="btn waves-effect " style="width:100%; padding:0;"
onclick="utl('--now','more')">もっと</button>
</div> </div>
<div id="his-follow-list" class="tab-content"> <div id="his-follow-list" class="tab-content">
<div id="his-follow-list-contents" class="cont-series"> <div id="his-follow-list-contents" class="cont-series">
</div> </div>
<button class="btn waves-effect " style="width:100%; padding:0;" onclick="flw('--now','more')">もっと</button> <button class="btn waves-effect " style="width:100%; padding:0;"
onclick="flw('--now','more')">もっと</button>
</div> </div>
<div id="his-follower-list" class="tab-content"> <div id="his-follower-list" class="tab-content">
<div id="his-follower-list-contents" class="cont-series"> <div id="his-follower-list-contents" class="cont-series">
</div> </div>
<button class="btn waves-effect " style="width:100%; padding:0;" onclick="fer('--now','more')">もっと</button> <button class="btn waves-effect " style="width:100%; padding:0;"
onclick="fer('--now','more')">もっと</button>
</div> </div>
<div id="his-action" class="tab-content"> <div id="his-action" class="tab-content">
他のアカウントを使用するフォロー((解除はできません。))<br> 他のアカウントを使用するフォロー((解除はできません。))<br>
@ -484,7 +549,8 @@ var tlid=0;
<div id="his-domain-list" class="tab-content"> <div id="his-domain-list" class="tab-content">
<div id="his-domain-list-contents" class="cont-series"> <div id="his-domain-list-contents" class="cont-series">
</div> </div>
<button class="btn waves-effect " style="width:100%; padding:0;" onclick="showDom('more')">もっと</button>ブロックするドメイン <button class="btn waves-effect " style="width:100%; padding:0;"
onclick="showDom('more')">もっと</button>ブロックするドメイン
<br> <br>
<input type="text" placeholder="example.com" id="domainblock"> <input type="text" placeholder="example.com" id="domainblock">
<button class="btn waves-effect" onclick="addDomainblock()">追加</button> <button class="btn waves-effect" onclick="addDomainblock()">追加</button>
@ -525,10 +591,14 @@ var tlid=0;
</div> </div>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button class="modal-action waves-effect waves-green btn-flat" id="his-history-btn" onclick="historyShow()">一つ前のユーザーデータ</button> <button class="modal-action waves-effect waves-green btn-flat" id="his-history-btn"
<a href="#!" class="modal-action waves-effect waves-green btn-flat" id="his-follow-btn" onclick="follow()">フォロー</a> onclick="historyShow()">一つ前のユーザーデータ</button>
<a href="#!" class="modal-action waves-effect waves-green btn-flat" id="his-mute-btn" onclick="mute()">ミュート</a> <a href="#!" class="modal-action waves-effect waves-green btn-flat" id="his-follow-btn"
<a href="#!" class="modal-action waves-effect waves-green btn-flat" id="his-block-btn" onclick="block()">ブロック</a> onclick="follow()">フォロー</a>
<a href="#!" class="modal-action waves-effect waves-green btn-flat" id="his-mute-btn"
onclick="mute()">ミュート</a>
<a href="#!" class="modal-action waves-effect waves-green btn-flat" id="his-block-btn"
onclick="block()">ブロック</a>
<a href="#!" class="modal-action waves-effect waves-green btn-flat" onclick="hisclose()">Close</a> <a href="#!" class="modal-action waves-effect waves-green btn-flat" onclick="hisclose()">Close</a>
</div> </div>
</div> </div>
@ -599,10 +669,12 @@ var tlid=0;
<br><br> <br><br>
<h3>ご支援ください。</h3> <h3>ご支援ください。</h3>
TheDeskは営利目的ではないため、有料機能や広告は一切ありません。<br>皆様のあたたかいご支援のもとで製作されています。<br> TheDeskは営利目的ではないため、有料機能や広告は一切ありません。<br>皆様のあたたかいご支援のもとで製作されています。<br>
<a class="btn-share btn waves-effect waves-light red lighten-2" href="https://www.pixiv.net/fanbox/creator/28105985" target="_blank"> <a class="btn-share btn waves-effect waves-light red lighten-2"
href="https://www.pixiv.net/fanbox/creator/28105985" target="_blank">
Pixiv FANBOXで支援 Pixiv FANBOXで支援
</a> </a>
<a class="btn-share btn waves-effect waves-light blue" href="https://www.amazon.co.jp/registry/wishlist/2TV35ZHHJPDSB" target="_blank"> <a class="btn-share btn waves-effect waves-light blue"
href="https://www.amazon.co.jp/registry/wishlist/2TV35ZHHJPDSB" target="_blank">
Amazonほしいものリスト Amazonほしいものリスト
</a> </a>
<br> <br>
@ -630,13 +702,19 @@ var tlid=0;
</span> </span>
<div id="menu-wrapper"> <div id="menu-wrapper">
<div id="left-menu"> <div id="left-menu">
<div class="waves-effect active" onclick="addColumnMenu()" id="addColumnMenu"><i class="material-icons">add</i><span>カラム追加</span></div> <div class="waves-effect active" onclick="addColumnMenu()" id="addColumnMenu"><i
<div class="waves-effect" onclick="sortMenu()" id="sortMenu"><i class="material-icons">sort</i><span>カラム一覧/並べ替え</span></div> class="material-icons">add</i><span>カラム追加</span></div>
<div class="waves-effect" onclick="searchMenu()" id="searchMenu"><i class="material-icons">search</i><span>検索</span></div> <div class="waves-effect" onclick="sortMenu()" id="sortMenu"><i
<div class="waves-effect" onclick="listMenu()" id="listMenu"><i class="material-icons">view_headline</i><span>リスト</span></div> class="material-icons">sort</i><span>カラム一覧/並べ替え</span></div>
<div class="waves-effect" onclick="filterMenu()" id="filterMenu"><i class="material-icons">filter_list</i><span>フィルター</span></div> <div class="waves-effect" onclick="searchMenu()" id="searchMenu"><i
class="material-icons">search</i><span>検索</span></div>
<div class="waves-effect" onclick="listMenu()" id="listMenu"><i
class="material-icons">view_headline</i><span>リスト</span></div>
<div class="waves-effect" onclick="filterMenu()" id="filterMenu"><i
class="material-icons">filter_list</i><span>フィルター</span></div>
<div class="waves-effect" onclick="help()"><i class="material-icons">help_outline</i><span>ヘルプ</span></div> <div class="waves-effect" onclick="help()"><i class="material-icons">help_outline</i><span>ヘルプ</span></div>
<div class="waves-effect" onclick="location.href='index.html'"><i class="material-icons">refresh</i><span>TL再読込</span></div> <div class="waves-effect" onclick="location.href='index.html'"><i
class="material-icons">refresh</i><span>TL再読込</span></div>
</div> </div>
<div id="right-menu"> <div id="right-menu">
<!--カラム追加--> <!--カラム追加-->
@ -651,24 +729,47 @@ var tlid=0;
<input type="hidden" value="local" id="type-sel"> <input type="hidden" value="local" id="type-sel">
表示するタイムライン 表示するタイムライン
<div id="tltype"> <div id="tltype">
<div class="type waves-effect active" data-type="local"><div><i class="material-icons">people_outline</i></div><span>ローカル</span></div> <div class="type waves-effect active" data-type="local">
<div class="type waves-effect" data-type="local-media"><div><i class="material-icons">people_outline</i><i class="material-icons sub-icon">perm_media</i></div><span>ローカル(メディア)</span></div> <div><i class="material-icons">people_outline</i></div><span>ローカル</span>
<div class="type waves-effect" data-type="home"><div><i class="material-icons">home</i></div><span>ホーム</span></div> </div>
<div class="type waves-effect" data-type="pub"><div><i class="material-icons">language</i></div><span>連合</span></div> <div class="type waves-effect" data-type="local-media">
<div class="type waves-effect" data-type="pub-media"><div><i class="material-icons">language</i><i class="material-icons sub-icon">perm_media</i></div><span>連合(メディア)</span></div> <div><i class="material-icons">people_outline</i><i class="material-icons sub-icon">perm_media</i>
<div class="type waves-effect" data-type="dm"><div><i class="material-icons">mail_outline</i></div><span>ダイレクトメッセージ</span></div> </div><span>ローカル(メディア)</span>
<div class="type waves-effect" data-type="mix"><div><i class="material-icons">merge_type</i></div><span>統合(ローカルとホーム)</span></div> </div>
<div class="type waves-effect" data-type="plus"><div><i class="material-icons">merge_type</i><i class="material-icons sub-icon">reply</i></div><span>統合(LTL+BT+返信)</span></div> <div class="type waves-effect" data-type="home">
<div class="type waves-effect" data-type="notf"><div><i class="material-icons">notifications</i></div><span>通知</span></div> <div><i class="material-icons">home</i></div><span>ホーム</span>
</div>
<div class="type waves-effect" data-type="pub">
<div><i class="material-icons">language</i></div><span>連合</span>
</div>
<div class="type waves-effect" data-type="pub-media">
<div><i class="material-icons">language</i><i class="material-icons sub-icon">perm_media</i></div>
<span>連合(メディア)</span>
</div>
<div class="type waves-effect" data-type="dm">
<div><i class="material-icons">mail_outline</i></div><span>ダイレクトメッセージ</span>
</div>
<div class="type waves-effect" data-type="mix">
<div><i class="material-icons">merge_type</i></div><span>統合(ローカルとホーム)</span>
</div>
<div class="type waves-effect" data-type="plus">
<div><i class="material-icons">merge_type</i><i class="material-icons sub-icon">reply</i></div>
<span>統合(LTL+BT+返信)</span>
</div>
<div class="type waves-effect" data-type="notf">
<div><i class="material-icons">notifications</i></div><span>通知</span>
</div>
</div> </div>
</div> </div>
<div id="noauth" class="hide">表示するタイムライン <div id="noauth" class="hide">表示するタイムライン
<input id="noauth-url" type="text" class="validate" style="width:calc( 70% - 40px);" placeholder="e.g:mstdn.jp"> <input id="noauth-url" type="text" class="validate" style="width:calc( 70% - 40px);"
placeholder="e.g:mstdn.jp">
</div> </div>
<div id="webview-add" class="hide">TweetDeckを表示します。TJDeckをカスタムしたものが読み込まれます(<a href='https://gist.github.com/cutls/8787a55d2c1c53274e68a427966046a6' target='_blank'>Code</a>/<a href='https://gist.github.com/totoraj930/d1394dadb51d75666a76829f61e7280c' target='_blank'>TJDeck</a>)。キーボードショートカットが邪魔をするので、文字入力時はカラムの「WebView優先」にチェックを入れてください。 <div id="webview-add" class="hide">TweetDeckを表示します。TJDeckをカスタムしたものが読み込まれます(<a href='https://gist.github.com/cutls/8787a55d2c1c53274e68a427966046a6' target='_blank'>Code</a>/<a href='https://gist.github.com/totoraj930/d1394dadb51d75666a76829f61e7280c' target='_blank'>TJDeck</a>)。キーボードショートカットが邪魔をするので、文字入力時はカラムの「WebView優先」にチェックを入れてください。
</div> </div>
</div> </div>
<button class="btn waves-effect blue " style="width:calc( 100% - 10px);" onclick="addColumn()" data-trans-i="add"> <button class="btn waves-effect blue " style="width:calc( 100% - 10px);" onclick="addColumn()"
data-trans-i="add">
<i class="material-icons left">add</i>追加 <i class="material-icons left">add</i>追加
</button> </button>
<br> <br>
@ -678,10 +779,12 @@ var tlid=0;
<div id="src-box" class="hide menu-content"> <div id="src-box" class="hide menu-content">
<div class="input-field"> <div class="input-field">
<select id="src-acct-sel" class="acct-sel" onchange="trend()"></select> <select id="src-acct-sel" class="acct-sel" onchange="trend()"></select>
</div><div class="input-field"> </div>
<div class="input-field">
<input id="src" type="text" class="validate" style="width:60%"> <input id="src" type="text" class="validate" style="width:60%">
<label for="src" data-trans="src">検索</label> <label for="src" data-trans="src">検索</label>
<button class="btn waves-effect indigo" style="width: 36%;padding: 0;padding-left: 15px;" onclick="src()" data-trans-i="src"> <button class="btn waves-effect indigo" style="width: 36%;padding: 0;padding-left: 15px;" onclick="src()"
data-trans-i="src">
<i class="material-icons left" style="margin:0">search</i>検索 <i class="material-icons left" style="margin:0">search</i>検索
</button> </button>
<br> <br>
@ -759,7 +862,8 @@ var tlid=0;
<a onclick="filterTime(1,0,0)" class="pointer">1日</a>/ <a onclick="filterTime(1,0,0)" class="pointer">1日</a>/
<a onclick="filterTime(7,0,0)" class="pointer">7日</a>/ <a onclick="filterTime(7,0,0)" class="pointer">7日</a>/
<a onclick="filterTime(0,0,0)" class="pointer">無期限</a><br> <a onclick="filterTime(0,0,0)" class="pointer">無期限</a><br>
<button class="btn waves-effect" style="width:120px;" onclick="makeNewFilter()" id="add-filter-btn">追加</button><br> <button class="btn waves-effect" style="width:120px;" onclick="makeNewFilter()"
id="add-filter-btn">追加</button><br>
<span class="sml">Integrated TL/Plus TLは、公開/ホームのフィルターワードが合算されて適応されます。どちらか一方の指定でも非表示になります。</span> <span class="sml">Integrated TL/Plus TLは、公開/ホームのフィルターワードが合算されて適応されます。どちらか一方の指定でも非表示になります。</span>
</div> </div>
</div> </div>
@ -784,8 +888,10 @@ var tlid=0;
<div id="bottom" class="reverse"> <div id="bottom" class="reverse">
<div class="leftside reverse"> <div class="leftside reverse">
<div id="dambox"> <div id="dambox">
<button id="posttgl" class="btn waves-effect indigo" style="width: 100%;height: 2.5rem;line-height: 0;margin: 0;"> <button id="posttgl" class="btn waves-effect indigo"
<i class="material-icons" style="position: relative; top: 5px; font-size: 1.5rem; text-align: center; margin-right: 10px;">edit</i>トゥート style="width: 100%;height: 2.5rem;line-height: 0;margin: 0;">
<i class="material-icons"
style="position: relative; top: 5px; font-size: 1.5rem; text-align: center; margin-right: 10px;">edit</i>トゥート
</button> </button>
</div> </div>
<div class="leftside reverse" id="group"> <div class="leftside reverse" id="group">
@ -804,7 +910,8 @@ var tlid=0;
</a> </a>
<span id="fukidashi">←ここからTL追加</span> <span id="fukidashi">←ここからTL追加</span>
</div> </div>
</div></div> </div>
</div>
<div> <div>
<div id="tips-menu"> <div id="tips-menu">
<div class="btnsgroup" style="height:34px"><span class="grouptitle">Tips:</span> <div class="btnsgroup" style="height:34px"><span class="grouptitle">Tips:</span>

View File

@ -46,7 +46,7 @@
<div class="collapsible-body"> <div class="collapsible-body">
<h5>言語</h5> <h5>言語</h5>
To translate with Crowdin, you have to login Crowdin and restart TheDesk when login is finished.<br> To translate with Crowdin, you have to login Crowdin and restart TheDesk when login is finished.<br>
<a href="../ja/setting.html" onclick="changelang('ja')">日本語(Japanese)</a>/<a href="../en/setting.html" onclick="changelang('en')">English</a>/<a href="../ps/setting.html" onclick="changelang('ps')">Crowdin web translate</a>/ @@langlist@@
<h5>設定のインポートとエクスポート</h5> <h5>設定のインポートとエクスポート</h5>
<button onclick="exportSettings()" class="btn waves-effect lime darken-3" <button onclick="exportSettings()" class="btn waves-effect lime darken-3"
style="width:100%; max-width:200px;">エクスポート</button> style="width:100%; max-width:200px;">エクスポート</button>

View File

@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html lang="{{lang}}"> <html lang="@@lang@@">
<head> <head>
<title>Account Manager - TheDesk</title> <title>Account Manager - TheDesk</title>
<meta content="width=device-width,initial-scale=1.0" name="viewport"> <meta content="width=device-width,initial-scale=1.0" name="viewport">
@ -28,19 +28,19 @@ body,html{overflow-y: scroll;}
} }
</style> </style>
<meta charset="utf-8"> <meta charset="utf-8">
{{comment-start}} @@comment-start@@
<script type="text/javascript"> <script type="text/javascript">
var _jipt = []; var _jipt = [];
_jipt.push(['project', 'thedesk']); _jipt.push(['project', 'thedesk']);
</script> </script>
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script> <script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
{{comment-end}} @@comment-end@@
</head> </head>
<body id="mainView"> <body id="mainView">
<script type="text/javascript" src="../../js/common/jquery.js"></script> <script type="text/javascript" src="../../js/common/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script> <script type="text/javascript" src="../../js/platform/first.js"></script>
<script type="text/javascript" src="../../js/common/materialize.js"></script> <script type="text/javascript" src="../../js/common/materialize.js"></script>
<script type="text/javascript" src="../../js/lang/lang.{{lang}}.js"></script> <script type="text/javascript" src="../../js/lang/lang.@@lang@@.js"></script>
<script> <script>
var misskeytoken=false; var misskeytoken=false;
</script> </script>
@ -48,23 +48,23 @@ body,html{overflow-y: scroll;}
<script type="text/javascript" src="../../js/common/time.js"></script> <script type="text/javascript" src="../../js/common/time.js"></script>
<script type="text/javascript" src="../../js/common/modal.js"></script> <script type="text/javascript" src="../../js/common/modal.js"></script>
<div class="hide-first"> <div class="hide-first">
<a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;">{{back}}</a><br> <a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;">@@back@@</a><br>
<h5>{{list}}</h5> <h5>@@list@@</h5>
<div id="acct-list"></div> <div id="acct-list"></div>
<div class="divider"></div> <div class="divider"></div>
</div> </div>
<div> <div>
<h5>{{add}}</h5><br> <h5>@@add@@</h5><br>
<div id="add"> <div id="add">
<div class="row"> <div class="row">
<div class="col s8"> <div class="col s8">
<input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp"> <input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp">
<div id="ins-suggest"></div> <div id="ins-suggest"></div>
{{codesetupwarn}}<br> @@codesetupwarn@@<br>
<input type="checkbox" class="filled-in" id="linux" /> <input type="checkbox" class="filled-in" id="linux" />
<label for="linux">{{codesetup}}</label><br> <label for="linux">@@codesetup@@</label><br>
<input type="checkbox" class="filled-in" id="misskey" /> <input type="checkbox" class="filled-in" id="misskey" />
<label for="misskey">{{thisismisskey}}</label><br> <label for="misskey">@@thisismisskey@@</label><br>
<button class="btn waves-effect" onclick="instance()">Login</button><br> <button class="btn waves-effect" onclick="instance()">Login</button><br>
</div> </div>
<div class="col s4"> <div class="col s4">
@ -73,21 +73,21 @@ body,html{overflow-y: scroll;}
</div> </div>
</div></div> </div></div>
<div id="auth" style="display:none"> <div id="auth" style="display:none">
{{codepastewarn}}<br> @@codepastewarn@@<br>
<input type="text" id="code" placeholder="{{codepaste}}"> <input type="text" id="code" placeholder="@@codepaste@@">
<button class="btn waves-effect" onclick="code()">Auth</button><br> <button class="btn waves-effect" onclick="code()">Auth</button><br>
</div> </div>
<div id="misskeylogin" style="display:none"> <div id="misskeylogin" style="display:none">
<h5>AppSecret</h5> <h5>AppSecret</h5>
{{misskeylogin}}<br> @@misskeylogin@@<br>
<input type="hidden" id="misskey-url"> <input type="hidden" id="misskey-url">
<input type="text" id="misskey-key" placeholder="{{codepaste}}"> <input type="text" id="misskey-key" placeholder="@@codepaste@@">
<button class="btn waves-effect" onclick="misskeyLogin()">Auth</button><br> <button class="btn waves-effect" onclick="misskeyLogin()">Auth</button><br>
</div> </div>
</div> </div>
<div class="hide-first"> <div class="hide-first">
<h5>{{mainacct}}</h5> <h5>@@mainacct@@</h5>
<div class="input-field" style="width:300px"><span data-trans="your_acct">{{selacct}}</span> <div class="input-field" style="width:300px"><span data-trans="your_acct">@@selacct@@</span>
<br> <br>
<select id="main-acct-sel" class="acct-sel" style="color:black" onchange="mainacct()"></select> <select id="main-acct-sel" class="acct-sel" style="color:black" onchange="mainacct()"></select>
<label></label> <label></label>
@ -98,12 +98,12 @@ Administered by:<a id="ins-admin"></a><br>
<span id="ins-desc"></span><br> <span id="ins-desc"></span><br>
<img src="../../img/loading.svg" id="ins-prof" width="200"><br> <img src="../../img/loading.svg" id="ins-prof" width="200"><br>
<br> <br>
{{domain}}:<span id="ins-name"></span><br> @@domain@@:<span id="ins-name"></span><br>
{{connect}}:<span id="ins-connect"></span>{{ko}}<br> @@connect@@:<span id="ins-connect"></span>@@ko@@<br>
{{toots}}:<span id="ins-toot"></span>{{ko}}<br> @@toots@@:<span id="ins-toot"></span>@@ko@@<br>
{{users}}:<span id="ins-user"></span>{{users}}<br> @@users@@:<span id="ins-user"></span>@@users@@<br>
{{safety}}:<span id="ins-per"></span>%<br> @@safety@@:<span id="ins-per"></span>%<br>
{{ver}}:<span id="ins-ver"></span>@<span id="ins-upd"></span><br> @@ver@@:<span id="ins-ver"></span>@<span id="ins-upd"></span><br>
</div> </div>
<script type="text/javascript" src="../../js/ui/theme.js"></script> <script type="text/javascript" src="../../js/ui/theme.js"></script>
<script type="text/javascript" src="../../js/platform/end.js"></script> <script type="text/javascript" src="../../js/platform/end.js"></script>

File diff suppressed because it is too large Load Diff

View File

@ -56,6 +56,9 @@
"contextAfter":"Context after this toot", "contextAfter":"Context after this toot",
"beforeLTL":"Local TL before this toot", "beforeLTL":"Local TL before this toot",
"beforeUTL":"User TL before this toot", "beforeUTL":"User TL before this toot",
"afterLTL":"Local TL after this toot)",
"afterUTL":"User TL before this toot",
"afterFTL":"Federated TL after this toot",
"favedPeople":"People who favourited it", "favedPeople":"People who favourited it",
"btedPeople":"People who boosted it", "btedPeople":"People who boosted it",
"useOtherAcct1":"Use other account", "useOtherAcct1":"Use other account",

View File

@ -56,6 +56,9 @@
"contextAfter":"これより後の会話", "contextAfter":"これより後の会話",
"beforeLTL":"これより前のLocal TL(エアリプソース確認)", "beforeLTL":"これより前のLocal TL(エアリプソース確認)",
"beforeUTL":"これより前のユーザーTL(BTソース確認)", "beforeUTL":"これより前のユーザーTL(BTソース確認)",
"afterLTL":"これより後のLocal TL(言及確認)",
"afterUTL":"これより後のユーザーTL(言及確認)",
"afterFTL":"これより後の連合TL(言及確認)",
"favedPeople":"このトゥートをお気に入りに登録した人", "favedPeople":"このトゥートをお気に入りに登録した人",
"btedPeople":"このトゥートをブーストした人", "btedPeople":"このトゥートをブーストした人",
"useOtherAcct1":"他のアカウントを使用", "useOtherAcct1":"他のアカウントを使用",

30
app/view/make/make.js Normal file
View File

@ -0,0 +1,30 @@
const fs = require("fs")
const ver="Usamin (18.3.2)"
const langs=["ja","en","ps"]
const simples=["acct","index","setting","update","setting"]
const samples=["acct.sample.html","index.sample.html","setting.sample.html","update.sample.html","setting.sample.js"]
const pages=["acct.html","index.html","setting.html","update.html","setting.vue.js"]
for(let i=0; i<samples.length; i++){
let sample=samples[i]
let source = fs.readFileSync(sample, 'utf8')
for(let j=0; j<langs.length; j++){
let lang=langs[j]
let target = JSON.parse(fs.readFileSync("language/"+simples[i]+"."+lang+".json", 'utf8'))
Object.keys(target).forEach(function(key) {
let str = target[key]
var regExp = new RegExp("@@" + key + "@@", "g")
source = source.replace(regExp, str)
})
if(lang=="ps"){
source = source.replace(/@@comment-start@@/g, "")
source = source.replace(/@@comment-end@@/g, "")
}else{
source = source.replace(/@@comment-start@@/g, "<!--")
source = source.replace(/@@comment-end@@/g, "-->")
}
source = source.replace(/@@versionLetter@@/g, ver)
source = source.replace(/@@lang@@/g, lang)
fs.writeFileSync("../"+lang+"/"+pages[i], source)
}
}

View File

@ -1,18 +1,18 @@
<!doctype html> <!doctype html>
<html lang="{{lang}}"> <html lang="@@lang@@">
<head> <head>
<title>Update - TheDesk</title> <title>Update - TheDesk</title>
<link href="../../css/materialize.css" type="text/css" rel="stylesheet"> <link href="../../css/materialize.css" type="text/css" rel="stylesheet">
<link href="../../css/master.css" type="text/css" rel="stylesheet"> <link href="../../css/master.css" type="text/css" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons|Open+Sans:300" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons|Open+Sans:300" rel="stylesheet">
<meta charset="utf-8"> <meta charset="utf-8">
{{comment-start}} @@comment-start@@
<script type="text/javascript"> <script type="text/javascript">
var _jipt = []; var _jipt = [];
_jipt.push(['project', 'thedesk']); _jipt.push(['project', 'thedesk']);
</script> </script>
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script> <script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
{{comment-end}} @@comment-end@@
</head> </head>
<body> <body>
<style> <style>
@ -72,27 +72,27 @@ a,button,input,label,i{
<div id="start"> <div id="start">
<div id="box" class="show"> <div id="box" class="show">
<h2>TheDesk</h2> <h2>TheDesk</h2>
<p>{{updatehere}}</p> <p>@@updatehere@@</p>
<span id="now"></span><b id="ver"></b><br> <span id="now"></span><b id="ver"></b><br>
<span id="det"></span><br> <span id="det"></span><br>
<button class="waves-effect btn windows hide" onclick="update('install')" style="margin-left:15px;">{{installer}}</button> <button class="waves-effect btn windows hide" onclick="update('install')" style="margin-left:15px;">@@installer@@</button>
<button class="waves-effect btn windows hide" onclick="update('portable')" style="margin-left:15px;">{{portable}}</button> <button class="waves-effect btn windows hide" onclick="update('portable')" style="margin-left:15px;">@@portable@@</button>
<button class="waves-effect btn linux hide" onclick="update('linux')" style="margin-left:15px;">{{download}}</button> <button class="waves-effect btn linux hide" onclick="update('linux')" style="margin-left:15px;">@@download@@</button>
<button class="waves-effect btn mac hide" onclick="update('mac')" style="margin-left:15px;">{{download}}</button> <button class="waves-effect btn mac hide" onclick="update('mac')" style="margin-left:15px;">@@download@@</button>
<br> <br>
{{problem1}}<br>{{problem2}} @@problem1@@<br>@@problem2@@
</div> </div>
<div id="skipper" class="hide"> <div id="skipper" class="hide">
<h4>{{sureupd}}</h4> <h4>@@sureupd@@</h4>
{{skipupd}}<br> @@skipupd@@<br>
<div id="updskip"> <div id="updskip">
<a onclick="window.close();" class="pointer skipbtn waves-effect waves-light"><div>{{nexttl}}</div></a> <a onclick="window.close();" class="pointer skipbtn waves-effect waves-light"><div>@@nexttl@@</div></a>
<a onclick="nextv();" class="pointer skipbtn waves-effect waves-light"><div>{{nextver}}</div></a> <a onclick="nextv();" class="pointer skipbtn waves-effect waves-light"><div>@@nextver@@</div></a>
</div> </div>
<a class="pointer waves-effect" onclick="skipper();" style="margin-top:5px">{{continue}}</a> <a class="pointer waves-effect" onclick="skipper();" style="margin-top:5px">@@continue@@</a>
</div> </div>
<div id="dlnow" class="hide"> <div id="dlnow" class="hide">
<h4>{{dlnow}}</h4> <h4>@@dlnow@@</h4>
<h4 id="prog"></h4> <h4 id="prog"></h4>
</div> </div>
</div> </div>
@ -208,7 +208,7 @@ function verck(){
$("#ver").text(json.desk_mac); $("#ver").text(json.desk_mac);
localStorage.setItem("next-ver",json.desk_mac); localStorage.setItem("next-ver",json.desk_mac);
} }
var lang="{{lang}}"; var lang="@@lang@@";
if(lang=="ja"){ if(lang=="ja"){
$("#det").html(json.detail); $("#det").html(json.detail);
}else{ }else{

View File

@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html lang="ps"> <html lang="ja">
<head> <head>
<title>Account Manager - TheDesk</title> <title>Account Manager - TheDesk</title>
<meta content="width=device-width,initial-scale=1.0" name="viewport"> <meta content="width=device-width,initial-scale=1.0" name="viewport">
@ -28,19 +28,19 @@ body,html{overflow-y: scroll;}
} }
</style> </style>
<meta charset="utf-8"> <meta charset="utf-8">
<!--
<script type="text/javascript"> <script type="text/javascript">
var _jipt = []; var _jipt = [];
_jipt.push(['project', 'thedesk']); _jipt.push(['project', 'thedesk']);
</script> </script>
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script> <script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
-->
</head> </head>
<body id="mainView"> <body id="mainView">
<script type="text/javascript" src="../../js/common/jquery.js"></script> <script type="text/javascript" src="../../js/common/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script> <script type="text/javascript" src="../../js/platform/first.js"></script>
<script type="text/javascript" src="../../js/common/materialize.js"></script> <script type="text/javascript" src="../../js/common/materialize.js"></script>
<script type="text/javascript" src="../../js/lang/lang.ps.js"></script> <script type="text/javascript" src="../../js/lang/lang.ja.js"></script>
<script> <script>
var misskeytoken=false; var misskeytoken=false;
</script> </script>
@ -48,23 +48,23 @@ body,html{overflow-y: scroll;}
<script type="text/javascript" src="../../js/common/time.js"></script> <script type="text/javascript" src="../../js/common/time.js"></script>
<script type="text/javascript" src="../../js/common/modal.js"></script> <script type="text/javascript" src="../../js/common/modal.js"></script>
<div class="hide-first"> <div class="hide-first">
<a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;">crwdns366:0crwdne366:0</a><br> <a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;">戻る</a><br>
<h5>crwdns365:0crwdne365:0</h5> <h5>アカウント一覧</h5>
<div id="acct-list"></div> <div id="acct-list"></div>
<div class="divider"></div> <div class="divider"></div>
</div> </div>
<div> <div>
<h5>crwdns367:0crwdne367:0</h5><br> <h5>アカウントを追加</h5><br>
<div id="add"> <div id="add">
<div class="row"> <div class="row">
<div class="col s8"> <div class="col s8">
<input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp"> <input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp">
<div id="ins-suggest"></div> <div id="ins-suggest"></div>
crwdns368:0crwdne368:0<br> チェックを外すとコード貼り付けをスキップできます。(<u>Mastodon</u>にWindowsやmacOSからログインする場合)失敗する場合はチェックを入れてください。<br>
<input type="checkbox" class="filled-in" id="linux" /> <input type="checkbox" class="filled-in" id="linux" />
<label for="linux">crwdns369:0crwdne369:0</label><br> <label for="linux">コードセットアップ</label><br>
<input type="checkbox" class="filled-in" id="misskey" /> <input type="checkbox" class="filled-in" id="misskey" />
<label for="misskey">crwdns382:0crwdne382:0</label><br> <label for="misskey">Misskeyとしてログイン</label><br>
<button class="btn waves-effect" onclick="instance()">Login</button><br> <button class="btn waves-effect" onclick="instance()">Login</button><br>
</div> </div>
<div class="col s4"> <div class="col s4">
@ -73,21 +73,21 @@ body,html{overflow-y: scroll;}
</div> </div>
</div></div> </div></div>
<div id="auth" style="display:none"> <div id="auth" style="display:none">
crwdns372:0crwdne372:0<br> 指定されたコードを貼り付けてください。ログインウィンドウは閉じていただいて構いません。<br>
<input type="text" id="code" placeholder="crwdns373:0crwdne373:0"> <input type="text" id="code" placeholder="コードを入力">
<button class="btn waves-effect" onclick="code()">Auth</button><br> <button class="btn waves-effect" onclick="code()">Auth</button><br>
</div> </div>
<div id="misskeylogin" style="display:none"> <div id="misskeylogin" style="display:none">
<h5>AppSecret</h5> <h5>AppSecret</h5>
crwdns383:0crwdne383:0<br> <a href="https://thedesk.top/how-to-misskey-login.html">ドキュメント</a>を参照して正しいコードを入れてください。<br>
<input type="hidden" id="misskey-url"> <input type="hidden" id="misskey-url">
<input type="text" id="misskey-key" placeholder="crwdns373:0crwdne373:0"> <input type="text" id="misskey-key" placeholder="コードを入力">
<button class="btn waves-effect" onclick="misskeyLogin()">Auth</button><br> <button class="btn waves-effect" onclick="misskeyLogin()">Auth</button><br>
</div> </div>
</div> </div>
<div class="hide-first"> <div class="hide-first">
<h5>crwdns370:0crwdne370:0</h5> <h5>メインアカウント</h5>
<div class="input-field" style="width:300px"><span data-trans="your_acct">crwdns371:0crwdne371:0</span> <div class="input-field" style="width:300px"><span data-trans="your_acct">アカウントを選択</span>
<br> <br>
<select id="main-acct-sel" class="acct-sel" style="color:black" onchange="mainacct()"></select> <select id="main-acct-sel" class="acct-sel" style="color:black" onchange="mainacct()"></select>
<label></label> <label></label>
@ -98,12 +98,12 @@ Administered by:<a id="ins-admin"></a><br>
<span id="ins-desc"></span><br> <span id="ins-desc"></span><br>
<img src="../../img/loading.svg" id="ins-prof" width="200"><br> <img src="../../img/loading.svg" id="ins-prof" width="200"><br>
<br> <br>
crwdns374:0crwdne374:0:<span id="ins-name"></span><br> ドメイン名:<span id="ins-name"></span><br>
crwdns375:0crwdne375:0:<span id="ins-connect"></span>crwdns381:0crwdne381:0<br> 接続サーバー数:<span id="ins-connect"></span><br>
crwdns376:0crwdne376:0:<span id="ins-toot"></span>crwdns381:0crwdne381:0<br> トゥート数:<span id="ins-toot"></span><br>
crwdns377:0crwdne377:0:<span id="ins-user"></span>crwdns377:0crwdne377:0<br> ユーザー数:<span id="ins-user"></span>ユーザー数<br>
crwdns379:0crwdne379:0:<span id="ins-per"></span>%<br> コネクション:<span id="ins-per"></span>%<br>
crwdns380:0crwdne380:0:<span id="ins-ver"></span>@<span id="ins-upd"></span><br> Mastodonバージョン:<span id="ins-ver"></span>@<span id="ins-upd"></span><br>
</div> </div>
<script type="text/javascript" src="../../js/ui/theme.js"></script> <script type="text/javascript" src="../../js/ui/theme.js"></script>
<script type="text/javascript" src="../../js/platform/end.js"></script> <script type="text/javascript" src="../../js/platform/end.js"></script>

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,15 @@
<!doctype html> <!doctype html>
<html lang="ps" style="overflow:scroll"> <html lang="ja" style="overflow:scroll">
<head> <head>
<title>Settings - TheDesk</title> <title>Settings - TheDesk</title>
<!--
<script type="text/javascript"> <script type="text/javascript">
var _jipt = []; var _jipt = [];
_jipt.push(['project', 'thedesk']); _jipt.push(['project', 'thedesk']);
</script> </script>
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script> <script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
-->
<meta content="width=device-width,initial-scale=1.0" name="viewport"> <meta content="width=device-width,initial-scale=1.0" name="viewport">
<link href="../../css/materialize.css" type="text/css" rel="stylesheet"> <link href="../../css/materialize.css" type="text/css" rel="stylesheet">
<link href="../../css/themes.css" type="text/css" rel="stylesheet"> <link href="../../css/themes.css" type="text/css" rel="stylesheet">
@ -32,26 +32,26 @@
<script type="text/javascript" src="../../js/common/jquery.js"></script> <script type="text/javascript" src="../../js/common/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script> <script type="text/javascript" src="../../js/platform/first.js"></script>
<script type="text/javascript" src="../../js/common/materialize.js"></script> <script type="text/javascript" src="../../js/common/materialize.js"></script>
<script type="text/javascript" src="../../js/lang/lang.ps.js"></script> <script type="text/javascript" src="../../js/lang/lang.ja.js"></script>
<script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script> <script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script>
<script src="../../node_modules/vue/dist/vue.min.js"></script> <script src="../../node_modules/vue/dist/vue.min.js"></script>
<script type="text/javascript" src="setting.vue.js"></script> <script type="text/javascript" src="setting.vue.js"></script>
<h4>crwdns524:0crwdne524:0</h4> <h4>設定</h4>
<ul class="collapsible" data-collapsible="accordion"> <ul class="collapsible" data-collapsible="accordion">
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">desktop_windows</i>crwdns529:0crwdne529:0 <i class="material-icons">desktop_windows</i>環境設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h5>crwdns530:0crwdne530:0</h5> <h5>言語</h5>
To translate with Crowdin, you have to login Crowdin and restart TheDesk when login is finished.<br> To translate with Crowdin, you have to login Crowdin and restart TheDesk when login is finished.<br>
<a href="../ja/setting.html" onclick="changelang('ja')">日本語(Japanese)</a>/<a href="../en/setting.html" onclick="changelang('en')">English</a>/<a href="../ps/setting.html" onclick="changelang('ps')">Crowdin web translate</a>/ @@langlist@@
<h5>crwdns531:0crwdne531:0</h5> <h5>設定のインポートとエクスポート</h5>
<button onclick="exportSettings()" class="btn waves-effect lime darken-3" <button onclick="exportSettings()" class="btn waves-effect lime darken-3"
style="width:100%; max-width:200px;">crwdns533:0crwdne533:0</button> style="width:100%; max-width:200px;">エクスポート</button>
<button onclick="importSettings()" class="btn waves-effect cyan darken-3" <button onclick="importSettings()" class="btn waves-effect cyan darken-3"
style="width:100%; max-width:200px;">crwdns532:0crwdne532:0</button> style="width:100%; max-width:200px;">インポート</button>
<div id="envView"> <div id="envView">
<template v-for="(item, i) in config"> <template v-for="(item, i) in config">
<h5>{{item.text.head}}</h5> <h5>{{item.text.head}}</h5>
@ -59,7 +59,7 @@
<templete v-html="item.text.desc"></templete><br> <templete v-html="item.text.desc"></templete><br>
</template> </template>
<template v-if="item.id=='notf'"><a onclick="notftest()" <template v-if="item.id=='notf'"><a onclick="notftest()"
class="pointer">crwdns540:0crwdne540:0</a><br></template> class="pointer">通知テスト</a><br></template>
<template v-if="item.checkbox"> <template v-if="item.checkbox">
<template v-for="(check, j) in item.text.checkbox"> <template v-for="(check, j) in item.text.checkbox">
<input class="with-gap" v-on:click="complete(i,check.value)" v-model="item.setValue" <input class="with-gap" v-on:click="complete(i,check.value)" v-model="item.setValue"
@ -79,30 +79,30 @@
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}} v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
</template> </template>
<button class="btn waves-effect" style="width:100px;" <button class="btn waves-effect" style="width:100px;"
v-on:click="complete(i)">crwdns528:0crwdne528:0</button> v-on:click="complete(i)">変更</button>
</template><br> </template><br>
</template> </template>
</div> </div>
<h5>crwdns544:0crwdne544:0</h5> <h5>フォント</h5>
crwdns1900:0crwdne1900:0<br> 「選択」を押してフォントを選んでください。(Linuxでは動きません)<br>
<button class="btn waves-effect" style="width:100px;" onclick="font()">crwdns1896:0crwdne1896:0</button><br> <button class="btn waves-effect" style="width:100px;" onclick="font()">選択</button><br>
<div id="fonts" class="hide" style="overflow-y:scroll; width:300px; height:500px;"></div> <div id="fonts" class="hide" style="overflow-y:scroll; width:300px; height:500px;"></div>
<br> <br>
<input type="text" style="width:150px" id="font"> <input type="text" style="width:150px" id="font">
<button class="btn waves-effect" style="width:100px;" onclick="settings()">crwdns525:0crwdne525:0</button> <button class="btn waves-effect" style="width:100px;" onclick="settings()">設定</button>
<br> <br>
<h5>crwdns547:0crwdne547:0</h5> <h5>デフォルトの保存先</h5>
crwdns548:0crwdne548:0<br> 画像ダウンロードやスクリーンショットに影響します。<br>
<button class="btn waves-effect" style="width:100px;" onclick="savefolder()">crwdns528:0crwdne528:0</button> <button class="btn waves-effect" style="width:100px;" onclick="savefolder()">変更</button>
<br> <br>
</div> </div>
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">color_lens</i>crwdns534:0crwdne534:0 <i class="material-icons">color_lens</i>テーマの設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h4>crwdns2422:0crwdne2422:0</h4> <h4>テーマの選択</h4>
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="black" value="black" /> <input class="with-gap" onchange="settings()" name="theme" type="radio" id="black" value="black" />
<label for="black">Black</label> <label for="black">Black</label>
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="white" value="white" /> <input class="with-gap" onchange="settings()" name="theme" type="radio" id="white" value="white" />
@ -118,66 +118,66 @@
<div style="width:300px" id="sel-selector"> <div style="width:300px" id="sel-selector">
<select id="custom-sel-sel" class="custom-sel" onchange="customSel()"></select> <select id="custom-sel-sel" class="custom-sel" onchange="customSel()"></select>
</div> </div>
<h4>crwdns2424:0crwdne2424:0</h4> <h4>カスタムテーマの作成・編集</h4>
<div style="width:300px" id="edit-selector" data-add="crwdns2436:0crwdne2436:0"> <div style="width:300px" id="edit-selector" data-add="新規作成">
<select id="custom-edit-sel" class="custom-sel" onchange="custom()"> <select id="custom-edit-sel" class="custom-sel" onchange="custom()">
<option value="add_new">crwdns2436:0crwdne2436:0</option> <option value="add_new">新規作成</option>
</select> </select>
</div> </div>
<h5>crwdns2438:0crwdne2438:0</h5> <h5>名前</h5>
<input type="text" style="width:300px" id="custom_name" placeholder="crwdns2438:0crwdne2438:0..."> <input type="text" style="width:300px" id="custom_name" placeholder="名前...">
<h5>crwdns2440:0crwdne2440:0</h5> <h5>説明</h5>
<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea" <div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea"
placeholder="crwdns2440:0crwdne2440:0..."></textarea></div> placeholder="説明..."></textarea></div>
<h5>crwdns2426:0crwdne2426:0</h5> <h5>色の系統</h5>
<input class="with-gap" name="direction" type="radio" id="dark" value="dark" checked="true" /> <input class="with-gap" name="direction" type="radio" id="dark" value="dark" checked="true" />
<label for="dark">Dark</label> <label for="dark">Dark</label>
<input class="with-gap" name="direction" type="radio" id="light" value="light" /> <input class="with-gap" name="direction" type="radio" id="light" value="light" />
<label for="light">Light</label> <label for="light">Light</label>
<div id="pickers"> <div id="pickers">
<div> <div>
<h5>Primary</h5>crwdns2430:0crwdne2430:0 <h5>Primary</h5>補助要素に使われる背景色
<div id="color-picker0-wrap"> <div id="color-picker0-wrap">
<div class="color-picker" id="color-picker0"></div> <div class="color-picker" id="color-picker0"></div>
</div> </div>
<input type="hidden" id="color-picker0_value"> <input type="hidden" id="color-picker0_value">
</div> </div>
<div> <div>
<h5>Secondary</h5>crwdns2428:0crwdne2428:0 <h5>Secondary</h5>全体の背景色など
<div id="color-picker1-wrap"> <div id="color-picker1-wrap">
<div class="color-picker" id="color-picker1"></div> <div class="color-picker" id="color-picker1"></div>
</div> </div>
<input type="hidden" id="color-picker1_value"> <input type="hidden" id="color-picker1_value">
</div> </div>
<div> <div>
<h5>Texts</h5>crwdns2432:0crwdne2432:0 <h5>Texts</h5>テキストの色
<div id="color-picker2-wrap"> <div id="color-picker2-wrap">
<div class="color-picker" id="color-picker2"></div> <div class="color-picker" id="color-picker2"></div>
</div> </div>
<input type="hidden" id="color-picker2_value"> <input type="hidden" id="color-picker2_value">
</div> </div>
<div> <div>
<h5>Accent</h5>crwdns2434:0crwdne2434:0 <h5>Accent</h5>ブーストの背景色など
<div id="color-picker3-wrap"> <div id="color-picker3-wrap">
<div class="color-picker" id="color-picker3"></div> <div class="color-picker" id="color-picker3"></div>
</div> </div>
<input type="hidden" id="color-picker3_value"> <input type="hidden" id="color-picker3_value">
</div> </div>
</div> </div>
<button class="btn-large waves-effect" onclick="customComp()">crwdns528:0crwdne528:0</button>&nbsp;<button <button class="btn-large waves-effect" onclick="customComp()">変更</button>&nbsp;<button
class="btn waves-effect red disabled" id="delTheme" onclick="deleteIt()">@@delete@@</button><br><br> class="btn waves-effect red disabled" id="delTheme" onclick="deleteIt()">削除</button><br><br>
<input type="text" style="width:300px" id="custom_json" class="materialize-textarea" <input type="text" style="width:300px" id="custom_json" class="materialize-textarea"
placeholder="JSON style" readonly><br> placeholder="JSON style" readonly><br>
crwdns2442:0crwdne2442:0 このコードは他のTheDeskなどとシェアできます。このコードをMiASに貼ることはご遠慮ください。詳細:<a href="https://thedesk.top/mias.html" target="_blank">テーマ互換性</a>
<h4>crwdns2444:0crwdne2444:0</h4> <h4>カスタムテーマのインポート</h4>
@@cImpWarn@@<br> <a href="https://assets.msky.cafe/" target="_blank">MiAS</a>上の80を超えるテーマを張り付けることもできます。<br>
<input type="text" style="width:300px" id="custom_import" class="materialize-textarea" <input type="text" style="width:300px" id="custom_import" class="materialize-textarea"
placeholder="JSON/JSON5 style"> placeholder="JSON/JSON5 style">
<button class="btn waves-effect" onclick="customImp()">crwdns532:0crwdne532:0</button><br> <button class="btn waves-effect" onclick="customImp()">インポート</button><br>
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">reorder</i>crwdns550:0crwdne550:0 <i class="material-icons">reorder</i>タイムラインの設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<div id="tlView"> <div id="tlView">
@ -205,11 +205,11 @@
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}} v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
</template> </template>
<button class="btn waves-effect" style="width:100px;" <button class="btn waves-effect" style="width:100px;"
v-on:click="complete(i)">crwdns528:0crwdne528:0</button> v-on:click="complete(i)">変更</button>
</template><br> </template><br>
</template> </template>
</div> </div>
<h5>@@customSound@@</h5> <h5>カスタム通知音</h5>
<button class="btn waves-effect" style="width:120px;" onclick="customSound(1)">Custom 1</button><span id="c1-file"></span><br> <button class="btn waves-effect" style="width:120px;" onclick="customSound(1)">Custom 1</button><span id="c1-file"></span><br>
<button class="btn waves-effect" style="width:120px;" onclick="customSound(2)">Custom 2</button><span id="c2-file"></span><br> <button class="btn waves-effect" style="width:120px;" onclick="customSound(2)">Custom 2</button><span id="c2-file"></span><br>
<button class="btn waves-effect" style="width:120px;" onclick="customSound(3)">Custom 3</button><span id="c3-file"></span><br> <button class="btn waves-effect" style="width:120px;" onclick="customSound(3)">Custom 3</button><span id="c3-file"></span><br>
@ -218,7 +218,7 @@
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">send</i>crwdns587:0crwdne587:0 <i class="material-icons">send</i>投稿設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<div id="postView"> <div id="postView">
@ -249,7 +249,7 @@
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}} v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
</template> </template>
<button class="btn waves-effect" style="width:100px;" <button class="btn waves-effect" style="width:100px;"
v-on:click="complete(i)">crwdns528:0crwdne528:0</button> v-on:click="complete(i)">変更</button>
</template><br> </template><br>
</template> </template>
</div> </div>
@ -257,49 +257,49 @@
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">keyboard</i>crwdns611:0crwdne611:0 <i class="material-icons">keyboard</i>キーボードショートカットの設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h5>crwdns612:0crwdne612:0</h5> <h5>簡単文字入力</h5>
crwdns613:0crwdne613:0<br> 絵文字やタグ、&gt;BTなどを登録しておくとすぐに入力できます。<br>
Ctrl+Shift+1:<input type="text" style="width:150px" id="oks-1"> Ctrl+Shift+1:<input type="text" style="width:150px" id="oks-1">
<button onclick="oks(1)" class="btn waves-effect" style="width:100px;">crwdns525:0crwdne525:0</button><br><br> <button onclick="oks(1)" class="btn waves-effect" style="width:100px;">設定</button><br><br>
Ctrl+Shift+2:<input type="text" style="width:150px" id="oks-2"> Ctrl+Shift+2:<input type="text" style="width:150px" id="oks-2">
<button onclick="oks(2)" class="btn waves-effect" style="width:100px;">crwdns525:0crwdne525:0</button><br><br> <button onclick="oks(2)" class="btn waves-effect" style="width:100px;">設定</button><br><br>
Ctrl+Shift+3:<input type="text" style="width:150px" id="oks-3"> Ctrl+Shift+3:<input type="text" style="width:150px" id="oks-3">
<button onclick="oks(3)" class="btn waves-effect" style="width:100px;">crwdns525:0crwdne525:0</button><br><br> <button onclick="oks(3)" class="btn waves-effect" style="width:100px;">設定</button><br><br>
</div> </div>
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">bookmark</i>crwdns614:0crwdne614:0 <i class="material-icons">bookmark</i>ミュート・強調の設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h5>crwdns615:0crwdne615:0</h5> <h5>クライアントミュート</h5>
<div id="mute-cli"></div> <div id="mute-cli"></div>
<h5>crwdns616:0crwdne616:0</h5> <h5>クライアント強調</h5>
crwdns617:0crwdne617:0 各トゥートのクライアントをクリックすると設定できます。
<h5>crwdns619:0crwdne619:0</h5> <h5>ワードミュート</h5>
crwdns618:0crwdne618:0<br> Enterで確定<br>
<div class="chips" id="wordmute" style="background-color:gray;"></div> <div class="chips" id="wordmute" style="background-color:gray;"></div>
<button onclick="wordmuteSave()" class="btn waves-effect" style="width:100px;">crwdns525:0crwdne525:0</button> <button onclick="wordmuteSave()" class="btn waves-effect" style="width:100px;">設定</button>
<h5>crwdns620:0crwdne620:0</h5> <h5>ワード強調</h5>
crwdns618:0crwdne618:0<br> Enterで確定<br>
<div class="chips" id="wordemp" style="background-color:gray;"></div> <div class="chips" id="wordemp" style="background-color:gray;"></div>
<button onclick="wordempSave()" class="btn waves-effect" style="width:100px;">crwdns525:0crwdne525:0</button> <button onclick="wordempSave()" class="btn waves-effect" style="width:100px;">設定</button>
<h5>crwdns621:0crwdne621:0</h5> <h5>ユーザー強調</h5>
crwdns622:0crwdne622:0 各ユーザーのデータ表示画面で設定できます。
<span class="emphasized"> crwdns623:0crwdne623:0 </span> <span class="emphasized"> 強調色(テーマによって異なります。) </span>
</div> </div>
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="fa fa-spotify"></i>crwdns624:0crwdne624:0 <i class="fa fa-spotify"></i>SpotifyとNowPlayingの設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h5>crwdns2354:0crwdne2354:0</h5> <h5>NowPlayingのソース(Windows)</h5>
crwdns2356:0crwdne2356:0<br> macOSやLinuxでは動作しません。AIMPとiTunes以外未検証です。<br>foobar2000, MusicBee,J. River Media Center, Media JukeboxはCADを、Last.fm Client, TTPlayer, OpenPandora, ZuneはWLMを選んでください。<br>ただし、foobar2000は<a href="http://poiru.github.com/foo-cad/">foo_cad plugin</a>が必要です。MusicBeeもCADを有効にする必要があります。<br>
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="aimp" value="AIMP" /> <input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="aimp" value="AIMP" />
<label for="aimp">AIMP</label> <label for="aimp">AIMP</label>
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="itunes" value="ITUNES" /> <input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="itunes" value="ITUNES" />
@ -314,80 +314,80 @@
<label for="wlm">WLM</label> <label for="wlm">WLM</label>
<input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="cad" value="CAD" /> <input class="with-gap" onchange="npprovider()" name="npp" type="radio" id="cad" value="CAD" />
<label for="cad">CAD</label><br><br> <label for="cad">CAD</label><br><br>
crwdns625:0crwdne625:0<i class="material-icons" style="font-size:24px;">music_note</i>crwdns626:0crwdne626:0<br> <i class="material-icons" style="font-size:24px;">music_note</i>ボタンから簡単にNowPlayingができます。<br>
<h5>crwdns627:0crwdne627:0</h5> <h5>アカウントの連携</h5>
crwdns628:0crwdne628:0<br> APIの性質上thedesk.topへアクセスします。<br>
<div id="spotify-code-show" class="hide"><input type="text" id="spotify-code"><button <div id="spotify-code-show" class="hide"><input type="text" id="spotify-code"><button
onclick="spotifyAuth()" class="btn waves-effect" style="width:100px;">crwdns525:0crwdne525:0</button></div> onclick="spotifyAuth()" class="btn waves-effect" style="width:100px;">設定</button></div>
<a onclick="spotifyConnect()" class="btn waves-effect nex" <a onclick="spotifyConnect()" class="btn waves-effect nex"
style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-enable"><i style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-enable"><i
class="fa fa-spotify left"></i>crwdns629:0crwdne629:0</a> class="fa fa-spotify left"></i>接続</a>
<a onclick="spotifyDisconnect()" class="btn waves-effect nex disabled" <a onclick="spotifyDisconnect()" class="btn waves-effect nex disabled"
style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-disable"><i style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-disable"><i
class="fa fa-spotify left"></i>crwdns630:0crwdne630:0</a> class="fa fa-spotify left"></i>切断</a>
<h5>crwdns631:0crwdne631:0</h5> <h5>テンプレートの編集</h5>
crwdns632:0crwdne632:0<br> 以下を編集してテンプレートを変更できます。<br>
<textarea id="np-temp" class="materialize-textarea" data-length="500">#NowPlaying {song} / {album} / {artist} <textarea id="np-temp" class="materialize-textarea" data-length="500">#NowPlaying {song} / {album} / {artist}
{url}</textarea><br> {url}</textarea><br>
crwdns2358:0{song}crwdnd2358:0{album}crwdnd2358:0{artist}crwdnd2358:0{url}crwdne2358:0<br> Spotify:{song}:曲名/{album}:アルバム名/{artist}:アーティスト名/{url}:各曲のSpotifyのURL<br>
crwdns2360:0{song}crwdnd2360:0{album}crwdnd2360:0{artist}crwdnd2360:0{composer}crwdnd2360:0{hz}crwdnd2360:0{bitRate}crwdnd2360:0{genre}crwdne2360:0<br> macOS:{song}:曲名/{album}:アルバム名/{artist}:アーティスト名/作曲家{composer}/サンプルレート{hz}/ビットレート{bitRate}/ジャンル{genre}<br>
crwdns2362:0{song}crwdnd2362:0{album}crwdnd2362:0{artist}crwdne2362:0<br> Windows:{song}:曲名/{album}:アルバム名/{artist}:アーティスト名<br>
<button onclick="spotifySave()" class="btn waves-effect" style="width:100px;">crwdns525:0crwdne525:0</button> <button onclick="spotifySave()" class="btn waves-effect" style="width:100px;">設定</button>
<h5>crwdns635:0crwdne635:0</h5> <h5>アルバムアートワークを添付する(Spotify/Windows)</h5>
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_yes" value="yes" /> <input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_yes" value="yes" />
<label for="awk_yes">crwdns526:0crwdne526:0</label> <label for="awk_yes">はい</label>
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_no" value="no" /> <input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_no" value="no" />
<label for="awk_no">crwdns527:0crwdne527:0</label> <label for="awk_no">いいえ</label>
<br> <br>
</div> </div>
</li> </li>
<li> <li>
<div class="collapsible-header"> <div class="collapsible-header">
<i class="material-icons">hearing</i>crwdns636:0crwdne636:0 <i class="material-icons">hearing</i>読み上げの設定
</div> </div>
<div class="collapsible-body"> <div class="collapsible-body">
<h5>crwdns637:0crwdne637:0</h5> <h5>読み上げの速さ</h5>
crwdns638:0crwdne638:0<br> 1-100まで、デフォルトは10。<br>
<p class="range-field"><input type="range" id="voicespeed" min="1" max="100" value="10" <p class="range-field"><input type="range" id="voicespeed" min="1" max="100" value="10"
style="width:500px; max-width:100%" /></p> style="width:500px; max-width:100%" /></p>
<h5>crwdns639:0crwdne639:0</h5> <h5>読み上げの高さ</h5>
crwdns640:0crwdne640:0<br> 0-100まで、デフォルトは50。(大きくなるほど高い)<br>
<p class="range-field"><input type="range" id="voicepitch" min="0" max="100" value="50" <p class="range-field"><input type="range" id="voicepitch" min="0" max="100" value="50"
style="width:500px; max-width:100%" /></p> style="width:500px; max-width:100%" /></p>
<h5>crwdns641:0crwdne641:0</h5> <h5>読み上げの音量</h5>
crwdns642:0crwdne642:0<br> 0-100まで、デフォルトは100。<br>
<p class="range-field"><input type="range" id="voicevol" min="0" max="100" value="100" <p class="range-field"><input type="range" id="voicevol" min="0" max="100" value="100"
style="width:500px; max-width:100%" /></p> style="width:500px; max-width:100%" /></p>
<h5>crwdns643:0crwdne643:0</h5> <h5>テスト</h5>
<input type="text" style="width:350px" id="voicetxt" value="crwdns644:0crwdne644:0"> <input type="text" style="width:350px" id="voicetxt" value="これはテスト音声です。TheDeskはオープンソースのPC向けマストドンクライアントです。マルチサーバーやマルチカラムに対応しています。">
<button class="btn waves-effect blue" style="width:150px;" onclick="voicePlay()" <button class="btn waves-effect blue" style="width:150px;" onclick="voicePlay()"
id="testplay">crwdns645:0crwdne645:0</button><br> id="testplay">再生/停止</button><br>
<br> <br>
<button class="btn waves-effect" style="width:100px;" onclick="voiceSettings()">crwdns525:0crwdne525:0</button> <button class="btn waves-effect" style="width:100px;" onclick="voiceSettings()">設定</button>
</div> </div>
</li> </li>
</ul> </ul>
<br> <br>
<a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;"><i <a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;"><i
class="material-icons left">undo</i>crwdns646:0crwdne646:0</a> class="material-icons left">undo</i>戻る</a>
<br> <br>
<br>crwdns647:0crwdne647:0 <br>キーボードショートカット一覧
<li>Ctrl+1-9:crwdns648:0crwdne648:0</li> <li>Ctrl+1-9:1番目9番目のTLにスクロール</li>
<li>N:crwdns649:0crwdne649:0</li> <li>N:投稿パネルを開く</li>
<li>X:crwdns650:0crwdne650:0</li> <li>X:投稿パネルを開閉</li>
<li>Ctrl+Enter:crwdns651:0crwdne651:0</li> <li>Ctrl+Enter:投稿</li>
<li>Ctrl+Enter+Shift:crwdns1924:0crwdne1924:0</li> <li>Ctrl+Enter+Shift:投稿(セカンダリートゥート)</li>
<li>Alt+Enter:crwdns1916:0crwdne1916:0</li> <li>Alt+Enter:セカンダリートゥートボタン</li>
<li>Ctrl+E:crwdns652:0crwdne652:0</li> <li>Ctrl+E:全ての通知を既読にする</li>
<li>Esc:crwdns653:0crwdne653:0</li> <li>Esc:投稿パネルを消す</li>
<li>F5:crwdns654:0crwdne654:0</li> <li>F5:スーパーリロード</li>
<li>Ctrl+Shift+C:crwdns655:0crwdne655:0</li> <li>Ctrl+Shift+C:入力内容を消す</li>
<li>Ctrl+Shift+S:crwdns524:0crwdne524:0</li> <li>Ctrl+Shift+S:設定</li>
<li>Ctrl+Shift+M:crwdns656:0crwdne656:0</li> <li>Ctrl+Shift+M:アカウントマネージャ</li>
<li>Ctrl+Shift+N:NowPlaying(Spotify)</li> <li>Ctrl+Shift+N:NowPlaying(Spotify)</li>
<li>Ctrl+Shift+P:crwdns657:0crwdne657:0</li> <li>Ctrl+Shift+P:現在選択中のプロフィール</li>
<li>←/→:crwdns658:0crwdne658:0</li> <li>←/→:イメージビューワー起動時に画像切り替え</li>
<li>crwdns659:0crwdne659:0</li> <li>マウスホイール:イメージビューワー時に拡大縮小</li>
<div class="hide kirishima"> <div class="hide kirishima">
以下Markdownに対応したインスタンスのみ。 以下Markdownに対応したインスタンスのみ。
<br> <br>
@ -401,33 +401,33 @@
</li><br> </li><br>
</div> </div>
<button class="btn waves-effect red" style="width:100%; max-width:500px;" <button class="btn waves-effect red" style="width:100%; max-width:500px;"
onclick="if(confirm('crwdns661:0crwdne661:0')){ localStorage.clear(); location.href='index.html'; }"><i onclick="if(confirm('全てのデータを削除します。この操作は取り消せません。')){ localStorage.clear(); location.href='index.html'; }"><i
class="material-icons left">delete</i>crwdns660:0crwdne660:0</button><br><br> class="material-icons left">delete</i>初期化</button><br><br>
<button class="btn waves-effect indigo" onclick="about()" style="width:100%; max-width:500px;"><i <button class="btn waves-effect indigo" onclick="about()" style="width:100%; max-width:500px;"><i
class="material-icons left">info</i>crwdns662:0crwdne662:0</button> class="material-icons left">info</i>このソフトについて</button>
<a href="https://thedesk.top" class="btn waves-effect deep-purple lighten-2" style="width:100%; max-width:500px;"><i <a href="https://thedesk.top" class="btn waves-effect deep-purple lighten-2" style="width:100%; max-width:500px;"><i
class="material-icons left">web</i>crwdns663:0crwdne663:0</a> class="material-icons left">web</i>公式HP</a>
<a href="https://www.pixiv.net/fanbox/creator/28105985" class="btn waves-effect red lighten-2" <a href="https://www.pixiv.net/fanbox/creator/28105985" class="btn waves-effect red lighten-2"
style="width:100%; max-width:500px;"><i class="material-icons left">trending_up</i>crwdns664:0crwdne664:0(Pixiv FANBOX)</a> style="width:100%; max-width:500px;"><i class="material-icons left">trending_up</i>支援(Pixiv FANBOX)</a>
<a href="https://docs.thedesk.top" class="btn waves-effect blue darken-2" style="width:100%; max-width:500px;"><i <a href="https://docs.thedesk.top" class="btn waves-effect blue darken-2" style="width:100%; max-width:500px;"><i
class="material-icons left">list</i>crwdns665:0crwdne665:0/Docs(Constructing)</a> class="material-icons left">list</i>ヘルプ/Docs(Constructing)</a>
<a href="https://github.com/cutls/TheDesk" class="btn waves-effect black lighten-2" <a href="https://github.com/cutls/TheDesk" class="btn waves-effect black lighten-2"
style="width:100%; max-width:500px;"><i class="fa fa-github left"></i>GitHub</a> style="width:100%; max-width:500px;"><i class="fa fa-github left"></i>GitHub</a>
<a href="index.html?mode=user&code=Cutls@kirishima.cloud" class="btn waves-effect blue lighten-2" <a href="index.html?mode=user&code=Cutls@cutls.com" class="btn waves-effect blue lighten-2"
style="width:100%; max-width:500px;"><img src="../../img/desk_full.svg" class="left" width="25" style="width:100%; max-width:500px;"><img src="../../img/desk_full.svg" class="left" width="25"
style="padding-top:5px;">Developer: Cutls@kirishima.cloud</a> style="padding-top:5px;">Developer: Cutls@cutls.com</a>
<br> <br>
Kyash<br> Kyash<br>
<img src="../../img/kyash.png" width="100"><br> <img src="../../img/kyash.png" width="100"><br>
<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';" <a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';"
class="pointer">crwdns667:0crwdne667:0</a><br> class="pointer">アップデートを確認</a><br>
<a href="oss.html">OSS Licensecrwdns668:0crwdne668:0</a><br> <a href="oss.html">OSS License(オープンソースライセンス)</a><br>
<span style="font-family:Open Sans;">Copyright &copy; Cutls P 2018 All Rights Reserved. <span style="font-family:Open Sans;">Copyright &copy; Cutls P 2018 All Rights Reserved.
Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a
href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy href="https://thedesk.top/tos.html">Terms of Use</a>/<a href="https://thedesk.top/priv.html">Privacy
Policy</a> Policy</a>
<br>Developer: Cutls P( <br>Developer: Cutls P(
<a href="index.html?mode=user&code=Cutls@kirishima.cloud">@Cutls@kirishima.cloud</a>) <a href="index.html?mode=user&code=Cutls@cutls.com">@Cutls@cutls.com</a>)
<br> <br>
</span><br> </span><br>
TheDeskおよびCutls Pは<a href="https://donken.org/">被災地支援のためのマストドン研究会</a>をログイン機能提供等の形で応援しています。<br> TheDeskおよびCutls Pは<a href="https://donken.org/">被災地支援のためのマストドン研究会</a>をログイン機能提供等の形で応援しています。<br>

View File

@ -1,18 +1,18 @@
var yesno=[ var yesno=[
{ {
text:"crwdns526:0crwdne526:0", text:"はい",
value:"yes" value:"yes"
},{ },{
text:"crwdns527:0crwdne527:0", text:"いいえ",
value:"no" value:"no"
} }
]; ];
var sound=[ var sound=[
{ {
text:"@@none@@", text:"なし",
value:"none" value:"none"
},{ },{
text:"@@default@@", text:"既定",
value:"default" value:"default"
},{ },{
text:"Custom 1", text:"Custom 1",
@ -37,9 +37,9 @@ var envConstruction=[
setValue:0, setValue:0,
width:50, width:50,
text:{ text:{
head:"crwdns1898:0crwdne1898:0", head:"新規通知のポップアップお知らせの表示秒数",
desc:'crwdns536:0crwdne536:0', desc:'0に設定すると表示されません',
after:"crwdns537:0crwdne537:0" after:""
} }
},{ },{
id:"notf", id:"notf",
@ -47,8 +47,8 @@ var envConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"crwdns538:0crwdne538:0", head:"ネイティブ通知設定",
desc:"crwdns539:0crwdne539:0", desc:"Portableバージョンでは表示できません。",
checkbox:yesno checkbox:yesno
} }
},{ },{
@ -59,9 +59,9 @@ var envConstruction=[
width:50, width:50,
setValue:300, setValue:300,
text:{ text:{
head:"crwdns2376:0crwdne2376:0", head:"マルチカラムの最低横幅",
desc:"crwdns542:0crwdne542:0", desc:"画面全体の横幅÷コラム数がこの値を超えた時、横スクロールとなります。",
after:"px crwdns543:0crwdne543:0" after:"px 以上"
} }
},{ },{
id:"fixwidth", id:"fixwidth",
@ -71,9 +71,9 @@ var envConstruction=[
setValue:300, setValue:300,
width:50, width:50,
text:{ text:{
head:"crwdns2378:0crwdne2378:0", head:"TweetDeckの限定の最低横幅",
desc:"crwdns2380:0crwdne2380:0", desc:"",
after:"px crwdns543:0crwdne543:0" after:"px 以上"
} }
},{ },{
id:"size", id:"size",
@ -83,8 +83,8 @@ var envConstruction=[
width:50, width:50,
setValue:13, setValue:13,
text:{ text:{
head:"crwdns546:0crwdne546:0", head:"フォントサイズ",
desc:'<span style="font-size:13px">13px(crwdns549:0crwdne549:0)</span>', desc:'<span style="font-size:13px">13px(絶対指定)</span>',
after:"px" after:"px"
} }
},{ },{
@ -93,14 +93,14 @@ var envConstruction=[
checkbox:true, checkbox:true,
setValue:false, setValue:false,
text:{ text:{
head:"@@hardwareAcceleration@@", head:"ハードウェアアクセラレーションの無効化",
desc:"@@hardwareAccelerationWarn@@", desc:"表示(特に設定画面)が乱れる場合に「はい」を選択してください。自動で再起動します。",
checkbox:[ checkbox:[
{ {
text:"crwdns526:0crwdne526:0", text:"はい",
value:"true" value:"true"
},{ },{
text:"crwdns527:0crwdne527:0", text:"いいえ",
value:"false" value:"false"
} }
] ]
@ -114,20 +114,20 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"absolute", setValue:"absolute",
text:{ text:{
head:"crwdns551:0crwdne551:0", head:"時間表記設定",
desc:'crwdns552:0crwdne552:0<br>crwdns553:0crwdne553:0<br>crwdns554:0crwdne554:0', desc:'相対時間の例:"1分前","3日前"<br>絶対時間の例"23:25:21","2017年12月30日 23:59:00"<br>混合表示は、当日のトゥートのみ相対、それ以外は絶対で表示 ',
checkbox:[ checkbox:[
{ {
text:"crwdns555:0crwdne555:0", text:"相対時間",
value:"relative" value:"relative"
},{ },{
text:"crwdns1902:0crwdne1902:0", text:"絶対時間",
value:"absolute" value:"absolute"
},{ },{
text:"crwdns557:0crwdne557:0", text:"両方表示",
value:"double" value:"double"
},{ },{
text:"crwdns558:0crwdne558:0", text:"混合表示",
value:"medium" value:"medium"
} }
@ -139,8 +139,8 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"crwdns1904:0crwdne1904:0", head:"独自ロケールを使用",
desc:"crwdns1906:0crwdne1906:0", desc:"対応サーバーではそのサーバーにあわせた言語表示ができます。",
checkbox:yesno checkbox:yesno
} }
},{ },{
@ -149,8 +149,8 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"crwdns561:0crwdne561:0", head:"非表示設定の画像(NSFW)を隠す",
desc:"crwdns562:0crwdne562:0", desc:"きつめのぼかしがかかります。",
checkbox:yesno checkbox:yesno
} }
},{ },{
@ -159,7 +159,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"crwdns563:0crwdne563:0", head:"非表示設定のテキスト(CW)を隠す",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -169,14 +169,14 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"hidden", setValue:"hidden",
text:{ text:{
head:"crwdns564:0crwdne564:0", head:"リプライ数表示",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"crwdns565:0crwdne565:0", text:"2以上のとき1+と表示",
value:"hidden" value:"hidden"
},{ },{
text:"crwdns565:0crwdne565:0", text:"2以上のとき1+と表示",
value:"all" value:"all"
} }
@ -188,7 +188,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"crwdns567:0crwdne567:0", head:"アイコンのアニメーションを再生する",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -198,14 +198,14 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"local", setValue:"local",
text:{ text:{
head:"crwdns572:0crwdne572:0", head:"タグタイムラインの表示範囲",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"crwdns573:0crwdne573:0", text:"接続しているサーバー",
value:"all" value:"all"
},{ },{
text:"crwdns574:0crwdne574:0", text:"検索対象のサーバーのみ",
value:"local" value:"local"
} }
@ -217,7 +217,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"no", setValue:"no",
text:{ text:{
head:"crwdns575:0crwdne575:0", head:"viaを表示する",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -227,17 +227,17 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"no", setValue:"no",
text:{ text:{
head:"crwdns576:0crwdne576:0", head:"アクションメニューを非表示",
desc:"crwdns577:0crwdne577:0", desc:"「マウスオーバー」はすこし鬱陶しいと思うかもしれません。",
checkbox:[ checkbox:[
{ {
text:"crwdns578:0crwdne578:0", text:"マウスオーバーで表示",
value:"yes" value:"yes"
},{ },{
text:"crwdns579:0crwdne579:0", text:"クリックで表示",
value:"click" value:"click"
},{ },{
text:"crwdns527:0crwdne527:0", text:"いいえ",
value:"no" value:"no"
} }
@ -249,7 +249,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"crwdns580:0crwdne580:0", head:"通知を開いているとき、通知新着お知らせを表示する",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -262,18 +262,18 @@ var tlConstruction=[
storage:"sentence", storage:"sentence",
width:50, width:50,
setValue:500, setValue:500,
text:{after:"crwdns583:0crwdne583:0 crwdns543:0crwdne543:0 crwdns585:0crwdne585:0"} text:{after:"行 以上 または"}
},{ },{
id:"letters", id:"letters",
storage:"letters", storage:"letters",
width:50, width:50,
setValue:7000, setValue:7000,
text:{after:"crwdns584:0crwdne584:0 crwdns543:0crwdne543:0"} text:{after:"文字 以上"}
} }
], ],
text:{ text:{
head:"crwdns581:0crwdne581:0", head:"指定行数以上を折りたたむ",
desc:"crwdns582:0crwdne582:0", desc:"5文字以下のトゥートは折りたたみません。また、折りたたみ時は改行が描画されません。改行のみを行数とカウントします。",
} }
},{ },{
id:"img-height", id:"img-height",
@ -283,8 +283,8 @@ var tlConstruction=[
width:80, width:80,
setValue:200, setValue:200,
text:{ text:{
head:"crwdns586:0crwdne586:0", head:"画像の高さ",
desc:'@@imgheightwarn@@', desc:'オプション:「full」と指定すると全ての画像をクロップしません。',
after:"px" after:"px"
} }
},{ },{
@ -293,8 +293,8 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"no", setValue:"no",
text:{ text:{
head:"crwdns1908:0crwdne1908:0", head:"#InstanceTickerを使う",
desc:'crwdns1910:0crwdne1910:0', desc:'トゥートした人の所属サーバーをわかりやすく彩ります(自サーバー以外のトゥート向け)。<a href="https://cdn.weep.me/mastodon/">#InstanceTickerについて</a> Copyright 2018 weepjp, kyori19.',
checkbox:yesno checkbox:yesno
} }
},{ },{
@ -303,7 +303,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"crwdns2446:0crwdne2446:0", head:"タイムラインのアニメーション",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -313,7 +313,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"none", setValue:"none",
text:{ text:{
head:"@@replySound@@", head:"リプライの通知音",
desc:"", desc:"",
checkbox:sound checkbox:sound
} }
@ -323,7 +323,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"none", setValue:"none",
text:{ text:{
head:"@@favSound@@", head:"お気に入り登録の通知音",
desc:"", desc:"",
checkbox:sound checkbox:sound
} }
@ -333,7 +333,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"none", setValue:"none",
text:{ text:{
head:"@@btSound@@", head:"ブーストの通知音",
desc:"", desc:"",
checkbox:sound checkbox:sound
} }
@ -343,7 +343,7 @@ var tlConstruction=[
checkbox:true, checkbox:true,
setValue:"none", setValue:"none",
text:{ text:{
head:"@@followSound@@", head:"フォローの通知音",
desc:"", desc:"",
checkbox:sound checkbox:sound
} }
@ -358,7 +358,7 @@ var postConstruction=[
width:150, width:150,
setValue:"", setValue:"",
text:{ text:{
head:"crwdns590:0crwdne590:0", head:"デフォルトの警告文",
desc:"", desc:"",
after:"" after:""
} }
@ -371,18 +371,18 @@ var postConstruction=[
storage:"cw_sentence", storage:"cw_sentence",
width:50, width:50,
setValue:500, setValue:500,
text:{after:"crwdns583:0crwdne583:0 crwdns543:0crwdne543:0 crwdns585:0crwdne585:0"} text:{after:"行 以上 または"}
},{ },{
id:"cw_letters", id:"cw_letters",
storage:"cw_letters", storage:"cw_letters",
width:50, width:50,
setValue:7000, setValue:7000,
text:{after:"crwdns584:0crwdne584:0 crwdns543:0crwdne543:0"} text:{after:"文字 以上"}
} }
], ],
text:{ text:{
head:"crwdns588:0crwdne588:0", head:"長文投稿時に警告",
desc:"crwdns589:0crwdne589:0", desc:"下で指定した以上のトゥートを投稿するときにCWするかのダイアログを表示します。",
} }
},{ },{
id:"cws", id:"cws",
@ -390,7 +390,7 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"no", setValue:"no",
text:{ text:{
head:"crwdns591:0crwdne591:0", head:"標準でCWを設定",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }
@ -400,26 +400,26 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"public", setValue:"public",
text:{ text:{
head:"crwdns592:0crwdne592:0", head:"デフォルトの公開設定",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"crwdns593:0crwdne593:0", text:"公開(Public)",
value:"public" value:"public"
},{ },{
text:"crwdns594:0crwdne594:0", text:"未収載(Unlisted)",
value:"unlisted" value:"unlisted"
},{ },{
text:"crwdns595:0crwdne595:0", text:"非公開(Private)",
value:"private" value:"private"
},{ },{
text:"crwdns596:0crwdne596:0", text:"ダイレクト(Direct)",
value:"direct" value:"direct"
},{ },{
text:"crwdns1912:0crwdne1912:0", text:"前回の投稿設定を記憶する(サーバーごとに記憶されます)",
value:"memory" value:"memory"
},{ },{
text:"crwdns1914:0crwdne1914:0", text:"マストドンアカウント設定の既定値",
value:"useapi" value:"useapi"
} }
] ]
@ -430,14 +430,14 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"no-act", setValue:"no-act",
text:{ text:{
head:"crwdns599:0crwdne599:0", head:"画像投稿設定",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"crwdns600:0crwdne600:0", text:"画像を投稿し、画像のURLを最後に表示",
value:"url" value:"url"
},{ },{
text:"crwdns601:0crwdne601:0", text:"画像を投稿するがURLは表示しない",
value:"no-act" value:"no-act"
} }
] ]
@ -448,17 +448,17 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"yes", setValue:"yes",
text:{ text:{
head:"crwdns568:0crwdne568:0", head:"投稿ボックスの挙動",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"crwdns569:0crwdne569:0", text:"たたむ",
value:"yes" value:"yes"
},{ },{
text:"crwdns571:0crwdne571:0", text:"投稿後も隠さない",
value:"no" value:"no"
},{ },{
text:"crwdns570:0crwdne570:0", text:"枠外クリックで閉じない(起動時に展開)",
value:"absolute" value:"absolute"
} }
] ]
@ -469,20 +469,20 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"nothing", setValue:"nothing",
text:{ text:{
head:"crwdns603:0crwdne603:0", head:"引用形式",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"crwdns604:0crwdne604:0", text:"URLのみ",
value:"simple" value:"simple"
},{ },{
text:"crwdns605:0crwdne605:0", text:"URLとアカウント名(相手に通知)",
value:"mention" value:"mention"
},{ },{
text:"crwdns606:0crwdne606:0", text:"本文・URL・アカウント名",
value:"full" value:"full"
},{ },{
text:"@@notqt@@", text:"使わない(TL上にボタンも表示されません)",
value:"nothing" value:"nothing"
} }
] ]
@ -493,14 +493,14 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"remain", setValue:"remain",
text:{ text:{
head:"crwdns607:0crwdne607:0", head:"投稿後や起動時のアカウント",
desc:"crwdns608:0crwdne608:0", desc:"メインアカウントはアカウント設定で指定できます。投稿以外のアカウント選択にも影響します。",
checkbox:[ checkbox:[
{ {
text:"crwdns609:0crwdne609:0", text:"最後に使用したアカウント",
value:"remain" value:"remain"
},{ },{
text:"crwdns610:0crwdne610:0", text:"メインアカウント",
value:"main" value:"main"
} }
] ]
@ -511,26 +511,26 @@ var postConstruction=[
checkbox:true, checkbox:true,
setValue:"public", setValue:"public",
text:{ text:{
head:"crwdns1916:0crwdne1916:0", head:"セカンダリートゥートボタン",
desc:"", desc:"",
checkbox:[ checkbox:[
{ {
text:"crwdns1920:0crwdne1920:0", text:"表示しない",
value:"nothing" value:"nothing"
},{ },{
text:"crwdns593:0crwdne593:0", text:"公開(Public)",
value:"public" value:"public"
},{ },{
text:"crwdns594:0crwdne594:0", text:"未収載(Unlisted)",
value:"unlisted" value:"unlisted"
},{ },{
text:"crwdns595:0crwdne595:0", text:"非公開(Private)",
value:"private" value:"private"
},{ },{
text:"crwdns596:0crwdne596:0", text:"ダイレクト(Direct)",
value:"direct" value:"direct"
},{ },{
text:"crwdns1922:0crwdne1922:0", text:"ローカル限定",
value:"local", value:"local",
kirishima:true, kirishima:true,
kirishimaText:"非対応インスタンスでは「未収載」になります。" kirishimaText:"非対応インスタンスでは「未収載」になります。"
@ -544,7 +544,7 @@ var postConstruction=[
setValue:"normal", setValue:"normal",
setValue:"no", setValue:"no",
text:{ text:{
head:"@@zeroWidthEmoji@@", head:"絵文字にゼロ幅スペースを使う",
desc:"", desc:"",
checkbox:yesno checkbox:yesno
} }

View File

@ -1,18 +1,18 @@
<!doctype html> <!doctype html>
<html lang="ps"> <html lang="ja">
<head> <head>
<title>Update - TheDesk</title> <title>Update - TheDesk</title>
<link href="../../css/materialize.css" type="text/css" rel="stylesheet"> <link href="../../css/materialize.css" type="text/css" rel="stylesheet">
<link href="../../css/master.css" type="text/css" rel="stylesheet"> <link href="../../css/master.css" type="text/css" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons|Open+Sans:300" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons|Open+Sans:300" rel="stylesheet">
<meta charset="utf-8"> <meta charset="utf-8">
<!--
<script type="text/javascript"> <script type="text/javascript">
var _jipt = []; var _jipt = [];
_jipt.push(['project', 'thedesk']); _jipt.push(['project', 'thedesk']);
</script> </script>
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script> <script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
-->
</head> </head>
<body> <body>
<style> <style>
@ -72,27 +72,27 @@ a,button,input,label,i{
<div id="start"> <div id="start">
<div id="box" class="show"> <div id="box" class="show">
<h2>TheDesk</h2> <h2>TheDesk</h2>
<p>crwdns669:0crwdne669:0</p> <p>アップデートがあります</p>
<span id="now"></span><b id="ver"></b><br> <span id="now"></span><b id="ver"></b><br>
<span id="det"></span><br> <span id="det"></span><br>
<button class="waves-effect btn windows hide" onclick="update('install')" style="margin-left:15px;">crwdns2382:0crwdne2382:0</button> <button class="waves-effect btn windows hide" onclick="update('install')" style="margin-left:15px;">インストーラー版(推奨)</button>
<button class="waves-effect btn windows hide" onclick="update('portable')" style="margin-left:15px;">crwdns1950:0crwdne1950:0</button> <button class="waves-effect btn windows hide" onclick="update('portable')" style="margin-left:15px;">ポータブル版</button>
<button class="waves-effect btn linux hide" onclick="update('linux')" style="margin-left:15px;">crwdns670:0crwdne670:0</button> <button class="waves-effect btn linux hide" onclick="update('linux')" style="margin-left:15px;">開始</button>
<button class="waves-effect btn mac hide" onclick="update('mac')" style="margin-left:15px;">crwdns670:0crwdne670:0</button> <button class="waves-effect btn mac hide" onclick="update('mac')" style="margin-left:15px;">開始</button>
<br> <br>
crwdns678:0crwdne678:0<br>crwdns679:0crwdne679:0 問題が発生しますか?<br><a href="https://thedesk.top">公式HP</a>からダウンロードをお試しください。
</div> </div>
<div id="skipper" class="hide"> <div id="skipper" class="hide">
<h4>crwdns674:0crwdne674:0</h4> <h4>アップデートは必ず行ってください</h4>
crwdns675:0crwdne675:0<br> アップデートをスキップする<br>
<div id="updskip"> <div id="updskip">
<a onclick="window.close();" class="pointer skipbtn waves-effect waves-light"><div>crwdns676:0crwdne676:0</div></a> <a onclick="window.close();" class="pointer skipbtn waves-effect waves-light"><div>次回TL表示時まで</div></a>
<a onclick="nextv();" class="pointer skipbtn waves-effect waves-light"><div>crwdns677:0crwdne677:0</div></a> <a onclick="nextv();" class="pointer skipbtn waves-effect waves-light"><div>次のバージョンが出るまで</div></a>
</div> </div>
<a class="pointer waves-effect" onclick="skipper();" style="margin-top:5px">crwdns680:0crwdne680:0</a> <a class="pointer waves-effect" onclick="skipper();" style="margin-top:5px">アップデートを続行</a>
</div> </div>
<div id="dlnow" class="hide"> <div id="dlnow" class="hide">
<h4>crwdns681:0crwdne681:0</h4> <h4>ダウンロード中</h4>
<h4 id="prog"></h4> <h4 id="prog"></h4>
</div> </div>
</div> </div>
@ -208,7 +208,7 @@ function verck(){
$("#ver").text(json.desk_mac); $("#ver").text(json.desk_mac);
localStorage.setItem("next-ver",json.desk_mac); localStorage.setItem("next-ver",json.desk_mac);
} }
var lang="ps"; var lang="ja";
if(lang=="ja"){ if(lang=="ja"){
$("#det").html(json.detail); $("#det").html(json.detail);
}else{ }else{