Compare commits
491 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9bb066596c | ||
|
a0b6610b7d | ||
|
c4e06f90f8 | ||
|
60a525f0b8 | ||
|
fe6067eeed | ||
|
f72294e2b9 | ||
|
409b98dd39 | ||
|
0168b882a8 | ||
|
9aa83354bd | ||
|
e311d82b0a | ||
|
531e526d33 | ||
|
a2a6c49ae0 | ||
|
15ae6d91d9 | ||
|
f3ba3706ba | ||
|
0ab6ea2e26 | ||
|
05d17f329f | ||
|
c7e9b67698 | ||
|
f654620816 | ||
|
5bd4885241 | ||
|
91643b06f2 | ||
|
d35ec1b7c4 | ||
|
d2609d11ab | ||
|
014d3499f0 | ||
|
edd8a412b5 | ||
|
7c57eef9f7 | ||
|
8df4d5d808 | ||
|
98b0fd4a4f | ||
|
3e8c9acb02 | ||
|
d829dd01de | ||
|
41803d21c9 | ||
|
b58b66178c | ||
|
7c40cf1fb7 | ||
|
a923c62dac | ||
|
00d9c91a53 | ||
|
6fa101c699 | ||
|
1372833dd8 | ||
|
7d57750d73 | ||
|
28c06706b4 | ||
|
18146d2ef7 | ||
|
52c65afce6 | ||
|
8f76c9b09d | ||
|
fffc94fbdd | ||
|
1f398a8b4c | ||
|
98f4010cb7 | ||
|
d34e8940a7 | ||
|
bbf3c33a89 | ||
|
f69fee98df | ||
|
f9b717965f | ||
|
01ad439d0a | ||
|
29ad8d9dbc | ||
|
6ffad11cba | ||
|
dc62840299 | ||
|
ae9c669ca3 | ||
|
cd4b9b3be6 | ||
|
e7fc5719e3 | ||
|
29350e0782 | ||
|
2c9821e670 | ||
|
a61050f8fa | ||
|
747d25b439 | ||
|
cafd36b85d | ||
|
d7450d9699 | ||
|
4224a02d16 | ||
|
82bf21d54b | ||
|
e2672d5d94 | ||
|
8d30ccf6fe | ||
|
be995930a0 | ||
|
fbd52c5a85 | ||
|
10e7a7fd27 | ||
|
92a0ec03b1 | ||
|
83a07f7ee4 | ||
|
32628be87b | ||
|
102e8964ee | ||
|
742ea9f245 | ||
|
25f843331c | ||
|
c6680d1f03 | ||
|
f5279fc91e | ||
|
ba50376c85 | ||
|
dd1395f3f4 | ||
|
450df2ce6a | ||
|
f9e384a87d | ||
|
81484b7ae3 | ||
|
a14809a96a | ||
|
1753b01a1b | ||
|
86e7924675 | ||
|
e0daa923c6 | ||
|
32c67d5f62 | ||
|
7580706bd0 | ||
|
68da5085ea | ||
|
55d0c0f66b | ||
|
5d35d56837 | ||
|
a9b150960e | ||
|
72a9e81ba1 | ||
|
0032a51051 | ||
|
faa9102815 | ||
|
525ce59b8b | ||
|
00055a9f32 | ||
|
3da62e366f | ||
|
66ba0fe18e | ||
|
cc7a7386be | ||
|
f1a89f1001 | ||
|
83ad5538b0 | ||
|
8e1497cf71 | ||
|
9b4da63b0d | ||
|
1fad5adbd2 | ||
|
72497154a7 | ||
|
5dcab4fe9e | ||
|
d592f5eb62 | ||
|
d85cbca8ea | ||
|
be92ae76d6 | ||
|
3cfedd4ae9 | ||
|
cd88acf337 | ||
|
adf628b3b0 | ||
|
bbb945283b | ||
|
10b7691313 | ||
|
1e93556f8e | ||
|
77bfb852e0 | ||
|
abeb0ad82f | ||
|
722304c4a1 | ||
|
9e5ea8c052 | ||
|
e6dc46a270 | ||
|
cf0fffcc3b | ||
|
64835b0de9 | ||
|
ca3ae925d1 | ||
|
245e17ed42 | ||
|
22605323c1 | ||
|
ca0e8f93f9 | ||
|
8f763f9c5c | ||
|
1e8e619762 | ||
|
5d3d5b4c72 | ||
|
81029b203e | ||
|
1fbfb3970d | ||
|
aa9e590574 | ||
|
495ef70d41 | ||
|
8d45bf6ee9 | ||
|
5ea7e397c6 | ||
|
70af77f06e | ||
|
21da8f0274 | ||
|
9be2b578a2 | ||
|
bcbc640840 | ||
|
a569240444 | ||
|
f071b9c4f2 | ||
|
681f116733 | ||
|
b1bfa713e2 | ||
|
8133bf1916 | ||
|
7fc61cdad3 | ||
|
0f926c96c8 | ||
|
557409ea72 | ||
|
f0a847b135 | ||
|
5181b271bc | ||
|
38fe00fbe0 | ||
|
be100b24d1 | ||
|
0ef338b1e8 | ||
|
12130f8601 | ||
|
dfe6c9e8e7 | ||
|
cfd4d18c62 | ||
|
7ee60c8986 | ||
|
0fee24734d | ||
|
4b7895c3ab | ||
|
63610a324c | ||
|
7a72daf3ec | ||
|
f33acd67ec | ||
|
9a5ac036d6 | ||
|
e0d8094268 | ||
|
1d5648f882 | ||
|
d528093510 | ||
|
738a11d96f | ||
|
01744889fb | ||
|
f5c4362f0d | ||
|
268dd4d469 | ||
|
41c207af14 | ||
|
513b7ecd78 | ||
|
83fb4663f6 | ||
|
7e88993b5c | ||
|
6e6b7f37b2 | ||
|
a1152446d9 | ||
|
3eab9b30a1 | ||
|
573587b894 | ||
|
adfb395492 | ||
|
b4b4f09287 | ||
|
31c80ff07b | ||
|
d20e94b422 | ||
|
1e7fefbde9 | ||
|
42f68a1109 | ||
|
f47c704e29 | ||
|
be3cfd8d2d | ||
|
d6ded9e64b | ||
|
6b0704ec76 | ||
|
a896ae69d0 | ||
|
9ba4fe2d0f | ||
|
29b904998e | ||
|
bf422cb0b2 | ||
|
bf87c3e3f1 | ||
|
b96c6bd324 | ||
|
0293318b59 | ||
|
38588b8204 | ||
|
f2d22e6b7f | ||
|
45848306bc | ||
|
b160b25d7d | ||
|
d1e6d533fc | ||
|
ee168ed5e2 | ||
|
6c8e3d88bd | ||
|
77b2e416c1 | ||
|
e02eefdc8e | ||
|
fd4f5ec574 | ||
|
b327b38113 | ||
|
76ad662f56 | ||
|
4ad3c397b6 | ||
|
75d2b46c7a | ||
|
a7659a0c2e | ||
|
e3a740f66a | ||
|
af281481d5 | ||
|
5f6758554d | ||
|
2b2a8c1d2e | ||
|
156f5aec91 | ||
|
9045e5aa90 | ||
|
5ca9d2f1b1 | ||
|
6cb5bcfb0c | ||
|
ffaff7c356 | ||
|
130fc4996f | ||
|
a95141048d | ||
|
2d82382f34 | ||
|
6afd975913 | ||
|
0df0eb104c | ||
|
f1c5d3605c | ||
|
afed289647 | ||
|
22fb1fb8c9 | ||
|
5809d4efca | ||
|
332e215c85 | ||
|
9eefbe9fb9 | ||
|
3fa86d3236 | ||
|
f0e125df08 | ||
|
8bf7d0efd4 | ||
|
8a71dfa591 | ||
|
928dee677f | ||
|
bf5500eb19 | ||
|
a5efb1b4b6 | ||
|
5aa77a67a8 | ||
|
c5c22f8dc9 | ||
|
ad3ae5e6b1 | ||
|
ed029ecb01 | ||
|
ff45c64a22 | ||
|
c953091e8d | ||
|
fd30ab7168 | ||
|
dca3dddba0 | ||
|
41eb4c54a4 | ||
|
15a2333010 | ||
|
1061d2867f | ||
|
64ba1f1ea1 | ||
|
196cc664c8 | ||
|
1d871d4d68 | ||
|
89475a9838 | ||
|
52d335cbfd | ||
|
333ca4f36a | ||
|
d2e18c5400 | ||
|
f04cc92b44 | ||
|
fa3a048a6c | ||
|
6200034dd0 | ||
|
9a25d82c48 | ||
|
95e0d3953e | ||
|
fb91da4b69 | ||
|
74fcd2df7b | ||
|
1a88a08454 | ||
|
688cf579d6 | ||
|
ba9ba5f55b | ||
|
8341733dc2 | ||
|
54f7a0f20e | ||
|
b2382d91d6 | ||
|
b729780ac1 | ||
|
6f4c516d0c | ||
|
b9bdcba4f9 | ||
|
bd69863799 | ||
|
375fdc444e | ||
|
e832592b35 | ||
|
a15d4e097e | ||
|
2597d2455c | ||
|
16e817d42c | ||
|
c6d39a9e60 | ||
|
b860f1a170 | ||
|
0cebd0b7f3 | ||
|
91742c1b80 | ||
|
64bc79de38 | ||
|
55239be477 | ||
|
0feebb662f | ||
|
1699f9d141 | ||
|
7ac9df9496 | ||
|
2074818cd0 | ||
|
ecb3eaf541 | ||
|
345455da4b | ||
|
1937fddbfd | ||
|
e7534bbcbd | ||
|
305192eae6 | ||
|
0541aa3373 | ||
|
81fe8b7435 | ||
|
4ca26b4e32 | ||
|
d348a67ba8 | ||
|
e2f03ee8d6 | ||
|
0e64c46064 | ||
|
987a4125ae | ||
|
a7e4c1a5a5 | ||
|
6d66982d35 | ||
|
7c78e05649 | ||
|
61383ef294 | ||
|
469d4ec566 | ||
|
418f1146b7 | ||
|
170c8885d0 | ||
|
e3f04f4ab8 | ||
|
791b8142bd | ||
|
ffff89ae96 | ||
|
3c8b0f6308 | ||
|
a01aa8c335 | ||
|
1dc1e6f081 | ||
|
b86447cdbf | ||
|
bf1e805269 | ||
|
0b0d551730 | ||
|
22016d2856 | ||
|
6ef5d66521 | ||
|
bbf80408d4 | ||
|
f7c7614625 | ||
|
c5e71230e3 | ||
|
d61e15a02c | ||
|
981d286e13 | ||
|
f58c3e9a67 | ||
|
c316c381f8 | ||
|
066ae678f9 | ||
|
c3a75a5525 | ||
|
14257ba448 | ||
|
2c7e86fa97 | ||
|
63d7b7a471 | ||
|
98a882f450 | ||
|
868fd1ddc5 | ||
|
9c19819a08 | ||
|
62ef634bc0 | ||
|
f4158deb0a | ||
|
e61a224fc6 | ||
|
c83fb868e4 | ||
|
0a118f1740 | ||
|
d5d6edd2fb | ||
|
e17382f441 | ||
|
6c6fe5378f | ||
|
b68a31b2ee | ||
|
0be362e82c | ||
|
17a917ad00 | ||
|
f975fbf221 | ||
|
1741813003 | ||
|
7e7e24021b | ||
|
a662106228 | ||
|
be98a562d4 | ||
|
2af4692e1a | ||
|
b525ac18bc | ||
|
3fdca1ba64 | ||
|
9cc721bf80 | ||
|
d9cbd5d173 | ||
|
59f5cb9d35 | ||
|
bd020c14fb | ||
|
7b9f814d37 | ||
|
7a6fe30ee5 | ||
|
9910adbb40 | ||
|
ad6a578863 | ||
|
365120ed9f | ||
|
dbd0541ad1 | ||
|
7ce16856ec | ||
|
8fff3e4ec0 | ||
|
53f559a750 | ||
|
924fc30697 | ||
|
41955f8927 | ||
|
83689f420c | ||
|
1c68a0fd4b | ||
|
9e25db7089 | ||
|
7eacd54a9c | ||
|
be44519431 | ||
|
66f35b2720 | ||
|
23902d2465 | ||
|
1c3717edef | ||
|
17fa0f3eb0 | ||
|
247e19f1e3 | ||
|
54fae816d2 | ||
|
3b70a2cc2d | ||
|
acd4a16dcb | ||
|
550c84c367 | ||
|
e35e0be251 | ||
|
db5ada2cfb | ||
|
643f452064 | ||
|
bbda6c6785 | ||
|
e6449cd818 | ||
|
708527db77 | ||
|
b1aa6c5699 | ||
|
eeaa1a7f07 | ||
|
52b7183935 | ||
|
386833ae64 | ||
|
d4a48ce585 | ||
|
4931cdd272 | ||
|
d7933dc73f | ||
|
9a1048cc17 | ||
|
a8fd0736b3 | ||
|
10d884a837 | ||
|
52b28c79c7 | ||
|
8a36e55813 | ||
|
5103bb2697 | ||
|
c6a07714ba | ||
|
48c3500033 | ||
|
d155e75a5d | ||
|
fa481129a9 | ||
|
3c1402dab7 | ||
|
a7f4189bd3 | ||
|
64ed13de7c | ||
|
21394eb29e | ||
|
fbb8c3613f | ||
|
7778da80d5 | ||
|
e791e102d5 | ||
|
deb73450c3 | ||
|
cc9d1bf4f2 | ||
|
b025ef8b22 | ||
|
7bda0f400a | ||
|
3b7a113a11 | ||
|
ee636bf88c | ||
|
52144d8e52 | ||
|
513c686dea | ||
|
29cc2429ae | ||
|
31219e9ac1 | ||
|
3beab5a9e1 | ||
|
7558311531 | ||
|
106d08a899 | ||
|
02f203475d | ||
|
b4460eddf7 | ||
|
90e06116d1 | ||
|
1e4397ed7b | ||
|
e9cc2d0e52 | ||
|
376847b489 | ||
|
5d61b83c50 | ||
|
561b3a594b | ||
|
2d0acb68b1 | ||
|
919c6c40e2 | ||
|
120e9da1c9 | ||
|
47c6454c00 | ||
|
02f49cd392 | ||
|
8117ddb6ce | ||
|
d372fa8e6e | ||
|
c3ed865a3a | ||
|
96c137ec4b | ||
|
c5cd683aa5 | ||
|
c5cdabaa3a | ||
|
d19be3f2cb | ||
|
a9f55aa64f | ||
|
dfb0f79c92 | ||
|
4a59438c0c | ||
|
f35710d652 | ||
|
c19a532f3e | ||
|
be6b278b3c | ||
|
78c16dc278 | ||
|
09d2839a00 | ||
|
d17d52436f | ||
|
5c522a33d0 | ||
|
c9cf89adeb | ||
|
c5c996cb7a | ||
|
f2ec258e7a | ||
|
8c29f21970 | ||
|
5b730d2c38 | ||
|
609e84a8ae | ||
|
7ca778f81b | ||
|
93b194af3b | ||
|
b3e1f32ffe | ||
|
d78b3bffeb | ||
|
bff5038a64 | ||
|
0c7fcfbcc5 | ||
|
9d6fc15959 | ||
|
5bad5e1031 | ||
|
f8d6ec3a8f | ||
|
9a3dc81630 | ||
|
3d9b97ccb5 | ||
|
2c3dbba052 | ||
|
907eecd030 | ||
|
75026bf42d | ||
|
d217fb33a9 | ||
|
8cea32d01b | ||
|
c8d2da0c07 | ||
|
a458f51b9a | ||
|
bd8ac2935b | ||
|
dd59cc1468 | ||
|
fd365c52cc | ||
|
ad7e77a067 | ||
|
6b9135a205 | ||
|
fdca5b1c60 | ||
|
f891b30f9f | ||
|
8fbd8070f2 | ||
|
657dec1c10 | ||
|
0d93dcdc45 | ||
|
5a50c0e1e6 | ||
|
ab8da89fbc | ||
|
c9edf47643 | ||
|
84328bf693 | ||
|
6fdbf0b48e |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -10,12 +10,13 @@ app/.DS_Store
|
||||
.vscode/*
|
||||
enq.md
|
||||
app/.tkn
|
||||
app/node_modules
|
||||
app/js/login/tkn.js
|
||||
app/package-lock.json
|
||||
app/view/en
|
||||
app/view/ja
|
||||
app/view/de
|
||||
app/view/bg
|
||||
app/view/cs
|
||||
app/view/ps
|
||||
app/view/es-AR
|
||||
app/git
|
||||
|
11
.travis.yml
11
.travis.yml
@@ -3,21 +3,26 @@ os:
|
||||
- linux
|
||||
- osx
|
||||
language: node_js
|
||||
env:
|
||||
- YARN_GPG=no
|
||||
node_js:
|
||||
- '10.15.2'
|
||||
cache:
|
||||
yarn: true
|
||||
script: node -v
|
||||
before_deploy:
|
||||
- npm install electron-builder -g
|
||||
- yarn global add electron-builder
|
||||
- cd app
|
||||
- VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
|
||||
- npm install
|
||||
- npm run construct
|
||||
- yarn install --no-lockfile --prod
|
||||
- yarn construct
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ];then electron-builder --mac -p never;else :;fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then electron-builder --linux --x64 -p never;else :;fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../build;else :;fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then ls;else :;fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then mv thedesk-*.zip thedesk.zip;else :;fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" ];then cd ../app;else :;fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then yarn add electron-builder;else :;fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then electron-builder --win --ia32 -p never;else :;fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then cd ../build;else :;fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "windows" ];then ls;else :;fi
|
||||
|
38
README.md
38
README.md
@@ -80,6 +80,10 @@ Fellow coder
|
||||
|
||||
## Build
|
||||
|
||||
You have to use either **npm** or **yarn**. Whichever you use, it works well.
|
||||
|
||||
### npm
|
||||
|
||||
```sh
|
||||
git clone https://github.com/cutls/TheDesk
|
||||
cd TheDesk/app
|
||||
@@ -88,8 +92,25 @@ npm install --only=dev
|
||||
npm run construct
|
||||
```
|
||||
|
||||
### yarn
|
||||
|
||||
```sh
|
||||
git clone https://github.com/cutls/TheDesk
|
||||
cd TheDesk/app
|
||||
# Linux or macOS
|
||||
yarn install --no-lockfile
|
||||
# Windows
|
||||
yarn install
|
||||
|
||||
yarn construct
|
||||
```
|
||||
|
||||
run `npm run dev` or `yarn dev` to launch developer version with console(click `view`)
|
||||
|
||||
### electron-builder(Recommended)
|
||||
Use npm scripts.
|
||||
Use scripts(they can work well with npm, **yarn**).
|
||||
|
||||
#### npm
|
||||
|
||||
```sh
|
||||
# Build for current platform
|
||||
@@ -103,6 +124,21 @@ npm run build:win
|
||||
npm run build:all
|
||||
```
|
||||
|
||||
#### yarn
|
||||
|
||||
```sh
|
||||
# Build for current platform
|
||||
yarn build
|
||||
|
||||
# Select build target
|
||||
## Windows
|
||||
yarn build:win
|
||||
|
||||
## Windows and Linux (The macOS target should run on macOS. So, this option hasn't include the build for macOS)
|
||||
yarn build:all
|
||||
```
|
||||
|
||||
|
||||
Config is all on package.json
|
||||
|
||||
### electron-packager
|
||||
|
35
README_ja.md
35
README_ja.md
@@ -79,6 +79,9 @@ Linuxビルダー
|
||||
|
||||
## ビルド
|
||||
|
||||
npmでもyarnでも好きな方を選んでください。
|
||||
|
||||
### npm
|
||||
|
||||
```sh
|
||||
git clone https://github.com/cutls/TheDesk
|
||||
@@ -88,8 +91,24 @@ npm install --only=dev
|
||||
npm run construct
|
||||
```
|
||||
|
||||
### yarn
|
||||
|
||||
```sh
|
||||
git clone https://github.com/cutls/TheDesk
|
||||
cd TheDesk/app
|
||||
# Linux or macOS
|
||||
yarn install --no-lockfile
|
||||
# Windows
|
||||
yarn install
|
||||
|
||||
yarn construct
|
||||
```
|
||||
|
||||
### electron-builder(推奨)
|
||||
npm scriptsを利用します
|
||||
|
||||
scriptsを利用します
|
||||
|
||||
#### npm
|
||||
|
||||
```sh
|
||||
# 実行している環境向けにビルド
|
||||
@@ -103,6 +122,20 @@ npm run build:win
|
||||
npm run build:all
|
||||
```
|
||||
|
||||
#### yarn
|
||||
|
||||
```sh
|
||||
# 実行している環境向けにビルド
|
||||
yarn build
|
||||
|
||||
# ターゲットを指定してビルド
|
||||
## Windows
|
||||
yarn build:win
|
||||
|
||||
## macOS向けのビルドにはmacOSで実行する必要があるためこのコマンドではビルドされません
|
||||
yarn build:all
|
||||
```
|
||||
|
||||
ビルド設定はすべてpackage.jsonに記載しています。
|
||||
|
||||
### electron-packager(非推奨)
|
||||
|
@@ -72,7 +72,7 @@ option {
|
||||
min-width: 0 !important;
|
||||
margin-left: 5px !important;
|
||||
}
|
||||
.unvisible{
|
||||
.unvisible {
|
||||
opacity: 0;
|
||||
}
|
||||
.bbcode-pulse-loadings,
|
||||
@@ -389,6 +389,9 @@ blockquote:before,
|
||||
height: 40px;
|
||||
cursor: pointer;
|
||||
}
|
||||
#tltype .type span {
|
||||
width: calc(100% - 30px);
|
||||
}
|
||||
#tltype .type:hover {
|
||||
background-color: var(--beforehover);
|
||||
}
|
||||
@@ -400,9 +403,11 @@ blockquote:before,
|
||||
}
|
||||
#tltype i.sub-icon {
|
||||
font-size: 20px;
|
||||
position: relative;
|
||||
position: absolute;
|
||||
color: var(--beforehover);
|
||||
left: -15px;
|
||||
left: 10px;
|
||||
bottom: 5px;
|
||||
background-color: #fff;
|
||||
}
|
||||
.drag-bar {
|
||||
cursor: move;
|
||||
@@ -454,17 +459,22 @@ blockquote:before,
|
||||
.select-wrapper .dropdown-content {
|
||||
width: 250px !important;
|
||||
}
|
||||
input, textarea {
|
||||
input,
|
||||
textarea {
|
||||
color: var(--color);
|
||||
font-size: 1rem !important;
|
||||
font-family: inherit;
|
||||
}
|
||||
.swal2-popup{
|
||||
.swal2-popup {
|
||||
background-color: var(--notfbox) !important;
|
||||
}
|
||||
.swal2-title, .swal2-content{
|
||||
.swal2-title,
|
||||
.swal2-content {
|
||||
color: var(--color) !important;
|
||||
}
|
||||
#src-contents svg {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
/*スクロールバー*/
|
||||
::-webkit-scrollbar {
|
||||
@@ -485,20 +495,25 @@ input, textarea {
|
||||
}
|
||||
/* Web Fonts */
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
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;
|
||||
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-family: "Material Icons";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
|
||||
src: url(https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2)
|
||||
format("woff2");
|
||||
}
|
||||
.material-icons {
|
||||
font-family: 'Material Icons';
|
||||
font-family: "Material Icons";
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
@@ -509,6 +524,6 @@ input, textarea {
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
-webkit-font-feature-settings: 'liga';
|
||||
-webkit-font-feature-settings: "liga";
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
}
|
||||
|
@@ -45,7 +45,8 @@
|
||||
#bottom .trendtag {
|
||||
height: 40px;
|
||||
}
|
||||
#bottom #group, #demogroup {
|
||||
#bottom #group,
|
||||
#demogroup {
|
||||
margin-right: 40px;
|
||||
}
|
||||
#bottom .leftside {
|
||||
@@ -58,7 +59,8 @@
|
||||
#bottom #tips img {
|
||||
vertical-align: -3px;
|
||||
}
|
||||
#bottom a, #demogroup a {
|
||||
#bottom a,
|
||||
#demogroup a {
|
||||
color: var(--color);
|
||||
}
|
||||
#bottom i {
|
||||
@@ -188,6 +190,9 @@ iframe,
|
||||
vertical-align: middle;
|
||||
margin: -1px 0;
|
||||
}
|
||||
.bigemoji {
|
||||
width: 60px !important;
|
||||
}
|
||||
.faicon_FTL {
|
||||
display: none;
|
||||
}
|
||||
@@ -698,8 +703,8 @@ audio {
|
||||
}
|
||||
}
|
||||
.box-anime {
|
||||
animation-duration: 1s;
|
||||
animation-name: fadeInLeft;
|
||||
/*animation-duration: 1s;
|
||||
animation-name: fadeInLeft;*/
|
||||
}
|
||||
|
||||
.cvo-anime {
|
||||
@@ -712,3 +717,15 @@ audio {
|
||||
font-size: 1rem;
|
||||
background-color: #009688;
|
||||
}
|
||||
.box .ui-resizable-s {
|
||||
display: none !important;
|
||||
}
|
||||
.boxIn .ui-resizable-e {
|
||||
display: none !important;
|
||||
}
|
||||
.boxIn .ui-resizable-s {
|
||||
display: block !important;
|
||||
}
|
||||
.box .ui-resizable-se {
|
||||
display: none !important;
|
||||
}
|
||||
|
@@ -1,3 +0,0 @@
|
||||
<script>
|
||||
location.href="./view/ja"
|
||||
</script>
|
@@ -1,6 +1,5 @@
|
||||
//バージョンチェッカー
|
||||
function verck(ver) {
|
||||
localStorage.setItem("ver", ver);
|
||||
console.log("%c Welcome😊", "color: red;font-size:200%;")
|
||||
var date = new Date();
|
||||
var show = false
|
||||
@@ -37,6 +36,7 @@ function verck(ver) {
|
||||
}
|
||||
});
|
||||
}
|
||||
localStorage.setItem("ver", ver);
|
||||
if (!show) {
|
||||
console.log(show)
|
||||
if (date.getMonth() + 1 >= localStorage.getItem("showSupportMe") || !localStorage.getItem("showSupportMe")) {
|
||||
|
@@ -1,3 +0,0 @@
|
||||
const JSON5 = require('json5')
|
||||
const fs = require("fs")
|
||||
fs.writeFileSync("main.json", JSON.stringify(JSON5.parse(fs.readFileSync("lang." + process.argv[2] + ".js", 'utf8').replace("var lang = ", ""))))
|
@@ -1,247 +0,0 @@
|
||||
var lang={
|
||||
"language": "en",
|
||||
"lang_toot": "Раздумай",
|
||||
"lang_there": "Да",
|
||||
"lang_nothing": "Няма",
|
||||
"lang_yesno": "Да",
|
||||
"lang_no": "Не",
|
||||
"lang_progress": "Изчакайте...",
|
||||
"lang_edit": "Редактиране",
|
||||
"lang_del": "Изтрий",
|
||||
"lang_add": "Добави",
|
||||
"lang_fatalerroroccured": "Възникнаха някои грешки, моля рестартирайте Desk.",
|
||||
"lang_speech": "Google US English",
|
||||
"lang_lang": "Език",
|
||||
"lang_langlocale": "Английски",
|
||||
"lang_back": "Назад",
|
||||
"lang_set": "Задай",
|
||||
"lang_langadd": "Преведете TheDesk на други езици или проверете TheDesk на <a href=\"https://github.com/cutls/TheDesk\" target=\"_blank\"> GitHub </a>. TheDesk се нуждае от вашата помощ.",
|
||||
"lang_time_prefixAgo": null,
|
||||
"lang_time_prefixFromNow": null,
|
||||
"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_version_usever": "Не е намерена актуализация({{ver}})",
|
||||
"lang_version_skipver": "Актуализацията бе игнорирана.",
|
||||
"lang_version_platform": "Искате ли автоматични актуализации? (За потребителите инсталирали от Microsoft Store, изберете „Не“)",
|
||||
"lang_version_platform_linux": "Искате ли автоматични актуализации? (За потребителите инсталирали от Snapcraft, изберете „Не“)",
|
||||
"lang_version_platform_mac": "Искате ли автоматични актуализации? (За потребителите на Homebrew Cask изберете „Не“)",
|
||||
"lang_login_noauth": "Показване на TL на нерегистрирани профили",
|
||||
"lang_manager_info": "За тази инстанция",
|
||||
"lang_manager_refresh": "Обнови",
|
||||
"lang_manager_delete": "Излизане",
|
||||
"lang_manager_color": "Цвят на профила",
|
||||
"lang_manager_confirm": "е на път да излезе. Продължаване?",
|
||||
"lang_manager_mainAcct": "Готово: изберете основния профил",
|
||||
"lang_manager_def": "По подразбиране",
|
||||
"lang_manager_none": "Няма",
|
||||
"lang_manager_godev": "Отворете DevCenter на Misskey. Ние показваме официални документи, на които се позоваваме.",
|
||||
"lang_manager_logout": "Излизане",
|
||||
"lang_bbmd_misskey": "TheDesk разглежда \"@\" като отговор, но поставя друг параметър. Ако не е включено в Mastodon това означава, че е в Home на Misskey.",
|
||||
"lang_emoji_get": "Вземи емотикони",
|
||||
"lang_emoji_custom": "Персонализирани емотикони",
|
||||
"lang_defaultemojis_text": "Още емотикони {{cat}}",
|
||||
"lang_postimg_previewdis": "не може да се визуализира",
|
||||
"lang_postimg_aftupload": "Не можете да променяте профилите след качването.",
|
||||
"lang_postimg_delete": "Изтрийте това изображение.",
|
||||
"lang_post_tagTL": "Тази раздумка не съдържа маркер по подразбиране. Тази раздумка няма да се показва в локалния TL. Продължавате?",
|
||||
"lang_post_tagVis": "Тази раздумка (не е \"публична\") не е показана с този етикет в ТЛ.",
|
||||
"lang_post_cwtitle": "Авто CW Сигнал",
|
||||
"lang_post_cwtxt": "На път сте да публикувате по-дълга раздумка, отколкото е зададена.\nТекст на предупреждението:",
|
||||
"lang_post_btn1": "Отказ (няма да се публикува)",
|
||||
"lang_post_btn2": "Текстът да се скрива автоматично",
|
||||
"lang_post_btn3": "Продължете към публикуването",
|
||||
"lang_status_favWarn": "Ще отнеме минута раздумката отдалечено да стане любима.",
|
||||
"lang_status_btWarn": "Ще отнеме минута раздумката отдалечено да бъде подсилена.",
|
||||
"lang_status_follow": "Следване",
|
||||
"lang_status_unfollow": "Спри следенето",
|
||||
"lang_status_block": "Блокирай",
|
||||
"lang_status_unblock": "Отблокирай",
|
||||
"lang_status_mute": "Без звук",
|
||||
"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_endorse": "Feature on profile",
|
||||
"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_details_nodata": "No data",
|
||||
"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_errordegree": "Please check a context",
|
||||
"lang_list_nodata": "No data",
|
||||
"lang_list_show": "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_tags_tagwarn": "Автоматично попълване на {{tag}}, ако раздумката няма {{tag}}",
|
||||
"lang_tl_media": "Media",
|
||||
"lang_tl_reconnect": "Reconnect to streaming API",
|
||||
"lang_img_DLDone": "Downloaded:",
|
||||
"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_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_dm": "Direct Message",
|
||||
"lang_layout_webviewmode": "Prefer WebView",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_excluded": "Excluded type of notification",
|
||||
"lang_layout_excludingbt": "Показване в BT режим (ИЗКЛ./Изключване BT/ Само в BT)",
|
||||
"lang_layout_leftFold": "Стъпка наляво",
|
||||
"lang_layout_leftUnfold": "Док отдясно",
|
||||
"lang_layout_deleteColumn": "Премахване на тази колона",
|
||||
"lang_layout_deleteColumnDesc": "Премахване на тази колона",
|
||||
"lang_sort_gothis": "Отидете в тази колона",
|
||||
"lang_sort_remthis": "Премахване на тази колона",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
"lang_spotify_imgno": "Not attach an album artwork",
|
||||
"lang_spotify_acct": "Connect TheDesk to Spotify",
|
||||
"lang_spotify_np": "Готово:шаблон на NowPlaying",
|
||||
"lang_setting_npprovide": "NowPlaying provider:{{set}}",
|
||||
"lang_hisdata_frcreq": "Required Mastodon 2.4.3 and above",
|
||||
"lang_hisdata_frcwarn": "Unfollow accounts will be shown.",
|
||||
"lang_hisdata_taketime": "It will take 30s ~ several minutes",
|
||||
"lang_hisdata_notonmisskey": "Misskey is unable to request.",
|
||||
"lang_hisdata_key": "This user is proofed by {{set}}",
|
||||
"lang_showontl_movetxt": "This account was moved",
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
"lang_showontl_verified": "This website is verified by owner at ",
|
||||
"lang_parse_mentioned": " replied to you",
|
||||
"lang_parse_faved": " favourited your toot",
|
||||
"lang_parse_bted": " boosted your toot",
|
||||
"lang_parse_btedsimple": " boosted",
|
||||
"lang_parse_polled": "'s poll",
|
||||
"lang_parse_notftime": "Actioned at",
|
||||
"lang_parse_cwshow": "Show",
|
||||
"lang_parse_fulltext": "Full size text:",
|
||||
"lang_parse_autofold": "Auto folded",
|
||||
"lang_parse_more": "More",
|
||||
"lang_parse_url": "URL Analyzer",
|
||||
"lang_parse_tagTL": "Timeline of {{tag}}",
|
||||
"lang_parse_tagtoot": "Toot with {{tag}}",
|
||||
"lang_parse_tagpin": "Pin {{tag}}",
|
||||
"lang_parse_public": "Public",
|
||||
"lang_parse_unlisted": "Unlisted",
|
||||
"lang_parse_private": "Private",
|
||||
"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_replyto": "Reply to this toot",
|
||||
"lang_parse_bt": "Boost this toot",
|
||||
"lang_parse_fav": "Favourite this toot",
|
||||
"lang_parse_quote": "Quote this toot",
|
||||
"lang_parse_del": "Изтрийте тази раздумка",
|
||||
"lang_parse_pin": "Pin this toot",
|
||||
"lang_parse_det": "Details via your main account.",
|
||||
"lang_parse_redraft": "Изтрий & върни",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"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_nsfw": "NSFW media",
|
||||
"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_misskeyparse_home": "Home",
|
||||
"lang_misskeyparse_followers": "Follower",
|
||||
"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_setting_nsfw": "NSFW:{{set}}",
|
||||
"lang_setting_cw": "CW:{{set}}",
|
||||
"lang_setting_cwtext": "Default CW text:{{set}}",
|
||||
"lang_setting_cws": "Always CW on:{{set}}",
|
||||
"lang_setting_rp": "Reply counter:{{set}}",
|
||||
"lang_setting_vis": "Default visibility:{{set}}",
|
||||
"lang_setting_popup": "Popup notification:{{set}}",
|
||||
"lang_setting_off": "Off",
|
||||
"lang_setting_s": "s",
|
||||
"lang_setting_box": "Default toot box action:{{set}}",
|
||||
"lang_setting_gif": "GIF:{{set}}",
|
||||
"lang_setting_selt": "Автоматично сгъване:{{set1}} линии по-нагоре,{{set2}} букви по-нагоре",
|
||||
"lang_setting_autocw": "Автоматично CW:{{set1}} линии по-нагоре, {{set2}} букви по-нагоре",
|
||||
"lang_setting_width": "Minimam width:{{set}}",
|
||||
"lang_setting_fixwidth": "TweetDeck fixed width:{{set}}px",
|
||||
"lang_setting_img": "After posting an image:{{set}}",
|
||||
"lang_setting_font": "Fonts:{{set}}",
|
||||
"lang_setting_default": "default font",
|
||||
"lang_setting_size": "Font size:{{set}}px",
|
||||
"lang_setting_imgheight": "Image height:{{set}}px",
|
||||
"lang_setting_ticker": "#InstanceTicker:{{set}}px",
|
||||
"lang_setting_animation": "Animation: {{set}}",
|
||||
"lang_setting_tag": "Tag TL:{{set}}",
|
||||
"lang_setting_boxConfirm": "Post box:{{set}}",
|
||||
"lang_setting_ul": "Native locale:{{set}}",
|
||||
"lang_setting_notf": "Native notification:{{set}}",
|
||||
"lang_setting_quote": "Quote format:{{set}}",
|
||||
"lang_setting_via": "Via:{{set}}",
|
||||
"lang_setting_mov": "Action buttons hiding:{{set}}",
|
||||
"lang_setting_setasread": "Notification markers:{{set}}",
|
||||
"lang_setting_main": "Default account:{{set}}",
|
||||
"lang_setting_sec": "Secondary toot button:{{set}}",
|
||||
"lang_setting_ksref": "Keyboard shortcuts are refreshed.",
|
||||
"lang_setting_nomuting": "No client is muted.",
|
||||
"lang_setting_notftest": " Notification test ",
|
||||
"lang_setting_notftestprof": "Your icon is shown.",
|
||||
"lang_setting_exportwarn": "Only important data will be exported. You must keep this data secure.",
|
||||
"lang_setting_importwarn": "Всички данни ще бъдат изтрити."
|
||||
}
|
@@ -1,247 +0,0 @@
|
||||
var lang={
|
||||
"language": "cs",
|
||||
"lang_toot": "Toot",
|
||||
"lang_there": "Ano",
|
||||
"lang_nothing": "Nic",
|
||||
"lang_yesno": "Ano",
|
||||
"lang_no": "Ne",
|
||||
"lang_progress": "Čekejte...",
|
||||
"lang_edit": "Upravit",
|
||||
"lang_del": "Smazat",
|
||||
"lang_add": "Přidat",
|
||||
"lang_fatalerroroccured": "Vyskytly se nějaké chyby, prosím restartujte TheDesk.",
|
||||
"lang_speech": "Google Čeština",
|
||||
"lang_lang": "Jazyk",
|
||||
"lang_langlocale": "Čeština",
|
||||
"lang_back": "Zpět",
|
||||
"lang_set": "Nastavit",
|
||||
"lang_langadd": "Přeložte TheDesk do jiných jazyků nebo opravte existující překlad na <a href=\"https://github.com/cutls/TheDesk\" target=\"_blank\">GitHubu</a> nebo <a href=\"https://translate.thedesk.top/\" target=\"_blank\">Crowdinu</a>. TheDesk potřebuje vaši pomoc.",
|
||||
"lang_time_prefixAgo": null,
|
||||
"lang_time_prefixFromNow": null,
|
||||
"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_version_usever": "Nebyla nalezena žádná aktualizace ({{ver}})",
|
||||
"lang_version_skipver": "Aktualizace byla ignorována.",
|
||||
"lang_version_platform": "Do you want auto-updates?(users installed on Microsoft Store select 'No')",
|
||||
"lang_version_platform_linux": "Do you want auto-updates?(users installed on Snapcraft select 'No')",
|
||||
"lang_version_platform_mac": "Do you want auto-updates?(Homebrew Cask users select 'No')",
|
||||
"lang_login_noauth": "Zobrazit časové osy nepřihlášených účtů",
|
||||
"lang_manager_info": "O tomto serveru",
|
||||
"lang_manager_refresh": "Obnovit",
|
||||
"lang_manager_delete": "Odhlásit",
|
||||
"lang_manager_color": "Barva účtu",
|
||||
"lang_manager_confirm": "se chce odhlásit. Pokračovat?",
|
||||
"lang_manager_mainAcct": "Hotovo: vyberte hlavní účet",
|
||||
"lang_manager_def": "Výchozí",
|
||||
"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_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",
|
||||
"lang_defaultemojis_text": "Emojis about {{cat}}",
|
||||
"lang_postimg_previewdis": "nelze vytvořit náhled",
|
||||
"lang_postimg_aftupload": "Po nahrání nemůžete změnit účty.",
|
||||
"lang_postimg_delete": "Delete this image.",
|
||||
"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.",
|
||||
"lang_post_cwtitle": "Automatické varování o obsahu",
|
||||
"lang_post_cwtxt": "Chcete napsat delší toot, než jste nastavil/a.\nText varování:",
|
||||
"lang_post_btn1": "Zrušit (příspěvek nebude publikován)",
|
||||
"lang_post_btn2": "Skrýt text automaticky",
|
||||
"lang_post_btn3": "Pokračovat k přispívání",
|
||||
"lang_status_favWarn": "Oblíbení vzdáleného tootu bude chvíli trvat.",
|
||||
"lang_status_btWarn": "Boostnutí vzdáleného tootu bude chvíli trvat.",
|
||||
"lang_status_follow": "Sledovat",
|
||||
"lang_status_unfollow": "Přestat sledovat",
|
||||
"lang_status_block": "Blokovat",
|
||||
"lang_status_unblock": "Odblokovat",
|
||||
"lang_status_mute": "Ignorovat",
|
||||
"lang_status_unmute": "Přestat ignorovat",
|
||||
"lang_status_redraftTitle": "Delete & redraft",
|
||||
"lang_status_redraft": "Chcete pokračovat k vymazání a přepsání? Ztratíte odpovědi na tento toot. Tato funkce může obashovat několik chyb. Obrázky v tomto tootu budou na verzi Mastodonu starší než 2.4.1 smazány.",
|
||||
"lang_status_emphas": ": tooty tohoto uživatele jsou zdůrazněny. Po této akci prosím obnovte stránku.",
|
||||
"lang_status_unemphas": ": tooty tohoto uživatele nejsou zdůrazněny. Po této akci prosím obnovte stránku.",
|
||||
"lang_status_unendorse": "Nepředstavit na profilu",
|
||||
"lang_status_endorse": "Představit na profilu",
|
||||
"lang_status_followers": "Followers",
|
||||
"lang_status_active": "Last status",
|
||||
"lang_suggest_nodata": "Pro zobrazení návrhu prosím získejte seznam emoji.",
|
||||
"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_details_nodata": "Žádná data",
|
||||
"lang_details_filtered": "Filtrovaný toot",
|
||||
"lang_details_embed": "HTML pro vložení je zkopírován.",
|
||||
"lang_details_url": "URL adresa tohoto tootu je zkopírována.",
|
||||
"lang_details_txt": "Obsah tohoto tootu je zkopírován.",
|
||||
"lang_filter_nodata": "Žádná data",
|
||||
"lang_filter_errordegree": "Prosím zkontrolujte kontext",
|
||||
"lang_list_nodata": "Žádná data",
|
||||
"lang_list_show": "Zobrazit",
|
||||
"lang_list_users": "Seznam uživatelů",
|
||||
"lang_list_nouser": "Žádní uživatelé na tomto seznamu.",
|
||||
"lang_list_add": "Přidat na seznam",
|
||||
"lang_list_add_misskey": "(perhaps this user has been listed)",
|
||||
"lang_list_remove": "Odstranit ze seznamu",
|
||||
"lang_notf_new": " nových oznámení",
|
||||
"lang_speech_refresh": "Uložit hodnotu nastavení TTS",
|
||||
"lang_src_ts": "chronologické pořadí",
|
||||
"lang_src_people": " lidí tootují",
|
||||
"lang_tags_always": "Vždy tootnout s ",
|
||||
"lang_tags_realtime": "Tag-stream toot",
|
||||
"lang_tags_tagunpin": "Odepnout {{tag}}",
|
||||
"lang_tags_unrealtime": "Disable TsT",
|
||||
"lang_tags_tagwarn": "Auto complete {{tag}}, if toot without {{tag}}",
|
||||
"lang_tl_media": "Média",
|
||||
"lang_tl_reconnect": "Reconnect to streaming API",
|
||||
"lang_img_DLDone": "Downloaded:",
|
||||
"lang_layout_gotop": "Go top of this column. When icon is red, this column cannot connect straming API. Please reload.",
|
||||
"lang_layout_thisacct": "{{notf}} tohoto účtu",
|
||||
"lang_layout_delthis": "Odstranit tento sloupec",
|
||||
"lang_layout_setthis": "Nastavení tohoto sloupce",
|
||||
"lang_layout_mediafil": "Filtrování médií",
|
||||
"lang_layout_linkana": "Automatický analyzátor odkazů",
|
||||
"lang_layout_linkanades": "Automatický analyzátor odkazů",
|
||||
"lang_layout_tts": "Převod textu na řeč ",
|
||||
"lang_layout_reconnect": "Reconnect to streaming API",
|
||||
"lang_layout_headercolor": "Header color of this column",
|
||||
"lang_layout_nodata": "[Žádná data]<br>Obnovte stránku klávesami F5/⌘+R",
|
||||
"lang_layout_dm": "Přímá zpráva",
|
||||
"lang_layout_webviewmode": "Preferovat WebView",
|
||||
"lang_excluded": "Excluded type of notification",
|
||||
"lang_layout_excludingbt": "Show BT mode(OFF/Exclude BT/Only BT)",
|
||||
"lang_layout_leftFold": "Stack to the left",
|
||||
"lang_layout_leftUnfold": "Dock on the right",
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
"lang_spotify_imgno": "Not attach an album artwork",
|
||||
"lang_spotify_acct": "Spojit TheDesk se Spotify",
|
||||
"lang_spotify_np": "Hotovo: šablona NowPlaying",
|
||||
"lang_setting_npprovide": "NowPlaying provider:{{set}}",
|
||||
"lang_hisdata_frcreq": "Vyžaduje Mastodon 2.4.3 nebo vyšší verzi",
|
||||
"lang_hisdata_frcwarn": "Budou zobrazeny již nesledované účty.",
|
||||
"lang_hisdata_taketime": "It will take 30s ~ several minutes",
|
||||
"lang_hisdata_notonmisskey": "Misskey is unable to request.",
|
||||
"lang_hisdata_key": "This user is proofed by {{set}}",
|
||||
"lang_showontl_movetxt": "Tento účet byl přesunut",
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[robot]",
|
||||
"lang_showontl_followed": "Sledují vás",
|
||||
"lang_showontl_notf": "Oznámení ",
|
||||
"lang_showontl_domain": "Doména ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
"lang_showontl_verified": "This website is verified by owner at ",
|
||||
"lang_parse_mentioned": " vám odpověděl/a",
|
||||
"lang_parse_faved": " si oblíbil/a váš toot",
|
||||
"lang_parse_bted": " boostnul/a váš toot",
|
||||
"lang_parse_btedsimple": " boostnul/a",
|
||||
"lang_parse_polled": "'s poll",
|
||||
"lang_parse_notftime": "Provedeno",
|
||||
"lang_parse_cwshow": "Zobrazit",
|
||||
"lang_parse_fulltext": "Celý text:",
|
||||
"lang_parse_autofold": "Auto folded",
|
||||
"lang_parse_more": "Více",
|
||||
"lang_parse_url": "Analyzátor URL",
|
||||
"lang_parse_tagTL": "Časová osa {{tag}}",
|
||||
"lang_parse_tagtoot": "Tootnout s hashtagem {{tag}}",
|
||||
"lang_parse_tagpin": "Připnout {{tag}}",
|
||||
"lang_parse_public": "Veřejný",
|
||||
"lang_parse_unlisted": "Neuvedený",
|
||||
"lang_parse_private": "Soukromý",
|
||||
"lang_parse_direct": "Přímý",
|
||||
"lang_parse_clickcopy": "Klikněte pro zkopírování textu tohoto tootu",
|
||||
"lang_parse_clickcopyurl": "Klikněte pro zkopírování URL adresy tohoto tootu",
|
||||
"lang_parse_trans": "Přeložit do japonštiny",
|
||||
"lang_parse_replyto": "Odpovědět na tento toot",
|
||||
"lang_parse_bt": "Boostnout tento toot",
|
||||
"lang_parse_fav": "Oblíbit si tento toot",
|
||||
"lang_parse_quote": "Citovat tento toot",
|
||||
"lang_parse_del": "Smazat tento toot",
|
||||
"lang_parse_pin": "Připnout tento toot",
|
||||
"lang_parse_det": "Details via your main account.",
|
||||
"lang_parse_redraft": "Vymazat a přepsat",
|
||||
"lang_parse_followed": "vás nyní sleduje",
|
||||
"lang_parse_clientop": "Operace tohoto klienta",
|
||||
"lang_parse_clienttxt": " bude",
|
||||
"lang_parse_clientno": "nic nedělat",
|
||||
"lang_parse_clientemp": "zdůrazněna (nebo nezdůrazněna)",
|
||||
"lang_parse_clientmute": "ztlumena",
|
||||
"lang_parse_mute": " bude ztlumena. To můžete odstranit v nastavení.",
|
||||
"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_nsfw": "NSFW media",
|
||||
"lang_parse_notffilter": "Show this user's notifications",
|
||||
"lang_misskeyparse_renote": "Znovusdílení",
|
||||
"lang_misskeyparse_renoteqt": "Renotování",
|
||||
"lang_misskeyparse_reaction": "Reakce",
|
||||
"lang_misskeyparse_tagnostr": "Žádné streamovací API na časových osách hashtagů",
|
||||
"lang_misskeyparse_listnostr": "Žádné streamovací API na časových osách seznamů",
|
||||
"lang_misskeyparse_home": "Domů",
|
||||
"lang_misskeyparse_followers": "Sledující",
|
||||
"lang_misskeyparse_specified": "Určený uživatel",
|
||||
"lang_misskeyparse_qt": "Režim renotování (citace) Misskey: pro vymazání stiskněte Ctrl+Shift+Enter",
|
||||
"lang_misskeyparse_renoted": " renotoval/a váš následující příspěvek.",
|
||||
"lang_misskeyparse_quoted": " citoval/a váš následující příspěvek.",
|
||||
"lang_misskeyparse_reacted": " reagoval/a na váš následující příspěvek.",
|
||||
"lang_setting_time": "Časový formát: {{set}}",
|
||||
"lang_setting_theme": "Motiv: {{set}}",
|
||||
"lang_setting_nsfw": "Citlivý obsah: {{set}}",
|
||||
"lang_setting_cw": "Varování: {{set}}",
|
||||
"lang_setting_cwtext": "Výchozí text varování: {{set}}",
|
||||
"lang_setting_cws": "Vždy zapnout varování na: {{set}}",
|
||||
"lang_setting_rp": "Počitadlo odpovědí: {{set}}",
|
||||
"lang_setting_vis": "Výchozí viditelnost: {{set}}",
|
||||
"lang_setting_popup": "Popupové oznámení: {{set}}",
|
||||
"lang_setting_off": "Vyl",
|
||||
"lang_setting_s": "s",
|
||||
"lang_setting_box": "Výchozí akce tootového pole: {{set}}",
|
||||
"lang_setting_gif": "GIF: {{set}}",
|
||||
"lang_setting_selt": "Auto fold:{{set1}} lines and above, {{set2}} letters and above",
|
||||
"lang_setting_autocw": "Auto CW:{{set1}} lines and above, {{set2}} letters and above",
|
||||
"lang_setting_width": "Minimam width:{{set}}",
|
||||
"lang_setting_fixwidth": "TweetDeck fixed width:{{set}}px",
|
||||
"lang_setting_img": "After posting an image:{{set}}",
|
||||
"lang_setting_font": "Písma: {{set}}",
|
||||
"lang_setting_default": "výchozí písmo",
|
||||
"lang_setting_size": "Velikost písma: {{set}} px",
|
||||
"lang_setting_imgheight": "Výška obrázků: {{set}} px",
|
||||
"lang_setting_ticker": "#InstanceTicker: {{set}} px",
|
||||
"lang_setting_animation": "Animation: {{set}}",
|
||||
"lang_setting_tag": "Časová osa hashtagu: {{set}}",
|
||||
"lang_setting_boxConfirm": "Post box:{{set}}",
|
||||
"lang_setting_ul": "Native locale:{{set}}",
|
||||
"lang_setting_notf": "Native notification:{{set}}",
|
||||
"lang_setting_quote": "Formát citace: {{set}}",
|
||||
"lang_setting_via": "Přes: {{set}}",
|
||||
"lang_setting_mov": "Action buttons hiding:{{set}}",
|
||||
"lang_setting_setasread": "Notification markers:{{set}}",
|
||||
"lang_setting_main": "Default account:{{set}}",
|
||||
"lang_setting_sec": "Secondary toot button:{{set}}",
|
||||
"lang_setting_ksref": "Keyboard shortcuts are refreshed.",
|
||||
"lang_setting_nomuting": "Žádný klient není ztlumen.",
|
||||
"lang_setting_notftest": " Test oznámení ",
|
||||
"lang_setting_notftestprof": "Vaše ikona je zobrazena.",
|
||||
"lang_setting_exportwarn": "Budou exportována pouze důležitá data. Tato data musíte udržet v bezpečí.",
|
||||
"lang_setting_importwarn": "Všechna data budou smazána."
|
||||
}
|
@@ -1,247 +0,0 @@
|
||||
var lang={
|
||||
"language": "en",
|
||||
"lang_toot": "Tröt",
|
||||
"lang_there": "Ja",
|
||||
"lang_nothing": "Ohne",
|
||||
"lang_yesno": "Ja",
|
||||
"lang_no": "Nein",
|
||||
"lang_progress": "Warten...",
|
||||
"lang_edit": "Bearbeiten",
|
||||
"lang_del": "Löschen",
|
||||
"lang_add": "Hinzufügen",
|
||||
"lang_fatalerroroccured": "Ein Fehler ist aufgetreten, bitte starten Sie TheDesk neu.",
|
||||
"lang_speech": "Google US Englisch",
|
||||
"lang_lang": "Sprache",
|
||||
"lang_langlocale": "Englisch",
|
||||
"lang_back": "Zurück",
|
||||
"lang_set": "Setzen",
|
||||
"lang_langadd": "Übersetzen oder korrigieren Sie TheDesk in andere Sprachen auf <a href=\"https://github.com/cutls/TheDesk\" target=\"_blank\">GitHub</a>. TheDesk benötigt Ihre Hilfe.",
|
||||
"lang_time_prefixAgo": null,
|
||||
"lang_time_prefixFromNow": null,
|
||||
"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_version_usever": "Keine Aktualisierung gefunden({{ver}})",
|
||||
"lang_version_skipver": "Update wurde ignoriert.",
|
||||
"lang_version_platform": "Möchten Sie automatische Updates?(Benutzer im Microsoft Store wählen 'Nein')",
|
||||
"lang_version_platform_linux": "Möchten Sie automatische Updates?(Benutzer auf Snapcraft wählen 'Nein')",
|
||||
"lang_version_platform_mac": "Möchten Sie automatische Updates?(Homebrew Cask Benutzer wählen 'Nein')",
|
||||
"lang_login_noauth": "Verläufe von nicht angemeldeten Konten anzeigen",
|
||||
"lang_manager_info": "Über diese Instanz",
|
||||
"lang_manager_refresh": "Aktualisieren",
|
||||
"lang_manager_delete": "Abmelden",
|
||||
"lang_manager_color": "Kontofarbe",
|
||||
"lang_manager_confirm": "ist im Begriff, sich auszuloggen. Fortfahren?",
|
||||
"lang_manager_mainAcct": "Fertig:Hauptkonto wählen",
|
||||
"lang_manager_def": "Standard",
|
||||
"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_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_postimg_previewdis": "keine Vorschau",
|
||||
"lang_postimg_aftupload": "Sie können die Konten nach dem Hochladen nicht mehr ändern.",
|
||||
"lang_postimg_delete": "Dieses Bild löschen.",
|
||||
"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.",
|
||||
"lang_post_cwtitle": "Auto CW Alert",
|
||||
"lang_post_cwtxt": "Du bist dabei, länger zu posten, als du eingestellt hast.\nWarntext:",
|
||||
"lang_post_btn1": "Abbrechen (wird nicht gesendet)",
|
||||
"lang_post_btn2": "Text automatisch ausblenden",
|
||||
"lang_post_btn3": "Weiter mit Senden",
|
||||
"lang_status_favWarn": "Es braucht einen Moment, um ein entferntes Tröt zu favorisieren.",
|
||||
"lang_status_btWarn": "Es braucht einen Moment, um ein entferntes Tröt zu verstärken.",
|
||||
"lang_status_follow": "Folgen",
|
||||
"lang_status_unfollow": "Nicht mehr folgen",
|
||||
"lang_status_block": "Blockieren",
|
||||
"lang_status_unblock": "Freigeben",
|
||||
"lang_status_mute": "Stummschalten",
|
||||
"lang_status_unmute": "Stummschalten aufheben",
|
||||
"lang_status_redraftTitle": "Löschen & Neuentwerfen",
|
||||
"lang_status_redraft": "Weiter mit löschen & neu entwerfen? Du verlierst den Status dieses Tröts. Diese Aktion kann einige Fehler enthalten. Bilder dieses Tröts werden auf älteren Versionen als Mastodon 2.4.1 gelöscht.",
|
||||
"lang_status_emphas": "'s Tröts werden hervorgehoben. Bitte laden Sie nach dieser Aktion neu.",
|
||||
"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_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_details_nodata": "Keine Daten",
|
||||
"lang_details_filtered": "Gefilterter Tröt",
|
||||
"lang_details_embed": "Eingefügtes HTML wurde entfernt.",
|
||||
"lang_details_url": "URL dieses Tröts wurde entfernt.",
|
||||
"lang_details_txt": "Inhalt dieses Tröts wurde entfernt.",
|
||||
"lang_filter_nodata": "Keine Daten",
|
||||
"lang_filter_errordegree": "Bitte überprüfen Sie den Kontext",
|
||||
"lang_list_nodata": "Keine Daten",
|
||||
"lang_list_show": "Anzeigen",
|
||||
"lang_list_users": "Benutzerliste",
|
||||
"lang_list_nouser": "Keine Benutzer in dieser Liste.",
|
||||
"lang_list_add": "Zur Liste hinzufügen",
|
||||
"lang_list_add_misskey": "(vielleicht wurde dieser Benutzer aufgelistet)",
|
||||
"lang_list_remove": "Aus Liste entfernen",
|
||||
"lang_notf_new": " neue Benachrichtigungen",
|
||||
"lang_speech_refresh": "Sichern der Vorlesefunktionseinstellungen",
|
||||
"lang_src_ts": "chronologische Reihenfolge",
|
||||
"lang_src_people": " Leute Tröt",
|
||||
"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_tagwarn": "Automatisch {{tag}} anfügen, wenn Tröt ohne {{tag}} ist",
|
||||
"lang_tl_media": "Medien",
|
||||
"lang_tl_reconnect": "Mit Streaming API erneut verbinden",
|
||||
"lang_img_DLDone": "Heruntergeladen:",
|
||||
"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",
|
||||
"lang_layout_setthis": "Einstellungen dieser Spalte",
|
||||
"lang_layout_mediafil": "Medien filtern",
|
||||
"lang_layout_linkana": "Automatische Link-Analyse",
|
||||
"lang_layout_linkanades": "Automatische Link-Analyse",
|
||||
"lang_layout_tts": "Sprachausgabe ",
|
||||
"lang_layout_reconnect": "Mit Streaming API erneut verbinden",
|
||||
"lang_layout_headercolor": "Kopfzeilenfarbe dieser Spalte",
|
||||
"lang_layout_nodata": "[Keine Daten]<br>F5/⌘+R zum Neu laden",
|
||||
"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_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_sort_gothis": "Gehe zu dieser Spalte",
|
||||
"lang_sort_remthis": "Diese Spalte löschen",
|
||||
"lang_spotify_img": "Albumcover anhängen",
|
||||
"lang_spotify_imgno": "Kein Albumcover anhängen",
|
||||
"lang_spotify_acct": "TheDesk mit Spotify verbinden",
|
||||
"lang_spotify_np": "Done:Vorlage für NowPlaying",
|
||||
"lang_setting_npprovide": "NowPlaying Provider:{{set}}",
|
||||
"lang_hisdata_frcreq": "Benötigte Mastodon 2.4.3 und höher",
|
||||
"lang_hisdata_frcwarn": "Unfollow accounts will be shown.",
|
||||
"lang_hisdata_taketime": "Es dauert 30s bis mehrere Minuten",
|
||||
"lang_hisdata_notonmisskey": "Misskey kann nicht angefordert werden.",
|
||||
"lang_hisdata_key": "Dieser Benutzer ist von {{set}} überprüft",
|
||||
"lang_showontl_movetxt": "Dieses Konto wurde verschoben",
|
||||
"lang_showontl_movebtn": "Auf dem neuen Konto fortfahren",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Folgt dir",
|
||||
"lang_showontl_notf": "Benachrichtigung ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"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",
|
||||
"lang_parse_faved": " favorisierte deinen Tröt",
|
||||
"lang_parse_bted": " hat deinen Tröt verstärkt",
|
||||
"lang_parse_btedsimple": " verstärkt",
|
||||
"lang_parse_polled": "'s Umfrage",
|
||||
"lang_parse_notftime": "Bearbeitet am",
|
||||
"lang_parse_cwshow": "Anzeigen",
|
||||
"lang_parse_fulltext": "Full size text:",
|
||||
"lang_parse_autofold": "Automatisches Zusammenfalten",
|
||||
"lang_parse_more": "Mehr",
|
||||
"lang_parse_url": "URL-Analyse",
|
||||
"lang_parse_tagTL": "Verlauf von {{tag}}",
|
||||
"lang_parse_tagtoot": "Tröt mit {{tag}}",
|
||||
"lang_parse_tagpin": "Pin {{tag}}",
|
||||
"lang_parse_public": "Öffentlich",
|
||||
"lang_parse_unlisted": "Nicht aufgeführt",
|
||||
"lang_parse_private": "Privat",
|
||||
"lang_parse_direct": "Direkt",
|
||||
"lang_parse_clickcopy": "Klicken, um den Text dieses Tröts zu kopieren",
|
||||
"lang_parse_clickcopyurl": "Klicken, um die URL dieses Tröts zu kopieren",
|
||||
"lang_parse_trans": "Übersetzen nach Japanisch",
|
||||
"lang_parse_replyto": "Auf diesen Tröt antworten",
|
||||
"lang_parse_bt": "Diesen Tröt verstärken",
|
||||
"lang_parse_fav": "Diesen Tröt favorisieren",
|
||||
"lang_parse_quote": "Diesen Tröt zitieren",
|
||||
"lang_parse_del": "Diesen Tröt löschen",
|
||||
"lang_parse_pin": "Dieses Tröt fixieren",
|
||||
"lang_parse_det": "Details über Ihr Hauptkonto.",
|
||||
"lang_parse_redraft": "Löschen & Neuentwerfen",
|
||||
"lang_parse_followed": "Folgt dir",
|
||||
"lang_parse_clientop": "Aktion dieses Clients",
|
||||
"lang_parse_clienttxt": " wird",
|
||||
"lang_parse_clientno": "Nichts unternehmen",
|
||||
"lang_parse_clientemp": "Hervorgehoben(/nicht hervorgehoben)",
|
||||
"lang_parse_clientmute": "Stumm",
|
||||
"lang_parse_mute": " wird stumm gemacht. Kann in den Einstellungen wieder entfernt werden.",
|
||||
"lang_parse_voted": "Abgestimmt",
|
||||
"lang_parse_vote": "Abstimmen",
|
||||
"lang_parse_unvoted": "Ergebnis ohne Abstimmung anzeigen",
|
||||
"lang_parse_endedvote": "Abgelaufen",
|
||||
"lang_parse_thread": "Konversation anzeigen",
|
||||
"lang_parse_unknown": "Angehängte Datei",
|
||||
"lang_parse_nsfw": "NSFW Medien",
|
||||
"lang_parse_notffilter": "Benachrichtigungen dieses Benutzers anzeigen",
|
||||
"lang_misskeyparse_renote": "Weiterleiten",
|
||||
"lang_misskeyparse_renoteqt": "Renote",
|
||||
"lang_misskeyparse_reaction": "Reaktion",
|
||||
"lang_misskeyparse_tagnostr": "Keine Streaming-API für Tag-Verläufe",
|
||||
"lang_misskeyparse_listnostr": "Keine Streaming-API fpr Listen-Verläufe",
|
||||
"lang_misskeyparse_home": "Startseite",
|
||||
"lang_misskeyparse_followers": "Abonnent",
|
||||
"lang_misskeyparse_specified": "Ausgewählte Benutzer",
|
||||
"lang_misskeyparse_qt": "Misskey renote(quote) mode:Ctrl+Shift+Enter to clear",
|
||||
"lang_misskeyparse_renoted": " hat deinen folgenden Beitrag zurückgewiesen.",
|
||||
"lang_misskeyparse_quoted": " zitierte deinen folgenden Beitrag.",
|
||||
"lang_misskeyparse_reacted": " hat auf Ihren folgenden Beitrag reagiert.",
|
||||
"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_cws": "Always CW on:{{set}}",
|
||||
"lang_setting_rp": "Antwortzähler:{{set}}",
|
||||
"lang_setting_vis": "Standardsichtbarkeit:{{set}}",
|
||||
"lang_setting_popup": "Popup-Benachrichtigung:{{set}}",
|
||||
"lang_setting_off": "Aus",
|
||||
"lang_setting_s": "s",
|
||||
"lang_setting_box": "Standard-Tröt-Box-Aktion:{{set}}",
|
||||
"lang_setting_gif": "GIF:{{set}}",
|
||||
"lang_setting_selt": "Auto-Falten:{{set1}} Zeilen und höher, {{set2}} Buchstaben und höher",
|
||||
"lang_setting_autocw": "Auto CW:{{set1}} lines and above, {{set2}} letters and above",
|
||||
"lang_setting_width": "Minimale Breite:{{set}}",
|
||||
"lang_setting_fixwidth": "TweetDeck feste Breite:{{set}}px",
|
||||
"lang_setting_img": "Nach dem Posten eines Bildes:{{set}}",
|
||||
"lang_setting_font": "Schriftart:{{set}}",
|
||||
"lang_setting_default": "Standard-Schriftart",
|
||||
"lang_setting_size": "Schriftgröße:{{set}}px",
|
||||
"lang_setting_imgheight": "Bildhöhe:{{set}}px",
|
||||
"lang_setting_ticker": "#InstanceTicker:{{set}}px",
|
||||
"lang_setting_animation": "Animation: {{set}}",
|
||||
"lang_setting_tag": "Tag-Verlauf:{{set}}",
|
||||
"lang_setting_boxConfirm": "Postfach:{{set}}",
|
||||
"lang_setting_ul": "Muttersprache:{{set}}",
|
||||
"lang_setting_notf": "System Benachrichtigungen:{{set}}",
|
||||
"lang_setting_quote": "Zitierformat:{{set}}",
|
||||
"lang_setting_via": "Via:{{set}}",
|
||||
"lang_setting_mov": "Aktionstasten verstecken:{{set}}",
|
||||
"lang_setting_setasread": "Benachrichtigungs-Markierungen:{{set}}",
|
||||
"lang_setting_main": "Standard-Konto:{{set}}",
|
||||
"lang_setting_sec": "Zweite Tröt-Taste:{{set}}",
|
||||
"lang_setting_ksref": "Tastaturkürzel werden aktualisiert.",
|
||||
"lang_setting_nomuting": "Kein Client ist stumm.",
|
||||
"lang_setting_notftest": " Benachrichtigungen testen ",
|
||||
"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."
|
||||
}
|
@@ -1,280 +0,0 @@
|
||||
//commonError
|
||||
var lang = {
|
||||
"language": "en",
|
||||
"lang_toot": "Toot",
|
||||
"lang_there": "Yes",
|
||||
"lang_nothing": "None",
|
||||
"lang_yesno": "Yes",
|
||||
"lang_no": "No",
|
||||
"lang_progress": "Wait...",
|
||||
"lang_edit": "Edit",
|
||||
"lang_del": "Delete",
|
||||
"lang_add": "Add",
|
||||
"lang_fatalerroroccured": "Some errors are occured, please restart TheDesk.",
|
||||
"lang_speech": "Google US English",
|
||||
//language.html
|
||||
"lang_lang": "Language",
|
||||
"lang_langlocale": "English",
|
||||
"lang_back": "Back",
|
||||
"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.",
|
||||
//common/time.js
|
||||
"lang_time_prefixAgo": null,
|
||||
"lang_time_prefixFromNow": null,
|
||||
"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",
|
||||
//common/version.js
|
||||
"lang_version_usever": "No update is found({{ver}})",
|
||||
"lang_version_skipver": "Update was ignored.",
|
||||
"lang_version_platform": "Do you want auto-updates?(users installed on Microsoft Store select 'No')",
|
||||
"lang_version_platform_linux": "Do you want auto-updates?(users installed on Snapcraft select 'No')",
|
||||
"lang_version_platform_mac": "Do you want auto-updates?(Homebrew Cask users select 'No')",
|
||||
//login
|
||||
//login/login.js
|
||||
"lang_login_noauth": "Show TL of unlogined accounts",
|
||||
//login/manager.js
|
||||
"lang_manager_info": "About this instance",
|
||||
"lang_manager_refresh": "Refresh",
|
||||
"lang_manager_delete": "Logout",
|
||||
"lang_manager_color": "Account Color",
|
||||
"lang_manager_confirm": "is about to logout. Continue?",
|
||||
"lang_manager_mainAcct": "Done:choose main account",
|
||||
"lang_manager_def": "Default",
|
||||
"lang_manager_none": "None",
|
||||
"lang_manager_godev": "Open DevCenter of Misskey. We show also an official documents to refer.",
|
||||
"lang_manager_logout": "Logout",
|
||||
//post/bb-md.js
|
||||
"lang_bbmd_misskey": "TheDesk regards \"@\" as reply, but put other parameter. Unlisted on Mastodon means Home on Misskey.",
|
||||
//post/emoji.js
|
||||
"lang_emoji_get": "Get emojis",
|
||||
"lang_emoji_custom": "Custom emojis",
|
||||
"lang_defaultemojis_text": "Emojis about {{cat}}",
|
||||
//post/img.js
|
||||
"lang_postimg_previewdis": "cannot preview",
|
||||
"lang_postimg_aftupload": "You cannot change accounts after uploading.",
|
||||
"lang_postimg_failupload": "Failed",
|
||||
"lang_postimg_delete": "Delete this image.",
|
||||
//post/post.js
|
||||
"lang_post_tagTL": "This toot does not contain a default tag. This toot will not be shown on Local TL. Continue?",
|
||||
"lang_post_tagVis": "This toot(not 'public' toot) is not shown on this tag's TL.",
|
||||
"lang_post_cwtitle": "Auto CW Alert",
|
||||
"lang_post_cwtxt": "You are about to post longer toot than you set.\nWarning text:",
|
||||
"lang_post_btn1": "Cancel (will not post)",
|
||||
"lang_post_btn2": "Make text hidden automatically",
|
||||
"lang_post_btn3": "Continue to post",
|
||||
//post/status.js
|
||||
"lang_status_favWarn": "It will take a miunte to favourite a remote toot.",
|
||||
"lang_status_btWarn": "It will take a miunte to boost a remote toot.",
|
||||
"lang_status_follow": "Follow",
|
||||
"lang_status_unfollow": "Unfollow",
|
||||
"lang_status_block": "Block",
|
||||
"lang_status_unblock": "Unblock",
|
||||
"lang_status_mute": "Mute",
|
||||
"lang_status_unmute": "Unmute",
|
||||
"lang_status_redraftTitle": "Delete & redraft",
|
||||
"lang_status_redraft": "Continue to delete & redraft? You lose statuses of this toot. This fanction may contain some bugs. Images of this toot will be deleted on older than 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_endorse": "Feature on profile",
|
||||
"lang_status_followers": "Followers",
|
||||
"lang_status_active": "Last status",
|
||||
//post/suggest.js
|
||||
"lang_suggest_nodata": "Please get emojis list in order to show suggestion.",
|
||||
//post/use-txtbox.js
|
||||
"lang_usetxtbox_reply": "Reply Mode. Ctrl+Shift+C to clear.",
|
||||
//tl/card.js
|
||||
"lang_cards_check": " check",
|
||||
"lang_cards_pip": "PiP mode",
|
||||
//tl/details.js
|
||||
"lang_details_nodata": "No data",
|
||||
"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.",
|
||||
//tl/filter.js
|
||||
"lang_filter_nodata": "No data",
|
||||
"lang_filter_errordegree": "Please check a context",
|
||||
//tl/list.js
|
||||
"lang_list_nodata": "No data",
|
||||
"lang_list_show": "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",
|
||||
//tl/notification.js
|
||||
"lang_notf_new": " new notifications",
|
||||
//tl/speech.js
|
||||
"lang_speech_refresh": "Save value about TTS config",
|
||||
//tl/src.js
|
||||
"lang_src_ts": "chronological order",
|
||||
"lang_src_people": " people toot",
|
||||
//tl/tag.js
|
||||
"lang_tags_always": "Always toots with ",
|
||||
"lang_tags_realtime": "Tag-stream toot",
|
||||
"lang_tags_tagunpin": "Unpin {{tag}}",
|
||||
"lang_tags_unrealtime": "Disable TsT",
|
||||
"lang_tags_tagwarn": "Auto complete {{tag}}, if toot without {{tag}}",
|
||||
//tl/tl.js
|
||||
"lang_tl_media": "Media",
|
||||
"lang_tl_reconnect": "Reconnect to streaming API",
|
||||
//ui/img.js
|
||||
"lang_img_DLDone": "Downloaded:",
|
||||
//ui/layout.js
|
||||
"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_layout_reconnect": "Reload this column",
|
||||
"lang_layout_headercolor": "Header color of this column",
|
||||
"lang_layout_nodata": "[No data]<br>F5/⌘+R to reload",
|
||||
"lang_layout_dm": "Direct Message",
|
||||
"lang_layout_webviewmode": "Prefer WebView",
|
||||
"lang_excluded": "Excluded type of notification",
|
||||
"lang_layout_excludingbt": "Show BT mode(OFF/Exclude BT/Only BT)",
|
||||
"lang_layout_leftFold": "Stack to the left",
|
||||
"lang_layout_leftUnfold": "Dock on the right",
|
||||
"lang_layout_deleteColumn": "Delete this column",
|
||||
"lang_layout_deleteColumnDesc": "Delete this column",
|
||||
"lang_layout_unread": "Unread",
|
||||
//ui/sort.js
|
||||
"lang_sort_gothis": "Go to this column",
|
||||
"lang_sort_remthis": "Delete this column",
|
||||
//ui/spotify.js
|
||||
"lang_spotify_img": "Attach an album artwork",
|
||||
"lang_spotify_imgno": "Not attach an album artwork",
|
||||
"lang_spotify_acct": "Connect TheDesk to Spotify",
|
||||
"lang_spotify_np": "Done:templete of NowPlaying",
|
||||
"lang_setting_npprovide": "NowPlaying provider:{{set}}",
|
||||
//userdata/his-data.js
|
||||
"lang_hisdata_frcreq": "Required Mastodon 2.4.3 and above",
|
||||
"lang_hisdata_frcwarn": "Unfollow accounts will be shown.",
|
||||
"lang_hisdata_taketime": "It will take 30s ~ several minutes",
|
||||
"lang_hisdata_notonmisskey": "Misskey is unable to request.",
|
||||
"lang_hisdata_key": "This user is proofed by {{set}}",
|
||||
//userdata/showOnTL.js
|
||||
"lang_showontl_movetxt": "This account was moved",
|
||||
"lang_showontl_movebtn": "Continue on the new account",
|
||||
"lang_showontl_botacct": "[bot]",
|
||||
"lang_showontl_followed": "Following you",
|
||||
"lang_showontl_notf": "Notification ",
|
||||
"lang_showontl_domain": "Domain ",
|
||||
"lang_showontl_listwarn": "Follow to add this user to lists.",
|
||||
"lang_showontl_verified": "This website is verified by owner at ",
|
||||
//parse
|
||||
"lang_parse_mentioned": " replied to you",
|
||||
"lang_parse_faved": " favourited your toot",
|
||||
"lang_parse_bted": " boosted your toot",
|
||||
"lang_parse_btedsimple": " boosted",
|
||||
"lang_parse_polled": "'s poll",
|
||||
"lang_parse_notftime": "Actioned at",
|
||||
"lang_parse_cwshow": "Show",
|
||||
"lang_parse_fulltext": "Full size text:",
|
||||
"lang_parse_autofold": "Auto folded",
|
||||
"lang_parse_more": "More",
|
||||
"lang_parse_url": "URL Analyzer",
|
||||
"lang_parse_tagTL": "Timeline of {{tag}}",
|
||||
"lang_parse_tagtoot": "Toot with {{tag}}",
|
||||
"lang_parse_tagpin": "Pin {{tag}}",
|
||||
"lang_parse_public": "Public",
|
||||
"lang_parse_unlisted": "Unlisted",
|
||||
"lang_parse_private": "Private",
|
||||
"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_replyto": "Reply to this toot",
|
||||
"lang_parse_bt": "Boost this toot",
|
||||
"lang_parse_fav": "Favourite this toot",
|
||||
"lang_parse_quote": "Quote this toot",
|
||||
"lang_parse_del": "Delete this toot",
|
||||
"lang_parse_pin": "Pin this toot",
|
||||
"lang_parse_det": "Details via your main account.",
|
||||
"lang_parse_redraft": "Delete & re-draft",
|
||||
"lang_parse_followed": "Followed you",
|
||||
"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_nsfw": "sensitive media",
|
||||
"lang_parse_notffilter": "Show this user's notifications",
|
||||
//misskey
|
||||
"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_misskeyparse_home": "Home",
|
||||
"lang_misskeyparse_followers": "Follower",
|
||||
"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.",
|
||||
//setting
|
||||
"lang_setting_time": "Time format:{{set}}",
|
||||
"lang_setting_theme": "Theme:{{set}}",
|
||||
"lang_setting_nsfw": "Sensitive media:{{set}}",
|
||||
"lang_setting_cw": "CW:{{set}}",
|
||||
"lang_setting_cwtext": "Default CW text:{{set}}",
|
||||
"lang_setting_cws": "Always CW on:{{set}}",
|
||||
"lang_setting_rp": "Reply counter:{{set}}",
|
||||
"lang_setting_vis": "Default visibility:{{set}}",
|
||||
"lang_setting_popup": "Popup notification:{{set}}",
|
||||
"lang_setting_off": "Off",
|
||||
"lang_setting_s": "s",
|
||||
"lang_setting_box": "Default toot box action:{{set}}",
|
||||
"lang_setting_gif": "GIF:{{set}}",
|
||||
"lang_setting_selt": "Auto fold:{{set1}} lines and above, {{set2}} letters and above",
|
||||
"lang_setting_autocw": "Auto CW:{{set1}} lines and above, {{set2}} letters and above",
|
||||
"lang_setting_width": "Minimam width:{{set}}",
|
||||
"lang_setting_fixwidth": "TweetDeck fixed width:{{set}}px",
|
||||
"lang_setting_img": "After posting an image:{{set}}",
|
||||
"lang_setting_font": "Fonts:{{set}}",
|
||||
"lang_setting_default": "default font",
|
||||
"lang_setting_size": "Font size:{{set}}px",
|
||||
"lang_setting_imgheight": "Image height:{{set}}px",
|
||||
"lang_setting_ticker": "#InstanceTicker:{{set}}px",
|
||||
"lang_setting_animation": "Animation: {{set}}",
|
||||
"lang_setting_tag": "Tag TL:{{set}}",
|
||||
"lang_setting_boxConfirm": "Post box:{{set}}",
|
||||
"lang_setting_ul": "Native locale:{{set}}",
|
||||
"lang_setting_notf": "Native notification:{{set}}",
|
||||
"lang_setting_quote": "Quote format:{{set}}",
|
||||
"lang_setting_via": "Via:{{set}}",
|
||||
"lang_setting_mov": "Action buttons hiding:{{set}}",
|
||||
"lang_setting_setasread": "Notification markers:{{set}}",
|
||||
"lang_setting_main": "Default account:{{set}}",
|
||||
"lang_setting_sec": "Secondary toot button:{{set}}",
|
||||
"lang_setting_ksref": "Keyboard shortcuts are refreshed.",
|
||||
"lang_setting_nomuting": "No client is muted.",
|
||||
"lang_setting_notftest": " Notification test ",
|
||||
"lang_setting_notftestprof": "Your icon is shown.",
|
||||
"lang_setting_exportwarn": "Only important data will be exported. You must keep this data secure.",
|
||||
"lang_setting_importwarn": "All data will be deleted.",
|
||||
}
|
@@ -1,280 +0,0 @@
|
||||
//commonError
|
||||
var lang = {
|
||||
"language": "ja",
|
||||
"lang_toot": "トゥート",
|
||||
"lang_there": "あり",
|
||||
"lang_nothing": "なし",
|
||||
"lang_yesno": "はい",
|
||||
"lang_no": "いいえ",
|
||||
"lang_progress": "処理中",
|
||||
"lang_edit": "編集",
|
||||
"lang_del": "削除",
|
||||
"lang_add": "追加",
|
||||
"lang_fatalerroroccured": "エラーが発生しました。しばらく待ってから再起動してください。",
|
||||
"lang_speech": "Google 日本語",
|
||||
//language.html
|
||||
"lang_lang": "言語",
|
||||
"lang_langlocale": "日本語",
|
||||
"lang_back": "戻る",
|
||||
"lang_set": "設定",
|
||||
"lang_langadd": "<a href=\"https://github.com/cutls/TheDesk\" target=\"_blank\">GitHub</a>から翻訳に参加できます。英語の校正(緊急)や他言語に翻訳していただける方を募集しております。",
|
||||
//common/time.js
|
||||
"lang_time_prefixAgo": null,
|
||||
"lang_time_prefixFromNow": "今から",
|
||||
"lang_time_suffixAgo": "",
|
||||
"lang_time_suffixFromNow": "",
|
||||
"lang_time_inPast": '',
|
||||
"lang_time_seconds": "%d秒前",
|
||||
"lang_time_minute": "1分前",
|
||||
"lang_time_minutes": "%d分前",
|
||||
"lang_time_hour": "1時間前",
|
||||
"lang_time_hours": "%d時間前",
|
||||
"lang_time_day": "昨日",
|
||||
"lang_time_days": "%d日前",
|
||||
"lang_time_month": "昨月",
|
||||
"lang_time_months": "%dヶ月前",
|
||||
"lang_time_year": "去年",
|
||||
"lang_time_years": "%d年前",
|
||||
//common/version.js
|
||||
"lang_version_usever": "お使いのバージョン{{ver}}は最新です。",
|
||||
"lang_version_skipver": "アップデートはスキップされました。",
|
||||
"lang_version_platform": "このソフトウェアはMicrosoft Storeからダウンロードされましたか?通常はホームページからインストールするため「いいえ」を選んでください。「はい」を選ぶとMicrosoft Storeからアップデートが提供され、アップデートの通知を出しません。",
|
||||
"lang_version_platform_linux": "このソフトウェアはSnapcraft(snapd)からインストールしましたか?通常はホームページからインストールするため「いいえ」を選んでください。「はい」を選ぶとSnapcraftからアップデートが提供され、アップデートの通知を出しません。",
|
||||
"lang_version_platform_mac": "このソフトウェアはHomebrew Caskからインストールしましたか?通常はホームページからインストールするため「いいえ」を選んでください。「はい」を選ぶとアップデートの通知を出しません。",
|
||||
//login
|
||||
//login/login.js
|
||||
"lang_login_noauth": "認証せずに見る",
|
||||
//login/manager.js
|
||||
"lang_manager_info": "インスタンス情報",
|
||||
"lang_manager_refresh": "情報更新",
|
||||
"lang_manager_delete": "削除",
|
||||
"lang_manager_color": "アカウントカラーを選択",
|
||||
"lang_manager_confirm": "を削除します。",
|
||||
"lang_manager_mainAcct": "メインアカウントを設定しました。",
|
||||
"lang_manager_def": "既定",
|
||||
"lang_manager_none": "なし",
|
||||
"lang_manager_godev": "MisskeyのDevセンターに移動します。同時に開かれるドキュメントを参考にログインしてください。",
|
||||
"lang_manager_logout": "ログアウト",
|
||||
//post/bb-md.js
|
||||
"lang_bbmd_misskey": "TheDeskにおけるMisskeyでは、@を返信として扱いますが、全ての@は消去され別パラメータに入力されます。また、「未収載」を「ホーム」として扱います。",
|
||||
//post/emoji.js
|
||||
"lang_emoji_get": "絵文字リストを取得",
|
||||
"lang_emoji_custom": "カスタム絵文字",
|
||||
"lang_defaultemojis_text": "{{cat}}の絵文字",
|
||||
//post/img.js
|
||||
"lang_postimg_previewdis": "プレビューできません。",
|
||||
"lang_postimg_aftupload": "アップロード後はアカウントを切り替えられません。",
|
||||
"lang_postimg_failupload": "アップロードに失敗しました。",
|
||||
"lang_postimg_delete": "この画像を削除します",
|
||||
//post/post.js
|
||||
"lang_post_tagTL": "デフォルトタグが挿入されていません。このまま投稿するとローカルには表示されません。",
|
||||
"lang_post_tagVis": "公開範囲が「公開」以外だと、タグTLに表示されません。(一部インスタンスを除く)",
|
||||
"lang_post_cwtitle": "長文投稿の警告",
|
||||
"lang_post_cwtxt": "指定文字数、行数を超えるトゥートを行おうとしています。\n自動CWのタイトル:",
|
||||
"lang_post_btn1": "キャンセル(投稿しない)",
|
||||
"lang_post_btn2": "自動でCWを付ける",
|
||||
"lang_post_btn3": "そのまま投稿",
|
||||
//post/status.js
|
||||
"lang_status_favWarn": "お気に入り登録しました。インスタンスが違うときは時間がかかる場合があります。",
|
||||
"lang_status_btWarn": "ブーストしました。インスタンスが違うときは時間がかかる場合があります。",
|
||||
"lang_status_follow": "フォロー",
|
||||
"lang_status_unfollow": "フォロー解除",
|
||||
"lang_status_block": "ブロック",
|
||||
"lang_status_unblock": "ブロック解除",
|
||||
"lang_status_mute": "ミュート",
|
||||
"lang_status_unmute": "ミュート解除",
|
||||
"lang_status_redraftTitle": "削除して再編集",
|
||||
"lang_status_redraft": "削除して再編集しますか?そのトゥートの全てのデータがリセットされます。この機能はベータ版です。画像は~v2.4.1で破棄されます。",
|
||||
"lang_status_emphas": "を強調します。リロードしてください。",
|
||||
"lang_status_unemphas": "を強調解除します。リロードしてください。",
|
||||
"lang_status_unendorse": "紹介解除",
|
||||
"lang_status_endorse": "プロフで紹介する",
|
||||
"lang_status_followers": "フォロワー",
|
||||
"lang_status_active": "最新トゥート",
|
||||
//post/suggest.js
|
||||
"lang_suggest_nodata": "サジェストのために絵文字リストを取得してください。",
|
||||
//post/use-txtbox.js
|
||||
"lang_usetxtbox_reply": "返信モードです。クリアするときはCtrl+Shift+Cを押してください。",
|
||||
//tl/card.js
|
||||
"lang_cards_check": "チェック",
|
||||
"lang_cards_pip": "ながら観モード",
|
||||
//tl/details.js
|
||||
"lang_details_nodata": "データなし",
|
||||
"lang_details_filtered": "フィルターされました。",
|
||||
"lang_details_embed": "埋め込みHTMLがコピーされました。",
|
||||
"lang_details_url": "トゥートURLがコピーされました。",
|
||||
"lang_details_txt": "トゥート本文がコピーされました。",
|
||||
//tl/filter.js
|
||||
"lang_filter_nodata": "フィルターはありません",
|
||||
"lang_filter_errordegree": "適応範囲を最低一つ以上チェックしてください。",
|
||||
//tl/list.js
|
||||
"lang_list_nodata": "リストはありません",
|
||||
"lang_list_show": "表示",
|
||||
"lang_list_users": "ユーザー一覧",
|
||||
"lang_list_nouser": "ユーザーはいません",
|
||||
"lang_list_add": "リストに追加",
|
||||
"lang_list_add_misskey": "(重複追加の可能性があります)",
|
||||
"lang_list_remove": "リストから削除",
|
||||
//tl/notification.js
|
||||
"lang_notf_new": "件の新しい通知",
|
||||
//tl/speech.js
|
||||
"lang_speech_refresh": "音声読み上げ設定を更新しました。",
|
||||
//tl/src.js
|
||||
"lang_src_ts": "時系列",
|
||||
"lang_src_people": "人がトゥート",
|
||||
//tl/tag.js
|
||||
"lang_tags_always": "常に",
|
||||
"lang_tags_realtime": "実況",
|
||||
"lang_tags_tagunpin": "{{tag}}をよく使うタグから削除",
|
||||
"lang_tags_unrealtime": "実況解除",
|
||||
"lang_tags_tagwarn": "{{tag}}がない場合自動で補完されます。",
|
||||
//tl/tl.js
|
||||
"lang_tl_media": "メディア",
|
||||
"lang_tl_reconnect": "Streamingに再接続しました",
|
||||
//ui/img.js
|
||||
"lang_img_DLDone": "ダウンロード先:",
|
||||
//ui/layout.js
|
||||
"lang_layout_gotop": "一番上へ。アイコンが赤のときはストリーミングに接続できていません。F5等で再読込をお試し下さい。",
|
||||
"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": "カラム再読込",
|
||||
"lang_layout_headercolor": "TLヘッダーカラー",
|
||||
"lang_layout_nodata": "[ここにトゥートはありません。]<br>F5/⌘+Rで再読込できます。",
|
||||
"lang_layout_dm": "ダイレクトメッセージ",
|
||||
"lang_layout_webviewmode": "WebView優先",
|
||||
"lang_excluded": "除外する通知",
|
||||
"lang_layout_excludingbt": "BT表示(OFF/BT除外/BTのみ)",
|
||||
"lang_layout_leftFold": "左へ重ねる",
|
||||
"lang_layout_leftUnfold": "右へ出す",
|
||||
"lang_layout_deleteColumn": "カラム削除",
|
||||
"lang_layout_deleteColumnDesc": "カラムを削除しますか?",
|
||||
"lang_layout_unread": "未読",
|
||||
//ui/sort.js
|
||||
"lang_sort_gothis": "このカラムへ",
|
||||
"lang_sort_remthis": "このカラムを削除",
|
||||
//ui/spotify.js
|
||||
"lang_spotify_img": "アルバムアートワークを添付します。",
|
||||
"lang_spotify_imgno": "アルバムアートワークを添付しません。",
|
||||
"lang_spotify_acct": "アカウント連携をしてください。",
|
||||
"lang_spotify_np": "NowPlaying文書を更新しました。",
|
||||
"lang_setting_npprovide": "NowPlayingのソースを{{set}}に設定しました。",
|
||||
//userdata/his-data.js
|
||||
"lang_hisdata_frcreq": "Mastodon 2.4.3~が必要です",
|
||||
"lang_hisdata_frcwarn": "非フォローだけど絡みがある時に表示されます。",
|
||||
"lang_hisdata_taketime": "30秒から数分かかります",
|
||||
"lang_hisdata_notonmisskey": "このシステムはMisskeyにはありません。",
|
||||
"lang_hisdata_key": "このユーザーの信頼性は{{set}}によって示されています",
|
||||
//userdata/showOnTL.js
|
||||
"lang_showontl_movetxt": "このアカウントは移行しています",
|
||||
"lang_showontl_movebtn": "移行先を見る",
|
||||
"lang_showontl_botacct": "botアカウント",
|
||||
"lang_showontl_followed": "フォローされています",
|
||||
"lang_showontl_notf": "通知",
|
||||
"lang_showontl_domain": "ドメイン",
|
||||
"lang_showontl_listwarn": "リストに追加するためにはフォローが必要です。",
|
||||
"lang_showontl_verified": "このユーザーの所持するWebサイトであると証明されています。",
|
||||
//parse
|
||||
"lang_parse_mentioned": "が返信しました",
|
||||
"lang_parse_faved": "がお気に入り登録しました",
|
||||
"lang_parse_bted": "がブーストしました",
|
||||
"lang_parse_btedsimple": "がブースト",
|
||||
"lang_parse_polled": "のアンケート",
|
||||
"lang_parse_notftime": "通知された時間",
|
||||
"lang_parse_cwshow": "見る",
|
||||
"lang_parse_fulltext": "以下全文",
|
||||
"lang_parse_autofold": "自動折り畳み",
|
||||
"lang_parse_more": "続き...",
|
||||
"lang_parse_url": "URL解析",
|
||||
"lang_parse_tagTL": "{{tag}}のタイムライン",
|
||||
"lang_parse_tagtoot": "{{tag}}でトゥート",
|
||||
"lang_parse_tagpin": "{{tag}}をよく使うタグへ",
|
||||
"lang_parse_public": "公開",
|
||||
"lang_parse_unlisted": "未収載",
|
||||
"lang_parse_private": "非公開",
|
||||
"lang_parse_direct": "ダイレクト",
|
||||
"lang_parse_clickcopy": "クリックして本文をコピー",
|
||||
"lang_parse_clickcopyurl": "クリックしてトゥートURLをコピー",
|
||||
"lang_parse_trans": "このトゥートを日本語に翻訳",
|
||||
"lang_parse_replyto": "このトゥートに返信",
|
||||
"lang_parse_bt": "このトゥートをブースト",
|
||||
"lang_parse_fav": "このトゥートをお気に入り登録",
|
||||
"lang_parse_quote": "このトゥートを引用",
|
||||
"lang_parse_del": "このトゥートを削除",
|
||||
"lang_parse_pin": "このトゥートをピン留め",
|
||||
"lang_parse_det": "詳細(メインアカウント経由)",
|
||||
"lang_parse_redraft": "このトゥートを削除して再編集",
|
||||
"lang_parse_followed": "フォローされました。",
|
||||
"lang_parse_clientop": "クライアント操作",
|
||||
"lang_parse_clienttxt": " に対する処理を選択してください。",
|
||||
"lang_parse_clientno": "何もしない",
|
||||
"lang_parse_clientemp": "強調表示/解除",
|
||||
"lang_parse_clientmute": "ミュート",
|
||||
"lang_parse_mute": "ミュートします。設定から解除できます。",
|
||||
"lang_parse_voted": "投票済みです",
|
||||
"lang_parse_vote": "投票",
|
||||
"lang_parse_unvoted": "結果だけ見る",
|
||||
"lang_parse_endedvote": "終了済み",
|
||||
"lang_parse_thread": "会話を表示",
|
||||
"lang_parse_unknown": "添付ファイル",
|
||||
"lang_parse_nsfw": "閲覧注意",
|
||||
"lang_parse_notffilter": "このユーザーの通知のみを表示",
|
||||
//misskey
|
||||
"lang_misskeyparse_renote": "再投稿",
|
||||
"lang_misskeyparse_renoteqt": "引用",
|
||||
"lang_misskeyparse_reaction": "リアクション",
|
||||
"lang_misskeyparse_tagnostr": "タグTLはストリーミング非対応です。",
|
||||
"lang_misskeyparse_listnostr": "リストTLはストリーミング非対応です。",
|
||||
"lang_misskeyparse_home": "ホーム",
|
||||
"lang_misskeyparse_followers": "フォロワー",
|
||||
"lang_misskeyparse_specified": "ユーザー指定",
|
||||
"lang_misskeyparse_qt": "MisskeyのRenote(引用モード)中:Ctrl+Shift+Cでクリア",
|
||||
"lang_misskeyparse_renoted": "がRepost",
|
||||
"lang_misskeyparse_quoted": "が引用",
|
||||
"lang_misskeyparse_reacted": "がリアクション",
|
||||
//setting
|
||||
"lang_setting_time": "時間設定を{{set}}に設定しました。",
|
||||
"lang_setting_theme": "テーマ設定を{{set}}に設定しました。",
|
||||
"lang_setting_nsfw": "画像表示設定を{{set}}に設定しました。",
|
||||
"lang_setting_cw": "テキスト表示設定を{{set}}に設定しました。",
|
||||
"lang_setting_cwtext": "デフォルトの警告文を「{{set}}」に設定しました。",
|
||||
"lang_setting_cws": "標準でCW:{{set}}",
|
||||
"lang_setting_rp": "リプライ数表示:{{set}}",
|
||||
"lang_setting_vis": "デフォルトの公開設定を{{set}}に設定しました。",
|
||||
"lang_setting_popup": "ポップアップお知らせを{{set}}に設定しました。",
|
||||
"lang_setting_off": "オフ",
|
||||
"lang_setting_s": "秒",
|
||||
"lang_setting_box": "デフォルトでのボックスの挙動を{{set}}に設定しました。",
|
||||
"lang_setting_gif": "アイコンアニメーション再生を{{set}}に設定しました。",
|
||||
"lang_setting_selt": "{{set1}}行以上または{{set2}}文字以上でテキストを隠します。",
|
||||
"lang_setting_autocw": "{{set1}}行以上または{{set2}}文字以上で警告を表示します。",
|
||||
"lang_setting_width": "横幅最低を{{set}}pxに設定しました。",
|
||||
"lang_setting_fixwidth": "TweetDeckの横幅を{{set}}pxに設定しました。",
|
||||
"lang_setting_img": "画像投稿後の設定を「{{set}}」に設定しました。",
|
||||
"lang_setting_font": "フォントを{{set}}に設定しました。",
|
||||
"lang_setting_default": "デフォルト",
|
||||
"lang_setting_size": "フォントサイズを{{set}}pxに設定しました。",
|
||||
"lang_setting_imgheight": "画像高さを{{set}}pxに設定しました。",
|
||||
"lang_setting_ticker": "#InstanceTicker使用を{{set}}に設定しました。",
|
||||
"lang_setting_animation": "アニメーションを{{set}}に設定しました。",
|
||||
"lang_setting_tag": "タグの取得範囲を「{{set}}」に設定しました。",
|
||||
"lang_setting_boxConfirm": "投稿ボックスを{{set}}",
|
||||
"lang_setting_ul": "独自ロケール設定を{{set}}に設定しました。",
|
||||
"lang_setting_notf": "ネイティブ通知を{{set}}に設定しました。",
|
||||
"lang_setting_quote": "引用形式を{{set}}に設定しました。",
|
||||
"lang_setting_via": "via表示を{{set}}に設定しました。",
|
||||
"lang_setting_mov": "アクションボタン非表示を{{set}}に設定しました。",
|
||||
"lang_setting_setasread": "通知カラム存在時新着非表示を{{set}}に設定しました。",
|
||||
"lang_setting_main": "起動時・投稿時のアカウントを{{set}}に設定しました。",
|
||||
"lang_setting_sec": "セカンダリートゥートボタン:{{set}}",
|
||||
"lang_setting_ksref": "キーボードショートカットが更新されました。",
|
||||
"lang_setting_nomuting": "ミュートしているクライアントはありません。",
|
||||
"lang_setting_notftest": "通知テスト",
|
||||
"lang_setting_notftestprof": "アイコンはあなたのアカウントのものです。",
|
||||
"lang_setting_exportwarn": "重要なデータのみエクスポートされます。エクスポートされたデータは外部に公開しないでください。全ての認証データが含まれています。",
|
||||
"lang_setting_importwarn": "全てのデータがリセットされます。"
|
||||
}
|
@@ -1,206 +0,0 @@
|
||||
var lang = {
|
||||
"language": "crwdns1960:0crwdne1960:0",
|
||||
"lang_toot": "crwdns1962:0crwdne1962:0",
|
||||
"lang_there": "crwdns1964:0crwdne1964:0",
|
||||
"lang_nothing": "crwdns1966:0crwdne1966:0",
|
||||
"lang_yesno": "crwdns1968:0crwdne1968:0",
|
||||
"lang_no": "crwdns1970:0crwdne1970:0",
|
||||
"lang_progress": "crwdns1972:0crwdne1972:0",
|
||||
"lang_edit": "crwdns1974:0crwdne1974:0",
|
||||
"lang_del": "crwdns1976:0crwdne1976:0",
|
||||
"lang_add": "crwdns1978:0crwdne1978:0",
|
||||
"lang_fatalerroroccured": "crwdns1980:0crwdne1980:0",
|
||||
"lang_speech": "crwdns1982:0crwdne1982:0",
|
||||
"lang_lang": "crwdns1984:0crwdne1984:0",
|
||||
"lang_langlocale": "crwdns1986:0crwdne1986:0",
|
||||
"lang_back": "crwdns1988:0crwdne1988:0",
|
||||
"lang_set": "crwdns1990:0crwdne1990:0",
|
||||
"lang_langadd": "crwdns2364:0crwdne2364:0",
|
||||
"lang_version_usever": "crwdns1994:0{{ver}}crwdne1994:0",
|
||||
"lang_version_skipver": "crwdns1996:0crwdne1996:0",
|
||||
"lang_login_noauth": "crwdns1998:0crwdne1998:0",
|
||||
"lang_manager_info": "crwdns2000:0crwdne2000:0",
|
||||
"lang_manager_refresh": "crwdns2002:0crwdne2002:0",
|
||||
"lang_manager_delete": "crwdns2004:0crwdne2004:0",
|
||||
"lang_manager_color": "crwdns2006:0crwdne2006:0",
|
||||
"lang_manager_confirm": "crwdns2008:0crwdne2008:0",
|
||||
"lang_manager_mainAcct": "crwdns2010:0crwdne2010:0",
|
||||
"lang_manager_def": "crwdns2012:0crwdne2012:0",
|
||||
"lang_manager_none": "crwdns2014:0crwdne2014:0",
|
||||
"lang_manager_godev": "crwdns2016:0crwdne2016:0",
|
||||
"lang_bbmd_misskey": "crwdns2018:0crwdne2018:0",
|
||||
"lang_emoji_get": "crwdns2020:0crwdne2020:0",
|
||||
"lang_emoji_custom": "crwdns2022:0crwdne2022:0",
|
||||
"lang_defaultemojis_text": "crwdns2388:0{{cat}}crwdne2388:0",
|
||||
"lang_postimg_previewdis": "crwdns2024:0crwdne2024:0",
|
||||
"lang_postimg_aftupload": "crwdns2026:0crwdne2026:0",
|
||||
"lang_post_tagTL": "crwdns2028:0crwdne2028:0",
|
||||
"lang_post_tagVis": "crwdns2030:0crwdne2030:0",
|
||||
"lang_post_cwtitle": "crwdns2032:0crwdne2032:0",
|
||||
"lang_post_cwtxt": "crwdns2034:0crwdne2034:0",
|
||||
"lang_post_btn1": "crwdns2036:0crwdne2036:0",
|
||||
"lang_post_btn2": "crwdns2038:0crwdne2038:0",
|
||||
"lang_post_btn3": "crwdns2040:0crwdne2040:0",
|
||||
"lang_status_favWarn": "crwdns2042:0crwdne2042:0",
|
||||
"lang_status_btWarn": "crwdns2044:0crwdne2044:0",
|
||||
"lang_status_follow": "crwdns2046:0crwdne2046:0",
|
||||
"lang_status_unfollow": "crwdns2048:0crwdne2048:0",
|
||||
"lang_status_block": "crwdns2050:0crwdne2050:0",
|
||||
"lang_status_unblock": "crwdns2052:0crwdne2052:0",
|
||||
"lang_status_mute": "crwdns2054:0crwdne2054:0",
|
||||
"lang_status_unmute": "crwdns2056:0crwdne2056:0",
|
||||
"lang_status_redraft": "crwdns2058:0crwdne2058:0",
|
||||
"lang_status_emphas": "crwdns2060:0crwdne2060:0",
|
||||
"lang_status_unemphas": "crwdns2062:0crwdne2062:0",
|
||||
"lang_status_unendorse": "crwdns2064:0crwdne2064:0",
|
||||
"lang_status_endorse": "crwdns2066:0crwdne2066:0",
|
||||
"lang_suggest_nodata": "crwdns2068:0crwdne2068:0",
|
||||
"lang_usetxtbox_reply": "crwdns2070:0crwdne2070:0",
|
||||
"lang_cards_check": "crwdns2072:0crwdne2072:0",
|
||||
"lang_cards_pip": "crwdns2074:0crwdne2074:0",
|
||||
"lang_details_nodata": "crwdns2076:0crwdne2076:0",
|
||||
"lang_details_filtered": "crwdns2078:0crwdne2078:0",
|
||||
"lang_details_embed": "crwdns2080:0crwdne2080:0",
|
||||
"lang_details_url": "crwdns2082:0crwdne2082:0",
|
||||
"lang_details_txt": "crwdns2084:0crwdne2084:0",
|
||||
"lang_filter_nodata": "crwdns2086:0crwdne2086:0",
|
||||
"lang_filter_errordegree": "crwdns2088:0crwdne2088:0",
|
||||
"lang_list_nodata": "crwdns2090:0crwdne2090:0",
|
||||
"lang_list_show": "crwdns2092:0crwdne2092:0",
|
||||
"lang_list_users": "crwdns2094:0crwdne2094:0",
|
||||
"lang_list_nouser": "crwdns2096:0crwdne2096:0",
|
||||
"lang_list_add": "crwdns2098:0crwdne2098:0",
|
||||
"lang_list_remove": "crwdns2100:0crwdne2100:0",
|
||||
"lang_notf_new": "crwdns2102:0crwdne2102:0",
|
||||
"lang_speech_refresh": "crwdns2348:0crwdne2348:0",
|
||||
"lang_src_ts": "crwdns2106:0crwdne2106:0",
|
||||
"lang_src_people": "crwdns2108:0crwdne2108:0",
|
||||
"lang_tags_always": "crwdns2110:0crwdne2110:0",
|
||||
"lang_tags_realtime": "crwdns2112:0crwdne2112:0",
|
||||
"lang_tags_tagunpin": "crwdns2114:0{{tag}}crwdne2114:0",
|
||||
"lang_tags_tagwarn": "crwdns2116:0{{tag}}crwdne2116:0",
|
||||
"lang_tl_media": "crwdns2118:0crwdne2118:0",
|
||||
"lang_tl_reconnect": "crwdns2120:0crwdne2120:0",
|
||||
"lang_layout_gotop": "crwdns2122:0crwdne2122:0",
|
||||
"lang_layout_thisacct": "crwdns2124:0{{notf}}crwdne2124:0",
|
||||
"lang_layout_delthis": "crwdns2126:0crwdne2126:0",
|
||||
"lang_layout_setthis": "crwdns2128:0crwdne2128:0",
|
||||
"lang_layout_mediafil": "crwdns2130:0crwdne2130:0",
|
||||
"lang_layout_linkana": "crwdns2132:0crwdne2132:0",
|
||||
"lang_layout_linkanades": "crwdns2134:0crwdne2134:0",
|
||||
"lang_layout_tts": "crwdns2136:0crwdne2136:0",
|
||||
"lang_layout_reconnect": "crwdns2138:0crwdne2138:0",
|
||||
"lang_layout_headercolor": "crwdns2140:0crwdne2140:0",
|
||||
"lang_layout_nodata": "crwdns2142:0crwdne2142:0",
|
||||
"lang_layout_dm": "crwdns2144:0crwdne2144:0",
|
||||
"lang_layout_webviewmode": "crwdns2146:0crwdne2146:0",
|
||||
"lang_excluded": "crwdns2368:0crwdne2368:0",
|
||||
"lang_layout_excludingbt": "crwdns2390:0crwdne2390:0",
|
||||
"lang_spotify_img": "crwdns2148:0crwdne2148:0",
|
||||
"lang_spotify_imgno": "crwdns2150:0crwdne2150:0",
|
||||
"lang_spotify_acct": "crwdns2152:0crwdne2152:0",
|
||||
"lang_spotify_np": "crwdns2154:0crwdne2154:0",
|
||||
"lang_setting_npprovide": "crwdns2370:0{{set}}crwdne2370:0",
|
||||
"lang_hisdata_frcreq": "crwdns2156:0crwdne2156:0",
|
||||
"lang_hisdata_frcwarn": "crwdns2158:0crwdne2158:0",
|
||||
"lang_hisdata_taketime": "crwdns2160:0crwdne2160:0",
|
||||
"lang_hisdata_notonmisskey": "crwdns2162:0crwdne2162:0",
|
||||
"lang_showontl_movetxt": "crwdns2164:0crwdne2164:0",
|
||||
"lang_showontl_movebtn": "crwdns2166:0crwdne2166:0",
|
||||
"lang_showontl_botacct": "crwdns2168:0[bot]crwdne2168:0",
|
||||
"lang_showontl_followed": "crwdns2170:0crwdne2170:0",
|
||||
"lang_showontl_notf": "crwdns2172:0crwdne2172:0",
|
||||
"lang_showontl_domain": "crwdns2174:0crwdne2174:0",
|
||||
"lang_showontl_listwarn": "crwdns2176:0crwdne2176:0",
|
||||
"lang_parse_mentioned": "crwdns2178:0crwdne2178:0",
|
||||
"lang_parse_faved": "crwdns2180:0crwdne2180:0",
|
||||
"lang_parse_bted": "crwdns2182:0crwdne2182:0",
|
||||
"lang_parse_btedsimple": "crwdns2184:0crwdne2184:0",
|
||||
"lang_parse_notftime": "crwdns2186:0crwdne2186:0",
|
||||
"lang_parse_cwshow": "crwdns2188:0crwdne2188:0",
|
||||
"lang_parse_fulltext": "crwdns2190:0crwdne2190:0",
|
||||
"lang_parse_autofold": "crwdns2192:0crwdne2192:0",
|
||||
"lang_parse_more": "crwdns2194:0crwdne2194:0",
|
||||
"lang_parse_url": "crwdns2196:0crwdne2196:0",
|
||||
"lang_parse_tagTL": "crwdns2198:0{{tag}}crwdne2198:0",
|
||||
"lang_parse_tagtoot": "crwdns2200:0{{tag}}crwdne2200:0",
|
||||
"lang_parse_tagpin": "crwdns2202:0{{tag}}crwdne2202:0",
|
||||
"lang_parse_public": "crwdns2204:0crwdne2204:0",
|
||||
"lang_parse_unlisted": "crwdns2206:0crwdne2206:0",
|
||||
"lang_parse_private": "crwdns2208:0crwdne2208:0",
|
||||
"lang_parse_direct": "crwdns2210:0crwdne2210:0",
|
||||
"lang_parse_clickcopy": "crwdns2212:0crwdne2212:0",
|
||||
"lang_parse_clickcopyurl": "crwdns2214:0crwdne2214:0",
|
||||
"lang_parse_trans": "crwdns2216:0crwdne2216:0",
|
||||
"lang_parse_replyto": "crwdns2218:0crwdne2218:0",
|
||||
"lang_parse_bt": "crwdns2220:0crwdne2220:0",
|
||||
"lang_parse_fav": "crwdns2222:0crwdne2222:0",
|
||||
"lang_parse_quote": "crwdns2224:0crwdne2224:0",
|
||||
"lang_parse_del": "crwdns2226:0crwdne2226:0",
|
||||
"lang_parse_pin": "crwdns2228:0crwdne2228:0",
|
||||
"lang_parse_det": "crwdns2230:0crwdne2230:0",
|
||||
"lang_parse_redraft": "crwdns2232:0crwdne2232:0",
|
||||
"lang_parse_followed": "crwdns2234:0crwdne2234:0",
|
||||
"lang_parse_clientop": "crwdns2236:0crwdne2236:0",
|
||||
"lang_parse_clienttxt": "crwdns2238:0crwdne2238:0",
|
||||
"lang_parse_clientno": "crwdns2240:0crwdne2240:0",
|
||||
"lang_parse_clientemp": "crwdns2242:0crwdne2242:0",
|
||||
"lang_parse_clientmute": "crwdns2244:0crwdne2244:0",
|
||||
"lang_parse_mute": "crwdns2246:0crwdne2246:0",
|
||||
"lang_parse_voted": "crwdns2392:0crwdne2392:0",
|
||||
"lang_parse_vote": "crwdns2394:0crwdne2394:0",
|
||||
"lang_parse_unvoted": "crwdns2396:0crwdne2396:0",
|
||||
"lang_parse_endedvote": "crwdns2398:0crwdne2398:0",
|
||||
"lang_misskeyparse_renote": "crwdns2248:0crwdne2248:0",
|
||||
"lang_misskeyparse_renoteqt": "crwdns2250:0crwdne2250:0",
|
||||
"lang_misskeyparse_reaction": "crwdns2252:0crwdne2252:0",
|
||||
"lang_misskeyparse_tagnostr": "crwdns2254:0crwdne2254:0",
|
||||
"lang_misskeyparse_listnostr": "crwdns2256:0crwdne2256:0",
|
||||
"lang_misskeyparse_home": "crwdns2258:0crwdne2258:0",
|
||||
"lang_misskeyparse_followers": "crwdns2260:0crwdne2260:0",
|
||||
"lang_misskeyparse_specified": "crwdns2262:0crwdne2262:0",
|
||||
"lang_misskeyparse_qt": "crwdns2264:0crwdne2264:0",
|
||||
"lang_misskeyparse_renoted": "crwdns2266:0crwdne2266:0",
|
||||
"lang_misskeyparse_quoted": "crwdns2268:0crwdne2268:0",
|
||||
"lang_misskeyparse_reacted": "crwdns2372:0crwdne2372:0",
|
||||
"lang_setting_time": "crwdns2272:0{{set}}crwdne2272:0",
|
||||
"lang_setting_theme": "crwdns2274:0{{set}}crwdne2274:0",
|
||||
"lang_setting_nsfw": "crwdns2276:0{{set}}crwdne2276:0",
|
||||
"lang_setting_cw": "crwdns2278:0{{set}}crwdne2278:0",
|
||||
"lang_setting_cwtext": "crwdns2280:0{{set}}crwdne2280:0",
|
||||
"lang_setting_cws": "crwdns2282:0{{set}}crwdne2282:0",
|
||||
"lang_setting_rp": "crwdns2284:0{{set}}crwdne2284:0",
|
||||
"lang_setting_vis": "crwdns2286:0{{set}}crwdne2286:0",
|
||||
"lang_setting_popup": "crwdns2288:0{{set}}crwdne2288:0",
|
||||
"lang_setting_off": "crwdns2290:0crwdne2290:0",
|
||||
"lang_setting_s": "crwdns2292:0crwdne2292:0",
|
||||
"lang_setting_box": "crwdns2294:0{{set}}crwdne2294:0",
|
||||
"lang_setting_gif": "crwdns2296:0{{set}}crwdne2296:0",
|
||||
"lang_setting_selt": "crwdns2298:0{{set1}}crwdnd2298:0{{set2}}crwdne2298:0",
|
||||
"lang_setting_autocw": "crwdns2300:0{{set1}}crwdnd2300:0{{set2}}crwdne2300:0",
|
||||
"lang_setting_width": "crwdns2302:0{{set}}crwdne2302:0",
|
||||
"lang_setting_fixwidth": "crwdns2386:0{{set}}crwdne2386:0",
|
||||
"lang_setting_img": "crwdns2304:0{{set}}crwdne2304:0",
|
||||
"lang_setting_font": "crwdns2306:0{{set}}crwdne2306:0",
|
||||
"lang_setting_default": "crwdns2308:0crwdne2308:0",
|
||||
"lang_setting_size": "crwdns2310:0{{set}}crwdne2310:0",
|
||||
"lang_setting_imgheight": "crwdns2312:0{{set}}crwdne2312:0",
|
||||
"lang_setting_ticker": "crwdns2314:0{{set}}crwdne2314:0",
|
||||
"lang_setting_animation": "crwdns2400:0{{set}}crwdne2400:0",
|
||||
"lang_setting_tag": "crwdns2316:0{{set}}crwdne2316:0",
|
||||
"lang_setting_boxConfirm": "crwdns2318:0{{set}}crwdne2318:0",
|
||||
"lang_setting_ul": "crwdns2320:0{{set}}crwdne2320:0",
|
||||
"lang_setting_notf": "crwdns2322:0{{set}}crwdne2322:0",
|
||||
"lang_setting_quote": "crwdns2324:0{{set}}crwdne2324:0",
|
||||
"lang_setting_via": "crwdns2326:0{{set}}crwdne2326:0",
|
||||
"lang_setting_mov": "crwdns2328:0{{set}}crwdne2328:0",
|
||||
"lang_setting_setasread": "crwdns2330:0{{set}}crwdne2330:0",
|
||||
"lang_setting_main": "crwdns2332:0{{set}}crwdne2332:0",
|
||||
"lang_setting_sec": "crwdns2334:0{{set}}crwdne2334:0",
|
||||
"lang_setting_ksref": "crwdns2336:0crwdne2336:0",
|
||||
"lang_setting_nomuting": "crwdns2338:0crwdne2338:0",
|
||||
"lang_setting_notftest": "crwdns2340:0crwdne2340:0",
|
||||
"lang_setting_notftestprof": "crwdns2342:0crwdne2342:0",
|
||||
"lang_setting_exportwarn": "crwdns2344:0crwdne2344:0",
|
||||
"lang_setting_importwarn": "crwdns2346:0crwdne2346:0"
|
||||
}
|
@@ -398,6 +398,8 @@ function ckdb(acct_id) {
|
||||
}
|
||||
if (json["urls"]["streaming_api"]) {
|
||||
localStorage.setItem("streaming_" + acct_id, json["urls"]["streaming_api"]);
|
||||
}else{
|
||||
localStorage.removeItem("streaming_" + acct_id);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -525,7 +527,6 @@ function ticker() {
|
||||
}).catch(function (error) {
|
||||
console.error(error);
|
||||
}).then(function (json) {
|
||||
console.log(json)
|
||||
if (json) {
|
||||
localStorage.setItem("ticker", JSON.stringify(json));
|
||||
}
|
||||
|
@@ -299,6 +299,7 @@ function login(url) {
|
||||
misskeyLogin(url);
|
||||
return;
|
||||
}
|
||||
$("#compt").hide()
|
||||
if ($('#linux:checked').val() == "on") {
|
||||
var red = "urn:ietf:wg:oauth:2.0:oob"
|
||||
} else {
|
||||
@@ -327,6 +328,7 @@ function login(url) {
|
||||
localStorage.setItem("client_id", json["client_id"]);
|
||||
localStorage.setItem("client_secret", json["client_secret"]);
|
||||
$("#auth").show();
|
||||
versionChecker(url)
|
||||
$("#add").hide();
|
||||
postMessage(["openUrl", auth], "*")
|
||||
if ($('#linux:checked').val() == "on") { } else {
|
||||
@@ -334,7 +336,76 @@ function login(url) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
function versionChecker(url) {
|
||||
var start = "https://" + url + "/api/v1/instance";
|
||||
fetch(start, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'content-type': 'application/json',
|
||||
},
|
||||
}).then(function (response) {
|
||||
return response.json();
|
||||
}).catch(function (error) {
|
||||
todo(error);
|
||||
console.error(error);
|
||||
}).then(function (json) {
|
||||
var version = json.version
|
||||
if (version) {
|
||||
var reg = version.match(/^[0-9]\.[0-9]\.[0-9]/u);
|
||||
if (reg) {
|
||||
reg = reg[0]
|
||||
versionCompat(url, reg, json.title, version)
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
function versionCompat(url, ver, title, real) {
|
||||
$("#compt-instance").text(title)
|
||||
$("#compt-ver").text(real)
|
||||
if(~real.indexOf("compatible")){
|
||||
$("#compt-warn").show()
|
||||
}else{
|
||||
$("#compt-warn").hide()
|
||||
}
|
||||
$("#compt-list").html("")
|
||||
var start = "../../source/version.json";
|
||||
fetch(start, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'content-type': 'application/json',
|
||||
},
|
||||
}).then(function (response) {
|
||||
return response.json();
|
||||
}).catch(function (error) {
|
||||
todo(error);
|
||||
console.error(error);
|
||||
}).then(function (json) {
|
||||
var complete = false
|
||||
var ct = 0
|
||||
Object.keys(json).forEach(function (key) {
|
||||
var data = json[key];
|
||||
if (data) {
|
||||
if (key != ver && !complete) {
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
var e = ""
|
||||
if (i == 0) {
|
||||
e = "(" + key + ")"
|
||||
}
|
||||
$("#compt-list").append('<li>' + data[i] + e + '</li>')
|
||||
ct++;
|
||||
e = ""
|
||||
}
|
||||
} else if (!complete) {
|
||||
complete = true
|
||||
}
|
||||
}
|
||||
var lastkey = key
|
||||
});
|
||||
if (lang.language == "ja" && ct > 0) {
|
||||
$("#compt").show()
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
//これが後のMisskeyである。
|
||||
@@ -818,4 +889,8 @@ input.addEventListener("focus", function () {
|
||||
|
||||
input.addEventListener("blur", function () {
|
||||
window.clearInterval(timer);
|
||||
}, false);
|
||||
}, false);
|
||||
//acctで未読マーカーは要らない
|
||||
function asReadEnd() {
|
||||
postMessage(["asReadComp", ""], "*")
|
||||
}
|
@@ -48,7 +48,7 @@ $(document).on('click', 'a', e => {
|
||||
if (ats[2]) {
|
||||
//Quesdon判定
|
||||
if (!~ats[2].indexOf("@")) {
|
||||
udgEx(ats[2] + "@" + ats[1], "main");
|
||||
udgEx(url, "main");
|
||||
return false
|
||||
} else {
|
||||
postMessage(["openUrl", url], "*")
|
||||
@@ -108,12 +108,16 @@ function opendev() {
|
||||
});
|
||||
*/
|
||||
}
|
||||
var soundFile
|
||||
function playSound() {
|
||||
window.AudioContext = window.AudioContext || window.webkitAudioContext;
|
||||
if(soundFile){
|
||||
soundFile.stop()
|
||||
}
|
||||
context = new AudioContext();
|
||||
context.createBufferSource().start(0);
|
||||
context.decodeAudioData(request.response, function (buf) {
|
||||
console.log("Playing:" + source)
|
||||
//console.log("Playing:" , source)
|
||||
source.buffer = buf;
|
||||
source.loop = false;
|
||||
});
|
||||
@@ -121,8 +125,20 @@ function playSound() {
|
||||
volumeControl = context.createGain();
|
||||
source.connect(volumeControl);
|
||||
volumeControl.connect(context.destination);
|
||||
volumeControl.gain.value = 0.8
|
||||
var cvol = localStorage.getItem("customVol")
|
||||
if (cvol) {
|
||||
vol = cvol
|
||||
}else{
|
||||
vol = 0.8
|
||||
}
|
||||
volumeControl.gain.value = vol
|
||||
source.start(0);
|
||||
soundFile = source;
|
||||
|
||||
function newFunction() {
|
||||
var source;
|
||||
return source;
|
||||
}
|
||||
}
|
||||
function nano() {
|
||||
postMessage(["nano", null], "*")
|
||||
@@ -167,20 +183,14 @@ onmessage = function (e) {
|
||||
updateMess(e.data[1]);
|
||||
} else if (e.data[0] == "renderAbout") {
|
||||
renderAbout(e.data[1]);
|
||||
} else if (e.data[0] == "asRead") {
|
||||
asRead()
|
||||
} else if (e.data[0] == "asReadEnd") {
|
||||
asReadEnd()
|
||||
} else if (e.data[0] == "alert") {
|
||||
Swal.fire({
|
||||
type: 'info',
|
||||
title: e.data[1]
|
||||
})
|
||||
}
|
||||
}
|
||||
window.addEventListener('load', function() {
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register("/sw.js")
|
||||
.then(function(registration) {
|
||||
console.log("serviceWorker registed.");
|
||||
}).catch(function(error) {
|
||||
console.warn("serviceWorker error.", error);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
@@ -1,9 +1,3 @@
|
||||
function postMessage(e){
|
||||
if(e[0]=="openUrl"){
|
||||
window.open(e[1])
|
||||
}
|
||||
return false;
|
||||
}
|
||||
document.title="TheDesk"
|
||||
$.strip_tags = function (str, allowed) {
|
||||
if (!str) {
|
||||
|
@@ -57,6 +57,8 @@ onmessage = function (e) {
|
||||
ipc.send('download-btn', e.data[1]);
|
||||
} else if (e.data[0] == "nano") {
|
||||
ipc.send('nano', null);
|
||||
} else if (e.data[0] == "asReadComp") {
|
||||
ipc.send('sendMarkersComplete', null);
|
||||
}
|
||||
}
|
||||
//version.js
|
||||
@@ -164,6 +166,12 @@ ipc.on('prog', function (event, arg) {
|
||||
ipc.on('mess', function (event, arg) {
|
||||
postMessage(["updateMess", arg], "*")
|
||||
})
|
||||
ipc.on('asRead', function (event, arg) {
|
||||
postMessage(["asRead", ""], "*")
|
||||
})
|
||||
ipc.on('asReadEnd', function (event, arg) {
|
||||
postMessage(["asReadEnd", ""], "*")
|
||||
})
|
||||
var webviewDom = document.getElementById('webview');
|
||||
if (webviewDom) {
|
||||
webviewDom.addEventListener('new-window', function (e) {
|
||||
|
@@ -23,7 +23,7 @@ function emojiToggle(reaction) {
|
||||
}
|
||||
$("#post-box").css("width", width + "px")
|
||||
$("#suggest").html("");
|
||||
if (!localStorage.getItem("emoji_" + acct_id)) {
|
||||
if (!localStorage.getItem("emojis_" + acct_id)) {
|
||||
var html =
|
||||
'<button class="btn waves-effect green" style="width:100%; padding:0; margin-top:0;" onclick="emojiGet(\'true\');">' + lang.lang_emoji_get + '</button>';
|
||||
$("#emoji-list").html(html);
|
||||
@@ -69,15 +69,56 @@ function emojiGet(parse, started) {
|
||||
}).then(function (json) {
|
||||
if (parse == "true") {
|
||||
$('#emoji-list').text('Parsing...');
|
||||
var md = {
|
||||
"categorized": {},
|
||||
"uncategorized": []
|
||||
};
|
||||
var if_categorized = false
|
||||
Object.keys(json).forEach(function (key) {
|
||||
var emoji = json[key];
|
||||
if (emoji.visible_in_picker) {
|
||||
var listed = true
|
||||
} else {
|
||||
var listed = false
|
||||
}
|
||||
if (emoji.category) {
|
||||
var cat = emoji.category
|
||||
if (!md["categorized"][cat]) {
|
||||
md["categorized"][cat] = []
|
||||
}
|
||||
md["categorized"][cat].push({
|
||||
"shortcode": emoji.shortcode,
|
||||
"url": emoji.url,
|
||||
"listed": listed
|
||||
})
|
||||
if_categorized = true
|
||||
} else {
|
||||
md["uncategorized"].push({
|
||||
"shortcode": emoji.shortcode,
|
||||
"url": emoji.url,
|
||||
"listed": listed
|
||||
})
|
||||
}
|
||||
});
|
||||
console.log(md)
|
||||
//絵文字をマストドン公式と同順にソート
|
||||
json.sort(function (a, b) {
|
||||
md["uncategorized"].sort(function (a, b) {
|
||||
if (a.shortcode < b.shortcode) return -1;
|
||||
if (a.shortcode > b.shortcode) return 1;
|
||||
return 0;
|
||||
});
|
||||
localStorage.setItem("emoji_" + acct_id, JSON.stringify(json));
|
||||
Object.keys(md["categorized"]).forEach(function (key) {
|
||||
md["categorized"][key].sort(function (a, b) {
|
||||
if (a.shortcode < b.shortcode) return -1;
|
||||
if (a.shortcode > b.shortcode) return 1;
|
||||
return 0;
|
||||
});
|
||||
});
|
||||
|
||||
md["if_categorized"] = if_categorized
|
||||
localStorage.setItem("emojis_" + acct_id, JSON.stringify(md));
|
||||
} else {
|
||||
localStorage.setItem("emoji_" + acct_id, JSON.stringify(json));
|
||||
localStorage.setItem("emojis_" + acct_id, JSON.stringify(md));
|
||||
}
|
||||
localStorage.setItem("emojiseek", 0);
|
||||
if (!started) {
|
||||
@@ -103,25 +144,27 @@ function emojiGet(parse, started) {
|
||||
localStorage.setItem("emojiReaction_" + acct_id, "disabled");
|
||||
}
|
||||
var emojis = json.emojis;
|
||||
var md = [];
|
||||
var md = {"uncategorized": []}
|
||||
Object.keys(emojis).forEach(function (key) {
|
||||
var emoji = emojis[key];
|
||||
md.push({
|
||||
md["uncategorized"].push({
|
||||
"shortcode": emoji.name,
|
||||
"url": emoji.url
|
||||
"url": emoji.url,
|
||||
"listed": true
|
||||
})
|
||||
});
|
||||
md["if_categorized"] = false
|
||||
if (parse == "true") {
|
||||
$('#emoji-list').text('Parsing...');
|
||||
//絵文字をマストドン公式と同順にソート
|
||||
md.sort(function (a, b) {
|
||||
md["uncategorized"].sort(function (a, b) {
|
||||
if (a.shortcode < b.shortcode) return -1;
|
||||
if (a.shortcode > b.shortcode) return 1;
|
||||
return 0;
|
||||
});
|
||||
localStorage.setItem("emoji_" + acct_id, JSON.stringify(md));
|
||||
localStorage.setItem("emojis_" + acct_id, JSON.stringify(md));
|
||||
} else {
|
||||
localStorage.setItem("emoji_" + acct_id, JSON.stringify(md));
|
||||
localStorage.setItem("emojis_" + acct_id, JSON.stringify(md));
|
||||
}
|
||||
localStorage.setItem("emojiseek", 0);
|
||||
if (!started) {
|
||||
@@ -153,7 +196,28 @@ function emojiList(target, reaction) {
|
||||
localStorage.getItem("emojiseek", 0)
|
||||
}
|
||||
var html = '';
|
||||
var obj = JSON.parse(localStorage.getItem("emoji_" + acct_id));
|
||||
var raw = JSON.parse(localStorage.getItem("emojis_" + acct_id));
|
||||
console.log(raw)
|
||||
if (raw.if_categorized) {
|
||||
var obj = [{
|
||||
"divider": true,
|
||||
"cat": lang.lang_emoji_uncat
|
||||
}]
|
||||
var cats = raw["uncategorized"]
|
||||
obj = obj.concat(cats);
|
||||
Object.keys(raw["categorized"]).forEach(function (key) {
|
||||
var cats = raw["categorized"][key];
|
||||
obj = obj.concat([{
|
||||
"divider": true,
|
||||
"cat": key
|
||||
}]);
|
||||
obj = obj.concat(cats);
|
||||
});
|
||||
} else {
|
||||
var obj = raw["uncategorized"]
|
||||
}
|
||||
console.log(obj)
|
||||
|
||||
var num = obj.length;
|
||||
if (num < start) {
|
||||
var start = 0;
|
||||
@@ -163,24 +227,36 @@ function emojiList(target, reaction) {
|
||||
$("#emoji-sum").text(page);
|
||||
var ct = Math.ceil(start / 126);
|
||||
if (ct === 0) {
|
||||
var ct = 1;
|
||||
if(num > 0){
|
||||
var ct = 1;
|
||||
}
|
||||
$("#emoji-before").addClass("disabled");
|
||||
} else {
|
||||
$("#emoji-before").removeClass("disabled");
|
||||
}
|
||||
$("#emoji-next").removeClass("disabled");
|
||||
if (page != 1) {
|
||||
$("#emoji-next").removeClass("disabled");
|
||||
} else {
|
||||
$("#emoji-next").addClass("disabled");
|
||||
}
|
||||
$("#emoji-count").text(ct);
|
||||
for (i = start; i < start + 126; i++) {
|
||||
var emoji = obj[i];
|
||||
if (emoji) {
|
||||
if (reaction) {
|
||||
html = html + '<a onclick="emojiReaction(\':' + emoji.shortcode +
|
||||
':\')" class="pointer"><img src="' + emoji.url + '" width="20"></a>';
|
||||
':\')" class="pointer"><img src="' + emoji.url + '" width="20" title="' + emoji.shortcode + '"></a>';
|
||||
} else {
|
||||
html = html + '<a onclick="emojiInsert(\':' + emoji.shortcode +
|
||||
':\')" class="pointer"><img src="' + emoji.url + '" width="20"></a>';
|
||||
if(emoji.divider){
|
||||
html = html + '<p style="margin-bottom:0">'+ emoji.cat +'</p>'
|
||||
}else{
|
||||
if (emoji.listed) {
|
||||
html = html + '<a onclick="emojiInsert(\':' + emoji.shortcode +
|
||||
':\')" class="pointer"><img src="' + emoji.url + '" width="20" title="' + emoji.shortcode + '"></a>';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
$("#emoji-list").html(html);
|
||||
|
@@ -289,6 +289,7 @@ function clear() {
|
||||
$("#post-acct-sel").val(localStorage.getItem("main"));
|
||||
}
|
||||
$('select').formSelect();
|
||||
mdCheck()
|
||||
$("#left-side").show();
|
||||
$("#default-emoji").show();
|
||||
$("#unreact").show();
|
||||
|
@@ -50,7 +50,7 @@ function fav(id, acct_id, remote) {
|
||||
}
|
||||
|
||||
//ブースト
|
||||
function rt(id, acct_id, remote) {
|
||||
function rt(id, acct_id, remote, vis) {
|
||||
if ($("#pub_" + id).hasClass("rted")) {
|
||||
var flag = "unreblog";
|
||||
} else {
|
||||
@@ -64,7 +64,11 @@ function rt(id, acct_id, remote) {
|
||||
httpreq.setRequestHeader('Content-Type', 'application/json');
|
||||
httpreq.setRequestHeader('Authorization', 'Bearer ' + at);
|
||||
httpreq.responseType = "json";
|
||||
httpreq.send();
|
||||
if(vis){
|
||||
httpreq.send(JSON.stringify({visibility: vis}));
|
||||
}else{
|
||||
httpreq.send();
|
||||
}
|
||||
httpreq.onreadystatechange = function () {
|
||||
if (httpreq.readyState === 4) {
|
||||
var json = httpreq.response;
|
||||
@@ -95,6 +99,11 @@ function rt(id, acct_id, remote) {
|
||||
}
|
||||
}
|
||||
}
|
||||
function boostWith(vis){
|
||||
var id = $("#tootmodal").attr("data-id");
|
||||
var acct_id = $("#tootmodal").attr("data-acct");
|
||||
rt(id, acct_id, false, vis)
|
||||
}
|
||||
|
||||
//フォロー
|
||||
function follow(acct_id, remote) {
|
||||
@@ -295,6 +304,9 @@ function redraft(id, acct_id) {
|
||||
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);
|
||||
@@ -473,7 +485,7 @@ function staEx(mode) {
|
||||
var acct_id = $("#status-acct-sel").val();
|
||||
var domain = localStorage.getItem("domain_" + acct_id);
|
||||
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
||||
var start = "https://" + domain + "/api/v1/search?resolve=true&q=" + url
|
||||
var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + url
|
||||
fetch(start, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
|
@@ -16,6 +16,7 @@ function re(id, ats_cm, acct_id, mode) {
|
||||
$("#post-acct-sel").val(acct_id);
|
||||
$("#post-acct-sel").prop("disabled", true);
|
||||
$('select').formSelect();
|
||||
mdCheck()
|
||||
$("#textarea").attr("placeholder", lang.lang_usetxtbox_reply);
|
||||
$("#textarea").focus();
|
||||
var profimg = localStorage.getItem("prof_" + acct_id);
|
||||
@@ -75,5 +76,6 @@ function qt(id, acct_id, at, url) {
|
||||
}
|
||||
$("#post-acct-sel").val(acct_id);
|
||||
$('select').formSelect();
|
||||
mdCheck()
|
||||
$("#textarea").focus();
|
||||
}
|
@@ -6,17 +6,21 @@ function additional(acct_id, tlid) {
|
||||
|
||||
$("#timeline-container .mention").addClass("parsed");
|
||||
|
||||
$("#timeline-container .hashtag").each(function (i, elem) {
|
||||
$("#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;\/?:\@&=+\$,%#]+)/
|
||||
);
|
||||
$(this).attr("href", "#");
|
||||
if (tags) {
|
||||
if (tags[2]) {
|
||||
$(this).attr("onclick", 'tagShow(\'' + tags[2] + '\')');
|
||||
}
|
||||
|
||||
if(tags){
|
||||
var tagThis = tags[2]
|
||||
}else{
|
||||
var tagThis = $(this).attr("data-tag")
|
||||
}
|
||||
|
||||
if(tagThis){
|
||||
$(this).attr("onclick", 'tagShow(\'' + tagThis + '\')');
|
||||
$(this).attr("href", "#");
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
//トゥートサムネ
|
||||
|
@@ -77,6 +77,7 @@ function details(id, acct_id, tlid, mode) {
|
||||
$("#toot-this .rt_ct").text(json.reblogs_count);
|
||||
$("#tootmodal").attr("data-url", url);
|
||||
$("#tootmodal").attr("data-id", json.id);
|
||||
$("#tootmodal").attr("data-acct", acct_id);
|
||||
if (local) {
|
||||
$("#tootmodal").attr("data-user", scn + "@" + domain);
|
||||
} else {
|
||||
|
@@ -100,10 +100,10 @@ function notfColumn(acct_id, tlid, sys) {
|
||||
todc();
|
||||
//Markers
|
||||
var markers = localStorage.getItem("markers");
|
||||
if (markers == "no") {
|
||||
markers = false;
|
||||
if (markers == "yes") {
|
||||
markers = true;
|
||||
} else {
|
||||
markers = true
|
||||
markers = false
|
||||
}
|
||||
if (markers) {
|
||||
getMarker(tlid, "notf", acct_id)
|
||||
@@ -264,7 +264,21 @@ function notfWS(misskey, acct_id, tlid, domain, at) {
|
||||
}
|
||||
websocketNotf[acct_id].onerror = function (error) {
|
||||
console.error('WebSocket Error ' + error);
|
||||
notfWS(misskey, acct_id, tlid, domain, at)
|
||||
errorct++;
|
||||
console.log(errorct)
|
||||
if (errorct < 3) {
|
||||
notfWS(misskey, acct_id, tlid, domain, at)
|
||||
}
|
||||
|
||||
};
|
||||
websocketNotf[acct_id].onclose = function (error) {
|
||||
console.error('WebSocket Close ' + error);
|
||||
errorct++;
|
||||
console.log(errorct)
|
||||
if (errorct < 3) {
|
||||
notfWS(misskey, acct_id, tlid, domain, at)
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -361,23 +375,23 @@ function notfToggle(acct, tlid) {
|
||||
$("#notf-box_" + tlid).animate({
|
||||
'height': '400px'
|
||||
}, {
|
||||
'duration': 300,
|
||||
'complete': function () {
|
||||
$("#notf-box_" + tlid).css("overflow-y", "scroll")
|
||||
$("#notf-box_" + tlid).removeClass("column-hide")
|
||||
}
|
||||
});
|
||||
'duration': 300,
|
||||
'complete': function () {
|
||||
$("#notf-box_" + tlid).css("overflow-y", "scroll")
|
||||
$("#notf-box_" + tlid).removeClass("column-hide")
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$("#notf-box_" + tlid).css("overflow-y", "hidden")
|
||||
$("#notf-box_" + tlid).animate({
|
||||
'height': '0'
|
||||
}, {
|
||||
'duration': 300,
|
||||
'complete': function () {
|
||||
$("#notf-box_" + tlid).addClass("column-hide")
|
||||
$("#notf-box_" + tlid).css("display", "none")
|
||||
}
|
||||
});
|
||||
'duration': 300,
|
||||
'complete': function () {
|
||||
$("#notf-box_" + tlid).addClass("column-hide")
|
||||
$("#notf-box_" + tlid).css("display", "none")
|
||||
}
|
||||
});
|
||||
}
|
||||
notfCanceler(acct)
|
||||
}
|
||||
|
@@ -208,7 +208,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
var emoji = toot.account.emojis[key5];
|
||||
var shortcode = emoji.shortcode;
|
||||
var emoji_url = '<img draggable="false" src="' + emoji.url +
|
||||
'" class="emoji-img" data-emoji="' + shortcode + '" alt=" :' + shortcode + ': ">';
|
||||
'" 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);
|
||||
|
||||
@@ -353,8 +353,8 @@ 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;
|
||||
var emoji_url = '<img src="' + emoji.url +
|
||||
'" class="emoji-img" data-emoji="' + shortcode + '" alt=" :' + shortcode + ': ">';
|
||||
var emoji_url = '<img draggable="false" src="' + emoji.url +
|
||||
'" 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);
|
||||
});
|
||||
@@ -400,7 +400,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
var emoji = toot.account.emojis[key5];
|
||||
var shortcode = emoji.shortcode;
|
||||
var emoji_url = '<img draggable="false" src="' + emoji.url +
|
||||
'" class="emoji-img" data-emoji="' + shortcode + '" alt=" :' + shortcode + ': ">';
|
||||
'" 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);
|
||||
});
|
||||
@@ -426,7 +426,12 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (toot.content) {
|
||||
if (toot.content == "") {
|
||||
var content = " "
|
||||
} else {
|
||||
var content = toot.content
|
||||
}
|
||||
if (content) {
|
||||
var id = toot.id;
|
||||
if (mix == "home") {
|
||||
var home = ""
|
||||
@@ -468,31 +473,29 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
boostback = "emphasized";
|
||||
}
|
||||
if (toot.spoiler_text && cw) {
|
||||
var content = toot.content;
|
||||
var spoil = escapeHTML(toot.spoiler_text);
|
||||
var spoiler = "cw cw_hide_" + toot.id;
|
||||
var api_spoil = "gray";
|
||||
var spoiler_show = '<a href="#" onclick="cw_show(\'' + toot.id +
|
||||
'\')" class="nex parsed cw_btn">' + lang.lang_parse_cwshow + '</a><br>';
|
||||
} else {
|
||||
if (toot.content) {
|
||||
var ct1 = toot.content.split('</p>').length + toot.content.split('<br />').length - 2;
|
||||
var ct2 = toot.content.split('</p>').length + toot.content.split('<br>').length - 2;
|
||||
if (content) {
|
||||
var ct1 = content.split('</p>').length + content.split('<br />').length - 2;
|
||||
var ct2 = content.split('</p>').length + content.split('<br>').length - 2;
|
||||
} else {
|
||||
var ct1 = 100;
|
||||
var ct2 = 100;
|
||||
}
|
||||
if (ct1 > ct2) { var ct = ct1; } else { var ct = ct2; }
|
||||
if ((sent < ct && $.mb_strlen($.strip_tags(toot.content)) > 5) || ($.strip_tags(toot.content).length > ltr && $.mb_strlen($.strip_tags(toot.content)) > 5)) {
|
||||
var content = '<span class="gray">' + lang.lang_parse_fulltext + '</span><br>' + toot.content
|
||||
if ((sent < ct && $.mb_strlen($.strip_tags(content)) > 5) || ($.strip_tags(content).length > ltr && $.mb_strlen($.strip_tags(content)) > 5)) {
|
||||
var content = '<span class="gray">' + lang.lang_parse_fulltext + '</span><br>' + content
|
||||
var spoil = '<span class="cw-long-' + toot.id + '">' + $.mb_substr($.strip_tags(
|
||||
toot.content), 0, 100) +
|
||||
content), 0, 100) +
|
||||
'</span><span class="gray">' + lang.lang_parse_autofold + '</span>';
|
||||
var spoiler = "cw cw_hide_" + toot.id;
|
||||
var spoiler_show = '<a href="#" onclick="cw_show(\'' + toot.id +
|
||||
'\')" class="nex parsed cw_btn">' + lang.lang_parse_more + '</a><br>';
|
||||
} else {
|
||||
var content = toot.content;
|
||||
var spoil = escapeHTML(toot.spoiler_text);
|
||||
var spoiler = "";
|
||||
var spoiler_show = "";
|
||||
@@ -530,35 +533,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
//Poll
|
||||
var poll = "";
|
||||
if (toot.poll) {
|
||||
var choices = toot.poll.options;
|
||||
if (toot.poll.voted) {
|
||||
var myvote = lang.lang_parse_voted;
|
||||
var result_hide = "";
|
||||
} else if (toot.poll.expired) {
|
||||
var myvote = lang.lang_parse_endedvote;
|
||||
var result_hide = "";
|
||||
} else {
|
||||
var myvote = '<a onclick="voteMastodon(\'' + acct_id + '\',\'' + toot.poll.id + '\')" 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 + '\',\'' + toot.poll.id + '\')" class="pointer">' + lang.lang_parse_unvoted + "</a>";
|
||||
}
|
||||
var result_hide = "hide";
|
||||
}
|
||||
var ended = date(toot.poll.expires_at, datetype);
|
||||
Object.keys(choices).forEach(function (keyc) {
|
||||
var choice = choices[keyc];
|
||||
if (!toot.poll.voted && !toot.poll.expired) {
|
||||
var votesel = 'voteSelMastodon(\'' + acct_id + '\',\'' + toot.poll.id + '\',' + keyc + ',' + toot.poll.multiple + ')';
|
||||
var voteclass = "pointer waves-effect waves-light";
|
||||
} else {
|
||||
var votesel = "";
|
||||
var voteclass = "";
|
||||
}
|
||||
poll = poll + '<div class="' + voteclass + ' vote vote_' + acct_id + '_' + toot.poll.id + '_' + keyc + '" onclick="' + votesel + '">' + escapeHTML(choice.title) + '<span class="vote_' + acct_id + '_' + toot.poll.id + '_result ' + result_hide + '">(' + choice.votes_count + ')</span></div>';
|
||||
});
|
||||
poll = '<div class="vote_' + acct_id + '_' + toot.poll.id + '">' + poll + myvote + '<a onclick="voteMastodonrefresh(\'' + acct_id + '\',\'' + toot.poll.id + '\')" class="pointer">' + lang.lang_manager_refresh + '</a><span class="cbadge cbadge-hover" title="' + date(toot.poll.expires_at, 'absolute') +
|
||||
'"><i class="far fa-calendar-times"></i>' +
|
||||
ended + '</span></div>';
|
||||
var poll = pollParse(toot.poll, acct_id)
|
||||
}
|
||||
|
||||
var mediack = toot.media_attachments[0];
|
||||
@@ -593,7 +568,8 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
' toot-img pointer" style="max-width:100%;" loop="true"></a></span>';
|
||||
} else {
|
||||
if (media.type == "unknown") {
|
||||
viewer = viewer + '<a href="' + media.remote_url + '" title="' + media.remote_url + '">[' + lang.lang_parse_unknown + ']</a> '
|
||||
var mty = media.remote_url.match(/.+(\..+)$/)[1]
|
||||
viewer = viewer + '<a href="' + media.remote_url + '" title="' + media.remote_url + '">[' + lang.lang_parse_unknown + '( ' + mty + ' )]</a> '
|
||||
} else if (media.type == "audio") {
|
||||
viewer = viewer + '<audio src="' +
|
||||
url + '" class="pointer" style="width:100%;" controls></span>';
|
||||
@@ -620,8 +596,6 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
var to_mention = [];
|
||||
Object.keys(toot.mentions).forEach(function (key3) {
|
||||
var mention = toot.mentions[key3];
|
||||
mentions = mentions + '<a onclick="udg(\'' + mention.id + '\',' +
|
||||
acct_id + ')" class="pointer">@' + mention.acct + '</a> ';
|
||||
//自分は除外
|
||||
//自インスタンスかどうかを確認し、IDの一致
|
||||
if (mention.acct == mention.username && mention.id == localStorage.getItem("user-id_" + acct_id)) {
|
||||
@@ -629,6 +603,8 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
} else {
|
||||
//そのトゥの人NG
|
||||
if (toot.account.acct != mention.acct) {
|
||||
mentions = mentions + '<a onclick="udg(\'' + mention.id + '\',' +
|
||||
acct_id + ')" class="pointer">@' + mention.acct + '</a> ';
|
||||
to_mention.push(mention.acct);
|
||||
}
|
||||
}
|
||||
@@ -650,7 +626,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
if (tagck) {
|
||||
Object.keys(toot.tags).forEach(function (key4) {
|
||||
var tag = toot.tags[key4];
|
||||
var featured = ' <a onclick="tagFeature(\'' + tag.name + '\',' + acct_id +')" class="pointer" title="add it to Featured tags">Feature</a> '
|
||||
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 + ':<a onclick="tl(\'tag\',\'' + tag.name + '\',' + acct_id +
|
||||
',\'add\')" class="pointer" title="' + lang.lang_parse_tagTL.replace("{{tag}}", '#' + tag.name) + '">TL</a> <a onclick="brInsert(\'#' + tag.name + '\')" class="pointer" title="' + lang.lang_parse_tagtoot.replace("{{tag}}", '#' + tag.name) + '">Toot</a> ' +
|
||||
'<a onclick="tagPin(\'' + tag.name + '\')" class="pointer" title="' + lang.lang_parse_tagpin.replace("{{tag}}", '#' + tag.name) + '">Pin</a>' + featured + '</span> ';
|
||||
@@ -680,7 +656,8 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
} else if (visen == "private") {
|
||||
var vis =
|
||||
'<i class="text-darken-3 material-icons orange-text vis-data pointer" title="' + lang.lang_parse_private + '(' + lang.lang_parse_clickcopy + ')" data-vis="private" onclick="staCopy(\'' + id + '\')">lock</i>';
|
||||
var can_rt = "unvisible";
|
||||
|
||||
var can_rt = "unvisible";
|
||||
} else if (visen == "direct") {
|
||||
var vis =
|
||||
'<i class="text-darken-3 material-icons red-text vis-data pointer" title="' + lang.lang_parse_direct + '(' + lang.lang_parse_clickcopy + ')" data-vis="direct" onclick="staCopy(\'' + id + '\')">mail</i>';
|
||||
@@ -689,6 +666,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
if (toot.account.acct == localStorage.getItem("user_" + acct_id)) {
|
||||
var if_mine = "";
|
||||
var mine_via = "type-b";
|
||||
var can_rt = "";
|
||||
} else {
|
||||
var if_mine = "hide";
|
||||
var mine_via = "";
|
||||
@@ -759,7 +737,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
var emoji = toot.emojis[key5];
|
||||
var shortcode = emoji.shortcode;
|
||||
var emoji_url = '<img draggable="false" src="' + emoji.url +
|
||||
'" class="emoji-img" data-emoji="' + shortcode + '" alt=" :' + shortcode + ': ">';
|
||||
'" 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);
|
||||
@@ -778,7 +756,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||
var emoji = toot.profile_emojis[keynico];
|
||||
var shortcode = emoji.shortcode;
|
||||
var emoji_url = '<img draggable="false" src="' + emoji.url +
|
||||
'" class="emoji-img" data-emoji="' + shortcode + '" alt=" :' + shortcode + ': ">';
|
||||
'" 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);
|
||||
@@ -1027,7 +1005,7 @@ function userparse(obj, auth, acct_id, tlid, popup) {
|
||||
var emoji = toot.emojis[key5];
|
||||
var shortcode = emoji.shortcode;
|
||||
var emoji_url = '<img draggable="false" src="' + emoji.url +
|
||||
'" class="emoji-img" data-emoji="' + shortcode + '" alt=" :' + shortcode + ': ">';
|
||||
'" 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);
|
||||
});
|
||||
@@ -1139,4 +1117,53 @@ function client(name) {
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
//Poll Parser
|
||||
function pollParse(poll, acct_id) {
|
||||
var datetype = localStorage.getItem("datetype");
|
||||
var choices = poll.options;
|
||||
if (poll.own_votes) {
|
||||
var minechoice = poll.own_votes
|
||||
} else {
|
||||
var minechoice = []
|
||||
}
|
||||
|
||||
if (poll.voted) {
|
||||
var myvote = lang.lang_parse_voted;
|
||||
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>';
|
||||
if (choices[0].votes_count === 0 || choices[0].votes_count > 0) {
|
||||
myvote = myvote + '<a onclick="showResult(\'' + acct_id + '\',\'' + poll.id + '\')" class="pointer">' + lang.lang_parse_unvoted + "</a>";
|
||||
}
|
||||
var result_hide = "hide";
|
||||
}
|
||||
var ended = date(poll.expires_at, datetype);
|
||||
var pollHtml = ""
|
||||
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 = "✅";
|
||||
break
|
||||
}
|
||||
}
|
||||
if (!poll.voted && !poll.expired) {
|
||||
var votesel = 'voteSelMastodon(\'' + acct_id + '\',\'' + poll.id + '\',' + keyc + ',' + poll.multiple + ')';
|
||||
var voteclass = "pointer waves-effect waves-light";
|
||||
} else {
|
||||
var votesel = "";
|
||||
var voteclass = "";
|
||||
}
|
||||
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>' + voteit + '</div>';
|
||||
});
|
||||
pollHtml = '<div class="vote_' + acct_id + '_' + poll.id + '">' + pollHtml + myvote + '<a onclick="voteMastodonrefresh(\'' + acct_id + '\',\'' + poll.id + '\')" class="pointer">' + lang.lang_manager_refresh + '</a><span class="cbadge cbadge-hover" title="' + date(poll.expires_at, 'absolute') +
|
||||
'"><i class="far fa-calendar-times"></i>' +
|
||||
ended + '</span></div>';
|
||||
return pollHtml
|
||||
}
|
@@ -119,20 +119,7 @@ function voteMastodonrefresh(acct_id, id) {
|
||||
if (!json) {
|
||||
return false;
|
||||
}
|
||||
var poll = "";
|
||||
var choices = json.options;
|
||||
var myvote = lang.lang_parse_voted;
|
||||
var result_hide = "";
|
||||
Object.keys(choices).forEach(function (keyc) {
|
||||
var choice = choices[keyc];
|
||||
if (!json.voted) {
|
||||
votesel = 'voteSelMastodon(\'' + acct_id + '\',\'' + json.id + '\',' + keyc + ',' + json.multiple + ')';
|
||||
}
|
||||
poll = poll + '<div class="pointer vote vote_' + acct_id + '_' + json.id + '_' + keyc + '" onclick="' + votesel + '">' + escapeHTML(choice.title) + '<span class="vote_' + acct_id + '_' + json.id + '_result ' + result_hide + '">(' + choice.votes_count + ')</span></div>';
|
||||
});
|
||||
poll = poll + myvote + '<a onclick="voteMastodonrefresh(\'' + acct_id + '\',\'' + json.id + '\')" class="pointer">' + lang.lang_manager_refresh + '</a><span class="cbadge cbadge-hover" title="' + date(json.expires_at, 'absolute') +
|
||||
'"><i class="far fa-calendar-times"></i>' +
|
||||
date(json.expires_at, datetype) + '</span>';
|
||||
var poll = pollParse(json, acct_id)
|
||||
$('.vote_' + acct_id + '_' + json.id).html(poll)
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
$voise = null;
|
||||
isBouyomi = localStorage.getItem("voice_bouyomi");
|
||||
$voiseName = lang.lang_speech;
|
||||
$voices = speechSynthesis.getVoices();
|
||||
$synthes = new SpeechSynthesisUtterance();
|
||||
@@ -9,9 +10,12 @@ speechSynthesis.cancel()
|
||||
if (!localStorage.getItem("voice_vol")) {
|
||||
localStorage.setItem("voice_vol", 1)
|
||||
}
|
||||
$synthes.rate = localStorage.getItem("voice_speed");
|
||||
$synthes.pitch = localStorage.getItem("voice_pitch");
|
||||
$synthes.volume = localStorage.getItem("voice_vol");
|
||||
voiceRate = localStorage.getItem("voice_speed");
|
||||
$synthes.rate = voiceRate
|
||||
voicePitch = localStorage.getItem("voice_pitch");
|
||||
$synthes.pitch = voicePitch
|
||||
voiceVol = localStorage.getItem("voice_vol");
|
||||
$synthes.volume = voiceVol
|
||||
function say(msgr) {
|
||||
msg = voiceParse(msgr);
|
||||
var voice = localStorage.getItem("voicebank");
|
||||
@@ -32,8 +36,21 @@ $repeat = setInterval(function () {
|
||||
if (voice) {
|
||||
var obj = JSON.parse(voice);
|
||||
if (obj[0]) {
|
||||
$synthes.text = obj[0];
|
||||
speechSynthesis.speak($synthes);
|
||||
if (localStorage.getItem("voice_bouyomi")) {
|
||||
var delim = "<bouyomi>";
|
||||
var thisVoiceRate = voiceRate * 10 + 70
|
||||
var thisVoicePitch = voicePitch * 50 + 70
|
||||
var thisVoiceVol = voiceVol * 100
|
||||
console.log(thisVoiceRate, thisVoicePitch, thisVoiceVol)
|
||||
var command = 0x0001;
|
||||
var type = 0;
|
||||
var sends = "" + command + delim + thisVoiceRate + delim + thisVoicePitch + delim + thisVoiceVol + delim + type + delim + obj[0];
|
||||
bouyomiConnect(sends)
|
||||
} else {
|
||||
$synthes.text = obj[0];
|
||||
speechSynthesis.speak($synthes);
|
||||
}
|
||||
|
||||
obj.splice(0, 1);
|
||||
var json = JSON.stringify(obj);
|
||||
localStorage.setItem("voicebank", json);
|
||||
@@ -54,6 +71,11 @@ function voiceToggle(tlid) {
|
||||
if (voiceck) {
|
||||
localStorage.removeItem("voice_" + tlid);
|
||||
speechSynthesis.cancel()
|
||||
if (localStorage.getItem("voice_bouyomi")) {
|
||||
var command = 0x0010;
|
||||
var sends = "" + command;
|
||||
bouyomiConnect(sends)
|
||||
}
|
||||
$("#sta-voice-" + tlid).text("Off");
|
||||
$("#sta-voice-" + tlid).css("color", 'red');
|
||||
parseColumn(tlid);
|
||||
@@ -78,31 +100,71 @@ function voicePlay() {
|
||||
if (speechSynthesis.speaking) {
|
||||
speechSynthesis.cancel()
|
||||
} else {
|
||||
$synthes.text = $("#voicetxt").val();
|
||||
$synthes.rate = $("#voicespeed").val() / 10;
|
||||
$synthes.pitch = $("#voicepitch").val() / 50;
|
||||
$synthes.volume = $("#voicevol").val() / 100;
|
||||
speechSynthesis.speak($synthes);
|
||||
var text = $("#voicetxt").val();
|
||||
var rate = $("#voicespeed").val();
|
||||
var pitch = $("#voicepitch").val()
|
||||
var vol = $("#voicevol").val()
|
||||
if (localStorage.getItem("voice_bouyomi")) {
|
||||
var delim = "<bouyomi>";
|
||||
rate = rate * 1 + 70
|
||||
pitch = pitch * 1 + 70
|
||||
var command = 0x0001; // コマンドです。0x0001.読み上げ/0x0010.ポーズ/0x0020.再開/0x0030.スキップ
|
||||
/*var speed = 100; // 速度50-200。-1を指定すると本体設定
|
||||
var pitch = 100; // ピッチ50-200。-1を指定すると本体設定
|
||||
var volume = 100; // ボリューム0-100。-1を指定すると本体設定*/
|
||||
var type = 0; // 声質(0.本体設定/1.女性1/2.女性2/3.男性1/4.男性2/5.中性/6.ロボット/7.機械1/8.機械2)
|
||||
var sends = "" + command + delim + rate + delim + pitch + delim + vol + delim + type + delim + text;
|
||||
bouyomiConnect(sends)
|
||||
} else {
|
||||
$synthes.text = text
|
||||
$synthes.rate = rate / 10
|
||||
$synthes.pitch = pitch / 50
|
||||
$synthes.volume = vol / 100;
|
||||
speechSynthesis.speak($synthes);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function voiceSettings() {
|
||||
var awk = $("[name=bym]:checked").val();
|
||||
if (awk == "yes") {
|
||||
localStorage.setItem("voice_bouyomi", "yes");
|
||||
M.toast({ html: "Bouyomi Chan connection requires WebSocket Plugin", displayLength: 3000 })
|
||||
} else {
|
||||
localStorage.removeItem("voice_bouyomi");
|
||||
}
|
||||
localStorage.setItem("voice_speed", $("#voicespeed").val() / 10);
|
||||
localStorage.setItem("voice_pitch", $("#voicepitch").val() / 50);
|
||||
localStorage.setItem("voice_vol", $("#voicevol").val() / 100);
|
||||
M.toast({ html: lang.lang_speech_refresh, displayLength: 3000 })
|
||||
}
|
||||
function voiceSettingLoad() {
|
||||
var flag = localStorage.getItem("voice_bouyomi");
|
||||
if (flag) {
|
||||
$("#bym_yes").prop("checked", true);
|
||||
} else {
|
||||
$("#bym_no").prop("checked", true);
|
||||
}
|
||||
var speed = localStorage.getItem("voice_speed");
|
||||
var pitch = localStorage.getItem("voice_pitch");
|
||||
var vol = localStorage.getItem("voice_vol");
|
||||
if (speed) {
|
||||
$("#voicespeed").val(speed * 10);
|
||||
$("#voicespeedVal").text(speed * 10);
|
||||
}
|
||||
if (pitch) {
|
||||
$("#voicepitch").val(pitch * 50);
|
||||
$("#voicepitchVal").text(pitch * 50);
|
||||
}
|
||||
if (vol) {
|
||||
$("#voicevol").val(vol * 100);
|
||||
$("#voicevolVal").text(vol * 100);
|
||||
}
|
||||
}
|
||||
function bouyomiConnect(sends) {
|
||||
var socket = new WebSocket('ws://localhost:50002/');
|
||||
socket.onopen = function () {
|
||||
socket.send(sends);
|
||||
}
|
||||
|
||||
}
|
@@ -12,13 +12,13 @@ function searchMenu() {
|
||||
|
||||
//検索取得
|
||||
function src(mode, offset) {
|
||||
if(!offset){
|
||||
if (!offset) {
|
||||
$("#src-contents").html("");
|
||||
var add = ""
|
||||
}else{
|
||||
} else {
|
||||
var add = "&type=accounts&offset=" + $("#src-accts .cvo").length
|
||||
}
|
||||
|
||||
|
||||
var q = $("#src").val();
|
||||
var acct_id = $("#src-acct-sel").val();
|
||||
if (acct_id == "tootsearch") {
|
||||
@@ -75,12 +75,12 @@ function src(mode, offset) {
|
||||
//アカウント
|
||||
if (json.accounts[0]) {
|
||||
var templete = userparse(json.accounts, '', acct_id);
|
||||
if(!offset){
|
||||
if (!offset) {
|
||||
$("#src-contents").append("<br>Accounts<div id=\"src-accts\">" + templete + '</div><a onclick="src(false,\'more\')" class="pointer">more...</a>');
|
||||
}else{
|
||||
} else {
|
||||
$("#src-accts").append(templete)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
jQuery("time.timeago").timeago();
|
||||
});
|
||||
@@ -205,15 +205,15 @@ function graphDraw(tag, acct_id) {
|
||||
<path d="M0,0 L10,0 20,10 20,50" fill="#3F51B5"></path>
|
||||
</svg>
|
||||
*/
|
||||
function trend(){
|
||||
function trend() {
|
||||
console.log("get trend")
|
||||
$("#src-contents").html("");
|
||||
var acct_id = $("#src-acct-sel").val();
|
||||
if(acct_id=="tootsearch"){
|
||||
if (acct_id == "tootsearch") {
|
||||
return false;
|
||||
}
|
||||
var domain = localStorage.getItem("domain_" + acct_id);
|
||||
var at = localStorage.getItem("acct_"+ acct_id + "_at");
|
||||
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
||||
var start = "https://" + domain + "/api/v1/trends"
|
||||
console.log(start)
|
||||
fetch(start, {
|
||||
@@ -222,31 +222,31 @@ function trend(){
|
||||
'content-type': 'application/json',
|
||||
'Authorization': 'Bearer ' + at
|
||||
},
|
||||
}).then(function(response) {
|
||||
}).then(function (response) {
|
||||
return response.json();
|
||||
}).catch(function(error) {
|
||||
}).catch(function (error) {
|
||||
//todo(error);
|
||||
console.error(error);
|
||||
}).then(function(json) {
|
||||
}).then(function (json) {
|
||||
var tags = "";
|
||||
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: #9e9e9e; stroke-width: 1;fill: none;"></path></g>'+
|
||||
'</svg><span style="font-size:200%">'+his[0].uses+'</span>toots <a onclick="tl(\'tag\',\'' + tag.name + '\',\'' + acct_id +
|
||||
'\',\'add\')" class="pointer">#' + tag.name + '</a> '+his[0].accounts+lang.lang_src_people+"<br><br>";
|
||||
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="M-1,51, -1,' + six + ', 0,' + six + ' L10,' + five + ' 20,' + four + ' 30,' + three + ' 40,' + two + ' 50,' + one + ' 60,' + zero + ' 61,' + zero + ' 61,51 -1,51" style="stroke: #0f8c0c;fill: rgba(13,113,19,.25); stroke-width: 1;"></path></g>' +
|
||||
'</svg><span style="font-size:200%">' + his[0].uses + '</span>toots <a onclick="tl(\'tag\',\'' + tag.name + '\',\'' + acct_id +
|
||||
'\',\'add\')" class="pointer">#' + tag.name + '</a> ' + his[0].accounts + lang.lang_src_people + "<br><br>";
|
||||
|
||||
$("#src-contents").append(tags);
|
||||
});
|
||||
$("#src-contents").append(tags);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
@@ -1,5 +1,6 @@
|
||||
//TL取得
|
||||
moreloading = false;
|
||||
var errorct=0;
|
||||
function tl(type, data, acct_id, tlid, delc, voice, mode) {
|
||||
scrollevent();
|
||||
$("#unread_" + tlid + " .material-icons").removeClass("teal-text")
|
||||
@@ -153,10 +154,10 @@ function tl(type, data, acct_id, tlid, delc, voice, mode) {
|
||||
if (type == "home" || type == "notf") {
|
||||
//Markers
|
||||
var markers = localStorage.getItem("markers");
|
||||
if (markers == "no") {
|
||||
markers = false;
|
||||
if (markers == "yes") {
|
||||
markers = true;
|
||||
} else {
|
||||
markers = true
|
||||
markers = false
|
||||
}
|
||||
if (markers) {
|
||||
getMarker(tlid, type, acct_id)
|
||||
@@ -230,6 +231,7 @@ function reload(type, cc, acct_id, tlid, data, mute, delc, voice, mode) {
|
||||
websocket[wsid] = new WebSocket(start);
|
||||
websocket[wsid].onopen = function (mess) {
|
||||
console.table({ "tlid": tlid, "type": "Connect Streaming API" + type, "domain": domain, "message": [mess] })
|
||||
errorct=0
|
||||
$("#notice_icon_" + tlid).removeClass("red-text")
|
||||
}
|
||||
websocket[wsid].onmessage = function (mess) {
|
||||
@@ -317,8 +319,8 @@ function reload(type, cc, acct_id, tlid, data, mute, delc, voice, mode) {
|
||||
$("#notice_icon_" + tlid).addClass("red-text")
|
||||
todo('WebSocket Error ' + error);
|
||||
} else {
|
||||
var errorct = localStorage.getItem("wserror_" + tlid) * 1 + 1;
|
||||
localStorage.setItem("wserror_" + tlid, errorct);
|
||||
errorct++;
|
||||
console.log(errorct)
|
||||
if (errorct < 3) {
|
||||
reconnector(tlid, type, acct_id, data, "error");
|
||||
}
|
||||
@@ -331,8 +333,8 @@ function reload(type, cc, acct_id, tlid, data, mute, delc, voice, mode) {
|
||||
$("#notice_icon_" + tlid).addClass("red-text")
|
||||
todo('WebSocket Closed');
|
||||
} else {
|
||||
var errorct = localStorage.getItem("wserror_" + tlid) * 1 + 1;
|
||||
localStorage.setItem("wserror_" + tlid, errorct);
|
||||
errorct++;
|
||||
console.log(errorct)
|
||||
if (errorct < 3) {
|
||||
reconnector(tlid, type, acct_id, data, "error");
|
||||
}
|
||||
@@ -791,7 +793,6 @@ function strAlive() {
|
||||
var type = obj[key].type;
|
||||
var acct_id = obj[key].domain;
|
||||
var data = obj[key].data;
|
||||
localStorage.removeItem("wserror_" + tlid)
|
||||
reconnector(key, type, acct_id, data, "error");
|
||||
}
|
||||
});
|
||||
@@ -999,24 +1000,24 @@ function ueload(tlid) {
|
||||
columnReload(tlid, type)
|
||||
}
|
||||
if (localStorage.getItem("filter_" + acct_id) != "undefined") {
|
||||
var mute = getFilterType(JSON.parse(localStorage.getItem("filter_" + acct_id)), type);
|
||||
var mute = getFilterType(JSON.parse(localStorage.getItem("filter_" + acct_id)), type)
|
||||
} else {
|
||||
var mute = [];
|
||||
var mute = []
|
||||
}
|
||||
var templete = parse(json, '', acct_id, tlid, "", mute, type);
|
||||
var templete = parse(json, '', acct_id, tlid, "", mute, type)
|
||||
var len = json.length - 1
|
||||
$("#timeline_" + tlid).prepend(templete);
|
||||
$("#timeline_" + tlid).prepend(templete)
|
||||
if ($("#timeline_" + tlid + " .cvo:eq(" + len + ")").length) {
|
||||
var to = $("#timeline_" + tlid + " .cvo:eq(" + len + ")").offset().top
|
||||
$("#timeline_box_" + tlid + "_box .tl-box").scrollTop(to)
|
||||
}
|
||||
additional(acct_id, tlid);
|
||||
jQuery("time.timeago").timeago();
|
||||
todc();
|
||||
additional(acct_id, tlid)
|
||||
jQuery("time.timeago").timeago()
|
||||
todc()
|
||||
ueloadlock = false
|
||||
});
|
||||
}
|
||||
function asRead() {
|
||||
function asRead(callback) {
|
||||
//Markers
|
||||
var markers = localStorage.getItem("markers");
|
||||
if (markers == "no") {
|
||||
@@ -1027,7 +1028,9 @@ function asRead() {
|
||||
if (markers) {
|
||||
var multi = localStorage.getItem("column")
|
||||
var obj = JSON.parse(multi)
|
||||
for (var i = 0; i < obj.length; i++) {
|
||||
var obl = obj.length
|
||||
ct = 0
|
||||
for (var i = 0; i < obl; i++) {
|
||||
var acct_id = obj[i].domain
|
||||
var type = obj[i].type
|
||||
if (type == "home" || type == "notf") {
|
||||
@@ -1046,23 +1049,53 @@ function asRead() {
|
||||
}
|
||||
}
|
||||
}
|
||||
var domain = localStorage.getItem("domain_" + acct_id);
|
||||
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
||||
var httpreq = new XMLHttpRequest();
|
||||
|
||||
var domain = localStorage.getItem("domain_" + acct_id)
|
||||
var at = localStorage.getItem("acct_" + acct_id + "_at")
|
||||
var httpreq = new XMLHttpRequest()
|
||||
var start = "https://" + domain + "/api/v1/markers"
|
||||
httpreq.open('POST', start, true);
|
||||
httpreq.setRequestHeader('Content-Type', 'application/json');
|
||||
httpreq.setRequestHeader('Authorization', 'Bearer ' + at);
|
||||
httpreq.responseType = "json";
|
||||
httpreq.send(JSON.stringify(poster));
|
||||
httpreq.open('POST', start, true)
|
||||
httpreq.setRequestHeader('Content-Type', 'application/json')
|
||||
httpreq.setRequestHeader('Authorization', 'Bearer ' + at)
|
||||
httpreq.responseType = "json"
|
||||
httpreq.send(JSON.stringify(poster))
|
||||
httpreq.onreadystatechange = function () {
|
||||
if (httpreq.readyState === 4) {
|
||||
var json = httpreq.response;
|
||||
var json = httpreq.response
|
||||
console.log(json)
|
||||
ct++
|
||||
if (ct == obl && callback) {
|
||||
postMessage(["asReadComp", ""], "*")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
cbTimer1 = setInterval(asRead, 60000);
|
||||
function asReadEnd() {
|
||||
//Markers
|
||||
var markers = localStorage.getItem("markers");
|
||||
if (markers == "no") {
|
||||
markers = false;
|
||||
} else {
|
||||
markers = true
|
||||
}
|
||||
if (markers) {
|
||||
asRead(true)
|
||||
Swal.fire({
|
||||
title: lang.lang_tl_postmarkers_title,
|
||||
html: lang.lang_tl_postmarkers,
|
||||
timer: 3000,
|
||||
onBeforeOpen: () => {
|
||||
Swal.showLoading()
|
||||
},
|
||||
onClose: () => {
|
||||
}
|
||||
}).then((result) => {
|
||||
|
||||
})
|
||||
} else {
|
||||
postMessage(["asReadComp", ""], "*")
|
||||
}
|
||||
}
|
@@ -46,6 +46,7 @@ function parseColumn(target, dontclose) {
|
||||
var templete;
|
||||
Object.keys(obj).forEach(function (key) {
|
||||
var acct = obj[key];
|
||||
|
||||
localStorage.setItem("name_" + key, acct.name);
|
||||
localStorage.setItem("user_" + key, acct.user);
|
||||
localStorage.setItem("user-id_" + key, acct.id);
|
||||
@@ -61,6 +62,7 @@ function parseColumn(target, dontclose) {
|
||||
localStorage.removeItem("misskey_wss_" + key)
|
||||
connectMisskey(key, false)
|
||||
}
|
||||
localStorage.removeItem("emoji_" + key) //カスタム絵文字カテゴリ分け用旧データ削除
|
||||
});
|
||||
}
|
||||
var acctlist = obj;
|
||||
@@ -95,6 +97,7 @@ function parseColumn(target, dontclose) {
|
||||
var tlidtar = null
|
||||
if ($("#timeline-container").length) {
|
||||
$("#timeline-container").html("");
|
||||
$(".box, .boxIn").resizable("destroy");
|
||||
}
|
||||
}
|
||||
var basekey = 0;
|
||||
@@ -155,6 +158,16 @@ function parseColumn(target, dontclose) {
|
||||
} else {
|
||||
localStorage.removeItem("hasNotfC_" + acct.domain);
|
||||
}
|
||||
var width = localStorage.getItem("width");
|
||||
if (width) {
|
||||
var css = " min-width:" + width + "px;"
|
||||
}
|
||||
if(acct.width){
|
||||
var css = " min-width:" + acct.width + "px;max-width:" + acct.width + "px;"
|
||||
}
|
||||
if(!css){
|
||||
var css = ""
|
||||
}
|
||||
if (acct.type == "webview") {
|
||||
if (localStorage.getItem("fixwidth")) {
|
||||
var fixwidth = localStorage.getItem("fixwidth");
|
||||
@@ -168,10 +181,7 @@ function parseColumn(target, dontclose) {
|
||||
if (!acct.left_fold) {
|
||||
basekey = key;
|
||||
}
|
||||
var width = localStorage.getItem("width");
|
||||
if (width) {
|
||||
var css = " min-width:" + width + "px;"
|
||||
}
|
||||
|
||||
var anime = localStorage.getItem("animation");
|
||||
if (anime == "yes" || !anime) {
|
||||
var animecss = "box-anime";
|
||||
@@ -180,10 +190,6 @@ function parseColumn(target, dontclose) {
|
||||
}
|
||||
unstreamingTL(acct.type, key, basekey, insert, icnsert, acct.left_fold, css, animecss, acct.data);
|
||||
} else {
|
||||
var width = localStorage.getItem("width");
|
||||
if (width) {
|
||||
var css = " min-width:" + width + "px;"
|
||||
}
|
||||
var anime = localStorage.getItem("animation");
|
||||
if (anime == "yes" || !anime) {
|
||||
var animecss = "box-anime";
|
||||
@@ -213,10 +219,10 @@ function parseColumn(target, dontclose) {
|
||||
unread = ""
|
||||
}
|
||||
var markers = localStorage.getItem("markers");
|
||||
if (markers == "no") {
|
||||
markers = false;
|
||||
if (markers == "yes") {
|
||||
markers = true;
|
||||
} else {
|
||||
markers = true
|
||||
markers = false
|
||||
}
|
||||
if (!markers) {
|
||||
unread = ""
|
||||
@@ -242,8 +248,13 @@ function parseColumn(target, dontclose) {
|
||||
var isMisRed = "red-text"
|
||||
var if_misskey_hide = ""
|
||||
}
|
||||
if(acct.height){
|
||||
var addHeight = " min-height:" + acct.height + "px;max-height:" + acct.height + "px;"
|
||||
}else {
|
||||
var addHeight = ""
|
||||
}
|
||||
var html = '<div class="boxIn" id="timeline_box_' + key + '_box" tlid="' + key +
|
||||
'" data-acct="' + acct.domain + '"><div class="notice-box z-depth-2" id="menu_' + key + '" style="' + insert + ' ">' +
|
||||
'" data-acct="' + acct.domain + '" style="' + addHeight + '"><div class="notice-box z-depth-2" id="menu_' + key + '" style="' + insert + ' ">' +
|
||||
'<div class="area-notice"><i class="material-icons waves-effect ' + isMisRed + '" id="notice_icon_' + key + '"' + notf_attr + ' style="font-size:40px; padding-top:25%;" onclick="checkStr(\'' + acct.type + '\', \'' + data + '\', \'' + acct.domain + '\', \'' + key + '\', \'' + delc + '\',\'' + voice + '\',null)" title="' + lang.lang_layout_gotop + '"></i></div>' +
|
||||
'<div class="area-notice_name"><span id="notice_' + key + '" class="tl-title"></span></div>' +
|
||||
'<div class="area-a1"><a onclick="notfToggle(' + acct.domain + ',' + key +
|
||||
@@ -260,9 +271,9 @@ function parseColumn(target, dontclose) {
|
||||
')" class="setting nex"><i class="material-icons waves-effect nex" title="' + lang.lang_layout_mediafil + '">perm_media</i><span id="sta-media-' +
|
||||
key + '">On</span></a>' + lang.lang_layout_mediafil + '<br><a onclick="cardToggle(' + key +
|
||||
')" class="setting nex"><i class="material-icons waves-effect nex" title="' + lang.lang_layout_linkanades + '">link</i><span id="sta-card-' +
|
||||
key + '">On</span></a>' + lang.lang_layout_linkana + '<br><a onclick="voiceToggle(' + key +
|
||||
')" class="setting nex"><i class="material-icons waves-effect nex" title="' + lang.lang_layout_tts + '">hearing</i><span id="sta-voice-' +
|
||||
key + ',\'' + acct.type + '\'">On</span></a>' + lang.lang_layout_tts + 'TL<br><a onclick="columnReload(' + key +
|
||||
key + '">On</span></a>' + lang.lang_layout_linkana + '<br><a onclick="voiceToggle(\'' + key +
|
||||
'\')" class="setting nex"><i class="material-icons waves-effect nex" title="' + lang.lang_layout_tts + '">hearing</i><span id="sta-voice-' + key + '">' +
|
||||
'">On</span></a>' + lang.lang_layout_tts + 'TL<br><a onclick="columnReload(' + key +
|
||||
',\'' + acct.type + '\')" class="setting nex ' + if_misskey_hide + '"><i class="material-icons waves-effect nex" title="' + lang.lang_layout_reconnect + '">refresh</i></a><span>' + lang.lang_layout_reconnect + '</span><br>' + lang.lang_layout_headercolor + '<br><div id="picker_' + key + '" class="color-picker"></div></div><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 + '"><div id="landing_' + key + '" style="text-align:center">' + lang.lang_layout_nodata + '</div></div></div>'
|
||||
if (numtarget) {
|
||||
@@ -293,6 +304,7 @@ function parseColumn(target, dontclose) {
|
||||
mediaCheck(key);
|
||||
catchCheck(key);
|
||||
voiceCheck(key);
|
||||
var css = ""
|
||||
}
|
||||
}
|
||||
var box = localStorage.getItem("box");
|
||||
@@ -320,6 +332,40 @@ function parseColumn(target, dontclose) {
|
||||
}
|
||||
}
|
||||
}
|
||||
$(".box, .boxIn").resizable({
|
||||
minHeight: 50,
|
||||
minWidth: 50,
|
||||
grid: 50,
|
||||
resize: function (event, ui) {
|
||||
$(this).css("min-width", ui.size.width + "px")
|
||||
$(this).css("max-width", ui.size.width + "px")
|
||||
$(this).css("min-height", ui.size.height + "px")
|
||||
$(this).css("max-height", ui.size.height + "px")
|
||||
},
|
||||
stop: function (event, ui) {
|
||||
var col = localStorage.getItem("column");
|
||||
var o = JSON.parse(col);
|
||||
var width = ui.size.width
|
||||
var height = ui.size.height
|
||||
if ($(this).hasClass("boxIn")) {
|
||||
//縦幅。その縦幅を持つカラムのidは
|
||||
console.log("tate")
|
||||
var key = $(this).attr("tlid")
|
||||
var obj = o[key];
|
||||
obj.height = height;
|
||||
o[key] = obj;
|
||||
} else {
|
||||
//横幅。その縦幅を持つカラムのidは
|
||||
console.log("yoko")
|
||||
var key = $(this).find(".boxIn").attr("tlid")
|
||||
var obj = o[key];
|
||||
obj.width = width;
|
||||
o[key] = obj;
|
||||
}
|
||||
var json = JSON.stringify(o);
|
||||
localStorage.setItem("column", json);
|
||||
}
|
||||
});
|
||||
}
|
||||
function checkStr(type, data, acct_id, key, delc, voice) {
|
||||
if ($('#notice_icon_' + key).hasClass("red-text") && type != "notf" && type != "mix") {
|
||||
|
@@ -161,8 +161,37 @@ function load() {
|
||||
$("#c2-file").text(localStorage.getItem("custom2"));
|
||||
$("#c3-file").text(localStorage.getItem("custom3"));
|
||||
$("#c4-file").text(localStorage.getItem("custom4"));
|
||||
var cvol = localStorage.getItem("customVol")
|
||||
if (cvol) {
|
||||
$("#soundvol").val(cvol * 100);
|
||||
$("#soundVolVal").text(cvol * 100)
|
||||
}
|
||||
//$("#log").val(localStorage.getItem("errors"))
|
||||
}
|
||||
function customVol() {
|
||||
var cvol = $("#soundvol").val()
|
||||
$("#soundVolVal").text(cvol)
|
||||
localStorage.setItem("customVol", cvol / 100)
|
||||
var sound = localStorage.getItem("favSound");
|
||||
if (sound == "default") {
|
||||
var file = "../../source/notif.wav"
|
||||
}else{
|
||||
if (sound == "c1") {
|
||||
var file = localStorage.getItem("custom1");
|
||||
} else if (sound == "c2") {
|
||||
var file = localStorage.getItem("custom2");
|
||||
} else if (sound == "c3") {
|
||||
var file = localStorage.getItem("custom3");
|
||||
} else if (sound == "c4") {
|
||||
var file = localStorage.getItem("custom4");
|
||||
}
|
||||
}
|
||||
request = new XMLHttpRequest();
|
||||
request.open("GET", file, true);
|
||||
request.responseType = "arraybuffer";
|
||||
request.onload = playSound;
|
||||
request.send();
|
||||
}
|
||||
|
||||
function climute() {
|
||||
//クライアントミュート
|
||||
@@ -665,4 +694,7 @@ window.onload = function () {
|
||||
oksload();
|
||||
ctLoad()
|
||||
};
|
||||
|
||||
//設定画面で未読マーカーは要らない
|
||||
function asReadEnd() {
|
||||
postMessage(["asReadComp", ""], "*")
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@ function udgEx(user, acct_id) {
|
||||
var domain = localStorage.getItem("domain_" + acct_id);
|
||||
if (localStorage.getItem("mode_" + domain) == "misskey") { return false; }
|
||||
var at = localStorage.getItem("acct_" + acct_id + "_at");
|
||||
var start = "https://" + domain + "/api/v1/search?resolve=true&q=" + user
|
||||
var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + user
|
||||
fetch(start, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
@@ -36,11 +36,11 @@ function udgEx(user, acct_id) {
|
||||
todo(error);
|
||||
console.error(error);
|
||||
}).then(function (json) {
|
||||
if (json.accounts) {
|
||||
if (json.accounts[0]) {
|
||||
var id = json.accounts[0].id;
|
||||
udg(id, acct_id);
|
||||
} else {
|
||||
postMessage(["openUrl", url], "*")
|
||||
postMessage(["openUrl", user], "*")
|
||||
}
|
||||
});
|
||||
return true;
|
||||
|
94
app/main.js
94
app/main.js
@@ -12,6 +12,7 @@ const np = require('./main/np.js');
|
||||
const systemFunc = require('./main/system.js');
|
||||
const Menu = electron.Menu
|
||||
const join = require('path').join;
|
||||
|
||||
// アプリケーションをコントロールするモジュール
|
||||
const app = electron.app;
|
||||
// ウィンドウを作成するモジュール
|
||||
@@ -29,8 +30,8 @@ if (!gotTheLock) {
|
||||
// 多重起動を試みた場合、既に存在するウィンドウにフォーカスを移す
|
||||
// Someone tried to run a second instance, we should focus our window.
|
||||
if (mainWindow) {
|
||||
if (mainWindow.isMinimized()) mainWindow.restore()
|
||||
mainWindow.focus()
|
||||
if (mainWindow.isMinimized()) mainWindow.restore()
|
||||
mainWindow.focus()
|
||||
}
|
||||
})
|
||||
}
|
||||
@@ -40,18 +41,18 @@ if (process.argv.indexOf("--dev") === -1) {
|
||||
} else {
|
||||
var packaged = false;
|
||||
console.log(
|
||||
"||\\\\\\ \n"+
|
||||
"|||| \\\\\\\\ \n"+
|
||||
"|||| \\\\\\\\ \n"+
|
||||
"|||| Am I a \\\\\\\\ \n"+
|
||||
"|||| cat? ^ ^ \\\\\\\\\\ _____ _ ____ _ \n"+
|
||||
"|||| (.-.) \\\\\\\\\\ |_ _| |__ ___| _ \\ ___ ___| | __\n"+
|
||||
"|||| ___> ) ||||| | | | '_ \\ / _ \\ | | |/ _ \\/ __| |/ /\n"+
|
||||
"|||| < _ _) ////// | | | | | | __/ |_| | __/\__ \\ < \n"+
|
||||
"|||| |_||_| ///// |_| |_| |_|\\___|____/ \\___||___/_|\\_\\ \n"+
|
||||
"|||| ///// \n"+
|
||||
"|||| /////\n"+
|
||||
"|||| /////\n"+
|
||||
"||\\\\\\ \n" +
|
||||
"|||| \\\\\\\\ \n" +
|
||||
"|||| \\\\\\\\ \n" +
|
||||
"|||| Am I a \\\\\\\\ \n" +
|
||||
"|||| cat? ^ ^ \\\\\\\\\\ _____ _ ____ _ \n" +
|
||||
"|||| (.-.) \\\\\\\\\\ |_ _| |__ ___| _ \\ ___ ___| | __\n" +
|
||||
"|||| ___> ) ||||| | | | '_ \\ / _ \\ | | |/ _ \\/ __| |/ /\n" +
|
||||
"|||| < _ _) ////// | | | | | | __/ |_| | __/\__ \\ < \n" +
|
||||
"|||| |_||_| ///// |_| |_| |_|\\___|____/ \\___||___/_|\\_\\ \n" +
|
||||
"|||| ///// \n" +
|
||||
"|||| /////\n" +
|
||||
"|||| /////\n" +
|
||||
"||||//////"
|
||||
)
|
||||
console.log("Welcome!")
|
||||
@@ -63,9 +64,9 @@ var ha_path = join(app.getPath("userData"), "hardwareAcceleration");
|
||||
try {
|
||||
fs.readFileSync(ha_path, 'utf8');
|
||||
app.disableHardwareAcceleration()
|
||||
if(!packaged) console.log("disabled: Hardware Acceleration");
|
||||
if (!packaged) console.log("disabled: Hardware Acceleration");
|
||||
} catch{
|
||||
if(!packaged) console.log("enabled: Hardware Acceleration");
|
||||
if (!packaged) console.log("enabled: Hardware Acceleration");
|
||||
}
|
||||
var window_size;
|
||||
try {
|
||||
@@ -131,8 +132,8 @@ function createWindow() {
|
||||
fs.writeFileSync(lang_path, lang);
|
||||
});
|
||||
}
|
||||
if(!packaged) console.log("your lang:" + app.getLocale());
|
||||
if(!packaged) console.log("launch:" + lang);
|
||||
if (!packaged) console.log("your lang:" + app.getLocale());
|
||||
if (!packaged) console.log("launch:" + lang);
|
||||
// メイン画面の表示。ウィンドウの幅、高さを指定できる
|
||||
var platform = process.platform;
|
||||
var bit = process.arch;
|
||||
@@ -173,7 +174,8 @@ function createWindow() {
|
||||
if (window_size.max) {
|
||||
mainWindow.maximize();
|
||||
}
|
||||
})
|
||||
})
|
||||
if (!packaged) mainWindow.toggleDevTools();
|
||||
electron.session.defaultSession.clearCache(() => { })
|
||||
if (process.argv) {
|
||||
if (process.argv[1]) {
|
||||
@@ -200,7 +202,27 @@ function createWindow() {
|
||||
electron.ipcMain.removeAllListeners();
|
||||
mainWindow = null;
|
||||
});
|
||||
mainWindow.on('close', function () {
|
||||
closeArg = false
|
||||
mainWindow.on('close', function (e, arg) {
|
||||
writePos(mainWindow)
|
||||
if(!closeArg){
|
||||
e.preventDefault()
|
||||
}
|
||||
const promise = new Promise(function (resolve) {
|
||||
mainWindow.webContents.send('asReadEnd', "")
|
||||
setTimeout(function () { resolve() }, 3000)
|
||||
})
|
||||
promise.then((function (response) {
|
||||
closeArg = true
|
||||
mainWindow.close()
|
||||
})
|
||||
);
|
||||
});
|
||||
electron.ipcMain.on('sendMarkersComplete', function (e, arg) {
|
||||
closeArg = true
|
||||
mainWindow.close()
|
||||
})
|
||||
function writePos(mainWindow){
|
||||
if (
|
||||
max_window_size.width == mainWindow.getBounds().width &&
|
||||
max_window_size.height == mainWindow.getBounds().height &&
|
||||
@@ -211,11 +233,16 @@ function createWindow() {
|
||||
} else {
|
||||
var size = { width: mainWindow.getBounds().width, height: mainWindow.getBounds().height, x: mainWindow.getBounds().x, y: mainWindow.getBounds().y }
|
||||
}
|
||||
fs.writeFileSync(info_path, JSON.stringify(size));
|
||||
});
|
||||
fs.writeFileSync(info_path, JSON.stringify(size))
|
||||
}
|
||||
mainWindow.on('maximize', function () {
|
||||
writePos(mainWindow)
|
||||
fs.writeFileSync(max_info_path, JSON.stringify(mainWindow.getBounds()));
|
||||
});
|
||||
mainWindow.on('minimize', function () {
|
||||
writePos(mainWindow)
|
||||
mainWindow.webContents.send('asRead', "")
|
||||
})
|
||||
|
||||
var platform = process.platform;
|
||||
var bit = process.arch;
|
||||
@@ -230,6 +257,29 @@ function createWindow() {
|
||||
np.TheDeskNowPlaying(mainWindow);
|
||||
//その他system
|
||||
systemFunc.system(mainWindow, dir, lang, dirname);
|
||||
setInterval(function () { mouseTrack(mainWindow) }, 1000);
|
||||
}
|
||||
var x = 0
|
||||
var y = 0
|
||||
var unchanged = 0
|
||||
var locked = false
|
||||
function mouseTrack(mainWindow) {
|
||||
let mousePos = electron.screen.getCursorScreenPoint()
|
||||
let xNow = mousePos.x
|
||||
let yNow = mousePos.x
|
||||
if (x != xNow || y != yNow) {
|
||||
unchanged = 0
|
||||
locked = false
|
||||
} else {
|
||||
unchanged++
|
||||
if (unchanged > 60 && !locked) {
|
||||
unchanged = 0
|
||||
locked = true
|
||||
mainWindow.webContents.send('asRead', "")
|
||||
}
|
||||
}
|
||||
x = xNow
|
||||
y = yNow
|
||||
}
|
||||
// Electronの初期化完了後に実行
|
||||
app.on('ready', createWindow);
|
||||
|
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"name": "TheDesk",
|
||||
"short_name": "TheDesk",
|
||||
"icons": [
|
||||
{
|
||||
"src": "./img/desk.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": "/",
|
||||
"display": "standalone",
|
||||
"orientation": "portrait-primary",
|
||||
"background_color": "#212121",
|
||||
"theme_color": "#212121",
|
||||
"description": "TheDesk",
|
||||
"dir": "ltr",
|
||||
"lang": "ja-jp",
|
||||
"related_applications": [],
|
||||
"prefer_related_applications": false
|
||||
}
|
15
app/node_modules/.bin/electron
generated
vendored
15
app/node_modules/.bin/electron
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../electron/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../electron/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
15
app/node_modules/.bin/electron-builder
generated
vendored
15
app/node_modules/.bin/electron-builder
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../electron-builder/out/cli/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../electron-builder/out/cli/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/electron-builder.cmd
generated
vendored
7
app/node_modules/.bin/electron-builder.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\electron-builder\out\cli\cli.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\electron-builder\out\cli\cli.js" %*
|
||||
)
|
15
app/node_modules/.bin/electron-download
generated
vendored
15
app/node_modules/.bin/electron-download
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../electron-download/lib/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../electron-download/lib/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/electron-download.cmd
generated
vendored
7
app/node_modules/.bin/electron-download.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\electron-download\lib\cli.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\electron-download\lib\cli.js" %*
|
||||
)
|
7
app/node_modules/.bin/electron.cmd
generated
vendored
7
app/node_modules/.bin/electron.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\electron\cli.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\electron\cli.js" %*
|
||||
)
|
15
app/node_modules/.bin/esparse
generated
vendored
15
app/node_modules/.bin/esparse
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../esprima/bin/esparse.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../esprima/bin/esparse.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/esparse.cmd
generated
vendored
7
app/node_modules/.bin/esparse.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\esprima\bin\esparse.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\esprima\bin\esparse.js" %*
|
||||
)
|
15
app/node_modules/.bin/esvalidate
generated
vendored
15
app/node_modules/.bin/esvalidate
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../esprima/bin/esvalidate.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../esprima/bin/esvalidate.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/esvalidate.cmd
generated
vendored
7
app/node_modules/.bin/esvalidate.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\esprima\bin\esvalidate.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\esprima\bin\esvalidate.js" %*
|
||||
)
|
15
app/node_modules/.bin/extract-zip
generated
vendored
15
app/node_modules/.bin/extract-zip
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../extract-zip/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../extract-zip/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/extract-zip.cmd
generated
vendored
7
app/node_modules/.bin/extract-zip.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\extract-zip\cli.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\extract-zip\cli.js" %*
|
||||
)
|
15
app/node_modules/.bin/install-app-deps
generated
vendored
15
app/node_modules/.bin/install-app-deps
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../electron-builder/out/cli/install-app-deps.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../electron-builder/out/cli/install-app-deps.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/install-app-deps.cmd
generated
vendored
7
app/node_modules/.bin/install-app-deps.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\electron-builder\out\cli\install-app-deps.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\electron-builder\out\cli\install-app-deps.js" %*
|
||||
)
|
15
app/node_modules/.bin/is-ci
generated
vendored
15
app/node_modules/.bin/is-ci
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../is-ci/bin.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../is-ci/bin.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/is-ci.cmd
generated
vendored
7
app/node_modules/.bin/is-ci.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\is-ci\bin.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\is-ci\bin.js" %*
|
||||
)
|
15
app/node_modules/.bin/js-yaml
generated
vendored
15
app/node_modules/.bin/js-yaml
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../js-yaml/bin/js-yaml.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/js-yaml.cmd
generated
vendored
7
app/node_modules/.bin/js-yaml.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\js-yaml\bin\js-yaml.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\js-yaml\bin\js-yaml.js" %*
|
||||
)
|
15
app/node_modules/.bin/json5
generated
vendored
15
app/node_modules/.bin/json5
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../json5/lib/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../json5/lib/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/json5.cmd
generated
vendored
7
app/node_modules/.bin/json5.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\json5\lib\cli.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\json5\lib\cli.js" %*
|
||||
)
|
15
app/node_modules/.bin/mime
generated
vendored
15
app/node_modules/.bin/mime
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../mime/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../mime/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/mime.cmd
generated
vendored
7
app/node_modules/.bin/mime.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\mime\cli.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\mime\cli.js" %*
|
||||
)
|
15
app/node_modules/.bin/mkdirp
generated
vendored
15
app/node_modules/.bin/mkdirp
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../mkdirp/bin/cmd.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/mkdirp.cmd
generated
vendored
7
app/node_modules/.bin/mkdirp.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\mkdirp\bin\cmd.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\mkdirp\bin\cmd.js" %*
|
||||
)
|
15
app/node_modules/.bin/nugget
generated
vendored
15
app/node_modules/.bin/nugget
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../nugget/bin.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../nugget/bin.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/nugget.cmd
generated
vendored
7
app/node_modules/.bin/nugget.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\nugget\bin.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\nugget\bin.js" %*
|
||||
)
|
15
app/node_modules/.bin/pixelmatch
generated
vendored
15
app/node_modules/.bin/pixelmatch
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../pixelmatch/bin/pixelmatch" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../pixelmatch/bin/pixelmatch" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/pixelmatch.cmd
generated
vendored
7
app/node_modules/.bin/pixelmatch.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\pixelmatch\bin\pixelmatch" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\pixelmatch\bin\pixelmatch" %*
|
||||
)
|
15
app/node_modules/.bin/pretty-bytes
generated
vendored
15
app/node_modules/.bin/pretty-bytes
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../pretty-bytes/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../pretty-bytes/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/pretty-bytes.cmd
generated
vendored
7
app/node_modules/.bin/pretty-bytes.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\pretty-bytes\cli.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\pretty-bytes\cli.js" %*
|
||||
)
|
15
app/node_modules/.bin/rc
generated
vendored
15
app/node_modules/.bin/rc
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../rc/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../rc/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/rc.cmd
generated
vendored
7
app/node_modules/.bin/rc.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\rc\cli.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\rc\cli.js" %*
|
||||
)
|
15
app/node_modules/.bin/semver
generated
vendored
15
app/node_modules/.bin/semver
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../semver/bin/semver" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../semver/bin/semver" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/semver.cmd
generated
vendored
7
app/node_modules/.bin/semver.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\semver\bin\semver" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\semver\bin\semver" %*
|
||||
)
|
15
app/node_modules/.bin/sshpk-conv
generated
vendored
15
app/node_modules/.bin/sshpk-conv
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../sshpk/bin/sshpk-conv" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../sshpk/bin/sshpk-conv" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/sshpk-conv.cmd
generated
vendored
7
app/node_modules/.bin/sshpk-conv.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-conv" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\sshpk\bin\sshpk-conv" %*
|
||||
)
|
15
app/node_modules/.bin/sshpk-sign
generated
vendored
15
app/node_modules/.bin/sshpk-sign
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../sshpk/bin/sshpk-sign" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../sshpk/bin/sshpk-sign" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/sshpk-sign.cmd
generated
vendored
7
app/node_modules/.bin/sshpk-sign.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-sign" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\sshpk\bin\sshpk-sign" %*
|
||||
)
|
15
app/node_modules/.bin/sshpk-verify
generated
vendored
15
app/node_modules/.bin/sshpk-verify
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../sshpk/bin/sshpk-verify" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../sshpk/bin/sshpk-verify" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/sshpk-verify.cmd
generated
vendored
7
app/node_modules/.bin/sshpk-verify.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\sshpk\bin\sshpk-verify" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\sshpk\bin\sshpk-verify" %*
|
||||
)
|
15
app/node_modules/.bin/strip-indent
generated
vendored
15
app/node_modules/.bin/strip-indent
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../strip-indent/cli.js" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../strip-indent/cli.js" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/strip-indent.cmd
generated
vendored
7
app/node_modules/.bin/strip-indent.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\strip-indent\cli.js" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\strip-indent\cli.js" %*
|
||||
)
|
15
app/node_modules/.bin/uuid
generated
vendored
15
app/node_modules/.bin/uuid
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../uuid/bin/uuid" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../uuid/bin/uuid" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/uuid.cmd
generated
vendored
7
app/node_modules/.bin/uuid.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\uuid\bin\uuid" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\uuid\bin\uuid" %*
|
||||
)
|
15
app/node_modules/.bin/which
generated
vendored
15
app/node_modules/.bin/which
generated
vendored
@@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
||||
|
||||
case `uname` in
|
||||
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||||
esac
|
||||
|
||||
if [ -x "$basedir/node" ]; then
|
||||
"$basedir/node" "$basedir/../which/bin/which" "$@"
|
||||
ret=$?
|
||||
else
|
||||
node "$basedir/../which/bin/which" "$@"
|
||||
ret=$?
|
||||
fi
|
||||
exit $ret
|
7
app/node_modules/.bin/which.cmd
generated
vendored
7
app/node_modules/.bin/which.cmd
generated
vendored
@@ -1,7 +0,0 @@
|
||||
@IF EXIST "%~dp0\node.exe" (
|
||||
"%~dp0\node.exe" "%~dp0\..\which\bin\which" %*
|
||||
) ELSE (
|
||||
@SETLOCAL
|
||||
@SET PATHEXT=%PATHEXT:;.JS;=;%
|
||||
node "%~dp0\..\which\bin\which" %*
|
||||
)
|
9
app/node_modules/7zip-bin/7x.sh
generated
vendored
9
app/node_modules/7zip-bin/7x.sh
generated
vendored
@@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sz_program=${SZA_PATH:-7za}
|
||||
sz_type=${SZA_ARCHIVE_TYPE:-xz}
|
||||
|
||||
case $1 in
|
||||
-d) "$sz_program" e -si -so -t${sz_type} ;;
|
||||
*) "$sz_program" a f -si -so -t${sz_type} -mx${SZA_COMPRESSION_LEVEL:-9} ;;
|
||||
esac 2> /dev/null
|
22
app/node_modules/7zip-bin/LICENSE.txt
generated
vendored
22
app/node_modules/7zip-bin/LICENSE.txt
generated
vendored
@@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 Vladimir Krivosheev
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
1
app/node_modules/7zip-bin/README.md
generated
vendored
1
app/node_modules/7zip-bin/README.md
generated
vendored
@@ -1 +0,0 @@
|
||||
7-Zip precompiled binaries.
|
2
app/node_modules/7zip-bin/index.d.ts
generated
vendored
2
app/node_modules/7zip-bin/index.d.ts
generated
vendored
@@ -1,2 +0,0 @@
|
||||
export const path7za: string
|
||||
export const path7x: string
|
22
app/node_modules/7zip-bin/index.js
generated
vendored
22
app/node_modules/7zip-bin/index.js
generated
vendored
@@ -1,22 +0,0 @@
|
||||
"use strict"
|
||||
|
||||
const path = require("path")
|
||||
|
||||
function getPath() {
|
||||
if (process.env.USE_SYSTEM_7ZA === "true") {
|
||||
return "7za"
|
||||
}
|
||||
|
||||
if (process.platform === "darwin") {
|
||||
return path.join(__dirname, "mac", "7za")
|
||||
}
|
||||
else if (process.platform === "win32") {
|
||||
return path.join(__dirname, "win", process.arch, "7za.exe")
|
||||
}
|
||||
else {
|
||||
return path.join(__dirname, "linux", process.arch, "7za")
|
||||
}
|
||||
}
|
||||
|
||||
exports.path7za = getPath()
|
||||
exports.path7x = path.join(__dirname, "7x.sh")
|
BIN
app/node_modules/7zip-bin/linux/arm/7za
generated
vendored
BIN
app/node_modules/7zip-bin/linux/arm/7za
generated
vendored
Binary file not shown.
BIN
app/node_modules/7zip-bin/linux/arm64/7za
generated
vendored
BIN
app/node_modules/7zip-bin/linux/arm64/7za
generated
vendored
Binary file not shown.
BIN
app/node_modules/7zip-bin/linux/ia32/7za
generated
vendored
BIN
app/node_modules/7zip-bin/linux/ia32/7za
generated
vendored
Binary file not shown.
BIN
app/node_modules/7zip-bin/linux/x64/7za
generated
vendored
BIN
app/node_modules/7zip-bin/linux/x64/7za
generated
vendored
Binary file not shown.
9
app/node_modules/7zip-bin/linux/x64/build.sh
generated
vendored
9
app/node_modules/7zip-bin/linux/x64/build.sh
generated
vendored
@@ -1,9 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
rm -rf /tmp/7z-linux
|
||||
mkdir /tmp/7z-linux
|
||||
cp "$BASEDIR/do-build.sh" /tmp/7z-linux/do-build.sh
|
||||
docker run --rm -v /tmp/7z-linux:/project buildpack-deps:xenial /project/do-build.sh
|
20
app/node_modules/7zip-bin/linux/x64/do-build.sh
generated
vendored
20
app/node_modules/7zip-bin/linux/x64/do-build.sh
generated
vendored
@@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
apt-get update -qq
|
||||
apt-get upgrade -qq
|
||||
|
||||
echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" > /etc/apt/sources.list.d/llvm.list
|
||||
curl -L http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
||||
apt-get update -qq
|
||||
apt-get install -qq bzip2 yasm clang-5.0 lldb-5.0 lld-5.0
|
||||
|
||||
ln -s /usr/bin/clang-5.0 /usr/bin/clang
|
||||
ln -s /usr/bin/clang++-5.0 /usr/bin/clang++
|
||||
|
||||
mkdir -p /tmp/7z
|
||||
cd /tmp/7z
|
||||
curl -L http://downloads.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2 | tar -xj -C . --strip-components 1
|
||||
cp makefile.linux_clang_amd64_asm makefile.machine
|
||||
make -j4
|
||||
mv bin/7za /project/7za
|
BIN
app/node_modules/7zip-bin/mac/7za
generated
vendored
BIN
app/node_modules/7zip-bin/mac/7za
generated
vendored
Binary file not shown.
53
app/node_modules/7zip-bin/package.json
generated
vendored
53
app/node_modules/7zip-bin/package.json
generated
vendored
@@ -1,53 +0,0 @@
|
||||
{
|
||||
"_from": "7zip-bin@~5.0.3",
|
||||
"_id": "7zip-bin@5.0.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-GLyWIFBbGvpKPGo55JyRZAo4lVbnBiD52cKlw/0Vt+wnmKvWJkpZvsjVoaIolyBXDeAQKSicRtqFNPem9w0WYA==",
|
||||
"_location": "/7zip-bin",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "7zip-bin@~5.0.3",
|
||||
"name": "7zip-bin",
|
||||
"escapedName": "7zip-bin",
|
||||
"rawSpec": "~5.0.3",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "~5.0.3"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/app-builder-lib",
|
||||
"/builder-util"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/7zip-bin/-/7zip-bin-5.0.3.tgz",
|
||||
"_shasum": "bc5b5532ecafd923a61f2fb097e3b108c0106a3f",
|
||||
"_spec": "7zip-bin@~5.0.3",
|
||||
"_where": "C:\\Users\\ryuki\\TheDesk\\app\\node_modules\\app-builder-lib",
|
||||
"bugs": {
|
||||
"url": "https://github.com/develar/7zip-bin/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "7-Zip precompiled binaries",
|
||||
"files": [
|
||||
"*.js",
|
||||
"7x.sh",
|
||||
"index.d.ts",
|
||||
"linux",
|
||||
"mac",
|
||||
"win"
|
||||
],
|
||||
"homepage": "https://github.com/develar/7zip-bin#readme",
|
||||
"keywords": [
|
||||
"7zip",
|
||||
"7z",
|
||||
"7za"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "7zip-bin",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/develar/7zip-bin.git"
|
||||
},
|
||||
"version": "5.0.3"
|
||||
}
|
22
app/node_modules/@babel/polyfill/LICENSE
generated
vendored
22
app/node_modules/@babel/polyfill/LICENSE
generated
vendored
@@ -1,22 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2014-present Sebastian McKenzie and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
app/node_modules/@babel/polyfill/README.md
generated
vendored
22
app/node_modules/@babel/polyfill/README.md
generated
vendored
@@ -1,22 +0,0 @@
|
||||
# @babel/polyfill
|
||||
|
||||
> Provides polyfills necessary for a full ES2015+ environment
|
||||
|
||||
|
||||
**This package has been deprecated in favor of separate inclusion of required parts of [`core-js`](https://github.com/zloirock/core-js) and [`regenerator-runtime`](https://www.npmjs.com/package/regenerator-runtime). See our website [@babel/polyfill](https://babeljs.io/docs/en/next/babel-polyfill.html) for more information.**
|
||||
|
||||
See our website [@babel/polyfill](https://babeljs.io/docs/en/next/babel-polyfill.html) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20polyfill%22+is%3Aopen) associated with this package.
|
||||
|
||||
## Install
|
||||
|
||||
Using npm:
|
||||
|
||||
```sh
|
||||
npm install --save @babel/polyfill
|
||||
```
|
||||
|
||||
or using yarn:
|
||||
|
||||
```sh
|
||||
yarn add @babel/polyfill
|
||||
```
|
1
app/node_modules/@babel/polyfill/browser.js
generated
vendored
1
app/node_modules/@babel/polyfill/browser.js
generated
vendored
File diff suppressed because one or more lines are too long
7179
app/node_modules/@babel/polyfill/dist/polyfill.js
generated
vendored
7179
app/node_modules/@babel/polyfill/dist/polyfill.js
generated
vendored
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user