Compare commits
268 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
b03b387707 | ||
|
3df827cbeb | ||
|
0af7e1da9f | ||
|
3531c338de | ||
|
d44724d784 | ||
|
365918bb94 | ||
|
db7c471ec5 | ||
|
b67ac5e48b | ||
|
0f72db8e9c | ||
|
3bff41f3d9 | ||
|
b02b031d97 | ||
|
ecda811835 | ||
|
0b573e3825 | ||
|
dc42ac6fce | ||
|
f345e1e33b | ||
|
5ffa9bc732 | ||
|
343b02bf19 | ||
|
c8786ca00f | ||
|
2732161dd2 | ||
|
8db9c438c4 | ||
|
50a32d75d3 | ||
|
d32c3c7866 | ||
|
a8390a0f2a | ||
|
9ad0e3e2c0 | ||
|
03b08b7c71 | ||
|
aa30072848 | ||
|
528e7ea61c | ||
|
89abea0706 | ||
|
3c45752ce1 | ||
|
b6cf6158f8 | ||
|
b4eaa6a849 | ||
|
86c83e8b11 | ||
|
a235e536da | ||
|
56fe5e6345 | ||
|
5d9327d3d3 | ||
|
72daf55e4e | ||
|
e5d651365b | ||
|
e1a0a69a2a | ||
|
a9e5e72ccc | ||
|
1d5f73e2ab | ||
|
0f81740562 | ||
|
0adb904c86 | ||
|
92f8611043 | ||
|
c24ef878c4 | ||
|
ba01510c88 | ||
|
47d69857ba | ||
|
8d812fbd2c | ||
|
790d353b69 | ||
|
495db60a84 | ||
|
ce117cca24 | ||
|
547a7b7c7c | ||
|
b6255244ef | ||
|
04e7088b7d | ||
|
1aefd4a3bb | ||
|
34075000a8 | ||
|
b24d937152 | ||
|
b821724e59 | ||
|
9a1f7311a6 | ||
|
b642d42229 | ||
|
ab265fae62 | ||
|
44b0c6c8fd | ||
|
ae16bb3525 | ||
|
7bf5353f05 | ||
|
64a3440969 | ||
|
6a02d4df6c | ||
|
4f84ad6c91 | ||
|
3fe5676f44 | ||
|
bc11e75d79 | ||
|
87f4d86587 | ||
|
de06c930ea | ||
|
dd056f4c05 | ||
|
484f320b7f | ||
|
bf7b38a02e | ||
|
bf534f9c79 | ||
|
bf94612e2e | ||
|
16fe5f07e3 | ||
|
c85ef3c659 | ||
|
e8910d7e64 | ||
|
817d159fd9 | ||
|
674ce32a30 | ||
|
8f85016d8c | ||
|
ee7ca45b91 | ||
|
51af1590ad | ||
|
b42b04d769 | ||
|
ffaa59cf88 | ||
|
109170627f | ||
|
553abf90cb | ||
|
eccdee7446 | ||
|
b2d98948d2 | ||
|
4bcb8104de | ||
|
b7c82b4831 | ||
|
626aebef4d | ||
|
32420fecd9 | ||
|
c318803ecd | ||
|
adf37f6513 | ||
|
0dcc0ff0ac | ||
|
f30749d752 | ||
|
af459aa93a | ||
|
e190cf3393 | ||
|
9f6c14ced0 | ||
|
320576f288 | ||
|
7366d9ce98 | ||
|
6da37a6cbb | ||
|
140e47d842 | ||
|
44128d8801 | ||
|
046dbc5559 | ||
|
f46b05dca8 | ||
|
8844320fc5 | ||
|
9f1aeb2b58 | ||
|
89ba321890 | ||
|
0ede195a5a | ||
|
c305ed5627 | ||
|
e58989f021 | ||
|
f88a3169c4 | ||
|
8aa9de05f9 | ||
|
e6ee50a6ea | ||
|
802988cb77 | ||
|
3afe00e208 | ||
|
0db238b023 | ||
|
3c07bbaf38 | ||
|
951d4d7251 | ||
|
dc789ad9c0 | ||
|
c5cbc07b2b | ||
|
101212de01 | ||
|
6a977d6484 | ||
|
4ed28c4d6c | ||
|
136d101588 | ||
|
e55a211269 | ||
|
89e01ec6e2 | ||
|
06c9e3437a | ||
|
a24d058ee5 | ||
|
176c692e46 | ||
|
17505711d7 | ||
|
e359347ae7 | ||
|
51dbf712f7 | ||
|
30bd7abec1 | ||
|
370af944d8 | ||
|
ccdd30f372 | ||
|
157aec934d | ||
|
a6d8bfd874 | ||
|
ed8dc492c5 | ||
|
87aee3764b | ||
|
692f01885f | ||
|
8b4537f61c | ||
|
74abc5d150 | ||
|
968dd67bda | ||
|
08b38f2789 | ||
|
8c826ccc3f | ||
|
f76fa5b13a | ||
|
2cc42fd3e0 | ||
|
4eabfad002 | ||
|
fa6304f244 | ||
|
27b0a6e47e | ||
|
6aca5a7b2b | ||
|
c0b9fc96e7 | ||
|
84b0defe3b | ||
|
49e6f89015 | ||
|
e9abe29fc3 | ||
|
4c26a76cd4 | ||
|
ce9bd51a92 | ||
|
f6dad03f7f | ||
|
0ee1ca5086 | ||
|
088c370d0e | ||
|
db934fb96b | ||
|
ef3bae0c0f | ||
|
bcf7d5f6ae | ||
|
bfaee4533c | ||
|
cf24c2042b | ||
|
be9a52c221 | ||
|
142098c4e7 | ||
|
b4da761c5b | ||
|
48d1dd14c1 | ||
|
3243602653 | ||
|
c2cfbd5583 | ||
|
6105152926 | ||
|
7ae073dec4 | ||
|
d6933a05a7 | ||
|
aa53700ffd | ||
|
6deec5758d | ||
|
ef68d2b421 | ||
|
496106476b | ||
|
7dd48c6da6 | ||
|
6435f55d0b | ||
|
a5c7494ba2 | ||
|
ed0e7cc615 | ||
|
529a08dd01 | ||
|
3a3e4159d9 | ||
|
fbbcf5de7f | ||
|
101f0afa07 | ||
|
298ef0547b | ||
|
b948608ce3 | ||
|
ec16bf81ed | ||
|
c6b63d1d0c | ||
|
b7397bccb0 | ||
|
95606ed251 | ||
|
5e3a89a654 | ||
|
2a0a9fd205 | ||
|
34e6a3bb72 | ||
|
6b44ca625f | ||
|
2082bb4662 | ||
|
5c5161ed3f | ||
|
3713a06750 | ||
|
a897d517cf | ||
|
df9c022563 | ||
|
3796b79872 | ||
|
f74eab450f | ||
|
493066df76 | ||
|
b89b5ea108 | ||
|
3dcfe1812d | ||
|
7b9d084cde | ||
|
f80ec5e6c3 | ||
|
773e482d56 | ||
|
6a1910ec9d | ||
|
a53b8fd884 | ||
|
5d9bb0ff19 | ||
|
b27c3c0940 | ||
|
e8f05ac324 | ||
|
279c6c3514 | ||
|
61a6a0f4d9 | ||
|
9e84456b46 | ||
|
3d65080e28 | ||
|
2cc8551386 | ||
|
2140757d5b | ||
|
f5226a6a7d | ||
|
6addb35131 | ||
|
ebba76cb92 | ||
|
e3c6d81a23 | ||
|
b35ecbf79c | ||
|
3e3387e4bd | ||
|
4b8c7fdaf3 | ||
|
07dcf40d13 | ||
|
1962e9265f | ||
|
92b692a958 | ||
|
a335813b42 | ||
|
7579cf6636 | ||
|
25316d8dcf | ||
|
b87a28521f | ||
|
e67d4e2e4f | ||
|
ea8295bb6b | ||
|
3dfa92e091 | ||
|
9a9907b264 | ||
|
e6b711b4b4 | ||
|
3375222582 | ||
|
b6a9284cbf | ||
|
7462c2195d | ||
|
01b4d0240b | ||
|
663fed681d | ||
|
16d02b5507 | ||
|
73ba6ff27a | ||
|
d2b0bf0927 | ||
|
e653beee09 | ||
|
3491c9b24b | ||
|
e328c0fb6e | ||
|
fdf1f34365 | ||
|
9fe22338a9 | ||
|
80ac4a55d3 | ||
|
c600009722 | ||
|
256e7b0f09 | ||
|
ce72432039 | ||
|
b3689fe297 | ||
|
0b58690ddd | ||
|
e598ab32cf | ||
|
001892dcee | ||
|
a89e1202e1 | ||
|
f9c8fb727c | ||
|
4a6e8c733f | ||
|
de2ac24382 | ||
|
e7aa01c547 |
24
README.md
@@ -47,19 +47,6 @@ The default sounds of notifications is provided [Creative Commons BY](https://cr
|
||||
|
||||
Crowdin project is available! Visit: https://translate.thedesk.top
|
||||
|
||||
## Requirement and development
|
||||
|
||||
* Electron 4.2 or above(install yourself)
|
||||
* electron-dl(in package.json)
|
||||
* Jimp(in package.json)
|
||||
* font-manager(in package.json)
|
||||
* Python 2.x(install yourself)
|
||||
* VisualC++(Windows)(install yourself)
|
||||
* itunes-nowplaying-mac(for macOS)(in package.json)
|
||||
* node-notifier(in package.json)
|
||||
* sumchecker(in package.json)
|
||||
* Ability to read unformated files!(install yourself)
|
||||
|
||||
### Run on developer mode
|
||||
|
||||
`npm run dev` on `app` folder.
|
||||
@@ -159,6 +146,17 @@ Linux
|
||||
macOS
|
||||
`electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=darwin --arch=all --electron-version=4.0.5 --icon=./app/icon.icns --overwrite`
|
||||
|
||||
### PWA support
|
||||
|
||||
TheDesk is a wed-based app, so you can run it on a browser. Of course, the main stream is as Electron. Some features won't work as well as Electron.
|
||||
|
||||
You can run `npm run build:pwa` to build as PWA, including `manifest.json` and the ServiceWorker.
|
||||
|
||||
**You have to rename `node_modules` to `dependencies` to run as a web application. (restricted by Netlify)**
|
||||
|
||||
Check the app on Chrome or Firefox: [Here](https://app.thedesk.top) (it follows the `master` branch, so not stable.)
|
||||
[](https://app.netlify.com/sites/thedesk/deploys)
|
||||
|
||||
## Pleroma support
|
||||
|
||||
Did you find a bug with Pleroma accounts?
|
||||
|
24
README_ja.md
@@ -46,19 +46,6 @@ Download:[TheDesk](https://thedesk.top) [
|
||||
* electron-dl(in package.json)
|
||||
* Jimp(in package.json)
|
||||
* font-manager(in package.json)
|
||||
* Python 2.x(自分で入れて)
|
||||
* VisualC++(Windows)(自分で入れて)
|
||||
* itunes-nowplaying-mac(macOS向け)(in package.json)
|
||||
* node-notifier(in package.json)
|
||||
* sumchecker(in package.json)
|
||||
* Ability to read unformated files!(自分で入れて)
|
||||
|
||||
### デベロッパーモード
|
||||
|
||||
`npm run dev`を`app`フォルダ内で実行
|
||||
@@ -158,6 +145,17 @@ Linux
|
||||
macOS
|
||||
`electron-packager ./app TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=darwin --arch=all --electron-version=4.0.5 --icon=./app/icon.icns --overwrite`
|
||||
|
||||
### PWAとして実行
|
||||
|
||||
TheDeskはウェブ技術を使用して作られているので、ブラウザで動かすこともできます。もちろん、Electron向けに設計されているので一部機能は動きません。
|
||||
|
||||
`npm run build:pwa`でビルドできます。PWAに必要な`manifest.json`やサービスワーカーなども要員されています。
|
||||
|
||||
**`node_modules`を`dependencies`にリネームしないと動きません。(Netlifyの制限です)**
|
||||
|
||||
ChromeまたはFirefoxでチェック: [こちら](https://app.thedesk.top) (`master`ブランチに追従しています。不安定です。)
|
||||
[](https://app.netlify.com/sites/thedesk/deploys)
|
||||
|
||||
## Pleromaのサポート
|
||||
|
||||
Pleromaは、Mastodon APIとの互換性を謳っていますが、実際には様々な差異があり、TheDeskで不具合が発生することがあります。
|
||||
|
76
app/css/acct.css
Normal file
@@ -0,0 +1,76 @@
|
||||
.acct {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 400px;
|
||||
background-color: #494949;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
body,
|
||||
html {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
#acct-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
color: white;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.lts {
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
.colorsel {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.card .colorsel div:not(.exc) {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.card .colorsel div.exc {
|
||||
width: 40px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.first {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.first .hide-first {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#compt {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 50px;
|
||||
border: 1px solid;
|
||||
border: 1px solid;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#compt li {
|
||||
list-style-type: disc;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#domain-list {
|
||||
width: 500px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
i.left {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#domain-list .title {
|
||||
font-size: 1.3rem;
|
||||
}
|
@@ -1,515 +1,572 @@
|
||||
/*共通CSS*/
|
||||
html,
|
||||
body {
|
||||
/*transform: translate3d(0,0,0);*/
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
font-size: 13px;
|
||||
height: 100vh;
|
||||
color: var(--color);
|
||||
/*transform: translate3d(0,0,0);*/
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
cursor: default;
|
||||
font-size: 13px;
|
||||
height: 100vh;
|
||||
color: var(--color);
|
||||
}
|
||||
.titlebar, .menubar-menu-container, .action-menu-item {
|
||||
background-color: var(--notfbox) !important;
|
||||
filter: brightness(110%) !important;
|
||||
color: var(--color) !important;
|
||||
}
|
||||
.action-menu-item:hover {
|
||||
filter: brightness(80%) !important;
|
||||
}
|
||||
.btn {
|
||||
margin: 5px;
|
||||
text-transform: none;
|
||||
margin: 5px;
|
||||
text-transform: none;
|
||||
}
|
||||
.markdown {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
help {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
.show-help {
|
||||
display: inline;
|
||||
display: inline;
|
||||
}
|
||||
option {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
#mainView {
|
||||
padding: 10px;
|
||||
overflow: scroll;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
overflow: scroll;
|
||||
height: auto;
|
||||
}
|
||||
#message {
|
||||
display: none;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-color: black;
|
||||
color: white;
|
||||
z-index: 9999;
|
||||
display: none;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background-color: black;
|
||||
color: white;
|
||||
z-index: 9999;
|
||||
}
|
||||
#imagemodal,
|
||||
#videomodal {
|
||||
display: none;
|
||||
max-width: 100vw;
|
||||
max-height: 100vh;
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
top: 0 !important;
|
||||
display: none;
|
||||
max-width: 100vw;
|
||||
max-height: 100vh;
|
||||
position: fixed;
|
||||
z-index: 9;
|
||||
top: 0 !important;
|
||||
}
|
||||
#videomodal,
|
||||
#tootmodal {
|
||||
background-color: var(--modal);
|
||||
background-color: var(--modal);
|
||||
}
|
||||
#imagemodal .modal-content {
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
#imagemodal .modal-footer {
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
#imagewrap {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.pointer {
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
.badge {
|
||||
min-width: 0 !important;
|
||||
margin-left: 5px !important;
|
||||
min-width: 0 !important;
|
||||
margin-left: 5px !important;
|
||||
}
|
||||
.unvisible {
|
||||
opacity: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
.bbcode-pulse-loadings,
|
||||
.bbcode-pulse-loading,
|
||||
.fa-pulse {
|
||||
display: inline-block;
|
||||
animation-duration: 3s;
|
||||
animation-fill-mode: both;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: pulse;
|
||||
display: inline-block;
|
||||
animation-duration: 3s;
|
||||
animation-fill-mode: both;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: pulse;
|
||||
}
|
||||
@keyframes pulse {
|
||||
from,
|
||||
50%,
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
25%,
|
||||
75% {
|
||||
opacity: 0;
|
||||
}
|
||||
from,
|
||||
50%,
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
25%,
|
||||
75% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
@keyframes shake {
|
||||
from,
|
||||
to {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
from,
|
||||
to {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
10%,
|
||||
30%,
|
||||
50%,
|
||||
70%,
|
||||
90% {
|
||||
-webkit-transform: translate3d(-10px, 0, 0);
|
||||
transform: translate3d(-10px, 0, 0);
|
||||
}
|
||||
10%,
|
||||
30%,
|
||||
50%,
|
||||
70%,
|
||||
90% {
|
||||
-webkit-transform: translate3d(-10px, 0, 0);
|
||||
transform: translate3d(-10px, 0, 0);
|
||||
}
|
||||
|
||||
20%,
|
||||
40%,
|
||||
60%,
|
||||
80% {
|
||||
-webkit-transform: translate3d(10px, 0, 0);
|
||||
transform: translate3d(10px, 0, 0);
|
||||
}
|
||||
20%,
|
||||
40%,
|
||||
60%,
|
||||
80% {
|
||||
-webkit-transform: translate3d(10px, 0, 0);
|
||||
transform: translate3d(10px, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.shake {
|
||||
display: inline-block;
|
||||
animation-duration: 1s;
|
||||
animation-fill-mode: both;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: shake;
|
||||
display: inline-block;
|
||||
animation-duration: 1s;
|
||||
animation-fill-mode: both;
|
||||
animation-iteration-count: infinite;
|
||||
animation-name: shake;
|
||||
}
|
||||
code:before,
|
||||
.pre:before {
|
||||
content: "Code";
|
||||
font-size: 1.8rem;
|
||||
line-height: 1em;
|
||||
font-family: monospace, monospace;
|
||||
color: #999;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
content: 'Code';
|
||||
font-size: 1.8rem;
|
||||
line-height: 1em;
|
||||
font-family: monospace, monospace;
|
||||
color: #999;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
code,
|
||||
pre {
|
||||
color: white;
|
||||
display: block;
|
||||
border-left: 5px solid;
|
||||
border-color: #079903;
|
||||
padding-left: 10px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
margin-left: 5px;
|
||||
background-color: #000;
|
||||
padding: 1em 1em 1em;
|
||||
position: relative;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
color: white;
|
||||
display: block;
|
||||
border-left: 5px solid;
|
||||
border-color: #079903;
|
||||
padding-left: 10px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
margin-left: 5px;
|
||||
background-color: #000;
|
||||
padding: 1em 1em 1em;
|
||||
position: relative;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
blockquote,
|
||||
.quote p {
|
||||
margin: 0;
|
||||
margin: 0;
|
||||
}
|
||||
blockquote,
|
||||
.quote {
|
||||
color: black;
|
||||
background-color: #ddd;
|
||||
padding: 1em 1em 1em;
|
||||
position: relative;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
color: black;
|
||||
background-color: #ddd;
|
||||
padding: 1em 1em 1em;
|
||||
position: relative;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
blockquote:before,
|
||||
.quote:before {
|
||||
content: "Quote";
|
||||
font-size: 1.8rem;
|
||||
line-height: 1em;
|
||||
font-family: Open Sans, cursive;
|
||||
color: #999;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
content: 'Quote';
|
||||
font-size: 1.8rem;
|
||||
line-height: 1em;
|
||||
font-family: Open Sans, cursive;
|
||||
color: #999;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
.pixiv-post {
|
||||
color: black;
|
||||
background-color: #fff;
|
||||
padding: 1em 1em 1em;
|
||||
position: relative;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-left: 5px solid #0096fa;
|
||||
color: black;
|
||||
background-color: #fff;
|
||||
padding: 1em 1em 1em;
|
||||
position: relative;
|
||||
border-top-left-radius: 10px;
|
||||
border-bottom-right-radius: 10px;
|
||||
border-bottom-left-radius: 10px;
|
||||
border-left: 5px solid #0096fa;
|
||||
}
|
||||
.pixiv-post :before {
|
||||
content: "From Pixiv";
|
||||
font-size: 1.8rem;
|
||||
line-height: 1em;
|
||||
font-family: Open Sans;
|
||||
color: #999;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
content: 'From Pixiv';
|
||||
font-size: 1.8rem;
|
||||
line-height: 1em;
|
||||
font-family: Open Sans;
|
||||
color: #999;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
#start {
|
||||
display: none;
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
height: calc(100vh - 40px);
|
||||
background-color: var(--bg);
|
||||
color: var(--color);
|
||||
z-index: 99999;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
display: none;
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
height: calc(100vh - 40px);
|
||||
background-color: var(--bg);
|
||||
color: var(--color);
|
||||
z-index: 99999;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
#drag {
|
||||
display: none;
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: var(--bg);
|
||||
color: var(--color);
|
||||
z-index: 99999;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
display: none;
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: var(--bg);
|
||||
color: var(--color);
|
||||
z-index: 99999;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
#drag-content {
|
||||
font-size: 2rem;
|
||||
font-size: 2rem;
|
||||
}
|
||||
#pip {
|
||||
z-index: 504;
|
||||
width: 418px;
|
||||
background-color: var(--subcolor);
|
||||
position: absolute;
|
||||
z-index: 504;
|
||||
width: 418px;
|
||||
background-color: var(--subcolor);
|
||||
position: absolute;
|
||||
}
|
||||
.pip-bottom {
|
||||
bottom: 10px;
|
||||
bottom: 10px;
|
||||
}
|
||||
.pip-left {
|
||||
left: 10px;
|
||||
left: 10px;
|
||||
}
|
||||
.pip-top {
|
||||
top: 10px;
|
||||
top: 10px;
|
||||
}
|
||||
.pip-right {
|
||||
right: 10px;
|
||||
right: 10px;
|
||||
}
|
||||
#pip-content .material-icons {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
.big-text {
|
||||
font-size: 1.2rem;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
#releasenote {
|
||||
background-color: var(--modal);
|
||||
background-color: var(--modal);
|
||||
}
|
||||
#releasenote li {
|
||||
list-style-type: disc;
|
||||
list-style-type: disc;
|
||||
}
|
||||
@media only screen and (min-width: 993px) {
|
||||
#toast-container {
|
||||
top: auto;
|
||||
right: auto;
|
||||
bottom: 5%;
|
||||
left: 4%;
|
||||
max-width: 86%;
|
||||
}
|
||||
#toast-container {
|
||||
top: auto;
|
||||
right: auto;
|
||||
bottom: 5%;
|
||||
left: 4%;
|
||||
max-width: 86%;
|
||||
}
|
||||
}
|
||||
.show {
|
||||
animation: show 0.2s linear 0s;
|
||||
animation: show 0.2s linear 0s;
|
||||
}
|
||||
@keyframes show {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
.hide-anime {
|
||||
animation: hide 0.2s linear 0s;
|
||||
display: none;
|
||||
animation: hide 0.2s linear 0s;
|
||||
display: none;
|
||||
}
|
||||
@keyframes hide {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
}
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
.collapsible-header,
|
||||
.tabs {
|
||||
background-color: var(--subcolor);
|
||||
background-color: var(--subcolor);
|
||||
}
|
||||
.collapsible-header:focus {
|
||||
background-color: var(--subcolor) !important;
|
||||
background-color: var(--subcolor) !important;
|
||||
}
|
||||
.modal-footer {
|
||||
background-color: var(--modalfooter) !important;
|
||||
background-color: var(--modalfooter) !important;
|
||||
}
|
||||
.font {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 5px;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.font:hover {
|
||||
background-color: #999;
|
||||
background-color: #999;
|
||||
}
|
||||
.release-do {
|
||||
border: solid 2px;
|
||||
border-color: var(--color);
|
||||
padding: 5px;
|
||||
border: solid 2px;
|
||||
border-color: var(--color);
|
||||
padding: 5px;
|
||||
}
|
||||
#pickers {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
#menu {
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
background-color: var(--postbox);
|
||||
width: 540px;
|
||||
top: calc(50% - 150px);
|
||||
left: calc(50% - 250px);
|
||||
padding: 5px;
|
||||
border: thin solid gray;
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
background-color: var(--postbox);
|
||||
width: 540px;
|
||||
top: calc(50% - 150px);
|
||||
left: calc(50% - 250px);
|
||||
padding: 5px;
|
||||
border: thin solid gray;
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
}
|
||||
#menu-wrapper {
|
||||
margin-left: -5px;
|
||||
display: flex;
|
||||
height: calc(100% - 3.5rem);
|
||||
overflow: hidden;
|
||||
margin-left: -5px;
|
||||
display: flex;
|
||||
height: calc(100% - 3.5rem);
|
||||
overflow: hidden;
|
||||
}
|
||||
#left-menu {
|
||||
width: 230px;
|
||||
width: 230px;
|
||||
}
|
||||
#left-menu div {
|
||||
padding-left: 5px;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
padding-left: 5px;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
#left-menu div:hover {
|
||||
background-color: var(--beforehover);
|
||||
background-color: var(--beforehover);
|
||||
}
|
||||
#left-menu span {
|
||||
margin-left: 5px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
#left-menu div.active {
|
||||
background-color: var(--emphasized);
|
||||
background-color: var(--emphasized);
|
||||
}
|
||||
#right-menu {
|
||||
width: 100%;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
padding: 5px;
|
||||
}
|
||||
#tltype {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
#tltype .type {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
width: 170px;
|
||||
height: 40px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
width: 170px;
|
||||
height: 40px;
|
||||
cursor: pointer;
|
||||
}
|
||||
#tltype .type span {
|
||||
width: calc(100% - 30px);
|
||||
width: calc(100% - 30px);
|
||||
}
|
||||
#tltype .type:hover {
|
||||
background-color: var(--beforehover);
|
||||
background-color: var(--beforehover);
|
||||
}
|
||||
#tltype .active {
|
||||
background-color: var(--emphasized);
|
||||
background-color: var(--emphasized);
|
||||
}
|
||||
#tltype i {
|
||||
font-size: 30px;
|
||||
font-size: 30px;
|
||||
}
|
||||
#tltype i.sub-icon {
|
||||
font-size: 20px;
|
||||
position: absolute;
|
||||
color: var(--beforehover);
|
||||
left: 10px;
|
||||
bottom: 5px;
|
||||
background-color: #fff;
|
||||
font-size: 20px;
|
||||
position: absolute;
|
||||
color: var(--beforehover);
|
||||
left: 10px;
|
||||
bottom: 5px;
|
||||
background-color: #fff;
|
||||
}
|
||||
.drag-bar {
|
||||
cursor: move;
|
||||
text-align: center;
|
||||
width: calc(100% + 10px);
|
||||
border-radius: 5px;
|
||||
background-color: var(--box);
|
||||
filter: brightness(80%);
|
||||
margin-left: -5px;
|
||||
margin-right: -5px;
|
||||
margin-top: -5px;
|
||||
font-size: 16px;
|
||||
padding: 4px;
|
||||
cursor: move;
|
||||
text-align: center;
|
||||
width: calc(100% + 10px);
|
||||
border-radius: 5px;
|
||||
background-color: var(--box);
|
||||
filter: brightness(80%);
|
||||
margin-left: -5px;
|
||||
margin-right: -5px;
|
||||
margin-top: -5px;
|
||||
font-size: 16px;
|
||||
padding: 4px;
|
||||
}
|
||||
#something-wrong {
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
#support-btm {
|
||||
position: fixed;
|
||||
bottom: -300px;
|
||||
width: 100vw;
|
||||
background-color: var(--box);
|
||||
z-index: 9999;
|
||||
padding: 10px;
|
||||
display: grid;
|
||||
grid-template-columns: 3fr 1fr 1fr;
|
||||
grid-template-rows: 1fr 36px;
|
||||
grid-template-areas: "note middle right" "note close close";
|
||||
position: fixed;
|
||||
bottom: -300px;
|
||||
width: 100vw;
|
||||
background-color: var(--box);
|
||||
z-index: 9999;
|
||||
padding: 10px;
|
||||
display: grid;
|
||||
grid-template-columns: 3fr 1fr 1fr;
|
||||
grid-template-rows: 1fr 36px;
|
||||
grid-template-areas: 'note middle right' 'note close close';
|
||||
}
|
||||
#support-btm-en,
|
||||
#support-btm-ja {
|
||||
grid-area: note;
|
||||
grid-area: note;
|
||||
}
|
||||
#support-btm-middle {
|
||||
grid-area: middle;
|
||||
grid-area: middle;
|
||||
}
|
||||
#support-btm-right {
|
||||
grid-area: right;
|
||||
grid-area: right;
|
||||
}
|
||||
#support-btm-close {
|
||||
grid-area: close;
|
||||
grid-area: close;
|
||||
}
|
||||
.select-wrapper .dropdown-content {
|
||||
width: 250px !important;
|
||||
width: 250px !important;
|
||||
}
|
||||
input,
|
||||
textarea {
|
||||
color: var(--color);
|
||||
font-size: 1rem !important;
|
||||
font-family: inherit;
|
||||
color: var(--color);
|
||||
font-size: 1rem !important;
|
||||
font-family: inherit;
|
||||
}
|
||||
.swal2-popup {
|
||||
background-color: var(--notfbox) !important;
|
||||
background-color: var(--notfbox) !important;
|
||||
}
|
||||
.swal2-title,
|
||||
.swal2-content {
|
||||
color: var(--color) !important;
|
||||
color: var(--color) !important;
|
||||
}
|
||||
#src-contents svg {
|
||||
margin-right: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.contributor {
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
.contributor img {
|
||||
width: 1rem;
|
||||
width: 1rem;
|
||||
}
|
||||
.tagComp {
|
||||
display: grid;
|
||||
grid-template-columns: 60px 80px 1fr;
|
||||
grid-template-rows: 1fr 1fr;
|
||||
grid-template-areas: 'svg toot user' 'svg toot tag' 'svg toots tag';
|
||||
border-top: dotted 0.5px var(--gray);
|
||||
padding: 5px;
|
||||
}
|
||||
.tagCompSvg {
|
||||
grid-area: svg;
|
||||
}
|
||||
.tagCompToot {
|
||||
grid-area: toot;
|
||||
text-align: center;
|
||||
}
|
||||
.tagCompToots {
|
||||
grid-area: toots;
|
||||
text-align: center;
|
||||
}
|
||||
.tagCompUser {
|
||||
grid-area: user;
|
||||
}
|
||||
.tagCompTag {
|
||||
grid-area: tag;
|
||||
padding-top: 10px;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
#sabakanMark {
|
||||
background-color: var(--emphasized);
|
||||
}
|
||||
#pageSrc {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: calc(50vw - 150px);
|
||||
width: 300px;
|
||||
max-width: 100%;
|
||||
background-color: var(--box);
|
||||
z-index: 501;
|
||||
padding: 5px;
|
||||
}
|
||||
#pageSrcInput {
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
#pageSrc {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*スクロールバー*/
|
||||
::-webkit-scrollbar {
|
||||
width: 5px;
|
||||
height: 10px;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
width: 5px;
|
||||
height: 10px;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
::-webkit-scrollbar-track {
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
/* Handle */
|
||||
::-webkit-scrollbar-thumb {
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
background: #607d8b;
|
||||
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
background: #607d8b;
|
||||
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
/* Web Fonts */
|
||||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local("Open Sans Light"), local("OpenSans-Light"),
|
||||
url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2)
|
||||
format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||
U+FEFF, U+FFFD;
|
||||
font-family: 'Open Sans';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local('Open Sans Light'), local('OpenSans-Light'),
|
||||
url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
|
||||
U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Material Icons";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2)
|
||||
format("woff2");
|
||||
font-family: 'Material Icons';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2)
|
||||
format('woff2');
|
||||
}
|
||||
.material-icons {
|
||||
font-family: "Material Icons";
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
-webkit-font-feature-settings: "liga";
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-family: 'Material Icons';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
-webkit-font-feature-settings: 'liga';
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
@@ -142,3 +142,51 @@
|
||||
.bluetheme #imagemodal {
|
||||
background: url("../img/pixel.white.svg");
|
||||
}
|
||||
.polartheme {
|
||||
--bg: #2e3440;
|
||||
--drag: rgba(0, 0, 0, 0.8);
|
||||
--color: white;
|
||||
--beforehover: #8d94a0;
|
||||
--modal: #3b4252;
|
||||
--subcolor: #434c5e;
|
||||
--box: #4c566a;
|
||||
--sidebar: #3b4252;
|
||||
--shared: #2d3b58;
|
||||
--notfbox: #2a3857;
|
||||
--emphasized: #2f4b86;
|
||||
--his-data: rgba(0, 0, 0, 0.8);
|
||||
--active: #2a3857;
|
||||
--postbox: #434c5e;
|
||||
--modalfooter: #485166;
|
||||
--accentbtn: #2f4b86;
|
||||
--selected: #464f61;
|
||||
--selectedWithShare: #3e527e;
|
||||
--gray: #cccccc;
|
||||
}
|
||||
.polartheme #imagemodal {
|
||||
background: url("../img/pixel.svg");
|
||||
}
|
||||
.snowtheme {
|
||||
--bg: #eceff4;
|
||||
--drag: rgba(255, 255, 255, 0.8);
|
||||
--color: #36425a;
|
||||
--beforehover: #344058;
|
||||
--modal: #e5e9f0;
|
||||
--subcolor: #d8dee9;
|
||||
--box: #c0c8d6;
|
||||
--sidebar: #eeeeee;
|
||||
--shared: #c3d4e6;
|
||||
--notfbox: #d8dee9;
|
||||
--emphasized: #88c0d0;
|
||||
--his-data: rgba(255, 255, 255, 0.9);
|
||||
--active: #8fbcbb;
|
||||
--postbox: #d8dee9;
|
||||
--modalfooter: #b2bed4;
|
||||
--accentbtn: #81a1c1;
|
||||
--selected: #b4bdd0;
|
||||
--selectedWithShare: #a3afbb;
|
||||
--gray: #5c6c8c;
|
||||
}
|
||||
.snowtheme #imagemodal {
|
||||
background: url("../img/pixel.white.svg");
|
||||
}
|
@@ -79,6 +79,14 @@
|
||||
padding-right: 5px;
|
||||
margin-right: 15px;
|
||||
border-radius: 5px;
|
||||
height: 35px;
|
||||
}
|
||||
.bgReport {
|
||||
height: 34px;
|
||||
padding-top: 0.45rem;
|
||||
text-decoration: underline;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
#spot-box {
|
||||
display: grid;
|
||||
@@ -216,7 +224,10 @@ iframe,
|
||||
margin: -1px 0;
|
||||
}
|
||||
.bigemoji {
|
||||
width: 60px !important;
|
||||
width: 100px !important;
|
||||
height: auto !important;
|
||||
position: relative;
|
||||
z-index: 9999;
|
||||
}
|
||||
.faicon_FTL {
|
||||
display: none;
|
||||
@@ -363,6 +374,31 @@ iframe,
|
||||
grid-area: side;
|
||||
}
|
||||
|
||||
.cusr {
|
||||
user-select: text;
|
||||
padding-left: 5px;
|
||||
border-bottom: 0.5px solid;
|
||||
padding-right: 2px;
|
||||
word-break: break-word;
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: 43px 2fr 1fr;
|
||||
grid-template-rows: auto 1.6rem 2fr auto;
|
||||
grid-template-areas: 'notice notice notice' 'icon display_name display_name' 'space status status' 'space actions actions';
|
||||
}
|
||||
|
||||
.area-status {
|
||||
grid-area: status;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.cusr .cbadge {
|
||||
margin-top: 6px;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.quote-inline {
|
||||
display: none;
|
||||
}
|
||||
@@ -523,7 +559,7 @@ p:not(:last-child) {
|
||||
z-index: 500;
|
||||
padding: 5px;
|
||||
display: grid;
|
||||
grid-template-columns: 40px 1fr 1fr 24px;
|
||||
grid-template-columns: 40px 60px 1fr 24px;
|
||||
grid-template-rows: 30px 30px;
|
||||
grid-template-areas: 'notice notice_name notice_name a2' 'notice a1 sta a3' 'notf-box notf-box notf-box notf-box';
|
||||
}
|
||||
@@ -643,6 +679,8 @@ p:not(:last-child) {
|
||||
margin-top: 3px;
|
||||
padding: 1px;
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.fa-2x > .emoji-img {
|
||||
width: 36px !important;
|
||||
@@ -681,6 +719,29 @@ p:not(:last-child) {
|
||||
.votebtn:hover {
|
||||
background-color: var(--color);
|
||||
}
|
||||
.leadPoll {
|
||||
position: absolute;
|
||||
background-color: var(--box);
|
||||
height: 20px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.lpAnime {
|
||||
animation-duration: 1s;
|
||||
animation-name: fadeInLeft;
|
||||
}
|
||||
.onPoll {
|
||||
position: relative;
|
||||
}
|
||||
.maxVoter {
|
||||
background-color: var(--emphasized);
|
||||
filter: brightness(120%);
|
||||
}
|
||||
.ownMark img {
|
||||
width: 1.2rem !important;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
margin-left: 5px !important;
|
||||
}
|
||||
.jump {
|
||||
display: inline-block;
|
||||
animation: jump 0.75s linear infinite;
|
||||
@@ -724,6 +785,7 @@ audio {
|
||||
padding-right: 3px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid var(--color);
|
||||
user-select: none;
|
||||
}
|
||||
.vis-data {
|
||||
font-size: 1rem !important;
|
||||
@@ -800,3 +862,31 @@ audio {
|
||||
.box .ui-resizable-se {
|
||||
display: none !important;
|
||||
}
|
||||
.announcement {
|
||||
padding: 5px;
|
||||
border-bottom: 1px solid;
|
||||
}
|
||||
.announReaction {
|
||||
width: 35px;
|
||||
height: 1.7rem;
|
||||
font-size: 1.1rem;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
border: solid 1px;
|
||||
padding-left: 2px;
|
||||
background-color: var(--notfbox);
|
||||
border-radius: 2px;
|
||||
}
|
||||
.announReaction img {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
.announReaction.reactioned {
|
||||
background-color: var(--emphasized);
|
||||
}
|
||||
.announReaction.add {
|
||||
width: 19px;
|
||||
}
|
||||
.reactionsPack {
|
||||
display: flex;
|
||||
}
|
BIN
app/img/icons/icon-128x128.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
app/img/icons/icon-144x144.png
Normal file
After Width: | Height: | Size: 8.1 KiB |
BIN
app/img/icons/icon-152x152.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
BIN
app/img/icons/icon-192x192.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
app/img/icons/icon-384x384.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
app/img/icons/icon-512x512.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
app/img/icons/icon-72x72.png
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
app/img/icons/icon-96x96.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
7
app/index.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv=”refresh” content=”0;URL=’./view/ja'” />
|
||||
<script>location.href = './view/ja';</script>
|
||||
</head>
|
||||
</html>
|
@@ -1,191 +1,197 @@
|
||||
selectedColumn = 0
|
||||
selectedToot = 0
|
||||
$(function ($) {
|
||||
$(function($) {
|
||||
//キーボードショートカット
|
||||
$(window).keydown(function (e) {
|
||||
var hasFocus = $('input').is(':focus');
|
||||
var hasFocus2 = $('textarea').is(':focus');
|
||||
if (document.getElementById("webview")) {
|
||||
if ($("#webviewsel:checked").val()) {
|
||||
var wv = false;
|
||||
$(window).keydown(function(e) {
|
||||
var hasFocus = $('input').is(':focus')
|
||||
var hasFocus2 = $('textarea').is(':focus')
|
||||
if (document.getElementById('webview')) {
|
||||
if ($('#webviewsel:checked').val()) {
|
||||
var wv = false
|
||||
} else {
|
||||
var wv = true;
|
||||
var wv = true
|
||||
}
|
||||
} else {
|
||||
var wv = true;
|
||||
var wv = true
|
||||
}
|
||||
//Enter
|
||||
if (e.keyCode === 13) {
|
||||
if($("#src").is(':focus')){
|
||||
if ($('#src').is(':focus')) {
|
||||
src()
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
if($("#list-add").is(':focus')){
|
||||
if ($('#list-add').is(':focus')) {
|
||||
makeNewList()
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
}
|
||||
//Ctrl+Shift+Enter:Lgen
|
||||
if (event.metaKey || event.ctrlKey && wv) {
|
||||
if (event.metaKey || (event.ctrlKey && wv)) {
|
||||
if (event.shiftKey) {
|
||||
if (e.keyCode === 13) {
|
||||
post('local');
|
||||
return false;
|
||||
post('local')
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
//Ctrl+Enter:投稿
|
||||
if (event.metaKey || event.ctrlKey && wv) {
|
||||
if (event.metaKey || (event.ctrlKey && wv)) {
|
||||
if (e.keyCode === 13) {
|
||||
post();
|
||||
return false;
|
||||
post()
|
||||
return false
|
||||
}
|
||||
}
|
||||
//Alt+Enter:セカンダリー
|
||||
if (event.metaKey || event.altKey && wv) {
|
||||
if (event.metaKey || (event.altKey && wv)) {
|
||||
if (e.keyCode === 13) {
|
||||
sec();
|
||||
return false;
|
||||
sec()
|
||||
return false
|
||||
}
|
||||
}
|
||||
//Esc:消す
|
||||
if (e.keyCode === 27 && wv) {
|
||||
hide();
|
||||
return false;
|
||||
hide()
|
||||
return false
|
||||
}
|
||||
//F5リロード
|
||||
if (e.keyCode === 116 && wv) {
|
||||
location.href = "index.html";
|
||||
return false;
|
||||
location.href = 'index.html'
|
||||
return false
|
||||
}
|
||||
//Ctrl+Sift+C:全消し
|
||||
if (((event.metaKey || event.ctrlKey) && event.shiftKey) && wv) {
|
||||
if ((event.metaKey || event.ctrlKey) && event.shiftKey && wv) {
|
||||
if (e.keyCode === 67) {
|
||||
clear();
|
||||
return false;
|
||||
clear()
|
||||
return false
|
||||
}
|
||||
}
|
||||
//Ctrl+Sift+N:NowPlaying
|
||||
if (((event.metaKey || event.ctrlKey) && event.shiftKey) && wv) {
|
||||
if ((event.metaKey || event.ctrlKey) && event.shiftKey && wv) {
|
||||
if (e.keyCode === 78) {
|
||||
show();
|
||||
show()
|
||||
nowplaying()
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
}
|
||||
//input/textareaにフォーカスなし時
|
||||
if ((!hasFocus && !hasFocus2) && wv) {
|
||||
if (!hasFocus && !hasFocus2 && wv) {
|
||||
if (!wv) {
|
||||
return true;
|
||||
return true
|
||||
}
|
||||
//Ctrl+V:いつもの
|
||||
if (event.metaKey || event.ctrlKey) {
|
||||
if (e.keyCode === 86) {
|
||||
show();
|
||||
show()
|
||||
}
|
||||
}
|
||||
//Ctrl+F:検索
|
||||
if (event.metaKey || event.ctrlKey) {
|
||||
if (e.keyCode === 70) {
|
||||
srcBox()
|
||||
}
|
||||
}
|
||||
//X:開閉
|
||||
if (e.keyCode === 88) {
|
||||
if (!$("#post-box").hasClass("appear")) {
|
||||
show();
|
||||
$('textarea').focus();
|
||||
if (!$('#post-box').hasClass('appear')) {
|
||||
show()
|
||||
$('textarea').focus()
|
||||
} else {
|
||||
hide();
|
||||
hide()
|
||||
}
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
//N:新トゥート
|
||||
if (e.keyCode === 78) {
|
||||
if (!$("#post-box").hasClass("appear")) {
|
||||
show();
|
||||
if (!$('#post-box').hasClass('appear')) {
|
||||
show()
|
||||
}
|
||||
$('textarea').focus();
|
||||
return false;
|
||||
$('textarea').focus()
|
||||
return false
|
||||
}
|
||||
//Ctrl+E:全ての通知未読を既読にする
|
||||
if (event.metaKey || event.ctrlKey) {
|
||||
if (e.keyCode === 69) {
|
||||
allNotfRead();
|
||||
return false;
|
||||
allNotfRead()
|
||||
return false
|
||||
}
|
||||
}
|
||||
//Ctrl+Space:読み込み
|
||||
if (event.metaKey || event.ctrlKey) {
|
||||
if (e.keyCode === 32) {
|
||||
parseColumn();
|
||||
return false;
|
||||
parseColumn()
|
||||
return false
|
||||
}
|
||||
}
|
||||
//Ctrl+Sift+S:設定
|
||||
if ((event.metaKey || event.ctrlKey) && event.shiftKey) {
|
||||
if (e.keyCode === 83) {
|
||||
location.href = "setting.html";
|
||||
return false;
|
||||
location.href = 'setting.html'
|
||||
return false
|
||||
}
|
||||
}
|
||||
//Ctrl+Sift+M:アカマネ
|
||||
if ((event.metaKey || event.ctrlKey) && event.shiftKey) {
|
||||
if (e.keyCode === 77) {
|
||||
location.href = "acct.html";
|
||||
return false;
|
||||
location.href = 'acct.html'
|
||||
return false
|
||||
}
|
||||
}
|
||||
//Ctrl+Sift+P:プロフ
|
||||
if ((event.metaKey || event.ctrlKey) && event.shiftKey) {
|
||||
if (e.keyCode === 80) {
|
||||
profShow()
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
}
|
||||
//数字:TL
|
||||
if (event.metaKey || event.ctrlKey) {
|
||||
if (e.keyCode >= 49 && e.keyCode <= 57) {
|
||||
var kz = e.keyCode - 49;
|
||||
goColumn(kz);
|
||||
return false;
|
||||
var kz = e.keyCode - 49
|
||||
goColumn(kz)
|
||||
return false
|
||||
}
|
||||
}
|
||||
//矢印:選択
|
||||
if (e.code == "ArrowLeft") {
|
||||
if (e.code == 'ArrowLeft') {
|
||||
//left
|
||||
if ($("#imagemodal").hasClass("open")) {
|
||||
imgCont('prev');
|
||||
return false;
|
||||
if ($('#imagemodal').hasClass('open')) {
|
||||
imgCont('prev')
|
||||
return false
|
||||
}
|
||||
if (selectedColumn > 0) {
|
||||
selectedColumn--
|
||||
}
|
||||
tootSelector(selectedColumn, selectedToot)
|
||||
return false;
|
||||
} else if (e.code == "ArrowUp") {
|
||||
return false
|
||||
} else if (e.code == 'ArrowUp') {
|
||||
//up
|
||||
if ($("#imagemodal").hasClass("open")) {
|
||||
return false;
|
||||
if ($('#imagemodal').hasClass('open')) {
|
||||
return false
|
||||
}
|
||||
if (selectedToot > 0) {
|
||||
selectedToot--
|
||||
}
|
||||
tootSelector(selectedColumn, selectedToot)
|
||||
return false;
|
||||
} else if (e.code == "ArrowRight") {
|
||||
return false
|
||||
} else if (e.code == 'ArrowRight') {
|
||||
//right
|
||||
if ($("#imagemodal").hasClass("open")) {
|
||||
imgCont('next');
|
||||
return false;
|
||||
if ($('#imagemodal').hasClass('open')) {
|
||||
imgCont('next')
|
||||
return false
|
||||
}
|
||||
if (selectedColumn < $(".tl-box").length - 1) {
|
||||
if (selectedColumn < $('.tl-box').length - 1) {
|
||||
selectedColumn++
|
||||
}
|
||||
tootSelector(selectedColumn, selectedToot)
|
||||
return false;
|
||||
} else if (e.code == "ArrowDown") {
|
||||
return false
|
||||
} else if (e.code == 'ArrowDown') {
|
||||
//down
|
||||
if ($("#imagemodal").hasClass("open")) {
|
||||
return false;
|
||||
if ($('#imagemodal').hasClass('open')) {
|
||||
return false
|
||||
}
|
||||
selectedToot++
|
||||
tootSelector(selectedColumn, selectedToot)
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
//Ctrl+U:0,0選択
|
||||
if (event.ctrlKey || event.metaKey) {
|
||||
@@ -193,29 +199,29 @@ $(function ($) {
|
||||
selectedToot = 0
|
||||
selectedColumn = 0
|
||||
tootSelector(0, 0)
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
}
|
||||
//選択時
|
||||
if (e.keyCode == 70) {
|
||||
var id = $(".selectedToot").attr('unique-id')
|
||||
var acct_id = $('#timeline_' + selectedColumn).attr("data-acct")
|
||||
var id = $('.selectedToot').attr('unique-id')
|
||||
var acct_id = $('#timeline_' + selectedColumn).attr('data-acct')
|
||||
fav(id, acct_id, false)
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
if (e.keyCode == 66) {
|
||||
var id = $(".selectedToot").attr('unique-id')
|
||||
var acct_id = $('#timeline_' + selectedColumn).attr("data-acct")
|
||||
var id = $('.selectedToot').attr('unique-id')
|
||||
var acct_id = $('#timeline_' + selectedColumn).attr('data-acct')
|
||||
rt(id, acct_id, false)
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
if (e.keyCode == 82) {
|
||||
var id = $(".selectedToot").attr('unique-id')
|
||||
var acct_id = $('#timeline_' + selectedColumn).attr("data-acct")
|
||||
var ats_cm = $('.selectedToot .rep-btn').attr("data-men")
|
||||
var mode = $('.selectedToot .rep-btn').attr("data-visen")
|
||||
var id = $('.selectedToot').attr('unique-id')
|
||||
var acct_id = $('#timeline_' + selectedColumn).attr('data-acct')
|
||||
var ats_cm = $('.selectedToot .rep-btn').attr('data-men')
|
||||
var mode = $('.selectedToot .rep-btn').attr('data-visen')
|
||||
re(id, ats_cm, acct_id, mode)
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
}
|
||||
//textareaフォーカス時
|
||||
@@ -224,23 +230,27 @@ $(function ($) {
|
||||
//C+S+(No):ワンクリ
|
||||
if ((event.metaKey || event.ctrlKey) && event.shiftKey) {
|
||||
if (e.keyCode >= 49 && e.keyCode <= 51) {
|
||||
var no = e.keyCode - 48;
|
||||
if (localStorage.getItem("oks-" + no)) { $("#textarea").val($("#textarea").val() + localStorage.getItem("oks-" + no)) }
|
||||
return false;
|
||||
var no = e.keyCode - 48
|
||||
if (localStorage.getItem('oks-' + no)) {
|
||||
$('#textarea').val($('#textarea').val() + localStorage.getItem('oks-' + no))
|
||||
}
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
//クリアボタン
|
||||
$("#clear").click(function () {
|
||||
clear();
|
||||
});
|
||||
});
|
||||
$('#clear').click(function() {
|
||||
clear()
|
||||
})
|
||||
})
|
||||
//選択する
|
||||
function tootSelector(column, toot) {
|
||||
$('.cvo').removeClass("selectedToot")
|
||||
$('#timeline_' + column + ' .cvo').eq(toot).addClass("selectedToot")
|
||||
$('.cvo').removeClass('selectedToot')
|
||||
$('#timeline_' + column + ' .cvo')
|
||||
.eq(toot)
|
||||
.addClass('selectedToot')
|
||||
var scr = $('.tl-box[tlid=' + column + ']').scrollTop()
|
||||
var elem = $('.selectedToot').offset().top
|
||||
var top = elem - $('.tl-box').height() + scr
|
||||
@@ -255,4 +265,4 @@ function tootSelector(column, toot) {
|
||||
$('.tl-box[tlid=' + column + ']').animate({ scrollTop: to })
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,346 +1,400 @@
|
||||
//バージョンチェッカー
|
||||
function verck(ver, jp) {
|
||||
console.log("%c Welcome😊", "color: red;font-size:200%;");
|
||||
var date = new Date();
|
||||
var show = false;
|
||||
if (localStorage.getItem("ver") != ver && localStorage.getItem("winstore")) {
|
||||
console.log('%c Welcome😊', 'color: red;font-size:200%;')
|
||||
var date = new Date()
|
||||
var show = false
|
||||
if (localStorage.getItem('ver') != ver && localStorage.getItem('winstore')) {
|
||||
//ちょっと削除とリンク解析の都合上アレ(s)
|
||||
//対象外のアプデ:storageが20の最初まで"Usamin (18.6.5)"
|
||||
if (!localStorage.getItem("usamin_18_6_5_flag")) {
|
||||
localStorage.setItem("usamin_18_6_5_flag", true);
|
||||
var multi = localStorage.getItem("column");
|
||||
var obj = JSON.parse(multi);
|
||||
if (!localStorage.getItem('usamin_18_6_5_flag')) {
|
||||
localStorage.setItem('usamin_18_6_5_flag', true)
|
||||
var multi = localStorage.getItem('column')
|
||||
var obj = JSON.parse(multi)
|
||||
for (var i = 0; i < obj.length; i++) {
|
||||
localStorage.removeItem("card_" + i);
|
||||
localStorage.removeItem('card_' + i)
|
||||
}
|
||||
}
|
||||
//ちょっと削除とリンク解析の都合上アレ(e)
|
||||
show = true;
|
||||
console.log("%c Thank you for your update🎉", "color: red;font-size:200%;");
|
||||
show = true
|
||||
console.log('%c Thank you for your update🎉', 'color: red;font-size:200%;')
|
||||
$(document).ready(function() {
|
||||
if (localStorage.getItem("winstore")) {
|
||||
$("#releasenote").modal("open");
|
||||
if (localStorage.getItem('winstore')) {
|
||||
$('#releasenote').modal('open')
|
||||
}
|
||||
verp = ver.replace("(", "");
|
||||
verp = verp.replace(".", "-");
|
||||
verp = verp.replace(".", "-");
|
||||
verp = verp.replace("[", "-");
|
||||
verp = verp.replace("]", "");
|
||||
verp = verp.replace(")", "");
|
||||
verp = verp.replace(" ", "_");
|
||||
console.log("%c " + verp, "color: red;font-size:200%;");
|
||||
if (lang.language == "ja") {
|
||||
$("#release-" + verp).show();
|
||||
verp = ver.replace('(', '')
|
||||
verp = verp.replace('.', '-')
|
||||
verp = verp.replace('.', '-')
|
||||
verp = verp.replace('[', '-')
|
||||
verp = verp.replace(']', '')
|
||||
verp = verp.replace(')', '')
|
||||
verp = verp.replace(' ', '_')
|
||||
console.log('%c ' + verp, 'color: red;font-size:200%;')
|
||||
if (lang.language == 'ja') {
|
||||
$('#release-' + verp).show()
|
||||
} else {
|
||||
$("#release-en").show();
|
||||
$('#release-en').show()
|
||||
}
|
||||
});
|
||||
})
|
||||
}
|
||||
localStorage.setItem("ver", ver);
|
||||
localStorage.setItem('ver', ver)
|
||||
if (!show) {
|
||||
console.log(show);
|
||||
if (date.getMonth() + 1 >= localStorage.getItem("showSupportMe") || !localStorage.getItem("showSupportMe")) {
|
||||
console.log(show)
|
||||
if (
|
||||
date.getFullYear() * 100 + date.getMonth() + 1 >= localStorage.getItem('showSupportMe') ||
|
||||
!localStorage.getItem('showSupportMe')
|
||||
) {
|
||||
if (date.getMonth() == 11) {
|
||||
var nextmonth = 1;
|
||||
var yrs = date.getFullYear() + 1
|
||||
var nextmonth = yrs * 100 + 1
|
||||
} else {
|
||||
var nextmonth = date.getMonth() + 2;
|
||||
var yrs = date.getFullYear()
|
||||
var nextmonth = yrs * 100 + date.getMonth() + 2
|
||||
}
|
||||
if (lang.language != "ja") {
|
||||
$("#support-btm-ja").addClass("hide");
|
||||
$("#support-btm-en").removeClass("hide");
|
||||
if (lang.language != 'ja') {
|
||||
$('#support-btm-ja').addClass('hide')
|
||||
$('#support-btm-en').removeClass('hide')
|
||||
}
|
||||
localStorage.setItem("showSupportMe", nextmonth);
|
||||
$("#support-btm").removeClass("hide");
|
||||
$("#support-btm").animate(
|
||||
localStorage.setItem('showSupportMe', nextmonth)
|
||||
$('#support-btm').removeClass('hide')
|
||||
$('#support-btm').animate(
|
||||
{
|
||||
bottom: "0"
|
||||
bottom: '0'
|
||||
},
|
||||
{
|
||||
duration: 300
|
||||
}
|
||||
);
|
||||
)
|
||||
}
|
||||
}
|
||||
var platform = localStorage.getItem("platform");
|
||||
console.log("Your platform:" + platform);
|
||||
if (!localStorage.getItem("winstore")) {
|
||||
$("#start").css("display", "flex");
|
||||
var platform = localStorage.getItem('platform')
|
||||
console.log('Your platform:' + platform)
|
||||
if (!localStorage.getItem('winstore')) {
|
||||
$('#start').css('display', 'flex')
|
||||
}
|
||||
if (localStorage.getItem("winstore") == "brewcask" || localStorage.getItem("winstore") == "snapcraft" || localStorage.getItem("winstore") == "winstore") {
|
||||
var winstore = true;
|
||||
if (
|
||||
localStorage.getItem('winstore') == 'brewcask' ||
|
||||
localStorage.getItem('winstore') == 'snapcraft' ||
|
||||
localStorage.getItem('winstore') == 'winstore'
|
||||
) {
|
||||
var winstore = true
|
||||
} else {
|
||||
var winstore = false;
|
||||
var winstore = false
|
||||
}
|
||||
var l = 5;
|
||||
var l = 5
|
||||
// 生成する文字列に含める文字セット
|
||||
var c = "abcdefghijklmnopqrstuvwxyz0123456789";
|
||||
var cl = c.length;
|
||||
var r = "";
|
||||
var c = 'abcdefghijklmnopqrstuvwxyz0123456789'
|
||||
var cl = c.length
|
||||
var r = ''
|
||||
for (var i = 0; i < l; i++) {
|
||||
r += c[Math.floor(Math.random() * cl)];
|
||||
r += c[Math.floor(Math.random() * cl)]
|
||||
}
|
||||
var start = "https://thedesk.top/ver.json";
|
||||
var start = 'https://thedesk.top/ver.json'
|
||||
fetch(start, {
|
||||
method: "GET"
|
||||
method: 'GET'
|
||||
})
|
||||
.then(function(response) {
|
||||
if (!response.ok) {
|
||||
response.text().then(function(text) {
|
||||
setLog(response.url, response.status, text);
|
||||
});
|
||||
setLog(response.url, response.status, text)
|
||||
})
|
||||
}
|
||||
return response.json();
|
||||
return response.json()
|
||||
})
|
||||
.catch(function(error) {
|
||||
todo(error);setLog(start, "JSON", error);
|
||||
setLog(start, "JSON", error);
|
||||
console.error(error);
|
||||
todo(error)
|
||||
setLog(start, 'JSON', error)
|
||||
setLog(start, 'JSON', error)
|
||||
console.error(error)
|
||||
})
|
||||
.then(function(mess) {
|
||||
console.table(mess);
|
||||
console.table(mess)
|
||||
if (mess) {
|
||||
//askjp_jp_ua: 2019年10月24日、mstdn.jpによるユーザーエージェントアクセス制限
|
||||
if (jp && mess.jp_ua && !localStorage.getItem("askjp_jp_ua")) {
|
||||
localStorage.setItem("askjp_jp_ua", true);
|
||||
$("#askjp_jp_ua").removeClass("hide");
|
||||
if (jp && mess.jp_ua && !localStorage.getItem('askjp_jp_ua')) {
|
||||
localStorage.setItem('askjp_jp_ua', true)
|
||||
$('#askjp_jp_ua').removeClass('hide')
|
||||
}
|
||||
var platform = localStorage.getItem("platform");
|
||||
if (platform == "darwin") {
|
||||
var newest = mess.desk_mac;
|
||||
var platform = localStorage.getItem('platform')
|
||||
if (platform == 'darwin') {
|
||||
var newest = mess.desk_mac
|
||||
} else {
|
||||
var newest = mess.desk;
|
||||
var newest = mess.desk
|
||||
}
|
||||
if (newest == ver) {
|
||||
todo(lang.lang_version_usever.replace("{{ver}}", mess.desk));
|
||||
todo(lang.lang_version_usever.replace('{{ver}}', mess.desk))
|
||||
//betaかWinstoreならアプデチェックしない
|
||||
} else if (ver.indexOf("beta") != -1 || winstore) {
|
||||
} else if (ver.indexOf('beta') != -1 || winstore) {
|
||||
} else {
|
||||
localStorage.removeItem("instance");
|
||||
if (localStorage.getItem("new-ver-skip")) {
|
||||
if (localStorage.getItem("next-ver") != newest) {
|
||||
postMessage(["sendSinmpleIpc", "update"], "*");
|
||||
localStorage.removeItem('instance')
|
||||
if (localStorage.getItem('new-ver-skip')) {
|
||||
if (localStorage.getItem('next-ver') != newest) {
|
||||
postMessage(['sendSinmpleIpc', 'update'], '*')
|
||||
} else {
|
||||
console.warn(lang.lang_version_skipver);
|
||||
todo(lang.lang_version_skipver);
|
||||
console.warn(lang.lang_version_skipver)
|
||||
todo(lang.lang_version_skipver)
|
||||
}
|
||||
} else {
|
||||
postMessage(["sendSinmpleIpc", "update"], "*");
|
||||
postMessage(['sendSinmpleIpc', 'update'], '*')
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
if (!localStorage.getItem("last-notice-id")) {
|
||||
localStorage.setItem("last-notice-id", 0);
|
||||
})
|
||||
if (!localStorage.getItem('last-notice-id')) {
|
||||
localStorage.setItem('last-notice-id', 0)
|
||||
}
|
||||
var start = "https://thedesk.top/notice?since_id=" + localStorage.getItem("last-notice-id");
|
||||
var start = 'https://thedesk.top/notice?since_id=' + localStorage.getItem('last-notice-id')
|
||||
fetch(start, {
|
||||
method: "GET"
|
||||
method: 'GET'
|
||||
})
|
||||
.then(function(response) {
|
||||
if (!response.ok) {
|
||||
response.text().then(function(text) {
|
||||
setLog(response.url, response.status, text);
|
||||
});
|
||||
setLog(response.url, response.status, text)
|
||||
})
|
||||
}
|
||||
return response.json();
|
||||
return response.json()
|
||||
})
|
||||
.catch(function(error) {
|
||||
todo(error);setLog(start, "JSON", error);
|
||||
console.error(error);
|
||||
todo(error)
|
||||
setLog(start, 'JSON', error)
|
||||
console.error(error)
|
||||
})
|
||||
.then(function(mess) {
|
||||
if (mess.length < 1) {
|
||||
return false;
|
||||
return false
|
||||
} else {
|
||||
var last = localStorage.getItem("last-notice-id");
|
||||
localStorage.setItem("last-notice-id", mess[0].ID);
|
||||
var last = localStorage.getItem('last-notice-id')
|
||||
localStorage.setItem('last-notice-id', mess[0].ID)
|
||||
for (i = 0; i < mess.length; i++) {
|
||||
var obj = mess[i];
|
||||
var obj = mess[i]
|
||||
if (obj.ID * 1 <= last) {
|
||||
break;
|
||||
break
|
||||
} else {
|
||||
if (obj.type == "textv2") {
|
||||
if (obj.type == 'textv2') {
|
||||
if (~obj.languages.indexOf(lang.language)) {
|
||||
var show = true;
|
||||
if (obj.toot != "") {
|
||||
var toot = '<button class="btn-flat toast-action" onclick="detEx(\'' + obj.toot + "','main')\">Show</button>";
|
||||
var show = true
|
||||
if (obj.toot != '') {
|
||||
var toot =
|
||||
'<button class="btn-flat toast-action" onclick="detEx(\'' +
|
||||
obj.toot +
|
||||
"','main')\">Show</button>"
|
||||
} else {
|
||||
var toot = "";
|
||||
var toot = ''
|
||||
}
|
||||
if (obj.ver != "") {
|
||||
if (obj.ver != '') {
|
||||
if (obj.ver == ver) {
|
||||
show = true;
|
||||
show = true
|
||||
} else {
|
||||
show = false;
|
||||
show = false
|
||||
}
|
||||
}
|
||||
if (obj.domain != "") {
|
||||
var multi = localStorage.getItem("multi");
|
||||
if (obj.domain != '') {
|
||||
var multi = localStorage.getItem('multi')
|
||||
if (multi) {
|
||||
show = false;
|
||||
var accts = JSON.parse(multi);
|
||||
show = false
|
||||
var accts = JSON.parse(multi)
|
||||
Object.keys(accts).forEach(function(key) {
|
||||
var acct = accts[key];
|
||||
var acct = accts[key]
|
||||
if (acct.domain == obj.domain) {
|
||||
show = true;
|
||||
show = true
|
||||
}
|
||||
});
|
||||
})
|
||||
}
|
||||
}
|
||||
if (show) {
|
||||
M.toast({ html: escapeHTML(obj.text) + toot + '<span class="sml grey-text">(スライドして消去)</span>', displayLength: 86400 });
|
||||
M.toast({
|
||||
html:
|
||||
escapeHTML(obj.text) +
|
||||
toot +
|
||||
'<span class="sml grey-text">(スライドして消去)</span>',
|
||||
displayLength: 86400
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
}
|
||||
var infostreaming = false;
|
||||
var infostreaming = false
|
||||
function infowebsocket() {
|
||||
infows = new WebSocket("wss://thedesk.top/ws/");
|
||||
infows = new WebSocket('wss://thedesk.top/ws/')
|
||||
infows.onopen = function(mess) {
|
||||
console.log([tlid, ":Connect Streaming Info:", mess]);
|
||||
infostreaming = true;
|
||||
};
|
||||
console.log([tlid, ':Connect Streaming Info:', mess])
|
||||
infostreaming = true
|
||||
}
|
||||
infows.onmessage = function(mess) {
|
||||
console.log([tlid, ":Receive Streaming:", JSON.parse(mess.data)]);
|
||||
var obj = JSON.parse(mess.data);
|
||||
if (obj.type != "counter") {
|
||||
if (obj.type == "textv2") {
|
||||
console.log([tlid, ':Receive Streaming:', JSON.parse(mess.data)])
|
||||
var obj = JSON.parse(mess.data)
|
||||
if (obj.type != 'counter') {
|
||||
if (obj.type == 'textv2') {
|
||||
if (~obj.languages.indexOf(lang.language)) {
|
||||
localStorage.setItem("last-notice-id", obj.id);
|
||||
var show = true;
|
||||
if (obj.toot != "") {
|
||||
var toot = '<button class="btn-flat toast-action" onclick="detEx(\'' + obj.toot + "','main')\">Show</button>";
|
||||
localStorage.setItem('last-notice-id', obj.id)
|
||||
var show = true
|
||||
if (obj.toot != '') {
|
||||
var toot =
|
||||
'<button class="btn-flat toast-action" onclick="detEx(\'' +
|
||||
obj.toot +
|
||||
"','main')\">Show</button>"
|
||||
} else {
|
||||
var toot = "";
|
||||
var toot = ''
|
||||
}
|
||||
if (obj.ver != "") {
|
||||
if (obj.ver != '') {
|
||||
if (obj.ver == ver) {
|
||||
show = true;
|
||||
show = true
|
||||
} else {
|
||||
show = false;
|
||||
show = false
|
||||
}
|
||||
}
|
||||
if (obj.domain != "") {
|
||||
var multi = localStorage.getItem("multi");
|
||||
if (obj.domain != '') {
|
||||
var multi = localStorage.getItem('multi')
|
||||
if (multi) {
|
||||
show = false;
|
||||
var accts = JSON.parse(multi);
|
||||
show = false
|
||||
var accts = JSON.parse(multi)
|
||||
Object.keys(accts).forEach(function(key) {
|
||||
var acct = accts[key];
|
||||
var acct = accts[key]
|
||||
if (acct.domain == obj.domain) {
|
||||
show = true;
|
||||
show = true
|
||||
}
|
||||
});
|
||||
})
|
||||
}
|
||||
}
|
||||
if (show) {
|
||||
console.log(obj.text);
|
||||
console.log(escapeHTML(obj.text));
|
||||
M.toast({ html: escapeHTML(obj.text) + toot + '<span class="sml grey-text">(スライドして消去)</span>', displayLength: 86400 });
|
||||
console.log(obj.text)
|
||||
console.log(escapeHTML(obj.text))
|
||||
M.toast({
|
||||
html:
|
||||
escapeHTML(obj.text) +
|
||||
toot +
|
||||
'<span class="sml grey-text">(スライドして消去)</span>',
|
||||
displayLength: 86400
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$("#persons").text(obj.text);
|
||||
$('#persons').text(obj.text)
|
||||
}
|
||||
};
|
||||
}
|
||||
infows.onerror = function(error) {
|
||||
infostreaming = false;
|
||||
console.error("Error closing:info");
|
||||
console.error(error);
|
||||
return false;
|
||||
};
|
||||
infostreaming = false
|
||||
console.error('Error closing:info')
|
||||
console.error(error)
|
||||
return false
|
||||
}
|
||||
infows.onclose = function() {
|
||||
infostreaming = false;
|
||||
console.error("Closing:info");
|
||||
};
|
||||
infostreaming = false
|
||||
console.error('Closing:info')
|
||||
}
|
||||
}
|
||||
setInterval(function() {
|
||||
if (!infostreaming) {
|
||||
console.log("try to connect to base-streaming");
|
||||
infowebsocket();
|
||||
console.log('try to connect to base-streaming')
|
||||
infowebsocket()
|
||||
}
|
||||
}, 10000);
|
||||
}, 10000)
|
||||
function openRN() {
|
||||
$("#releasenote").modal("open");
|
||||
if (lang.language == "ja") {
|
||||
verp = ver.replace("(", "");
|
||||
verp = verp.replace(".", "-");
|
||||
verp = verp.replace(".", "-");
|
||||
verp = verp.replace("[", "-");
|
||||
verp = verp.replace("]", "");
|
||||
verp = verp.replace(")", "");
|
||||
verp = verp.replace(" ", "_");
|
||||
$("#release-" + verp).show();
|
||||
$('#releasenote').modal('open')
|
||||
if (lang.language == 'ja') {
|
||||
verp = ver.replace('(', '')
|
||||
verp = verp.replace('.', '-')
|
||||
verp = verp.replace('.', '-')
|
||||
verp = verp.replace('[', '-')
|
||||
verp = verp.replace(']', '')
|
||||
verp = verp.replace(')', '')
|
||||
verp = verp.replace(' ', '_')
|
||||
$('#release-' + verp).show()
|
||||
} else {
|
||||
$("#release-en").show();
|
||||
$('#release-en').show()
|
||||
}
|
||||
}
|
||||
function closeSupport() {
|
||||
$("#support-btm").animate(
|
||||
$('#support-btm').animate(
|
||||
{
|
||||
bottom: "-300px"
|
||||
bottom: '-300px'
|
||||
},
|
||||
{
|
||||
duration: 300,
|
||||
complete: function() {
|
||||
$("#support-btm").addClass("hide");
|
||||
$('#support-btm').addClass('hide')
|
||||
}
|
||||
}
|
||||
);
|
||||
)
|
||||
}
|
||||
function storeDialog(platform, ver) {
|
||||
if (platform == "win32") {
|
||||
var mes = lang.lang_version_platform;
|
||||
} else if (platform == "linux") {
|
||||
var mes = lang.lang_version_platform_linux;
|
||||
} else if (platform == "darwin") {
|
||||
var mes = lang.lang_version_platform_mac;
|
||||
if (platform == 'win32') {
|
||||
var mes = lang.lang_version_platform
|
||||
} else if (platform == 'linux') {
|
||||
var mes = lang.lang_version_platform_linux
|
||||
} else if (platform == 'darwin') {
|
||||
var mes = lang.lang_version_platform_mac
|
||||
} else {
|
||||
var mes = false
|
||||
}
|
||||
Swal.fire({
|
||||
title: "Select your platform",
|
||||
text: mes,
|
||||
type: "info",
|
||||
showCancelButton: true,
|
||||
confirmButtonColor: "#3085d6",
|
||||
cancelButtonColor: "#3085d6",
|
||||
confirmButtonText: lang.lang_no,
|
||||
cancelButtonText: lang.lang_yesno
|
||||
}).then(result => {
|
||||
//逆にしてる
|
||||
if (!result.value) {
|
||||
localStorage.setItem("winstore", "winstore");
|
||||
} else {
|
||||
localStorage.setItem("winstore", "localinstall");
|
||||
}
|
||||
localStorage.setItem("ver", ver);
|
||||
show = true;
|
||||
console.log("%c Thank you for your update🎉", "color: red;font-size:200%;");
|
||||
$(document).ready(function() {
|
||||
$("#releasenote").modal("open");
|
||||
verp = ver.replace("(", "");
|
||||
verp = verp.replace(".", "-");
|
||||
verp = verp.replace(".", "-");
|
||||
verp = verp.replace("[", "-");
|
||||
verp = verp.replace("]", "");
|
||||
verp = verp.replace(")", "");
|
||||
verp = verp.replace(" ", "_");
|
||||
console.log("%c " + verp, "color: red;font-size:200%;");
|
||||
if (lang.language == "ja") {
|
||||
$("#release-" + verp).show();
|
||||
if (mes) {
|
||||
Swal.fire({
|
||||
title: 'Select your platform',
|
||||
text: mes,
|
||||
type: 'info',
|
||||
showCancelButton: true,
|
||||
confirmButtonColor: '#3085d6',
|
||||
cancelButtonColor: '#3085d6',
|
||||
confirmButtonText: lang.lang_no,
|
||||
cancelButtonText: lang.lang_yesno
|
||||
}).then(result => {
|
||||
//逆にしてる
|
||||
if (!result.value) {
|
||||
localStorage.setItem('winstore', 'winstore')
|
||||
} else {
|
||||
$("#release-en").show();
|
||||
localStorage.setItem('winstore', 'localinstall')
|
||||
}
|
||||
});
|
||||
});
|
||||
localStorage.setItem('ver', ver)
|
||||
show = true
|
||||
console.log('%c Thank you for your update🎉', 'color: red;font-size:200%;')
|
||||
$(document).ready(function() {
|
||||
$('#releasenote').modal('open')
|
||||
verp = ver.replace('(', '')
|
||||
verp = verp.replace('.', '-')
|
||||
verp = verp.replace('.', '-')
|
||||
verp = verp.replace('[', '-')
|
||||
verp = verp.replace(']', '')
|
||||
verp = verp.replace(')', '')
|
||||
verp = verp.replace(' ', '_')
|
||||
console.log('%c ' + verp, 'color: red;font-size:200%;')
|
||||
if (lang.language == 'ja') {
|
||||
$('#release-' + verp).show()
|
||||
} else {
|
||||
$('#release-en').show()
|
||||
}
|
||||
})
|
||||
})
|
||||
} else {
|
||||
localStorage.setItem('ver', ver)
|
||||
show = true
|
||||
console.log('%c Thank you for your update🎉', 'color: red;font-size:200%;')
|
||||
$(document).ready(function() {
|
||||
$('#releasenote').modal('open')
|
||||
verp = ver.replace('(', '')
|
||||
verp = verp.replace('.', '-')
|
||||
verp = verp.replace('.', '-')
|
||||
verp = verp.replace('[', '-')
|
||||
verp = verp.replace(']', '')
|
||||
verp = verp.replace(')', '')
|
||||
verp = verp.replace(' ', '_')
|
||||
console.log('%c ' + verp, 'color: red;font-size:200%;')
|
||||
if (lang.language == 'ja') {
|
||||
$('#release-' + verp).show()
|
||||
} else {
|
||||
$('#release-en').show()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
function closeStart() {
|
||||
$("#start").css("display", "none");
|
||||
var platform = localStorage.getItem("platform");
|
||||
var ver = localStorage.getItem("ver");
|
||||
storeDialog(platform, ver);
|
||||
$('#start').css('display', 'none')
|
||||
var platform = localStorage.getItem('platform')
|
||||
var ver = localStorage.getItem('ver')
|
||||
storeDialog(platform, ver)
|
||||
}
|
||||
|
@@ -1,84 +1,105 @@
|
||||
var defaultemojiList = ["activity", "flag", "food", "nature", "object", "people", "place", "symbol"];
|
||||
var defaultemojiList = ['activity', 'flag', 'food', 'nature', 'object', 'people', 'place', 'symbol']
|
||||
var defaultemoji = {
|
||||
activity: activity,
|
||||
flag: flag,
|
||||
food: food,
|
||||
nature: nature,
|
||||
object: object,
|
||||
people: people,
|
||||
place: place,
|
||||
symbol: symbol
|
||||
};
|
||||
if (lang == "ja") {
|
||||
var defaultemojiname = {
|
||||
activity: "活動",
|
||||
flag: "国旗",
|
||||
food: "食べ物",
|
||||
nature: "自然",
|
||||
object: "もの",
|
||||
people: "ひと",
|
||||
place: "場所",
|
||||
symbol: "記号"
|
||||
};
|
||||
activity: activity,
|
||||
flag: flag,
|
||||
food: food,
|
||||
nature: nature,
|
||||
object: object,
|
||||
people: people,
|
||||
place: place,
|
||||
symbol: symbol
|
||||
}
|
||||
if (lang == 'ja') {
|
||||
var defaultemojiname = {
|
||||
activity: '活動',
|
||||
flag: '国旗',
|
||||
food: '食べ物',
|
||||
nature: '自然',
|
||||
object: 'もの',
|
||||
people: 'ひと',
|
||||
place: '場所',
|
||||
symbol: '記号'
|
||||
}
|
||||
} else {
|
||||
var defaultemojiname = {
|
||||
activity: "Activities",
|
||||
flag: "Flags",
|
||||
food: "Foods",
|
||||
nature: "Nature",
|
||||
object: "Tools",
|
||||
people: "People",
|
||||
place: "Places",
|
||||
symbol: "Symbols"
|
||||
};
|
||||
var defaultemojiname = {
|
||||
activity: 'Activities',
|
||||
flag: 'Flags',
|
||||
food: 'Foods',
|
||||
nature: 'Nature',
|
||||
object: 'Tools',
|
||||
people: 'People',
|
||||
place: 'Places',
|
||||
symbol: 'Symbols'
|
||||
}
|
||||
}
|
||||
|
||||
function defaultEmoji(target) {
|
||||
var json = defaultemoji[target];
|
||||
var emojis = "";
|
||||
Object.keys(json).forEach(function (key) {
|
||||
var emoji = json[key];
|
||||
emojis = emojis + '<a onclick="defEmoji(\'' + emoji["shortcode"] + '\')" class="pointer"><span style="width: 20px; height: 20px; display: inline-block; background-image: url(\'../../img/sheet.png\'); background-size: 4900%; background-position: ' + emoji["css"] + ';"></span></a>';
|
||||
});
|
||||
$("#emoji-list").html(emojis);
|
||||
$("#now-emoji").text(lang.lang_defaultemojis_text.replace("{{cat}}", defaultemojiname[target]));
|
||||
$(".emoji-control").addClass("hide");
|
||||
var announcement = false
|
||||
if ($('#media').val() == 'announcement') {
|
||||
announcement = true
|
||||
}
|
||||
var json = defaultemoji[target]
|
||||
var emojis = ''
|
||||
Object.keys(json).forEach(function(key) {
|
||||
var emoji = json[key]
|
||||
if (announcement) {
|
||||
var def = `<a onclick="emojiReactionDef('${emoji['shortcode']}')" class="pointer">`
|
||||
} else {
|
||||
var def = `<a onclick="defEmoji('${emoji['shortcode']}')" class="pointer">`
|
||||
}
|
||||
emojis =
|
||||
emojis +
|
||||
`${def}
|
||||
<span style="
|
||||
width: 20px; height: 20px; display: inline-block; background-image: url('../../img/sheet.png'); background-size: 4900%;
|
||||
background-position:${emoji['css']};"></span>
|
||||
</a>`
|
||||
})
|
||||
$('#emoji-list').html(emojis)
|
||||
$('#now-emoji').text(lang.lang_defaultemojis_text.replace('{{cat}}', defaultemojiname[target]))
|
||||
$('.emoji-control').addClass('hide')
|
||||
}
|
||||
function customEmoji() {
|
||||
$("#emoji-suggest").val("");
|
||||
$(".emoji-control").removeClass("hide");
|
||||
emojiList('home')
|
||||
$('#emoji-suggest').val('')
|
||||
$('.emoji-control').removeClass('hide')
|
||||
emojiList('home')
|
||||
}
|
||||
function defEmoji(target) {
|
||||
var selin = $("#textarea").prop('selectionStart');
|
||||
if (!selin) {
|
||||
selin = 0;
|
||||
}
|
||||
var emojiraw = newpack.filter(function (item, index) {
|
||||
if (item.short_name == target) return true;
|
||||
});
|
||||
var hex = emojiraw[0].unified.split("-");
|
||||
if (hex.length === 2) {
|
||||
emoji = twemoji.convert.fromCodePoint(hex[0]) + twemoji.convert.fromCodePoint(hex[1]);
|
||||
} else {
|
||||
emoji = twemoji.convert.fromCodePoint(hex[0]);
|
||||
}
|
||||
var now = $("#textarea").val();
|
||||
var before = now.substr(0, selin);
|
||||
var after = now.substr(selin, now.length);
|
||||
newt = before + emoji + after;
|
||||
$("#textarea").val(newt);
|
||||
$("#textarea").focus();
|
||||
var selin = $('#textarea').prop('selectionStart')
|
||||
if (!selin) {
|
||||
selin = 0
|
||||
}
|
||||
var emojiraw = newpack.filter(function(item, index) {
|
||||
if (item.short_name == target) return true
|
||||
})
|
||||
var hex = emojiraw[0].unified.split('-')
|
||||
if (hex.length === 2) {
|
||||
emoji = twemoji.convert.fromCodePoint(hex[0]) + twemoji.convert.fromCodePoint(hex[1])
|
||||
} else {
|
||||
emoji = twemoji.convert.fromCodePoint(hex[0])
|
||||
}
|
||||
var now = $('#textarea').val()
|
||||
var before = now.substr(0, selin)
|
||||
var after = now.substr(selin, now.length)
|
||||
newt = before + emoji + after
|
||||
$('#textarea').val(newt)
|
||||
$('#textarea').focus()
|
||||
}
|
||||
function faicon() {
|
||||
var json = faicons;
|
||||
var emojis = "";
|
||||
Object.keys(json).forEach(function (key) {
|
||||
var emoji = json[key];
|
||||
var eje = emoji.replace(/fa-/g, "");
|
||||
emojis = emojis + '<a onclick="emojiInsert(\'[faicon]' + eje + '[/faicon]\')" class="pointer white-text" style="font-size:24px"><i class="fa ' + emoji + '"></i></a>';
|
||||
});
|
||||
$("#emoji-list").html(emojis);
|
||||
$("#now-emoji").text("faicon");
|
||||
$(".emoji-control").addClass("hide");
|
||||
}
|
||||
var json = faicons
|
||||
var emojis = ''
|
||||
Object.keys(json).forEach(function(key) {
|
||||
var emoji = json[key]
|
||||
var eje = emoji.replace(/fa-/g, '')
|
||||
emojis =
|
||||
emojis +
|
||||
'<a onclick="emojiInsert(\'[faicon]' +
|
||||
eje +
|
||||
'[/faicon]\')" class="pointer white-text" style="font-size:24px"><i class="fa ' +
|
||||
emoji +
|
||||
'"></i></a>'
|
||||
})
|
||||
$('#emoji-list').html(emojis)
|
||||
$('#now-emoji').text('faicon')
|
||||
$('.emoji-control').addClass('hide')
|
||||
}
|
||||
|
@@ -33,7 +33,9 @@ function load() {
|
||||
}
|
||||
|
||||
console.table(obj)
|
||||
var domains = []
|
||||
var templete
|
||||
$('#acct-list').html('')
|
||||
Object.keys(obj).forEach(function(key) {
|
||||
var acct = obj[key]
|
||||
var list = key * 1 + 1
|
||||
@@ -47,6 +49,7 @@ function load() {
|
||||
} else {
|
||||
var name = acct.user
|
||||
}
|
||||
domains.push(acct.domain)
|
||||
templete = `
|
||||
<div id="acct_${key}" class="card" ${style}>
|
||||
<div class="card-content ">
|
||||
@@ -54,15 +57,12 @@ function load() {
|
||||
<span class="card-title">${name}</span>${escapeHTML(acct.user)}@${acct.domain}
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<a class="waves-effect disTar pointer white-text" onclick="data('${acct.domain}')">
|
||||
<i class="material-icons">info</i>${lang.lang_manager_info}
|
||||
</a>
|
||||
<a class="waves-effect disTar pointer white-text" onclick="refresh('${key}')">
|
||||
<i class="material-icons">refresh</i>${lang.lang_manager_refresh}
|
||||
</a>
|
||||
<a class="waves-effect disTar pointer red-text" onclick="multiDel('${key}')">
|
||||
<i class="material-icons">delete</i>${lang.lang_manager_delete}"
|
||||
</a><br />${lang.lang_manager_color}
|
||||
<button class="btn-flat waves-effect disTar pointer white-text" onclick="refresh('${key}')">
|
||||
<i class="material-icons left">refresh</i>${lang.lang_manager_refresh}
|
||||
</button>
|
||||
<button class="btn-flat waves-effect disTar pointer red-text" onclick="multiDel('${key}')">
|
||||
<i class="material-icons left">delete</i>${lang.lang_manager_delete}
|
||||
</button><br />${lang.lang_manager_color}
|
||||
<div id="colorsel_${key}" class="colorsel"></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -70,6 +70,30 @@ function load() {
|
||||
$('#acct-list').append(templete)
|
||||
colorpicker(key)
|
||||
})
|
||||
domains = _.uniq(domains)
|
||||
$('#domain-list').html('')
|
||||
Object.keys(domains).forEach(function(key2) {
|
||||
var domain = domains[key2]
|
||||
if (localStorage.getItem('letters_' + key2)) {
|
||||
var maxChars = localStorage.getItem('letters_' + key2)
|
||||
} else {
|
||||
var maxChars = 500
|
||||
}
|
||||
var templete = `
|
||||
<li class="collection-item transparent">
|
||||
<div>
|
||||
<p class="title">${domain}</p>
|
||||
${lang.lang_manager_maxChars} <input style="width: 100px" value="${maxChars}" id="maxChars${key2}">
|
||||
<button class="btn-flat waves-effect" onclick="maxChars('${domain}', '${key2}')">
|
||||
<i class="material-icons">send</i>
|
||||
</button>
|
||||
<button class="btn-flat waves-effect secondary-content" onclick="data('${domain}', '${key2}')">
|
||||
<i class="material-icons left">info</i>${lang.lang_manager_info}
|
||||
</button>
|
||||
</div></li>
|
||||
`
|
||||
$('#domain-list').append(templete)
|
||||
})
|
||||
multisel()
|
||||
var acctN = localStorage.getItem('acct')
|
||||
if (!acctN) {
|
||||
@@ -82,9 +106,35 @@ function load() {
|
||||
//最初に読む
|
||||
load()
|
||||
support()
|
||||
|
||||
function maxChars(domain, uid) {
|
||||
var value = $('#maxChars' + uid).val()
|
||||
if(value*1 < 1 || !Number.isInteger(value*1)) {
|
||||
Swal.fire({
|
||||
type: 'error',
|
||||
title: 'Error'
|
||||
})
|
||||
return false
|
||||
}
|
||||
var multi = localStorage.getItem('multi')
|
||||
if (!multi) {
|
||||
var obj = []
|
||||
} else {
|
||||
var obj = JSON.parse(multi)
|
||||
}
|
||||
if (obj[0]) {
|
||||
if (!obj[0].at) {
|
||||
obj = []
|
||||
localStorage.removeItem('multi')
|
||||
}
|
||||
}
|
||||
Object.keys(obj).forEach(function(key) {
|
||||
if(obj[key].domain == domain) localStorage.setItem('letters_' + key, value)
|
||||
})
|
||||
console.log('#maxChars' + uid, value)
|
||||
load()
|
||||
}
|
||||
//instances.social/instances API
|
||||
function data(domain) {
|
||||
async function data(domain, acct_id) {
|
||||
$('#ins-upd').text('Loading...')
|
||||
$('#ins-add').text('Loading...')
|
||||
$('#ins-connect').text('Loading...')
|
||||
@@ -96,7 +146,7 @@ function data(domain) {
|
||||
$('#ins-name').text('Loading...')
|
||||
$('#ins-prof').attr('src', '../../img/loading.svg')
|
||||
var start = 'https://instances.social/api/1.0/instances/show?name=' + domain
|
||||
fetch(start, {
|
||||
let promise = await fetch(start, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'content-type': 'application/json',
|
||||
@@ -104,74 +154,42 @@ function data(domain) {
|
||||
'Bearer tC8F6xWGWBUwGScyNevYlx62iO6fdQ4oIK0ad68Oo7ZKB8GQdGpjW9TKxBnIh8grAhvd5rw3iyP9JPamoDpeLQdz62EToPJUW99hDx8rfuJfGdjQuimZPTbIOx0woA5M'
|
||||
}
|
||||
})
|
||||
.then(function(response) {
|
||||
if (!response.ok) {
|
||||
response.text().then(function(text) {
|
||||
setLog(response.url, response.status, text)
|
||||
})
|
||||
}
|
||||
return response.json()
|
||||
})
|
||||
.catch(function(error) {
|
||||
todo(error)
|
||||
setLog(start, 'JSON', error)
|
||||
console.error(error)
|
||||
})
|
||||
.then(function(json) {
|
||||
if (!json.error) {
|
||||
$('#ins-name').text(json.name)
|
||||
$('#ins-upd').text(date(json.checked_at, 'full'))
|
||||
$('#ins-add').text(date(json.added_at, 'full'))
|
||||
$('#ins-connect').text(json.connections)
|
||||
$('#ins-toot').text(json.statuses)
|
||||
$('#ins-sys').text(date(json.updated_at, 'full'))
|
||||
$('#ins-per').text(json.uptime * 100)
|
||||
$('#ins-user').text(json.users)
|
||||
$('#ins-ver').text(json.version)
|
||||
} else {
|
||||
console.error(json.error)
|
||||
}
|
||||
})
|
||||
var json = await promise.json()
|
||||
$('#ins-name').text(json.name)
|
||||
$('#ins-upd').text(date(json.checked_at, 'full'))
|
||||
$('#ins-add').text(date(json.added_at, 'full'))
|
||||
$('#ins-connect').text(json.connections)
|
||||
$('#ins-toot').text(json.statuses)
|
||||
$('#ins-sys').text(date(json.updated_at, 'full'))
|
||||
$('#ins-per').text(json.uptime * 100)
|
||||
$('#ins-user').text(json.users)
|
||||
$('#ins-ver').text(json.version)
|
||||
var start = 'https://' + domain + '/api/v1/instance'
|
||||
fetch(start, {
|
||||
let promise2 = await fetch(start, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'content-type': 'application/json'
|
||||
}
|
||||
})
|
||||
.then(function(response) {
|
||||
if (!response.ok) {
|
||||
response.text().then(function(text) {
|
||||
setLog(response.url, response.status, text)
|
||||
})
|
||||
}
|
||||
return response.json()
|
||||
})
|
||||
.catch(function(error) {
|
||||
todo(error)
|
||||
setLog(start, 'JSON', error)
|
||||
console.error(error)
|
||||
})
|
||||
.then(function(json) {
|
||||
if (!json.error) {
|
||||
$('#ins-title').text(json.title)
|
||||
$('#ins-desc').html(json.description)
|
||||
$('#ins-email').text(json.email)
|
||||
$('#ins-toot').text(json.stats.status_count)
|
||||
$('#ins-user').text(json.stats.user_count)
|
||||
$('#ins-ver').text(json.version)
|
||||
$('#ins-prof').attr('src', json.thumbnail)
|
||||
$('#ins-admin').text(
|
||||
escapeHTML(json.contact_account.display_name) + '(' + json.contact_account.acct + ')'
|
||||
)
|
||||
$('#ins-admin').attr(
|
||||
'href',
|
||||
'index.html?mode=user&code=' + json.contact_account.username + '@' + domain
|
||||
)
|
||||
} else {
|
||||
console.error(json.error)
|
||||
}
|
||||
})
|
||||
var json = await promise2.json()
|
||||
$('#ins-title').text(json.title)
|
||||
$('#ins-desc').html(json.description)
|
||||
$('#ins-email').text(json.email)
|
||||
$('#ins-toot').text(json.stats.status_count)
|
||||
$('#ins-user').text(json.stats.user_count)
|
||||
$('#ins-ver').text(json.version)
|
||||
$('#ins-prof').attr('src', json.thumbnail)
|
||||
$('#ins-admin').text(
|
||||
escapeHTML(json.contact_account.display_name) + '(' + json.contact_account.acct + ')'
|
||||
)
|
||||
$('#ins-admin').attr(
|
||||
'href',
|
||||
'index.html?mode=user&code=' + json.contact_account.username + '@' + domain
|
||||
)
|
||||
if (json['max_toot_chars']) {
|
||||
localStorage.setItem('letters_' + acct_id, json['max_toot_chars'])
|
||||
load()
|
||||
}
|
||||
}
|
||||
|
||||
//アカウントデータ 消す
|
||||
|
@@ -46,10 +46,17 @@ $(document).on('click', 'a', e => {
|
||||
udgEx(url, 'main')
|
||||
return false
|
||||
} else {
|
||||
postMessage(['openUrl', url], '*')
|
||||
if(pwa) {
|
||||
return true
|
||||
} else {
|
||||
postMessage(['openUrl', url], '*')
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(pwa) {
|
||||
return true
|
||||
}
|
||||
//hrefがhttp/httpsならブラウザで
|
||||
if (urls) {
|
||||
if (urls[0]) {
|
||||
@@ -138,13 +145,13 @@ onmessage = function(e) {
|
||||
} else if (e.data[0] == 'udg') {
|
||||
udg(e.data[1][0], e.data[1][1])
|
||||
} else if (e.data[0] == 'media') {
|
||||
media(e.data[1][0], e.data[1][1], e.data[1][2])
|
||||
media(e.data[1][0], e.data[1][1], e.data[1][2], e.data[1][3])
|
||||
} else if (e.data[0] == 'post') {
|
||||
post('pass')
|
||||
} else if (e.data[0] == 'toastSaved') {
|
||||
var show = `${lang.lang_img_DLDone}${
|
||||
e.data[1][0]
|
||||
}<button class="btn-flat toast-action" onclick="openFinder(${e.data[1][1]}')">Show</button>`
|
||||
}<button class="btn-flat toast-action" onclick="openFinder('${e.data[1][1]}')">Show</button>`
|
||||
M.toast({ html: show, displayLength: 5000 })
|
||||
} else if (e.data[0] == 'parseColumn') {
|
||||
parseColumn(e.data[1])
|
||||
@@ -190,3 +197,23 @@ onmessage = function(e) {
|
||||
})
|
||||
}
|
||||
}
|
||||
/* PWA */
|
||||
if(pwa) {
|
||||
function postMessage(e) {
|
||||
if (e[0] == 'openUrl') {
|
||||
urls = e[1].match(/https?:\/\/(.+)/)
|
||||
if (urls) {
|
||||
Swal.fire({
|
||||
title: 'Open URL',
|
||||
icon: 'info',
|
||||
html:
|
||||
`If you are OK, click: <a href="${urls[0]}" target="_blank" class="btn waves-effect">Here</a>`,
|
||||
showCloseButton: false,
|
||||
showCancelButton: true,
|
||||
focusConfirm: false,
|
||||
confirmButtonText: 'Close'
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -161,8 +161,8 @@ $.mb_substr = function(str, begin, end) {
|
||||
var splitter = new GraphemeSplitter()
|
||||
var arr = splitter.splitGraphemes(str)
|
||||
var newarr = []
|
||||
for(var i = 0; i < arr.length; i++){
|
||||
if(i >= begin && i <= end){
|
||||
for (var i = 0; i < arr.length; i++) {
|
||||
if (i >= begin && i <= end) {
|
||||
newarr.push(arr[i])
|
||||
}
|
||||
}
|
||||
@@ -205,9 +205,81 @@ function escapeCsv(str) {
|
||||
return str
|
||||
}
|
||||
var result
|
||||
result = str.replace(/\"/g, '""')
|
||||
result = str.toString().replace(/\"/g, '""')
|
||||
if (result.indexOf(',') >= 0) {
|
||||
result = '"' + result + '"'
|
||||
}
|
||||
return result
|
||||
}
|
||||
function evalAttr(json, attr, lenCk) {
|
||||
if (json[attr]) {
|
||||
if (lenCk) {
|
||||
if (json[attr][0]) {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
} else {
|
||||
return true
|
||||
}
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
function statusModel(now) {
|
||||
if (!now) {
|
||||
var now = new Date().toString()
|
||||
}
|
||||
return {
|
||||
id: '',
|
||||
created_at: now,
|
||||
in_reply_to_id: null,
|
||||
in_reply_to_account_id: null,
|
||||
sensitive: false,
|
||||
spoiler_text: '',
|
||||
visibility: 'public',
|
||||
language: 'en',
|
||||
uri: '',
|
||||
url: '',
|
||||
replies_count: 0,
|
||||
reblogs_count: 0,
|
||||
favourites_count: 0,
|
||||
favourited: false,
|
||||
reblogged: false,
|
||||
muted: false,
|
||||
bookmarked: false,
|
||||
pinned: false,
|
||||
content: '<p><i>No status here</i></p>',
|
||||
reblog: null,
|
||||
application: {
|
||||
name: null,
|
||||
website: null
|
||||
},
|
||||
account: {
|
||||
id: '',
|
||||
username: '',
|
||||
acct: '',
|
||||
display_name: '',
|
||||
locked: false,
|
||||
bot: false,
|
||||
created_at: now,
|
||||
note: '',
|
||||
url: '',
|
||||
avatar: '',
|
||||
avatar_static: '',
|
||||
header: '',
|
||||
header_static: '',
|
||||
followers_count: 0,
|
||||
following_count: 0,
|
||||
statuses_count: 0,
|
||||
last_status_at: now,
|
||||
emojis: [],
|
||||
fields: []
|
||||
},
|
||||
media_attachments: [],
|
||||
mentions: [],
|
||||
tags: [],
|
||||
card: null,
|
||||
poll: null
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,26 @@
|
||||
var electron = require('electron')
|
||||
const shell = electron.shell
|
||||
var ipc = electron.ipcRenderer
|
||||
//title bar
|
||||
const customTitlebar = require('custom-electron-titlebar')
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
ipc.send('frameCheck', '')
|
||||
ipc.on('frame', function(event, args) {
|
||||
const file = location.href.substr(-10)
|
||||
if (
|
||||
file == 'index.html' ||
|
||||
file == '/acct.html' ||
|
||||
file == 'tting.html'
|
||||
) {
|
||||
new customTitlebar.Titlebar({
|
||||
backgroundColor: customTitlebar.Color.fromHex('#000'),
|
||||
titleHorizontalAlignment: 'right',
|
||||
icon: '../../img/desk.png'
|
||||
})
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
onmessage = function(e) {
|
||||
if (e.data[0] == 'openUrl') {
|
||||
urls = e.data[1].match(/https?:\/\/(.+)/)
|
||||
@@ -13,6 +33,10 @@ onmessage = function(e) {
|
||||
ipc.send('dialogStore', e.data[1])
|
||||
} else if (e.data[0] == 'bmpImage') {
|
||||
ipc.send('bmp-image', e.data[1])
|
||||
} else if (e.data[0] == 'resizeImage') {
|
||||
ipc.send('resize-image', e.data[1])
|
||||
} else if (e.data[0] == 'stampImage') {
|
||||
ipc.send('stamp-image', e.data[1])
|
||||
} else if (e.data[0] == 'dialogCW') {
|
||||
ipc.send('dialogCW', e.data[1])
|
||||
} else if (e.data[0] == 'nativeNotf') {
|
||||
@@ -44,6 +68,8 @@ onmessage = function(e) {
|
||||
ipc.send('theme-json-request', e.data[1])
|
||||
} else if (e.data[0] == 'ha') {
|
||||
ipc.send('ha', e.data[1])
|
||||
} else if (e.data[0] == 'frameSet') {
|
||||
ipc.send('frameSet', e.data[1])
|
||||
} else if (e.data[0] == 'ua') {
|
||||
ipc.send('ua', e.data[1])
|
||||
} else if (e.data[0] == 'aboutData') {
|
||||
@@ -112,7 +138,31 @@ ipc.on('theme-css-response', function(event, arg) {
|
||||
})
|
||||
//img.js
|
||||
ipc.on('bmp-img-comp', function(event, b64) {
|
||||
postMessage(['media', [b64[0], 'image/png', b64[1]]], '*')
|
||||
if (b64[2]) {
|
||||
var stamped = true
|
||||
} else {
|
||||
var stamped = false
|
||||
}
|
||||
postMessage(['media', [b64[0], 'image/png', b64[1], stamped]], '*')
|
||||
})
|
||||
ipc.on('resizeJudgement', function(event, b64) {
|
||||
var resize = localStorage.getItem('uploadCrop') * 1
|
||||
if (resize > 0) {
|
||||
var element = new Image()
|
||||
var width
|
||||
element.onload = function() {
|
||||
var width = element.naturalWidth
|
||||
var height = element.naturalHeight
|
||||
if (width > resize || height > resize) {
|
||||
ipc.send('resize-image', [b64, resize])
|
||||
} else {
|
||||
postMessage(['media', [b64[0], 'image/png', b64[1]]], '*')
|
||||
}
|
||||
}
|
||||
element.src = b64
|
||||
} else {
|
||||
postMessage(['media', [b64[0], 'image/png', b64[1]]], '*')
|
||||
}
|
||||
})
|
||||
//ui,img.js
|
||||
ipc.on('general-dl-prog', function(event, arg) {
|
||||
|
@@ -50,7 +50,12 @@ function mdCheck() {
|
||||
if (idata[domain + '_letters']) {
|
||||
$('#textarea').attr('data-length', idata[domain + '_letters'])
|
||||
} else {
|
||||
$('#textarea').attr('data-length', 500)
|
||||
var maxletters = localStorage.getItem('letters_' + acct_id)
|
||||
if (maxletters > 0) {
|
||||
$('#textarea').attr('data-length', maxletters)
|
||||
} else {
|
||||
$('#textarea').attr('data-length', 500)
|
||||
}
|
||||
}
|
||||
if (idata[domain + '_glitch'] === 'true') {
|
||||
$('#local-button').removeClass('hide')
|
||||
|
@@ -193,7 +193,15 @@ function emojiGet(parse, started) {
|
||||
function emojiList(target, reaction) {
|
||||
$('#now-emoji').text(lang.lang_emoji_custom)
|
||||
var acct_id = $('#post-acct-sel').val()
|
||||
if (reaction && localStorage.getItem('emojiReaction_' + acct_id) != 'true') {
|
||||
if(reaction && $('#media').val() == 'misskey') {
|
||||
var misskeyReact = true
|
||||
} else {
|
||||
var misskeyReact = false
|
||||
}
|
||||
if (
|
||||
misskeyReact &&
|
||||
localStorage.getItem('emojiReaction_' + acct_id) != 'true'
|
||||
) {
|
||||
console.error('Disabled')
|
||||
clear()
|
||||
hide()
|
||||
@@ -263,9 +271,20 @@ function emojiList(target, reaction) {
|
||||
var emoji = obj[i]
|
||||
if (emoji) {
|
||||
if (reaction) {
|
||||
html =
|
||||
html +
|
||||
`<a onclick="emojiReaction(':${emoji.shortcode}:')" class="pointer"><img src="${emoji.url}" width="20" title="${emoji.shortcode}"></a>`
|
||||
if (emoji.divider) {
|
||||
html = html + '<p style="margin-bottom:0">' + emoji.cat + '</p>'
|
||||
} else {
|
||||
if (emoji.listed) {
|
||||
if(misskeyReact) {
|
||||
var shortcode = `:${emoji.shortcode}:`
|
||||
} else {
|
||||
var shortcode = emoji.shortcode
|
||||
}
|
||||
html =
|
||||
html +
|
||||
`<a onclick="emojiReaction('${shortcode}')" class="pointer"><img src="${emoji.url}" width="20" title="${emoji.shortcode}"></a>`
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (emoji.divider) {
|
||||
html = html + '<p style="margin-bottom:0">' + emoji.cat + '</p>'
|
||||
|
@@ -60,6 +60,24 @@ function handleFileUpload(files, obj, no) {
|
||||
var fr = new FileReader()
|
||||
fr.onload = function(evt) {
|
||||
var b64 = evt.target.result
|
||||
var resize = localStorage.getItem('uploadCrop') * 1
|
||||
if (resize > 0) {
|
||||
var element = new Image()
|
||||
var width
|
||||
element.onload = function() {
|
||||
var width = element.naturalWidth
|
||||
var height = element.naturalHeight
|
||||
if (width > resize || height > resize) {
|
||||
postMessage(['resizeImage', [b64, resize]], '*')
|
||||
return false
|
||||
} else {
|
||||
$('#b64-box').val(b64)
|
||||
var ret = media(b64, files['type'], no)
|
||||
}
|
||||
}
|
||||
element.src = b64
|
||||
return false
|
||||
}
|
||||
$('#b64-box').val(b64)
|
||||
var ret = media(b64, files['type'], no)
|
||||
}
|
||||
@@ -68,7 +86,14 @@ function handleFileUpload(files, obj, no) {
|
||||
}
|
||||
|
||||
//ファイルアップロード
|
||||
function media(b64, type, no) {
|
||||
function media(b64, type, no, stamped) {
|
||||
var acct_id = $('#post-acct-sel').val()
|
||||
var domain = localStorage.getItem('domain_' + acct_id)
|
||||
var user = localStorage.getItem('user_' + acct_id)
|
||||
if ($('#stamp').hasClass('stamp-avail') && !stamped) {
|
||||
postMessage(['stampImage', [b64, user + '@' + domain]], '*')
|
||||
return false
|
||||
}
|
||||
var l = 4
|
||||
var c = 'abcdefghijklmnopqrstuvwxyz0123456789'
|
||||
var cl = c.length
|
||||
@@ -88,8 +113,6 @@ function media(b64, type, no) {
|
||||
var media = toBlob(b64, type)
|
||||
var fd = new FormData()
|
||||
fd.append('file', media)
|
||||
var acct_id = $('#post-acct-sel').val()
|
||||
var domain = localStorage.getItem('domain_' + acct_id)
|
||||
var at = localStorage.getItem('acct_' + acct_id + '_at')
|
||||
var httpreq = new XMLHttpRequest()
|
||||
if (localStorage.getItem('mode_' + domain) == 'misskey') {
|
||||
@@ -104,7 +127,6 @@ function media(b64, type, no) {
|
||||
}
|
||||
var previewer = 'url'
|
||||
fd.append('i', at)
|
||||
//fd.append('isSensitive', nsfw);
|
||||
httpreq.send(fd)
|
||||
} else {
|
||||
var previewer = 'preview_url'
|
||||
@@ -120,6 +142,12 @@ function media(b64, type, no) {
|
||||
var json = httpreq.response
|
||||
if (this.status !== 200) {
|
||||
setLog(start, this.status, json)
|
||||
$('.toot-btn-group').prop('disabled', false)
|
||||
$('select').formSelect()
|
||||
$('#mec').text(lang.lang_there)
|
||||
M.toast({ html: this.status + ':' +json, displayLength: 2000 })
|
||||
$('#imgup').text('')
|
||||
$('#imgsel').show()
|
||||
}
|
||||
if (!json.id) {
|
||||
todc()
|
||||
@@ -133,11 +161,7 @@ function media(b64, type, no) {
|
||||
}
|
||||
var img = localStorage.getItem('img')
|
||||
if (json.type.indexOf('image') != -1) {
|
||||
var html = `<img src="${json[previewer]}" class="preview-img pointer" data-media="${
|
||||
json['id']
|
||||
}" oncontextmenu="deleteImage('${json['id']}')" onclick="altImage('${acct_id}','${
|
||||
json['id']
|
||||
}')" title="${lang.lang_postimg_delete}">`
|
||||
var html = `<img src="${json[previewer]}" class="preview-img pointer" data-media="${json['id']}" oncontextmenu="deleteImage('${json['id']}')" onclick="altImage('${acct_id}','${json['id']}')" title="${lang.lang_postimg_delete}">`
|
||||
$('#preview').append(html)
|
||||
} else {
|
||||
$('#preview').append(lang.lang_postimg_previewdis)
|
||||
@@ -151,7 +175,7 @@ function media(b64, type, no) {
|
||||
mediav = mediav.replace(regExp, json['id'])
|
||||
$('#media').val(mediav)
|
||||
}
|
||||
if (img == 'url') {
|
||||
if (img == 'url' && json['text_url']) {
|
||||
$('#textarea').val($('#textarea').val() + ' ' + json['text_url'])
|
||||
}
|
||||
todc()
|
||||
@@ -300,3 +324,12 @@ function altImage(acct_id, id) {
|
||||
}
|
||||
})
|
||||
}
|
||||
function stamp() {
|
||||
if ($('#stamp').hasClass('stamp-avail')) {
|
||||
$('#stamp').html('Off')
|
||||
$('#stamp').removeClass('stamp-avail')
|
||||
} else {
|
||||
$('#stamp').html('On')
|
||||
$('#stamp').addClass('stamp-avail')
|
||||
}
|
||||
}
|
@@ -116,6 +116,7 @@ function reactiontoggle(id, acct_id, tlid) {
|
||||
//reactioncustom
|
||||
function reactioncustom(acct_id, id) {
|
||||
$('#reply').val(id)
|
||||
$('#media').val('misskey')
|
||||
$('#unreact').hide()
|
||||
$('#addreact').removeClass('hide')
|
||||
$('#post-acct-sel').val(acct_id)
|
||||
@@ -186,9 +187,14 @@ function reactRefreshCore(json) {
|
||||
}
|
||||
}
|
||||
function emojiReaction(emoji) {
|
||||
var media = $('#media').val()
|
||||
var acct_id = $('#post-acct-sel').val()
|
||||
var id = $('#reply').val()
|
||||
reaction(emoji, id, acct_id, null)
|
||||
if(media == 'announcement') {
|
||||
announReaction(id, acct_id, 0, false, emoji)
|
||||
} else {
|
||||
reaction(emoji, id, acct_id, null)
|
||||
}
|
||||
clear()
|
||||
hide()
|
||||
}
|
||||
|
@@ -17,6 +17,13 @@ function post(mode, postvis) {
|
||||
var acct_id = $('#post-acct-sel').val()
|
||||
localStorage.setItem('last-use', acct_id)
|
||||
var domain = localStorage.getItem('domain_' + acct_id)
|
||||
if ($('#ideKey').val() != '') {
|
||||
var ideKey = $('#ideKey').val()
|
||||
} else {
|
||||
var user = localStorage.getItem('user_' + acct_id)
|
||||
var ideKey = Math.floor(Date.now() / 1000) + '/TheDesk/' + user + '@' + domain
|
||||
$('#ideKey').val(ideKey)
|
||||
}
|
||||
if (!localStorage.getItem('cw_sentence')) {
|
||||
var cw_sent = 500
|
||||
} else {
|
||||
@@ -152,6 +159,7 @@ function post(mode, postvis) {
|
||||
httpreq.open('POST', start, true)
|
||||
httpreq.setRequestHeader('Content-Type', 'application/json')
|
||||
httpreq.setRequestHeader('Authorization', 'Bearer ' + at)
|
||||
httpreq.setRequestHeader('Idempotency-Key', ideKey)
|
||||
httpreq.responseType = 'json'
|
||||
httpreq.send(JSON.stringify(toot))
|
||||
httpreq.onreadystatechange = function() {
|
||||
@@ -159,6 +167,8 @@ function post(mode, postvis) {
|
||||
var json = httpreq.response
|
||||
if (this.status !== 200) {
|
||||
setLog(start, this.status, json)
|
||||
} else {
|
||||
$('#ideKey').val('')
|
||||
}
|
||||
var box = localStorage.getItem('box')
|
||||
if (box == 'yes' || !box) {
|
||||
@@ -255,6 +265,7 @@ function misskeyPost() {
|
||||
//クリア(Shift+C)
|
||||
function clear() {
|
||||
$('#textarea').val('')
|
||||
$('#ideKey').val('')
|
||||
if (localStorage.getItem('stable')) {
|
||||
$('#textarea').val('#' + localStorage.getItem('stable') + ' ')
|
||||
}
|
||||
@@ -284,6 +295,8 @@ function clear() {
|
||||
$('#nsfw').removeClass('yellow-text')
|
||||
$('#nsfw').html('visibility_off')
|
||||
$('#nsfw').removeClass('nsfw-avail')
|
||||
$('#stamp').html('Off')
|
||||
$('#stamp').removeClass('stamp-avail')
|
||||
$('#nsc').text(lang.lang_nothing)
|
||||
$('#drag').css('background-color', '#e0e0e0')
|
||||
$('#preview').html('')
|
||||
|
@@ -1,7 +1,7 @@
|
||||
//お気に入り登録やブースト等、フォローやブロック等
|
||||
//お気に入り登録
|
||||
function fav(id, acct_id, remote) {
|
||||
if ($('#pub_' + id).hasClass('faved')) {
|
||||
if ($(`.cvo[unique-id=${id}]`).hasClass('faved')) {
|
||||
var flag = 'unfavourite'
|
||||
} else {
|
||||
var flag = 'favourite'
|
||||
@@ -57,7 +57,7 @@ function fav(id, acct_id, remote) {
|
||||
|
||||
//ブースト
|
||||
function rt(id, acct_id, remote, vis) {
|
||||
if ($('#pub_' + id).hasClass('rted')) {
|
||||
if ($(`.cvo[toot-id=${id}]`).hasClass('rted')) {
|
||||
var flag = 'unreblog'
|
||||
} else {
|
||||
var flag = 'reblog'
|
||||
@@ -85,7 +85,7 @@ function rt(id, acct_id, remote, vis) {
|
||||
json = json.reblog
|
||||
}
|
||||
console.log(['Success: boost', json])
|
||||
$('[unique-id=' + id + '] .fav_ct').text(json.favourites_count)
|
||||
$('[toot-id=' + id + '] .fav_ct').text(json.favourites_count)
|
||||
if (!json.reblog) {
|
||||
if (flag == 'unreblog') {
|
||||
var rt = json.reblogs_count - 1
|
||||
@@ -95,16 +95,16 @@ function rt(id, acct_id, remote, vis) {
|
||||
} else {
|
||||
var rt = json.reblogs_count
|
||||
}
|
||||
$('[unique-id=' + id + '] .rt_ct').text(rt)
|
||||
$('[toot-id=' + id + '] .rt_ct').text(rt)
|
||||
} else {
|
||||
$('[unique-id=' + id + '] .rt_ct').text(json.reblogs_count)
|
||||
$('[toot-id=' + id + '] .rt_ct').text(json.reblogs_count)
|
||||
}
|
||||
|
||||
if ($('[unique-id=' + id + ']').hasClass('rted')) {
|
||||
$('[unique-id=' + id + ']').removeClass('rted')
|
||||
if ($('[toot-id=' + id + ']').hasClass('rted')) {
|
||||
$('[toot-id=' + id + ']').removeClass('rted')
|
||||
$('.rt_' + id).removeClass('light-blue-text')
|
||||
} else {
|
||||
$('[unique-id=' + id + ']').addClass('rted')
|
||||
$('[toot-id=' + id + ']').addClass('rted')
|
||||
$('.rt_' + id).addClass('light-blue-text')
|
||||
}
|
||||
}
|
||||
@@ -117,7 +117,7 @@ function boostWith(vis) {
|
||||
}
|
||||
//ブックマーク
|
||||
function bkm(id, acct_id, tlid) {
|
||||
if ($('#pub_' + id).hasClass('bkmed')) {
|
||||
if ($(`.cvo[unique-id=${id}]`).hasClass('bkmed')) {
|
||||
var flag = 'unbookmark'
|
||||
} else {
|
||||
var flag = 'bookmark'
|
||||
@@ -141,19 +141,19 @@ function bkm(id, acct_id, tlid) {
|
||||
json = json.reblog
|
||||
}
|
||||
var fav = json.favourites_count
|
||||
$('[toot-id=' + id + '] .fav_ct').text(fav)
|
||||
$('[toot-id=' + id + '] .rt_ct').text(json.reblogs_count)
|
||||
if (flag == 'unbookmark') {
|
||||
$('.bkmStr_' + id).text(lang.lang_parse_bookmark)
|
||||
$('.bkm_' + id).removeClass('red-text')
|
||||
$('[toot-id=' + id + ']').removeClass('bkmed')
|
||||
} else {
|
||||
$('.bkmStr_' + id).text(lang.lang_parse_unbookmark)
|
||||
$('.bkm_' + id).addClass('red-text')
|
||||
$('[toot-id=' + id + ']').addClass('bkmed')
|
||||
}
|
||||
var tlidTar = $(`.bookmark-timeline[data-acct=${acct_id}]`).attr('tlid')
|
||||
columnReload(tlidTar,'bookmark')
|
||||
$('[toot-id=' + id + '] .fav_ct').text(fav)
|
||||
$('[toot-id=' + id + '] .rt_ct').text(json.reblogs_count)
|
||||
if (flag == 'unbookmark') {
|
||||
$('.bkmStr_' + id).text(lang.lang_parse_bookmark)
|
||||
$('.bkm_' + id).removeClass('red-text')
|
||||
$('[toot-id=' + id + ']').removeClass('bkmed')
|
||||
} else {
|
||||
$('.bkmStr_' + id).text(lang.lang_parse_unbookmark)
|
||||
$('.bkm_' + id).addClass('red-text')
|
||||
$('[toot-id=' + id + ']').addClass('bkmed')
|
||||
}
|
||||
var tlidTar = $(`.bookmark-timeline[data-acct=${acct_id}]`).attr('tlid')
|
||||
columnReload(tlidTar, 'bookmark')
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -389,45 +389,92 @@ function redraft(id, acct_id) {
|
||||
}).then(result => {
|
||||
if (result.value) {
|
||||
show()
|
||||
del(id, acct_id)
|
||||
$('#post-acct-sel').prop('disabled', true)
|
||||
$('#post-acct-sel').val(acct_id)
|
||||
$('select').formSelect()
|
||||
mdCheck()
|
||||
var medias = $('[toot-id=' + id + ']').attr('data-medias')
|
||||
var vismode = $('[toot-id=' + id + '] .vis-data').attr('data-vis')
|
||||
vis(vismode)
|
||||
$('#media').val(medias)
|
||||
var ct = medias.split(',').length
|
||||
$('[toot-id=' + id + '] img.toot-img').each(function(i, elem) {
|
||||
if (i < ct) {
|
||||
var url = $(elem).attr('src')
|
||||
console.log('Play back image data:' + url)
|
||||
$('#preview').append('<img src="' + url + '" style="width:50px; max-height:100px;">')
|
||||
var domain = localStorage.getItem('domain_' + acct_id)
|
||||
var at = localStorage.getItem('acct_' + acct_id + '_at')
|
||||
if (localStorage.getItem('mode_' + domain) == 'misskey') {
|
||||
var start = 'https://' + domain + '/api/notes/delete'
|
||||
var httpreq = new XMLHttpRequest()
|
||||
httpreq.open('POST', start, true)
|
||||
httpreq.setRequestHeader('Content-Type', 'application/json')
|
||||
httpreq.responseType = 'json'
|
||||
httpreq.send(JSON.stringify({ i: at, noteId: id }))
|
||||
$('[toot-id=' + id + ']').hide()
|
||||
$('[toot-id=' + id + ']').remove()
|
||||
} else {
|
||||
var start = 'https://' + domain + '/api/v1/statuses/' + id
|
||||
var httpreq = new XMLHttpRequest()
|
||||
httpreq.open('DELETE', start, true)
|
||||
httpreq.setRequestHeader('Content-Type', 'application/json')
|
||||
httpreq.setRequestHeader('Authorization', 'Bearer ' + at)
|
||||
httpreq.responseType = 'json'
|
||||
httpreq.send()
|
||||
}
|
||||
httpreq.onreadystatechange = function() {
|
||||
if (httpreq.readyState === 4) {
|
||||
if (this.status !== 200) {
|
||||
setLog(start, this.status, this.response)
|
||||
}
|
||||
var json = httpreq.response
|
||||
$('#post-acct-sel').prop('disabled', true)
|
||||
$('#post-acct-sel').val(acct_id)
|
||||
$('select').formSelect()
|
||||
mdCheck()
|
||||
var medias = $('[toot-id=' + id + ']').attr('data-medias')
|
||||
var mediack = json.media_attachments[0]
|
||||
//メディアがあれば
|
||||
var media_ids = []
|
||||
if (mediack) {
|
||||
for (var i = 0; i <= 4; i++) {
|
||||
if (json.media_attachments[i]) {
|
||||
media_ids.push(json.media_attachments[i].id)
|
||||
$('#preview').append(
|
||||
'<img src="' +
|
||||
json.media_attachments[i].preview_url +
|
||||
'" style="width:50px; max-height:100px;">'
|
||||
)
|
||||
} else {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
var vismode = $('[toot-id=' + id + '] .vis-data').attr('data-vis')
|
||||
vis(vismode)
|
||||
var medias = media_ids.join(',');
|
||||
$('#media').val(medias)
|
||||
localStorage.setItem('nohide', true)
|
||||
show()
|
||||
if (json.text) {
|
||||
var html = json.text
|
||||
} else {
|
||||
var html = $('[toot-id=' + id + '] .toot').html()
|
||||
html = html.replace(/^<p>(.+)<\/p>$/, '$1')
|
||||
html = html.replace(/<br\s?\/?>/, '\n')
|
||||
html = html.replace(/<p>/, '\n')
|
||||
html = html.replace(/<\/p>/, '\n')
|
||||
html = html.replace(/<img[\s\S]*alt="(.+?)"[\s\S]*?>/g, '$1')
|
||||
html = $.strip_tags(html)
|
||||
}
|
||||
$('#textarea').val(html)
|
||||
if (json.spoiler_text) {
|
||||
cw()
|
||||
$('#cw-text').val(json.spoiler_text)
|
||||
}
|
||||
if (json.sensitive) {
|
||||
$('#nsfw').addClass('yellow-text')
|
||||
$('#nsfw').html('visibility')
|
||||
$('#nsfw').addClass('nsfw-avail')
|
||||
}
|
||||
if (json.in_reply_to_id) {
|
||||
$('#reply').val(json.in_reply_to_id)
|
||||
}
|
||||
}
|
||||
})
|
||||
var html = $('[toot-id=' + id + '] .toot').html()
|
||||
html = html.replace(/^<p>(.+)<\/p>$/, '$1')
|
||||
html = html.replace(/<br\s?\/?>/, '\n')
|
||||
html = html.replace(/<p>/, '\n')
|
||||
html = html.replace(/<\/p>/, '\n')
|
||||
html = html.replace(/<img[\s\S]*alt="(.+?)"[\s\S]*?>/g, '$1')
|
||||
html = $.strip_tags(html)
|
||||
localStorage.setItem('nohide', true)
|
||||
show()
|
||||
$('#textarea').val(html)
|
||||
var cwtxt = $('[toot-id=' + id + '] .cw_text').html()
|
||||
if (cwtxt != '') {
|
||||
cwtxt = $.strip_tags(cwtxt)
|
||||
cw()
|
||||
$('#cw-text').val(cwtxt)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
//ピン留め
|
||||
function pin(id, acct_id) {
|
||||
if ($('#pub_' + id).hasClass('pined')) {
|
||||
if ($(`.cvo[unique-id=${id}]`).hasClass('pined')) {
|
||||
var flag = 'unpin'
|
||||
} else {
|
||||
var flag = 'pin'
|
||||
@@ -607,13 +654,17 @@ function staEx(mode) {
|
||||
console.error(error)
|
||||
})
|
||||
.then(function(json) {
|
||||
var id = json.statuses[0].id
|
||||
if (mode == 'rt') {
|
||||
rt(id, acct_id, 'remote')
|
||||
} else if (mode == 'fav') {
|
||||
fav(id, acct_id, 'remote')
|
||||
} else if (mode == 'reply') {
|
||||
reEx(id)
|
||||
if (json.statuses) {
|
||||
if (json.statuses[0]) {
|
||||
var id = json.statuses[0].id
|
||||
if (mode == 'rt') {
|
||||
rt(id, acct_id, 'remote')
|
||||
} else if (mode == 'fav') {
|
||||
fav(id, acct_id, 'remote')
|
||||
} else if (mode == 'reply') {
|
||||
reEx(id)
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
return
|
||||
@@ -632,10 +683,10 @@ function toggleAction(elem, height) {
|
||||
cont.removeClass('top')
|
||||
cont.addClass('bottom')
|
||||
}
|
||||
if(elem.parents('.cvo').attr('id') == 'toot-this'){
|
||||
if (elem.parents('.cvo').attr('id') == 'toot-this') {
|
||||
console.log($('#toot-this').offset().top, elem.offset().top)
|
||||
left = $('#toot-this').offset().left + elem.offset().left + 10
|
||||
top = $('#toot-this').offset().top - $('#toot-this').height() -height + 25
|
||||
top = $('#toot-this').offset().top - $('#toot-this').height() - height + 25
|
||||
}
|
||||
cont.css('top', top + 'px')
|
||||
cont.css('right', `calc(100vw - ${left}px)`)
|
||||
|
145
app/js/tl/announParse.js
Normal file
@@ -0,0 +1,145 @@
|
||||
function announParse(obj, acct_id, tlid) {
|
||||
var template = ''
|
||||
var datetype = localStorage.getItem('datetype')
|
||||
var gif = localStorage.getItem('gif')
|
||||
//Ticker
|
||||
var tickerck = localStorage.getItem('ticker_ok')
|
||||
if (tickerck == 'yes') {
|
||||
var ticker = true
|
||||
} else if (!ticker || ticker == 'no') {
|
||||
var ticker = false
|
||||
}
|
||||
if (!datetype) {
|
||||
datetype = 'absolute'
|
||||
}
|
||||
if (!gif) {
|
||||
var gif = 'yes'
|
||||
}
|
||||
Object.keys(obj).forEach(function(key) {
|
||||
var toot = obj[key]
|
||||
var content = toot.content
|
||||
if (toot.emojis) {
|
||||
Object.keys(toot.emojis).forEach(function(key1) {
|
||||
var emoji = toot.emojis[key1]
|
||||
var shortcode = emoji.shortcode
|
||||
if (gif == 'yes') {
|
||||
var emoSource = emoji.url
|
||||
} else {
|
||||
var emoSource = emoji.static_url
|
||||
}
|
||||
var emoji_url = `
|
||||
<img draggable="false" src="${emoSource}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle('bigemoji');">
|
||||
`
|
||||
var regExp = new RegExp(':' + shortcode + ':', 'g')
|
||||
content = content.replace(regExp, emoji_url)
|
||||
})
|
||||
}
|
||||
content = twemoji.parse(content)
|
||||
var reactions = ''
|
||||
//既存のリアクション
|
||||
if (toot.reactions) {
|
||||
Object.keys(toot.reactions).forEach(function(key2) {
|
||||
var reaction = toot.reactions[key2]
|
||||
//普通の絵文字 or カスタム絵文字 は文字数判断。ただしスコットランド国旗みたいなやべぇやつに注意
|
||||
var splitter = new GraphemeSplitter()
|
||||
if (splitter.splitGraphemes(reaction.name).length > 1) {
|
||||
//カスタム絵文字
|
||||
var shortcode = reaction.shortcode
|
||||
if (gif == 'yes') {
|
||||
var emoSource = reaction.url
|
||||
} else {
|
||||
var emoSource = reaction.static_url
|
||||
}
|
||||
var emoji_url = `
|
||||
<img draggable="false" src="${emoSource}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}">`
|
||||
} else {
|
||||
emoji_url = twemoji.parse(reaction.name)
|
||||
}
|
||||
var addClass = ''
|
||||
if (reaction.me) {
|
||||
addClass = 'reactioned'
|
||||
}
|
||||
reactions =
|
||||
reactions +
|
||||
`<div class="announReaction ${addClass}" onclick="announReaction('${toot.id}', '${acct_id}', '${tlid}', ${reaction.me},'${reaction.name}')">
|
||||
${emoji_url} ${reaction.count}
|
||||
</div>`
|
||||
})
|
||||
}
|
||||
if (toot.ends_at) {
|
||||
var ended = `<div class="announReaction" title="${date(toot.ends_at, 'absolute')}" style="width: auto; cursor: default;">
|
||||
<i class="fas fa-arrow-right"></i>
|
||||
${date(toot.ends_at, datetype)}
|
||||
</div>`
|
||||
} else {
|
||||
var ended = ''
|
||||
}
|
||||
|
||||
template =
|
||||
template +
|
||||
`<div class="announcement" data-id="${toot.id}">
|
||||
${content}
|
||||
<div class="reactionsPack">
|
||||
${reactions}
|
||||
<div class="announReaction add" onclick="announReactionNew('${toot.id}', '${acct_id}', '${tlid}')"><i class="fas fa-plus"></i></div>
|
||||
${ended}
|
||||
</div>
|
||||
</div>`
|
||||
})
|
||||
return template
|
||||
}
|
||||
function announReaction(id, acct_id, tlid, del, name) {
|
||||
var at = localStorage.getItem('acct_' + acct_id + '_at')
|
||||
var domain = localStorage.getItem('domain_' + acct_id)
|
||||
var start = 'https://' + domain + '/api/v1/announcements/' + id + '/reactions/' + encodeURIComponent(name)
|
||||
var httpreq = new XMLHttpRequest()
|
||||
if(del) {
|
||||
var method = 'DELETE'
|
||||
} else {
|
||||
var method = 'PUT'
|
||||
}
|
||||
httpreq.open(method, start, true)
|
||||
httpreq.setRequestHeader('Content-Type', 'application/json')
|
||||
httpreq.setRequestHeader('Authorization', 'Bearer ' + at)
|
||||
httpreq.responseType = 'json'
|
||||
httpreq.send()
|
||||
httpreq.onreadystatechange = function() {
|
||||
if (httpreq.readyState === 4) {
|
||||
var json = httpreq.response
|
||||
if (this.status !== 200) {
|
||||
setLog(start, this.status, this.response)
|
||||
}
|
||||
announ(acct_id, tlid)
|
||||
}
|
||||
}
|
||||
}
|
||||
function announReactionNew(id, acct_id, tlid) {
|
||||
$('#reply').val(id)
|
||||
$('#media').val('announcement')
|
||||
$('#unreact').hide()
|
||||
$('#addreact').removeClass('hide')
|
||||
$('#post-acct-sel').val(acct_id)
|
||||
$('select').formSelect()
|
||||
localStorage.setItem('nohide', true)
|
||||
show()
|
||||
emojiToggle(true)
|
||||
$('#left-side').hide()
|
||||
}
|
||||
function emojiReactionDef(target) {
|
||||
var emojiraw = newpack.filter(function(item, index) {
|
||||
if (item.short_name == target) return true
|
||||
})
|
||||
var hex = emojiraw[0].unified.split('-')
|
||||
if (hex.length === 2) {
|
||||
emoji = twemoji.convert.fromCodePoint(hex[0]) + twemoji.convert.fromCodePoint(hex[1])
|
||||
} else {
|
||||
emoji = twemoji.convert.fromCodePoint(hex[0])
|
||||
}
|
||||
var acct_id = $('#post-acct-sel').val()
|
||||
var id = $('#reply').val()
|
||||
announReaction(id, acct_id, 0, false, emoji)
|
||||
clear()
|
||||
hide()
|
||||
}
|
@@ -9,24 +9,21 @@ function additional(acct_id, tlid) {
|
||||
$('#timeline-container .hashtag, #timeline-container [rel=tag]').each(function(i, elem) {
|
||||
var tags = $(this)
|
||||
.attr('href')
|
||||
.match(/https?:\/\/([-a-zA-Z0-9@.]+)\/tags\/([-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]+)/)
|
||||
.match(/https?:\/\/([-a-zA-Z0-9@.]+)\/tags?\/([-_.!~*\'()a-zA-Z0-9;\/?:\@&=+\$,%#]+)/)
|
||||
if (tags) {
|
||||
var tagThis = tags[2]
|
||||
} else {
|
||||
var tagThis = $(this).attr('data-tag')
|
||||
var tagThis = $(this).attr('data-regTag')
|
||||
}
|
||||
|
||||
if (tagThis) {
|
||||
$(this).attr('onclick', "tagShow('" + tagThis + "')")
|
||||
$(this).attr('href', '#')
|
||||
$(this).attr('href', "javascript:tagShow('" + tagThis + "')")
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
//トゥートサムネ
|
||||
$('#timeline_' + tlid + ' .toot a:not(.parsed)').each(function(i, elem) {
|
||||
var domain = localStorage.getItem('domain_' + acct_id)
|
||||
var at = localStorage.getItem('acct_' + acct_id + '_at')
|
||||
var card = localStorage.getItem('card_' + tlid)
|
||||
var text = $(this).attr('href')
|
||||
if (text) {
|
||||
if (text.indexOf('twimg.com') === -1) {
|
||||
@@ -48,48 +45,6 @@ function additional(acct_id, tlid) {
|
||||
}
|
||||
if (urls) {
|
||||
$(this).remove()
|
||||
} else if (!card) {
|
||||
var id = $(this)
|
||||
.parents('.cvo')
|
||||
.attr('toot-id')
|
||||
if (localStorage.getItem('mode_' + domain) == 'misskey') {
|
||||
var start = 'https://' + domain + '/url?url=' + text
|
||||
fetch(start, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'content-type': 'application/json'
|
||||
}
|
||||
//body: JSON.stringify({})
|
||||
})
|
||||
.then(function(response) {
|
||||
if (!response.ok) {
|
||||
response.text().then(function(text) {
|
||||
setLog(response.url, response.status, text)
|
||||
})
|
||||
}
|
||||
return response.json()
|
||||
})
|
||||
.catch(function(error) {
|
||||
todo(error)
|
||||
setLog(start, 'JSON', error)
|
||||
console.error(error)
|
||||
})
|
||||
.then(function(json) {
|
||||
if (json.title) {
|
||||
$('[toot-id=' + id + '] .additional').html(
|
||||
'<span class="gray">URL' +
|
||||
lang.lang_cards_check +
|
||||
':<br>Title:' +
|
||||
escapeHTML(json.title) +
|
||||
'<br>' +
|
||||
escapeHTML(json.description) +
|
||||
'</span>'
|
||||
)
|
||||
$('[toot-id=' + id + '] a:not(.parsed)').addClass('parsed')
|
||||
$('[toot-id=' + id + ']').addClass('parsed')
|
||||
}
|
||||
})
|
||||
}
|
||||
} else {
|
||||
$(this).attr('title', text)
|
||||
}
|
||||
@@ -139,8 +94,7 @@ function additional(acct_id, tlid) {
|
||||
var id = $(this)
|
||||
.parents('.cvo')
|
||||
.attr('toot-id')
|
||||
$(this).attr('href', '#')
|
||||
$(this).attr('onclick', "imgv('" + id + "','" + i + "')")
|
||||
$(this).attr('href', `javascript:imgv('${id}','${i}')`)
|
||||
$(this).attr('data-type', 'image')
|
||||
$(this).attr('id', id + '-image-' + i)
|
||||
$(this).attr('data-url', ilink)
|
||||
|
@@ -520,7 +520,7 @@ function misskeyParse(obj, mix, acct_id, tlid, popup, mutefilter) {
|
||||
if (tagck) {
|
||||
Object.keys(toot.tags).forEach(function (key4) {
|
||||
var tag = toot.tags[key4];
|
||||
var tags = '<a onclick="tagShow(\'' + tag + '\')" class="pointer parsed">#' + tag + '</a><span class="hide" data-tag="' + tag + '">#' + tag + ':<a onclick="tl(\'tag\',\'' + tag + '\',' + acct_id +
|
||||
var tags = '<a onclick="tagShow(\'' + tag + '\')" class="pointer parsed">#' + tag + '</a><span class="hide" data-tag="' + tag + '" data-regTag="'+tag.toLowerCase()+'">#' + tag + ':<a onclick="tl(\'tag\',\'' + tag + '\',' + acct_id +
|
||||
',\'add\')" class="pointer parsed" title="' + lang.lang_parse_tagTL.replace("{{tag}}", '#' + tag) + '">TL</a> <a onclick="brInsert(\'#' + tag + '\')" class="pointer parsed" title="' + lang.lang_parse_tagtoot.replace("{{tag}}", '#' + tag) + '">Toot</a> ' +
|
||||
'<a onclick="tagPin(\'' + tag + '\')" class="pointer parsed" title="' + lang.lang_parse_tagpin.replace("{{tag}}", '#' + tag) + '">Pin</a></span> ';
|
||||
content = content.replace("#" + tag, tags);
|
||||
@@ -880,7 +880,7 @@ function misskeyUserparse(obj, auth, acct_id, tlid, popup) {
|
||||
}
|
||||
var ftxt = lang.lang_parse_followed;
|
||||
if (popup > 0 || popup == -1) {
|
||||
var notftext = '<span class="cbadge"title="' + date(toot.createdAt,
|
||||
var notftext = '<span class="cbadge" title="' + date(toot.createdAt,
|
||||
'absolute') + '(' + lang.lang_parse_notftime + ')"><i class="far fa-clock"></i>' + date(toot.createdAt,
|
||||
datetype) +
|
||||
'</span>' + ftxt + '<br>';
|
||||
|
@@ -69,17 +69,20 @@ function notfColumn(acct_id, tlid, sys) {
|
||||
var n = new Notification('TheDesk:' + domain, options)
|
||||
}
|
||||
var mute = getFilterTypeByAcct(acct_id, 'notif')
|
||||
if (obj.type != 'follow') {
|
||||
//Pleromaにはmoveというtypeがあるらしい。何が互換APIじゃ
|
||||
if (obj.type != 'follow' && obj.type != 'move' && obj.type != 'follow_request') {
|
||||
if (misskey) {
|
||||
templete = templete + misskeyParse([obj], 'notf', acct_id, tlid, -1, mute)
|
||||
} else {
|
||||
templete = templete + parse([obj], 'notf', acct_id, tlid, -1, mute)
|
||||
}
|
||||
} else if (obj.type == 'follow_request') {
|
||||
templete = templete + userparse([obj.account], 'request', acct_id, tlid, -1)
|
||||
} else {
|
||||
if (misskey) {
|
||||
templete = templete + misskeyUserparse([obj], 'notf', acct_id, tlid, -1, mute)
|
||||
} else {
|
||||
templete = templete + userparse([obj.account], 'notf', acct_id, tlid, -1)
|
||||
templete = templete + userparse([obj.account], obj.type, acct_id, tlid, -1)
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -179,7 +182,8 @@ function notfCommon(acct_id, tlid, sys) {
|
||||
var n = new Notification('TheDesk:' + domain, options)
|
||||
}
|
||||
var mute = getFilterTypeByAcct(acct_id, 'notif')
|
||||
if (obj.type != 'follow') {
|
||||
//Pleromaにはmoveというtypeがあるらしい。何が互換APIじゃ
|
||||
if (obj.type != 'follow' && obj.type != 'move') {
|
||||
if (misskey) {
|
||||
templete = templete + misskeyParse([obj], 'notf', acct_id, 'notf', -1, mute)
|
||||
} else {
|
||||
@@ -189,7 +193,7 @@ function notfCommon(acct_id, tlid, sys) {
|
||||
if (misskey) {
|
||||
templete = templete + misskeyUserparse([obj], 'notf', acct_id, 'notf', -1, mute)
|
||||
} else {
|
||||
templete = templete + userparse([obj.account], 'notf', acct_id, 'notf', -1)
|
||||
templete = templete + userparse([obj.account], obj.type, acct_id, 'notf', -1)
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -238,7 +242,7 @@ function notfWS(misskey, acct_id, tlid, domain, at) {
|
||||
if (obj.type != 'follow') {
|
||||
templete = parse([obj], 'notf', acct_id, 'notf', popup)
|
||||
} else {
|
||||
templete = userparse([obj], 'notf', acct_id, 'notf', popup)
|
||||
templete = userparse([obj], obj.type, acct_id, 'notf', popup)
|
||||
}
|
||||
if (!$('div[data-notfIndv=' + acct_id + '_' + obj.id + ']').length) {
|
||||
$('div[data-notf=' + acct_id + ']').prepend(templete)
|
||||
@@ -338,7 +342,7 @@ function notfmore(tlid) {
|
||||
if (misskey) {
|
||||
templete = templete + misskeyUserparse([obj], 'notf', acct_id, 'notf', -1, mute)
|
||||
} else {
|
||||
templete = templete + userparse([obj.account], 'notf', acct_id, 'notf', -1)
|
||||
templete = templete + userparse([obj.account], obj.type, acct_id, 'notf', -1)
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -402,6 +406,11 @@ function notfCanceler(acct) {
|
||||
localStorage.removeItem('notf-follow_' + acct)
|
||||
$('.notf-follow_' + acct).addClass('hide')
|
||||
$('.notf-icon_' + acct).removeClass('red-text')
|
||||
var id = $('#announce_' + acct + ' .announcement').first().attr('data-id')
|
||||
$('.notf-announ_' + acct + '_ct').text("")
|
||||
if(id) {
|
||||
localStorage.setItem('announ_' + acct, id)
|
||||
}
|
||||
}
|
||||
function allNotfRead() {
|
||||
var multi = localStorage.getItem('multi')
|
||||
|
@@ -217,8 +217,13 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
Object.keys(toot.account.emojis).forEach(function(key5) {
|
||||
var emoji = toot.account.emojis[key5]
|
||||
var shortcode = emoji.shortcode
|
||||
if (gif == 'yes') {
|
||||
var emoSource = emoji.url
|
||||
} else {
|
||||
var emoSource = emoji.static_url
|
||||
}
|
||||
var emoji_url = `
|
||||
<img draggable="false" src="${emoji.url}" class="emoji-img" data-emoji="${shortcode}"
|
||||
<img draggable="false" src="${emoSource}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle('bigemoji');">
|
||||
`
|
||||
var regExp = new RegExp(':' + shortcode + ':', 'g')
|
||||
@@ -227,6 +232,9 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
}
|
||||
var noticeavatar = ''
|
||||
if (mix == 'notf') {
|
||||
if (!toot.status) {
|
||||
toot.status = statusModel(toot.created_at)
|
||||
}
|
||||
if (gif == 'yes') {
|
||||
noticeavatar = toot.account.avatar
|
||||
} else {
|
||||
@@ -364,9 +372,15 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
Object.keys(toot.account.emojis).forEach(function(key5) {
|
||||
var emoji = toot.account.emojis[key5]
|
||||
var shortcode = emoji.shortcode
|
||||
if (gif == 'yes') {
|
||||
var emoSource = emoji.url
|
||||
} else {
|
||||
var emoSource = emoji.static_url
|
||||
}
|
||||
var emoji_url = `
|
||||
<img draggable="false" src="${emoji.url}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle(\'bigemoji\');">`
|
||||
<img draggable="false" src="${emoSource}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle('bigemoji');">
|
||||
`
|
||||
var regExp = new RegExp(':' + shortcode + ':', 'g')
|
||||
dis_name = dis_name.replace(regExp, emoji_url)
|
||||
})
|
||||
@@ -415,9 +429,15 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
Object.keys(toot.account.emojis).forEach(function(key5) {
|
||||
var emoji = toot.account.emojis[key5]
|
||||
var shortcode = emoji.shortcode
|
||||
if (gif == 'yes') {
|
||||
var emoSource = emoji.url
|
||||
} else {
|
||||
var emoSource = emoji.static_url
|
||||
}
|
||||
var emoji_url = `
|
||||
<img draggable="false" src="${emoji.url}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle(\'bigemoji\');">`
|
||||
<img draggable="false" src="${emoSource}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle('bigemoji');">
|
||||
`
|
||||
var regExp = new RegExp(':' + shortcode + ':', 'g')
|
||||
dis_name = dis_name.replace(regExp, emoji_url)
|
||||
})
|
||||
@@ -568,7 +588,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
//Poll
|
||||
var poll = ''
|
||||
if (toot.poll) {
|
||||
var poll = pollParse(toot.poll, acct_id)
|
||||
var poll = pollParse(toot.poll, acct_id, false)
|
||||
}
|
||||
|
||||
var mediack = toot.media_attachments[0]
|
||||
@@ -632,7 +652,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
id="${id}-image-${key2}" data-url="${url}" data-original="${remote_url}" data-type="${media.type}"
|
||||
class="img-parsed img-link" style="width:calc(${cwdt}% - 1px); height:${imh};">
|
||||
<img draggable="false" src="${purl}" class="${sense} toot-img pointer"
|
||||
onerror="this.src=\'../../img/loading.svg\'" title="${desc}">
|
||||
onerror="this.src=\'../../img/loading.svg\'" title="${escapeHTML(desc)}">
|
||||
${nsfwmes}
|
||||
</a>`
|
||||
}
|
||||
@@ -689,7 +709,9 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
var featured = ` <a onclick="tagFeature('${tag.name}','${acct_id}')" class="pointer" title="add it to Featured tags">Feature</a> `
|
||||
tags =
|
||||
tags +
|
||||
`<span class="hide" data-tag="${tag.name}">#${tag.name}:
|
||||
`<span class="hide" data-tag="${tag.name}" data-regTag="${tag.name.toLowerCase()}">#${
|
||||
tag.name
|
||||
}:
|
||||
<a onclick="tl('tag','${tag.name}','${acct_id}','add')" class="pointer"
|
||||
title="${lang.lang_parse_tagTL.replace(
|
||||
'{{tag}}',
|
||||
@@ -700,7 +722,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
'{{tag}}',
|
||||
'#' + tag.name
|
||||
)}
|
||||
">Pin</a></span> `
|
||||
">Pin</a>${featured}</span> `
|
||||
})
|
||||
tags = '<div style="float:right">' + tags + '</div>'
|
||||
}
|
||||
@@ -826,9 +848,15 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
Object.keys(toot.emojis).forEach(function(key5) {
|
||||
var emoji = toot.emojis[key5]
|
||||
var shortcode = emoji.shortcode
|
||||
if (gif == 'yes') {
|
||||
var emoSource = emoji.url
|
||||
} else {
|
||||
var emoSource = emoji.static_url
|
||||
}
|
||||
var emoji_url = `
|
||||
<img draggable="false" src="${emoji.url}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle(\'bigemoji\');">`
|
||||
<img draggable="false" src="${emoSource}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle('bigemoji');">
|
||||
`
|
||||
var regExp = new RegExp(':' + shortcode + ':', 'g')
|
||||
content = content.replace(regExp, emoji_url)
|
||||
spoil = spoil.replace(regExp, emoji_url)
|
||||
@@ -1032,9 +1060,11 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
</a>
|
||||
</div>
|
||||
<div class="action ${can_rt} ${disp['rt']} ${noauth}">
|
||||
<a onclick="rt('${uniqueid}','${acct_id}','${tlid}')" class="waves-effect waves-dark btn-flat actct bt-btn"
|
||||
<a onclick="rt('${
|
||||
toot.id
|
||||
}','${acct_id}','${tlid}')" class="waves-effect waves-dark btn-flat actct bt-btn"
|
||||
style="padding:0" title="${lang.lang_parse_bt}">
|
||||
<i class="fas fa-retweet ${if_rt} rt_${uniqueid}"></i>
|
||||
<i class="fas fa-retweet ${if_rt} rt_${toot.id}"></i>
|
||||
<span class="rt_ct">${toot.reblogs_count}</span>
|
||||
</a>
|
||||
</div>
|
||||
@@ -1080,28 +1110,26 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
<a onclick="client('${$.strip_tags(via)}')" class="pointer">${lang.lang_parse_clientop}</a>
|
||||
</div>
|
||||
<div>
|
||||
<button onclick="bkm('${toot.id}','${acct_id}','${tlid}')"
|
||||
<button onclick="bkm('${uniqueid}','${acct_id}','${tlid}')"
|
||||
class="waves-effect waves-dark btn-flat actct bkm-btn" style="padding:0">
|
||||
<i class="fas text-darken-3 fa-bookmark bkm_${toot.id} ${if_bkm}"></i>
|
||||
<span class="bkmStr_${toot.id}">${bkmStr}</span>
|
||||
<span class="bkmStr_${uniqueid}">${bkmStr}</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="${if_mine}">
|
||||
<button onclick="del('${toot.id}','${acct_id}')" class="waves-effect waves-dark btn-flat actct"
|
||||
<button onclick="del('${uniqueid}','${acct_id}')" class="waves-effect waves-dark btn-flat actct"
|
||||
style="padding:0">
|
||||
<i class="fas fa-trash"></i>${lang.lang_parse_del}
|
||||
</button>
|
||||
</div>
|
||||
<div class="${if_mine}">
|
||||
<button onclick="pin('${
|
||||
toot.id
|
||||
}','${acct_id}')" class="waves-effect waves-dark btn-flat actct" style="padding:0">
|
||||
<i class="fas fa-map-pin pin_${toot.id} ${if_pin}"></i>
|
||||
<span class="pinStr_${toot.id}">${pinStr}</span>
|
||||
<button onclick="pin('${uniqueid}','${acct_id}')" class="waves-effect waves-dark btn-flat actct" style="padding:0">
|
||||
<i class="fas fa-map-pin pin_${uniqueid} ${if_pin}"></i>
|
||||
<span class="pinStr_${uniqueid}">${pinStr}</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="${if_mine}">
|
||||
<button onclick="redraft('${toot.id}','${acct_id}')" class="waves-effect waves-dark btn-flat actct"
|
||||
<button onclick="redraft('${uniqueid}','${acct_id}')" class="waves-effect waves-dark btn-flat actct"
|
||||
style="padding:0">
|
||||
<i class="material-icons">redo</i>${lang.lang_parse_redraft}
|
||||
</button>
|
||||
@@ -1133,6 +1161,10 @@ function userparse(obj, auth, acct_id, tlid, popup) {
|
||||
if (locale == 'yes') {
|
||||
var locale = false
|
||||
}
|
||||
var gif = localStorage.getItem('gif')
|
||||
if (!gif) {
|
||||
gif = 'yes'
|
||||
}
|
||||
var templete = ''
|
||||
var datetype = localStorage.getItem('datetype')
|
||||
Object.keys(obj).forEach(function(key) {
|
||||
@@ -1162,10 +1194,17 @@ function userparse(obj, auth, acct_id, tlid, popup) {
|
||||
} else {
|
||||
var authhtml = ''
|
||||
}
|
||||
var ftxt = lang.lang_parse_followed
|
||||
if (!locale && localStorage.getItem('followlocale_' + acct_id)) {
|
||||
ftxt = localStorage.getItem('followlocale_' + acct_id)
|
||||
if (auth == 'follow') {
|
||||
var ftxt = lang.lang_parse_followed
|
||||
if (!locale && localStorage.getItem('followlocale_' + acct_id)) {
|
||||
ftxt = localStorage.getItem('followlocale_' + acct_id)
|
||||
}
|
||||
} else if (auth == 'moved') {
|
||||
var ftxt = lang.lang_parse_moved
|
||||
} else if (auth == 'request') {
|
||||
var ftxt = lang.lang_parse_request
|
||||
}
|
||||
console.log(auth, ftxt)
|
||||
if (popup > 0 || popup == -1 || notf) {
|
||||
var notftext = ftxt + '<br>'
|
||||
} else {
|
||||
@@ -1208,9 +1247,15 @@ function userparse(obj, auth, acct_id, tlid, popup) {
|
||||
Object.keys(toot.emojis).forEach(function(key5) {
|
||||
var emoji = toot.emojis[key5]
|
||||
var shortcode = emoji.shortcode
|
||||
if (gif == 'yes') {
|
||||
var emoSource = emoji.url
|
||||
} else {
|
||||
var emoSource = emoji.static_url
|
||||
}
|
||||
var emoji_url = `
|
||||
<img draggable="false" src="${emoji.url}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle(\'bigemoji\');">`
|
||||
<img draggable="false" src="${emoSource}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle('bigemoji');">
|
||||
`
|
||||
var regExp = new RegExp(':' + shortcode + ':', 'g')
|
||||
dis_name = dis_name.replace(regExp, emoji_url)
|
||||
})
|
||||
@@ -1219,7 +1264,11 @@ function userparse(obj, auth, acct_id, tlid, popup) {
|
||||
dis_name = twemoji.parse(dis_name)
|
||||
}
|
||||
if (toot.avatar) {
|
||||
var avatar = toot.avatar
|
||||
if (gif == 'yes') {
|
||||
var avatar = toot.avatar
|
||||
} else {
|
||||
var avatar = toot.avatar_static
|
||||
}
|
||||
} else {
|
||||
var avatar = '../../img/missing.svg'
|
||||
}
|
||||
@@ -1236,7 +1285,7 @@ function userparse(obj, auth, acct_id, tlid, popup) {
|
||||
}
|
||||
templete =
|
||||
templete +
|
||||
`<div class="cvo" style="padding-top:5px;" user-id="${toot.id}">
|
||||
`<div class="cusr" style="padding-top:5px;" user-id="${toot.id}">
|
||||
<div class="area-notice">${notftext}</div>
|
||||
<div class="area-icon">
|
||||
${udg}
|
||||
@@ -1256,21 +1305,20 @@ function userparse(obj, auth, acct_id, tlid, popup) {
|
||||
class="sml gray"
|
||||
style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;user-select:auto; cursor:text;"
|
||||
>
|
||||
@ ${toot.acct}${locked}</span
|
||||
>
|
||||
@ ${toot.acct}${locked}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="area-toot acct-note">
|
||||
${toot.note.replace(/<br\s?\/?>.+/g, '<span class="gray">...</span>')}
|
||||
</div>
|
||||
<div style="justify-content:space-around;top:5px" class="area-actions">
|
||||
<div class="area-status">
|
||||
<div class="cbadge" style="width:100px;">
|
||||
${lang.lang_status_follow}:${toot.following_count}
|
||||
</div>
|
||||
<div class="cbadge" style="width:100px;">
|
||||
${lang.lang_status_followers}:${toot.followers_count}
|
||||
</div>
|
||||
${latesthtml}${authhtml}
|
||||
${latesthtml}
|
||||
</div>
|
||||
<div class="area-actions" style="justify-content: flex-end;">
|
||||
${authhtml}
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
@@ -1342,71 +1390,130 @@ function client(name) {
|
||||
}
|
||||
}
|
||||
//Poll Parser
|
||||
function pollParse(poll, acct_id) {
|
||||
function pollParse(poll, acct_id, emojis) {
|
||||
var rand = randomStr(8)
|
||||
var datetype = localStorage.getItem('datetype')
|
||||
var anime = localStorage.getItem('animation')
|
||||
if (anime == 'yes' || !anime) {
|
||||
var lpAnime = 'lpAnime'
|
||||
} else {
|
||||
var lpAnime = ''
|
||||
}
|
||||
var gif = localStorage.getItem('gif')
|
||||
if (!gif) {
|
||||
gif = 'yes'
|
||||
}
|
||||
var choices = poll.options
|
||||
if (poll.own_votes) {
|
||||
var minechoice = poll.own_votes
|
||||
} else {
|
||||
var minechoice = []
|
||||
}
|
||||
|
||||
if (poll.voted) {
|
||||
var refresh = `<a onclick="voteMastodonrefresh('${acct_id}','${poll.id}','${rand}')" class="pointer">
|
||||
${lang.lang_manager_refresh}
|
||||
</a>`
|
||||
if (poll.voted && minechoice.length) {
|
||||
var myvote = lang.lang_parse_voted
|
||||
if (poll.expired) myvote = myvote + '/' + lang.lang_parse_endedvote
|
||||
var result_hide = ''
|
||||
} else if (poll.voted && !minechoice.length) {
|
||||
var myvote = lang.lang_parse_myvote
|
||||
if (poll.expired) myvote = myvote + '/' + lang.lang_parse_endedvote
|
||||
var result_hide = ''
|
||||
} else if (poll.expired) {
|
||||
var myvote = lang.lang_parse_endedvote
|
||||
var result_hide = ''
|
||||
} else {
|
||||
var myvote = `<a onclick="voteMastodon('${acct_id}','${poll.id}')" class="votebtn">${lang.lang_parse_vote}</a><br>`
|
||||
var myvote = `<a onclick="voteMastodon('${acct_id}','${poll.id}','${rand}')" class="votebtn">${lang.lang_parse_vote}</a><br>`
|
||||
if (choices[0].votes_count === 0 || choices[0].votes_count > 0) {
|
||||
myvote =
|
||||
myvote +
|
||||
`<a onclick="showResult('${acct_id}','${poll.id}')" class="pointer">
|
||||
`<a onclick="showResult('${acct_id}','${poll.id}','${rand}')" class="pointer">
|
||||
${lang.lang_parse_unvoted}
|
||||
</a>`
|
||||
</a> `
|
||||
}
|
||||
var result_hide = 'hide'
|
||||
}
|
||||
var ended = date(poll.expires_at, datetype)
|
||||
var pollHtml = ''
|
||||
if (choices[0].votes_count === 0 || choices[0].votes_count > 0) {
|
||||
var max = _.maxBy(choices, 'votes_count').votes_count
|
||||
} else {
|
||||
var max = 0
|
||||
}
|
||||
|
||||
Object.keys(choices).forEach(function(keyc) {
|
||||
var choice = choices[keyc]
|
||||
var voteit = ''
|
||||
for (var i = 0; i < minechoice.length; i++) {
|
||||
var me = minechoice[i]
|
||||
if (me == keyc) {
|
||||
var voteit = '✅'
|
||||
var voteit =
|
||||
'<span class="ownMark"><img class="emoji" draggable="false" src="https://twemoji.maxcdn.com/v/12.1.4/72x72/2705.png"></span>'
|
||||
break
|
||||
}
|
||||
}
|
||||
if (!poll.voted && !poll.expired) {
|
||||
var votesel =
|
||||
"voteSelMastodon('" + acct_id + "','" + poll.id + "'," + keyc + ',' + poll.multiple + ')'
|
||||
var voteclass = 'pointer waves-effect waves-light'
|
||||
`voteSelMastodon('${acct_id}','${poll.id}',${keyc},${poll.multiple}, this)`
|
||||
var voteclass = 'pointer'
|
||||
} else {
|
||||
var votesel = ''
|
||||
var voteclass = ''
|
||||
}
|
||||
var per = Math.ceil((choice.votes_count / poll.votes_count) * 100)
|
||||
if (!per) per = 0
|
||||
if (max == choice.votes_count) {
|
||||
var addPoll = 'maxVoter'
|
||||
} else {
|
||||
var addPoll = ''
|
||||
}
|
||||
var openData = ''
|
||||
if (choice.votes_count !== null) {
|
||||
openData = `<span style="float: right">${voteit}${choice.votes_count}<span class="sml">(${per}%)</span></span>`
|
||||
} else {
|
||||
openData = `<span style="float: right">${voteit}?<span class="sml">(-%)</span></span>`
|
||||
}
|
||||
var choiceText = escapeHTML(choice.title)
|
||||
if (emojis) {
|
||||
//絵文字があれば
|
||||
Object.keys(emojis).forEach(function(key5) {
|
||||
var emoji = emojis[key5]
|
||||
var shortcode = emoji.shortcode
|
||||
if (gif == 'yes') {
|
||||
var emoSource = emoji.url
|
||||
} else {
|
||||
var emoSource = emoji.static_url
|
||||
}
|
||||
var emoji_url = `
|
||||
<img draggable="false" src="${emoSource}" class="emoji-img" data-emoji="${shortcode}"
|
||||
alt=" :${shortcode}: " title="${shortcode}" onclick="this.classList.toggle('bigemoji');">
|
||||
`
|
||||
var regExp = new RegExp(':' + shortcode + ':', 'g')
|
||||
choiceText = choiceText.replace(regExp, emoji_url)
|
||||
})
|
||||
choiceText = twemoji.parse(choiceText)
|
||||
}
|
||||
pollHtml =
|
||||
pollHtml +
|
||||
`<div class="${voteclass} vote vote_${acct_id}_${poll.id}_${keyc}" onclick="${votesel}">
|
||||
${escapeHTML(choice.title)}
|
||||
<span class="vote_${acct_id}_${poll.id}_result ${result_hide}">
|
||||
(${choice.votes_count})
|
||||
<span class="vote_${acct_id}_${poll.id}_result leadPoll ${result_hide} ${addPoll} ${lpAnime}" style="width: ${per}%"></span>
|
||||
<span class="onPoll">${choiceText}</span>
|
||||
<span class="vote_${acct_id}_${poll.id}_result ${result_hide} onPoll">
|
||||
${openData}
|
||||
</span>
|
||||
${voteit}
|
||||
</div>`
|
||||
})
|
||||
pollHtml = `<div class="vote_${acct_id}_${poll.id}">
|
||||
if (poll.expired) {
|
||||
refresh = ''
|
||||
}
|
||||
pollHtml = `<div class="vote_${acct_id}_${poll.id}" id="vote${rand}">
|
||||
${pollHtml}${myvote}
|
||||
<a onclick="voteMastodonrefresh('${acct_id}','${poll.id}')" class="pointer">
|
||||
${lang.lang_manager_refresh}
|
||||
</a>
|
||||
${refresh}
|
||||
<span class="cbadge cbadge-hover" title="${date(poll.expires_at, 'absolute')}">
|
||||
<i class="far fa-calendar-times"></i>
|
||||
${ended}
|
||||
</span>
|
||||
</span>${poll.voters_count} ${lang.lang_parse_people}
|
||||
</div>`
|
||||
return pollHtml
|
||||
}
|
||||
|
@@ -49,30 +49,25 @@ function pollCalc() {
|
||||
return days * 86400 + hrs * 3600 + mins * 60
|
||||
}
|
||||
//Vote
|
||||
function voteSelMastodon(acct_id, id, to, mul) {
|
||||
if ($('.vote_' + acct_id + '_' + id + '_' + to).hasClass('sel')) {
|
||||
$('.vote_' + acct_id + '_' + id + '_' + to).css('background-color', 'transparent')
|
||||
$('.vote_' + acct_id + '_' + id + '_' + to).removeClass('sel')
|
||||
function voteSelMastodon(acct_id, id, to, mul, elem) {
|
||||
if ($(elem).hasClass('sel')) {
|
||||
$(elem).css('background-color', 'transparent')
|
||||
$(elem).removeClass('sel')
|
||||
} else {
|
||||
if (!mul) {
|
||||
$('.vote_' + acct_id + '_' + id + ' div').each(function(i, elem) {
|
||||
if (i == to) {
|
||||
$(this).css('background-color', 'var(--emphasized)')
|
||||
$(this).addClass('sel')
|
||||
} else {
|
||||
$(this).css('background-color', 'transparent')
|
||||
$(this).removeClass('sel')
|
||||
}
|
||||
})
|
||||
$('.vote_' + acct_id + '_' + id + ' div').css('background-color', 'transparent')
|
||||
$('.vote_' + acct_id + '_' + id + ' div').removeClass('sel')
|
||||
$(elem).css('background-color', 'var(--emphasized)')
|
||||
$(elem).addClass('sel')
|
||||
} else {
|
||||
$('.vote_' + acct_id + '_' + id + '_' + to).css('background-color', 'var(--emphasized)')
|
||||
$('.vote_' + acct_id + '_' + id + '_' + to).addClass('sel')
|
||||
$(elem).css('background-color', 'var(--emphasized)')
|
||||
$(elem).addClass('sel')
|
||||
}
|
||||
}
|
||||
}
|
||||
function voteMastodon(acct_id, id) {
|
||||
function voteMastodon(acct_id, id, target) {
|
||||
var choice = []
|
||||
$('.vote_' + acct_id + '_' + id + ' div').each(function(i, elem) {
|
||||
$(`#vote${target} div`).each(function(i, elem) {
|
||||
if ($(this).hasClass('sel')) {
|
||||
choice.push(i + '')
|
||||
}
|
||||
@@ -90,13 +85,13 @@ function voteMastodon(acct_id, id) {
|
||||
httpreq.responseType = 'json'
|
||||
httpreq.send(JSON.stringify({ choices: choice }))
|
||||
httpreq.onreadystatechange = function() {
|
||||
voteMastodonrefresh(acct_id, id)
|
||||
voteMastodonrefresh(acct_id, id, target)
|
||||
}
|
||||
}
|
||||
function showResult(acct_id, id) {
|
||||
$('.vote_' + acct_id + '_' + id + '_result').toggleClass('hide')
|
||||
}
|
||||
function voteMastodonrefresh(acct_id, id) {
|
||||
function voteMastodonrefresh(acct_id, id, target) {
|
||||
var datetype = localStorage.getItem('datetype')
|
||||
if (!datetype) {
|
||||
datetype = 'absolute'
|
||||
@@ -120,8 +115,8 @@ function voteMastodonrefresh(acct_id, id) {
|
||||
if (!json) {
|
||||
return false
|
||||
}
|
||||
var poll = pollParse(json, acct_id)
|
||||
$('.vote_' + acct_id + '_' + json.id).html(poll)
|
||||
var poll = pollParse(json, acct_id, json.emojis)
|
||||
$(`#vote${target}`).html(poll)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
141
app/js/tl/src.js
@@ -36,7 +36,7 @@ function src(mode, offset) {
|
||||
var user = $('#his-data').attr('user-id')
|
||||
}
|
||||
if (!mode) {
|
||||
var start = 'https://' + domain + '/api/v2/search?q=' + q + add
|
||||
var start = 'https://' + domain + '/api/v2/search?resolve=true&q=' + encodeURIComponent(q) + add
|
||||
} else {
|
||||
var start = 'https://' + domain + '/api/v1/search?q=' + q
|
||||
}
|
||||
@@ -216,6 +216,9 @@ function moreTs(tlid, q) {
|
||||
function graphDraw(tag, acct_id) {
|
||||
var tags = ''
|
||||
var his = tag.history
|
||||
return graphDrawCore(his, tag)
|
||||
}
|
||||
function graphDrawCore(his, tag) {
|
||||
var max = Math.max.apply(null, [
|
||||
his[0].uses,
|
||||
his[1].uses,
|
||||
@@ -232,36 +235,34 @@ function graphDraw(tag, acct_id) {
|
||||
var two = 50 - (his[2].uses / max) * 50
|
||||
var one = 50 - (his[1].uses / max) * 50
|
||||
var zero = 50 - (his[0].uses / max) * 50
|
||||
if (max === 0) {
|
||||
tags =
|
||||
`<br><br><svg version="1.1" viewbox="0 0 60 50" width="60" height="50"></svg>
|
||||
<span style="font-size:200%">${his[0].uses}</span>
|
||||
toot(s)
|
||||
<a onclick=\"tl('tag','${escapeHTML(tag.name)}','${acct_id}','add')" class="pointer">
|
||||
#${escapeHTML(tag.name)}
|
||||
</a> ` +
|
||||
his[0].accounts +
|
||||
lang.lang_src_people
|
||||
} else {
|
||||
tags =
|
||||
`<br><br>
|
||||
<svg version="1.1" viewbox="0 0 60 50" width="60" height="50">
|
||||
<g>
|
||||
<path d="M0,${six} L10,${five} 20,${four} 30,${three} 40,${two} 50,${one} 60,${zero}"
|
||||
style="stroke: #0f8c0c;fill: rgba(13,113,19,.25); stroke-width: 1;">
|
||||
</path>
|
||||
</g>
|
||||
</svg>
|
||||
<span style="font-size:200%">${his[0].uses}</span>
|
||||
toot
|
||||
<a onclick="tl('tag','${escapeHTML(tag.name)}','${acct_id}','add')" class="pointer">
|
||||
#${escapeHTML(tag.name)}
|
||||
</a> ` +
|
||||
his[0].accounts +
|
||||
lang.lang_src_people
|
||||
}
|
||||
|
||||
return tags
|
||||
return `<div class="tagComp">
|
||||
<div class="tagCompSvg">
|
||||
<svg version="1.1" viewbox="0 0 60 50" width="60" height="50">
|
||||
<g>
|
||||
<path d="M0,${six} L10,${five} 20,${four} 30,${three} 40,${two} 50,${one} 60,${zero} 61,61 0,61"
|
||||
style="stroke: #0f8c0c;fill: rgba(13,113,19,.25); stroke-width: 1;">
|
||||
</path>
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="tagCompToot">
|
||||
<span style="font-size:200%">${his[0].uses}</span>
|
||||
</div>
|
||||
<div class="tagCompToots">
|
||||
toot
|
||||
</div>
|
||||
<div class="tagCompTag">
|
||||
<a onclick="tl('tag','${escapeHTML(
|
||||
tag.name
|
||||
)}','${acct_id}','add')" class="pointer" title="${escapeHTML(tag.name)}">
|
||||
#${escapeHTML(tag.name)}
|
||||
</a>
|
||||
</div>
|
||||
<div class="tagCompUser">
|
||||
${his[0].accounts}
|
||||
${lang.lang_src_people}
|
||||
</div>
|
||||
</div>`
|
||||
}
|
||||
/*
|
||||
<svg version="1.1" viewbox="0 0 50 300" width="100%" height="50">
|
||||
@@ -303,40 +304,54 @@ function trend() {
|
||||
Object.keys(json).forEach(function(keye) {
|
||||
var tag = json[keye]
|
||||
var his = tag.history
|
||||
var max = Math.max.apply(null, [
|
||||
his[0].uses,
|
||||
his[1].uses,
|
||||
his[2].uses,
|
||||
his[3].uses,
|
||||
his[4].uses,
|
||||
his[5].uses,
|
||||
his[6].uses
|
||||
])
|
||||
var six = 50 - (his[6].uses / max) * 50
|
||||
var five = 50 - (his[5].uses / max) * 50
|
||||
var four = 50 - (his[4].uses / max) * 50
|
||||
var three = 50 - (his[3].uses / max) * 50
|
||||
var two = 50 - (his[2].uses / max) * 50
|
||||
var one = 50 - (his[1].uses / max) * 50
|
||||
var zero = 50 - (his[0].uses / max) * 50
|
||||
tags =
|
||||
`<svg version="1.1" viewbox="0 0 60 50" width="60" height="50">
|
||||
<g>
|
||||
<path d="M0,${six} L10,${five} 20,${four} 30,${three} 40,${two} 50,${one} 60,${zero}"
|
||||
style="stroke: #0f8c0c;fill: rgba(13,113,19,.25); stroke-width: 1;">
|
||||
</path>
|
||||
</g>
|
||||
</svg>
|
||||
<span style="font-size:200%">${his[0].uses}</span>
|
||||
toot
|
||||
<a onclick="tl('tag','${escapeHTML(tag.name)}','${acct_id}','add')" class="pointer">
|
||||
#${escapeHTML(tag.name)}
|
||||
</a> ` +
|
||||
his[0].accounts +
|
||||
lang.lang_src_people +
|
||||
'<br><br>'
|
||||
tags = graphDrawCore(his, tag)
|
||||
|
||||
$('#src-contents').append(tags)
|
||||
})
|
||||
})
|
||||
}
|
||||
function srcBox(mode) {
|
||||
var selectedText = window.getSelection().toString()
|
||||
if (mode == 'open') {
|
||||
$('#pageSrc').removeClass('hide')
|
||||
} else if (mode == 'close') {
|
||||
if(!selectedText) {
|
||||
$('#pageSrc').addClass('hide')
|
||||
$('#pageSrc').removeClass('keep')
|
||||
}
|
||||
} else {
|
||||
$('#pageSrc').toggleClass('hide')
|
||||
}
|
||||
if(!$('#pageSrc').hasClass('keep')) {
|
||||
$('#pageSrcInput').val(selectedText)
|
||||
}
|
||||
}
|
||||
$('#pageSrcInput').click(function() {
|
||||
$('#pageSrc').addClass('keep')
|
||||
})
|
||||
$('#pageSrcInput').on('input', function(evt) {
|
||||
if(!$('#pageSrcInput').val()) {
|
||||
$('#pageSrc').removeClass('keep')
|
||||
}
|
||||
})
|
||||
document.addEventListener('selectionchange', function() {
|
||||
var selectedText = window.getSelection().toString()
|
||||
if (selectedText && !$('input').is(':focus') && !$('textarea').is(':focus')) {
|
||||
srcBox('open')
|
||||
}
|
||||
})
|
||||
function doSrc(type) {
|
||||
$('#pageSrc').addClass('hide')
|
||||
$('#pageSrc').removeClass('keep')
|
||||
var q = $('#pageSrcInput').val()
|
||||
if(type == 'web') {
|
||||
var start = localStorage.getItem('srcUrl')
|
||||
if(!start) {
|
||||
start = 'https://google.com/search?q={q}'
|
||||
}
|
||||
start = start.replace(/{q}/, q)
|
||||
postMessage(["openUrl", start], "*")
|
||||
} else if(type == 'ts') {
|
||||
tsAdd(q)
|
||||
}
|
||||
}
|
@@ -10,7 +10,8 @@ if (location.search) {
|
||||
}
|
||||
//よく使うタグ
|
||||
function tagShow(tag) {
|
||||
$('[data-tag=' + decodeURI(tag).toLowerCase() + ']').toggleClass('hide')
|
||||
console.log('[data-regTag=' + decodeURI(tag).toLowerCase() + ']')
|
||||
$('[data-regTag=' + decodeURI(tag).toLowerCase() + ']').toggleClass('hide')
|
||||
}
|
||||
//タグ追加
|
||||
function tagPin(tag) {
|
||||
@@ -69,7 +70,7 @@ function favTag() {
|
||||
tags =
|
||||
tags +
|
||||
`<a onclick="tagShow('${tag}')" class="pointer">#${tag}</a>
|
||||
${nowon}<span class="hide" data-tag="${tag}">
|
||||
${nowon}<span class="hide" data-tag="${tag}" data-regTag="${tag.toLowerCase()}">
|
||||
<a onclick=\"tagTL('tag','${tag}',false,'add')" class="pointer" title="${lang.lang_parse_tagTL.replace('{{tag}}', '#' + tag)}">
|
||||
TL
|
||||
</a>
|
||||
@@ -124,7 +125,7 @@ function trendTag() {
|
||||
tags =
|
||||
tags +
|
||||
`<a onclick="tagShow('${tag}')" class="pointer">#${tag}</a>
|
||||
<span class="hide" data-tag="${tag}">
|
||||
<span class="hide" data-tag="${tag}" data-regTag="${tag.toLowerCase()}">
|
||||
<a onclick=\"tagTL('tag','${tag}',false,'add')" class="pointer" title="#${tag}のタイムライン">TL</a>
|
||||
<a onclick="show();brInsert('#${tag}')" class="pointer" title="#${tag}でトゥート">
|
||||
Toot
|
||||
|
@@ -64,6 +64,9 @@ function tl(type, data, acct_id, tlid, delc, voice, mode) {
|
||||
)
|
||||
$('#notice_icon_' + tlid).text('bookmark')
|
||||
return
|
||||
} else if (type == 'home') {
|
||||
//ホームならお知らせ「も」取りに行く
|
||||
announ(acct_id, tlid);
|
||||
}
|
||||
localStorage.setItem('now', type)
|
||||
todo(cap(type) + ' TL Loading...')
|
||||
@@ -311,6 +314,8 @@ function reload(type, cc, acct_id, tlid, data, mute, delc, voice, mode) {
|
||||
}
|
||||
} else if (typeA == 'filters_changed') {
|
||||
filterUpdate(acct_id)
|
||||
} else if (~typeA.indexOf('announcement')) {
|
||||
announ(acct_id, tlid)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1167,3 +1172,42 @@ function getBookmark(acct_id, tlid, more) {
|
||||
}
|
||||
}
|
||||
}
|
||||
//Announcement
|
||||
function announ(acct_id, tlid) {
|
||||
var at = localStorage.getItem('acct_' + acct_id + '_at')
|
||||
var domain = localStorage.getItem('domain_' + acct_id)
|
||||
var start = 'https://' + domain + '/api/v1/announcements'
|
||||
var httpreq = new XMLHttpRequest()
|
||||
httpreq.open('GET', start, true)
|
||||
httpreq.setRequestHeader('Content-Type', 'application/json')
|
||||
httpreq.setRequestHeader('Authorization', 'Bearer ' + at)
|
||||
httpreq.responseType = 'json'
|
||||
httpreq.send()
|
||||
httpreq.onreadystatechange = function() {
|
||||
if (httpreq.readyState === 4) {
|
||||
var json = httpreq.response
|
||||
if (this.status !== 200) {
|
||||
setLog(start, this.status, this.response)
|
||||
}
|
||||
if (json.length > 0) {
|
||||
$('.notf-announ_' + acct_id).removeClass('hide')
|
||||
var ct = 0
|
||||
for (var i = 0; i < json.length; i++) {
|
||||
if (localStorage.getItem('announ_' + acct_id) == json[i].id) {
|
||||
break
|
||||
}
|
||||
ct++
|
||||
}
|
||||
if(ct > 0) {
|
||||
$('.notf-announ_' + acct_id + '_ct').text(ct)
|
||||
}
|
||||
} else {
|
||||
$('.notf-announ_' + acct_id).addClass('hide')
|
||||
}
|
||||
var templete = announParse(json, acct_id, tlid)
|
||||
$('#announce_' + tlid).html(templete)
|
||||
jQuery('time.timeago').timeago()
|
||||
todc()
|
||||
}
|
||||
}
|
||||
}
|
@@ -53,7 +53,7 @@ function imgCont(type) {
|
||||
$('#imagemodal').attr('data-image', murl)
|
||||
//表示はリモートを使うか(どちらにしろコピーはオリジナル)
|
||||
var remote_img = localStorage.getItem('remote_img')
|
||||
if (remote_img == 'yes') {
|
||||
if (remote_img == 'yes' && ourl != 'null') {
|
||||
murl = ourl
|
||||
}
|
||||
if (murl) {
|
||||
@@ -95,13 +95,20 @@ function imageXhr(id, key, murl) {
|
||||
'loadend',
|
||||
function(event) {
|
||||
var total = event.total
|
||||
$('#imgbyte').text(Math.floor(total/1024))
|
||||
$('#imgbyte').text(Math.floor(total / 1024))
|
||||
var now = event.loaded
|
||||
var per = (now / total) * 100
|
||||
$('#imgprog').text(Math.floor(per))
|
||||
},
|
||||
false
|
||||
)
|
||||
xhr.addEventListener(
|
||||
'error',
|
||||
function(event) {
|
||||
$('#imgmodal').attr('src', murl)
|
||||
},
|
||||
false
|
||||
)
|
||||
xhr.onreadystatechange = function() {
|
||||
if (this.readyState == 4 && this.status == 200) {
|
||||
r = new FileReader()
|
||||
@@ -112,19 +119,22 @@ function imageXhr(id, key, murl) {
|
||||
var width
|
||||
element.onload = function() {
|
||||
var width = element.naturalWidth
|
||||
if(width < 650) {
|
||||
width = 650;
|
||||
}
|
||||
var height = element.naturalHeight
|
||||
var windowH = $(window).height()
|
||||
var windowW = $(window).width()
|
||||
$('#imagemodal').css('bottom', '0')
|
||||
$('#imagemodal img').css('width', 'auto')
|
||||
if (height < windowH) {
|
||||
$('#imagemodal').css('height', height + 60 + 'px')
|
||||
$('#imagemodal img').css('height', '100%')
|
||||
$('#imagemodal').css('height', height + 100 + 'px')
|
||||
$('#imagemodal img').css('height', height + 'px')
|
||||
if (width > windowW * 0.8) {
|
||||
$('#imagemodal').css('width', '80vw')
|
||||
$('#imagemodal img').css('width', '100%')
|
||||
$('#imagemodal img').css('width', 'auto')
|
||||
var heightS = ((windowW * 0.8) / width) * height
|
||||
$('#imagemodal').css('height', heightS + 60 + 'px')
|
||||
$('#imagemodal').css('height', heightS + 100 + 'px')
|
||||
} else {
|
||||
$('#imagemodal').css('width', width + 'px')
|
||||
}
|
||||
@@ -266,9 +276,8 @@ function dlImg() {
|
||||
if (remote_img == 'yes') {
|
||||
murl = ourl
|
||||
}
|
||||
if (localStorage.getItem('savefolder')) {
|
||||
var save = localStorage.getItem('savefolder')
|
||||
} else {
|
||||
var save = localStorage.getItem('savefolder')
|
||||
if (!save || save == 'null') {
|
||||
var save = ''
|
||||
}
|
||||
postMessage(['generalDL', [murl, save, false]], '*')
|
||||
|
@@ -202,7 +202,7 @@ function parseColumn(target, dontclose) {
|
||||
animecss,
|
||||
acct.data
|
||||
)
|
||||
} else if (acct.type == 'bookmark') {
|
||||
} else if (acct.type == 'bookmark') {
|
||||
if (!acct.left_fold) {
|
||||
basekey = key
|
||||
}
|
||||
@@ -224,20 +224,21 @@ function parseColumn(target, dontclose) {
|
||||
animecss,
|
||||
acct.domain
|
||||
)
|
||||
}else {
|
||||
} else {
|
||||
var anime = localStorage.getItem('animation')
|
||||
if (anime == 'yes' || !anime) {
|
||||
var animecss = 'box-anime'
|
||||
} else {
|
||||
var animecss = ''
|
||||
}
|
||||
var unread =
|
||||
`<a id="unread_${key}" onclick="showUnread('${key}','${acct.type}','${acct.domain}')"
|
||||
var unread = `<a id="unread_${key}" onclick="showUnread('${key}','${acct.type}','${acct.domain}')"
|
||||
class="setting nex" title="${lang.lang_layout_unread}">
|
||||
<i class="material-icons waves-effect nex">more</i>
|
||||
</a>`
|
||||
var notfDomain = acct.domain
|
||||
var notfKey = key
|
||||
</a>${lang.lang_layout_unread}<br>`
|
||||
var notfDomain = acct.domain
|
||||
var notfKey = key
|
||||
var if_tag = ''
|
||||
var if_tag_btn = ''
|
||||
if (acct.type == 'notf') {
|
||||
var exclude =
|
||||
lang.lang_excluded +
|
||||
@@ -281,20 +282,31 @@ function parseColumn(target, dontclose) {
|
||||
</button>`
|
||||
}
|
||||
exclude = exclude + '<br>'
|
||||
notfDomain = "dummy"
|
||||
notfKey = "dummy"
|
||||
notfDomain = 'dummy'
|
||||
notfKey = 'dummy'
|
||||
} else if (acct.type == 'home') {
|
||||
var exclude =
|
||||
`<a onclick="ebtToggle('${key}')" class="setting nex">
|
||||
var exclude = `<a onclick="ebtToggle('${key}')" class="setting nex">
|
||||
<i class="fas fa-retweet waves-effect nex" title="${lang.lang_layout_excludingbt}" style="font-size:24px"></i>
|
||||
<span id="sta-bt-${key}">Off</span>
|
||||
</a>
|
||||
${lang.lang_layout_excludingbt}
|
||||
<br>`
|
||||
} else if (acct.type == 'tag') {
|
||||
if_tag = `<div class="column-hide notf-indv-box" id="tag-box_${key}" style="padding:5px;">
|
||||
Base: ${acct.data}<br>
|
||||
<div id="tagManager-${key}"></div>
|
||||
<button onclick="addTag('${key}')" class="btn waves-effect" style="width: 100%">Add</button>
|
||||
</div>`
|
||||
if_tag_btn = `<a onclick="setToggleTag('${key}')" class="setting nex"
|
||||
title="${lang.lang_layout_tagManager}" style="width:30px">
|
||||
<i class="material-icons waves-effect nex">note_add</i>
|
||||
</a>`
|
||||
unread = ''
|
||||
} else {
|
||||
var exclude = ''
|
||||
unread = ''
|
||||
}
|
||||
|
||||
var markers = localStorage.getItem('markers')
|
||||
if (markers == 'yes') {
|
||||
markers = true
|
||||
@@ -307,18 +319,15 @@ function parseColumn(target, dontclose) {
|
||||
if (!acct.left_fold) {
|
||||
basekey = key
|
||||
if (!numtarget) {
|
||||
var basehtml =
|
||||
`<div style="${css}" class="box ${animecss}" id="timeline_box_${basekey}_parentBox"></div>`
|
||||
var basehtml = `<div style="${css}" class="box ${animecss}" id="timeline_box_${basekey}_parentBox"></div>`
|
||||
$('#timeline-container').append(basehtml)
|
||||
}
|
||||
var left_hold =
|
||||
`<a onclick="leftFoldSet('${key}')" class="setting nex">
|
||||
var left_hold = `<a onclick="leftFoldSet('${key}')" class="setting nex">
|
||||
<i class="material-icons waves-effect nex" title="${lang.lang_layout_leftFold}">view_agenda</i>
|
||||
</a>
|
||||
${lang.lang_layout_leftFold}<br>`
|
||||
} else {
|
||||
var left_hold =
|
||||
`<a onclick="leftFoldRemove('${key}')" class="setting nex">
|
||||
var left_hold = `<a onclick="leftFoldRemove('${key}')" class="setting nex">
|
||||
<i class="material-icons waves-effect nex" title="${lang.lang_layout_leftUnfold}">view_column</i>
|
||||
</a>
|
||||
${lang.lang_layout_leftUnfold}<br>`
|
||||
@@ -341,8 +350,7 @@ function parseColumn(target, dontclose) {
|
||||
} else {
|
||||
var addHeight = ''
|
||||
}
|
||||
var html =
|
||||
`
|
||||
var html = `
|
||||
<div class="boxIn" id="timeline_box_${key}_box" tlid="${key}" data-acct="${acct.domain}" style="${addHeight}">
|
||||
<div class="notice-box z-depth-2" id="menu_${key}" style="${insert}">
|
||||
<div class="area-notice">
|
||||
@@ -360,7 +368,12 @@ function parseColumn(target, dontclose) {
|
||||
title="${unique_notf}" ${icnsert}>
|
||||
<i class="material-icons waves-effect nex notf-icon_${acct.domain}">notifications</i>
|
||||
</a>
|
||||
${unread}
|
||||
<span class="cbadge hide notf-announ_${acct.domain}" style="margin-right:0"
|
||||
onclick="notfToggle('${acct.domain}','${key}')" title="${lang.lang_layout_announ}">
|
||||
<i class="fas fa-bullhorn"></i>
|
||||
<span class="notf-announ_${acct.domain}_ct"></span>
|
||||
</span>
|
||||
${if_tag_btn}
|
||||
</div>
|
||||
<div class="area-sta">
|
||||
<span class="new badge teal notf-reply_${acct.domain} hide" data-badge-caption="Reply">0</span>
|
||||
@@ -380,10 +393,12 @@ function parseColumn(target, dontclose) {
|
||||
</div>
|
||||
</div>
|
||||
<div class="column-hide notf-indv-box z-depth-4" id="notf-box_${notfKey}">
|
||||
<div id="announce_${notfKey}" style="border: 1px solid"></div>
|
||||
<div id="notifications_${notfKey}" data-notf="${notfDomain}" data-type="notf" class="notf-timeline">
|
||||
</div>
|
||||
</div>
|
||||
<div class="column-hide notf-indv-box" id="util-box_${key}" style="padding:5px;">
|
||||
${unread}
|
||||
${exclude}${left_hold}
|
||||
<a onclick="mediaToggle('${key}')" class="setting nex">
|
||||
<i class="material-icons waves-effect nex" title="${lang.lang_layout_mediafil}">perm_media</i>
|
||||
@@ -412,7 +427,7 @@ function parseColumn(target, dontclose) {
|
||||
${lang.lang_layout_headercolor}
|
||||
<br>
|
||||
<div id="picker_${key}" class="color-picker"></div>
|
||||
</div>
|
||||
</div>${if_tag}
|
||||
<div class="tl-box" tlid="${key}">
|
||||
<div id="timeline_${key}" class="tl ${acct.type}-timeline " tlid="${key}"
|
||||
data-type="${acct.type}" data-acct="${acct.domain}" data-const="${acct.type}_${acct.domain}">
|
||||
@@ -663,9 +678,41 @@ function setToggle(tlid) {
|
||||
)
|
||||
}
|
||||
}
|
||||
//タグトグル
|
||||
//設定トグル
|
||||
function setToggleTag(tlid) {
|
||||
if ($('#tag-box_' + tlid).hasClass('column-hide')) {
|
||||
$('#tag-box_' + tlid).css('display', 'block')
|
||||
$('#tag-box_' + tlid).animate(
|
||||
{
|
||||
height: '200px'
|
||||
},
|
||||
{
|
||||
duration: 300,
|
||||
complete: function() {
|
||||
$('#tag-box_' + tlid).css('overflow-y', 'scroll')
|
||||
$('#tag-box_' + tlid).removeClass('column-hide')
|
||||
}
|
||||
}
|
||||
)
|
||||
} else {
|
||||
$('#tag-box_' + tlid).css('overflow-y', 'hidden')
|
||||
$('#tag-box_' + tlid).animate(
|
||||
{
|
||||
height: '0'
|
||||
},
|
||||
{
|
||||
duration: 300,
|
||||
complete: function() {
|
||||
$('#tag-box_' + tlid).addClass('column-hide')
|
||||
$('#tag-box_' + tlid).css('display', 'none')
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
function colorpicker(key) {
|
||||
temp =
|
||||
`<div onclick="coloradd('${key}','def','def')" class="pointer">Default</div>
|
||||
temp = `<div onclick="coloradd('${key}','def','def')" class="pointer">Default</div>
|
||||
<div onclick="coloradd('${key}','f44336','white')" class="red white-text pointer">Red</div>
|
||||
<div onclick="coloradd('${key}','e91e63','white')" class="pink white-text pointer">Pink</div>
|
||||
<div onclick="coloradd('${key}','9c27b0','white')" class="purple white-text pointer">Purple</div>
|
||||
@@ -717,8 +764,7 @@ function coloradd(key, bg, txt) {
|
||||
}
|
||||
//禁断のTwitter
|
||||
function webviewParse(url, key, insert, icnsert, css) {
|
||||
var html =
|
||||
`<div class="box" id="timeline_box_${key}_box" tlid="${key}" style="${css}">
|
||||
var html = `<div class="box" id="timeline_box_${key}_box" tlid="${key}" style="${css}">
|
||||
<div class="notice-box z-depth-2" id="menu_${key}" style="${insert}">
|
||||
<div class="area-notice">
|
||||
<i class="fab fa-twitter waves-effect" id="notice_icon_${key}" style="font-size:40px; padding-top:25%;"></i>
|
||||
@@ -753,25 +799,21 @@ function webviewParse(url, key, insert, icnsert, css) {
|
||||
function unstreamingTL(type, key, basekey, insert, icnsert, left_fold, css, animecss, data) {
|
||||
//type名が関数名
|
||||
if (!left_fold) {
|
||||
var basehtml =
|
||||
`<div style="${css}" class="box ${animecss}" id="timeline_box_${basekey}_parentBox"></div>`
|
||||
var basehtml = `<div style="${css}" class="box ${animecss}" id="timeline_box_${basekey}_parentBox"></div>`
|
||||
$('#timeline-container').append(basehtml)
|
||||
var left_hold =
|
||||
`<a onclick="leftFoldSet('${key}')" class="setting nex">
|
||||
var left_hold = `<a onclick="leftFoldSet('${key}')" class="setting nex">
|
||||
<i class="material-icons waves-effect nex" title="${lang.lang_layout_leftFold}">view_agenda</i>
|
||||
</a>
|
||||
${lang.lang_layout_leftFold}
|
||||
</span><br>`
|
||||
} else {
|
||||
var left_hold =
|
||||
`<a onclick="leftFoldRemove('${key}')" class="setting nex">
|
||||
var left_hold = `<a onclick="leftFoldRemove('${key}')" class="setting nex">
|
||||
<i class="material-icons waves-effect nex" title="${lang.lang_layout_leftUnfold}">view_column</i>
|
||||
</a>
|
||||
${lang.lang_layout_leftUnfold}
|
||||
</span><br>`
|
||||
}
|
||||
var html =
|
||||
`<div class="boxIn" id="timeline_box_${key}_box" tlid="${key}">
|
||||
var html = `<div class="boxIn" id="timeline_box_${key}_box" tlid="${key}">
|
||||
<div class="notice-box z-depth-2" id="menu_${key}" style="${insert} ">
|
||||
<div class="area-notice">
|
||||
<i class="material-icons waves-effect" id="notice_icon_${key}" style="font-size:40px; padding-top:25%;"
|
||||
@@ -811,9 +853,9 @@ function unstreamingTL(type, key, basekey, insert, icnsert, left_fold, css, anim
|
||||
</div>
|
||||
</div>`
|
||||
$('#timeline_box_' + basekey + '_parentBox').append(html)
|
||||
if(type == 'tootsearch'){
|
||||
if (type == 'tootsearch') {
|
||||
tootsearch(key, data)
|
||||
}else if(type == 'bookmark'){
|
||||
} else if (type == 'bookmark') {
|
||||
console.log(key, data)
|
||||
bookmark(key, data)
|
||||
}
|
||||
@@ -824,7 +866,7 @@ function unstreamingTL(type, key, basekey, insert, icnsert, left_fold, css, anim
|
||||
voiceCheck(key)
|
||||
return true
|
||||
}
|
||||
function bookmark(key, data){
|
||||
function bookmark(key, data) {
|
||||
console.log(key, data)
|
||||
if (localStorage.getItem('voice_' + key)) {
|
||||
var voice = true
|
||||
|
@@ -122,6 +122,7 @@ $('#timeline-container,#group').click(function(e) {
|
||||
selectedColumn = 0
|
||||
selectedToot = 0
|
||||
localStorage.removeItem('nohide')
|
||||
srcBox('close')
|
||||
})
|
||||
$('#contextWrap').click(function(e) {
|
||||
$('#contextWrap').addClass('hide')
|
||||
|
@@ -125,10 +125,6 @@ function nowplaying(mode) {
|
||||
}
|
||||
}
|
||||
function npCore(arg) {
|
||||
if (arg.cmd) {
|
||||
console.error(arg);
|
||||
return;
|
||||
}
|
||||
console.table(arg);
|
||||
var content = localStorage.getItem("np-temp");
|
||||
if (!content || content == "" || content == "null") {
|
||||
|
@@ -1,32 +1,35 @@
|
||||
//テーマ適用
|
||||
function themes(theme) {
|
||||
if (!theme) {
|
||||
var theme = localStorage.getItem("theme");
|
||||
var theme = localStorage.getItem('theme')
|
||||
if (!theme) {
|
||||
var theme = "black";
|
||||
localStorage.setItem("theme", "black");
|
||||
var theme = 'black'
|
||||
localStorage.setItem('theme', 'black')
|
||||
}
|
||||
}
|
||||
var el = document.getElementsByTagName("html")[0]
|
||||
var el = document.getElementsByTagName('html')[0]
|
||||
|
||||
el.classList.remove('indigotheme');
|
||||
el.classList.remove('greentheme');
|
||||
el.classList.remove('browntheme');
|
||||
el.classList.remove('blacktheme');
|
||||
el.classList.remove('bluetheme');
|
||||
el.classList.remove('customtheme');
|
||||
el.classList.add(theme + "theme");
|
||||
var font = localStorage.getItem("font");
|
||||
el.classList.remove('indigotheme')
|
||||
el.classList.remove('greentheme')
|
||||
el.classList.remove('browntheme')
|
||||
el.classList.remove('blacktheme')
|
||||
el.classList.remove('bluetheme')
|
||||
el.classList.remove('polartheme')
|
||||
el.classList.remove('snowtheme')
|
||||
el.classList.remove('customtheme')
|
||||
el.classList.add(theme + 'theme')
|
||||
var font = localStorage.getItem('font')
|
||||
if (font) {
|
||||
el.style.fontFamily = font;
|
||||
font = font.replace(/"(.+)"/, '$1')
|
||||
el.style.fontFamily = '"' + font + '"'
|
||||
} else {
|
||||
el.style.fontFamily = "";
|
||||
el.style.fontFamily = ''
|
||||
}
|
||||
if (theme == "custom") {
|
||||
if (localStorage.getItem("customtheme-id")) {
|
||||
postMessage(["themeCSSRequest", localStorage.getItem("customtheme-id")], "*")
|
||||
if (theme == 'custom') {
|
||||
if (localStorage.getItem('customtheme-id')) {
|
||||
postMessage(['themeCSSRequest', localStorage.getItem('customtheme-id')], '*')
|
||||
}
|
||||
}
|
||||
el.style.backgroundColor = "var(--bg)";
|
||||
el.style.backgroundColor = 'var(--bg)'
|
||||
}
|
||||
themes();
|
||||
themes()
|
||||
|
@@ -111,7 +111,7 @@ function trendTagonTip() {
|
||||
`<a onclick="tagShow('${tag}')" class="pointer">
|
||||
#${escapeHTML(tag)}
|
||||
</a>
|
||||
<span class="hide" data-tag="${tag}">
|
||||
<span class="hide" data-tag="${tag}" data-regTag="${tag.toLowerCase()}">
|
||||
<a onclick="tagTL('tag','${tag}',false,'add')" class="pointer" title="#${tag}のタイムライン">TL</a>
|
||||
<a onclick="show();brInsert('#${tag}')" class="pointer" title="#${tag}でトゥート">Toot</a>
|
||||
</span><br>`
|
||||
|
28
app/main.js
@@ -55,13 +55,14 @@ if (process.argv.indexOf('--dev') === -1) {
|
||||
'|||| /////\n' +
|
||||
'||||//////'
|
||||
)
|
||||
console.log('Welcome!')
|
||||
console.log('If it does not show the window, you might forget `npm run construct`.')
|
||||
}
|
||||
var info_path = join(app.getPath('userData'), 'window-size.json')
|
||||
var max_info_path = join(app.getPath('userData'), 'max-window-size.json')
|
||||
var lang_path = join(app.getPath('userData'), 'language')
|
||||
var ha_path = join(app.getPath('userData'), 'hardwareAcceleration')
|
||||
var ua_path = join(app.getPath('userData'), 'useragent')
|
||||
var frame_path = join(app.getPath('userData'), 'frame')
|
||||
try {
|
||||
fs.readFileSync(ha_path, 'utf8')
|
||||
app.disableHardwareAcceleration()
|
||||
@@ -97,6 +98,16 @@ function isFile(file) {
|
||||
if (err.code === 'ENOENT') return false
|
||||
}
|
||||
}
|
||||
try {
|
||||
var frameRaw = fs.readFileSync(frame_path, 'utf8')
|
||||
if(frameRaw == 'false') {
|
||||
var frame = false
|
||||
} else {
|
||||
var frame = true
|
||||
}
|
||||
} catch {
|
||||
var frame = true
|
||||
}
|
||||
// 全てのウィンドウが閉じたら終了
|
||||
app.on('window-all-closed', function() {
|
||||
electron.session.defaultSession.clearCache(() => {})
|
||||
@@ -141,7 +152,9 @@ function createWindow() {
|
||||
x: window_size.x,
|
||||
y: window_size.y,
|
||||
icon: __dirname + '/desk.png',
|
||||
show: false
|
||||
show: false,
|
||||
frame: frame,
|
||||
resizable: true
|
||||
}
|
||||
} else if (platform == 'win32') {
|
||||
var arg = {
|
||||
@@ -156,7 +169,8 @@ function createWindow() {
|
||||
x: window_size.x,
|
||||
y: window_size.y,
|
||||
simpleFullscreen: true,
|
||||
show: false
|
||||
show: false,
|
||||
frame: frame
|
||||
}
|
||||
} else if (platform == 'darwin') {
|
||||
var arg = {
|
||||
@@ -171,7 +185,8 @@ function createWindow() {
|
||||
x: window_size.x,
|
||||
y: window_size.y,
|
||||
simpleFullscreen: true,
|
||||
show: false
|
||||
show: false,
|
||||
frame: frame,
|
||||
}
|
||||
}
|
||||
mainWindow = new BrowserWindow(arg)
|
||||
@@ -280,8 +295,11 @@ function createWindow() {
|
||||
var platform = process.platform
|
||||
var bit = process.arch
|
||||
Menu.setApplicationMenu(
|
||||
Menu.buildFromTemplate(language.template(lang, mainWindow, packaged, dir, dirname))
|
||||
Menu.buildFromTemplate(language.template(lang, mainWindow, packaged, dir, dirname, frame))
|
||||
)
|
||||
if(!frame) {
|
||||
mainWindow.setMenu(null)
|
||||
}
|
||||
//CSS
|
||||
css.css(mainWindow)
|
||||
//アップデータとダウンロード
|
||||
|
151
app/main/dl.js
@@ -1,126 +1,123 @@
|
||||
function dl(mainWindow, lang_path, base, dirname) {
|
||||
const electron = require("electron");
|
||||
const shell = electron.shell;
|
||||
const fs = require("fs");
|
||||
const { download } = require('electron-dl');
|
||||
const BrowserWindow = electron.BrowserWindow;
|
||||
const dialog = electron.dialog;
|
||||
var updatewin = null;
|
||||
var ipc = electron.ipcMain;
|
||||
const app = electron.app;
|
||||
const join = require('path').join;
|
||||
ipc.on('update', function (e, x, y) {
|
||||
|
||||
var platform = process.platform;
|
||||
var bit = process.arch;
|
||||
if (platform != "others") {
|
||||
const electron = require('electron')
|
||||
const shell = electron.shell
|
||||
const fs = require('fs')
|
||||
const { download } = require('electron-dl')
|
||||
const BrowserWindow = electron.BrowserWindow
|
||||
const dialog = electron.dialog
|
||||
var updatewin = null
|
||||
var ipc = electron.ipcMain
|
||||
const app = electron.app
|
||||
const join = require('path').join
|
||||
ipc.on('update', function(e, x, y) {
|
||||
var platform = process.platform
|
||||
var bit = process.arch
|
||||
if (platform != 'others') {
|
||||
updatewin = new BrowserWindow({
|
||||
webPreferences: {
|
||||
webviewTag: false,
|
||||
nodeIntegration: false,
|
||||
contextIsolation: true,
|
||||
preload: join(dirname,"js", "platform", "preload.js")
|
||||
preload: join(dirname, 'js', 'platform', 'preload.js')
|
||||
},
|
||||
width: 600,
|
||||
height: 400,
|
||||
"transparent": false, // ウィンドウの背景を透過
|
||||
"frame": false, // 枠の無いウィンドウ
|
||||
"resizable": false
|
||||
transparent: false, // ウィンドウの背景を透過
|
||||
frame: false, // 枠の無いウィンドウ
|
||||
resizable: false
|
||||
})
|
||||
var lang = fs.readFileSync(lang_path, 'utf8');
|
||||
updatewin.loadURL(base + lang + '/update.html');
|
||||
return "true"
|
||||
var lang = fs.readFileSync(lang_path, 'utf8')
|
||||
updatewin.loadURL(base + lang + '/update.html')
|
||||
return 'true'
|
||||
} else {
|
||||
return false;
|
||||
return false
|
||||
}
|
||||
})
|
||||
//アプデDL
|
||||
ipc.on('download-btn', (e, args) => {
|
||||
function dl(url, file, dir, e) {
|
||||
|
||||
e.sender.webContents.send('mess', "ダウンロードを開始します。");
|
||||
e.sender.webContents.send('mess', 'ダウンロードを開始します。')
|
||||
const opts = {
|
||||
directory: dir,
|
||||
openFolderWhenDone: true,
|
||||
onProgress: function (event) {
|
||||
e.sender.webContents.send('prog', event);
|
||||
onProgress: function(event) {
|
||||
e.sender.webContents.send('prog', event)
|
||||
},
|
||||
saveAs: false
|
||||
};
|
||||
download(updatewin,
|
||||
url, opts)
|
||||
}
|
||||
download(updatewin, url, opts)
|
||||
.then(dl => {
|
||||
e.sender.webContents.send('mess', "ダウンロードが完了しました。");
|
||||
app.quit();
|
||||
e.sender.webContents.send('mess', 'ダウンロードが完了しました。')
|
||||
app.quit()
|
||||
})
|
||||
.catch(console.error);
|
||||
.catch(console.error)
|
||||
}
|
||||
var platform = process.platform;
|
||||
var bit = process.arch;
|
||||
dialog.showSaveDialog(null, {
|
||||
title: 'Save',
|
||||
defaultPath: app.getPath('home') + "/" + args[1]
|
||||
}, (savedFiles) => {
|
||||
console.log(savedFiles);
|
||||
if (!savedFiles) {
|
||||
return false;
|
||||
var platform = process.platform
|
||||
var bit = process.arch
|
||||
dialog.showSaveDialog(
|
||||
null,
|
||||
{
|
||||
title: 'Save',
|
||||
defaultPath: app.getPath('home') + '/' + args[1]
|
||||
},
|
||||
savedFiles => {
|
||||
console.log(savedFiles)
|
||||
if (!savedFiles) {
|
||||
return false
|
||||
}
|
||||
if (platform == 'win32') {
|
||||
var m = savedFiles.match(/(.+)\\(.+)$/)
|
||||
} else {
|
||||
var m = savedFiles.match(/(.+)\/(.+)$/)
|
||||
}
|
||||
//console.log(m);
|
||||
if (isExistFile(savedFiles)) {
|
||||
fs.unlinkSync(savedFiles)
|
||||
}
|
||||
dl(args[0], args[1], m[1], e)
|
||||
}
|
||||
if (platform == "win32") {
|
||||
var m = savedFiles.match(/(.+)\\(.+)$/);
|
||||
} else {
|
||||
var m = savedFiles.match(/(.+)\/(.+)$/);
|
||||
}
|
||||
//console.log(m);
|
||||
if (isExistFile(savedFiles)) {
|
||||
fs.unlinkSync(savedFiles);
|
||||
}
|
||||
dl(args[0], args[1], m[1], e);
|
||||
});
|
||||
});
|
||||
)
|
||||
})
|
||||
|
||||
function isExistFile(file) {
|
||||
try {
|
||||
fs.statSync(file);
|
||||
fs.statSync(file)
|
||||
return true
|
||||
} catch (err) {
|
||||
if (err.code === 'ENOENT') return false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ipc.on('general-dl', (event, args) => {
|
||||
|
||||
var name = "";
|
||||
var platform = process.platform;
|
||||
var bit = process.arch;
|
||||
if (args[1] == "") {
|
||||
if (platform == "win32") {
|
||||
var dir = app.getPath('home') + "\\Pictures\\TheDesk";
|
||||
} else if (platform == "linux" || platform == "darwin") {
|
||||
var dir = app.getPath('home') + "/Pictures/TheDesk";
|
||||
var name = ''
|
||||
var platform = process.platform
|
||||
var bit = process.arch
|
||||
if (args[1] == '') {
|
||||
if (platform == 'win32') {
|
||||
var dir = app.getPath('home') + '\\Pictures\\TheDesk'
|
||||
} else if (platform == 'linux' || platform == 'darwin') {
|
||||
var dir = app.getPath('home') + '/Pictures/TheDesk'
|
||||
}
|
||||
} else {
|
||||
var dir = args[1];
|
||||
var dir = args[1]
|
||||
}
|
||||
const opts = {
|
||||
directory: dir,
|
||||
filename: name,
|
||||
openFolderWhenDone: false,
|
||||
onProgress: function (e) {
|
||||
event.sender.webContents.send('general-dl-prog', e);
|
||||
onProgress: function(e) {
|
||||
event.sender.webContents.send('general-dl-prog', e)
|
||||
},
|
||||
saveAs: false
|
||||
};
|
||||
download(BrowserWindow.getFocusedWindow(),
|
||||
args[0], opts)
|
||||
}
|
||||
download(BrowserWindow.getFocusedWindow(), args[0], opts)
|
||||
.then(dl => {
|
||||
event.sender.webContents.send('general-dl-message', dir);
|
||||
event.sender.webContents.send('general-dl-message', dir)
|
||||
})
|
||||
.catch(console.error);
|
||||
});
|
||||
.catch(console.error)
|
||||
})
|
||||
ipc.on('open-finder', (e, folder) => {
|
||||
|
||||
shell.showItemInFolder(folder)
|
||||
});
|
||||
})
|
||||
}
|
||||
exports.dl = dl;
|
||||
exports.dl = dl
|
||||
|
131
app/main/img.js
@@ -1,43 +1,92 @@
|
||||
function img(mainWindow, dir) {
|
||||
const electron = require("electron");
|
||||
const dialog = electron.dialog;
|
||||
const fs = require("fs");
|
||||
var Jimp = require("jimp");
|
||||
var ipc = electron.ipcMain;
|
||||
const BrowserWindow = electron.BrowserWindow;
|
||||
ipc.on('file-select', (e, args) => {
|
||||
|
||||
dialog.showOpenDialog(null, {
|
||||
properties: ['openFile', 'multiSelections'],
|
||||
title: '添付ファイルを選択',
|
||||
defaultPath: '.',
|
||||
filters: [
|
||||
{ name: 'メディアファイル', extensions: ['jpg', 'png', 'gif', 'bmp', 'jpeg', 'mp4', 'webm'] },
|
||||
{ name: '画像', extensions: ['jpg', 'png', 'gif', 'bmp', 'jpeg'] },
|
||||
{ name: '動画', extensions: ['mp4', 'webm'] },
|
||||
{ name: '全てのファイル', extensions: ['*'] }
|
||||
]
|
||||
}, (fileNames) => {
|
||||
if (!fileNames) {
|
||||
return false;
|
||||
}
|
||||
for (var i = 0; i < fileNames.length; i++) {
|
||||
var path = fileNames[i];
|
||||
var bin = fs.readFileSync(path, 'base64');
|
||||
e.sender.webContents.send('bmp-img-comp', [bin, 'new']);
|
||||
}
|
||||
});
|
||||
});
|
||||
ipc.on('bmp-image', (e, args) => {
|
||||
|
||||
var m = args[0].match(/(.+)\\(.+)\.(.+)$/);
|
||||
Jimp.read(args[0], function (err, lenna) {
|
||||
if (err) throw err;
|
||||
lenna.getBase64(Jimp.MIME_PNG, function (err, src) {
|
||||
e.sender.webContents.send('bmp-img-comp', [src, args[1]]);
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
const electron = require('electron')
|
||||
const dialog = electron.dialog
|
||||
const fs = require('fs')
|
||||
var Jimp = require('jimp')
|
||||
var ipc = electron.ipcMain
|
||||
const BrowserWindow = electron.BrowserWindow
|
||||
ipc.on('file-select', (e, args) => {
|
||||
dialog.showOpenDialog(
|
||||
null,
|
||||
{
|
||||
properties: ['openFile', 'multiSelections'],
|
||||
title: '添付ファイルを選択',
|
||||
defaultPath: '.',
|
||||
filters: [
|
||||
{
|
||||
name: 'メディアファイル',
|
||||
extensions: ['jpg', 'png', 'gif', 'bmp', 'jpeg', 'mp4', 'webm']
|
||||
},
|
||||
{ name: '画像', extensions: ['jpg', 'png', 'gif', 'bmp', 'jpeg'] },
|
||||
{ name: '動画', extensions: ['mp4', 'webm'] },
|
||||
{ name: '全てのファイル', extensions: ['*'] }
|
||||
]
|
||||
},
|
||||
fileNames => {
|
||||
if (!fileNames) {
|
||||
return false
|
||||
}
|
||||
for (var i = 0; i < fileNames.length; i++) {
|
||||
var path = fileNames[i]
|
||||
var bin = fs.readFileSync(path, 'base64')
|
||||
e.sender.webContents.send('resizeJudgement', [bin, 'new'])
|
||||
}
|
||||
}
|
||||
)
|
||||
})
|
||||
ipc.on('bmp-image', (e, args) => {
|
||||
Jimp.read(args[0], function(err, lenna) {
|
||||
if (err) throw err
|
||||
lenna.getBase64(Jimp.MIME_PNG, function(err, src) {
|
||||
e.sender.webContents.send('bmp-img-comp', [src, args[1]])
|
||||
})
|
||||
})
|
||||
})
|
||||
ipc.on('resize-image', (e, args) => {
|
||||
var ext = args[0].toString().slice(args[0].indexOf('/') + 1, args[0].indexOf(';'))
|
||||
if (ext == 'jpeg') {
|
||||
var use = 'MIME_JPEG'
|
||||
} else {
|
||||
var use = 'MIME_PNG'
|
||||
}
|
||||
var b64 = args[0].replace(/^data:\w+\/\w+;base64,/, '')
|
||||
var decodedFile = new Buffer(b64, 'base64')
|
||||
Jimp.read(decodedFile, function(err, lenna) {
|
||||
if (err) throw err
|
||||
lenna.scaleToFit(args[1], args[1]).getBase64(Jimp[use], function(err, src) {
|
||||
e.sender.webContents.send('bmp-img-comp', [src, args[1]])
|
||||
})
|
||||
})
|
||||
})
|
||||
ipc.on('stamp-image', (e, args) => {
|
||||
var text = args[1]
|
||||
var b64 = args[0].replace(/^data:\w+\/\w+;base64,/, '')
|
||||
var decodedFile = new Buffer(b64, 'base64')
|
||||
console.log(text)
|
||||
Jimp.read(decodedFile, function(err, image) {
|
||||
if (err) throw err
|
||||
Jimp.loadFont(Jimp.FONT_SANS_16_BLACK).then(font => {
|
||||
var evWidth = Jimp.measureText(font, text)
|
||||
var width = image.bitmap.width
|
||||
var height = image.bitmap.height
|
||||
var left = width - evWidth - 10
|
||||
var top = height - 30
|
||||
var color = Jimp.intToRGBA(image.getPixelColor(left, top))
|
||||
console.log(left, top, color)
|
||||
var ave = (color.r + color.g + color.b) / 3
|
||||
if (ave > 128) {
|
||||
image.print(font, left, top, args[1]).getBase64(Jimp.MIME_PNG, function(err, src) {
|
||||
e.sender.webContents.send('bmp-img-comp', [src, args[1], true])
|
||||
})
|
||||
} else {
|
||||
Jimp.loadFont(Jimp.FONT_SANS_16_WHITE).then(font => {
|
||||
image.print(font, left, top, args[1]).getBase64(Jimp.MIME_PNG, function(err, src) {
|
||||
e.sender.webContents.send('bmp-img-comp', [src, args[1], true])
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
exports.img = img;
|
||||
exports.img = img
|
||||
|
@@ -1,12 +1,19 @@
|
||||
// Create the Application's main menu
|
||||
function templete(lang, mainWindow, packaged, dir, dirname) {
|
||||
function templete(lang, mainWindow, packaged, dir, dirname, frame) {
|
||||
//フレーム
|
||||
if(lang !="ja" && lang != "en"){
|
||||
lang = "en"
|
||||
}
|
||||
const electron = require("electron");
|
||||
const ipc = electron.ipcMain;
|
||||
const app = electron.app;
|
||||
const BrowserWindow = electron.BrowserWindow;
|
||||
const join = require('path').join;
|
||||
ipc.on("frameCheck", function(e, arg) {
|
||||
if(!frame) {
|
||||
e.sender.webContents.send("frame", "");
|
||||
}
|
||||
});
|
||||
const dict = {
|
||||
"application": {
|
||||
"ja": "アプリケーション",
|
||||
|
@@ -1,36 +1,35 @@
|
||||
function np(mainWindow) {
|
||||
const electron = require("electron");
|
||||
const join = require('path').join;
|
||||
const app = electron.app;
|
||||
const fs = require("fs");
|
||||
var ipc = electron.ipcMain;
|
||||
ipc.on('itunes', async (e, args) => {
|
||||
//Verified on Windows
|
||||
console.log("Access");
|
||||
if (args[0] == "set") {
|
||||
|
||||
} else {
|
||||
var platform = process.platform;
|
||||
var bit = process.arch;
|
||||
if (platform == "darwin") {
|
||||
try {
|
||||
const nowplaying = require("itunes-nowplaying-mac");
|
||||
let value = await nowplaying();
|
||||
|
||||
const artwork = await nowplaying.getThumbnailBuffer(value.databaseID);
|
||||
const base64 = artwork.toString('base64');
|
||||
value.artwork = base64
|
||||
e.sender.webContents.send('itunes-np', value);
|
||||
} catch (error) {
|
||||
// エラーを返す
|
||||
console.error(error);
|
||||
e.sender.webContents.send('itunes-np', error);
|
||||
}
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
const electron = require('electron')
|
||||
const ipc = electron.ipcMain
|
||||
ipc.on('itunes', async (e, args) => {
|
||||
console.log('Access')
|
||||
if (args[0] == 'set') {
|
||||
} else {
|
||||
var platform = process.platform
|
||||
var bit = process.arch
|
||||
if (platform == 'darwin') {
|
||||
try {
|
||||
const nowplaying = require('itunes-nowplaying-mac')
|
||||
let value = await nowplaying()
|
||||
try {
|
||||
const artwork = await nowplaying.getThumbnailBuffer(value.databaseID)
|
||||
if(artwork) {
|
||||
const base64 = artwork.toString('base64')
|
||||
value.artwork = base64
|
||||
e.sender.webContents.send('itunes-np', value)
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
e.sender.webContents.send('itunes-np', value)
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
}
|
||||
} else {
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
exports.TheDeskNowPlaying = np;
|
||||
exports.TheDeskNowPlaying = np
|
||||
|
@@ -12,6 +12,7 @@ function system(mainWindow, dir, lang, dirname) {
|
||||
var ua_path = join(app.getPath("userData"), "useragent");
|
||||
var lang_path = join(app.getPath("userData"), "language");
|
||||
var log_dir_path = join(app.getPath("userData"), "logs");
|
||||
var frame_path = join(app.getPath("userData"), "frame");
|
||||
//ログ
|
||||
var today = new Date();
|
||||
//今日のやつ
|
||||
@@ -45,7 +46,7 @@ function system(mainWindow, dir, lang, dirname) {
|
||||
//エクスポートのダイアログ
|
||||
ipc.on("exportSettings", function(e, args) {
|
||||
dialog.showSaveDialog(
|
||||
null,
|
||||
mainWindow,
|
||||
{
|
||||
title: "Export",
|
||||
properties: ["openFile", "createDirectory"],
|
||||
@@ -62,13 +63,14 @@ function system(mainWindow, dir, lang, dirname) {
|
||||
//インポートのダイアログ
|
||||
ipc.on("importSettings", function(e, args) {
|
||||
dialog.showOpenDialog(
|
||||
null,
|
||||
mainWindow,
|
||||
{
|
||||
title: "Import",
|
||||
properties: ["openFile"],
|
||||
filters: [{ name: "TheDesk Config", extensions: ["thedeskconfig", "thedeskconfigv2", "json5"] }]
|
||||
},
|
||||
fileNames => {
|
||||
console.log("imported from: ", fileNames)
|
||||
if (!fileNames) {
|
||||
return false;
|
||||
}
|
||||
@@ -79,7 +81,7 @@ function system(mainWindow, dir, lang, dirname) {
|
||||
//保存フォルダのダイアログ
|
||||
ipc.on("savefolder", function(e, args) {
|
||||
dialog.showOpenDialog(
|
||||
null,
|
||||
mainWindow,
|
||||
{
|
||||
title: "Save folder",
|
||||
properties: ["openDirectory"]
|
||||
@@ -92,7 +94,7 @@ function system(mainWindow, dir, lang, dirname) {
|
||||
//カスタムサウンドのダイアログ
|
||||
ipc.on("customSound", function(e, arg) {
|
||||
dialog.showOpenDialog(
|
||||
null,
|
||||
mainWindow,
|
||||
{
|
||||
title: "Custom sound",
|
||||
properties: ["openFile"],
|
||||
@@ -114,6 +116,7 @@ function system(mainWindow, dir, lang, dirname) {
|
||||
app.relaunch();
|
||||
app.exit();
|
||||
});
|
||||
//ユーザーエージェント
|
||||
ipc.on("ua", function(e, arg) {
|
||||
if (arg == "") {
|
||||
fs.unlink(ua_path, function(err) {});
|
||||
@@ -123,6 +126,12 @@ function system(mainWindow, dir, lang, dirname) {
|
||||
app.relaunch();
|
||||
app.exit();
|
||||
});
|
||||
//フレームのありなし
|
||||
ipc.on("frameSet", function(e, arg) {
|
||||
fs.writeFileSync(frame_path, arg);
|
||||
app.relaunch();
|
||||
app.exit();
|
||||
});
|
||||
|
||||
ipc.on("quit", (e, args) => {
|
||||
app.quit();
|
||||
@@ -277,6 +286,7 @@ function system(mainWindow, dir, lang, dirname) {
|
||||
e.sender.webContents.send("logData", logs);
|
||||
});
|
||||
});
|
||||
|
||||
//起動時ログディレクトリ存在確認と作成、古ログ削除
|
||||
fs.access(log_dir_path, fs.constants.R_OK | fs.constants.W_OK, error => {
|
||||
if (error) {
|
||||
|
52
app/manifest.json
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"name": "TheDesk",
|
||||
"short_name": "TheDesk",
|
||||
"theme_color": "#212121",
|
||||
"background_color": "#212121",
|
||||
"display": "standalone",
|
||||
"Scope": "/",
|
||||
"start_url": "/",
|
||||
"icons": [
|
||||
{
|
||||
"src": "img/icons/icon-72x72.png",
|
||||
"sizes": "72x72",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "img/icons/icon-96x96.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "img/icons/icon-128x128.png",
|
||||
"sizes": "128x128",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "img/icons/icon-144x144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "img/icons/icon-152x152.png",
|
||||
"sizes": "152x152",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "img/icons/icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "img/icons/icon-384x384.png",
|
||||
"sizes": "384x384",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "img/icons/icon-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"splash_pages": null
|
||||
}
|
@@ -1,19 +1,20 @@
|
||||
{
|
||||
"name": "thedesk",
|
||||
"version": "20.0.4",
|
||||
"version": "20.2.0",
|
||||
"description": "TheDesk is a Mastodon client for PC.",
|
||||
"repository": "https://github.com/cutls/TheDesk",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"construct": "cd view/make && node make --automatic && cd ../../",
|
||||
"dev": "electron ./ --dev",
|
||||
"dev": "npx electron ./ --dev",
|
||||
"dist": "build --linux snap",
|
||||
"watchview": "node view/make/make.js --automatic --watch",
|
||||
"build:js": "node build.js",
|
||||
"build": "electron-builder",
|
||||
"build:all": "electron-builder --win --linux",
|
||||
"build:win": "electron-builder --win"
|
||||
"build": "node view/make/make.js --automatic && npx electron-builder",
|
||||
"build:all": "npx electron-builder --win --linux",
|
||||
"build:win": "npx electron-builder --win",
|
||||
"build:pwa": "node view/make/make.js --automatic --pwa"
|
||||
},
|
||||
"keywords": [
|
||||
"mastodon",
|
||||
@@ -50,27 +51,28 @@
|
||||
],
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^5.11.2",
|
||||
"electron-dl": "^1.14.0",
|
||||
"jimp": "^0.8.4",
|
||||
"@fortawesome/fontawesome-free": "^5.12.1",
|
||||
"custom-electron-titlebar": "^3.2.2-hotfix62",
|
||||
"electron-dl": "^3.0.0",
|
||||
"jimp": "^0.9.3",
|
||||
"jquery": "^3.4.1",
|
||||
"jquery-ui-dist": "^1.12.1",
|
||||
"materialize-css": "git://github.com/cutls/materialize",
|
||||
"json5": "^2.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"sumchecker": "^3.0.0",
|
||||
"sweetalert2": "^9.3.10",
|
||||
"vue": "^2.6.10"
|
||||
"materialize-css": "git://github.com/cutls/materialize#v1-dev",
|
||||
"sumchecker": "^3.0.1",
|
||||
"sweetalert2": "^9.7.2",
|
||||
"vue": "^2.6.11"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"font-manager": "0.3.0",
|
||||
"itunes-nowplaying-mac": "0.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chokidar": "^3.3.0",
|
||||
"electron": "^7.1.1",
|
||||
"chokidar": "^3.3.1",
|
||||
"electron": "^8.0.0",
|
||||
"electron-builder": "^22.1.0",
|
||||
"electron-rebuild": "^1.8.6",
|
||||
"electron-rebuild": "^1.10.0",
|
||||
"readline-sync": "1.4.10"
|
||||
},
|
||||
"build": {
|
||||
|
2
app/sw.pwa.js
Normal file
@@ -0,0 +1,2 @@
|
||||
//PWA用
|
||||
self.addEventListener('fetch', function(e) {})
|
@@ -1,178 +1,147 @@
|
||||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="@@lang@@">
|
||||
<head>
|
||||
<title>Account Manager - TheDesk</title>
|
||||
<meta content="width=device-width,initial-scale=1.0" name="viewport" />
|
||||
<link
|
||||
href="../../@@node_base@@/materialize-css/dist/css/materialize.css"
|
||||
type="text/css"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link href="../../css/themes.css" type="text/css" rel="stylesheet" />
|
||||
<link href="../../css/master.css" type="text/css" rel="stylesheet" />
|
||||
<link href="../../css/tl.css" rel="stylesheet" type="text/css" />
|
||||
<link href="../../css/userdata.css" rel="stylesheet" type="text/css" />
|
||||
<link
|
||||
href="../../@@node_base@@/@fortawesome/fontawesome-free/css/all.min.css"
|
||||
type="text/css"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link href="../../css/acct.css" rel="stylesheet" type="text/css" />
|
||||
<meta charset="utf-8" />
|
||||
@@comment-start@@
|
||||
<script type="text/javascript">
|
||||
var _jipt = []
|
||||
_jipt.push(['project', 'thedesk'])
|
||||
</script>
|
||||
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
|
||||
@@comment-end@@
|
||||
@@pwa@@
|
||||
</head>
|
||||
|
||||
<head>
|
||||
<title>Account Manager - TheDesk</title>
|
||||
<meta content="width=device-width,initial-scale=1.0" name="viewport">
|
||||
<link href="../../node_modules/materialize-css/dist/css/materialize.css" type="text/css" rel="stylesheet">
|
||||
<link href="../../css/themes.css" type="text/css" rel="stylesheet">
|
||||
<link href="../../css/master.css" type="text/css" rel="stylesheet">
|
||||
<link href="../../css/tl.css" rel="stylesheet" type="text/css">
|
||||
<link href="../../css/userdata.css" rel="stylesheet" type="text/css">
|
||||
<link href="../../node_modules/@fortawesome/fontawesome-free/css/all.min.css" type="text/css" rel="stylesheet">
|
||||
<style>
|
||||
.acct {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 400px;
|
||||
background-color: #9e9e9e;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
body,
|
||||
html {
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
#acct-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
color: white;
|
||||
align-items: flex-start
|
||||
}
|
||||
|
||||
.lts {
|
||||
font-size: 150%
|
||||
}
|
||||
|
||||
.colorsel {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.card .colorsel div:not(.exc) {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.card .colorsel div.exc {
|
||||
width: 40px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.first {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center
|
||||
}
|
||||
|
||||
.first .hide-first {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#compt {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 50px;
|
||||
border: 1px solid;
|
||||
border: 1px solid;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#compt li {
|
||||
list-style-type: disc;
|
||||
margin-left: 20px;
|
||||
}
|
||||
</style>
|
||||
<meta charset="utf-8">
|
||||
@@comment-start@@
|
||||
<script type="text/javascript">
|
||||
var _jipt = [];
|
||||
_jipt.push(['project', 'thedesk']);
|
||||
</script>
|
||||
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
|
||||
@@comment-end@@
|
||||
</head>
|
||||
|
||||
<body id="mainView">
|
||||
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
||||
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
||||
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
||||
<script type="text/javascript" src="main.js"></script>
|
||||
<script type="text/javascript" src="../../node_modules/sweetalert2/dist/sweetalert2.all.min.js"></script>
|
||||
<script>
|
||||
var misskeytoken = false;
|
||||
</script>
|
||||
<script type="text/javascript" src="../../js/common/time.js"></script>
|
||||
<div class="hide-first">
|
||||
<a href="index.html" class="btn waves-effect orange nex"
|
||||
style="width:100%; max-width:200px;">@@back@@</a><br>
|
||||
<h5>@@list@@</h5>
|
||||
<div id="acct-list"></div>
|
||||
<div class="divider"></div>
|
||||
</div>
|
||||
<div>
|
||||
<h5>@@add@@</h5><br>
|
||||
<div id="add">
|
||||
<div class="row">
|
||||
<div class="col s8">
|
||||
<input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp">
|
||||
<div id="ins-suggest"></div>
|
||||
@@codesetupwarn@@<br>
|
||||
<label>
|
||||
<input type="checkbox" class="filled-in" id="linux" />
|
||||
<span>@@codesetup@@</span>
|
||||
</label>
|
||||
<br>
|
||||
<label>
|
||||
<input type="checkbox" class="filled-in" id="misskey" />
|
||||
<span>@@thisismisskey@@</span>
|
||||
</label><br>
|
||||
<button class="btn waves-effect" onclick="instance()">Login</button><br>
|
||||
</div>
|
||||
<div class="col s4">
|
||||
<span style="font-family:Open Sans;">Supports</span>
|
||||
<div id="support" class="collection transparent"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="auth" style="display:none">
|
||||
@@codepastewarn@@<br>
|
||||
<input type="text" id="code" placeholder="@@codepaste@@" required>
|
||||
<button class="btn waves-effect" onclick="code()">Auth</button><br>
|
||||
<br>
|
||||
<a onclick="atSetup()" class="pointer">@@accessTokenSetup@@</a>
|
||||
<div id="compt" style="display:none">
|
||||
<h5>ログイン前に必ずご確認ください</h5>
|
||||
<span id="compt-instance"></span>はバージョンが<span id="compt-ver"></span>のため以下の機能がご利用いただけません。
|
||||
<span id="compt-warn" style="display:none">また、このインスタンスはMastodonではなくそのAPI上の互換実装であり、TheDeskでは利用を想定していないため非保証となります。</span>
|
||||
<ul id="compt-list"></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="misskeylogin" style="display:none">
|
||||
<h5>AppSecret</h5>
|
||||
@@misskeylogin@@<br>
|
||||
<input type="hidden" id="misskey-url">
|
||||
<input type="text" id="misskey-key" placeholder="@@codepaste@@" required>
|
||||
<button class="btn waves-effect" onclick="misskeyLogin()">Auth</button><br>
|
||||
<br>
|
||||
<a onclick="atSetup('misskey')" class="pointer">@@accessTokenSetup@@</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hide-first">
|
||||
<h5>@@mainacct@@</h5>
|
||||
<div class="input-field" style="width:300px"><span data-trans="your_acct">@@selacct@@</span>
|
||||
<br>
|
||||
<select id="main-acct-sel" class="acct-sel" style="color:black" onchange="mainacct()"></select>
|
||||
<label></label>
|
||||
</div>
|
||||
Some instance data by <a href="https://instances.social" target="_blank">instances.social API</a><br>
|
||||
<h5 id="ins-title"></h5>
|
||||
Administered by:<a id="ins-admin"></a><br>
|
||||
<span id="ins-desc"></span><br>
|
||||
<img src="../../img/loading.svg" id="ins-prof" width="200"><br>
|
||||
<br>
|
||||
@@domain@@:<span id="ins-name"></span><br>
|
||||
@@connect@@:<span id="ins-connect"></span>@@ko@@<br>
|
||||
@@toots@@:<span id="ins-toot"></span>@@ko@@<br>
|
||||
@@users@@:<span id="ins-user"></span>@@users@@<br>
|
||||
@@safety@@:<span id="ins-per"></span>%<br>
|
||||
@@ver@@:<span id="ins-ver"></span>@<span id="ins-upd"></span><br>
|
||||
</div>
|
||||
<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/common/sha256.js"></script>
|
||||
<script type="text/javascript" src="../../js/login/instance.js"></script>
|
||||
<script type="text/javascript" src="../../js/login/manager.js"></script>
|
||||
<script type="text/javascript" src="../../js/tl/date.js"></script>
|
||||
<body id="mainView">
|
||||
<script type="text/javascript" src="../../@@node_base@@/jquery/dist/jquery.js"></script>
|
||||
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="../../@@node_base@@/materialize-css/dist/js/materialize.js"
|
||||
></script>
|
||||
<script type="text/javascript" src="main.js"></script>
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="../../@@node_base@@/sweetalert2/dist/sweetalert2.all.min.js"
|
||||
></script>
|
||||
<script>
|
||||
var misskeytoken = false
|
||||
</script>
|
||||
<script type="text/javascript" src="../../js/common/time.js"></script>
|
||||
<div class="hide-first">
|
||||
<a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;"
|
||||
>@@back@@</a
|
||||
><br />
|
||||
<h5>@@list@@</h5>
|
||||
<div id="acct-list"></div>
|
||||
<div class="divider"></div>
|
||||
</div>
|
||||
<div>
|
||||
<h5>@@add@@</h5>
|
||||
<br />
|
||||
<div id="add">
|
||||
<div class="row">
|
||||
<div class="col s8">
|
||||
<input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp" />
|
||||
<div id="ins-suggest"></div>
|
||||
@@codesetupwarn@@<br />
|
||||
<label>
|
||||
<input type="checkbox" class="filled-in" id="linux" />
|
||||
<span>@@codesetup@@</span>
|
||||
</label>
|
||||
<br />
|
||||
<label>
|
||||
<input type="checkbox" class="filled-in" id="misskey" />
|
||||
<span>@@thisismisskey@@</span> </label
|
||||
><br />
|
||||
<button class="btn waves-effect" onclick="instance()">Login</button><br />
|
||||
</div>
|
||||
<div class="col s4">
|
||||
<span style="font-family:Open Sans;">Supports</span>
|
||||
<div id="support" class="collection transparent"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="auth" style="display:none">
|
||||
@@codepastewarn@@<br />
|
||||
<input type="text" id="code" placeholder="@@codepaste@@" required />
|
||||
<button class="btn waves-effect" onclick="code()">Auth</button><br />
|
||||
<br />
|
||||
<a onclick="atSetup()" class="pointer">@@accessTokenSetup@@</a>
|
||||
<div id="compt" style="display:none">
|
||||
<h5>ログイン前に必ずご確認ください</h5>
|
||||
<span id="compt-instance"></span>はバージョンが<span id="compt-ver"></span
|
||||
>のため以下の機能がご利用いただけません。
|
||||
<span id="compt-warn" style="display:none"
|
||||
>また、このインスタンスはMastodonではなくそのAPI上の互換実装であり、TheDeskでは利用を想定していないため非保証となります。</span
|
||||
>
|
||||
<ul id="compt-list"></ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="misskeylogin" style="display:none">
|
||||
<h5>AppSecret</h5>
|
||||
@@misskeylogin@@<br />
|
||||
<input type="hidden" id="misskey-url" />
|
||||
<input type="text" id="misskey-key" placeholder="@@codepaste@@" required />
|
||||
<button class="btn waves-effect" onclick="misskeyLogin()">Auth</button><br />
|
||||
<br />
|
||||
<a onclick="atSetup('misskey')" class="pointer">@@accessTokenSetup@@</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hide-first">
|
||||
<h5>@@mainacct@@</h5>
|
||||
<div class="input-field" style="width:300px">
|
||||
<span data-trans="your_acct">@@selacct@@</span>
|
||||
<br />
|
||||
<select
|
||||
id="main-acct-sel"
|
||||
class="acct-sel"
|
||||
style="color:black"
|
||||
onchange="mainacct()"
|
||||
></select>
|
||||
<label></label>
|
||||
</div>
|
||||
<ul id="domain-list" class="collection transparent"></ul>
|
||||
<div id="instance-data">
|
||||
Some instance data by
|
||||
<a href="https://instances.social" target="_blank">instances.social API</a><br />
|
||||
<h5 id="ins-title"></h5>
|
||||
Administered by:<a id="ins-admin"></a><br />
|
||||
<span id="ins-desc"></span><br />
|
||||
<img src="../../img/loading.svg" id="ins-prof" width="200" /><br />
|
||||
<br />
|
||||
@@domain@@:<span id="ins-name"></span><br />
|
||||
@@connect@@:<span id="ins-connect"></span>@@ko@@<br />
|
||||
@@toots@@:<span id="ins-toot"></span>@@ko@@<br />
|
||||
@@users@@:<span id="ins-user"></span>@@users@@<br />
|
||||
@@safety@@:<span id="ins-per"></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/tips.js"></script>
|
||||
<script type="text/javascript" src="../../js/platform/end.js"></script>
|
||||
<script type="text/javascript" src="../../js/common/sha256.js"></script>
|
||||
<script type="text/javascript" src="../../@@node_base@@/lodash/lodash.min.js"></script>
|
||||
<script type="text/javascript" src="../../js/login/instance.js"></script>
|
||||
<script type="text/javascript" src="../../js/login/manager.js"></script>
|
||||
<script type="text/javascript" src="../../js/tl/date.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Drag here to upload",
|
||||
"close": "Close",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Show profile of the selecting account",
|
||||
"closethisbox": "Close this box",
|
||||
"toot": "Toot",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "Yes",
|
||||
"temp": "Attaching files",
|
||||
"nothing": "None",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis": "Adjust status privacy",
|
||||
"cwtext": "Warning text",
|
||||
"selectVis": "Adjust status privacy",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog": "If you tell me bugs(not working or something) with this log, I can detect what is wrong more easily.",
|
||||
"about": "About TheDesk",
|
||||
"hereAddColumns": "<- Add TL",
|
||||
"foundBug": "I found a bug",
|
||||
"show": "Show",
|
||||
"directory": "Directory",
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "None",
|
||||
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
||||
"lang_manager_logout": "Logout",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
||||
"lang_emoji_get": "Get emojis",
|
||||
"lang_emoji_custom": "Custom emojis",
|
||||
@@ -86,8 +87,8 @@
|
||||
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
||||
"lang_cards_check": " check",
|
||||
"lang_cards_pip": "PiP mode",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_cards_trusted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_details_nodata": "No data",
|
||||
"lang_details_filtered": "Filtered toot",
|
||||
"lang_details_embed": "Embed HTML is cliped.",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_tagManager": "Tag timeline manager",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
@@ -177,7 +181,7 @@
|
||||
"lang_parse_direct": "Direct",
|
||||
"lang_parse_clickcopy": "Click to copy text of this toot",
|
||||
"lang_parse_clickcopyurl": "Click to copy URL of this toot",
|
||||
"lang_parse_trans": "Translate to Japanese",
|
||||
"lang_parse_trans": "Translate to English",
|
||||
"lang_parse_replyto": "Reply to this toot",
|
||||
"lang_parse_bt": "Boost this toot",
|
||||
"lang_parse_fav": "Favourite this toot",
|
||||
@@ -192,16 +196,19 @@
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_redraft": "Delete & re-draft",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Operation of this client",
|
||||
"lang_parse_clienttxt": " will be",
|
||||
"lang_parse_clientno": "done nothing",
|
||||
"lang_parse_clientemp": "emphasized(/not emphasized)",
|
||||
"lang_parse_clientmute": "muted",
|
||||
"lang_parse_mute": " will be muted. You can remove on preferences.",
|
||||
"lang_parse_voted": "Voted",
|
||||
"lang_parse_voted": "(Voted)",
|
||||
"lang_parse_myvote": "(My own poll)",
|
||||
"lang_parse_vote": "Vote",
|
||||
"lang_parse_unvoted": "Show the result without voting",
|
||||
"lang_parse_endedvote": "Expired",
|
||||
"lang_parse_people": "people",
|
||||
"lang_parse_thread": "Show thread",
|
||||
"lang_parse_unknown": "Attached file",
|
||||
"lang_parse_nsfw": "sensitive media",
|
||||
|
@@ -10,6 +10,7 @@
|
||||
"env": "System Preferences",
|
||||
"setlang": "Languages",
|
||||
"backup": "Import and export of preferences",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"hardwareAcceleration": "Disable hardware acceleration",
|
||||
@@ -34,6 +35,8 @@
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"absolute": "absolute value",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Select theme",
|
||||
"customtheme": "Edit and add custom themes",
|
||||
"customthemeDirection": "Color scheme",
|
||||
@@ -94,7 +97,7 @@
|
||||
"imgheight": "Height of images",
|
||||
"imgheightwarn": "Option:Set \"full\" to uncrop.",
|
||||
"ticker": "Enable #InstanceTicker",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://wee.jp/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://github.com/MiyonMiyon/InstanceTicker_List\">About #InstanceTicker</a> (c)2018-2020 MiyonMiyon. Released under the MIT License.",
|
||||
"animation": "Animation of timelines",
|
||||
"markers": "Markers(mark as read) on HTL and notifications",
|
||||
"markerswarn": "Mastodon 3.0~. Shared on WebUI and third-party supported clients.",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Hidden",
|
||||
"localonly": "Local Only",
|
||||
"zeroWidthEmoji": "Zero-width space when inserting emojis",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Keyboard shortcut Preferences",
|
||||
"iks": "Easy inserter",
|
||||
"okswarn": "You can insert any letters and emojis with only 3 keys",
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Drag here to upload",
|
||||
"close": "Close",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Show profile of the selecting account",
|
||||
"closethisbox": "Close this box",
|
||||
"toot": "Toot",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "Yes",
|
||||
"temp": "Attaching files",
|
||||
"nothing": "None",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis": "Adjust status privacy",
|
||||
"cwtext": "Warning text",
|
||||
"selectVis": "Adjust status privacy",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog": "If you tell me bugs(not working or something) with this log, I can detect what is wrong more easily.",
|
||||
"about": "About TheDesk",
|
||||
"hereAddColumns": "<- Add TL",
|
||||
"foundBug": "I found a bug",
|
||||
"show": "Show",
|
||||
"directory": "Directory",
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "None",
|
||||
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
||||
"lang_manager_logout": "Logout",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
||||
"lang_emoji_get": "Get emojis",
|
||||
"lang_emoji_custom": "Custom emojis",
|
||||
@@ -86,8 +87,8 @@
|
||||
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
||||
"lang_cards_check": " check",
|
||||
"lang_cards_pip": "PiP mode",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_cards_trusted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_details_nodata": "No data",
|
||||
"lang_details_filtered": "Filtered toot",
|
||||
"lang_details_embed": "Embed HTML is cliped.",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_tagManager": "Tag timeline manager",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
@@ -177,7 +181,7 @@
|
||||
"lang_parse_direct": "Direct",
|
||||
"lang_parse_clickcopy": "Click to copy text of this toot",
|
||||
"lang_parse_clickcopyurl": "Click to copy URL of this toot",
|
||||
"lang_parse_trans": "Translate to Japanese",
|
||||
"lang_parse_trans": "Translate to English",
|
||||
"lang_parse_replyto": "Reply to this toot",
|
||||
"lang_parse_bt": "Boost this toot",
|
||||
"lang_parse_fav": "Favourite this toot",
|
||||
@@ -192,16 +196,19 @@
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_redraft": "Delete & re-draft",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Operation of this client",
|
||||
"lang_parse_clienttxt": " will be",
|
||||
"lang_parse_clientno": "done nothing",
|
||||
"lang_parse_clientemp": "emphasized(/not emphasized)",
|
||||
"lang_parse_clientmute": "muted",
|
||||
"lang_parse_mute": " will be muted. You can remove on preferences.",
|
||||
"lang_parse_voted": "Voted",
|
||||
"lang_parse_voted": "(Voted)",
|
||||
"lang_parse_myvote": "(My own poll)",
|
||||
"lang_parse_vote": "Vote",
|
||||
"lang_parse_unvoted": "Show the result without voting",
|
||||
"lang_parse_endedvote": "Expired",
|
||||
"lang_parse_people": "people",
|
||||
"lang_parse_thread": "Show thread",
|
||||
"lang_parse_unknown": "Attached file",
|
||||
"lang_parse_nsfw": "sensitive media",
|
||||
|
@@ -10,6 +10,7 @@
|
||||
"env": "System Preferences",
|
||||
"setlang": "Languages",
|
||||
"backup": "Import and export of preferences",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"hardwareAcceleration": "Disable hardware acceleration",
|
||||
@@ -34,6 +35,8 @@
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"absolute": "absolute value",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Select theme",
|
||||
"customtheme": "Edit and add custom themes",
|
||||
"customthemeDirection": "Color scheme",
|
||||
@@ -94,7 +97,7 @@
|
||||
"imgheight": "Height of images",
|
||||
"imgheightwarn": "Option:Set \"full\" to uncrop.",
|
||||
"ticker": "Enable #InstanceTicker",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://wee.jp/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://github.com/MiyonMiyon/InstanceTicker_List\">About #InstanceTicker</a> (c)2018-2020 MiyonMiyon. Released under the MIT License.",
|
||||
"animation": "Animation of timelines",
|
||||
"markers": "Markers(mark as read) on HTL and notifications",
|
||||
"markerswarn": "Mastodon 3.0~. Shared on WebUI and third-party supported clients.",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Hidden",
|
||||
"localonly": "Local Only",
|
||||
"zeroWidthEmoji": "Zero-width space when inserting emojis",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Keyboard shortcut Preferences",
|
||||
"iks": "Easy inserter",
|
||||
"okswarn": "You can insert any letters and emojis with only 3 keys",
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Плъзнете тук за да качите",
|
||||
"close": "Затвори",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Показване на профила на избрания акаунт",
|
||||
"closethisbox": "Затвори полето",
|
||||
"toot": "Тоот",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "Да",
|
||||
"temp": "Прикачени файлове",
|
||||
"nothing": "Няма",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis": "Регулирайте поверителността на състоянието",
|
||||
"cwtext": "Текст за предупреждение",
|
||||
"selectVis": "Регулирайте поверителността на състоянието",
|
||||
@@ -125,7 +129,7 @@
|
||||
"integratedTLDes": "Интегриране (Местно/Начало)",
|
||||
"localPlusDes": "LTL+Отговор+BT",
|
||||
"notf": "Известия",
|
||||
"bookmark": "Bookmarks",
|
||||
"bookmark": "Отметки",
|
||||
"showThisTL": "Показване на този TL:",
|
||||
"webviewWarn": "TweetDeck с потребителски TJDeck(<a href='https://gist.github.com/cutls/8787a55d2c1c53274e68a427966046a6' target='_blank'>Код</a>/<a href='https://gist.github.com/totoraj930/d1394dadb51d75666a76829f61e7280c' target='_blank'>TJDeck</a>). Клавишните комбинации ще ви дразнят. Когато се почувствате така, маркирате „Предпочитам WebView“ в горната част на колоната.",
|
||||
"add": "Добави",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog": "Ако ми кажете за грешки (нещо не работи или подобно) с този дневник, мога по-лесно да открия какво не е наред.",
|
||||
"about": "За TheDesk",
|
||||
"hereAddColumns": "<- Добави ТЛ",
|
||||
"foundBug": "Намерена е грешка",
|
||||
"show": "Покажи",
|
||||
"directory": "Директория",
|
||||
"active": "Наскоро активен",
|
||||
"newcomer": "Новодошли",
|
||||
"local_only": "Само местно",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Ръководство за добре дошли",
|
||||
"lookAtBottom": "Погледнете в края на този прозорец. Ето няколко съвета за това.",
|
||||
"acctManDesc": "Добавете още акаунти и излезте от тях.",
|
||||
"settingDesc": "Много. много предпочитания са тук. Няма да можете да ги проверите всички!",
|
||||
"nanoDescPlus": "Клиент мини прозорец (експериментално)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "Всички настройки на TheDesk и Mastodon, като <b> добавяне и сортиране на колони </b>, <b> списък и проверка на филтрите </b>."
|
||||
}
|
||||
|
@@ -21,17 +21,17 @@
|
||||
"lang_time_suffixAgo": null,
|
||||
"lang_time_suffixFromNow": null,
|
||||
"lang_time_inPast": null,
|
||||
"lang_time_seconds": "%d s",
|
||||
"lang_time_minute": "1 m",
|
||||
"lang_time_minutes": "%d m",
|
||||
"lang_time_hour": "1 h",
|
||||
"lang_time_hours": "%d h",
|
||||
"lang_time_day": "1 d",
|
||||
"lang_time_days": "%d d",
|
||||
"lang_time_month": "1 month",
|
||||
"lang_time_months": "%d months",
|
||||
"lang_time_year": "y",
|
||||
"lang_time_years": "%d y",
|
||||
"lang_time_seconds": "%d сек.",
|
||||
"lang_time_minute": "1 мин.",
|
||||
"lang_time_minutes": "%d мин.",
|
||||
"lang_time_hour": "1 ч",
|
||||
"lang_time_hours": "%d ч",
|
||||
"lang_time_day": "1 ден",
|
||||
"lang_time_days": "%d дни",
|
||||
"lang_time_month": "1 месец",
|
||||
"lang_time_months": "%d месеца",
|
||||
"lang_time_year": "г.",
|
||||
"lang_time_years": "%d г.",
|
||||
"lang_version_usever": "Не е намерена актуализация({{ver}})",
|
||||
"lang_version_skipver": "Актуализацията бе игнорирана.",
|
||||
"lang_version_platform": "Искате ли автоматични актуализации? (За потребителите инсталирали от Microsoft Store, изберете „Не“)",
|
||||
@@ -48,17 +48,18 @@
|
||||
"lang_manager_none": "Няма",
|
||||
"lang_manager_godev": "Отворете DevCenter на Misskey. Ние показваме официални документи, на които се позоваваме.",
|
||||
"lang_manager_logout": "Излизане",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk разглежда \"@\" като отговор, но поставя друг параметър. Ако не е включено в Mastodon това означава, че е в Home на Misskey.",
|
||||
"lang_emoji_get": "Вземи емотикони",
|
||||
"lang_emoji_custom": "Персонализирани емотикони",
|
||||
"lang_defaultemojis_text": "Още емотикони {{cat}}",
|
||||
"lang_emoji_uncat": "Uncategorized",
|
||||
"lang_emoji_uncat": "Без категория",
|
||||
"lang_postimg_previewdis": "не може да се визуализира",
|
||||
"lang_postimg_aftupload": "Не можете да променяте профилите след качването.",
|
||||
"lang_postimg_failupload": "Failed",
|
||||
"lang_postimg_delete": "Click to add description, right-click to delete this",
|
||||
"lang_postimg_desc": "Description",
|
||||
"lang_postimg_leadContext": "right-click the thumbnail to delete this",
|
||||
"lang_postimg_failupload": "Неуспешно",
|
||||
"lang_postimg_delete": "Кликнете за да добавите описание, щракнете с десния бутон за да го изтриете",
|
||||
"lang_postimg_desc": "Описание",
|
||||
"lang_postimg_leadContext": "щракнете с десния бутон върху миниатюрата за да изтриете това",
|
||||
"lang_post_tagTL": "Тази раздумка не съдържа маркер по подразбиране. Тази раздумка няма да се показва в локалния TL. Продължавате?",
|
||||
"lang_post_tagVis": "Тази раздумка (не е \"публична\") не е показана с този етикет в ТЛ.",
|
||||
"lang_post_cwtitle": "Авто CW Сигнал",
|
||||
@@ -76,70 +77,72 @@
|
||||
"lang_status_unmute": "Със звук",
|
||||
"lang_status_redraftTitle": "Изтрий & върни",
|
||||
"lang_status_redraft": "Продължете да изтривате & преработвате? Ще изгубите статуса на тази раздумка. В тази функция може да се съдържат някои грешки. Снимките от тази раздумка ще бъдат изтрити на по-стари от Mastodon 2.4.1.",
|
||||
"lang_status_emphas": "'s toots are emphasized. Please reload after this action.",
|
||||
"lang_status_unemphas": "'s toots are not emphasized. Please reload after this action.",
|
||||
"lang_status_unendorse": "Not feature on profile",
|
||||
"lang_status_emphas": "toots са подчертани. Моля, презаредете след това действие.",
|
||||
"lang_status_unemphas": "toots не са подчертани. Моля, презаредете след това действие.",
|
||||
"lang_status_unendorse": "Не присъства в профила",
|
||||
"lang_status_endorse": "Функция в профила",
|
||||
"lang_status_followers": "Followers",
|
||||
"lang_status_active": "Last status",
|
||||
"lang_suggest_nodata": "Please get emojis list in order to show suggestion.",
|
||||
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
||||
"lang_cards_check": " check",
|
||||
"lang_cards_pip": "PiP mode",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_status_followers": "Последователи",
|
||||
"lang_status_active": "Последно състояние",
|
||||
"lang_suggest_nodata": "Моля, вземете списък с емотикони за да покажете състояние.",
|
||||
"lang_usetxtbox_reply": "Режим на отговор. Ctrl+Shift+C за изчистване.",
|
||||
"lang_cards_check": " проверка",
|
||||
"lang_cards_pip": "PiP режим",
|
||||
"lang_cards_trusted": "Доверен вграден HTML от TheDesk (Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "Ненадеждно вграждане на HTML от TheDesk",
|
||||
"lang_details_nodata": "Няма данни",
|
||||
"lang_details_filtered": "Filtered toot",
|
||||
"lang_details_embed": "Embed HTML is cliped.",
|
||||
"lang_details_url": "URL of this toot is cliped.",
|
||||
"lang_details_txt": "Content of this toot is cliped.",
|
||||
"lang_details_filtered": "Филтриране на toot",
|
||||
"lang_details_embed": "Вграденият HTML е изрязан.",
|
||||
"lang_details_url": "URL адресът на този toot е изрязан.",
|
||||
"lang_details_txt": "Съдържанието на този toot е изрязано.",
|
||||
"lang_filter_nodata": "Няма данни",
|
||||
"lang_filter_errordegree": "Please check a context",
|
||||
"lang_filter_errordegree": "Моля, проверете контекстта",
|
||||
"lang_list_nodata": "Няма данни",
|
||||
"lang_list_show": "Покажи",
|
||||
"lang_list_users": "Users list",
|
||||
"lang_list_nouser": "No users in this list.",
|
||||
"lang_list_add": "Add to the list",
|
||||
"lang_list_add_misskey": "(perhaps this user has been listed)",
|
||||
"lang_list_remove": "Remove from the list",
|
||||
"lang_notf_new": " new notifications",
|
||||
"lang_speech_refresh": "Save value about TTS config",
|
||||
"lang_src_ts": "chronological order",
|
||||
"lang_src_people": " people toot",
|
||||
"lang_tags_always": "Always toots with ",
|
||||
"lang_tags_realtime": "Tag-stream toot",
|
||||
"lang_tags_tagunpin": "Unpin {{tag}}",
|
||||
"lang_tags_unrealtime": "Disable TsT",
|
||||
"lang_list_users": "Списък с потребители",
|
||||
"lang_list_nouser": "Няма потребители в този списък.",
|
||||
"lang_list_add": "Добавяне към списъка",
|
||||
"lang_list_add_misskey": "(може би този потребител е добавен)",
|
||||
"lang_list_remove": "Премахване от списъка",
|
||||
"lang_notf_new": " нови известия",
|
||||
"lang_speech_refresh": "Запазване на стойността за конфигурацията на TTS",
|
||||
"lang_src_ts": "хронологичен ред",
|
||||
"lang_src_people": " хора toot",
|
||||
"lang_tags_always": "Винаги toots с ",
|
||||
"lang_tags_realtime": "Tag-поток toot",
|
||||
"lang_tags_tagunpin": "Разкачане на {{tag}}",
|
||||
"lang_tags_unrealtime": "Деактивиране на TsT",
|
||||
"lang_tags_tagwarn": "Автоматично попълване на {{tag}}, ако раздумката няма {{tag}}",
|
||||
"lang_tl_media": "Media",
|
||||
"lang_tl_reconnect": "Reconnect to streaming API",
|
||||
"lang_tl_postmarkers_title": "Process...",
|
||||
"lang_tl_postmarkers": "POST markers data. Please wait",
|
||||
"lang_img_DLDone": "Downloaded:",
|
||||
"lang_img_copyDone": "Copied: URL of this image",
|
||||
"lang_layout_gotop": "Go top of this column. When icon is red, this column cannot connect straming API. Please reload.",
|
||||
"lang_layout_thisacct": "{{notf}} of this account",
|
||||
"lang_layout_delthis": "Remove this column",
|
||||
"lang_layout_setthis": "Preferences of this column",
|
||||
"lang_layout_mediafil": "Media filtering",
|
||||
"lang_layout_linkana": "Auto Link Analyzer",
|
||||
"lang_layout_linkanades": "Auto link analyzer",
|
||||
"lang_layout_tts": "Text to speech ",
|
||||
"lang_tl_media": "Медия",
|
||||
"lang_tl_reconnect": "Свързване отново към API за стрийминг",
|
||||
"lang_tl_postmarkers_title": "В процес...",
|
||||
"lang_tl_postmarkers": "Данни за POST маркери. Моля изчакайте",
|
||||
"lang_img_DLDone": "Изтеглени:",
|
||||
"lang_img_copyDone": "Копирано: URL адреса на това изображение",
|
||||
"lang_layout_gotop": "Върнете се в горната част на тази колона. Когато иконата е червена, означава че тази колона не може да свърже API за споделане. Моля, презаредете.",
|
||||
"lang_layout_thisacct": "{{notf}} от този акаунт",
|
||||
"lang_layout_delthis": "Премахване на тази колона",
|
||||
"lang_layout_setthis": "Предпочитания за тази колона",
|
||||
"lang_layout_mediafil": "Филтриране на медиите",
|
||||
"lang_layout_linkana": "Автоматичен анализатор на връзки",
|
||||
"lang_layout_linkanades": "Автоматичен анализатор на връзки",
|
||||
"lang_layout_tts": "Текст към говор ",
|
||||
"lang_layout_reconnect": "Reconnect to streaming API",
|
||||
"lang_layout_headercolor": "Header color of this column",
|
||||
"lang_layout_nodata": "[No data]<br>F5/⌘+R to reload",
|
||||
"lang_layout_headercolor": "Цвят на заглавката на тази колона",
|
||||
"lang_layout_nodata": "[Няма данни]<br>F5/⌘+R за презареждане",
|
||||
"lang_layout_dm": "Директни съобщения",
|
||||
"lang_layout_webviewmode": "Prefer WebView",
|
||||
"lang_excluded": "Excluded type of notification",
|
||||
"lang_layout_webviewmode": "Предпочитания за WebView",
|
||||
"lang_excluded": "Изключване на вид уведомление",
|
||||
"lang_layout_excludingbt": "Показване в BT режим (ИЗКЛ./Изключване BT/ Само в BT)",
|
||||
"lang_layout_leftFold": "Стъпка наляво",
|
||||
"lang_layout_leftUnfold": "Док отдясно",
|
||||
"lang_layout_deleteColumn": "Премахване на тази колона",
|
||||
"lang_layout_deleteColumnDesc": "Премахване на тази колона",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_unread": "Непрочетени",
|
||||
"lang_layout_tagManager": "Мениджър на таговете на времевата линия",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Отидете в тази колона",
|
||||
"lang_sort_remthis": "Премахване на тази колона",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
"lang_spotify_img": "Добавете към албум произведенията на изкуството",
|
||||
"lang_spotify_imgno": "Not attach an album artwork",
|
||||
"lang_spotify_acct": "Connect TheDesk to Spotify",
|
||||
"lang_spotify_np": "Готово:шаблон на NowPlaying",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Следвайте, за да добавите този потребител към списъците.",
|
||||
@@ -177,7 +181,7 @@
|
||||
"lang_parse_direct": "Direct",
|
||||
"lang_parse_clickcopy": "Click to copy text of this toot",
|
||||
"lang_parse_clickcopyurl": "Click to copy URL of this toot",
|
||||
"lang_parse_trans": "Translate to Japanese",
|
||||
"lang_parse_trans": "Translate to English",
|
||||
"lang_parse_replyto": "Reply to this toot",
|
||||
"lang_parse_bt": "Boost this toot",
|
||||
"lang_parse_fav": "Favourite this toot",
|
||||
@@ -192,35 +196,38 @@
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_redraft": "Изтрий & върни",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Operation of this client",
|
||||
"lang_parse_clienttxt": " will be",
|
||||
"lang_parse_clientno": "done nothing",
|
||||
"lang_parse_clientemp": "emphasized(/not emphasized)",
|
||||
"lang_parse_clientmute": "muted",
|
||||
"lang_parse_mute": " will be muted. You can remove on preferences.",
|
||||
"lang_parse_voted": "Voted",
|
||||
"lang_parse_vote": "Vote",
|
||||
"lang_parse_unvoted": "Show the result without voting",
|
||||
"lang_parse_endedvote": "Expired",
|
||||
"lang_parse_thread": "Show thread",
|
||||
"lang_parse_unknown": "Attached file",
|
||||
"lang_parse_clientmute": "без звук",
|
||||
"lang_parse_mute": " ще бъдат заглушени. Можете да ги премахнете от предпочитания.",
|
||||
"lang_parse_voted": "(Гласуваха)",
|
||||
"lang_parse_myvote": "(Моята собствена анкета)",
|
||||
"lang_parse_vote": "Гласували",
|
||||
"lang_parse_unvoted": "Показване на резултата без гласувалите",
|
||||
"lang_parse_endedvote": "Изтекъл",
|
||||
"lang_parse_people": "човека",
|
||||
"lang_parse_thread": "Показване на нишката",
|
||||
"lang_parse_unknown": "Прикачени файлове",
|
||||
"lang_parse_nsfw": "NSFW media",
|
||||
"lang_parse_html": "Show embed HTML",
|
||||
"lang_parse_notffilter": "Show this user's notifications",
|
||||
"lang_misskeyparse_renote": "Repost",
|
||||
"lang_misskeyparse_renoteqt": "Renote",
|
||||
"lang_misskeyparse_reaction": "Reaction",
|
||||
"lang_misskeyparse_tagnostr": "No streaming API on Tag TLs",
|
||||
"lang_misskeyparse_listnostr": "No streaming API on List TLs",
|
||||
"lang_parse_html": "Показване на вграденият HTML код",
|
||||
"lang_parse_notffilter": "Показване на известията от този потребител",
|
||||
"lang_misskeyparse_renote": "Повторно публикуване",
|
||||
"lang_misskeyparse_renoteqt": "Повторна бележка",
|
||||
"lang_misskeyparse_reaction": "Реакция",
|
||||
"lang_misskeyparse_tagnostr": "Няма стрийминг API за TLs маркери",
|
||||
"lang_misskeyparse_listnostr": "Няма стрийминг API за TLs списък",
|
||||
"lang_misskeyparse_home": "Начало",
|
||||
"lang_misskeyparse_followers": "Последователи",
|
||||
"lang_misskeyparse_specified": "Specified User",
|
||||
"lang_misskeyparse_qt": "Misskey renote(quote) mode:Ctrl+Shift+Enter to clear",
|
||||
"lang_misskeyparse_renoted": " renoted your following post.",
|
||||
"lang_misskeyparse_quoted": " quoted your following post.",
|
||||
"lang_misskeyparse_reacted": " reacted your following post.",
|
||||
"lang_setting_time": "Time format:{{set}}",
|
||||
"lang_setting_theme": "Theme:{{set}}",
|
||||
"lang_misskeyparse_specified": "Посочен потребител",
|
||||
"lang_misskeyparse_qt": "Misskey в режим повторна бележка (цитат):Ctrl + Shift + Enter за изчистване",
|
||||
"lang_misskeyparse_renoted": " повторно отбелязали на вашата следваща публикация.",
|
||||
"lang_misskeyparse_quoted": " цитирали следващата ви публикация.",
|
||||
"lang_misskeyparse_reacted": " реагирали на следващата ви публикация.",
|
||||
"lang_setting_time": "Времеви формат:{{set}}",
|
||||
"lang_setting_theme": "Тема:{{set}}",
|
||||
"lang_setting_nsfw": "NSFW:{{set}}",
|
||||
"lang_setting_cw": "CW:{{set}}",
|
||||
"lang_setting_cwtext": "Default CW text:{{set}}",
|
||||
|
@@ -10,6 +10,7 @@
|
||||
"env": "Системни предпочитания",
|
||||
"setlang": "Езици",
|
||||
"backup": "Внос и износ на предпочитания",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Внос",
|
||||
"export": "Износ",
|
||||
"hardwareAcceleration": "Деактивиране на хардуерното ускорение",
|
||||
@@ -34,6 +35,8 @@
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"absolute": "абсолютна стойност",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Изберете тема",
|
||||
"customtheme": "Редактирайте и добавете персонализирани теми",
|
||||
"customthemeDirection": "Цветова схема",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Hidden",
|
||||
"localonly": "Local Only",
|
||||
"zeroWidthEmoji": "Zero-width space when inserting emojis",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Keyboard shortcut Preferences",
|
||||
"iks": "Easy inserter",
|
||||
"okswarn": "Можете да вмъкнете всякакви букви и емотикони само с 3 клавиша",
|
||||
|
@@ -169,10 +169,11 @@
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Drag here to upload",
|
||||
"close": "Close",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Show profile of the selecting account",
|
||||
"closethisbox": "Close this box",
|
||||
"toot": "Toot",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "Yes",
|
||||
"temp": "Attaching files",
|
||||
"nothing": "None",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis": "Adjust status privacy",
|
||||
"cwtext": "Warning text",
|
||||
"selectVis": "Adjust status privacy",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog": "If you tell me bugs(not working or something) with this log, I can detect what is wrong more easily.",
|
||||
"about": "About TheDesk",
|
||||
"hereAddColumns": "<- Add TL",
|
||||
"foundBug": "I found a bug",
|
||||
"show": "Show",
|
||||
"directory": "Directory",
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "None",
|
||||
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
||||
"lang_manager_logout": "Logout",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
||||
"lang_emoji_get": "Get emojis",
|
||||
"lang_emoji_custom": "Custom emojis",
|
||||
@@ -86,8 +87,8 @@
|
||||
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
||||
"lang_cards_check": " check",
|
||||
"lang_cards_pip": "PiP mode",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_cards_trusted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_details_nodata": "No data",
|
||||
"lang_details_filtered": "Filtered toot",
|
||||
"lang_details_embed": "Embed HTML is cliped.",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_tagManager": "Tag timeline manager",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
@@ -177,7 +181,7 @@
|
||||
"lang_parse_direct": "Direct",
|
||||
"lang_parse_clickcopy": "Click to copy text of this toot",
|
||||
"lang_parse_clickcopyurl": "Click to copy URL of this toot",
|
||||
"lang_parse_trans": "Translate to Japanese",
|
||||
"lang_parse_trans": "Translate to English",
|
||||
"lang_parse_replyto": "Reply to this toot",
|
||||
"lang_parse_bt": "Boost this toot",
|
||||
"lang_parse_fav": "Favourite this toot",
|
||||
@@ -192,16 +196,19 @@
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_redraft": "Delete & re-draft",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Operation of this client",
|
||||
"lang_parse_clienttxt": " will be",
|
||||
"lang_parse_clientno": "done nothing",
|
||||
"lang_parse_clientemp": "emphasized(/not emphasized)",
|
||||
"lang_parse_clientmute": "muted",
|
||||
"lang_parse_mute": " will be muted. You can remove on preferences.",
|
||||
"lang_parse_voted": "Voted",
|
||||
"lang_parse_voted": "(Voted)",
|
||||
"lang_parse_myvote": "(My own poll)",
|
||||
"lang_parse_vote": "Vote",
|
||||
"lang_parse_unvoted": "Show the result without voting",
|
||||
"lang_parse_endedvote": "Expired",
|
||||
"lang_parse_people": "people",
|
||||
"lang_parse_thread": "Show thread",
|
||||
"lang_parse_unknown": "Attached file",
|
||||
"lang_parse_nsfw": "sensitive media",
|
||||
|
@@ -10,6 +10,7 @@
|
||||
"env": "System Preferences",
|
||||
"setlang": "Languages",
|
||||
"backup": "Import and export of preferences",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"hardwareAcceleration": "Disable hardware acceleration",
|
||||
@@ -34,6 +35,8 @@
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"absolute": "absolute value",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Select theme",
|
||||
"customtheme": "Edit and add custom themes",
|
||||
"customthemeDirection": "Color scheme",
|
||||
@@ -94,7 +97,7 @@
|
||||
"imgheight": "Height of images",
|
||||
"imgheightwarn": "Option:Set \"full\" to uncrop.",
|
||||
"ticker": "Enable #InstanceTicker",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://wee.jp/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://github.com/MiyonMiyon/InstanceTicker_List\">About #InstanceTicker</a> (c)2018-2020 MiyonMiyon. Released under the MIT License.",
|
||||
"animation": "Animation of timelines",
|
||||
"markers": "Markers(mark as read) on HTL and notifications",
|
||||
"markerswarn": "Mastodon 3.0~. Shared on WebUI and third-party supported clients.",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Hidden",
|
||||
"localonly": "Local Only",
|
||||
"zeroWidthEmoji": "Zero-width space when inserting emojis",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Keyboard shortcut Preferences",
|
||||
"iks": "Easy inserter",
|
||||
"okswarn": "You can insert any letters and emojis with only 3 keys",
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Přetáhněte sem pro nahrání",
|
||||
"close": "Zavřít",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Zobrazit profil výběrového účtu",
|
||||
"closethisbox": "Zavřít toto okno",
|
||||
"toot": "Tootnout",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "Ano",
|
||||
"temp": "Přiložení souborů",
|
||||
"nothing": "Nic",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis": "Upravit soukromí statusu",
|
||||
"cwtext": "Varovní text",
|
||||
"selectVis": "Upravit soukromí statusu",
|
||||
@@ -125,7 +129,7 @@
|
||||
"integratedTLDes": "Integrated(Local/Home)",
|
||||
"localPlusDes": "LTL+Reply+BT",
|
||||
"notf": "Notifikace",
|
||||
"bookmark": "Bookmarks",
|
||||
"bookmark": "Záložky",
|
||||
"showThisTL": "Show this TL:",
|
||||
"webviewWarn": "TweetDeck with customed 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>). Keyboard shortcuts will irritate you. When you feel so, you check 'Prefer WebView' on top of the column.",
|
||||
"add": "Přidat",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog": "If you tell me bugs(not working or something) with this log, I can detect what is wrong more easily.",
|
||||
"about": "About TheDesk",
|
||||
"hereAddColumns": "<- Add TL",
|
||||
"foundBug": "I found a bug",
|
||||
"show": "Show",
|
||||
"directory": "Directory",
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "Žádný",
|
||||
"lang_manager_godev": "Otevřené vývojářské centrum softwaru Misskey. Zobrazujeme také oficiální dokumentaci.",
|
||||
"lang_manager_logout": "Logout",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk považuje „@“ za odpověď, ale vkládá ho do jiných parametrů. „Neuvedeno“ na Mastodonu znamená „Domů“ na Misskey.",
|
||||
"lang_emoji_get": "Získat emoji",
|
||||
"lang_emoji_custom": "Vlastní emoji",
|
||||
@@ -55,9 +56,9 @@
|
||||
"lang_emoji_uncat": "Uncategorized",
|
||||
"lang_postimg_previewdis": "nelze vytvořit náhled",
|
||||
"lang_postimg_aftupload": "Po nahrání nemůžete změnit účty.",
|
||||
"lang_postimg_failupload": "Failed",
|
||||
"lang_postimg_failupload": "Selhalo",
|
||||
"lang_postimg_delete": "Click to add description, right-click to delete this",
|
||||
"lang_postimg_desc": "Description",
|
||||
"lang_postimg_desc": "Popis",
|
||||
"lang_postimg_leadContext": "right-click the thumbnail to delete this",
|
||||
"lang_post_tagTL": "Tento toot neobsahuje výchozí hashtag. Tento toot nebude zobrazen na výchozí časové ose. Pokračovat?",
|
||||
"lang_post_tagVis": "Tento toot (ne „veřejný“ toot) není zobrazen na časové ose tohoto hashtagu.",
|
||||
@@ -86,8 +87,8 @@
|
||||
"lang_usetxtbox_reply": "Režim odpovězení. Pro vymazání stiskněte Ctrl+Shift+C.",
|
||||
"lang_cards_check": " kontrolovat",
|
||||
"lang_cards_pip": "Režim PiP",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_cards_trusted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_details_nodata": "Žádná data",
|
||||
"lang_details_filtered": "Filtrovaný toot",
|
||||
"lang_details_embed": "HTML pro vložení je zkopírován.",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_tagManager": "Tag timeline manager",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[robot]",
|
||||
"lang_showontl_followed": "Sledují vás",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Oznámení ",
|
||||
"lang_showontl_domain": "Doména ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
@@ -182,16 +186,17 @@
|
||||
"lang_parse_bt": "Boostnout tento toot",
|
||||
"lang_parse_fav": "Oblíbit si tento toot",
|
||||
"lang_parse_quote": "Citovat tento toot",
|
||||
"lang_parse_bookmark": "Bookmark this",
|
||||
"lang_parse_bookmark": "Přidat do záložek",
|
||||
"lang_parse_unbookmark": "Unbookmark this",
|
||||
"lang_parse_del": "Smazat tento toot",
|
||||
"lang_parse_pin": "Připnout tento toot",
|
||||
"lang_parse_unpin": "Unpin this",
|
||||
"lang_parse_link": "Open in a browser",
|
||||
"lang_parse_unpin": "Odepnout",
|
||||
"lang_parse_link": "Otevřít v prohlížeči",
|
||||
"lang_parse_det": "Details via your main account.",
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_detail": "Podrobnosti",
|
||||
"lang_parse_redraft": "Vymazat a přepsat",
|
||||
"lang_parse_followed": "vás nyní sleduje",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Operace tohoto klienta",
|
||||
"lang_parse_clienttxt": " bude",
|
||||
"lang_parse_clientno": "nic nedělat",
|
||||
@@ -199,9 +204,11 @@
|
||||
"lang_parse_clientmute": "ztlumena",
|
||||
"lang_parse_mute": " bude ztlumena. To můžete odstranit v nastavení.",
|
||||
"lang_parse_voted": "Voted",
|
||||
"lang_parse_myvote": "(My own poll)",
|
||||
"lang_parse_vote": "Vote",
|
||||
"lang_parse_unvoted": "Show the result without voting",
|
||||
"lang_parse_endedvote": "Expired",
|
||||
"lang_parse_people": "people",
|
||||
"lang_parse_thread": "Show thread",
|
||||
"lang_parse_unknown": "Attached file",
|
||||
"lang_parse_nsfw": "NSFW media",
|
||||
|
@@ -10,6 +10,7 @@
|
||||
"env": "Systémové předvolby",
|
||||
"setlang": "Jazyky",
|
||||
"backup": "Import a export předvoleb",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"hardwareAcceleration": "Disable hardware acceleration",
|
||||
@@ -34,6 +35,8 @@
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"absolute": "absolutní hodnota",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Vybrat motiv",
|
||||
"customtheme": "Edit and add custom themes",
|
||||
"customthemeDirection": "Color scheme",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Hidden",
|
||||
"localonly": "Local Only",
|
||||
"zeroWidthEmoji": "Zero-width space when inserting emojis",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Keyboard shortcut Preferences",
|
||||
"iks": "Easy inserter",
|
||||
"okswarn": "You can insert any letters and emojis with only 3 keys",
|
||||
|
@@ -169,10 +169,11 @@
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Drag here to upload",
|
||||
"close": "Close",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Show profile of the selecting account",
|
||||
"closethisbox": "Close this box",
|
||||
"toot": "Toot",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "Yes",
|
||||
"temp": "Attaching files",
|
||||
"nothing": "None",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis": "Adjust status privacy",
|
||||
"cwtext": "Warning text",
|
||||
"selectVis": "Adjust status privacy",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog": "If you tell me bugs(not working or something) with this log, I can detect what is wrong more easily.",
|
||||
"about": "About TheDesk",
|
||||
"hereAddColumns": "<- Add TL",
|
||||
"foundBug": "I found a bug",
|
||||
"show": "Show",
|
||||
"directory": "Directory",
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "None",
|
||||
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
||||
"lang_manager_logout": "Logout",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
||||
"lang_emoji_get": "Get emojis",
|
||||
"lang_emoji_custom": "Custom emojis",
|
||||
@@ -86,8 +87,8 @@
|
||||
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
||||
"lang_cards_check": " check",
|
||||
"lang_cards_pip": "PiP mode",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_cards_trusted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_details_nodata": "No data",
|
||||
"lang_details_filtered": "Filtered toot",
|
||||
"lang_details_embed": "Embed HTML is cliped.",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_tagManager": "Tag timeline manager",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
@@ -177,7 +181,7 @@
|
||||
"lang_parse_direct": "Direct",
|
||||
"lang_parse_clickcopy": "Click to copy text of this toot",
|
||||
"lang_parse_clickcopyurl": "Click to copy URL of this toot",
|
||||
"lang_parse_trans": "Translate to Japanese",
|
||||
"lang_parse_trans": "Translate to English",
|
||||
"lang_parse_replyto": "Reply to this toot",
|
||||
"lang_parse_bt": "Boost this toot",
|
||||
"lang_parse_fav": "Favourite this toot",
|
||||
@@ -192,16 +196,19 @@
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_redraft": "Delete & re-draft",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Operation of this client",
|
||||
"lang_parse_clienttxt": " will be",
|
||||
"lang_parse_clientno": "done nothing",
|
||||
"lang_parse_clientemp": "emphasized(/not emphasized)",
|
||||
"lang_parse_clientmute": "muted",
|
||||
"lang_parse_mute": " will be muted. You can remove on preferences.",
|
||||
"lang_parse_voted": "Voted",
|
||||
"lang_parse_voted": "(Voted)",
|
||||
"lang_parse_myvote": "(My own poll)",
|
||||
"lang_parse_vote": "Vote",
|
||||
"lang_parse_unvoted": "Show the result without voting",
|
||||
"lang_parse_endedvote": "Expired",
|
||||
"lang_parse_people": "people",
|
||||
"lang_parse_thread": "Show thread",
|
||||
"lang_parse_unknown": "Attached file",
|
||||
"lang_parse_nsfw": "sensitive media",
|
||||
|
@@ -10,6 +10,7 @@
|
||||
"env": "System Preferences",
|
||||
"setlang": "Languages",
|
||||
"backup": "Import and export of preferences",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"hardwareAcceleration": "Disable hardware acceleration",
|
||||
@@ -34,6 +35,8 @@
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"absolute": "absolute value",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Select theme",
|
||||
"customtheme": "Edit and add custom themes",
|
||||
"customthemeDirection": "Color scheme",
|
||||
@@ -94,7 +97,7 @@
|
||||
"imgheight": "Height of images",
|
||||
"imgheightwarn": "Option:Set \"full\" to uncrop.",
|
||||
"ticker": "Enable #InstanceTicker",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://wee.jp/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://github.com/MiyonMiyon/InstanceTicker_List\">About #InstanceTicker</a> (c)2018-2020 MiyonMiyon. Released under the MIT License.",
|
||||
"animation": "Animation of timelines",
|
||||
"markers": "Markers(mark as read) on HTL and notifications",
|
||||
"markerswarn": "Mastodon 3.0~. Shared on WebUI and third-party supported clients.",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Hidden",
|
||||
"localonly": "Local Only",
|
||||
"zeroWidthEmoji": "Zero-width space when inserting emojis",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Keyboard shortcut Preferences",
|
||||
"iks": "Easy inserter",
|
||||
"okswarn": "You can insert any letters and emojis with only 3 keys",
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Zum Hochladen hier her ziehen",
|
||||
"close": "Schließen",
|
||||
"webSrc": "Suche im Internet",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Ausgewähltes Konto anzeigen",
|
||||
"closethisbox": "Diesen Dialog schließen",
|
||||
"toot": "Tröt",
|
||||
@@ -20,9 +22,11 @@
|
||||
"yes": "Ja",
|
||||
"temp": "Dateien anhängen",
|
||||
"nothing": "Keine",
|
||||
"vis": "Adjust status privacy",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis": "Status Privatsphäre anpassen",
|
||||
"cwtext": "Warntext",
|
||||
"selectVis": "Adjust status privacy",
|
||||
"selectVis": "Status Privatsphäre anpassen",
|
||||
"publicJP": "",
|
||||
"unlistedJP": "",
|
||||
"privateJP": "",
|
||||
@@ -125,7 +129,7 @@
|
||||
"integratedTLDes": "Integrated(Local and Home)",
|
||||
"localPlusDes": "Integrated(Local and replies and BT on Home)",
|
||||
"notf": "Benachrichtigungen",
|
||||
"bookmark": "Bookmarks",
|
||||
"bookmark": "Lesezeichen",
|
||||
"showThisTL": "Verlauf anzeigen:",
|
||||
"webviewWarn": "TweetDeck mit angepassten 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>). Tastaturkürzel werden Sie irritieren. Wenn Sie wollen, können Sie \"WebView bevorzugen\" oberhalb der Spalte aktivieren.",
|
||||
"add": "Hinzufügen",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog": "Wenn Sie mir mit diesem Log Fehler (Funktionsunfähigkeit oder ähnliches) zeigen, kann ich leichter erkennen, was falsch ist.",
|
||||
"about": "Über TheDesk",
|
||||
"hereAddColumns": "<- Neuer Verlauf",
|
||||
"foundBug": "Ich habe einen Fehler gefunden",
|
||||
"show": "Zeige",
|
||||
"directory": "Verzeichnis",
|
||||
"active": "Kürzlich aktiv",
|
||||
"newcomer": "Neu eingetroffen",
|
||||
"local_only": "Nur lokal",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Willkommensguide",
|
||||
"lookAtBottom": "Schauen Sie sich den unteren Teil des Fensters an. Hier sind einige Tipps darüber.",
|
||||
"acctManDesc": "Fügen Sie weitere Konten hinzu und loggen Sie sie aus.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini-Fenster-Klient (experimentell)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -22,14 +22,14 @@
|
||||
"lang_time_suffixFromNow": null,
|
||||
"lang_time_inPast": null,
|
||||
"lang_time_seconds": "%d s",
|
||||
"lang_time_minute": "1 m",
|
||||
"lang_time_minute": "1 Min.",
|
||||
"lang_time_minutes": "%d m",
|
||||
"lang_time_hour": "1 h",
|
||||
"lang_time_hour": "1 S",
|
||||
"lang_time_hours": "%d h",
|
||||
"lang_time_day": "1 d",
|
||||
"lang_time_days": "%d d",
|
||||
"lang_time_month": "1 month",
|
||||
"lang_time_months": "%d months",
|
||||
"lang_time_day": "1 t",
|
||||
"lang_time_days": "%d t",
|
||||
"lang_time_month": "1 Monat",
|
||||
"lang_time_months": "%d Monate",
|
||||
"lang_time_year": "y",
|
||||
"lang_time_years": "%d y",
|
||||
"lang_version_usever": "Keine Aktualisierung gefunden({{ver}})",
|
||||
@@ -48,16 +48,17 @@
|
||||
"lang_manager_none": "Ohne",
|
||||
"lang_manager_godev": "Öffnen Sie das DevCenter von Misskey. Wir zeigen auch ein offizielles Dokument als Referenz.",
|
||||
"lang_manager_logout": "Abmelden",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk betrachtet \"@\" als Antwort, setzt aber einen anderen Parameter. Nicht auf Mastodon gelistet bedeutet Home on Misskey.",
|
||||
"lang_emoji_get": "Hole Emojis",
|
||||
"lang_emoji_custom": "Eigene Emojis",
|
||||
"lang_defaultemojis_text": "Emojis über {{cat}}",
|
||||
"lang_emoji_uncat": "Uncategorized",
|
||||
"lang_emoji_uncat": "Nicht kategorisiert",
|
||||
"lang_postimg_previewdis": "keine Vorschau",
|
||||
"lang_postimg_aftupload": "Sie können die Konten nach dem Hochladen nicht mehr ändern.",
|
||||
"lang_postimg_failupload": "Failed",
|
||||
"lang_postimg_delete": "Click to add description, right-click to delete this",
|
||||
"lang_postimg_desc": "Description",
|
||||
"lang_postimg_failupload": "Gescheitert",
|
||||
"lang_postimg_delete": "Klicken, um Beschreibung hinzuzufügen, Rechtsklick zum Löschen",
|
||||
"lang_postimg_desc": "Beschreibung",
|
||||
"lang_postimg_leadContext": "right-click the thumbnail to delete this",
|
||||
"lang_post_tagTL": "Dieses Tröt enthält keinen Standard-Tag. Er wird in dem lokalen Verlauf nicht angezeigt. Fortfahren?",
|
||||
"lang_post_tagVis": "Dieser Tröt (nicht 'öffentlicher' Tröt) wird nicht in diesem Tag-Verlauf angezeigt.",
|
||||
@@ -80,14 +81,14 @@
|
||||
"lang_status_unemphas": "'s Tröts werden nicht hervorgehoben. Bitte laden Sie nach dieser Aktion neu.",
|
||||
"lang_status_unendorse": "Nicht auf dem Profil zeigen",
|
||||
"lang_status_endorse": "Auf dem Profil zeigen",
|
||||
"lang_status_followers": "Followers",
|
||||
"lang_status_active": "Last status",
|
||||
"lang_status_followers": "Folgende",
|
||||
"lang_status_active": "Letzter Status",
|
||||
"lang_suggest_nodata": "Please get emojis list in order to show suggestion.",
|
||||
"lang_usetxtbox_reply": "Antwortmodus. Strg+Umschalt+C zum Löschen.",
|
||||
"lang_cards_check": " überprüfen",
|
||||
"lang_cards_pip": "PiP mode",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_cards_pip": "PiP-Modus",
|
||||
"lang_cards_trusted": "Vertrautes Einbetten HTML von TheDesk (Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_details_nodata": "Keine Daten",
|
||||
"lang_details_filtered": "Gefilterter Tröt",
|
||||
"lang_details_embed": "Eingefügtes HTML wurde entfernt.",
|
||||
@@ -109,14 +110,14 @@
|
||||
"lang_tags_always": "Immer Tröten mit ",
|
||||
"lang_tags_realtime": "Tag-Stream Tröt",
|
||||
"lang_tags_tagunpin": "{{tag}} entsperren",
|
||||
"lang_tags_unrealtime": "Disable TsT",
|
||||
"lang_tags_unrealtime": "TsT deaktivieren",
|
||||
"lang_tags_tagwarn": "Automatisch {{tag}} anfügen, wenn Tröt ohne {{tag}} ist",
|
||||
"lang_tl_media": "Medien",
|
||||
"lang_tl_reconnect": "Mit Streaming API erneut verbinden",
|
||||
"lang_tl_postmarkers_title": "Process...",
|
||||
"lang_tl_postmarkers": "POST markers data. Please wait",
|
||||
"lang_img_DLDone": "Heruntergeladen:",
|
||||
"lang_img_copyDone": "Copied: URL of this image",
|
||||
"lang_img_copyDone": "Kopiert: URL dieses Bildes",
|
||||
"lang_layout_gotop": "Gehen Sie zum Anfang dieser Spalte. Wenn das Symbol rot ist, kann diese Spalte keine Verbindung zur Streaming-API herstellen. Bitte neu laden.",
|
||||
"lang_layout_thisacct": "{{notf}} dieses Kontos",
|
||||
"lang_layout_delthis": "Diese Spalte löschen",
|
||||
@@ -131,12 +132,14 @@
|
||||
"lang_layout_dm": "Direkte Nachricht",
|
||||
"lang_layout_webviewmode": "Web-Ansicht bevorzugen",
|
||||
"lang_excluded": "Ausgeschlossene Benachrichtigungsart",
|
||||
"lang_layout_excludingbt": "Show BT mode(OFF/Exclude BT/Only BT)",
|
||||
"lang_layout_excludingbt": "BT-Modus anzeigen (aus/kein BT/Nur BT)",
|
||||
"lang_layout_leftFold": "Nach links Stapeln",
|
||||
"lang_layout_leftUnfold": "Rechts Anheften",
|
||||
"lang_layout_deleteColumn": "Diese Spalte löschen",
|
||||
"lang_layout_deleteColumnDesc": "Diese Spalte löschen",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_unread": "ungelesen",
|
||||
"lang_layout_tagManager": "Tag timeline manager",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Gehe zu dieser Spalte",
|
||||
"lang_sort_remthis": "Diese Spalte löschen",
|
||||
"lang_spotify_img": "Albumcover anhängen",
|
||||
@@ -153,8 +156,9 @@
|
||||
"lang_showontl_movebtn": "Auf dem neuen Konto fortfahren",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Folgt dir",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Benachrichtigung ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_domain": "Domäne ",
|
||||
"lang_showontl_listwarn": "Folgen, um diesen Benutzer zu Listen hinzuzufügen.",
|
||||
"lang_showontl_verified": "This website is verified by owner at ",
|
||||
"lang_parse_mentioned": " hat dir geantwortet",
|
||||
@@ -182,16 +186,17 @@
|
||||
"lang_parse_bt": "Diesen Tröt verstärken",
|
||||
"lang_parse_fav": "Diesen Tröt favorisieren",
|
||||
"lang_parse_quote": "Diesen Tröt zitieren",
|
||||
"lang_parse_bookmark": "Bookmark this",
|
||||
"lang_parse_unbookmark": "Unbookmark this",
|
||||
"lang_parse_bookmark": "Lesezeichen hinzufügen",
|
||||
"lang_parse_unbookmark": "Lesezeichen entfernen",
|
||||
"lang_parse_del": "Diesen Tröt löschen",
|
||||
"lang_parse_pin": "Dieses Tröt fixieren",
|
||||
"lang_parse_unpin": "Unpin this",
|
||||
"lang_parse_link": "Open in a browser",
|
||||
"lang_parse_link": "Im Browser öffnen",
|
||||
"lang_parse_det": "Details über Ihr Hauptkonto.",
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_redraft": "Löschen & Neuentwerfen",
|
||||
"lang_parse_followed": "Folgt dir",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Aktion dieses Clients",
|
||||
"lang_parse_clienttxt": " wird",
|
||||
"lang_parse_clientno": "Nichts unternehmen",
|
||||
@@ -199,9 +204,11 @@
|
||||
"lang_parse_clientmute": "Stumm",
|
||||
"lang_parse_mute": " wird stumm gemacht. Kann in den Einstellungen wieder entfernt werden.",
|
||||
"lang_parse_voted": "Abgestimmt",
|
||||
"lang_parse_myvote": "(My own poll)",
|
||||
"lang_parse_vote": "Abstimmen",
|
||||
"lang_parse_unvoted": "Ergebnis ohne Abstimmung anzeigen",
|
||||
"lang_parse_endedvote": "Abgelaufen",
|
||||
"lang_parse_people": "people",
|
||||
"lang_parse_thread": "Konversation anzeigen",
|
||||
"lang_parse_unknown": "Angehängte Datei",
|
||||
"lang_parse_nsfw": "NSFW Medien",
|
||||
@@ -222,8 +229,8 @@
|
||||
"lang_setting_time": "Zeitformat:{{set}}",
|
||||
"lang_setting_theme": "Design:{{set}}",
|
||||
"lang_setting_nsfw": "NSFW:{{set}}",
|
||||
"lang_setting_cw": "CW:{{set}}",
|
||||
"lang_setting_cwtext": "Default CW text:{{set}}",
|
||||
"lang_setting_cw": "NSFW:{{set}}",
|
||||
"lang_setting_cwtext": "Standard-NSFW-Text:{{set}}",
|
||||
"lang_setting_cws": "Always CW on:{{set}}",
|
||||
"lang_setting_rp": "Antwortzähler:{{set}}",
|
||||
"lang_setting_vis": "Standardsichtbarkeit:{{set}}",
|
||||
@@ -259,6 +266,6 @@
|
||||
"lang_setting_notftestprof": "Ihr Symbol wird angezeigt.",
|
||||
"lang_setting_exportwarn": "Nur wichtige Daten werden exportiert. Sie müssen diese Daten sichern.",
|
||||
"lang_setting_importwarn": "Alle Daten werden gelöscht.",
|
||||
"lang_setting_noupd": "No available update",
|
||||
"lang_setting_noupd": "Keine Updates verfügbar",
|
||||
"lang_setting_thisisbeta": "This is beta version. You have to update manually."
|
||||
}
|
@@ -10,6 +10,7 @@
|
||||
"env": "Systemeinstellungen",
|
||||
"setlang": "Sprachen",
|
||||
"backup": "Import und Export von Einstellungen",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"hardwareAcceleration": "Hardwarebeschleunigung deaktivieren",
|
||||
@@ -34,6 +35,8 @@
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"absolute": "Absoluter Wert",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Design auswählen",
|
||||
"customtheme": "Bearbeiten und hinzufügen von eigenen Designs",
|
||||
"customthemeDirection": "Farbschema",
|
||||
@@ -97,7 +100,7 @@
|
||||
"tickerwarn": "Zeigt bunte Sticker über den Server. <a href=\"https://wee.jp/\">Über #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
|
||||
"animation": "Animation der Verläufe",
|
||||
"markers": "Markers(mark as read) on HTL and notifications",
|
||||
"markerswarn": "Mastodon 3.0~. Shared on WebUI and third-party supported clients.",
|
||||
"markerswarn": "Mastodon 3.0~. Auf WebUI und Drittanbieter-unterstützten Clients geteilt.",
|
||||
"remote_img": "Get images from the remote server",
|
||||
"remote_imgWarn": "All previews are got from your loginned cache server.",
|
||||
"replySound": "Ton bei Antwort",
|
||||
@@ -126,7 +129,7 @@
|
||||
"mention": "URL und Name (Hinweis auf den Benutzer)",
|
||||
"full": "URL, Text und Name(Hinweis auf den Benutzer)",
|
||||
"notqt": "Deaktiviert (Taste in Verlauf ausgeblendet)",
|
||||
"apiQuote": "API(only some instances)",
|
||||
"apiQuote": "API(nur einige Instanzen)",
|
||||
"showBookmarkAction": "Show a bookmarking toot button",
|
||||
"main": "Standard-Konto für Aktionen",
|
||||
"mainwarn": "Das Hauptkonto kann in der Kontoverwaltung gestellt werden.",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Versteckt",
|
||||
"localonly": "Nur lokal",
|
||||
"zeroWidthEmoji": "Emojis ohne Abstand Einfügen",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Tastaturkürzel Einstellungen",
|
||||
"iks": "Schnell Einfügen",
|
||||
"okswarn": "Sie können Buchstaben und Emojis mit 3-Tasten-Kombination einfügen",
|
||||
|
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"updatehere": "Neusten TheDesk holen.",
|
||||
"download": "Start",
|
||||
"updatehere": "Neusten TheDesk holen",
|
||||
"download": "Beginnen",
|
||||
"portable": "Portable Version",
|
||||
"installer": "Installer Version",
|
||||
"linux": "zip",
|
||||
"linuxdeb": "deb(Recommended on buntu, Debian)",
|
||||
"linux": "Zip",
|
||||
"linuxdeb": "deb(empfohlen auf buntu, Debian)",
|
||||
"linuxsnap": "snap",
|
||||
"snap": "Snap-Version kann auf Snapcraft sein",
|
||||
"sureupd": "Du kannst ein cooles Erlebnis verpassen!",
|
||||
@@ -15,5 +15,5 @@
|
||||
"problem2": "Bitte von <a href=\"https://thedesk.top\">Offizielle Homepage</a> herunterladen.",
|
||||
"continue": "Aktualisieren fortsetzen",
|
||||
"dlnow": "Herunterladen...",
|
||||
"checkWhatIsNew": "What is new?"
|
||||
"checkWhatIsNew": "Was gibt es neues?"
|
||||
}
|
||||
|
@@ -169,10 +169,11 @@
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Drag here to upload",
|
||||
"close": "Close",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Show profile of the selecting account",
|
||||
"closethisbox": "Close this box",
|
||||
"toot": "Toot",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "Yes",
|
||||
"temp": "Attaching files",
|
||||
"nothing": "None",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis": "Adjust status privacy",
|
||||
"cwtext": "Warning text",
|
||||
"selectVis": "Adjust status privacy",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog": "If you tell me bugs(not working or something) with this log, I can detect what is wrong more easily.",
|
||||
"about": "About TheDesk",
|
||||
"hereAddColumns": "<- Add TL",
|
||||
"foundBug": "I found a bug",
|
||||
"show": "Show",
|
||||
"directory": "Directory",
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "None",
|
||||
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
||||
"lang_manager_logout": "Logout",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
||||
"lang_emoji_get": "Get emojis",
|
||||
"lang_emoji_custom": "Custom emojis",
|
||||
@@ -86,8 +87,8 @@
|
||||
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
||||
"lang_cards_check": " check",
|
||||
"lang_cards_pip": "PiP mode",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_cards_trusted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_details_nodata": "No data",
|
||||
"lang_details_filtered": "Filtered toot",
|
||||
"lang_details_embed": "Embed HTML is cliped.",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_tagManager": "Tag timeline manager",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
@@ -177,7 +181,7 @@
|
||||
"lang_parse_direct": "Direct",
|
||||
"lang_parse_clickcopy": "Click to copy text of this toot",
|
||||
"lang_parse_clickcopyurl": "Click to copy URL of this toot",
|
||||
"lang_parse_trans": "Translate to Japanese",
|
||||
"lang_parse_trans": "Translate to English",
|
||||
"lang_parse_replyto": "Reply to this toot",
|
||||
"lang_parse_bt": "Boost this toot",
|
||||
"lang_parse_fav": "Favourite this toot",
|
||||
@@ -192,16 +196,19 @@
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_redraft": "Delete & re-draft",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Operation of this client",
|
||||
"lang_parse_clienttxt": " will be",
|
||||
"lang_parse_clientno": "done nothing",
|
||||
"lang_parse_clientemp": "emphasized(/not emphasized)",
|
||||
"lang_parse_clientmute": "muted",
|
||||
"lang_parse_mute": " will be muted. You can remove on preferences.",
|
||||
"lang_parse_voted": "Voted",
|
||||
"lang_parse_voted": "(Voted)",
|
||||
"lang_parse_myvote": "(My own poll)",
|
||||
"lang_parse_vote": "Vote",
|
||||
"lang_parse_unvoted": "Show the result without voting",
|
||||
"lang_parse_endedvote": "Expired",
|
||||
"lang_parse_people": "people",
|
||||
"lang_parse_thread": "Show thread",
|
||||
"lang_parse_unknown": "Attached file",
|
||||
"lang_parse_nsfw": "sensitive media",
|
||||
|
@@ -10,6 +10,7 @@
|
||||
"env": "System Preferences",
|
||||
"setlang": "Languages",
|
||||
"backup": "Import and export of preferences",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"hardwareAcceleration": "Disable hardware acceleration",
|
||||
@@ -34,6 +35,8 @@
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"absolute": "absolute value",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Select theme",
|
||||
"customtheme": "Edit and add custom themes",
|
||||
"customthemeDirection": "Color scheme",
|
||||
@@ -94,7 +97,7 @@
|
||||
"imgheight": "Height of images",
|
||||
"imgheightwarn": "Option:Set \"full\" to uncrop.",
|
||||
"ticker": "Enable #InstanceTicker",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://wee.jp/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://github.com/MiyonMiyon/InstanceTicker_List\">About #InstanceTicker</a> (c)2018-2020 MiyonMiyon. Released under the MIT License.",
|
||||
"animation": "Animation of timelines",
|
||||
"markers": "Markers(mark as read) on HTL and notifications",
|
||||
"markerswarn": "Mastodon 3.0~. Shared on WebUI and third-party supported clients.",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Hidden",
|
||||
"localonly": "Local Only",
|
||||
"zeroWidthEmoji": "Zero-width space when inserting emojis",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Keyboard shortcut Preferences",
|
||||
"iks": "Easy inserter",
|
||||
"okswarn": "You can insert any letters and emojis with only 3 keys",
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "crwdns3058:0crwdne3058:0",
|
||||
"close": "crwdns3060:0crwdne3060:0",
|
||||
"webSrc": "crwdns4451:0crwdne4451:0",
|
||||
"tsSrc": "crwdns4453:0crwdne4453:0",
|
||||
"showSelectProf": "crwdns3062:0crwdne3062:0",
|
||||
"closethisbox": "crwdns3064:0crwdne3064:0",
|
||||
"toot": "crwdns3066:0crwdne3066:0",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "crwdns3094:0crwdne3094:0",
|
||||
"temp": "crwdns3096:0crwdne3096:0",
|
||||
"nothing": "crwdns3098:0crwdne3098:0",
|
||||
"stamp": "crwdns4435:0crwdne4435:0",
|
||||
"stampWarn": "crwdns4437:0crwdne4437:0",
|
||||
"vis": "crwdns3100:0crwdne3100:0",
|
||||
"cwtext": "crwdns3102:0crwdne3102:0",
|
||||
"selectVis": "crwdns3104:0crwdne3104:0",
|
||||
@@ -168,6 +172,7 @@
|
||||
"contactwithlog": "crwdns4378:0crwdne4378:0",
|
||||
"about": "crwdns3384:0crwdne3384:0",
|
||||
"hereAddColumns": "crwdns3386:0crwdne3386:0",
|
||||
"foundBug": "crwdns4431:0crwdne4431:0",
|
||||
"show": "crwdns3388:0crwdne3388:0",
|
||||
"directory": "crwdns3390:0crwdne3390:0",
|
||||
"active": "crwdns3392:0crwdne3392:0",
|
||||
|
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "crwdns3502:0crwdne3502:0",
|
||||
"lang_manager_godev": "crwdns3504:0crwdne3504:0",
|
||||
"lang_manager_logout": "crwdns3506:0crwdne3506:0",
|
||||
"lang_manager_maxChars": "crwdns4447:0crwdne4447:0",
|
||||
"lang_bbmd_misskey": "crwdns3508:0crwdne3508:0",
|
||||
"lang_emoji_get": "crwdns3510:0crwdne3510:0",
|
||||
"lang_emoji_custom": "crwdns3512:0crwdne3512:0",
|
||||
@@ -86,8 +87,8 @@
|
||||
"lang_usetxtbox_reply": "crwdns3574:0crwdne3574:0",
|
||||
"lang_cards_check": "crwdns3576:0crwdne3576:0",
|
||||
"lang_cards_pip": "crwdns3578:0crwdne3578:0",
|
||||
"lang_cards_trasted": "crwdns4390:0crwdne4390:0",
|
||||
"lang_cards_untransted": "crwdns4392:0crwdne4392:0",
|
||||
"lang_cards_trusted": "crwdns4408:0crwdne4408:0",
|
||||
"lang_cards_untrusted": "crwdns4410:0crwdne4410:0",
|
||||
"lang_details_nodata": "crwdns3580:0crwdne3580:0",
|
||||
"lang_details_filtered": "crwdns3582:0crwdne3582:0",
|
||||
"lang_details_embed": "crwdns3584:0crwdne3584:0",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "crwdns3670:0crwdne3670:0",
|
||||
"lang_layout_deleteColumnDesc": "crwdns3672:0crwdne3672:0",
|
||||
"lang_layout_unread": "crwdns3674:0crwdne3674:0",
|
||||
"lang_layout_tagManager": "crwdns4411:0crwdne4411:0",
|
||||
"lang_layout_announ": "crwdns4449:0crwdne4449:0",
|
||||
"lang_sort_gothis": "crwdns3676:0crwdne3676:0",
|
||||
"lang_sort_remthis": "crwdns3678:0crwdne3678:0",
|
||||
"lang_spotify_img": "crwdns3680:0crwdne3680:0",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "crwdns3702:0crwdne3702:0",
|
||||
"lang_showontl_botacct": "crwdns3704:0[bot]crwdne3704:0",
|
||||
"lang_showontl_followed": "crwdns3706:0crwdne3706:0",
|
||||
"lang_parse_request": "crwdns4445:0crwdne4445:0",
|
||||
"lang_showontl_notf": "crwdns3708:0crwdne3708:0",
|
||||
"lang_showontl_domain": "crwdns3710:0crwdne3710:0",
|
||||
"lang_showontl_listwarn": "crwdns3712:0crwdne3712:0",
|
||||
@@ -192,6 +196,7 @@
|
||||
"lang_parse_detail": "crwdns4406:0crwdne4406:0",
|
||||
"lang_parse_redraft": "crwdns3772:0crwdne3772:0",
|
||||
"lang_parse_followed": "crwdns3774:0crwdne3774:0",
|
||||
"lang_parse_moved": "crwdns4433:0crwdne4433:0",
|
||||
"lang_parse_clientop": "crwdns3776:0crwdne3776:0",
|
||||
"lang_parse_clienttxt": "crwdns3778:0crwdne3778:0",
|
||||
"lang_parse_clientno": "crwdns3780:0crwdne3780:0",
|
||||
@@ -199,9 +204,11 @@
|
||||
"lang_parse_clientmute": "crwdns3784:0crwdne3784:0",
|
||||
"lang_parse_mute": "crwdns3786:0crwdne3786:0",
|
||||
"lang_parse_voted": "crwdns3788:0crwdne3788:0",
|
||||
"lang_parse_myvote": "crwdns4415:0crwdne4415:0",
|
||||
"lang_parse_vote": "crwdns3790:0crwdne3790:0",
|
||||
"lang_parse_unvoted": "crwdns3792:0crwdne3792:0",
|
||||
"lang_parse_endedvote": "crwdns3794:0crwdne3794:0",
|
||||
"lang_parse_people": "crwdns4413:0crwdne4413:0",
|
||||
"lang_parse_thread": "crwdns3796:0crwdne3796:0",
|
||||
"lang_parse_unknown": "crwdns3798:0crwdne3798:0",
|
||||
"lang_parse_nsfw": "crwdns3800:0crwdne3800:0",
|
||||
|
@@ -10,6 +10,7 @@
|
||||
"env": "crwdns3924:0crwdne3924:0",
|
||||
"setlang": "crwdns3926:0crwdne3926:0",
|
||||
"backup": "crwdns3928:0crwdne3928:0",
|
||||
"backupWarn": "crwdns4439:0crwdne4439:0",
|
||||
"import": "crwdns3930:0crwdne3930:0",
|
||||
"export": "crwdns3932:0crwdne3932:0",
|
||||
"hardwareAcceleration": "crwdns3934:0crwdne3934:0",
|
||||
@@ -34,6 +35,8 @@
|
||||
"useragent": "crwdns4372:0crwdne4372:0",
|
||||
"useragentWarn": "crwdns4374:0crwdne4374:0",
|
||||
"absolute": "crwdns3972:0crwdne3972:0",
|
||||
"srcUrl": "crwdns4455:0crwdne4455:0",
|
||||
"srcUrlWarn": "crwdns4457:0{q}crwdne4457:0",
|
||||
"themeSel": "crwdns3974:0crwdne3974:0",
|
||||
"customtheme": "crwdns3976:0crwdne3976:0",
|
||||
"customthemeDirection": "crwdns3978:0crwdne3978:0",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "crwdns4154:0crwdne4154:0",
|
||||
"localonly": "crwdns4156:0crwdne4156:0",
|
||||
"zeroWidthEmoji": "crwdns4158:0crwdne4158:0",
|
||||
"uploadCrop": "crwdns4441:0crwdne4441:0",
|
||||
"uploadCropWarn": "crwdns4443:0crwdne4443:0",
|
||||
"keysc": "crwdns4160:0crwdne4160:0",
|
||||
"iks": "crwdns4162:0crwdne4162:0",
|
||||
"okswarn": "crwdns4164:0crwdne4164:0",
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere":"Drag here to upload",
|
||||
"close":"Close",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf":"Show profile of the selecting account",
|
||||
"closethisbox":"Close this box",
|
||||
"toot":"Toot",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes":"Yes",
|
||||
"temp":"Attaching files",
|
||||
"nothing":"None",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis":"Adjust status privacy",
|
||||
"cwtext":"Warning text",
|
||||
"selectVis":"Adjust status privacy",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog":"If you tell me bugs(not working or something) with this log, I can detect what is wrong more easily.",
|
||||
"about":"About TheDesk",
|
||||
"hereAddColumns":"<- Add TL",
|
||||
"foundBug": "I found a bug",
|
||||
"show": "Show",
|
||||
"directory": "Directory",
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "None",
|
||||
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
||||
"lang_manager_logout": "Logout",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
||||
"lang_emoji_get": "Get emojis",
|
||||
"lang_emoji_custom": "Custom emojis",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_tagManager": "Tag timeline manager",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
@@ -192,16 +196,19 @@
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_redraft": "Delete & re-draft",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Operation of this client",
|
||||
"lang_parse_clienttxt": " will be",
|
||||
"lang_parse_clientno": "done nothing",
|
||||
"lang_parse_clientemp": "emphasized(/not emphasized)",
|
||||
"lang_parse_clientmute": "muted",
|
||||
"lang_parse_mute": " will be muted. You can remove on preferences.",
|
||||
"lang_parse_voted": "Voted",
|
||||
"lang_parse_voted": "(Voted)",
|
||||
"lang_parse_myvote": "(My own poll)",
|
||||
"lang_parse_vote": "Vote",
|
||||
"lang_parse_unvoted": "Show the result without voting",
|
||||
"lang_parse_endedvote": "Expired",
|
||||
"lang_parse_people": "people",
|
||||
"lang_parse_thread": "Show thread",
|
||||
"lang_parse_unknown": "Attached file",
|
||||
"lang_parse_nsfw": "sensitive media",
|
||||
|
@@ -4,12 +4,15 @@
|
||||
"yes": "Yes",
|
||||
"no": "No",
|
||||
"none": "None",
|
||||
"show": "Show",
|
||||
"hide": "Hide",
|
||||
"default": "Default",
|
||||
"change": "Change",
|
||||
"select": "Select",
|
||||
"env": "System Preferences",
|
||||
"setlang": "Languages",
|
||||
"backup": "Import and export of preferences",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"hardwareAcceleration": "Disable hardware acceleration",
|
||||
@@ -33,7 +36,11 @@
|
||||
"savefolderwarn": "TheDesk uses this value when it try to save pictures or take screenshots.",
|
||||
"useragent":"User agent",
|
||||
"useragentWarn":"Restart when changed",
|
||||
"frame": "Window frame",
|
||||
"frameWarn": "If 'off', the window looks cool.",
|
||||
"absolute": "absolute value",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Select theme",
|
||||
"customtheme": "Edit and add custom themes",
|
||||
"customthemeDirection": "Color scheme",
|
||||
@@ -94,7 +101,7 @@
|
||||
"imgheight": "Height of images",
|
||||
"imgheightwarn": "Option:Set \"full\" to uncrop.",
|
||||
"ticker": "Enable #InstanceTicker",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://wee.jp/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://github.com/MiyonMiyon/InstanceTicker_List\">About #InstanceTicker</a> (c)2018-2020 MiyonMiyon. Released under the MIT License.",
|
||||
"animation": "Animation of timelines",
|
||||
"markers": "Markers(mark as read) on HTL and notifications",
|
||||
"markerswarn": "Mastodon 3.0~. Shared on WebUI and third-party supported clients.",
|
||||
@@ -137,6 +144,8 @@
|
||||
"nothing": "Hidden",
|
||||
"localonly": "Local Only",
|
||||
"zeroWidthEmoji": "Zero-width space when inserting emojis",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Keyboard shortcut Preferences",
|
||||
"iks": "Easy inserter",
|
||||
"okswarn": "You can insert any letters and emojis with only 3 keys",
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Arrastrá y soltá acá para subir",
|
||||
"close": "Cerrar",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Mostrar perfil de la cuenta seleccionada",
|
||||
"closethisbox": "Cerrar esta caja",
|
||||
"toot": "Tootear",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "Sí",
|
||||
"temp": "Adjuntar archivos",
|
||||
"nothing": "Ninguno",
|
||||
"stamp": "Sello",
|
||||
"stampWarn": "Tu cuenta (aa@bb.cc) está impresa en la parte inferior derecha de la imagen subida",
|
||||
"vis": "Establecer privacidad del estado",
|
||||
"cwtext": "Texto de advertencia",
|
||||
"selectVis": "Establecer estado de privacidad",
|
||||
@@ -125,7 +129,7 @@
|
||||
"integratedTLDes": "Integrado (local/principal)",
|
||||
"localPlusDes": "Local+Respuesta+retoot",
|
||||
"notf": "Notificaciones",
|
||||
"bookmark": "Bookmarks",
|
||||
"bookmark": "Marcadores",
|
||||
"showThisTL": "Mostrar esta línea temporal:",
|
||||
"webviewWarn": "TweetDeck con TJDeck personalizado (<a href='https://gist.github.com/cutls/8787a55d2c1c53274e68a427966046a6' target='_blank'>Código</a>/<a href='https://gist.github.com/totoraj930/d1394dadb51d75666a76829f61e7280c' target='_blank'>TJDeck</a>). Los atajos de teclado te irritarán. Cuando lo sientas, revisá \"Preferir WebView\" en la parte superior de la columna.",
|
||||
"add": "Agregar",
|
||||
@@ -163,20 +167,22 @@
|
||||
"clockTips": "Reloj",
|
||||
"ramTips": "Estado de RAM",
|
||||
"changeTips": "Cambiar atajos",
|
||||
"helpAndLogs": "Help & Log",
|
||||
"helpAndLogs": "Ayuda y registro",
|
||||
"help": "Ayuda",
|
||||
"contactwithlog": "If you tell me bugs(not working or something) with this log, I can detect what is wrong more easily.",
|
||||
"contactwithlog": "Si me comentás de estos errores (algo que funcione mal o que no funcione en absoluto) con este registro, puedo detectar lo que está mal más fácilmente.",
|
||||
"about": "Acerca de TheDesk",
|
||||
"hereAddColumns": "« Agregar línea temporal",
|
||||
"foundBug": "Encontré un error",
|
||||
"show": "Mostrar",
|
||||
"directory": "Directorio",
|
||||
"active": "Recientemente activo",
|
||||
"newcomer": "Recién llegados",
|
||||
"local_only": "Sólo local",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Guía de bienvenida",
|
||||
"lookAtBottom": "Mirá en la parte inferior de esta ventana. Acá tenés algunas sugerencias.",
|
||||
"acctManDesc": "Agregá más cuentas y administralas.",
|
||||
"settingDesc": "Muchas configuraciones. ¡No vas a poder con todas!",
|
||||
"nanoDescPlus": "Miniventana (experimental)",
|
||||
"listDesc": "Toda la configuración diaria de TheDesk y Mastodon como <b>agergar y ordenar columnas</b>, <b>revisión de listas y filtros</b>."
|
||||
}
|
||||
"menuDesc": "Toda la configuración diaria de TheDesk y Mastodon como <b>agergar y ordenar columnas</b>, <b>revisión de listas y filtros</b>."
|
||||
}
|
||||
|
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "Nada",
|
||||
"lang_manager_godev": "Abrí DevCenter de Misskey. También mostramos documentos oficiales como referencia.",
|
||||
"lang_manager_logout": "Cerrar sesión",
|
||||
"lang_manager_maxChars": "Máx. de caracteres para toots",
|
||||
"lang_bbmd_misskey": "TheDesk considera \"@\" como respuesta, pero podés poner otro parámetro. \"No listado\" en Mastodon significa \"Principal\" en Misskey.",
|
||||
"lang_emoji_get": "Obtené emojis",
|
||||
"lang_emoji_custom": "Emojis personalizados",
|
||||
@@ -86,8 +87,8 @@
|
||||
"lang_usetxtbox_reply": "Modo de respuesta. \"Ctrl\" + \"Mayús\" + \"C\" para limpiar.",
|
||||
"lang_cards_check": " comprobado",
|
||||
"lang_cards_pip": "Modo de pantalla en pantalla",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_cards_trusted": "HTML insertado de confianza por TheDesk (Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "HTML insertado no confiable por TheDesk",
|
||||
"lang_details_nodata": "Sin datos",
|
||||
"lang_details_filtered": "Toot filtrado",
|
||||
"lang_details_embed": "El código HTML de inserción se copió al portapapeles.",
|
||||
@@ -116,7 +117,7 @@
|
||||
"lang_tl_postmarkers_title": "Procesando…",
|
||||
"lang_tl_postmarkers": "Datos de marcadores POST. Por favor, esperá.",
|
||||
"lang_img_DLDone": "Descargado:",
|
||||
"lang_img_copyDone": "Copied: URL of this image",
|
||||
"lang_img_copyDone": "Copiado: dirección web de esta imagen",
|
||||
"lang_layout_gotop": "Ir al comienzo de esta columna. Cuando el ícono está rojo, esta columna no se puede conectar a la API del streaming. En ese caso, por favor, refrescá.",
|
||||
"lang_layout_thisacct": "{{notf}} de esta cuenta",
|
||||
"lang_layout_delthis": "Quitar esta columna",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "Eliminar esta columna",
|
||||
"lang_layout_deleteColumnDesc": "Eliminar esta columna",
|
||||
"lang_layout_unread": "Sin leer",
|
||||
"lang_layout_tagManager": "Administrador de etiqueta de línea temporal",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Ir a esta columna",
|
||||
"lang_sort_remthis": "Eliminar esta columna",
|
||||
"lang_spotify_img": "Adjuntar la tapa del álbum",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continuar en la nueva cuenta",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Te sigue",
|
||||
"lang_parse_request": "Solicitud de seguimiento",
|
||||
"lang_showontl_notf": "Notificación ",
|
||||
"lang_showontl_domain": "Dominio ",
|
||||
"lang_showontl_listwarn": "Seguí a este usuario para agregarlo a las listas.",
|
||||
@@ -182,16 +186,17 @@
|
||||
"lang_parse_bt": "Retootear este toot",
|
||||
"lang_parse_fav": "Marcar como favorito este toot",
|
||||
"lang_parse_quote": "Citar este toot",
|
||||
"lang_parse_bookmark": "Bookmark this",
|
||||
"lang_parse_unbookmark": "Unbookmark this",
|
||||
"lang_parse_bookmark": "Marcar esto",
|
||||
"lang_parse_unbookmark": "Desmarcar esto",
|
||||
"lang_parse_del": "Eliminar este toot",
|
||||
"lang_parse_pin": "Fijar este toot",
|
||||
"lang_parse_unpin": "Unpin this",
|
||||
"lang_parse_link": "Open in a browser",
|
||||
"lang_parse_unpin": "Desanclar esto",
|
||||
"lang_parse_link": "Abrir en navegador web",
|
||||
"lang_parse_det": "Detalles vía tu cuenta principal.",
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_detail": "Detalles",
|
||||
"lang_parse_redraft": "Eliminar toot original y editarlo",
|
||||
"lang_parse_followed": "Te sigue",
|
||||
"lang_parse_moved": "Se mudó a…",
|
||||
"lang_parse_clientop": "Función de este cliente",
|
||||
"lang_parse_clienttxt": " hará lo siguiente",
|
||||
"lang_parse_clientno": "nada",
|
||||
@@ -199,13 +204,15 @@
|
||||
"lang_parse_clientmute": "silenciar",
|
||||
"lang_parse_mute": " será silenciado. Lo podés quitar en la configuración.",
|
||||
"lang_parse_voted": "Votado",
|
||||
"lang_parse_myvote": "(Mi propia encuesta)",
|
||||
"lang_parse_vote": "Votar",
|
||||
"lang_parse_unvoted": "Mostrar el resultado sin votar",
|
||||
"lang_parse_endedvote": "Venció",
|
||||
"lang_parse_people": "gente",
|
||||
"lang_parse_thread": "Mostrar hilo",
|
||||
"lang_parse_unknown": "Archivo adjunto",
|
||||
"lang_parse_nsfw": "medios sensibles",
|
||||
"lang_parse_html": "Show embed HTML",
|
||||
"lang_parse_html": "Mostrar HTML insertado",
|
||||
"lang_parse_notffilter": "Mostrar notificaciones de este usuario",
|
||||
"lang_misskeyparse_renote": "Republicar",
|
||||
"lang_misskeyparse_renoteqt": "Renovar",
|
||||
|
@@ -10,6 +10,7 @@
|
||||
"env": "Configuración del sistema",
|
||||
"setlang": "Idiomas",
|
||||
"backup": "Importación y exportación de la configuración",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Importar",
|
||||
"export": "Exportar",
|
||||
"hardwareAcceleration": "Deshabilitar la aceleración por hardware",
|
||||
@@ -31,9 +32,11 @@
|
||||
"fontsize": "Tamaño de tipografía",
|
||||
"savefolder": "Carpeta para guardar",
|
||||
"savefolderwarn": "TheDesk usa esta configuración para guardar imágenes en general y capturas de pantallas.",
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"useragent": "Cadena de agente de usuario",
|
||||
"useragentWarn": "Reiniciar cuando se cambie",
|
||||
"absolute": "valor absoluto",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Seleccionar tema",
|
||||
"customtheme": "Editar y agregar temas personalizados",
|
||||
"customthemeDirection": "Esquema de colores",
|
||||
@@ -98,8 +101,8 @@
|
||||
"animation": "Animación de líneas temporales",
|
||||
"markers": "Marcadores (marcar como leído) en línea temporal principal y notificaciones",
|
||||
"markerswarn": "Mastodon 3.0~. Compartido en interface web y clientes de terceros soportados.",
|
||||
"remote_img": "Get images from the remote server",
|
||||
"remote_imgWarn": "All previews are got from your loginned cache server.",
|
||||
"remote_img": "Obtener imágenes del servidor remoto",
|
||||
"remote_imgWarn": "Todas las previsualizaciones se obtienen de tu servidor de caché conectado.",
|
||||
"replySound": "Sonido (respuesta)",
|
||||
"favSound": "Sonido (marcado como favorito)",
|
||||
"btSound": "Sonido (retoot)",
|
||||
@@ -127,7 +130,7 @@
|
||||
"full": "Dirección web, texto y cuenta (mención al usuario)",
|
||||
"notqt": "Deshabilitado (ocultar botones en las líneas temporales)",
|
||||
"apiQuote": "API (sólo algunas instancias)",
|
||||
"showBookmarkAction": "Show a bookmarking toot button",
|
||||
"showBookmarkAction": "Mostrar un botón de marcador",
|
||||
"main": "Acciones de cuenta predeterminada",
|
||||
"mainwarn": "Se puede establecer la cuenta predeterminada en el Administrador de cuentas.",
|
||||
"lastacct": "Cuenta usada recientemente",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Oculto",
|
||||
"localonly": "Sólo local",
|
||||
"zeroWidthEmoji": "No agregar espacio al insertar emojis",
|
||||
"uploadCrop": "Escalar automáticamente para ajustar",
|
||||
"uploadCropWarn": "Anchura máxima (píxeles). Las imágenes subidas son convertidas a JPEG (desde JPEG) o PNG (desde otros formatos). Si establecés \"0\" las imágenes no se redimensionarán. Nota: si subís una imagen animada, como un archivo GIF, se convertirá como imagen estática.",
|
||||
"keysc": "Configuración de atajos del teclado",
|
||||
"iks": "Inserción fácil",
|
||||
"okswarn": "Podés insertar cualquier letra y emoji con sólo 3 teclas",
|
||||
|
@@ -4,7 +4,7 @@
|
||||
"portable": "Compilación portátil",
|
||||
"installer": "Compilación de instalación",
|
||||
"linux": "zip",
|
||||
"linuxdeb": "deb(Recommended on buntu, Debian)",
|
||||
"linuxdeb": "deb (Recomendado para Debian y Ubuntu)",
|
||||
"linuxsnap": "snap",
|
||||
"snap": "La compilación Snap puede encontrarse en Snapcraft",
|
||||
"sureupd": "¡Podrías perderte una experiencia copada!",
|
||||
@@ -15,5 +15,5 @@
|
||||
"problem2": "Por favor, descargá desde <a href=\"https://thedesk.top/en/\">el sitio web oficial</a>.",
|
||||
"continue": "Continuar con la actualización",
|
||||
"dlnow": "Descargando…",
|
||||
"checkWhatIsNew": "What is new?"
|
||||
"checkWhatIsNew": "¿Qué hay de nuevo?"
|
||||
}
|
||||
|
@@ -1,23 +1,23 @@
|
||||
{
|
||||
"list": "List of accounts",
|
||||
"back": "Back",
|
||||
"add": "Add an account",
|
||||
"codesetupwarn": "Uncheck it to skip pasiting code.(login to Mastodon on Windows or macOS) (Recommended: pcheck)",
|
||||
"codesetup": "Code setup",
|
||||
"mainacct": "Main an account",
|
||||
"selacct": "Select an account",
|
||||
"codepastewarn": "Paste the code and close browser.",
|
||||
"codepaste": "Code",
|
||||
"domain": "Domain",
|
||||
"connect": "Federated servers",
|
||||
"list": "Lista de cuentas",
|
||||
"back": "Atrás",
|
||||
"add": "Agregar una cuenta",
|
||||
"codesetupwarn": "Desmarcarlo para omitir código de pegado. (iniciar sesión en Mastodon en Windows o macOS) (Recomendado: pcheck)",
|
||||
"codesetup": "Configuración de código",
|
||||
"mainacct": "Cuenta principal",
|
||||
"selacct": "Seleccionar una cuenta",
|
||||
"codepastewarn": "Pegar el código y cerrar el navegador web.",
|
||||
"codepaste": "Código",
|
||||
"domain": "Dominio",
|
||||
"connect": "Servidores federados",
|
||||
"toots": "Toots",
|
||||
"users": "Users",
|
||||
"users2": "users",
|
||||
"safety": "Connection",
|
||||
"ver": "Mastodon version",
|
||||
"users": "Usuarios",
|
||||
"users2": "usuarios",
|
||||
"safety": "Conexión",
|
||||
"ver": "Versión de Mastodon",
|
||||
"ko": "",
|
||||
"thisismisskey": "Login as Misskey",
|
||||
"misskeylogin": "Read <a href=\"https://thedesk.top/how-to-misskey-login.html\">Docs(ja)</a> to login Misskey.",
|
||||
"nodata": "No data",
|
||||
"accessTokenSetup": "Use access token to login(click after fill not code but access-token in box: Advanced)"
|
||||
"thisismisskey": "Iniciar sesión como Misskey",
|
||||
"misskeylogin": "Leer <a href=\"https://thedesk.top/how-to-misskey-login.html\">Docs(ja)</a> para iniciar sesión en Misskey.",
|
||||
"nodata": "Sin datos",
|
||||
"accessTokenSetup": "Usar el token de acceso para iniciar sesión (haga clic después de completar no el código si no el token de acceso en el casilla: avanzado)"
|
||||
}
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Drag here to upload",
|
||||
"close": "Close",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Show profile of the selecting account",
|
||||
"closethisbox": "Close this box",
|
||||
"toot": "Toot",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "Yes",
|
||||
"temp": "Attaching files",
|
||||
"nothing": "None",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis": "Adjust status privacy",
|
||||
"cwtext": "Warning text",
|
||||
"selectVis": "Adjust status privacy",
|
||||
@@ -105,7 +109,7 @@
|
||||
"blocked": "You are blocked. Why?",
|
||||
"likeUserDes": "Get people resembling this user.",
|
||||
"get": "Get",
|
||||
"historyBack": "Back",
|
||||
"historyBack": "Atrás",
|
||||
"empUser": "Emphasize this user",
|
||||
"supportme": "Support TheDesk!",
|
||||
"TheDeskDes": "TheDesk has no ad, you need no charge to unlock premium features. We need your friendly support!",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog": "If you tell me bugs(not working or something) with this log, I can detect what is wrong more easily.",
|
||||
"about": "About TheDesk",
|
||||
"hereAddColumns": "<- Add TL",
|
||||
"foundBug": "I found a bug",
|
||||
"show": "Show",
|
||||
"directory": "Directory",
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@
|
||||
"lang_speech": "Google US English",
|
||||
"lang_lang": "Language",
|
||||
"lang_langlocale": "English",
|
||||
"lang_back": "Back",
|
||||
"lang_back": "Atrás",
|
||||
"lang_set": "Set",
|
||||
"lang_langadd": "Translate TheDesk to other languages or proofread TheDesk on <a href=\"https://github.com/cutls/TheDesk\" target=\"_blank\">GitHub</a>. TheDesk needs your help.",
|
||||
"lang_time_prefixAgo": null,
|
||||
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "None",
|
||||
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
||||
"lang_manager_logout": "Logout",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
||||
"lang_emoji_get": "Get emojis",
|
||||
"lang_emoji_custom": "Custom emojis",
|
||||
@@ -86,16 +87,16 @@
|
||||
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
||||
"lang_cards_check": " check",
|
||||
"lang_cards_pip": "PiP mode",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_details_nodata": "No data",
|
||||
"lang_cards_trusted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_details_nodata": "Sin datos",
|
||||
"lang_details_filtered": "Filtered toot",
|
||||
"lang_details_embed": "Embed HTML is cliped.",
|
||||
"lang_details_url": "URL of this toot is cliped.",
|
||||
"lang_details_txt": "Content of this toot is cliped.",
|
||||
"lang_filter_nodata": "No data",
|
||||
"lang_filter_nodata": "Sin datos",
|
||||
"lang_filter_errordegree": "Please check a context",
|
||||
"lang_list_nodata": "No data",
|
||||
"lang_list_nodata": "Sin datos",
|
||||
"lang_list_show": "Show",
|
||||
"lang_list_users": "Users list",
|
||||
"lang_list_nouser": "No users in this list.",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_tagManager": "Tag timeline manager",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
@@ -177,7 +181,7 @@
|
||||
"lang_parse_direct": "Direct",
|
||||
"lang_parse_clickcopy": "Click to copy text of this toot",
|
||||
"lang_parse_clickcopyurl": "Click to copy URL of this toot",
|
||||
"lang_parse_trans": "Translate to Japanese",
|
||||
"lang_parse_trans": "Translate to English",
|
||||
"lang_parse_replyto": "Reply to this toot",
|
||||
"lang_parse_bt": "Boost this toot",
|
||||
"lang_parse_fav": "Favourite this toot",
|
||||
@@ -192,16 +196,19 @@
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_redraft": "Delete & re-draft",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Operation of this client",
|
||||
"lang_parse_clienttxt": " will be",
|
||||
"lang_parse_clientno": "done nothing",
|
||||
"lang_parse_clientemp": "emphasized(/not emphasized)",
|
||||
"lang_parse_clientmute": "muted",
|
||||
"lang_parse_mute": " will be muted. You can remove on preferences.",
|
||||
"lang_parse_voted": "Voted",
|
||||
"lang_parse_voted": "(Voted)",
|
||||
"lang_parse_myvote": "(My own poll)",
|
||||
"lang_parse_vote": "Vote",
|
||||
"lang_parse_unvoted": "Show the result without voting",
|
||||
"lang_parse_endedvote": "Expired",
|
||||
"lang_parse_people": "people",
|
||||
"lang_parse_thread": "Show thread",
|
||||
"lang_parse_unknown": "Attached file",
|
||||
"lang_parse_nsfw": "sensitive media",
|
||||
|
@@ -5,39 +5,42 @@
|
||||
"no": "No",
|
||||
"none": "None",
|
||||
"default": "Default",
|
||||
"change": "Change",
|
||||
"select": "Select",
|
||||
"env": "System Preferences",
|
||||
"setlang": "Languages",
|
||||
"backup": "Import and export of preferences",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"hardwareAcceleration": "Disable hardware acceleration",
|
||||
"hardwareAccelerationWarn": "Auto restarted",
|
||||
"theme": "Themes",
|
||||
"popup": "Popup notification(on Windows)",
|
||||
"popupwarn": "Hide to set \"0\"",
|
||||
"s": "sec",
|
||||
"nativenotf": "Native notification",
|
||||
"nnwarn": "This does not work on Windows Portable ver.",
|
||||
"nntest": "Notification test",
|
||||
"minwidth": "Minimum width of columns",
|
||||
"minwidthwarn": "Scroll bar will be shown when your window size is more than ammounts of columns.",
|
||||
"fixwidth": "Minimum width of TweetDeck browser",
|
||||
"change": "Cambiar",
|
||||
"select": "Seleccionar",
|
||||
"env": "Preferencias del sistema",
|
||||
"setlang": "Idiomas",
|
||||
"backup": "Importación y exportación de la configuración",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Importar",
|
||||
"export": "Exportar",
|
||||
"hardwareAcceleration": "Deshabilitar la aceleración por hardware",
|
||||
"hardwareAccelerationWarn": "Reinicio automático",
|
||||
"theme": "Temas",
|
||||
"popup": "Notificación emergente (en Windows)",
|
||||
"popupwarn": "Ocultar para establecer \"0\"",
|
||||
"s": "seg",
|
||||
"nativenotf": "Notificación nativa",
|
||||
"nnwarn": "Esto no funciona en la versión portable para Windows.",
|
||||
"nntest": "Prueba de notificación",
|
||||
"minwidth": "Ancho mínimo de columnas",
|
||||
"minwidthwarn": "La barra de desplazamiento se mostrará cuando el tamaño de la ventana sea mayor que el de las columnas.",
|
||||
"fixwidth": "Ancho mínimo del navegador TweetDeck",
|
||||
"fixwidthwarn": "",
|
||||
"above": "above",
|
||||
"font": "Font",
|
||||
"above": "arriba",
|
||||
"font": "Fuente",
|
||||
"fontwarn": "Select your favorite font to 'Select'(Windows/ macOS only)",
|
||||
"fontsize": "Font size",
|
||||
"savefolder": "Folder to save",
|
||||
"savefolderwarn": "TheDesk uses this value when it try to save pictures or take screenshots.",
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"absolute": "absolute value",
|
||||
"themeSel": "Select theme",
|
||||
"customtheme": "Edit and add custom themes",
|
||||
"customthemeDirection": "Color scheme",
|
||||
"advanced": "Advanced options(6 additional colors)",
|
||||
"fontsize": "Tamaño de fuente",
|
||||
"savefolder": "Carpeta para guardar",
|
||||
"savefolderwarn": "TheDesk utiliza este valor cuando intenta guardar fotos o tomar capturas de pantalla.",
|
||||
"useragent": "Agente de usuario",
|
||||
"useragentWarn": "Reiniciar al cambiar",
|
||||
"absolute": "valor absoluto",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Seleccionar tema",
|
||||
"customtheme": "Editar y añadir temas personalizados",
|
||||
"customthemeDirection": "Esquema de colores",
|
||||
"advanced": "Opciones avanzadas (6 colores adicionales)",
|
||||
"advancedWarn": "Advanced options will be <i>null</i> if you set nothing, while basic 3 options will be white(<i>fff</i>). They(adv. options) will be reset if you saved with advanced panel closed.",
|
||||
"active": "Background of Show or CW buttons, selected options...",
|
||||
"modal": "Background of modals",
|
||||
@@ -94,7 +97,7 @@
|
||||
"imgheight": "Height of images",
|
||||
"imgheightwarn": "Option:Set \"full\" to uncrop.",
|
||||
"ticker": "Enable #InstanceTicker",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://wee.jp/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://github.com/MiyonMiyon/InstanceTicker_List\">About #InstanceTicker</a> (c)2018-2020 MiyonMiyon. Released under the MIT License.",
|
||||
"animation": "Animation of timelines",
|
||||
"markers": "Markers(mark as read) on HTL and notifications",
|
||||
"markerswarn": "Mastodon 3.0~. Shared on WebUI and third-party supported clients.",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Hidden",
|
||||
"localonly": "Local Only",
|
||||
"zeroWidthEmoji": "Zero-width space when inserting emojis",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Keyboard shortcut Preferences",
|
||||
"iks": "Easy inserter",
|
||||
"okswarn": "You can insert any letters and emojis with only 3 keys",
|
||||
@@ -176,7 +181,7 @@
|
||||
"test": "Test",
|
||||
"sample": "TheDesk is an open-source Mastodon client for PC.",
|
||||
"playstop": "Play/Stop",
|
||||
"back": "Back",
|
||||
"back": "Atrás",
|
||||
"keyscs": "Keyboard shortcuts",
|
||||
"keyscr": "Jump to n(1-9)th column",
|
||||
"keynew": "Open toot box",
|
||||
|
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"draghere": "Drag here to upload",
|
||||
"close": "Close",
|
||||
"webSrc": "Search on Web",
|
||||
"tsSrc": "Search on tootsearch",
|
||||
"showSelectProf": "Show profile of the selecting account",
|
||||
"closethisbox": "Close this box",
|
||||
"toot": "Toot",
|
||||
@@ -20,6 +22,8 @@
|
||||
"yes": "Yes",
|
||||
"temp": "Attaching files",
|
||||
"nothing": "None",
|
||||
"stamp": "Stamp",
|
||||
"stampWarn": "Your acct(aa@bb.cc) is printed on the right-bottom of the uploaded image",
|
||||
"vis": "Adjust status privacy",
|
||||
"cwtext": "Warning text",
|
||||
"selectVis": "Adjust status privacy",
|
||||
@@ -168,15 +172,17 @@
|
||||
"contactwithlog": "If you tell me bugs(not working or something) with this log, I can detect what is wrong more easily.",
|
||||
"about": "About TheDesk",
|
||||
"hereAddColumns": "<- Add TL",
|
||||
"foundBug": "I found a bug",
|
||||
"show": "Show",
|
||||
"directory": "Directory",
|
||||
"active": "Recently active",
|
||||
"newcomer": "New arrivals",
|
||||
"local_only": "Local only",
|
||||
"menu": "Menu",
|
||||
"demoBottomBtns": "Welcome guide",
|
||||
"lookAtBottom": "Look at the bottom of this window. Here is some tips about it.",
|
||||
"acctManDesc": "Add more accounts and logout them.",
|
||||
"settingDesc": "Many and many preferences here. You will couldn't check it all!",
|
||||
"nanoDescPlus": "Mini window client(experimental)",
|
||||
"listDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
"menuDesc": "All daily TheDesk and Mastodon tuning like <b>add and sort columns</b>, <b>list and filter check</b>."
|
||||
}
|
||||
|
@@ -48,6 +48,7 @@
|
||||
"lang_manager_none": "None",
|
||||
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
||||
"lang_manager_logout": "Logout",
|
||||
"lang_manager_maxChars": "Max chars of toots",
|
||||
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
||||
"lang_emoji_get": "Get emojis",
|
||||
"lang_emoji_custom": "Custom emojis",
|
||||
@@ -86,8 +87,8 @@
|
||||
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
||||
"lang_cards_check": " check",
|
||||
"lang_cards_pip": "PiP mode",
|
||||
"lang_cards_trasted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untransted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_cards_trusted": "Trusted embed HTML by TheDesk(Twitter, nicovideo, YouTube, Spotify, twitcasing)",
|
||||
"lang_cards_untrusted": "Untrusted embed HTML by TheDesk",
|
||||
"lang_details_nodata": "No data",
|
||||
"lang_details_filtered": "Filtered toot",
|
||||
"lang_details_embed": "Embed HTML is cliped.",
|
||||
@@ -137,6 +138,8 @@
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_layout_tagManager": "Tag timeline manager",
|
||||
"lang_layout_announ": "Announcement: the counter is the number of your unread announcements. If not shown, it means announcements are all marked as read.",
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
@@ -153,6 +156,7 @@
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_parse_request": "Follow request",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
@@ -177,7 +181,7 @@
|
||||
"lang_parse_direct": "Direct",
|
||||
"lang_parse_clickcopy": "Click to copy text of this toot",
|
||||
"lang_parse_clickcopyurl": "Click to copy URL of this toot",
|
||||
"lang_parse_trans": "Translate to Japanese",
|
||||
"lang_parse_trans": "Translate to English",
|
||||
"lang_parse_replyto": "Reply to this toot",
|
||||
"lang_parse_bt": "Boost this toot",
|
||||
"lang_parse_fav": "Favourite this toot",
|
||||
@@ -192,16 +196,19 @@
|
||||
"lang_parse_detail": "Details",
|
||||
"lang_parse_redraft": "Delete & re-draft",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"lang_parse_moved": "Moved to...",
|
||||
"lang_parse_clientop": "Operation of this client",
|
||||
"lang_parse_clienttxt": " will be",
|
||||
"lang_parse_clientno": "done nothing",
|
||||
"lang_parse_clientemp": "emphasized(/not emphasized)",
|
||||
"lang_parse_clientmute": "muted",
|
||||
"lang_parse_mute": " will be muted. You can remove on preferences.",
|
||||
"lang_parse_voted": "Voted",
|
||||
"lang_parse_voted": "(Voted)",
|
||||
"lang_parse_myvote": "(My own poll)",
|
||||
"lang_parse_vote": "Vote",
|
||||
"lang_parse_unvoted": "Show the result without voting",
|
||||
"lang_parse_endedvote": "Expired",
|
||||
"lang_parse_people": "people",
|
||||
"lang_parse_thread": "Show thread",
|
||||
"lang_parse_unknown": "Attached file",
|
||||
"lang_parse_nsfw": "sensitive media",
|
||||
|
@@ -10,6 +10,7 @@
|
||||
"env": "System Preferences",
|
||||
"setlang": "Languages",
|
||||
"backup": "Import and export of preferences",
|
||||
"backupWarn": "If you got a error when you choose the file, please paste the strings printed when you open the file and click import",
|
||||
"import": "Import",
|
||||
"export": "Export",
|
||||
"hardwareAcceleration": "Disable hardware acceleration",
|
||||
@@ -34,6 +35,8 @@
|
||||
"useragent": "User agent",
|
||||
"useragentWarn": "Restart when changed",
|
||||
"absolute": "absolute value",
|
||||
"srcUrl": "Search engine",
|
||||
"srcUrlWarn": "{q} will be replaced to query.",
|
||||
"themeSel": "Select theme",
|
||||
"customtheme": "Edit and add custom themes",
|
||||
"customthemeDirection": "Color scheme",
|
||||
@@ -94,7 +97,7 @@
|
||||
"imgheight": "Height of images",
|
||||
"imgheightwarn": "Option:Set \"full\" to uncrop.",
|
||||
"ticker": "Enable #InstanceTicker",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://wee.jp/\">About #InstanceTicker</a> Copyright 2018 weepjp, kyori19.",
|
||||
"tickerwarn": "Show colorful stickers about the server. <a href=\"https://github.com/MiyonMiyon/InstanceTicker_List\">About #InstanceTicker</a> (c)2018-2020 MiyonMiyon. Released under the MIT License.",
|
||||
"animation": "Animation of timelines",
|
||||
"markers": "Markers(mark as read) on HTL and notifications",
|
||||
"markerswarn": "Mastodon 3.0~. Shared on WebUI and third-party supported clients.",
|
||||
@@ -137,6 +140,8 @@
|
||||
"nothing": "Hidden",
|
||||
"localonly": "Local Only",
|
||||
"zeroWidthEmoji": "Zero-width space when inserting emojis",
|
||||
"uploadCrop": "Auto scale to fit",
|
||||
"uploadCropWarn": "Max long-side px. Uploaded images are converted to JPEG(from JPEG) or PNG(from others). Set 0 and the images will not be resized. Notice: if you post an animated picture like GIF, it will be converted static one.",
|
||||
"keysc": "Keyboard shortcut Preferences",
|
||||
"iks": "Easy inserter",
|
||||
"okswarn": "You can insert any letters and emojis with only 3 keys",
|
||||
|