Compare commits
244
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a13c34584c | ||
|
|
7ed3927144 | ||
|
|
748c6f1959 | ||
|
|
1c6ee5619b | ||
|
|
5d51a1f521 | ||
|
|
9af294c701 | ||
|
|
e11709ab7a | ||
|
|
0f1628c41a | ||
|
|
485b9ee528 | ||
|
|
844bf46c25 | ||
|
|
fdec67aae6 | ||
|
|
36fcba5ac1 | ||
|
|
a00bb8fe29 | ||
|
|
6496f5c7a2 | ||
|
|
4938d6c118 | ||
|
|
e74aa5e985 | ||
|
|
e9186093ca | ||
|
|
d7869793d3 | ||
|
|
f379e63ade | ||
|
|
2a8ea5135a | ||
|
|
b5923ef027 | ||
|
|
58a1fc053d | ||
|
|
de1bf2692b | ||
|
|
6b4dedf1e9 | ||
|
|
ad3ad21a64 | ||
|
|
63b65c0118 | ||
|
|
30e1cda295 | ||
|
|
5232a65423 | ||
|
|
db648d9ed3 | ||
|
|
a982bc4c14 | ||
|
|
3c2809a6af | ||
|
|
a7f0d8e454 | ||
|
|
aca6d91cc2 | ||
|
|
745f8ab5fa | ||
|
|
99377c63c9 | ||
|
|
ba837cdff4 | ||
|
|
dbaf25fc8f | ||
|
|
b8f57c4348 | ||
|
|
60b156dd31 | ||
|
|
e06bdeb364 | ||
|
|
a2cd602894 | ||
|
|
012d55e0cd | ||
|
|
05ac6465aa | ||
|
|
e792977c62 | ||
|
|
2e60428f71 | ||
|
|
62539ac22c | ||
|
|
9835c9625d | ||
|
|
fa2bba0674 | ||
|
|
6c37e571b9 | ||
|
|
763f58ce2d | ||
|
|
e04ff6fe5c | ||
|
|
2034fb9bdd | ||
|
|
d431e9ec89 | ||
|
|
f48f47d640 | ||
|
|
3ba7ab8bb6 | ||
|
|
3a8a6f7119 | ||
|
|
7d7f449431 | ||
|
|
2ada777808 | ||
|
|
5f43503dd5 | ||
|
|
f304fbcbb1 | ||
|
|
6af3d97b9d | ||
|
|
0b6ff1eab1 | ||
|
|
123025dc17 | ||
|
|
f082b990e7 | ||
|
|
a96e0feb35 | ||
|
|
9ec19842ad | ||
|
|
d0861a438c | ||
|
|
4854023b0b | ||
|
|
ca56e16fb1 | ||
|
|
d7f21c8e2d | ||
|
|
57eca2a92c | ||
|
|
bfeca46221 | ||
|
|
6e8bc383e6 | ||
|
|
07b76be9ec | ||
|
|
3fb3bfd132 | ||
|
|
8922357e96 | ||
|
|
dfcfa19721 | ||
|
|
b78d0cb0dd | ||
|
|
1f2a931fe5 | ||
|
|
2c2877dea1 | ||
|
|
9698e414b2 | ||
|
|
a4bf90b83b | ||
|
|
057464127c | ||
|
|
d5ee4ecdeb | ||
|
|
ad14c079e1 | ||
|
|
ff452a5d86 | ||
|
|
ceb966d2cb | ||
|
|
5b8c10f7ef | ||
|
|
3e4b3bde70 | ||
|
|
c6a54e9452 | ||
|
|
fbdc844203 | ||
|
|
32281b87dd | ||
|
|
35dd3ddb90 | ||
|
|
1c9f153db0 | ||
|
|
1fb325c0f7 | ||
|
|
6214ed4f74 | ||
|
|
5cb16557f1 | ||
|
|
f6a33406f3 | ||
|
|
cc7e5d4a09 | ||
|
|
7962fca4bd | ||
|
|
0c66f21cba | ||
|
|
1578e90051 | ||
|
|
8f646c6111 | ||
|
|
aee9024702 | ||
|
|
dbd6b6de68 | ||
|
|
c35d2338cd | ||
|
|
a0d9c2d456 | ||
|
|
ca5f9af1cc | ||
|
|
75277a2445 | ||
|
|
f2ee544c95 | ||
|
|
140a23d930 | ||
|
|
6a03b49122 | ||
|
|
3e5a5c801e | ||
|
|
405b42c4bd | ||
|
|
7ad6e510ef | ||
|
|
5994b690f6 | ||
|
|
315fb64d3d | ||
|
|
579ee7d550 | ||
|
|
4439443c36 | ||
|
|
bf28b2da56 | ||
|
|
8e172fd6c6 | ||
|
|
cc3f59d061 | ||
|
|
99f822d213 | ||
|
|
294df0419c | ||
|
|
ab67e0a29e | ||
|
|
181dd3c2c7 | ||
|
|
2086656c47 | ||
|
|
387dbd8028 | ||
|
|
9dba180289 | ||
|
|
15181a4240 | ||
|
|
c0d2fc1283 | ||
|
|
9e4ffa71c8 | ||
|
|
d9e01ea822 | ||
|
|
a76412be52 | ||
|
|
8b02deb5ce | ||
|
|
083f46390f | ||
|
|
c8db0f7b98 | ||
|
|
47f11de99d | ||
|
|
10ee4378cd | ||
|
|
3c16343444 | ||
|
|
aaf52c53a5 | ||
|
|
216003eaf3 | ||
|
|
4fcd7b0afd | ||
|
|
b81e4b8721 | ||
|
|
e1a174aede | ||
|
|
6eefd85281 | ||
|
|
4f1b2ae3dd | ||
|
|
32dbc07219 | ||
|
|
c25024700d | ||
|
|
e1fb5098cd | ||
|
|
8837db44cb | ||
|
|
840cb69364 | ||
|
|
6fc740fe7a | ||
|
|
a4b6a2a7c6 | ||
|
|
e47d2e470f | ||
|
|
87cfd0fce8 | ||
|
|
adcfc10c0b | ||
|
|
34b4af3ec1 | ||
|
|
dbaa743362 | ||
|
|
24c399b269 | ||
|
|
e1dfb25719 | ||
|
|
461045a66f | ||
|
|
e77a452b3a | ||
|
|
8f663cc55f | ||
|
|
cff386b998 | ||
|
|
3736d861b5 | ||
|
|
06d4681454 | ||
|
|
4206e26d06 | ||
|
|
8ac3bac1aa | ||
|
|
6b147677ed | ||
|
|
0e1ebc15d7 | ||
|
|
e0ec880965 | ||
|
|
2042903653 | ||
|
|
d891443de3 | ||
|
|
363a010c3b | ||
|
|
08d28eecc8 | ||
|
|
8b7cb419d3 | ||
|
|
3864147e0c | ||
|
|
298713b06e | ||
|
|
fe15b88192 | ||
|
|
3cd43d247a | ||
|
|
66685468a6 | ||
|
|
327b8b652f | ||
|
|
4855df1b29 | ||
|
|
1cc3a0436b | ||
|
|
f79c6a255a | ||
|
|
9a965ed87f | ||
|
|
c1e1221ac1 | ||
|
|
830440fbdb | ||
|
|
c8c674dd98 | ||
|
|
d9e51551ce | ||
|
|
dd760e30df | ||
|
|
b36927b559 | ||
|
|
7c9b9c9935 | ||
|
|
fed296457c | ||
|
|
9ffeb489de | ||
|
|
d2df515aee | ||
|
|
c4dcd179f8 | ||
|
|
eba76ff429 | ||
|
|
10f47bf9ef | ||
|
|
038d10a0bd | ||
|
|
ccec9285dd | ||
|
|
57cd95d9ba | ||
|
|
ab9030dae2 | ||
|
|
5eb2ba96e3 | ||
|
|
5e17ffa4c6 | ||
|
|
a65e763b66 | ||
|
|
54a53b46fd | ||
|
|
b2ba00d152 | ||
|
|
3105309bdf | ||
|
|
b6176d2ae2 | ||
|
|
023f168290 | ||
|
|
a3ad2e5778 | ||
|
|
2a21a99303 | ||
|
|
21b72d2732 | ||
|
|
ca37005c20 | ||
|
|
140c5dc6af | ||
|
|
7112075271 | ||
|
|
f6f51168a0 | ||
|
|
6eeeec1207 | ||
|
|
f78c4468b9 | ||
|
|
c77621e71f | ||
|
|
3d6380f285 | ||
|
|
26b4085e95 | ||
|
|
f857f3bba2 | ||
|
|
93b4603e8a | ||
|
|
12aa08e036 | ||
|
|
0efb46a5f3 | ||
|
|
2a0ad2056f | ||
|
|
05930c53a0 | ||
|
|
ebc6b24b95 | ||
|
|
80b7013c93 | ||
|
|
13b259c58c | ||
|
|
2f2dab4f43 | ||
|
|
e7331600bf | ||
|
|
41f101a095 | ||
|
|
32d0873aeb | ||
|
|
66b916d8b1 | ||
|
|
a3c72e957d | ||
|
|
f81ad81faf | ||
|
|
92aae92add | ||
|
|
950ae1be86 | ||
|
|
512c757681 | ||
|
|
e7b2ab0f20 |
No files matched your search
@@ -0,0 +1,92 @@
|
||||
<svg width="92" height="92" viewBox="0 0 92 92" fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="92" height="92" fill="white"/>
|
||||
<g clip-path="url(#clip0_2013_27)">
|
||||
<path d="M45.2489 46.8386C38.6604 37.8265 26.0649 35.761 17.1128 42.2248C8.16065 48.6886 6.24419 61.2355 12.8311 70.246L13.3301 70.928C2.58947 56.8777 2.05973 37.1704 12.7679 22.7281L12.9591 22.4738C19.593 13.6577 32.1998 11.9648 41.1163 18.6927C50.0328 25.4206 51.8844 38.0225 45.2489 46.8386Z" fill="url(#paint0_linear_2013_27)"/>
|
||||
<path d="M45.2488 46.8386C34.7625 50.3864 29.2464 61.7782 32.9271 72.2855C36.6077 82.7929 48.0951 88.4369 58.5814 84.8891L59.278 84.6542C46.237 89.3198 31.043 87.0762 19.5653 77.4452C17.2543 75.5079 15.1633 73.3223 13.3299 70.928L12.831 70.2476C6.24406 61.2339 8.16214 48.687 17.1126 42.2232C26.0631 35.7594 38.6603 37.8265 45.2488 46.8386Z" fill="url(#paint1_linear_2013_27)"/>
|
||||
<path d="M45.249 46.8386C45.3154 57.9275 54.3793 66.9736 65.4941 67.04C76.6089 67.1064 85.5627 58.1721 85.4946 47.0816L85.493 46.8289C85.6113 56.0288 82.5803 65.279 76.2363 72.8396C71.7363 78.2181 65.8812 82.2969 59.2766 84.6542L58.5816 84.8908C48.0953 88.4369 36.6095 82.7945 32.9273 72.2872C29.245 61.7798 34.7627 50.3864 45.249 46.8386Z" fill="url(#paint2_linear_2013_27)"/>
|
||||
<path d="M45.2488 46.8386C55.8387 50.3297 67.156 44.6257 70.5256 34.1005C73.8952 23.5738 68.0438 12.2111 57.4522 8.71998L56.5855 8.43324C61.8435 10.0398 66.7228 12.6918 70.9306 16.2303C75.4204 19.9792 79.0464 24.6546 81.5599 29.9361C84.0735 35.2176 85.4151 40.9803 85.4928 46.8289V47.0832C85.5625 58.1721 76.6071 67.108 65.4939 67.0416C54.3807 66.9752 45.3152 57.9275 45.2488 46.8386Z" fill="url(#paint3_linear_2013_27)"/>
|
||||
<path d="M45.249 46.8386C51.8829 38.0225 50.0328 25.4222 41.118 18.6927C32.1999 11.9648 19.5914 13.6577 12.9575 22.4754L12.7664 22.7297C13.2416 22.0882 13.7389 21.458 14.2584 20.8392C24.8354 8.2356 41.6299 3.88266 56.5841 8.43486L57.4508 8.7216C68.0424 12.2127 73.8938 23.5754 70.5242 34.1021C67.1546 44.6289 55.8373 50.3313 45.2474 46.8402" fill="url(#paint4_linear_2013_27)"/>
|
||||
<g opacity="0.544252">
|
||||
<path d="M85.3777 46.442L85.376 46.7663C85.3289 57.9191 76.3292 66.9958 65.2778 67.0438C54.2249 67.0912 45.3044 58.0899 45.3523 46.9393C46.8629 47.4599 48.4311 47.7955 50.0225 47.9385C50.7303 54.2175 54.7245 59.8953 60.937 62.4053C70.0048 66.0689 80.3612 61.5957 84.0704 52.4153C84.8413 50.512 85.283 48.4933 85.3777 46.442Z" fill="url(#paint5_linear_2013_27)"/>
|
||||
<path d="M85.3777 46.442L85.376 46.7663C85.3289 57.9191 76.3292 66.9958 65.2778 67.0438C54.2249 67.0912 45.3044 58.0899 45.3523 46.9393C46.8629 47.4599 48.4311 47.7955 50.0225 47.9385C50.7303 54.2175 54.7245 59.8953 60.937 62.4053C70.0048 66.0689 80.3612 61.5957 84.0704 52.4153C84.8413 50.512 85.283 48.4933 85.3777 46.442Z" fill="black" fill-opacity="0.499887"/>
|
||||
</g>
|
||||
<path opacity="0.1" d="M45.249 46.8386C51.8829 38.0225 50.0328 25.4222 41.118 18.6927C32.1999 11.9648 19.5914 13.6577 12.9575 22.4754L12.7664 22.7297C13.2416 22.0882 13.7389 21.458 14.2584 20.8392C24.8354 8.2356 41.6299 3.88266 56.5841 8.43486L57.4508 8.7216C68.0424 12.2127 73.8938 23.5754 70.5242 34.1021C67.1546 44.6289 55.8373 50.3313 45.2474 46.8402" fill="url(#paint6_linear_2013_27)"/>
|
||||
<path opacity="0.180134" d="M12.8149 22.9954L13.0126 22.7362C19.7615 13.857 32.4121 12.0232 41.267 18.636C50.1235 25.2488 51.8294 37.8071 45.0821 46.6847C44.1886 45.3594 43.1376 44.1475 41.9523 43.0753C45.1663 37.6354 45.3931 30.6969 41.9425 24.954C36.9043 16.5705 25.9418 13.9088 17.4546 19.0086C15.6937 20.0649 14.1248 21.4124 12.8149 22.9938" fill="url(#paint7_linear_2013_27)"/>
|
||||
<g opacity="0.180134">
|
||||
<path d="M13.0851 23.2479L13.283 22.9891C20.0311 14.1113 32.6825 12.2777 41.5375 18.8903C50.3933 25.5042 52.1004 38.0615 45.3501 46.9387C44.457 45.6138 43.4065 44.4021 42.2217 43.3301C45.4352 37.8896 45.6622 30.9512 42.2113 25.2079C37.1743 16.8249 26.2112 14.1647 17.7254 19.2634C15.9643 20.3195 14.3953 21.6668 13.0851 23.2479Z" fill="url(#paint8_linear_2013_27)"/>
|
||||
<path d="M13.0851 23.2479L13.283 22.9891C20.0311 14.1113 32.6825 12.2777 41.5375 18.8903C50.3933 25.5042 52.1004 38.0615 45.3501 46.9387C44.457 45.6138 43.4065 44.4021 42.2217 43.3301C45.4352 37.8896 45.6622 30.9512 42.2113 25.2079C37.1743 16.8249 26.2112 14.1647 17.7254 19.2634C15.9643 20.3195 14.3953 21.6668 13.0851 23.2479Z" fill="black" fill-opacity="0.772843"/>
|
||||
</g>
|
||||
<g opacity="0.584152">
|
||||
<path d="M12.849 70.305L12.6625 70.0371C6.30602 60.8756 8.47007 48.2771 17.4953 41.899C26.5221 35.5204 38.9939 37.7769 45.3507 46.9401C43.8146 47.3795 42.3374 48.0036 40.9516 48.7986C36.7704 44.0612 30.2421 41.7028 23.7135 43.21C14.1843 45.41 8.2661 55.0129 10.4934 64.6606C10.9536 66.6618 11.7501 68.5704 12.849 70.305Z" fill="url(#paint9_linear_2013_27)"/>
|
||||
<path d="M12.849 70.305L12.6625 70.0371C6.30602 60.8756 8.47007 48.2771 17.4953 41.899C26.5221 35.5204 38.9939 37.7769 45.3507 46.9401C43.8146 47.3795 42.3374 48.0036 40.9516 48.7986C36.7704 44.0612 30.2421 41.7028 23.7135 43.21C14.1843 45.41 8.2661 55.0129 10.4934 64.6606C10.9536 66.6618 11.7501 68.5704 12.849 70.305Z" fill="black" fill-opacity="0.503085"/>
|
||||
</g>
|
||||
<g opacity="0.562221">
|
||||
<path d="M58.8542 84.6224L58.5454 84.7262C47.9866 88.3128 36.4727 82.7583 32.8293 72.3247C29.186 61.8894 34.7927 50.5243 45.3514 46.9394C45.351 48.5372 45.5442 50.1292 45.9271 51.6805C40.2206 54.3939 36.1541 60.0192 35.8035 66.7103C35.2916 76.4768 42.8913 84.8126 52.7791 85.3308C54.8297 85.4402 56.8839 85.2006 58.8542 84.6224Z" fill="url(#paint10_linear_2013_27)"/>
|
||||
<path d="M58.8542 84.6224L58.5454 84.7262C47.9866 88.3128 36.4727 82.7583 32.8293 72.3247C29.186 61.8894 34.7927 50.5243 45.3514 46.9394C45.351 48.5372 45.5442 50.1292 45.9271 51.6805C40.2206 54.3939 36.1541 60.0192 35.8035 66.7103C35.2916 76.4768 42.8913 84.8126 52.7791 85.3308C54.8297 85.4402 56.8839 85.2006 58.8542 84.6224Z" fill="black"/>
|
||||
</g>
|
||||
<path d="M57.1428 8.61792L57.4522 8.71998C68.0438 12.2111 73.8952 23.5738 70.5256 34.1005C67.156 44.6273 55.8387 50.3297 45.2488 46.8386C46.2106 45.5623 47.014 44.1741 47.6415 42.7043C53.8315 43.9728 60.4654 41.9267 64.773 36.7946C71.0586 29.3037 70.0056 18.0706 62.4208 11.7073C60.8489 10.3863 59.0643 9.34165 57.1428 8.61792Z" fill="black" fill-opacity="0.496179"/>
|
||||
<g filter="url(#filter0_d_2013_27)">
|
||||
<path d="M42.0737 55.4473H49.4382C56.3735 55.4473 61.9965 49.9976 61.9965 43.2762C61.9965 36.5532 56.3751 31.1051 49.4382 31.1051H38.811C34.8096 31.1051 31.5664 34.2479 31.5664 38.1278V65.4572L42.0737 55.4473Z" fill="black"/>
|
||||
</g>
|
||||
<path d="M42.0753 55.4473H49.4382C56.3735 55.4473 61.9965 49.9976 61.9965 43.2762C61.9965 36.5532 56.3751 31.1051 49.4382 31.1051H38.811C34.8096 31.1051 31.5664 34.2479 31.5664 38.1278V65.4572L42.0753 55.4473Z" fill="white"/>
|
||||
</g>
|
||||
<defs>
|
||||
<filter id="filter0_d_2013_27" x="28.5664" y="29.1051" width="36.4302" height="40.3521" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="1"/>
|
||||
<feGaussianBlur stdDeviation="1.5"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.298687 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2013_27"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2013_27" result="shape"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_2013_27" x1="36.6464" y1="57.0887" x2="4.86751" y2="32.0134" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF5C34"/>
|
||||
<stop offset="1" stop-color="#EB0256"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2013_27" x1="15.573" y1="74.0956" x2="47.8493" y2="52.2782" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#A63FDB"/>
|
||||
<stop offset="1" stop-color="#FF257E"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear_2013_27" x1="46.5089" y1="50.7632" x2="69.5979" y2="77.9383" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#00FFF0"/>
|
||||
<stop offset="1" stop-color="#0087FF"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear_2013_27" x1="87.824" y1="36.561" x2="45.0453" y2="43.7467" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#17C934"/>
|
||||
<stop offset="1" stop-color="#03FF6E"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear_2013_27" x1="29.9204" y1="43.4826" x2="54.9566" y2="3.99871" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FFB000"/>
|
||||
<stop offset="1" stop-color="#FF7725"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint5_linear_2013_27" x1="74.1241" y1="17.2264" x2="50.3634" y2="69.2133" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#9EE85D"/>
|
||||
<stop offset="1" stop-color="#0ED061"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint6_linear_2013_27" x1="29.9204" y1="43.4826" x2="54.9566" y2="3.99871" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FFB000"/>
|
||||
<stop offset="1" stop-color="#FF7725"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint7_linear_2013_27" x1="47.1639" y1="25.5825" x2="23.5042" y2="40.8311" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF5C34"/>
|
||||
<stop offset="1" stop-color="#EB0256"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint8_linear_2013_27" x1="47.4334" y1="25.8354" x2="23.7738" y2="41.084" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#FF5C34"/>
|
||||
<stop offset="1" stop-color="#EB0256"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint9_linear_2013_27" x1="26.8224" y1="38.229" x2="42.0874" y2="89.6018" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#A63FDB"/>
|
||||
<stop offset="1" stop-color="#FF257E"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint10_linear_2013_27" x1="48.3503" y1="40.6101" x2="67.7713" y2="83.6562" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#21EFE3"/>
|
||||
<stop offset="1" stop-color="#2598FF"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip0_2013_27">
|
||||
<rect width="81" height="81" fill="white" transform="translate(5 6)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
@@ -0,0 +1,58 @@
|
||||
<script setup lang="ts">
|
||||
import { ConfirmModal } from "#components";
|
||||
|
||||
const authStore = useAuthStore();
|
||||
const toast = useToast();
|
||||
const modal = useModal();
|
||||
const loading = ref(false);
|
||||
|
||||
const handleLogout = async () => {
|
||||
try {
|
||||
loading.value = true;
|
||||
await authStore.logoutAll();
|
||||
toast.add({
|
||||
description: "Other sessions have been logged out.",
|
||||
color: "green",
|
||||
});
|
||||
} catch (error) {
|
||||
toast.add({
|
||||
description: getErrorMessage(error),
|
||||
color: "red",
|
||||
});
|
||||
} finally {
|
||||
loading.value = false;
|
||||
}
|
||||
};
|
||||
|
||||
const handleClick = () => {
|
||||
modal.open(ConfirmModal, {
|
||||
title: "Logout of all sessions",
|
||||
text: "This will log you out on every other device. This session stays signed in.",
|
||||
color: "red",
|
||||
onConfirm: () => handleLogout(),
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<PageTitle
|
||||
title="Logout of all sessions"
|
||||
description="Logout of all devices"
|
||||
/>
|
||||
|
||||
<div class="flex flex-col items-center gap-2">
|
||||
<p class="text-center">
|
||||
Click the button below to log out every other session. This device stays
|
||||
signed in.
|
||||
</p>
|
||||
<div>
|
||||
<UButton color="red" :loading="loading" @click="handleClick">
|
||||
Logout
|
||||
</UButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
@@ -3,6 +3,7 @@ import useVuelidate from "@vuelidate/core";
|
||||
|
||||
const { required, minLength, maxLength, sameAs } = useValidations();
|
||||
const { updatePassword } = useServices();
|
||||
const authStore = useAuthStore();
|
||||
const toast = useToast();
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -22,11 +23,15 @@ const handleSubmit = async () => {
|
||||
|
||||
try {
|
||||
loadingSubmit.value = true;
|
||||
await updatePassword({
|
||||
const res = await updatePassword({
|
||||
currentPassword: state.oldPassword,
|
||||
password: state.password,
|
||||
});
|
||||
|
||||
if (res.access_token) {
|
||||
authStore.state.token = res.access_token;
|
||||
}
|
||||
|
||||
toast.add({ description: "Password is updated." });
|
||||
|
||||
v.value.$reset();
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
reserved?: boolean;
|
||||
price?: string;
|
||||
}>();
|
||||
|
||||
const features = [
|
||||
"One advertiser only",
|
||||
"No impression sharing or rotation",
|
||||
"Creative size: 4:1 aspect ratio",
|
||||
];
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex flex-col gap-4 border border-border rounded-xl p-6">
|
||||
<div class="flex items-start justify-between gap-3">
|
||||
<div>
|
||||
<p class="text-primary text-sm font-medium">4:1</p>
|
||||
<h3 class="text-xl font-bold mt-1">Tip page banner</h3>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<span class="text-4xl font-bold">$350.00</span>
|
||||
<span class="text-pale"> / month </span>
|
||||
</p>
|
||||
|
||||
<p class="text-pale">
|
||||
The high-visibility banner shown on creator tip pages across XMRChat.
|
||||
</p>
|
||||
|
||||
<ul class="flex flex-col gap-2">
|
||||
<li
|
||||
v-for="feature in features"
|
||||
:key="feature"
|
||||
class="flex items-center gap-2 text-sm"
|
||||
>
|
||||
<UIcon name="i-heroicons-check-16-solid" class="shrink-0" />
|
||||
<span>{{ feature }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p v-if="reserved" class="text-sm text-pale pt-2">
|
||||
Available to book 3/17/2027.
|
||||
</p>
|
||||
<p v-else class="text-sm text-pale pt-2">Available to book now.</p>
|
||||
</div>
|
||||
</template>
|
||||
@@ -0,0 +1,48 @@
|
||||
<script setup lang="ts">
|
||||
const rules = [
|
||||
{
|
||||
number: "01",
|
||||
title: "No scams or deceptive promotion",
|
||||
description:
|
||||
"Your service, identity, destination, and advertising claims must be legitimate and accurate. Phishing, impersonation, and misleading offers are not accepted. A campaign found breaking these rules after launch may be removed without a refund.",
|
||||
},
|
||||
{
|
||||
number: "02",
|
||||
title: "No illegal services",
|
||||
description:
|
||||
"Ads cannot promote unlawful products, services, content, or activity. We may ask for more information when the offering is unclear.",
|
||||
},
|
||||
{
|
||||
number: "03",
|
||||
title: "Every campaign is reviewed",
|
||||
description:
|
||||
"An admin checks the service and creative before anything goes live on tip pages.",
|
||||
},
|
||||
];
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<section class="pb-24">
|
||||
<div class="mb-8">
|
||||
<p class="text-primary text-sm font-medium">Before you submit</p>
|
||||
<h2 class="text-3xl font-bold mt-1">Advertising rules</h2>
|
||||
</div>
|
||||
|
||||
<ul class="flex flex-col gap-6">
|
||||
<li
|
||||
v-for="(rule, index) in rules"
|
||||
:key="rule.number"
|
||||
class="flex gap-4 sm:gap-6 pt-6"
|
||||
:class="{ 'border-t border-border': index > 0 }"
|
||||
>
|
||||
<span class="text-primary font-medium shrink-0 w-8">{{
|
||||
rule.number
|
||||
}}</span>
|
||||
<div>
|
||||
<h3 class="font-bold text-lg">{{ rule.title }}</h3>
|
||||
<p class="mt-2">{{ rule.description }}</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</template>
|
||||
@@ -0,0 +1,41 @@
|
||||
<script setup lang="ts">
|
||||
const { toCreateAd } = useRouteLocation();
|
||||
|
||||
const ads = [
|
||||
{
|
||||
url: "https://www.youtube.com/@historia_ciencia_o_ficcion",
|
||||
image: "/images/ads/image.png",
|
||||
},
|
||||
{
|
||||
url: "https://sageswap.io/",
|
||||
image: "/images/ads/image.jpg",
|
||||
},
|
||||
];
|
||||
|
||||
const activeAd = computed(() => ads[0]);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex flex-col flex-1 items-end">
|
||||
<ULink
|
||||
:to="activeAd.url"
|
||||
target="_blank"
|
||||
class="border border-border rounded-lg min-w-[300px] w-full flex items-center justify-center gap-4 overflow-hidden"
|
||||
>
|
||||
<!-- <p class="text-lg font-medium">Advertise with XMRChat</p> -->
|
||||
<!-- <img src="/images/xmrchat-logo.png" alt="XMRChat Logo" class="w-[80px]" /> -->
|
||||
<img :src="activeAd.image" alt="Ad" class="w-full h-full object-cover" />
|
||||
</ULink>
|
||||
<UButton
|
||||
size="xs"
|
||||
class="text-pale"
|
||||
variant="link"
|
||||
:padded="false"
|
||||
:to="toCreateAd()"
|
||||
>
|
||||
Your ad here
|
||||
</UButton>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
@@ -192,6 +192,40 @@ const linkProps = { padded: false, target: "_blank", variant: "link" } as any; /
|
||||
{{ $t("forContentCreators.description.streamyard") }}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-text font-medium pb-1">
|
||||
How to combine xmrchats with messages from other
|
||||
platforms:
|
||||
</h3>
|
||||
<div>
|
||||
<p>
|
||||
<span class="font-medium">1. LiveJoiner:</span> You can
|
||||
use
|
||||
<UButton to="https://joiner.live/" v-bind="linkProps">
|
||||
joiner.live
|
||||
</UButton>
|
||||
to get xmrchats and other platform messages in one
|
||||
place.
|
||||
</p>
|
||||
<p>
|
||||
<span class="font-medium">2. API:</span> You can use the
|
||||
API of XMRChat directly to get the list of tips for your
|
||||
page using
|
||||
<span class=""
|
||||
>"nest.xmrchat.com/tips/page/[your page path]"</span
|
||||
>
|
||||
URL.
|
||||
</p>
|
||||
<p>
|
||||
<span class="font-medium">3. Websocket:</span> You can
|
||||
get all xmrchats by connecting to
|
||||
<span class="">"nest.xmrchat.com/tips-broadcast"</span>
|
||||
socket io namespace and listening to
|
||||
<span class="">"tip"</span> event.
|
||||
</p>
|
||||
</div>
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -239,6 +273,12 @@ const linkProps = { padded: false, target: "_blank", variant: "link" } as any; /
|
||||
monerica.com
|
||||
</UButton>
|
||||
</template>
|
||||
|
||||
<template #shopinbit>
|
||||
<UButton to="https://shopinbit.com" v-bind="linkProps">
|
||||
shopinbit.com
|
||||
</UButton>
|
||||
</template>
|
||||
</I18nT>
|
||||
</p>
|
||||
</li>
|
||||
|
||||
@@ -19,23 +19,34 @@ const totalAmountFiat = computed(() => {
|
||||
<template>
|
||||
<div class="bg-primary text-white py-1 px-1.5">
|
||||
<div class="inner flex items-center justify-center">
|
||||
<div class="text-sm">
|
||||
Fans have sent
|
||||
<USkeleton v-if="pending" class="skeleton-inline w-8" />
|
||||
<span v-else class="font-bold">{{ totalTips?.tipsCount }}</span>
|
||||
superchats totaling
|
||||
<USkeleton v-if="pending" class="skeleton-inline w-12" />
|
||||
<span v-else class="font-bold">{{
|
||||
totalTips?.totalAmount?.toFixed(2)
|
||||
}}</span>
|
||||
Monero
|
||||
<USkeleton v-if="pending" class="skeleton-inline w-12" />
|
||||
<span v-else class="font-bold"> (${{ totalAmountFiat }}) </span>
|
||||
to
|
||||
<USkeleton v-if="pending" class="skeleton-inline w-8" />
|
||||
<span v-else class="font-bold">{{ totalTips?.pagesCount }}</span>
|
||||
content creators with XMRChat!
|
||||
</div>
|
||||
<I18nT
|
||||
keypath="fansTippingStats"
|
||||
tag="div"
|
||||
class="text-sm"
|
||||
scope="global"
|
||||
>
|
||||
<template #tipsCount>
|
||||
<USkeleton v-if="pending" class="skeleton-inline w-8" />
|
||||
<span v-else class="font-bold">{{ totalTips?.tipsCount }}</span>
|
||||
</template>
|
||||
|
||||
<template #totalAmount>
|
||||
<USkeleton v-if="pending" class="skeleton-inline w-12" />
|
||||
<span v-else class="font-bold">{{
|
||||
totalTips?.totalAmount?.toFixed(2)
|
||||
}}</span>
|
||||
</template>
|
||||
|
||||
<template #fiatAmount>
|
||||
<USkeleton v-if="pending" class="skeleton-inline w-12" />
|
||||
<span v-else class="font-bold">${{ totalAmountFiat }}</span>
|
||||
</template>
|
||||
|
||||
<template #pagesCount>
|
||||
<USkeleton v-if="pending" class="skeleton-inline w-8" />
|
||||
<span v-else class="font-bold">{{ totalTips?.pagesCount }}</span>
|
||||
</template>
|
||||
</I18nT>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -30,4 +30,8 @@ const type = computed(() => props.liveStream?.platform);
|
||||
v-if="type === LiveStreamPlatformEnum.PEERTUBE"
|
||||
:liveStream="liveStream"
|
||||
/>
|
||||
<LiveStreamX
|
||||
v-if="type === LiveStreamPlatformEnum.X"
|
||||
:liveStream="liveStream"
|
||||
/>
|
||||
</template>
|
||||
@@ -0,0 +1,30 @@
|
||||
<script setup lang="ts">
|
||||
import type { LiveStream } from "~/types";
|
||||
|
||||
const props = defineProps<{
|
||||
liveStream?: LiveStream;
|
||||
}>();
|
||||
|
||||
const broadcastId = computed(() => {
|
||||
const value = props.liveStream?.videoId;
|
||||
if (!value) return;
|
||||
const match = value.match(/\/i\/broadcasts\/([a-zA-Z0-9]+)/i);
|
||||
if (match) return match[1];
|
||||
if (/^[a-zA-Z0-9]+$/.test(value)) return value;
|
||||
});
|
||||
|
||||
const iframeUrl = computed(() => {
|
||||
if (!broadcastId.value) return;
|
||||
return `https://studio.x.com/embed/broadcast/${broadcastId.value}`;
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<iframe
|
||||
v-if="iframeUrl"
|
||||
:src="iframeUrl"
|
||||
allowfullscreen
|
||||
class="w-full aspect-[16/9] rounded-md"
|
||||
title="X Broadcast"
|
||||
></iframe>
|
||||
</template>
|
||||
@@ -32,7 +32,7 @@ const { axios } = useApp();
|
||||
const minSuperDmAmount = computed(
|
||||
() =>
|
||||
props.settings?.find((s) => s.key === PageSettingKey.SUPER_DM_MIN_AMOUNT)
|
||||
?.value
|
||||
?.value,
|
||||
);
|
||||
|
||||
const { minFiatAmount, price, minSwapFiatAmount, minXmr, minSwapXMR } =
|
||||
@@ -74,12 +74,12 @@ const v = useVuelidate<State["form"]>(
|
||||
minValue: minValue(
|
||||
generalState.tipDisplayValue === TipDisplayMode.XMR
|
||||
? minXmrValue
|
||||
: minFiatValue
|
||||
: minFiatValue,
|
||||
),
|
||||
},
|
||||
};
|
||||
}),
|
||||
computed(() => state.form)
|
||||
computed(() => state.form),
|
||||
);
|
||||
|
||||
const { getValidationAttrs } = useValidations(v);
|
||||
@@ -118,7 +118,7 @@ const renderInputPrefix = computed(() => {
|
||||
return fiat.value.symbol;
|
||||
});
|
||||
const renderInputPadding = computed(
|
||||
() => `${renderInputPrefix.value.length * 0.6 + 2}rem`
|
||||
() => `${renderInputPrefix.value.length * 0.6 + 2}rem`,
|
||||
);
|
||||
|
||||
const handleSubmit = async () => {
|
||||
@@ -134,7 +134,7 @@ const handleSubmit = async () => {
|
||||
xmrAmount = state.form.amount;
|
||||
} else {
|
||||
xmrAmount = (Number(state.form.amount) / (price.value as number)).toFixed(
|
||||
8
|
||||
8,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ const handleSubmit = async () => {
|
||||
<div class="both">
|
||||
<UFormGroup
|
||||
size="lg"
|
||||
label="Name"
|
||||
:label="$t('name')"
|
||||
:error="getValidationAttrs('name').error"
|
||||
name="name"
|
||||
>
|
||||
@@ -189,7 +189,7 @@ const handleSubmit = async () => {
|
||||
</UFormGroup>
|
||||
<UFormGroup
|
||||
size="lg"
|
||||
label="Amount"
|
||||
:label="$t('amount')"
|
||||
:error="getValidationAttrs('amount').error"
|
||||
name="amount"
|
||||
>
|
||||
@@ -251,7 +251,7 @@ const handleSubmit = async () => {
|
||||
<UAlert
|
||||
color="red"
|
||||
:description="state.errorMessage"
|
||||
title="SuperDM could not be started"
|
||||
:title="$t('superDMAlertTitle')"
|
||||
>
|
||||
</UAlert>
|
||||
</div>
|
||||
@@ -265,7 +265,7 @@ const handleSubmit = async () => {
|
||||
:loading="state.loading"
|
||||
class="flex items-center gap-2 w-fit"
|
||||
>
|
||||
Start SuperDM
|
||||
{{ $t("startSuperDM") }}
|
||||
</UButton>
|
||||
<UButton
|
||||
v-if="superDmConfigured"
|
||||
@@ -273,7 +273,7 @@ const handleSubmit = async () => {
|
||||
size="lg"
|
||||
@click="emit('recover')"
|
||||
>
|
||||
Open SuperDM
|
||||
{{ $t("openSuperDM") }}
|
||||
</UButton>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -12,7 +12,7 @@ const props = withDefaults(
|
||||
}>(),
|
||||
{
|
||||
endedByType: SuperDmMessageSenderTypeEnum.CREATOR,
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -23,13 +23,14 @@ const modal = useModal();
|
||||
const { axios } = useApp();
|
||||
const toast = useToast();
|
||||
const { dayjs } = useDate();
|
||||
const { t } = useI18n();
|
||||
|
||||
const loading = ref(false);
|
||||
|
||||
const handleEndSuperDmClick = async () => {
|
||||
const confirmModal = modal.open(ConfirmModal, {
|
||||
title: "End SuperDM",
|
||||
text: "Messages can no longer be sent in this SuperDM after it is ended.",
|
||||
title: t("endSuperDM"),
|
||||
text: t("endSuperDMText"),
|
||||
color: "red",
|
||||
onConfirm: () => {
|
||||
handleEndSuperDm();
|
||||
@@ -82,7 +83,7 @@ const handleEndSuperDm = async () => {
|
||||
v-if="superDm?.endedAt"
|
||||
class="text-xs text-pale flex flex-col items-end"
|
||||
>
|
||||
<span> Ended at </span>
|
||||
<span> {{ $t("endedAt") }} </span>
|
||||
<span>
|
||||
{{ dayjs(superDm.endedAt).format("L LT") }}
|
||||
</span>
|
||||
@@ -95,7 +96,7 @@ const handleEndSuperDm = async () => {
|
||||
:loading="loading"
|
||||
@click="handleEndSuperDmClick"
|
||||
>
|
||||
End SuperDM
|
||||
{{ $t("endSuperDM") }}
|
||||
</UButton>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -12,11 +12,9 @@ const emit = defineEmits<{
|
||||
<template>
|
||||
<div class="grid gap-2 mb-4">
|
||||
<UAlert color="primary" variant="subtle">
|
||||
<template #title> Save SuperDM id and Recovery code </template>
|
||||
<template #title> {{ $t("saveSuperDMIdAndKeyTitle") }} </template>
|
||||
<template #description>
|
||||
Please save SuperDM id and Recovery key. The keys can not be reused. You
|
||||
will not be able to recover/decrypt the messages without them. XMRChat
|
||||
will not store your recovery keys.
|
||||
{{ $t("saveSuperDMIdAndKeyDes") }}
|
||||
</template>
|
||||
</UAlert>
|
||||
|
||||
@@ -28,7 +26,7 @@ const emit = defineEmits<{
|
||||
</UFormGroup>
|
||||
<div class="flex justify-center">
|
||||
<UButton @click="emit('saved')" size="lg">
|
||||
I saved id and recovery key
|
||||
{{ $t("savedIdAndRecoveryCode") }}
|
||||
</UButton>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@ const handleRecover = async () => {
|
||||
}
|
||||
const samePrivateKeys = await validateSamePrivateKeys(
|
||||
keys.publicKeyArmored,
|
||||
props.superDmPublicKeyArmored
|
||||
props.superDmPublicKeyArmored,
|
||||
);
|
||||
|
||||
if (!samePrivateKeys) throw createError("Invalid recovery code");
|
||||
@@ -52,7 +52,7 @@ const v = useVuelidate<any>(
|
||||
{
|
||||
recoveryKey: { required },
|
||||
},
|
||||
state
|
||||
state,
|
||||
);
|
||||
|
||||
const { getValidationAttrs } = useValidations(v);
|
||||
@@ -61,26 +61,25 @@ const { getValidationAttrs } = useValidations(v);
|
||||
<template>
|
||||
<div class="max-w-[600px] mx-auto grid gap-4">
|
||||
<p class="">
|
||||
The recovery keys are not saved on this browser. Please enter the mnemonic
|
||||
phrase for this SuperDM to recover the messages.
|
||||
{{ $t("superDMKeysRecoveryTitle") }}
|
||||
</p>
|
||||
<p class="">
|
||||
<span class="font-medium">SuperDM id: </span>
|
||||
<span class="font-medium">{{ $t("superDMId") }}</span>
|
||||
<span class="">{{ superDmId }}</span>
|
||||
</p>
|
||||
<GeneralForm>
|
||||
<UFormGroup
|
||||
label="Mnemonic phrase"
|
||||
:label="$t('mnemonicPhrase')"
|
||||
:error="getValidationAttrs('recoveryKey').error"
|
||||
>
|
||||
<UInput
|
||||
v-model="state.recoveryKey"
|
||||
placeholder="Enter your mnemonic phrase"
|
||||
:placeholder="$t('enterYourMnemonicPhrase')"
|
||||
@blur="getValidationAttrs('recoveryKey').onBlur"
|
||||
/>
|
||||
</UFormGroup>
|
||||
<div class="flex justify-center mt-4">
|
||||
<UButton @click="handleRecover">Recover</UButton>
|
||||
<UButton @click="handleRecover">{{ $t("recover") }}</UButton>
|
||||
</div>
|
||||
</GeneralForm>
|
||||
</div>
|
||||
|
||||
@@ -45,12 +45,12 @@ const {
|
||||
const keys = await getSavedKey();
|
||||
return keys;
|
||||
},
|
||||
{ server: false }
|
||||
{ server: false },
|
||||
);
|
||||
|
||||
const getPublicKeySettings = async () => {
|
||||
const { data } = await axios.get<{ settings: PageSetting[] }>(
|
||||
`/super-dms/settings`
|
||||
`/super-dms/settings`,
|
||||
);
|
||||
return data.settings.find((s) => s.key === PageSettingKey.SUPER_DM_PUBLIC_KEY)
|
||||
?.value;
|
||||
@@ -102,7 +102,7 @@ const handleRecoverClick = async () => {
|
||||
|
||||
const samePrivateKeys = await validateSamePrivateKeys(
|
||||
keys.publicKeyArmored,
|
||||
publicKeySetting
|
||||
publicKeySetting,
|
||||
);
|
||||
if (!samePrivateKeys) throw createError("Invalid recovery code");
|
||||
|
||||
@@ -120,7 +120,7 @@ const v = useVuelidate<State>(
|
||||
computed(() => ({
|
||||
recoveryCode: { required },
|
||||
})),
|
||||
computed(() => state)
|
||||
computed(() => state),
|
||||
);
|
||||
|
||||
const { getValidationAttrs } = useValidations(v);
|
||||
@@ -128,28 +128,26 @@ const { getValidationAttrs } = useValidations(v);
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<h3 class="text-lg font-medium mb-2">Encryption Keys</h3>
|
||||
<h3 class="text-lg font-medium mb-2">{{ $t("encryptionKeys") }}</h3>
|
||||
<div v-if="pending">Loading...</div>
|
||||
<div v-else-if="error">{{ getErrorMessage(error) }}</div>
|
||||
|
||||
<template v-else>
|
||||
<div v-if="savedKeys" class="flex flex-col gap-2">
|
||||
<h3 class="font-medium">Backup your recovery code</h3>
|
||||
<h3 class="font-medium">{{ $t("backupRecoveryCode") }}</h3>
|
||||
<p>
|
||||
XMRChat only stores your public key. Your recovery code remains on
|
||||
your device.
|
||||
{{ $t("backupRecoveryCodeDes") }}
|
||||
</p>
|
||||
<UInput :modelValue="savedKeys?.mnemonic" readonly />
|
||||
</div>
|
||||
<div v-else-if="!state.generatedResult">
|
||||
<UFormGroup
|
||||
label="Recovery Code"
|
||||
:label="$t('recoveryCode')"
|
||||
:error="getValidationAttrs('recoveryCode').error"
|
||||
>
|
||||
<template #description>
|
||||
<p>
|
||||
Enter your recovery code or generate new keys. You won't be able
|
||||
to decrypt your previous messages after generating new keys.
|
||||
{{ $t("recoveryCodeDes") }}
|
||||
</p>
|
||||
</template>
|
||||
<UInput
|
||||
@@ -163,22 +161,20 @@ const { getValidationAttrs } = useValidations(v);
|
||||
:loading="state.loadingRecover"
|
||||
@click="handleRecoverClick"
|
||||
>
|
||||
Recover
|
||||
{{ $t("recover") }}
|
||||
</UButton>
|
||||
<UButton
|
||||
variant="ghost"
|
||||
@click="handleGenerateClick"
|
||||
:loading="state.loadingGenerate"
|
||||
>
|
||||
Generate new
|
||||
{{ $t("generateNew") }}
|
||||
</UButton>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else class="grid gap-2">
|
||||
<p>
|
||||
Please save your recovery code. You will need the recovery code to
|
||||
access your encrypted messages. If you clear cache or use different
|
||||
device you will need to enter the recovery code.
|
||||
{{ $t("pleaseSaveYourRecoveryCode") }}
|
||||
</p>
|
||||
<UInput
|
||||
:modelValue="state.generatedResult?.mnemonic"
|
||||
@@ -187,7 +183,7 @@ const { getValidationAttrs } = useValidations(v);
|
||||
/>
|
||||
<div>
|
||||
<UButton @click="handleSaveRecoveryCode">
|
||||
I saved the recovery code
|
||||
{{ $t("ISavedRecoveryCode") }}
|
||||
</UButton>
|
||||
</div>
|
||||
</div>
|
||||
@@ -196,23 +192,19 @@ const { getValidationAttrs } = useValidations(v);
|
||||
<UModal v-model="state.generateModal">
|
||||
<UCard>
|
||||
<template #header>
|
||||
<h2 class="text-lg font-medium">Generate new keys</h2>
|
||||
<h2 class="text-lg font-medium">{{ $t("generateNewKeys") }}</h2>
|
||||
</template>
|
||||
|
||||
<UAlert color="primary" variant="subtle">
|
||||
<template #description>
|
||||
If you generate new keys you will not be able to decrypt your
|
||||
previous messages. New messages will be encrypted with the new keys.
|
||||
</template>
|
||||
<template #description>{{ $t("generateNewKeysDes") }}</template>
|
||||
</UAlert>
|
||||
<div class="grid gap-2 mt-6">
|
||||
<p>
|
||||
If you forgot your recovery code or it is your first time using
|
||||
SuperDM, you can generate new encryption keys.
|
||||
{{ $t("ifForgotRecoveryCode") }}
|
||||
</p>
|
||||
<p>Click generate keys to setup the SuperDM encryption.</p>
|
||||
<p>{{ $t("clickGenerateKeys") }}</p>
|
||||
<p class="pt-4 text-sm text-pale">
|
||||
Please be ready to save your recovery code.
|
||||
{{ $t("beReadyToSaveRecoveryCode") }}
|
||||
</p>
|
||||
</div>
|
||||
<template #footer>
|
||||
@@ -222,9 +214,9 @@ const { getValidationAttrs } = useValidations(v);
|
||||
color="red"
|
||||
@click="state.generateModal = false"
|
||||
>
|
||||
Cancel
|
||||
{{ $t("cancel") }}
|
||||
</UButton>
|
||||
<UButton @click="handleGenerate">Generate keys</UButton>
|
||||
<UButton @click="handleGenerate">{{ $t("generateKeys") }}</UButton>
|
||||
</div>
|
||||
</template>
|
||||
</UCard>
|
||||
|
||||
@@ -24,7 +24,7 @@ const v = useVuelidate(
|
||||
{
|
||||
message: { required },
|
||||
},
|
||||
computed(() => ({ message: model.value }))
|
||||
computed(() => ({ message: model.value })),
|
||||
);
|
||||
|
||||
const { getValidationAttrs } = useValidations(v);
|
||||
@@ -33,15 +33,15 @@ const { getValidationAttrs } = useValidations(v);
|
||||
<template>
|
||||
<div class="flex gap-2 p-4 border-t border-border items-start">
|
||||
<div v-if="endedAt" class="flex flex-col items-center text-center flex-1">
|
||||
<p class="font-medium">SuperDM is ended.</p>
|
||||
<p class="font-medium">{{ $t("superDMIsEnded") }}</p>
|
||||
<p class="text-pale text-xs">
|
||||
SuperDM is ended at {{ dayjs(endedAt).format("L LT") }}.
|
||||
{{ $t("superDMIsEndedAt", { date: dayjs(endedAt).format("L LT") }) }}
|
||||
</p>
|
||||
</div>
|
||||
<template v-else>
|
||||
<UInput
|
||||
v-model="model"
|
||||
placeholder="Send a message..."
|
||||
:placeholder="$t('sendAMessage')"
|
||||
class="flex-grow"
|
||||
size="lg"
|
||||
@blur="getValidationAttrs('message').onBlur"
|
||||
|
||||
@@ -12,24 +12,20 @@ const { toStreamerSuperDmSettings, toStreamerNotificationPreferences } =
|
||||
<div class="flex flex-col items-center mt-6">
|
||||
<h3 class="text-lg font-medium text-center inline-flex items-center gap-2">
|
||||
<UIcon name="i-heroicons-exclamation-triangle" size="22px" />
|
||||
<span> SuperDMs are not configured. </span>
|
||||
<span>{{ $t("superDMNotConfiguredTitle") }}</span>
|
||||
</h3>
|
||||
<p class="text-pale text-center pt-2">
|
||||
Enabling SuperDMs will allow fans to pay you an amount you choose for the
|
||||
ability to start a private conversation with you. This is an end to end
|
||||
encrypted chat between you and the fan, no one else sees these messages
|
||||
(not even us!). Notifications need to be enabled for this feature so you
|
||||
are notified when a SuperDM arrives. Please respond quickly to your fans.
|
||||
{{ $t("superDMNotConfiguredDes") }}
|
||||
</p>
|
||||
<div class="mt-4 flex gap-2 flex-wrap">
|
||||
<UButton v-if="!settingsConfigured" :to="toStreamerSuperDmSettings()">
|
||||
Configure SuperDMs
|
||||
{{ $t("configureSuperDMs") }}
|
||||
</UButton>
|
||||
<UButton
|
||||
v-if="!notificationsActive"
|
||||
:to="toStreamerNotificationPreferences()"
|
||||
>
|
||||
Configure Notifications
|
||||
{{ $t("configureNotifications") }}
|
||||
</UButton>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -108,7 +108,7 @@ provide("paymentModalProvideKey", {
|
||||
<div class="flex mb-2" v-if="!showKeys">
|
||||
<UButton variant="link" :padded="false" @click="showKeys = true">
|
||||
<DirectionalArrow direction="backward" />
|
||||
Show keys
|
||||
{{ $t("showKeys") }}
|
||||
</UButton>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ const handleRecover = async () => {
|
||||
try {
|
||||
state.loading = true;
|
||||
const { data } = await axios.get<{ superDm: SuperDm }>(
|
||||
`/super-dms/${state.superDmId}`
|
||||
`/super-dms/${state.superDmId}`,
|
||||
);
|
||||
if (!data.superDm) {
|
||||
throw createError("SuperDM not found");
|
||||
@@ -54,7 +54,7 @@ const handleRecover = async () => {
|
||||
|
||||
const samePrivateKeys = await validateSamePrivateKeys(
|
||||
data.superDm.publicKey,
|
||||
keys.publicKeyArmored
|
||||
keys.publicKeyArmored,
|
||||
);
|
||||
|
||||
if (!samePrivateKeys) {
|
||||
@@ -86,7 +86,7 @@ const v = useVuelidate<any>(
|
||||
superDmId: { required },
|
||||
recoveryCode: { required },
|
||||
},
|
||||
state
|
||||
state,
|
||||
);
|
||||
|
||||
const { getValidationAttrs } = useValidations(v);
|
||||
@@ -102,14 +102,14 @@ watch(model, () => {
|
||||
<UModal v-model="model">
|
||||
<UCard>
|
||||
<template #header>
|
||||
<h2 class="text-lg font-medium">Continue SuperDM</h2>
|
||||
<h2 class="text-lg font-medium">{{ $t("continueSuperDM") }}</h2>
|
||||
</template>
|
||||
<div class="grid gap-2">
|
||||
<div v-if="savedKeys?.length">
|
||||
<div class="flex flex-col items-center">
|
||||
<h3 class="font-medium">Saved keys</h3>
|
||||
<h3 class="font-medium">{{ $t("savedKeys") }}</h3>
|
||||
<p class="text-sm text-pale text-center">
|
||||
You can use the saved keys to continue the SuperDM messages.
|
||||
{{ $t("useSavedKeys") }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="pt-6 grid gap-2">
|
||||
@@ -123,7 +123,9 @@ watch(model, () => {
|
||||
}"
|
||||
>
|
||||
<div class="flex flex-col">
|
||||
<span class="font-medium whitespace-nowrap">SuperDM id:</span>
|
||||
<span class="font-medium whitespace-nowrap">{{
|
||||
$t("superDMId")
|
||||
}}</span>
|
||||
<span class="truncate">{{ item.superDmId }}</span>
|
||||
</div>
|
||||
<div class="flex justify-end pt-2">
|
||||
@@ -131,7 +133,7 @@ watch(model, () => {
|
||||
:to="toSuperDm(props.pagePath!, item.superDmId)"
|
||||
variant="ghost"
|
||||
>
|
||||
Use <DirectionalArrow
|
||||
{{ $t("use") }} <DirectionalArrow
|
||||
/></UButton>
|
||||
</div>
|
||||
</UCard>
|
||||
@@ -140,7 +142,7 @@ watch(model, () => {
|
||||
<UDivider class="my-4" label="OR" />
|
||||
</div>
|
||||
|
||||
<p class="text-center">Enter the SuperDM id and recovery code.</p>
|
||||
<p class="text-center">{{ $t("enterSuperDMIdAndRecoveryCode") }}</p>
|
||||
|
||||
<UFormGroup
|
||||
label="SuperDM id"
|
||||
@@ -163,9 +165,11 @@ watch(model, () => {
|
||||
</div>
|
||||
<template #footer>
|
||||
<div class="flex gap-2 justify-end">
|
||||
<UButton variant="ghost" @click="handleHide">Cancel</UButton>
|
||||
<UButton variant="ghost" @click="handleHide">{{
|
||||
$t("cancel")
|
||||
}}</UButton>
|
||||
<UButton @click="handleRecover" :loading="state.loading">
|
||||
Continue
|
||||
{{ $t("continue") }}
|
||||
</UButton>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -26,19 +26,19 @@ const state = reactive<State>({
|
||||
useLazyAsyncData(
|
||||
async () => {
|
||||
const { data } = await axios.get<{ settings: PageSetting[] }>(
|
||||
`/super-dms/settings`
|
||||
`/super-dms/settings`,
|
||||
);
|
||||
const active = data.settings.find(
|
||||
(s) => s.key === PageSettingKey.SUPER_DM_ACTIVE
|
||||
(s) => s.key === PageSettingKey.SUPER_DM_ACTIVE,
|
||||
)?.value;
|
||||
const minAmount = data.settings.find(
|
||||
(s) => s.key === PageSettingKey.SUPER_DM_MIN_AMOUNT
|
||||
(s) => s.key === PageSettingKey.SUPER_DM_MIN_AMOUNT,
|
||||
)?.value;
|
||||
|
||||
state.form.superDmActive = active;
|
||||
state.form.minSuperDmAmount = minAmount;
|
||||
},
|
||||
{ server: false }
|
||||
{ server: false },
|
||||
);
|
||||
|
||||
const handleSubmit = async () => {
|
||||
@@ -61,7 +61,7 @@ const v = useVuelidate<State["form"]>(
|
||||
computed(() => ({
|
||||
minSuperDmAmount: { required, numberic },
|
||||
})),
|
||||
computed(() => state.form)
|
||||
computed(() => state.form),
|
||||
);
|
||||
|
||||
const { getValidationAttrs } = useValidations(v);
|
||||
@@ -79,10 +79,10 @@ const { getValidationAttrs } = useValidations(v);
|
||||
<UToggle v-model="state.form.superDmActive" size="lg" />
|
||||
</UFormGroup>
|
||||
<UFormGroup
|
||||
label="Min. SuperDM amount ( XMR )"
|
||||
:label="$t('minSuperDMAmount')"
|
||||
name="minSuperDmAmount"
|
||||
:error="getValidationAttrs('minSuperDmAmount').error"
|
||||
help="The minimum amount a fan needs to send to you to start a SuperDM."
|
||||
:help="$t('minSuperDMAmountHelp')"
|
||||
>
|
||||
<UInput
|
||||
v-model="state.form.minSuperDmAmount"
|
||||
@@ -93,7 +93,7 @@ const { getValidationAttrs } = useValidations(v);
|
||||
</div>
|
||||
<div class="flex pt-6">
|
||||
<UButton :loading="state.loadingSave" @click="handleSubmit">
|
||||
Save
|
||||
{{ $t("save") }}
|
||||
</UButton>
|
||||
</div>
|
||||
</GeneralForm>
|
||||
|
||||
@@ -10,9 +10,9 @@ const modelRef = ref(false);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UButton variant="ghost" size="xs" @click="modelRef = true"
|
||||
>Show Recovery Code</UButton
|
||||
>
|
||||
<UButton variant="ghost" size="xs" @click="modelRef = true">{{
|
||||
$t("showRecoveryCode")
|
||||
}}</UButton>
|
||||
<SuperDmShowRecoveryModal
|
||||
:pagePath="pagePath"
|
||||
:superDmId="superDmId"
|
||||
|
||||
@@ -35,14 +35,13 @@ watch(model, () => {
|
||||
<UModal v-model="model">
|
||||
<UCard>
|
||||
<template #header>
|
||||
<h2 class="text-lg font-medium">SuperDM recovery codes</h2>
|
||||
<h2 class="text-lg font-medium">
|
||||
{{ $t("superDMRecoveryCodesTitle") }}
|
||||
</h2>
|
||||
</template>
|
||||
<div class="grid gap-2">
|
||||
<p>
|
||||
The recovery codes are not saved on the server. Please save the
|
||||
recovery code. You will need the recovery code and SuperDM id to
|
||||
access your encrypted messages. If you clear cache or use different
|
||||
device you will need to enter the recovery code.
|
||||
{{ $t("superDMRecoveryCodesDes") }}
|
||||
</p>
|
||||
|
||||
<UFormGroup label="SuperDM id">
|
||||
@@ -59,7 +58,9 @@ watch(model, () => {
|
||||
</div>
|
||||
<template #footer>
|
||||
<div class="flex gap-2 justify-end">
|
||||
<UButton variant="ghost" @click="handleHide">Close</UButton>
|
||||
<UButton variant="ghost" @click="handleHide">{{
|
||||
$t("close")
|
||||
}}</UButton>
|
||||
</div>
|
||||
</template>
|
||||
</UCard>
|
||||
|
||||
@@ -14,6 +14,7 @@ const emit = defineEmits<{
|
||||
}>();
|
||||
|
||||
const { expired, remaining, initialize } = usePaymentExpiration();
|
||||
const { t } = useI18n();
|
||||
|
||||
const renderStatusClassName = computed(() => {
|
||||
return `text-${
|
||||
@@ -22,19 +23,17 @@ const renderStatusClassName = computed(() => {
|
||||
});
|
||||
|
||||
const showCountdown = computed(
|
||||
() => props.createdTip?.swap?.status === SwapStatusEnum.WAITING
|
||||
() => props.createdTip?.swap?.status === SwapStatusEnum.WAITING,
|
||||
);
|
||||
|
||||
const renderStatusMessage = computed(() => {
|
||||
const status = props.createdTip?.swap?.status;
|
||||
|
||||
if (status === SwapStatusEnum.WAITING) return "Waiting for payment.";
|
||||
if (status === SwapStatusEnum.WAITING) return t("swapStatusMessage.waiting");
|
||||
if (status === SwapStatusEnum.CONFIRMING)
|
||||
return "Waiting for blockchain confirmation.";
|
||||
if (status === SwapStatusEnum.SENDING)
|
||||
return "Swap is being sent to XMRChat.";
|
||||
if (status === SwapStatusEnum.FAILED)
|
||||
return "Swap failed, please contact Trocador support.";
|
||||
return t("swapStatusMessage.confirming");
|
||||
if (status === SwapStatusEnum.SENDING) return t("swapStatusMessage.sending");
|
||||
if (status === SwapStatusEnum.FAILED) return t("swapStatusMessage.failed");
|
||||
|
||||
return undefined;
|
||||
});
|
||||
@@ -44,7 +43,7 @@ const showLoading = computed(() =>
|
||||
SwapStatusEnum.WAITING,
|
||||
SwapStatusEnum.CONFIRMING,
|
||||
SwapStatusEnum.SENDING,
|
||||
].includes(props.createdTip?.swap?.status!)
|
||||
].includes(props.createdTip?.swap?.status!),
|
||||
);
|
||||
|
||||
const showAddress = computed(() => {
|
||||
@@ -73,15 +72,15 @@ const renderMessage = computed(() => {
|
||||
SwapStatusEnum.FINISHED,
|
||||
].includes(status)
|
||||
)
|
||||
return "Payment received.";
|
||||
return t("paymentReceived");
|
||||
|
||||
return undefined;
|
||||
});
|
||||
|
||||
const renderCancelText = computed(() => {
|
||||
const status = props.createdTip?.swap?.status!;
|
||||
if (status !== SwapStatusEnum.WAITING) return "Close";
|
||||
return "Cancel";
|
||||
if (status !== SwapStatusEnum.WAITING) return t("close");
|
||||
return t("cancel");
|
||||
});
|
||||
|
||||
const showETA = computed(() => {
|
||||
@@ -95,13 +94,13 @@ watch(
|
||||
(v) => {
|
||||
if (v) initialize(v);
|
||||
},
|
||||
{ immediate: true }
|
||||
{ immediate: true },
|
||||
);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<TipPaymentViewContainer
|
||||
title="Send Tip"
|
||||
:title="$t('sendTip')"
|
||||
@cancel="emit('cancel')"
|
||||
:cancelText="renderCancelText"
|
||||
:expiresAt="props.createdTip?.tip.expiresAt"
|
||||
@@ -115,15 +114,13 @@ watch(
|
||||
>
|
||||
<template #description>
|
||||
<p class="text-base">
|
||||
Swap failed. Please visit the Trocador link below to check the
|
||||
status and cancel the swap if necessary.
|
||||
{{ $t("tipSwapFailed") }}
|
||||
</p>
|
||||
</template>
|
||||
</UAlert>
|
||||
|
||||
<p class="text-red-500 text-center" v-else-if="expired">
|
||||
Payment is expired. If you have already sent your payment please contact
|
||||
support.
|
||||
{{ $t("paymentExpired") }}
|
||||
</p>
|
||||
|
||||
<template v-else>
|
||||
@@ -131,13 +128,17 @@ watch(
|
||||
<UAlert color="emerald" variant="subtle" v-if="renderMessage">
|
||||
<template #description>
|
||||
<p class="text-base" v-if="renderMessage === 'DEFAULT'">
|
||||
Please send
|
||||
<span class="font-bold">exactly </span>
|
||||
<span class="font-bold"
|
||||
>{{ createdTip?.swap?.inputAmount }}
|
||||
{{ createdTip?.swap?.coin?.name }}</span
|
||||
>
|
||||
to this address for your xmrchat to be displayed.
|
||||
<I18nT keypath="swapPaymentSend" scope="global">
|
||||
<template #exactly>
|
||||
<span class="font-bold">{{ $t("exactly") }}</span>
|
||||
</template>
|
||||
<template #amount>
|
||||
<span class="font-bold"
|
||||
>{{ createdTip?.swap?.inputAmount }}
|
||||
{{ createdTip?.swap?.coin?.name }}</span
|
||||
>
|
||||
</template>
|
||||
</I18nT>
|
||||
</p>
|
||||
<p class="text-base" v-else>
|
||||
{{ renderMessage }}
|
||||
@@ -186,7 +187,7 @@ watch(
|
||||
|
||||
<div class="p-2 rounded-lg border border-border mt-2">
|
||||
<div v-if="createdTip?.swap" class="text-center text-sm">
|
||||
<span>Swap Status: </span>
|
||||
<span>{{ $t("swapStatus") }}</span>
|
||||
<span :class="[renderStatusClassName]">{{
|
||||
SWAP_STATUSES[createdTip.swap.status as SwapStatusEnum]?.label
|
||||
}}</span>
|
||||
@@ -196,17 +197,20 @@ watch(
|
||||
class="text-pale text-xs text-center mt-1"
|
||||
v-if="showETA && createdTip?.swap?.eta"
|
||||
>
|
||||
Swap ETA is about {{ createdTip?.swap?.eta }} minutes.
|
||||
{{ $t("swapETA", { eta: createdTip?.swap?.eta }) }}
|
||||
</p>
|
||||
<div class="text-pale text-xs text-center mt-1">
|
||||
You can track your swap directly from
|
||||
<ULink
|
||||
target="_blank"
|
||||
class="text-primary"
|
||||
:to="`https://trocador.app/en/checkout/${createdTip?.swap?.swapId}`"
|
||||
>
|
||||
Trocador </ULink
|
||||
>.
|
||||
<I18nT keypath="trackSwap" scope="global">
|
||||
<template #trocador>
|
||||
<ULink
|
||||
target="_blank"
|
||||
class="text-primary"
|
||||
:to="`https://trocador.app/en/checkout/${createdTip?.swap?.swapId}`"
|
||||
>
|
||||
Trocador
|
||||
</ULink>
|
||||
</template>
|
||||
</I18nT>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,186 @@
|
||||
<script setup lang="ts">
|
||||
import type { Dayjs } from "dayjs";
|
||||
import type { TipGoal } from "~/types";
|
||||
import { TipDisplayMode, type FiatEnum } from "~/types/enums";
|
||||
|
||||
const props = defineProps<{
|
||||
path?: string;
|
||||
fiat?: FiatEnum;
|
||||
tipGoal?: TipGoal;
|
||||
}>();
|
||||
|
||||
const { axios } = useApp();
|
||||
const { dayjs } = useDate();
|
||||
|
||||
const { state: generalState } = useGeneralStore();
|
||||
const { xmrToFiat } = useXmrPrice();
|
||||
const { money } = useMoney();
|
||||
|
||||
const modalRef = ref(false);
|
||||
|
||||
const nowDayjsRef = ref<Dayjs | undefined>(undefined);
|
||||
const nowDayjs = computed(() => nowDayjsRef.value ?? dayjs());
|
||||
|
||||
const { data, refresh } = useLazyAsyncData(
|
||||
`tip-goal-${props.path}`,
|
||||
async () => {
|
||||
const { data } = await axios.get<{ tipsAmount: number }>(
|
||||
`/tip-goals/tips/${props.path}`,
|
||||
);
|
||||
|
||||
return data;
|
||||
},
|
||||
{ server: false },
|
||||
);
|
||||
|
||||
const interval = ref<NodeJS.Timeout | undefined>(undefined);
|
||||
const nowInterval = ref<NodeJS.Timeout | undefined>(undefined);
|
||||
|
||||
onMounted(() => {
|
||||
startTipsInterval();
|
||||
nowInterval.value = setInterval(() => {
|
||||
nowDayjsRef.value = dayjs();
|
||||
}, 4000);
|
||||
});
|
||||
|
||||
const startTipsInterval = () => {
|
||||
stopTipsInterval();
|
||||
interval.value = setInterval(() => refresh(), 8000);
|
||||
};
|
||||
|
||||
const stopTipsInterval = () => {
|
||||
clearInterval(interval.value);
|
||||
};
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
stopTipsInterval();
|
||||
clearInterval(nowInterval.value);
|
||||
});
|
||||
|
||||
const getComputedPrice = (xmr?: number) => {
|
||||
if (!xmr) return 0;
|
||||
const fiat = xmrToFiat(xmr, props.fiat);
|
||||
return generalState.tipDisplayValue === TipDisplayMode.XMR
|
||||
? `${xmr} XMR`
|
||||
: money(fiat.toFixed(2), props.fiat);
|
||||
};
|
||||
|
||||
const percentage = computed(() => {
|
||||
const amount = Number(props.tipGoal?.amount) ?? 0;
|
||||
const tipsAmount = Number(data.value?.tipsAmount) ?? 0;
|
||||
if (!amount || !tipsAmount) return 0;
|
||||
return Math.round((tipsAmount / amount) * 100);
|
||||
});
|
||||
|
||||
const startLeft = computed(() => {
|
||||
const startTime = props.tipGoal?.startTime;
|
||||
if (!startTime) return undefined;
|
||||
|
||||
const startTimeDayjs = dayjs(startTime);
|
||||
|
||||
if (startTimeDayjs.isBefore(nowDayjs.value)) return undefined;
|
||||
|
||||
return `Starts ${dayjs(startTime).fromNow()}`;
|
||||
});
|
||||
|
||||
const isEnded = computed(() => {
|
||||
const endTime = props.tipGoal?.endTime;
|
||||
if (!endTime) return false;
|
||||
return dayjs(endTime).isBefore(nowDayjs.value);
|
||||
});
|
||||
|
||||
const timeLeft = computed(() => {
|
||||
const endTime = props.tipGoal?.endTime;
|
||||
if (!endTime) return "No end time";
|
||||
// Added to keep the timeLeft reactive
|
||||
const now = nowDayjs.value;
|
||||
return `Ends ${dayjs(endTime).fromNow()}`;
|
||||
});
|
||||
|
||||
const isCompleted = computed(() => {
|
||||
return percentage.value >= 100;
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<div class="flex flex-col gap-1">
|
||||
<div class="flex justify-between items-center gap-2">
|
||||
<div class="flex items-center gap-2 min-w-0 flex-1">
|
||||
<span class="truncate">{{ tipGoal?.name }}</span>
|
||||
<UButton
|
||||
v-if="tipGoal?.description"
|
||||
icon="i-heroicons-information-circle"
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
color="gray"
|
||||
@click="modalRef = true"
|
||||
/>
|
||||
</div>
|
||||
<span class="whitespace-nowrap">{{
|
||||
getComputedPrice(Number(tipGoal?.amount))
|
||||
}}</span>
|
||||
</div>
|
||||
<div
|
||||
:class="[
|
||||
'w-full flex justify-center items-center bg-background-2 rounded-full overflow-hidden h-4 relative',
|
||||
{ 'tip-goal-progress--completed': isCompleted },
|
||||
]"
|
||||
>
|
||||
<div
|
||||
class="bg-primary h-full rounded-full absolute left-0 top-0 z-0 max-w-full"
|
||||
:style="`width: ${Math.min(percentage, 100)}%`"
|
||||
></div>
|
||||
<div class="text-xs relative z-40">
|
||||
{{ getComputedPrice(data?.tipsAmount) }} ({{ percentage }}%)
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-between">
|
||||
<div>
|
||||
<span v-if="startLeft" class="text-sm text-pale">{{
|
||||
startLeft
|
||||
}}</span>
|
||||
</div>
|
||||
<div>
|
||||
<span v-if="isEnded" class="text-sm text-pale">{{
|
||||
$t("timeIsEnded")
|
||||
}}</span>
|
||||
<span v-else class="text-sm text-pale">{{ timeLeft }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<UModal v-model="modalRef">
|
||||
<UCard>
|
||||
<template #header>
|
||||
<h2 class="text-lg font-medium">{{ tipGoal?.name }}</h2>
|
||||
</template>
|
||||
<div class="">
|
||||
<div>{{ tipGoal?.description }}</div>
|
||||
</div>
|
||||
|
||||
<template #footer>
|
||||
<UButton variant="soft" @click="modalRef = false">{{
|
||||
$t("close")
|
||||
}}</UButton>
|
||||
</template>
|
||||
</UCard>
|
||||
</UModal>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.tip-goal-progress--completed {
|
||||
animation: tip-goal-shadow-pulse 1.8s infinite;
|
||||
}
|
||||
|
||||
@keyframes tip-goal-shadow-pulse {
|
||||
0%,
|
||||
100% {
|
||||
box-shadow: 0 0 0 0 rgb(var(--color-primary-500) / 0.4);
|
||||
}
|
||||
70% {
|
||||
box-shadow: 0 0 12px 4px rgb(var(--color-primary-500) / 0.25);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,226 @@
|
||||
<script setup lang="ts">
|
||||
import useVuelidate from "@vuelidate/core";
|
||||
import { helpers } from "@vuelidate/validators";
|
||||
import type { TipGoal } from "~/types";
|
||||
|
||||
interface State {
|
||||
form: {
|
||||
name?: string;
|
||||
amount?: string;
|
||||
startTime?: string;
|
||||
endTime?: string;
|
||||
description?: string;
|
||||
isActive: boolean;
|
||||
};
|
||||
tipGoal: TipGoal | undefined;
|
||||
loading: boolean;
|
||||
loadingData: boolean;
|
||||
}
|
||||
|
||||
const props = defineProps<{
|
||||
editable?: boolean;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits<{
|
||||
update: [];
|
||||
}>();
|
||||
|
||||
const { required, maxLength, numberic } = useValidations();
|
||||
const { toStreamerTipGoal, toCreateStreamerTipGoal } = useRouteLocation();
|
||||
const { axios } = useApp();
|
||||
const toast = useToast();
|
||||
const { dayjs } = useDate();
|
||||
const { t } = useI18n();
|
||||
const DEFAULT_FORMAT = "YYYY-MM-DDTHH:mm";
|
||||
|
||||
const state: State = reactive({
|
||||
form: {
|
||||
name: undefined,
|
||||
amount: undefined,
|
||||
startTime: undefined,
|
||||
endTime: undefined,
|
||||
description: undefined,
|
||||
isActive: true,
|
||||
},
|
||||
tipGoal: undefined,
|
||||
loading: false,
|
||||
loadingData: false,
|
||||
});
|
||||
|
||||
const toDatetimeLocal = (value?: string) => {
|
||||
if (!value) return undefined;
|
||||
const date = dayjs(value);
|
||||
if (!date.isValid()) return undefined;
|
||||
return date.format("YYYY-MM-DDTHH:mm");
|
||||
};
|
||||
|
||||
const toIsoString = (value?: string) => {
|
||||
if (!value) return undefined;
|
||||
const date = dayjs(value);
|
||||
if (!date.isValid()) return undefined;
|
||||
return date.toISOString();
|
||||
};
|
||||
|
||||
useLazyAsyncData(
|
||||
async () => {
|
||||
if (!props.editable) return;
|
||||
|
||||
state.loadingData = true;
|
||||
try {
|
||||
const { data } = await axios.get<{ tipGoal: TipGoal | null }>(
|
||||
`/tip-goals`,
|
||||
);
|
||||
if (!data.tipGoal) {
|
||||
await navigateTo(toCreateStreamerTipGoal());
|
||||
return;
|
||||
}
|
||||
|
||||
state.form.name = data.tipGoal.name;
|
||||
state.form.amount = data.tipGoal.amount;
|
||||
state.form.startTime = toDatetimeLocal(data.tipGoal.startTime);
|
||||
state.form.endTime = toDatetimeLocal(data.tipGoal.endTime);
|
||||
state.form.description = data.tipGoal.description;
|
||||
state.form.isActive = data.tipGoal.isActive;
|
||||
state.tipGoal = data.tipGoal;
|
||||
} finally {
|
||||
state.loadingData = false;
|
||||
}
|
||||
},
|
||||
{ server: false },
|
||||
);
|
||||
|
||||
const handleSubmit = async () => {
|
||||
const valid = await v.value.$validate();
|
||||
if (!valid) return;
|
||||
|
||||
state.loading = true;
|
||||
try {
|
||||
const payload = {
|
||||
name: state.form.name,
|
||||
amount: String(state.form.amount),
|
||||
startTime: toIsoString(state.form.startTime),
|
||||
endTime: toIsoString(state.form.endTime),
|
||||
description: state.form.description || undefined,
|
||||
isActive: state.form.isActive,
|
||||
};
|
||||
|
||||
if (props.editable) {
|
||||
await axios.put(`/tip-goals`, payload);
|
||||
} else {
|
||||
await axios.post(`/tip-goals`, payload);
|
||||
}
|
||||
|
||||
toast.add({
|
||||
description: props.editable ? t("tipGoalUpdated") : t("tipGoalCreated"),
|
||||
color: "green",
|
||||
});
|
||||
// await navigateTo(toStreamerTipGoal());
|
||||
emit("update");
|
||||
} catch (error) {
|
||||
toast.add({
|
||||
description: getErrorMessage(error),
|
||||
color: "red",
|
||||
});
|
||||
} finally {
|
||||
state.loading = false;
|
||||
}
|
||||
};
|
||||
|
||||
const v = useVuelidate<any>(
|
||||
computed(() => ({
|
||||
name: { required, maxLength: maxLength(80) },
|
||||
amount: { required, numberic },
|
||||
startTime: { required },
|
||||
endTime: {
|
||||
afterDate: helpers.withMessage(
|
||||
"End should be after start.",
|
||||
(value: any) =>
|
||||
value ? dayjs(value).isAfter(state.form.startTime) : true,
|
||||
),
|
||||
},
|
||||
description: { maxLength: maxLength(255) },
|
||||
})),
|
||||
computed(() => state.form),
|
||||
);
|
||||
|
||||
const { getValidationAttrs } = useValidations(v);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<GeneralForm @submit="handleSubmit">
|
||||
<div class="flex gap-4 flex-col w-full max-w-[600px] m-auto">
|
||||
<UFormGroup label="Name" :error="getValidationAttrs('name').error">
|
||||
<UInput
|
||||
v-model="state.form.name"
|
||||
@blur="getValidationAttrs('name').onBlur"
|
||||
/>
|
||||
</UFormGroup>
|
||||
|
||||
<UFormGroup
|
||||
:label="$t('amountXMR')"
|
||||
:error="getValidationAttrs('amount').error"
|
||||
>
|
||||
<UInput
|
||||
v-model="state.form.amount"
|
||||
@blur="getValidationAttrs('amount').onBlur"
|
||||
/>
|
||||
</UFormGroup>
|
||||
|
||||
<UFormGroup
|
||||
:label="$t('start')"
|
||||
:error="getValidationAttrs('startTime').error"
|
||||
>
|
||||
<UInput
|
||||
v-model="state.form.startTime"
|
||||
type="datetime-local"
|
||||
@blur="getValidationAttrs('startTime').onBlur"
|
||||
/>
|
||||
</UFormGroup>
|
||||
|
||||
<UFormGroup
|
||||
:label="$t('end')"
|
||||
:error="getValidationAttrs('endTime').error"
|
||||
>
|
||||
<template #hint>
|
||||
<span class="text-xs">{{ $t("optional") }}</span>
|
||||
</template>
|
||||
<UInput
|
||||
v-model="state.form.endTime"
|
||||
type="datetime-local"
|
||||
@blur="getValidationAttrs('endTime').onBlur"
|
||||
/>
|
||||
</UFormGroup>
|
||||
|
||||
<UFormGroup
|
||||
:label="$t('description')"
|
||||
:error="getValidationAttrs('description').error"
|
||||
>
|
||||
<template #hint>
|
||||
<span class="text-xs">{{ $t("optional") }}</span>
|
||||
</template>
|
||||
<UTextarea
|
||||
v-model="state.form.description"
|
||||
@blur="getValidationAttrs('description').onBlur"
|
||||
/>
|
||||
</UFormGroup>
|
||||
|
||||
<UFormGroup>
|
||||
<UCheckbox v-model="state.form.isActive" :label="$t('isActive')">
|
||||
<template #help>
|
||||
{{ $t("isActiveHelp") }}
|
||||
</template>
|
||||
</UCheckbox>
|
||||
</UFormGroup>
|
||||
|
||||
<div class="mt-4">
|
||||
<UButton type="submit" :loading="state.loading">
|
||||
{{ $t("save") }}
|
||||
</UButton>
|
||||
</div>
|
||||
</div>
|
||||
</GeneralForm>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
@@ -52,7 +52,7 @@ const dropdownItems = computed<DropdownItem[][]>(() => {
|
||||
},
|
||||
slot: "obs",
|
||||
},
|
||||
]
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ const dropdownItems = computed<DropdownItem[][]>(() => {
|
||||
logout();
|
||||
},
|
||||
},
|
||||
]
|
||||
],
|
||||
);
|
||||
|
||||
return res;
|
||||
@@ -126,15 +126,28 @@ const dropdownItems = computed<DropdownItem[][]>(() => {
|
||||
trailing-icon="i-heroicons-chevron-down-20-solid"
|
||||
/>
|
||||
</UDropdown> -->
|
||||
<UButton :to="toStreamer('xmrchat')" variant="soft">
|
||||
<UIcon name="i-tabler-heart" size="20" />
|
||||
<span class="hidden md:inline-flex"> {{ $t("donate") }} </span>
|
||||
</UButton>
|
||||
<UButton
|
||||
v-if="authStore.isLoggedIn"
|
||||
icon="i-heroicons-user"
|
||||
:to="toStreamerDisplay()"
|
||||
>
|
||||
{{ t("account") }}
|
||||
<span class="hidden md:inline-flex">
|
||||
{{ t("account") }}
|
||||
</span>
|
||||
</UButton>
|
||||
<UButton v-else :to="toLogin()">
|
||||
<span class="truncate max-w-[100px] sm:max-w-[100%]">
|
||||
<UIcon
|
||||
name="i-heroicons-arrow-right-end-on-rectangle-solid"
|
||||
size="20"
|
||||
class="md:hidden"
|
||||
/>
|
||||
<span
|
||||
class="truncate max-w-[100px] sm:max-w-[100%] hidden md:inline-flex"
|
||||
>
|
||||
{{ t("creatorLogin") }}
|
||||
</span>
|
||||
</UButton>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import type { Tip, TipReplySettings } from "~/types";
|
||||
import { TipSourceEnum } from "~/types/enums";
|
||||
|
||||
const props = defineProps<{
|
||||
item: Tip;
|
||||
@@ -10,7 +11,7 @@ const props = defineProps<{
|
||||
name?: string;
|
||||
}>();
|
||||
|
||||
const { getPageTierColor } = useConstants();
|
||||
const { getPageTierColor, getTipSource } = useConstants();
|
||||
|
||||
const tier = computed(() => props.item.pageTipTier);
|
||||
const tierColor = computed(() => tier.value?.color);
|
||||
@@ -82,12 +83,15 @@ watch(
|
||||
>
|
||||
<div :style="headingStyle">
|
||||
<div class="flex justify-between items-center">
|
||||
<p
|
||||
class="pb-1 text-base font-medium"
|
||||
:class="{ 'opacity-80': item.private }"
|
||||
>
|
||||
{{ item.private ? $t("private.title") : item.name }}
|
||||
</p>
|
||||
<div class="flex items-center gap-1 pb-1">
|
||||
<TipSourceIcon v-if="item.source" :source="item.source" />
|
||||
<p
|
||||
class="text-base font-medium"
|
||||
:class="{ 'opacity-80': item.private }"
|
||||
>
|
||||
{{ item.private ? $t("private.title") : item.name }}
|
||||
</p>
|
||||
</div>
|
||||
<UTooltip
|
||||
v-if="disappearText"
|
||||
:popper="{ placement: 'top' }"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { ContentLink, LiveStream } from "~/types";
|
||||
import type { ContentLink, LiveStream, TipGoal } from "~/types";
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
@@ -12,6 +12,7 @@ const props = withDefaults(
|
||||
streamerId?: string;
|
||||
superDmActive?: boolean;
|
||||
bio?: string;
|
||||
tipGoal?: TipGoal;
|
||||
}>(),
|
||||
{
|
||||
showTitle: true,
|
||||
@@ -25,6 +26,7 @@ const { liveStream, livePlatforms } = useLiveStreamPlayer(
|
||||
|
||||
const showLogo = computed(() => !liveStream.value);
|
||||
const verified = computed(() => props.links?.some((l) => l.verification));
|
||||
const tipGoalActive = computed(() => props.tipGoal?.isActive);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -33,7 +35,7 @@ const verified = computed(() => props.links?.some((l) => l.verification));
|
||||
<div v-else class="banner-container">
|
||||
<GeneralImage variant="banner" :url="bannerUrl" class="banner" />
|
||||
</div>
|
||||
<div class="options gap-4">
|
||||
<div :class="['options gap-4', { 'flex-col md:flex-row': tipGoalActive }]">
|
||||
<div class="logo-and-name">
|
||||
<div class="flex flex-col items-center ms-4">
|
||||
<GeneralImage
|
||||
@@ -62,7 +64,7 @@ const verified = computed(() => props.links?.some((l) => l.verification));
|
||||
<div class="flex items-center gap-1">
|
||||
<span class="text-lg lg:text-2xl font-bold">{{ name }}</span>
|
||||
<VerifiedBadge :links="links" />
|
||||
<div v-if="bio" class="md:hidden">
|
||||
<div v-if="bio" :class="[{ 'md:hidden': !tipGoalActive }]">
|
||||
<StreamerBio :bio="bio" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -74,7 +76,11 @@ const verified = computed(() => props.links?.some((l) => l.verification));
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="bio" class="bio hidden md:block">
|
||||
|
||||
<div v-if="tipGoalActive" class="tip-goal w-full md:max-w-[380px]">
|
||||
<TipGoal :path="streamerId" :tipGoal="tipGoal" class="w-full" />
|
||||
</div>
|
||||
<div v-else-if="bio" class="bio hidden md:block">
|
||||
<p class="text-pale text-sm max-w-[400px]">
|
||||
{{ bio }}
|
||||
</p>
|
||||
|
||||
@@ -21,6 +21,7 @@ const {
|
||||
toStreamerCohostPage,
|
||||
toStreamerPageTiers,
|
||||
toStreamerSuperDms,
|
||||
toStreamerTipGoal,
|
||||
} = useRouteLocation();
|
||||
|
||||
const items = computed(() => {
|
||||
@@ -74,6 +75,11 @@ const items = computed(() => {
|
||||
icon: "i-heroicons-pencil-square",
|
||||
to: toStreamerEdit(),
|
||||
},
|
||||
{
|
||||
label: t("contentLinks"),
|
||||
icon: "i-heroicons-link-20-solid",
|
||||
to: toStreamerContentLinks(),
|
||||
},
|
||||
{
|
||||
label: t("tipPage"),
|
||||
icon: "i-heroicons-banknotes",
|
||||
@@ -96,8 +102,7 @@ const items = computed(() => {
|
||||
);
|
||||
}
|
||||
|
||||
const showPremiumPages =
|
||||
config.public.showPremiumPages && authStore.isPremiumOrAdmin;
|
||||
const showPremiumPages = config.public.showPremiumPages;
|
||||
|
||||
if (showPremiumPages) {
|
||||
res.push(
|
||||
@@ -108,15 +113,20 @@ const items = computed(() => {
|
||||
to: toStreamerPageTiers(),
|
||||
},
|
||||
{
|
||||
label: "SuperDMs",
|
||||
icon: "i-heroicons-chat-bubble-left-right",
|
||||
to: toStreamerSuperDms(),
|
||||
label: "Tip Goal",
|
||||
icon: "i-tabler-progress",
|
||||
to: toStreamerTipGoal(),
|
||||
},
|
||||
{
|
||||
label: "Notifications",
|
||||
icon: "i-heroicons-bell",
|
||||
to: toStreamerNotificationPreferences(),
|
||||
},
|
||||
{
|
||||
label: "SuperDMs",
|
||||
icon: "i-heroicons-chat-bubble-left-right",
|
||||
to: toStreamerSuperDms(),
|
||||
},
|
||||
{
|
||||
label: "Integrations",
|
||||
icon: "i-tabler-plug",
|
||||
@@ -128,11 +138,6 @@ const items = computed(() => {
|
||||
|
||||
res.push(
|
||||
...[
|
||||
{
|
||||
label: t("contentLinks"),
|
||||
icon: "i-heroicons-link-20-solid",
|
||||
to: toStreamerContentLinks(),
|
||||
},
|
||||
{
|
||||
label: t("obs"),
|
||||
icon: "i-heroicons-video-camera",
|
||||
|
||||
@@ -194,7 +194,7 @@ const v = useVuelidate<State["form"]>(
|
||||
primaryAddress: {
|
||||
required,
|
||||
minLength: minLength(95),
|
||||
maxLength: maxLength(106),
|
||||
maxLength: maxLength(95),
|
||||
moneroPrimary: moneroPrimaryAddress,
|
||||
},
|
||||
secretViewKey: {
|
||||
|
||||
@@ -9,7 +9,12 @@ import type {
|
||||
TipReply,
|
||||
TipReplySettings,
|
||||
} from "~/types";
|
||||
import { FiatEnum, PageSettingKey, TipDisplayMode } from "~/types/enums";
|
||||
import {
|
||||
FiatEnum,
|
||||
PageSettingKey,
|
||||
TipDisplayMode,
|
||||
TipSourceEnum,
|
||||
} from "~/types/enums";
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
@@ -249,7 +254,7 @@ const tipReplyModal = reactive<{
|
||||
tip: undefined,
|
||||
});
|
||||
|
||||
const showReply = computed(() => props.showReply && props.page?.isPremium);
|
||||
const showReply = computed(() => props.showReply);
|
||||
|
||||
const handleReplyClick = async (tip?: Tip) => {
|
||||
tipReplyModal.tip = tip;
|
||||
@@ -352,11 +357,14 @@ const handleDelete = async (tipReply: TipReply) => {
|
||||
</template>
|
||||
|
||||
<template #name-data="{ row }">
|
||||
<div v-if="row.private && !showPrivateNameAndMessage">
|
||||
<p class="text-pale">{{ t("private.title") }}</p>
|
||||
</div>
|
||||
<div v-else class="break-words max-w-[8rem]">
|
||||
{{ row.name }}
|
||||
<div class="flex items-center gap-1">
|
||||
<TipSourceIcon v-if="row.source" :source="row.source" />
|
||||
<div v-if="row.private && !showPrivateNameAndMessage">
|
||||
<p class="text-pale">{{ t("private.title") }}</p>
|
||||
</div>
|
||||
<div v-else class="break-words max-w-[8rem]">
|
||||
{{ row.name }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<template #message-data="{ row }">
|
||||
|
||||
@@ -273,87 +273,87 @@ const renderInputPadding = computed(
|
||||
</UFormGroup>
|
||||
</div>
|
||||
|
||||
<div class="flex gap-8 items-center flex-wrap-reverse">
|
||||
<div class="flex">
|
||||
<UFormGroup :label="t('tipCoin')">
|
||||
<USelectMenu
|
||||
:options="coinSelectOptions"
|
||||
v-model="state.selectedCoin"
|
||||
trailingIcon="i-heroicons-chevron-up-down-16-solid"
|
||||
:placeholder="t('tipCoinPlaceholder')"
|
||||
value-attribute="id"
|
||||
:uiMenu="{}"
|
||||
:ui="{ wrapper: 'min-w-[160px]' }"
|
||||
:disabled="!swapActive"
|
||||
>
|
||||
<template #option="{ option }">
|
||||
<div class="flex items-center gap-2">
|
||||
<img :src="option.image" class="w-4 h-4" />
|
||||
<div class="flex flex-col">
|
||||
<span>{{ option.label }}</span>
|
||||
<span class="text-xs text-pale">{{ option.name }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex gap-8 flex-wrap">
|
||||
<div>
|
||||
<div class="flex gap-8 items-center flex-wrap-reverse">
|
||||
<div class="flex">
|
||||
<UFormGroup :label="t('tipCoin')">
|
||||
<USelectMenu
|
||||
:options="coinSelectOptions"
|
||||
v-model="state.selectedCoin"
|
||||
trailingIcon="i-heroicons-chevron-up-down-16-solid"
|
||||
:placeholder="t('tipCoinPlaceholder')"
|
||||
value-attribute="id"
|
||||
:uiMenu="{}"
|
||||
:ui="{ wrapper: 'min-w-[160px]' }"
|
||||
:disabled="!swapActive"
|
||||
>
|
||||
<template #option="{ option }">
|
||||
<div class="flex items-center gap-2">
|
||||
<img :src="option.image" class="w-4 h-4" />
|
||||
<div class="flex flex-col">
|
||||
<span>{{ option.label }}</span>
|
||||
<span class="text-xs text-pale">{{
|
||||
option.name
|
||||
}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</USelectMenu>
|
||||
<template #help v-if="!swapActive">
|
||||
<p class="text-xs">{{ t("tipSwapUnavailable") }}</p>
|
||||
</template>
|
||||
</UFormGroup>
|
||||
<!-- <p v-if="!false" class="text-pale text-sm mt-1"></p> -->
|
||||
</div>
|
||||
|
||||
<UTooltip :popper="{ placement: 'top' }">
|
||||
<template #text>
|
||||
<p>{{ t("tipPrivateTooltip") }}</p>
|
||||
</template>
|
||||
</USelectMenu>
|
||||
<template #help v-if="!swapActive">
|
||||
<p class="text-xs">{{ t("tipSwapUnavailable") }}</p>
|
||||
</template>
|
||||
</UFormGroup>
|
||||
<!-- <p v-if="!false" class="text-pale text-sm mt-1"></p> -->
|
||||
<UCheckbox
|
||||
color="primary"
|
||||
:label="t('tipPrivate')"
|
||||
v-model="state.form.private"
|
||||
/>
|
||||
</UTooltip>
|
||||
</div>
|
||||
|
||||
<div v-if="state.errorMessage">
|
||||
<UAlert
|
||||
color="red"
|
||||
:description="state.errorMessage"
|
||||
:title="t('tipCreationFailed')"
|
||||
>
|
||||
</UAlert>
|
||||
</div>
|
||||
|
||||
<div class="flex gap-2 pt-5">
|
||||
<UButton
|
||||
size="lg"
|
||||
type="submit"
|
||||
:loading="state.loading"
|
||||
class="flex items-center gap-2 w-fit"
|
||||
>
|
||||
{{ $t("sendTip") }}
|
||||
<DirectionalArrow />
|
||||
</UButton>
|
||||
<UButton
|
||||
v-if="testTip"
|
||||
size="lg"
|
||||
variant="outline"
|
||||
:loading="state.loadingTestTip"
|
||||
class="flex items-center gap-2 w-fit"
|
||||
@click="handleSendTestTip"
|
||||
>
|
||||
{{ $t("sendTestTip") }}
|
||||
</UButton>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<UTooltip :popper="{ placement: 'top' }">
|
||||
<template #text>
|
||||
<p>{{ t("tipPrivateTooltip") }}</p>
|
||||
</template>
|
||||
<UCheckbox
|
||||
color="primary"
|
||||
:label="t('tipPrivate')"
|
||||
v-model="state.form.private"
|
||||
/>
|
||||
</UTooltip>
|
||||
</div>
|
||||
|
||||
<div class="single" v-if="state.errorMessage">
|
||||
<UAlert
|
||||
color="red"
|
||||
:description="state.errorMessage"
|
||||
:title="t('tipCreationFailed')"
|
||||
>
|
||||
</UAlert>
|
||||
</div>
|
||||
|
||||
<div class="flex gap-2">
|
||||
<UButton
|
||||
size="lg"
|
||||
type="submit"
|
||||
:loading="state.loading"
|
||||
class="flex items-center gap-2 w-fit"
|
||||
>
|
||||
{{ $t("sendTip") }}
|
||||
<DirectionalArrow />
|
||||
</UButton>
|
||||
<UButton
|
||||
v-if="testTip"
|
||||
size="lg"
|
||||
variant="outline"
|
||||
:loading="state.loadingTestTip"
|
||||
class="flex items-center gap-2 w-fit"
|
||||
@click="handleSendTestTip"
|
||||
>
|
||||
Send Test Tip
|
||||
</UButton>
|
||||
<!-- <UButton
|
||||
v-if="superDmActive"
|
||||
:to="toSuperDmCreate(streamerId)"
|
||||
size="lg"
|
||||
type="button"
|
||||
variant="ghost"
|
||||
icon="i-heroicons-chat-bubble-left-right"
|
||||
>
|
||||
SuperDM
|
||||
</UButton> -->
|
||||
<div class="flex-1">
|
||||
<TipPageAd />
|
||||
</div>
|
||||
</div>
|
||||
</UForm>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
<script setup lang="ts">
|
||||
import type { TipSourceEnum } from "~/types/enums";
|
||||
|
||||
const props = defineProps<{
|
||||
source?: TipSourceEnum;
|
||||
}>();
|
||||
|
||||
const { getTipSource } = useConstants();
|
||||
|
||||
const item = computed(() =>
|
||||
props.source ? getTipSource(props.source) : undefined,
|
||||
);
|
||||
const text = computed(() =>
|
||||
item.value ? `Tip from ${item.value.name}` : undefined,
|
||||
);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UTooltip :text="text" :popper="{ placement: 'top' }">
|
||||
<img v-if="item?.icon" :src="item.icon" class="w-4 h-4" />
|
||||
</UTooltip>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
@@ -7,6 +7,7 @@ import {
|
||||
MoneroNetworkTypeEnum,
|
||||
NotificationChannelEnum,
|
||||
NotificationPreferenceType,
|
||||
TipSourceEnum,
|
||||
} from "~/types/enums";
|
||||
|
||||
export const useConstants = () => {
|
||||
@@ -186,8 +187,24 @@ export const useConstants = () => {
|
||||
colorClassName: "",
|
||||
iconClassName: "",
|
||||
icon: "i-tabler-brand-github",
|
||||
inputLabel: t("xUsername", { platform: "GitHub" }),
|
||||
linkCreator: (v?: string) => `https://github.com/${v}`,
|
||||
inputLabel: "GitHub link (enter full URL)",
|
||||
linkCreator: (v?: string) => `${v}`,
|
||||
},
|
||||
[ContentLinkPlatformEnum.GITLAB]: {
|
||||
name: "GitLab",
|
||||
colorClassName: "text-[#FC6D26]",
|
||||
iconClassName: "",
|
||||
icon: "i-tabler-brand-gitlab",
|
||||
inputLabel: "GitLab link (enter full URL)",
|
||||
linkCreator: (v?: string) => `${v}`,
|
||||
},
|
||||
[ContentLinkPlatformEnum.MATRIX]: {
|
||||
name: "Matrix",
|
||||
colorClassName: "text-[#0DBD8B]",
|
||||
iconClassName: "",
|
||||
icon: "i-simple-icons-element",
|
||||
inputLabel: "Matrix ID (for example @user:matrix.org)",
|
||||
linkCreator: (v?: string) => `https://matrix.to/#/${v}`,
|
||||
},
|
||||
[ContentLinkPlatformEnum.MONERO_JOBS]: {
|
||||
name: "Monero Jobs",
|
||||
@@ -205,6 +222,14 @@ export const useConstants = () => {
|
||||
inputLabel: t("xUsername", { platform: "Facebook" }),
|
||||
linkCreator: (v?: string) => `https://facebook.com/${v}`,
|
||||
},
|
||||
[ContentLinkPlatformEnum.PIXELFED]: {
|
||||
name: "Pixelfed",
|
||||
colorClassName: "",
|
||||
iconClassName: "",
|
||||
icon: "i-icon-pixelfed",
|
||||
inputLabel: "Pixelfed link (enter full URL)",
|
||||
linkCreator: (v?: string) => `${v}`,
|
||||
},
|
||||
};
|
||||
const getContentLink = (v: ContentLinkPlatformEnum) => {
|
||||
return CONTENT_LINKS[v];
|
||||
@@ -389,6 +414,22 @@ export const useConstants = () => {
|
||||
return NETWORK_CONFIGS[v];
|
||||
};
|
||||
|
||||
const TIP_SOURCES = {
|
||||
[TipSourceEnum.XMRCHAT]: {
|
||||
name: "XMRChat",
|
||||
icon: "",
|
||||
},
|
||||
[TipSourceEnum.XMRPOD]: {
|
||||
name: "XMRPod",
|
||||
icon: "/images/xmrpod.png",
|
||||
},
|
||||
};
|
||||
|
||||
const getTipSource = (v?: TipSourceEnum) => {
|
||||
if (!v) return undefined;
|
||||
return TIP_SOURCES[v];
|
||||
};
|
||||
|
||||
return {
|
||||
getContentLink,
|
||||
CONTENT_LINKS,
|
||||
@@ -406,5 +447,7 @@ export const useConstants = () => {
|
||||
getPageTierColor,
|
||||
NETWORK_CONFIGS,
|
||||
getNetworkConfig,
|
||||
TIP_SOURCES,
|
||||
getTipSource,
|
||||
};
|
||||
};
|
||||
@@ -36,6 +36,12 @@ export const useLiveStreamPlayer = (
|
||||
)
|
||||
);
|
||||
|
||||
const x = computed(() =>
|
||||
streams.value?.find(
|
||||
(stream) => stream.platform === LiveStreamPlatformEnum.X
|
||||
)
|
||||
);
|
||||
|
||||
const livePlatforms = computed<LiveStreamPlatformEnum[]>(
|
||||
() =>
|
||||
streams.value?.map((stream) => stream.platform).filter((p) => !!p) || []
|
||||
@@ -47,6 +53,7 @@ export const useLiveStreamPlayer = (
|
||||
if (peertube.value) return peertube.value;
|
||||
if (youtube.value) return youtube.value;
|
||||
if (rumble.value) return rumble.value;
|
||||
if (x.value) return x.value;
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
@@ -52,5 +52,10 @@ export const useRouteLocation = () => {
|
||||
localeRoute(`/${streamerId}/super-dm`),
|
||||
toSuperDm: (streamerId: Numberic, superDmId: Numberic) =>
|
||||
localeRoute(`/${streamerId}/super-dm/${superDmId}`),
|
||||
|
||||
toStreamerTipGoal: () => localeRoute("/streamer/tip-goal"),
|
||||
toCreateStreamerTipGoal: () => localeRoute("/streamer/tip-goal/create"),
|
||||
toEditStreamerTipGoal: () => localeRoute(`/streamer/tip-goal/edit`),
|
||||
toCreateAd: () => localeRoute("/ads/create"),
|
||||
};
|
||||
};
|
||||
@@ -32,7 +32,7 @@ export const useServices = () => {
|
||||
};
|
||||
|
||||
const updatePassword = async (params: any) => {
|
||||
const res = await axios.post<{ message: string }>(
|
||||
const res = await axios.post<{ message: string; access_token: string }>(
|
||||
"/auth/update-password",
|
||||
params
|
||||
);
|
||||
@@ -122,6 +122,13 @@ export const useServices = () => {
|
||||
return res;
|
||||
};
|
||||
|
||||
const logoutAllSessions = async () => {
|
||||
const res = await axios.post<{ message: string; access_token: string }>(
|
||||
"/auth/logout-all"
|
||||
);
|
||||
return res.data;
|
||||
};
|
||||
|
||||
const forgotPassword = async (params: any) => {
|
||||
const res = await axios.post("/auth/forgot-password", params);
|
||||
return res;
|
||||
@@ -190,6 +197,7 @@ export const useServices = () => {
|
||||
signup,
|
||||
updatePassword,
|
||||
logout,
|
||||
logoutAllSessions,
|
||||
checkSlug,
|
||||
reserveSlug,
|
||||
uploadImage,
|
||||
|
||||
@@ -132,6 +132,17 @@ export const useValidations = (generalV?: Ref<Validation>) => {
|
||||
notStartingWithAtBase
|
||||
);
|
||||
|
||||
const matrixIdBase = (v: any) => {
|
||||
if (!v) return true;
|
||||
if (typeof v !== "string") return false;
|
||||
return /^@[^\s:]+:[^\s:]+$/.test(v.trim());
|
||||
};
|
||||
|
||||
const matrixId = helpers.withMessage(
|
||||
"Enter a Matrix ID like @user:matrix.org.",
|
||||
matrixIdBase
|
||||
);
|
||||
|
||||
const getValidationAttrs = (path: string, v?: MaybeRef<Validation>) => {
|
||||
v = unref(v || generalV);
|
||||
const instance = getProperty(v, path);
|
||||
@@ -172,6 +183,7 @@ export const useValidations = (generalV?: Ref<Validation>) => {
|
||||
moneroPrimaryAddress,
|
||||
rumbleApiUrl,
|
||||
notStartingWithAt,
|
||||
matrixId,
|
||||
getValidationAttrs,
|
||||
validate,
|
||||
};
|
||||
|
||||
+131
-3
@@ -55,11 +55,14 @@ export default {
|
||||
here: "هنا",
|
||||
backToHome: "العودة إلى الصفحة الرئيسية",
|
||||
somethingWentWrong: "حدث خطأ ما!",
|
||||
donate: "تبرع",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription: "تبرّع لصانع المحتوى المفضل لديك بالعملات المشفرة",
|
||||
findCreators: "البحث عن صانعي المحتوى",
|
||||
creatorsStartHere: "اشترك الآن",
|
||||
fansTippingStats:
|
||||
"أرسل المعجبون {tipsCount} من رسائل Superchat بقيمة إجمالية قدرها {totalAmount} Monero ({fiatAmount}) إلى {pagesCount} من منشئي المحتوى عبر XMRChat!",
|
||||
|
||||
FAQ: {
|
||||
title: "الأسئلة الشائعة",
|
||||
@@ -92,7 +95,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "سريع وسهل",
|
||||
description:
|
||||
"لا حاجة للمشاهد بإنشاء حساب أو التحقق من البريد الإلكتروني أو إدخال معلومات بطاقة الائتمان. فقط التوجه الى صفحة التبرع الخاصة به، و ادخال الاسم و الرسالة و المبلغ و التبرع بعملة XMR",
|
||||
"لا حاجة للمشاهدين لإنشاء حساب أو التحقق من بريدهم الإلكتروني أو إدخال بيانات بطاقة الائتمان. يذهب المعجبون إلى صفحة الإكراميات الخاصة بك، ويكتبون اسمهم ورسالتهم والمبلغ، ويمسحون رمز QR للدفع، ويرسلون إكراميتهم بعملة XMR.",
|
||||
},
|
||||
openSource: {
|
||||
title: "مفتوح المصدر",
|
||||
@@ -111,7 +114,7 @@ export default {
|
||||
accepted: {
|
||||
title: "مقبول",
|
||||
description:
|
||||
"تجنب عناء بيع عملتك المشفرة في منصة مركزية. اشترِ السلع والخدمات مباشرة من التجار الذين يقبلون Monero على {xmrbazaar} و {monerica}",
|
||||
"تجنّب عناء بيع عملتك المشفرة في منصة تداول مركزية. اشترِ سلعًا وخدمات مباشرة من التجار الذين يقبلون Monero على {xmrbazaar} و{monerica} أو عبر خدمة الكونسيرج {shopinbit}.",
|
||||
},
|
||||
andMore: {
|
||||
title: "والمزيد",
|
||||
@@ -126,7 +129,7 @@ export default {
|
||||
ifStreamyard: "إذا كنت تستخدم Streamyard:",
|
||||
ifOBS: "إذا كنت تستخدم OBS:",
|
||||
ifLiveJoiner: "إذا كنت تستخدم LiveJoiner:",
|
||||
streamyard: `انتقل إلى عنصر القائمة "تعديل صفحة التبرع". تأكد من إضافة اسم مستخدم قناة Twitch الخاصة بك. عند بدء البث في Streamyard، أضف Twitch كوجهة. سيرسل روبوت XMRChat (xmr-chat على Twitch) رسالة التبرع على Twitch ويمكنك عرضها على شاشتك من Streamyard. يبدو شعار روبوت xmrchat أفضل مع إعداد "Minimal".`,
|
||||
streamyard: `اذهب إلى عنصر القائمة "تعديل صفحة الإكرامية". تأكد من أنك أضفت اسم مستخدم قناتك على Twitch. عند بدء البث في Streamyard، أضف Twitch كوجهة. سيقوم بوت XMRChat (xmr-chat على Twitch) بإرسال رسالة الإكرامية على Twitch، ويمكنك عرضها على شاشتك من خلال Streamyard. راجع إعدادات Automod الخاصة بـ Twitch لأنها قد تُصفّي رسائل السوبرتشات المرغوبة. يبدو شعار بوت xmrchat المعروض بأفضل شكل مع إعداد "Minimal".`,
|
||||
obs: `انتقل إلى عنصر القائمة "OBS". انقر على "نسخ رابط صفحة OBS". أضف مصدر متصفح في OBS والصق الرابط.`,
|
||||
liveJoiner:
|
||||
"اختر XMRChat من قائمة المنصات المدعومة، ثم أدخل مسار أو رابط صفحة الإكراميات الخاصة بك على XMRChat.",
|
||||
@@ -149,6 +152,7 @@ export default {
|
||||
monerica:
|
||||
"اضافة دفع Monero في متجرك يؤهلك لادراج متجرك على خرائط Monero و مجانا على المواقع التالية: {monerica} و {monerodirectory} و {xmrbazaar} و {bankexit}",
|
||||
},
|
||||
advertise: "أعلن على XMRChat",
|
||||
|
||||
// TIP PAGE
|
||||
tipName: "الاسم",
|
||||
@@ -186,6 +190,24 @@ export default {
|
||||
cancel: "إلغاء",
|
||||
copyAddress: "نسخ العنوان",
|
||||
waitingForPayment: "في انتظار الدفع",
|
||||
tipSwapFailed:
|
||||
"فشلت عملية المبادلة. يرجى زيارة رابط Trocador أدناه للتحقق من الحالة وإلغاء المبادلة إذا لزم الأمر.",
|
||||
paymentExpired:
|
||||
"انتهت صلاحية الدفع. إذا كنت قد أرسلت دفعتك بالفعل، يرجى التواصل مع الدعم.",
|
||||
sendTestTip: "إرسال إكرامية تجريبية",
|
||||
swapStatus: "حالة المبادلة: ",
|
||||
swapStatusMessage: {
|
||||
waiting: "في انتظار الدفع.",
|
||||
confirming: "في انتظار تأكيد المعاملة على البلوكشين.",
|
||||
sending: "جارٍ إرسال المبادلة إلى XMRChat.",
|
||||
failed: "فشلت عملية المبادلة، يرجى التواصل مع دعم Trocador.",
|
||||
},
|
||||
paymentReceived: "تم استلام الدفع.",
|
||||
exactly: "بالضبط",
|
||||
swapPaymentSend:
|
||||
"يرجى إرسال {exactly} {amount} إلى هذا العنوان لعرض xmrchat الخاص بك.",
|
||||
swapETA: "من المتوقع أن تستغرق المبادلة حوالي {eta} دقيقة.",
|
||||
trackSwap: "يمكنك تتبع مبادلتك مباشرة من {trocador}.",
|
||||
|
||||
// CONTACT US PAGE
|
||||
contactUsDescription: "اتصل بنا لأي أسئلة أو ملاحظات",
|
||||
@@ -463,4 +485,110 @@ export default {
|
||||
repliedMessagePreview: "معاينة الرسالة المُرد عليها",
|
||||
action: "إجراء",
|
||||
premium: "بريميوم",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "تم تحديث هدف الإكرامية",
|
||||
tipGoalCreated: "تم إنشاء هدف الإكرامية",
|
||||
amountXMR: "المبلغ ( XMR )",
|
||||
start: "البداية",
|
||||
end: "النهاية",
|
||||
isActive: "نشط",
|
||||
isActiveHelp: "لن يظهر هدف الإكرامية المُعطّل في صفحة الإكراميات الخاصة بك.",
|
||||
timeIsEnded: "انتهى الوقت",
|
||||
|
||||
// SUPER DM
|
||||
amount: "المبلغ",
|
||||
superDMAlertTitle: "تعذّر بدء SuperDM",
|
||||
startSuperDM: "بدء SuperDM",
|
||||
openSuperDM: "فتح SuperDM",
|
||||
endSuperDM: "إنهاء SuperDM",
|
||||
endedAt: "انتهى في",
|
||||
endSuperDMText: "لا يمكن إرسال رسائل جديدة في هذا الـ SuperDM بعد إنهائه.",
|
||||
saveSuperDMIdAndKeyTitle: "حفظ معرّف SuperDM ورمز الاسترداد",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"يرجى حفظ معرّف SuperDM ومفتاح الاسترداد. لا يمكن إعادة استخدام المفاتيح. لن تتمكن من استرداد الرسائل أو فك تشفيرها بدونهما. لن يقوم XMRChat بتخزين مفاتيح الاسترداد الخاصة بك.",
|
||||
savedIdAndRecoveryCode: "لقد حفظت المعرّف ومفتاح الاسترداد",
|
||||
superDMKeysRecoveryTitle:
|
||||
"مفاتيح الاسترداد غير محفوظة في هذا المتصفح. يرجى إدخال العبارة التذكيرية الخاصة بهذا الـ SuperDM لاسترداد الرسائل.",
|
||||
superDMId: "معرّف SuperDM: ",
|
||||
mnemonicPhrase: "العبارة التذكيرية",
|
||||
enterYourMnemonicPhrase: "أدخل العبارة التذكيرية الخاصة بك",
|
||||
recover: "استرداد",
|
||||
encryptionKeys: "مفاتيح التشفير",
|
||||
backupRecoveryCode: "انسخ رمز الاسترداد احتياطيًا",
|
||||
backupRecoveryCodeDes:
|
||||
"يخزّن XMRChat مفتاحك العام فقط. يبقى رمز الاسترداد على جهازك.",
|
||||
recoveryCode: "رمز الاسترداد",
|
||||
recoveryCodeDes:
|
||||
"أدخل رمز الاسترداد الخاص بك أو أنشئ مفاتيح جديدة. لن تتمكن من فك تشفير رسائلك السابقة بعد إنشاء مفاتيح جديدة.",
|
||||
generateNew: "إنشاء جديد",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"يرجى حفظ رمز الاسترداد الخاص بك. ستحتاج إليه للوصول إلى رسائلك المشفّرة. إذا مسحت ذاكرة التخزين المؤقت أو استخدمت جهازًا مختلفًا، فستحتاج إلى إدخال رمز الاسترداد.",
|
||||
ISavedRecoveryCode: "لقد حفظت رمز الاسترداد",
|
||||
generateNewKeys: "إنشاء مفاتيح جديدة",
|
||||
generateNewKeysDes:
|
||||
"إذا أنشأت مفاتيح جديدة، فلن تتمكن من فك تشفير رسائلك السابقة. سيتم تشفير الرسائل الجديدة باستخدام المفاتيح الجديدة.",
|
||||
ifForgotRecoveryCode:
|
||||
"إذا نسيت رمز الاسترداد الخاص بك أو كنت تستخدم SuperDM لأول مرة، يمكنك إنشاء مفاتيح تشفير جديدة.",
|
||||
clickGenerateKeys: "انقر على «إنشاء المفاتيح» لإعداد تشفير SuperDM.",
|
||||
beReadyToSaveRecoveryCode: "يرجى الاستعداد لحفظ رمز الاسترداد الخاص بك.",
|
||||
generateKeys: "إنشاء المفاتيح",
|
||||
superDMIsEnded: "انتهى SuperDM.",
|
||||
superDMIsEndedAt: "انتهى SuperDM في {date}.",
|
||||
sendAMessage: "إرسال رسالة...",
|
||||
superDMNotConfiguredTitle: "لم يتم إعداد SuperDM.",
|
||||
superDMNotConfiguredDes:
|
||||
"سيتيح تفعيل SuperDM للمعجبين دفع مبلغ تختاره لبدء محادثة خاصة معك. هذه محادثة مشفّرة من طرف إلى طرف بينك وبين المعجب، ولا يمكن لأي شخص آخر رؤية هذه الرسائل (ولا حتى نحن!). يجب تفعيل الإشعارات لهذه الميزة حتى يتم إعلامك عند وصول SuperDM. يرجى الرد على معجبيك بسرعة.",
|
||||
configureSuperDMs: "إعداد SuperDM",
|
||||
configureNotifications: "إعداد الإشعارات",
|
||||
showKeys: "إظهار المفاتيح",
|
||||
continueSuperDM: "متابعة SuperDM",
|
||||
savedKeys: "المفاتيح المحفوظة",
|
||||
useSavedKeys: "يمكنك استخدام المفاتيح المحفوظة لمتابعة رسائل SuperDM.",
|
||||
use: "استخدام",
|
||||
enterSuperDMIdAndRecoveryCode: "أدخل معرّف SuperDM ورمز الاسترداد.",
|
||||
minSuperDMAmount: "الحد الأدنى لمبلغ SuperDM ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"الحد الأدنى للمبلغ الذي يجب أن يرسله المعجب إليك لبدء SuperDM.",
|
||||
showRecoveryCode: "إظهار رمز الاسترداد",
|
||||
superDMRecoveryCodesTitle: "رموز استرداد SuperDM",
|
||||
superDMRecoveryCodesDes:
|
||||
"لا يتم حفظ رموز الاسترداد على الخادم. يرجى حفظ رمز الاسترداد الخاص بك. ستحتاج إلى رمز الاسترداد ومعرّف SuperDM للوصول إلى رسائلك المشفّرة. إذا مسحت ذاكرة التخزين المؤقت أو استخدمت جهازًا مختلفًا، فستحتاج إلى إدخال رمز الاسترداد.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "أدلة المحفظة",
|
||||
howToFindPrimaryAddress:
|
||||
"كيفية العثور على العنوان الأساسي ومفتاح العرض الخاص (المعروف أيضًا بمفتاح العرض السري):",
|
||||
toGetYourPrimaryAddress: "للحصول على عنوانك الأساسي:",
|
||||
toGetYourViewKey: "للحصول على مفتاح العرض الخاص بك",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet:",
|
||||
primaryAddress1: '1. انقر على "استلام"',
|
||||
primaryAddress2: "2. انسخ العنوان الذي يبدأ بالرقم 4",
|
||||
viewKey1: "1. انقر على الإعدادات",
|
||||
viewKey2: '2. انسخ "مفتاح العرض (الخاص)"',
|
||||
securityAndBackup: "الأمان والنسخ الاحتياطي",
|
||||
showSeed: "إظهار العبارة الأولية/المفاتيح",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet:",
|
||||
guide1: "1. انقر على الإعدادات",
|
||||
guide2: '2. انسخ "العنوان الأساسي" و"مفتاح العرض السري"',
|
||||
seedsAndKeys: "العبارات الأولية والمفاتيح",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet:",
|
||||
guide1: "1. انقر على Wallet",
|
||||
guide2: '2. انسخ "العنوان الأساسي" و"مفتاح العرض السري"',
|
||||
keys: "المفاتيح",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet:",
|
||||
guide1: "1. انقر على Wallet",
|
||||
clickOnTheMenu: "انقر على القائمة",
|
||||
selectShowSecrets: 'اختر "Show Secrets!"',
|
||||
guide2: '2. انسخ "العنوان العام"',
|
||||
guide3: '3. وسّع "المعلومات التفصيلية"',
|
||||
copyViewKey: 'انسخ "مفتاح العرض"',
|
||||
},
|
||||
};
|
||||
+134
-3
@@ -56,11 +56,14 @@ export default {
|
||||
here: "zde",
|
||||
backToHome: "Zpět na domovskou stránku",
|
||||
somethingWentWrong: "Něco se pokazilo!",
|
||||
donate: "Přispět",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription: "Podpořte svého oblíbeného streamera kryptoměnou.",
|
||||
findCreators: "Najít tvůrce",
|
||||
creatorsStartHere: "Tvůrci začínají zde",
|
||||
fansTippingStats:
|
||||
"Fanoušci poslali {tipsCount} superchatů v celkové hodnotě {totalAmount} Monero ({fiatAmount}) {pagesCount} tvůrcům obsahu prostřednictvím XMRChat!",
|
||||
|
||||
FAQ: {
|
||||
title: "Často kladené dotazy",
|
||||
@@ -93,7 +96,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "Rychlé a snadné",
|
||||
description:
|
||||
"Není třeba vytvářet účet, ověřovat e-mail nebo zadávat údaje o kartě. Fanoušci navštíví vaši stránku, zadají jméno, zprávu, částku a odešlou XMR.",
|
||||
"Diváci nemusí vytvářet účet, ověřovat svůj e-mail ani zadávat údaje o kreditní kartě. Fanoušci přejdou na vaši stránku se spropitným, napíší své jméno, zprávu, částku, naskenují QR kód k platbě a odešlou své spropitné v XMR.",
|
||||
},
|
||||
openSource: {
|
||||
title: "Open Source",
|
||||
@@ -112,7 +115,7 @@ export default {
|
||||
accepted: {
|
||||
title: "Akceptované",
|
||||
description:
|
||||
"Vyhněte se prodeji kryptoměn na centralizovaných burzách. Raději nakupujte přímo u obchodníků, kteří přijímají Monero na {xmrbazaar} a {monerica}.",
|
||||
"Vyhněte se starostem s prodejem své kryptoměny na centralizované burze. Nakupujte zboží a služby přímo od obchodníků, kteří přijímají Monero na {xmrbazaar}, {monerica} nebo prostřednictvím concierge služby {shopinbit}.",
|
||||
},
|
||||
andMore: {
|
||||
title: "A mnoho dalšího",
|
||||
@@ -128,7 +131,7 @@ export default {
|
||||
ifStreamyard: "Pokud používáte Streamyard:",
|
||||
ifOBS: "Pokud používáte OBS:",
|
||||
ifLiveJoiner: "Pokud používáte LiveJoiner:",
|
||||
streamyard: `Jděte do nabídky "Upravit tip stránku". Ujistěte se, že jste přidali uživatelské jméno Twitch kanálu. Při spuštění streamu ve Streamyard přidejte Twitch jako cíl. XMRChat bot (xmr-chat na twitchi) odešle tip zprávy na Twitch a můžete je zobrazit na obrazovce přes Streamyard. Nejlépe vypadá s nastavením "Minimal".`,
|
||||
streamyard: `Přejděte na položku nabídky "Upravit stránku se spropitným". Ujistěte se, že jste přidali své uživatelské jméno kanálu Twitch. Při spouštění streamu ve Streamyardu přidejte Twitch jako cíl. Bot XMRChat (xmr-chat na Twitchi) odešle zprávu o spropitném na Twitch a vy ji můžete zobrazit na obrazovce ze Streamyardu. Zkontrolujte nastavení Automod na Twitchi, protože může odfiltrovat požadované superchaty. Zobrazené logo bota xmrchat vypadá nejlépe s nastavením "Minimal".`,
|
||||
obs: `Přejděte do položky "OBS". Klikněte na "Zkopírovat odkaz na OBS stránku". V OBS přidejte zdroj prohlížeče a vložte odkaz.`,
|
||||
liveJoiner:
|
||||
"Vyberte XMRChat ze seznamu podporovaných platforem a zadejte cestu nebo URL své stránky s tipy na XMRChat.",
|
||||
@@ -151,6 +154,7 @@ export default {
|
||||
monerica:
|
||||
"Přijímejte Monero ve svém podniku a buďte zveřejněni na stránkách {monerica}, {monerodirectory} a na mapě obchodních nabídek na {xmrbazaar} a {bankexit}.",
|
||||
},
|
||||
advertise: "Inzerujte na XMRChat",
|
||||
|
||||
tipName: "Jméno",
|
||||
tipAmount: "Částka",
|
||||
@@ -187,6 +191,24 @@ export default {
|
||||
cancel: "Zrušit",
|
||||
copyAddress: "Kopírovat adresu",
|
||||
waitingForPayment: "Čekání na platbu",
|
||||
tipSwapFailed:
|
||||
"Směna selhala. Navštivte prosím níže uvedený odkaz na Trocador, zkontrolujte stav a v případě potřeby směnu zrušte.",
|
||||
paymentExpired:
|
||||
"Platba vypršela. Pokud jste již platbu odeslali, kontaktujte prosím podporu.",
|
||||
sendTestTip: "Odeslat testovací tip",
|
||||
swapStatus: "Stav směny: ",
|
||||
swapStatusMessage: {
|
||||
waiting: "Čekání na platbu.",
|
||||
confirming: "Čekání na potvrzení na blockchainu.",
|
||||
sending: "Směna se odesílá do XMRChat.",
|
||||
failed: "Směna selhala, kontaktujte prosím podporu Trocador.",
|
||||
},
|
||||
paymentReceived: "Platba přijata.",
|
||||
exactly: "přesně",
|
||||
swapPaymentSend:
|
||||
"Pro zobrazení vašeho xmrchat prosím odešlete {exactly} {amount} na tuto adresu.",
|
||||
swapETA: "Předpokládaná doba směny je přibližně {eta} minut.",
|
||||
trackSwap: "Svou směnu můžete sledovat přímo přes {trocador}.",
|
||||
|
||||
contactUsDescription:
|
||||
"Kontaktujte nás s jakýmikoli dotazy nebo zpětnou vazbou.",
|
||||
@@ -471,4 +493,113 @@ export default {
|
||||
repliedMessagePreview: "Náhled odpovědi",
|
||||
action: "Akce",
|
||||
premium: "Premium",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "Cíl spropitného byl aktualizován",
|
||||
tipGoalCreated: "Cíl spropitného byl vytvořen",
|
||||
amountXMR: "Částka ( XMR )",
|
||||
start: "Začátek",
|
||||
end: "Konec",
|
||||
isActive: "Je aktivní",
|
||||
isActiveHelp:
|
||||
"Deaktivovaný cíl spropitného se na vaší stránce spropitného nebude zobrazovat.",
|
||||
timeIsEnded: "Čas vypršel",
|
||||
|
||||
// SUPER DM
|
||||
amount: "Částka",
|
||||
superDMAlertTitle: "SuperDM se nepodařilo spustit",
|
||||
startSuperDM: "Spustit SuperDM",
|
||||
openSuperDM: "Otevřít SuperDM",
|
||||
endSuperDM: "Ukončit SuperDM",
|
||||
endedAt: "Ukončeno v",
|
||||
endSuperDMText: "Po ukončení tohoto SuperDM již nelze odesílat zprávy.",
|
||||
saveSuperDMIdAndKeyTitle: "Uložit ID SuperDM a obnovovací kód",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"Uložte si ID SuperDM a obnovovací klíč. Klíče nelze znovu použít. Bez nich nebudete moci zprávy obnovit ani dešifrovat. XMRChat nebude vaše obnovovací klíče ukládat.",
|
||||
savedIdAndRecoveryCode: "ID a obnovovací klíč jsem uložil",
|
||||
superDMKeysRecoveryTitle:
|
||||
"Obnovovací klíče nejsou v tomto prohlížeči uloženy. Pro obnovení zpráv zadejte mnemotechnickou frázi tohoto SuperDM.",
|
||||
superDMId: "ID SuperDM: ",
|
||||
mnemonicPhrase: "Mnemotechnická fráze",
|
||||
enterYourMnemonicPhrase: "Zadejte svou mnemotechnickou frázi",
|
||||
recover: "Obnovit",
|
||||
encryptionKeys: "Šifrovací klíče",
|
||||
backupRecoveryCode: "Zálohujte svůj obnovovací kód",
|
||||
backupRecoveryCodeDes:
|
||||
"XMRChat ukládá pouze váš veřejný klíč. Váš obnovovací kód zůstává ve vašem zařízení.",
|
||||
recoveryCode: "Obnovovací kód",
|
||||
recoveryCodeDes:
|
||||
"Zadejte svůj obnovovací kód nebo vygenerujte nové klíče. Po vygenerování nových klíčů již nebudete moci dešifrovat předchozí zprávy.",
|
||||
generateNew: "Vygenerovat nové",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"Uložte si prosím svůj obnovovací kód. Budete ho potřebovat pro přístup k šifrovaným zprávám. Pokud vymažete mezipaměť nebo použijete jiné zařízení, budete muset obnovovací kód znovu zadat.",
|
||||
ISavedRecoveryCode: "Obnovovací kód jsem uložil",
|
||||
generateNewKeys: "Vygenerovat nové klíče",
|
||||
generateNewKeysDes:
|
||||
"Pokud vygenerujete nové klíče, nebudete moci dešifrovat předchozí zprávy. Nové zprávy budou šifrovány pomocí nových klíčů.",
|
||||
ifForgotRecoveryCode:
|
||||
"Pokud jste zapomněli svůj obnovovací kód nebo používáte SuperDM poprvé, můžete vygenerovat nové šifrovací klíče.",
|
||||
clickGenerateKeys:
|
||||
"Kliknutím na „Vygenerovat klíče“ nastavíte šifrování SuperDM.",
|
||||
beReadyToSaveRecoveryCode:
|
||||
"Připravte se prosím na uložení svého obnovovacího kódu.",
|
||||
generateKeys: "Vygenerovat klíče",
|
||||
superDMIsEnded: "SuperDM byl ukončen.",
|
||||
superDMIsEndedAt: "SuperDM byl ukončen v {date}.",
|
||||
sendAMessage: "Odeslat zprávu...",
|
||||
superDMNotConfiguredTitle: "SuperDM nejsou nakonfigurovány.",
|
||||
superDMNotConfiguredDes:
|
||||
"Povolení SuperDM umožní fanouškům zaplatit vámi zvolenou částku za možnost zahájit s vámi soukromou konverzaci. Jedná se o end-to-end šifrovaný chat mezi vámi a fanouškem; tyto zprávy nikdo další neuvidí (ani my!). Pro tuto funkci musí být povolena oznámení, abyste byli upozorněni, když přijde SuperDM. Odpovídejte prosím svým fanouškům rychle.",
|
||||
configureSuperDMs: "Nakonfigurovat SuperDM",
|
||||
configureNotifications: "Nakonfigurovat oznámení",
|
||||
showKeys: "Zobrazit klíče",
|
||||
continueSuperDM: "Pokračovat v SuperDM",
|
||||
savedKeys: "Uložené klíče",
|
||||
useSavedKeys: "K pokračování zpráv SuperDM můžete použít uložené klíče.",
|
||||
use: "Použít",
|
||||
enterSuperDMIdAndRecoveryCode: "Zadejte ID SuperDM a obnovovací kód.",
|
||||
minSuperDMAmount: "Min. částka SuperDM ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"Minimální částka, kterou vám fanoušek musí poslat, aby mohl zahájit SuperDM.",
|
||||
showRecoveryCode: "Zobrazit obnovovací kód",
|
||||
superDMRecoveryCodesTitle: "Obnovovací kódy SuperDM",
|
||||
superDMRecoveryCodesDes:
|
||||
"Obnovovací kódy nejsou uloženy na serveru. Uložte si prosím svůj obnovovací kód. Pro přístup k šifrovaným zprávám budete potřebovat obnovovací kód a ID SuperDM. Pokud vymažete mezipaměť nebo použijete jiné zařízení, budete muset obnovovací kód zadat znovu.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "PRŮVODCI PENĚŽENKOU",
|
||||
howToFindPrimaryAddress:
|
||||
"Jak najít primární adresu a soukromý view klíč (známý také jako tajný view klíč):",
|
||||
toGetYourPrimaryAddress: "Chcete-li získat svou primární adresu:",
|
||||
toGetYourViewKey: "Chcete-li získat svůj view klíč",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet:",
|
||||
primaryAddress1: '1. Klikněte na "Přijmout"',
|
||||
primaryAddress2: "2. Zkopírujte adresu, která začíná číslem 4",
|
||||
viewKey1: "1. Klikněte na Nastavení",
|
||||
viewKey2: '2. Zkopírujte "View key (soukromý)"',
|
||||
securityAndBackup: "Zabezpečení a záloha",
|
||||
showSeed: "Zobrazit seed/klíče",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet:",
|
||||
guide1: "1. Klikněte na Nastavení",
|
||||
guide2: '2. Zkopírujte "Primární adresu" a "Tajný view klíč"',
|
||||
seedsAndKeys: "Seedy a klíče",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet:",
|
||||
guide1: "1. Klikněte na Wallet",
|
||||
guide2: '2. Zkopírujte "Primární adresu" a "Tajný view klíč"',
|
||||
keys: "Klíče",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet:",
|
||||
guide1: "1. Klikněte na Wallet",
|
||||
clickOnTheMenu: "Klikněte na menu",
|
||||
selectShowSecrets: 'Vyberte "Show Secrets!"',
|
||||
guide2: '2. Zkopírujte "Veřejnou adresu"',
|
||||
guide3: '3. Rozbalte "Podrobné informace"',
|
||||
copyViewKey: 'Zkopírujte "View Key"',
|
||||
},
|
||||
};
|
||||
+139
-3
@@ -58,11 +58,14 @@ export default {
|
||||
here: "hier",
|
||||
backToHome: "Zurück zur Startseite",
|
||||
somethingWentWrong: "Etwas ist schiefgelaufen!",
|
||||
donate: "Spenden",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription: "Unterstütze deinen Lieblings-Streamer mit Kryptowährung",
|
||||
findCreators: "Creator finden",
|
||||
creatorsStartHere: "Creator starten hier",
|
||||
fansTippingStats:
|
||||
"Fans haben {tipsCount} Superchats im Gesamtwert von {totalAmount} Monero ({fiatAmount}) an {pagesCount} Content-Creator mit XMRChat gesendet!",
|
||||
|
||||
FAQ: {
|
||||
title: "FAQ",
|
||||
@@ -95,7 +98,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "Schnell und einfach",
|
||||
description:
|
||||
"Zuschauer müssen kein Konto erstellen, keine E-Mail verifizieren oder Kreditkarteninformationen eingeben. Fans gehen zu deiner Trinkgeld-Seite, geben ihren Namen, Nachricht und Betrag ein und senden dir XMR-Trinkgeld",
|
||||
"Zuschauer müssen kein Konto erstellen, ihre E-Mail-Adresse bestätigen oder Kreditkartendaten eingeben. Fans gehen auf deine Trinkgeldseite, geben ihren Namen, ihre Nachricht und den Betrag ein, scannen einen QR-Code zum Bezahlen und senden ihr XMR-Trinkgeld.",
|
||||
},
|
||||
openSource: {
|
||||
title: "Open Source",
|
||||
@@ -116,7 +119,7 @@ export default {
|
||||
accepted: {
|
||||
title: "Akzeptiert",
|
||||
description:
|
||||
"Mit Monero kannst du bereits jetzt Waren und Dienstleistungen kaufen. Händler, die Monero akzeptieren, findest du auf {xmrbazaar} und {monerica}.",
|
||||
"Vermeide den Aufwand, deine Kryptowährung auf einer zentralisierten Börse zu verkaufen. Kaufe Waren und Dienstleistungen direkt von Händlern, die Monero akzeptieren, auf {xmrbazaar}, {monerica} oder über den Concierge-Service {shopinbit}.",
|
||||
},
|
||||
andMore: {
|
||||
title: "Und mehr",
|
||||
@@ -131,7 +134,7 @@ export default {
|
||||
ifStreamyard: "Wenn Sie Streamyard verwenden:",
|
||||
ifOBS: "Wenn du OBS verwendest:",
|
||||
ifLiveJoiner: "Wenn Sie LiveJoiner verwenden:",
|
||||
streamyard: `Gehe zum Menüpunkt "Trinkgeld-Seite bearbeiten". Stelle sicher, dass du deinen Twitch-Kanalnamen hinzugefügt hast. Wenn du den Stream in Streamyard startest, füge Twitch als Ziel hinzu. Der XMRChat-Bot (xmr-chat auf Twitch) wird die Trinkgeld-Nachricht auf Twitch senden und du kannst sie auf deinem Bildschirm von Streamyard anzeigen. Das angezeigte xmrchat-Bot-Logo sieht am besten mit der "Minimal"-Einstellung aus.`,
|
||||
streamyard: `Gehe zum Menüpunkt "Trinkgeldseite bearbeiten". Stelle sicher, dass du deinen Twitch-Kanalnamen hinzugefügt hast. Wenn du den Stream in Streamyard startest, füge Twitch als Ziel hinzu. Der XMRChat-Bot (xmr-chat auf Twitch) sendet die Trinkgeldnachricht auf Twitch, und du kannst sie über Streamyard auf deinem Bildschirm anzeigen. Überprüfe die Automod-Einstellungen von Twitch, da diese gewünschte Superchats herausfiltern könnten. Das angezeigte xmrchat-Bot-Logo sieht mit der Einstellung "Minimal" am besten aus.`,
|
||||
obs: `Gehe zum "OBS"-Menüpunkt. Klicke auf "OBS-Seitenlink kopieren". Füge eine Browserquelle in OBS hinzu und füge den Link ein.`,
|
||||
liveJoiner:
|
||||
"Wählen Sie XMRChat aus der Liste der unterstützten Plattformen aus und geben Sie den Pfad oder die URL Ihrer XMRChat-Trinkgeldseite ein.",
|
||||
@@ -156,6 +159,7 @@ export default {
|
||||
monerica:
|
||||
"Akzeptiere Monero in deinem Unternehmen und werde auf den Seiten {monerica} und {monerodirectory}, sowie auf der Geschäftsübersichtskarte bei {xmrbazaar} und {bankexit} gelistet.",
|
||||
},
|
||||
advertise: "Auf XMRChat werben",
|
||||
|
||||
// TIP PAGE
|
||||
tipName: "Name",
|
||||
@@ -194,6 +198,25 @@ export default {
|
||||
cancel: "Abbrechen",
|
||||
copyAddress: "Adresse kopieren",
|
||||
waitingForPayment: "Warte auf Zahlung",
|
||||
tipSwapFailed:
|
||||
"Der Swap ist fehlgeschlagen. Bitte besuche den folgenden Trocador-Link, um den Status zu überprüfen und den Swap gegebenenfalls zu stornieren.",
|
||||
paymentExpired:
|
||||
"Die Zahlung ist abgelaufen. Wenn du deine Zahlung bereits gesendet hast, kontaktiere bitte den Support.",
|
||||
sendTestTip: "Test-Tipp senden",
|
||||
swapStatus: "Swap-Status: ",
|
||||
swapStatusMessage: {
|
||||
waiting: "Warten auf Zahlung.",
|
||||
confirming: "Warten auf die Bestätigung auf der Blockchain.",
|
||||
sending: "Der Swap wird an XMRChat gesendet.",
|
||||
failed:
|
||||
"Der Swap ist fehlgeschlagen. Bitte kontaktiere den Trocador-Support.",
|
||||
},
|
||||
paymentReceived: "Zahlung erhalten.",
|
||||
exactly: "genau",
|
||||
swapPaymentSend:
|
||||
"Bitte sende {exactly} {amount} an diese Adresse, damit dein xmrchat angezeigt werden kann.",
|
||||
swapETA: "Die voraussichtliche Swap-Dauer beträgt etwa {eta} Minuten.",
|
||||
trackSwap: "Du kannst deinen Swap direkt über {trocador} verfolgen.",
|
||||
|
||||
// CONTACT US PAGE
|
||||
contactUsDescription: "Kontaktiere uns bei Fragen oder Feedback.",
|
||||
@@ -483,4 +506,117 @@ export default {
|
||||
repliedMessagePreview: "Vorschau der beantworteten Nachricht",
|
||||
action: "Aktion",
|
||||
premium: "Premium",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "Trinkgeldziel aktualisiert",
|
||||
tipGoalCreated: "Trinkgeldziel erstellt",
|
||||
amountXMR: "Betrag ( XMR )",
|
||||
start: "Start",
|
||||
end: "Ende",
|
||||
isActive: "Ist aktiv",
|
||||
isActiveHelp:
|
||||
"Ein deaktiviertes Trinkgeldziel wird nicht auf deiner Trinkgeldseite angezeigt.",
|
||||
timeIsEnded: "Die Zeit ist abgelaufen",
|
||||
|
||||
// SUPER DM
|
||||
amount: "Betrag",
|
||||
superDMAlertTitle: "SuperDM konnte nicht gestartet werden",
|
||||
startSuperDM: "SuperDM starten",
|
||||
openSuperDM: "SuperDM öffnen",
|
||||
endSuperDM: "SuperDM beenden",
|
||||
endedAt: "Beendet um",
|
||||
endSuperDMText:
|
||||
"Nach dem Beenden können in diesem SuperDM keine Nachrichten mehr gesendet werden.",
|
||||
saveSuperDMIdAndKeyTitle: "SuperDM-ID und Wiederherstellungscode speichern",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"Bitte speichere die SuperDM-ID und den Wiederherstellungsschlüssel. Die Schlüssel können nicht wiederverwendet werden. Ohne sie kannst du die Nachrichten nicht wiederherstellen/entschlüsseln. XMRChat speichert deine Wiederherstellungsschlüssel nicht.",
|
||||
savedIdAndRecoveryCode:
|
||||
"Ich habe die ID und den Wiederherstellungsschlüssel gespeichert",
|
||||
superDMKeysRecoveryTitle:
|
||||
"Die Wiederherstellungsschlüssel sind in diesem Browser nicht gespeichert. Bitte gib die mnemonische Phrase für dieses SuperDM ein, um die Nachrichten wiederherzustellen.",
|
||||
superDMId: "SuperDM-ID: ",
|
||||
mnemonicPhrase: "Mnemonische Phrase",
|
||||
enterYourMnemonicPhrase: "Gib deine mnemonische Phrase ein",
|
||||
recover: "Wiederherstellen",
|
||||
encryptionKeys: "Verschlüsselungsschlüssel",
|
||||
backupRecoveryCode: "Wiederherstellungscode sichern",
|
||||
backupRecoveryCodeDes:
|
||||
"XMRChat speichert nur deinen öffentlichen Schlüssel. Dein Wiederherstellungscode bleibt auf deinem Gerät.",
|
||||
recoveryCode: "Wiederherstellungscode",
|
||||
recoveryCodeDes:
|
||||
"Gib deinen Wiederherstellungscode ein oder erstelle neue Schlüssel. Nach dem Erstellen neuer Schlüssel kannst du deine bisherigen Nachrichten nicht mehr entschlüsseln.",
|
||||
generateNew: "Neue erstellen",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"Bitte speichere deinen Wiederherstellungscode. Du benötigst ihn, um auf deine verschlüsselten Nachrichten zuzugreifen. Wenn du den Cache löschst oder ein anderes Gerät verwendest, musst du den Wiederherstellungscode eingeben.",
|
||||
ISavedRecoveryCode: "Ich habe den Wiederherstellungscode gespeichert",
|
||||
generateNewKeys: "Neue Schlüssel erstellen",
|
||||
generateNewKeysDes:
|
||||
"Wenn du neue Schlüssel erstellst, kannst du deine bisherigen Nachrichten nicht mehr entschlüsseln. Neue Nachrichten werden mit den neuen Schlüsseln verschlüsselt.",
|
||||
ifForgotRecoveryCode:
|
||||
"Wenn du deinen Wiederherstellungscode vergessen hast oder SuperDM zum ersten Mal verwendest, kannst du neue Verschlüsselungsschlüssel erstellen.",
|
||||
clickGenerateKeys:
|
||||
"Klicke auf „Schlüssel erstellen“, um die SuperDM-Verschlüsselung einzurichten.",
|
||||
beReadyToSaveRecoveryCode:
|
||||
"Bitte sei bereit, deinen Wiederherstellungscode zu speichern.",
|
||||
generateKeys: "Schlüssel erstellen",
|
||||
superDMIsEnded: "SuperDM ist beendet.",
|
||||
superDMIsEndedAt: "SuperDM wurde um {date} beendet.",
|
||||
sendAMessage: "Nachricht senden...",
|
||||
superDMNotConfiguredTitle: "SuperDMs sind nicht konfiguriert.",
|
||||
superDMNotConfiguredDes:
|
||||
"Durch die Aktivierung von SuperDMs können Fans dir einen von dir festgelegten Betrag zahlen, um ein privates Gespräch mit dir zu beginnen. Es handelt sich um einen Ende-zu-Ende-verschlüsselten Chat zwischen dir und dem Fan. Niemand sonst kann diese Nachrichten sehen (nicht einmal wir!). Für diese Funktion müssen Benachrichtigungen aktiviert sein, damit du informiert wirst, wenn ein SuperDM eingeht. Bitte antworte deinen Fans schnell.",
|
||||
configureSuperDMs: "SuperDMs konfigurieren",
|
||||
configureNotifications: "Benachrichtigungen konfigurieren",
|
||||
showKeys: "Schlüssel anzeigen",
|
||||
continueSuperDM: "SuperDM fortsetzen",
|
||||
savedKeys: "Gespeicherte Schlüssel",
|
||||
useSavedKeys:
|
||||
"Du kannst die gespeicherten Schlüssel verwenden, um die SuperDM-Nachrichten fortzusetzen.",
|
||||
use: "Verwenden",
|
||||
enterSuperDMIdAndRecoveryCode:
|
||||
"Gib die SuperDM-ID und den Wiederherstellungscode ein.",
|
||||
minSuperDMAmount: "Mindestbetrag für SuperDM ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"Der Mindestbetrag, den ein Fan dir senden muss, um ein SuperDM zu starten.",
|
||||
showRecoveryCode: "Wiederherstellungscode anzeigen",
|
||||
superDMRecoveryCodesTitle: "SuperDM-Wiederherstellungscodes",
|
||||
superDMRecoveryCodesDes:
|
||||
"Die Wiederherstellungscodes werden nicht auf dem Server gespeichert. Bitte speichere deinen Wiederherstellungscode. Du benötigst den Wiederherstellungscode und die SuperDM-ID, um auf deine verschlüsselten Nachrichten zuzugreifen. Wenn du den Cache löschst oder ein anderes Gerät verwendest, musst du den Wiederherstellungscode eingeben.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "WALLET-ANLEITUNGEN",
|
||||
howToFindPrimaryAddress:
|
||||
"So findest du die primäre Adresse und den privaten View-Key (auch bekannt als geheimer View-Key):",
|
||||
toGetYourPrimaryAddress: "So erhältst du deine primäre Adresse:",
|
||||
toGetYourViewKey: "So erhältst du deinen View-Key",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet:",
|
||||
primaryAddress1: '1. Klicke auf "Empfangen"',
|
||||
primaryAddress2: "2. Kopiere die Adresse, die mit 4 beginnt",
|
||||
viewKey1: "1. Klicke auf Einstellungen",
|
||||
viewKey2: '2. Kopiere den "View Key (privat)"',
|
||||
securityAndBackup: "Sicherheit und Backup",
|
||||
showSeed: "Seed/Schlüssel anzeigen",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet:",
|
||||
guide1: "1. Klicke auf Einstellungen",
|
||||
guide2: '2. Kopiere die "Primäre Adresse" und den "Geheimen View Key"',
|
||||
seedsAndKeys: "Seeds & Schlüssel",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet:",
|
||||
guide1: "1. Klicke auf Wallet",
|
||||
guide2: '2. Kopiere die "Primäre Adresse" und den "Geheimen View Key"',
|
||||
keys: "Schlüssel",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet:",
|
||||
guide1: "1. Klicke auf Wallet",
|
||||
clickOnTheMenu: "Klicke auf das Menü",
|
||||
selectShowSecrets: 'Wähle "Show Secrets!"',
|
||||
guide2: '2. Kopiere die "Öffentliche Adresse"',
|
||||
guide3: '3. Erweitere "Detaillierte Informationen"',
|
||||
copyViewKey: 'Kopiere den "View Key"',
|
||||
},
|
||||
};
|
||||
+133
-4
@@ -58,11 +58,14 @@ export default {
|
||||
here: "here",
|
||||
backToHome: "Back to Home",
|
||||
somethingWentWrong: "Something went wrong!",
|
||||
donate: "Donate",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription: "Tip your favorite streamer in cryptocurrency.",
|
||||
findCreators: "Find Creators",
|
||||
creatorsStartHere: "Creators Start Here",
|
||||
fansTippingStats:
|
||||
"Fans have sent {tipsCount} superchats totaling {totalAmount} Monero ({fiatAmount}) to {pagesCount} content creators with XMRChat!",
|
||||
|
||||
FAQ: {
|
||||
title: "FAQ",
|
||||
@@ -95,7 +98,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "Quick And Easy",
|
||||
description:
|
||||
"No need for viewers to create an account, verify their email, or enter credit card info. Fans go to your tip page, type their name, message, amount, and submit their XMR tip.",
|
||||
"No need for viewers to create an account, verify their email, or enter credit card info. Fans go to your tip page, type their name, message, amount, scan a QR code to pay, and submit their XMR tip.",
|
||||
},
|
||||
openSource: {
|
||||
title: "Open Source",
|
||||
@@ -114,7 +117,7 @@ export default {
|
||||
accepted: {
|
||||
title: "Accepted",
|
||||
description:
|
||||
"Avoid the hassle of selling your crypto on a centralized exchange. Buy goods and services directly from merchants that accept Monero on {xmrbazaar} and {monerica}.",
|
||||
"Avoid the hassle of selling your crypto on a centralized exchange. Buy goods and services directly from merchants that accept Monero on {xmrbazaar}, {monerica}, or via concierge service {shopinbit}.",
|
||||
},
|
||||
andMore: {
|
||||
title: "And more",
|
||||
@@ -130,7 +133,7 @@ export default {
|
||||
ifStreamyard: "If you use Streamyard:",
|
||||
ifOBS: "If you use OBS:",
|
||||
ifLiveJoiner: "If you use LiveJoiner:",
|
||||
streamyard: `Go to "Edit tip page" menu item. Make sure you have added your twitch channel username. When starting the stream in Streamyard add Twitch as a destination. XMRChat bot ( xmr-chat on twitch ) will send the tip message on Twitch and you can display it on your screen from Streamyard. Displayed xmrchat bot logo looks best with "Minimal" setting.`,
|
||||
streamyard: `Go to "Edit tip page" menu item. Make sure you have added your twitch channel username. When starting the stream in Streamyard add Twitch as a destination. XMRChat bot ( xmr-chat on twitch ) will send the tip message on Twitch and you can display it on your screen from Streamyard. Review Twitch Automod settings as this may filter out desired superchats. Displayed xmrchat bot logo looks best with "Minimal" setting.`,
|
||||
obs: `Go to "OBS" menu item. Click on "Copy OBS Page Link". Add a browser source in OBS and paste the link.`,
|
||||
liveJoiner:
|
||||
"Choose XMRChat from the list of supported platforms, and enter your XMRChat tip page path or URL.",
|
||||
@@ -153,6 +156,7 @@ export default {
|
||||
monerica:
|
||||
"Accept Monero at your business and get listed at the {monerica} and {monerodirectory} pages and the business listings map on {xmrbazaar} and {bankexit}.",
|
||||
},
|
||||
advertise: "Advertise on XMRChat",
|
||||
|
||||
// TIP PAGE
|
||||
tipName: "Name",
|
||||
@@ -192,6 +196,24 @@ export default {
|
||||
cancel: "Cancel",
|
||||
copyAddress: "Copy Address",
|
||||
waitingForPayment: "Waiting for payment",
|
||||
tipSwapFailed:
|
||||
"Swap failed. Please visit the Trocador link below to check the status and cancel the swap if necessary.",
|
||||
paymentExpired:
|
||||
"Payment is expired. If you have already sent your payment please contact support.",
|
||||
sendTestTip: "Send Test Tip",
|
||||
swapStatus: "Swap Status: ",
|
||||
swapStatusMessage: {
|
||||
waiting: "Waiting for payment.",
|
||||
confirming: "Waiting for blockchain confirmation.",
|
||||
sending: "Swap is being sent to XMRChat.",
|
||||
failed: "Swap failed, please contact Trocador support.",
|
||||
},
|
||||
paymentReceived: "Payment received.",
|
||||
exactly: "exactly",
|
||||
swapPaymentSend:
|
||||
"Please send {exactly} {amount} to this address for your xmrchat to be displayed.",
|
||||
swapETA: "Swap ETA is about {eta} minutes.",
|
||||
trackSwap: "You can track your swap directly from {trocador}.",
|
||||
|
||||
// CONTACT US PAGE
|
||||
contactUsDescription: "Contact us for any questions or feedback.",
|
||||
@@ -322,7 +344,7 @@ export default {
|
||||
kunoFundraiser: "Kuno fundraiser",
|
||||
rumbleLiveStreamApi: "Rumble live stream API",
|
||||
rumbleLiveStreamApiHelp:
|
||||
"Rumble live stream API from {guide}. XMRChat uses this URL for getting current live streams of your channel.",
|
||||
"Rumble live stream API from {guide}. XMRChat uses this URL to feature your livestream on our homepage.",
|
||||
thisGuide: "this guide",
|
||||
|
||||
// OBS
|
||||
@@ -482,4 +504,111 @@ export default {
|
||||
repliedMessagePreview: "Replied message preview",
|
||||
action: "Action",
|
||||
premium: "Premium",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "Tip goal updated",
|
||||
tipGoalCreated: "Tip goal created",
|
||||
amountXMR: "Amount ( XMR )",
|
||||
start: "Start",
|
||||
end: "End",
|
||||
isActive: "Is Active",
|
||||
isActiveHelp: "Deactivated tip goal will not be displayed on your tip page.",
|
||||
timeIsEnded: "Time is ended",
|
||||
|
||||
// SUPER DM
|
||||
amount: "Amount",
|
||||
superDMAlertTitle: "SuperDM could not be started",
|
||||
startSuperDM: "Start SuperDM",
|
||||
openSuperDM: "Open SuperDM",
|
||||
endSuperDM: "End SuperDM",
|
||||
endedAt: "Ended at",
|
||||
endSuperDMText:
|
||||
"Messages can no longer be sent in this SuperDM after it is ended.",
|
||||
saveSuperDMIdAndKeyTitle: "Save SuperDM id and Recovery code",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"Please save SuperDM id and Recovery key. The keys can not be reused. You will not be able to recover/decrypt the messages without them. XMRChat will not store your recovery keys.",
|
||||
savedIdAndRecoveryCode: "I saved id and recovery key",
|
||||
superDMKeysRecoveryTitle:
|
||||
"The recovery keys are not saved on this browser. Please enter the mnemonic phrase for this SuperDM to recover the messages.",
|
||||
superDMId: "SuperDM id: ",
|
||||
mnemonicPhrase: "Mnemonic phrase",
|
||||
enterYourMnemonicPhrase: "Enter your mnemonic phrase",
|
||||
recover: "Recover",
|
||||
encryptionKeys: "Encryption Keys",
|
||||
backupRecoveryCode: "Backup your recovery code",
|
||||
backupRecoveryCodeDes:
|
||||
"XMRChat only stores your public key. Your recovery code remains on your device.",
|
||||
recoveryCode: "Recovery Code",
|
||||
recoveryCodeDes:
|
||||
"Enter your recovery code or generate new keys. You won't be able to decrypt your previous messages after generating new keys.",
|
||||
generateNew: "Generate new",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"Please save your recovery code. You will need the recovery code to access your encrypted messages. If you clear cache or use different device you will need to enter the recovery code.",
|
||||
ISavedRecoveryCode: "I saved the recovery code",
|
||||
generateNewKeys: "Generate new keys",
|
||||
generateNewKeysDes:
|
||||
"If you generate new keys you will not be able to decrypt your previous messages. New messages will be encrypted with the new keys.",
|
||||
ifForgotRecoveryCode:
|
||||
"If you forgot your recovery code or it is your first time using SuperDM, you can generate new encryption keys.",
|
||||
clickGenerateKeys: "Click generate keys to setup the SuperDM encryption.",
|
||||
beReadyToSaveRecoveryCode: "Please be ready to save your recovery code.",
|
||||
generateKeys: "Generate keys",
|
||||
superDMIsEnded: "SuperDM is ended.",
|
||||
superDMIsEndedAt: "SuperDM is ended at {date}.",
|
||||
sendAMessage: "Send a message...",
|
||||
superDMNotConfiguredTitle: "SuperDMs are not configured.",
|
||||
superDMNotConfiguredDes:
|
||||
"Enabling SuperDMs will allow fans to pay you an amount you choose for the ability to start a private conversation with you. This is an end to end encrypted chat between you and the fan, no one else sees these messages (not even us!). Notifications need to be enabled for this feature so you are notified when a SuperDM arrives. Please respond quickly to your fans.",
|
||||
configureSuperDMs: "Configure SuperDMs",
|
||||
configureNotifications: "Configure Notifications",
|
||||
showKeys: "Show keys",
|
||||
continueSuperDM: "Continue SuperDM",
|
||||
savedKeys: "Saved keys",
|
||||
useSavedKeys: "You can use the saved keys to continue the SuperDM messages.",
|
||||
use: "Use",
|
||||
enterSuperDMIdAndRecoveryCode: "Enter the SuperDM id and recovery code.",
|
||||
minSuperDMAmount: "Min. SuperDM amount ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"The minimum amount a fan needs to send to you to start a SuperDM.",
|
||||
showRecoveryCode: "Show Recovery Code",
|
||||
superDMRecoveryCodesTitle: "SuperDM recovery codes",
|
||||
superDMRecoveryCodesDes:
|
||||
"The recovery codes are not saved on the server. Please save the recovery code. You will need the recovery code and SuperDM id to access your encrypted messages. If you clear cache or use different device you will need to enter the recovery code.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "WALLET GUIDES",
|
||||
howToFindPrimaryAddress:
|
||||
"How to find the primary address and private view key (also known as secret view key):",
|
||||
toGetYourPrimaryAddress: "To get your primary address:",
|
||||
toGetYourViewKey: "To get your view key",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet:",
|
||||
primaryAddress1: '1. Click on "Receive"',
|
||||
primaryAddress2: "2. Copy the address that begins with 4",
|
||||
viewKey1: "1. Click on Settings",
|
||||
viewKey2: '2. Copy "View key (private)"',
|
||||
securityAndBackup: "Security and backup",
|
||||
showSeed: "Show seed/keys",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet:",
|
||||
guide1: "1. Click on Settings",
|
||||
guide2: '2. Copy "Primary address" and "Secret view key"',
|
||||
seedsAndKeys: "Seeds & Keys",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet:",
|
||||
guide1: "1. Click on Wallet",
|
||||
guide2: '2. Copy "Primary address" and "Secret view key"',
|
||||
keys: "Keys",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet:",
|
||||
guide1: "1. Click on Wallet",
|
||||
clickOnTheMenu: "Click on the menu",
|
||||
selectShowSecrets: 'Select "Show Secrets!"',
|
||||
guide2: '2. Copy "Public Address"',
|
||||
guide3: '3. Expand "Detailed information"',
|
||||
copyViewKey: 'Copy "View Key"',
|
||||
},
|
||||
};
|
||||
+139
-3
@@ -58,11 +58,14 @@ export default {
|
||||
here: "aquí",
|
||||
backToHome: "Volver al inicio",
|
||||
somethingWentWrong: "¡Algo salió mal!",
|
||||
donate: "Donar",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription: "De propinas en criptomonedas a sus streamers favoritos.",
|
||||
findCreators: "Encontrar creadores",
|
||||
creatorsStartHere: "Los creadores comienzan aquí",
|
||||
fansTippingStats:
|
||||
"¡Los fans han enviado {tipsCount} superchats por un total de {totalAmount} Monero ({fiatAmount}) a {pagesCount} creadores de contenido con XMRChat!",
|
||||
|
||||
FAQ: {
|
||||
title: "Preguntas frecuentes",
|
||||
@@ -95,7 +98,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "Rápido y fácil",
|
||||
description:
|
||||
"No es necesario que los espectadores creen una cuenta, verifiquen su correo electrónico o ingresen información de la tarjeta de crédito. Los fanáticos van a su página de propinas, escriben su nombre, mensaje, monto y envían su propina XMR.",
|
||||
"Los espectadores no necesitan crear una cuenta, verificar su correo electrónico ni introducir los datos de su tarjeta de crédito. Los fans van a tu página de propinas, escriben su nombre, mensaje, monto, escanean un código QR para pagar y envían su propina en XMR.",
|
||||
},
|
||||
openSource: {
|
||||
title: "Código abierto",
|
||||
@@ -116,7 +119,7 @@ export default {
|
||||
accepted: {
|
||||
title: "Aceptado",
|
||||
description:
|
||||
"Evite la molestia de vender su criptomoneda en un intercambio centralizado. Compre bienes y servicios directamente de comerciantes que aceptan Monero en {xmrbazaar} y {monerica}.",
|
||||
"Evita la molestia de vender tu criptomoneda en un exchange centralizado. Compra bienes y servicios directamente a comerciantes que aceptan Monero en {xmrbazaar}, {monerica}, o a través del servicio de conserjería {shopinbit}.",
|
||||
},
|
||||
andMore: {
|
||||
title: "Y más",
|
||||
@@ -131,7 +134,7 @@ export default {
|
||||
ifStreamyard: "Si usas Streamyard:",
|
||||
ifOBS: "Si usas OBS:",
|
||||
ifLiveJoiner: "Si utiliza LiveJoiner:",
|
||||
streamyard: `Ve al elemento del menú "Editar página de propinas". Asegúrate de haber añadido tu nombre de usuario de canal de Twitch. Al iniciar el stream en Streamyard, añade Twitch como destino. El bot XMRChat (xmr-chat en Twitch) enviará el mensaje de propina en Twitch y podrás mostrarlo en tu pantalla desde Streamyard. El logo del bot xmrchat se ve mejor con la configuración "Minimal".`,
|
||||
streamyard: `Ve al elemento de menú "Editar página de propina". Asegúrate de haber añadido tu nombre de usuario del canal de Twitch. Al iniciar la transmisión en Streamyard, añade Twitch como destino. El bot de XMRChat (xmr-chat en Twitch) enviará el mensaje de propina en Twitch y podrás mostrarlo en tu pantalla desde Streamyard. Revisa la configuración de Automod de Twitch, ya que puede filtrar los superchats deseados. El logo del bot de xmrchat se ve mejor con la opción "Minimal".`,
|
||||
obs: `Ve al elemento del menú "OBS". Haz clic en "Copiar enlace de página OBS". Añade una fuente de navegador en OBS y pega el enlace.`,
|
||||
liveJoiner:
|
||||
"Seleccione XMRChat de la lista de plataformas compatibles e introduzca la ruta o URL de su página de propinas de XMRChat.",
|
||||
@@ -156,6 +159,7 @@ export default {
|
||||
monerica:
|
||||
"Acepte Monero en su negocio y aparezca en las páginas {monerica} y {monerodirectory} y en el mapa de listados comerciales en {xmrbazaar} y {bankexit}.",
|
||||
},
|
||||
advertise: "Anuncia en XMRChat",
|
||||
|
||||
// TIP PAGE
|
||||
tipName: "Nombre",
|
||||
@@ -194,6 +198,25 @@ export default {
|
||||
cancel: "Cancelar",
|
||||
copyAddress: "Copiar dirección",
|
||||
waitingForPayment: "Esperando el pago",
|
||||
tipSwapFailed:
|
||||
"El intercambio ha fallado. Visita el enlace de Trocador a continuación para comprobar el estado y cancelar el intercambio si es necesario.",
|
||||
paymentExpired:
|
||||
"El pago ha caducado. Si ya has enviado el pago, ponte en contacto con el soporte.",
|
||||
sendTestTip: "Enviar propina de prueba",
|
||||
swapStatus: "Estado del intercambio: ",
|
||||
swapStatusMessage: {
|
||||
waiting: "Esperando el pago.",
|
||||
confirming: "Esperando la confirmación en la blockchain.",
|
||||
sending: "El intercambio se está enviando a XMRChat.",
|
||||
failed:
|
||||
"El intercambio ha fallado. Ponte en contacto con el soporte de Trocador.",
|
||||
},
|
||||
paymentReceived: "Pago recibido.",
|
||||
exactly: "exactamente",
|
||||
swapPaymentSend:
|
||||
"Envía {exactly} {amount} a esta dirección para que se muestre tu xmrchat.",
|
||||
swapETA: "El tiempo estimado del intercambio es de unos {eta} minutos.",
|
||||
trackSwap: "Puedes seguir tu intercambio directamente desde {trocador}.",
|
||||
|
||||
// CONTACT US PAGE
|
||||
contactUsDescription: "Contáctanos si tienes preguntas o comentarios.",
|
||||
@@ -480,4 +503,117 @@ export default {
|
||||
repliedMessagePreview: "Vista previa del mensaje respondido",
|
||||
action: "Acción",
|
||||
premium: "Premium",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "Objetivo de propina actualizado",
|
||||
tipGoalCreated: "Objetivo de propina creado",
|
||||
amountXMR: "Cantidad ( XMR )",
|
||||
start: "Inicio",
|
||||
end: "Fin",
|
||||
isActive: "Está activo",
|
||||
isActiveHelp:
|
||||
"Un objetivo de propina desactivado no se mostrará en tu página de propinas.",
|
||||
timeIsEnded: "El tiempo ha terminado",
|
||||
|
||||
// SUPER DM
|
||||
amount: "Cantidad",
|
||||
superDMAlertTitle: "No se pudo iniciar SuperDM",
|
||||
startSuperDM: "Iniciar SuperDM",
|
||||
openSuperDM: "Abrir SuperDM",
|
||||
endSuperDM: "Finalizar SuperDM",
|
||||
endedAt: "Finalizado a las",
|
||||
endSuperDMText:
|
||||
"Ya no se pueden enviar mensajes en este SuperDM una vez finalizado.",
|
||||
saveSuperDMIdAndKeyTitle:
|
||||
"Guardar el ID y el código de recuperación de SuperDM",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"Guarda el ID de SuperDM y la clave de recuperación. Las claves no se pueden reutilizar. No podrás recuperar/descifrar los mensajes sin ellas. XMRChat no almacenará tus claves de recuperación.",
|
||||
savedIdAndRecoveryCode: "He guardado el ID y la clave de recuperación",
|
||||
superDMKeysRecoveryTitle:
|
||||
"Las claves de recuperación no están guardadas en este navegador. Introduce la frase mnemónica de este SuperDM para recuperar los mensajes.",
|
||||
superDMId: "ID de SuperDM: ",
|
||||
mnemonicPhrase: "Frase mnemónica",
|
||||
enterYourMnemonicPhrase: "Introduce tu frase mnemónica",
|
||||
recover: "Recuperar",
|
||||
encryptionKeys: "Claves de cifrado",
|
||||
backupRecoveryCode: "Haz una copia de seguridad de tu código de recuperación",
|
||||
backupRecoveryCodeDes:
|
||||
"XMRChat solo almacena tu clave pública. Tu código de recuperación permanece en tu dispositivo.",
|
||||
recoveryCode: "Código de recuperación",
|
||||
recoveryCodeDes:
|
||||
"Introduce tu código de recuperación o genera nuevas claves. No podrás descifrar tus mensajes anteriores después de generar nuevas claves.",
|
||||
generateNew: "Generar nuevas",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"Guarda tu código de recuperación. Lo necesitarás para acceder a tus mensajes cifrados. Si borras la caché o utilizas otro dispositivo, tendrás que introducir el código de recuperación.",
|
||||
ISavedRecoveryCode: "He guardado el código de recuperación",
|
||||
generateNewKeys: "Generar nuevas claves",
|
||||
generateNewKeysDes:
|
||||
"Si generas nuevas claves, no podrás descifrar tus mensajes anteriores. Los mensajes nuevos se cifrarán con las nuevas claves.",
|
||||
ifForgotRecoveryCode:
|
||||
"Si olvidaste tu código de recuperación o es la primera vez que usas SuperDM, puedes generar nuevas claves de cifrado.",
|
||||
clickGenerateKeys:
|
||||
"Haz clic en «Generar claves» para configurar el cifrado de SuperDM.",
|
||||
beReadyToSaveRecoveryCode:
|
||||
"Prepárate para guardar tu código de recuperación.",
|
||||
generateKeys: "Generar claves",
|
||||
superDMIsEnded: "SuperDM ha finalizado.",
|
||||
superDMIsEndedAt: "SuperDM finalizó a las {date}.",
|
||||
sendAMessage: "Enviar un mensaje...",
|
||||
superDMNotConfiguredTitle: "Los SuperDM no están configurados.",
|
||||
superDMNotConfiguredDes:
|
||||
"Activar los SuperDM permitirá que tus fans te paguen la cantidad que elijan para iniciar una conversación privada contigo. Es un chat cifrado de extremo a extremo entre tú y el fan; nadie más puede ver estos mensajes (¡ni siquiera nosotros!). Las notificaciones deben estar activadas para esta función para que recibas una notificación cuando llegue un SuperDM. Responde rápidamente a tus fans.",
|
||||
configureSuperDMs: "Configurar SuperDM",
|
||||
configureNotifications: "Configurar notificaciones",
|
||||
showKeys: "Mostrar claves",
|
||||
continueSuperDM: "Continuar SuperDM",
|
||||
savedKeys: "Claves guardadas",
|
||||
useSavedKeys:
|
||||
"Puedes utilizar las claves guardadas para continuar los mensajes de SuperDM.",
|
||||
use: "Usar",
|
||||
enterSuperDMIdAndRecoveryCode:
|
||||
"Introduce el ID de SuperDM y el código de recuperación.",
|
||||
minSuperDMAmount: "Cantidad mínima de SuperDM ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"Cantidad mínima que un fan debe enviarte para iniciar un SuperDM.",
|
||||
showRecoveryCode: "Mostrar código de recuperación",
|
||||
superDMRecoveryCodesTitle: "Códigos de recuperación de SuperDM",
|
||||
superDMRecoveryCodesDes:
|
||||
"Los códigos de recuperación no se guardan en el servidor. Guarda tu código de recuperación. Necesitarás el código de recuperación y el ID de SuperDM para acceder a tus mensajes cifrados. Si borras la caché o utilizas otro dispositivo, tendrás que introducir el código de recuperación.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "GUÍAS DE CARTERA",
|
||||
howToFindPrimaryAddress:
|
||||
"Cómo encontrar la dirección principal y la clave de vista privada (también conocida como clave de vista secreta):",
|
||||
toGetYourPrimaryAddress: "Para obtener tu dirección principal:",
|
||||
toGetYourViewKey: "Para obtener tu clave de vista",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet:",
|
||||
primaryAddress1: '1. Haz clic en "Recibir"',
|
||||
primaryAddress2: "2. Copia la dirección que comienza con 4",
|
||||
viewKey1: "1. Haz clic en Configuración",
|
||||
viewKey2: '2. Copia la "Clave de vista (privada)"',
|
||||
securityAndBackup: "Seguridad y copia de seguridad",
|
||||
showSeed: "Mostrar semilla/claves",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet:",
|
||||
guide1: "1. Haz clic en Configuración",
|
||||
guide2: '2. Copia la "Dirección principal" y la "Clave de vista secreta"',
|
||||
seedsAndKeys: "Semillas y claves",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet:",
|
||||
guide1: "1. Haz clic en Cartera",
|
||||
guide2: '2. Copia la "Dirección principal" y la "Clave de vista secreta"',
|
||||
keys: "Claves",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet:",
|
||||
guide1: "1. Haz clic en Cartera",
|
||||
clickOnTheMenu: "Haz clic en el menú",
|
||||
selectShowSecrets: 'Selecciona "¡Mostrar secretos!"',
|
||||
guide2: '2. Copia la "Dirección pública"',
|
||||
guide3: '3. Expande "Información detallada"',
|
||||
copyViewKey: 'Copia la "Clave de vista"',
|
||||
},
|
||||
};
|
||||
+133
-4
@@ -57,11 +57,14 @@ export default {
|
||||
here: "اینجا",
|
||||
backToHome: "بازگشت به خانه",
|
||||
somethingWentWrong: "خطایی ناخواسته پیش آمده ",
|
||||
donate: "اهدا",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription: "به استریمر مورد علاقه خود با ارز دیجیتال انعام دهید.",
|
||||
findCreators: "پیدا کردن سازندگان محتوا",
|
||||
creatorsStartHere: " تولیدکنندگان محتوا جهت شروع از این قسمت استفاده کنند.",
|
||||
fansTippingStats:
|
||||
"طرفداران با استفاده از XMRChat تعداد {tipsCount} سوپرچت به ارزش مجموعاً {totalAmount} مونرو ({fiatAmount}) به {pagesCount} تولیدکننده محتوا ارسال کردهاند!",
|
||||
|
||||
FAQ: {
|
||||
title: "سوالات متداول",
|
||||
@@ -94,7 +97,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "سریع و آسان",
|
||||
description:
|
||||
"بینندگان نیازی به ایجاد حساب کاربری، تأیید ایمیل یا وارد کردن اطلاعات کارت اعتباری ندارند. طرفداران به صفحه انعام شما میروند، نام، پیام، مبلغ را وارد میکنند و انعام XMR خود را ارسال میکنند.",
|
||||
"بینندگان نیازی به ایجاد حساب کاربری، تأیید ایمیل یا وارد کردن اطلاعات کارت اعتباری ندارند. هواداران به صفحهی انعام شما مراجعه میکنند، نام، پیام و مبلغ خود را وارد میکنند، برای پرداخت یک کد QR را اسکن میکنند و انعام XMR خود را ارسال میکنند.",
|
||||
},
|
||||
openSource: {
|
||||
title: "متن باز",
|
||||
@@ -114,7 +117,7 @@ export default {
|
||||
accepted: {
|
||||
title: "پذیرفته شده",
|
||||
description:
|
||||
"از دردسر فروش ارز دیجیتال خود در صرافی متمرکز اجتناب کنید. کالاها و خدمات را مستقیماً از فروشندگانی که Monero را در {xmrbazaar} و {monerica} میپذیرند خریداری کنید.",
|
||||
"از دردسر فروش رمزارز خود در یک صرافی متمرکز اجتناب کنید. کالاها و خدمات را مستقیماً از فروشندگانی خریداری کنید که Monero را در {xmrbazaar}، {monerica} یا از طریق سرویس کنسیرژ {shopinbit} میپذیرند.",
|
||||
},
|
||||
andMore: {
|
||||
title: "و بیشتر",
|
||||
@@ -130,8 +133,7 @@ export default {
|
||||
ifStreamyard: "اگر از Streamyard استفاده میکنید:",
|
||||
ifOBS: "اگر از OBS استفاده میکنید:",
|
||||
ifLiveJoiner: "اگر از LiveJoiner استفاده میکنید:",
|
||||
streamyard:
|
||||
'به منوی "ویرایش صفحه انعام" بروید. مطمئن شوید که نام کاربری کانال توییچ خود را اضافه کردهاید. هنگام شروع استریم در Streamyard، توییچ را به عنوان مقصد اضافه کنید. ربات XMRChat (xmr-chat در توییچ) پیام انعام را در توییچ ارسال میکند و شما میتوانید آن را از Streamyard روی صفحه نمایش خود نشان دهید. لوگوی ربات xmrchat با تنظیم "Minimal" بهترین ظاهر را دارد.',
|
||||
streamyard: `به مورد منوی "ویرایش صفحهی انعام" بروید. مطمئن شوید که نام کاربری کانال Twitch خود را اضافه کردهاید. هنگام شروع پخش زنده در Streamyard، Twitch را بهعنوان مقصد اضافه کنید. ربات XMRChat (xmr-chat در Twitch) پیام انعام را در Twitch ارسال میکند و میتوانید آن را از طریق Streamyard روی صفحهی خود نمایش دهید. تنظیمات Automod در Twitch را بررسی کنید زیرا ممکن است سوپرچتهای مورد نظر را فیلتر کند. لوگوی ربات xmrchat با تنظیم "Minimal" بهترین نمایش را دارد.`,
|
||||
obs: 'به منوی "OBS" بروید. روی "کپی لینک صفحه OBS" کلیک کنید. یک منبع مرورگر در OBS اضافه کنید و لینک را جایگذاری کنید.',
|
||||
liveJoiner:
|
||||
"XMRChat را از فهرست پلتفرمهای پشتیبانیشده انتخاب کنید و مسیر یا آدرس URL صفحه انعام XMRChat خود را وارد کنید.",
|
||||
@@ -154,6 +156,7 @@ export default {
|
||||
monerica:
|
||||
"پذیرش Monero در کسبوکار خود و ثبت در صفحات {monerica} و {monerodirectory} و نقشه لیست کسبوکارها در {xmrbazaar} و {bankexit}.",
|
||||
},
|
||||
advertise: "در XMRChat تبلیغ کنید",
|
||||
|
||||
// TIP PAGE
|
||||
tipName: "نام انعام",
|
||||
@@ -191,6 +194,24 @@ export default {
|
||||
cancel: "لغو کردن",
|
||||
copyAddress: "کپی آدرس",
|
||||
waitingForPayment: "در انتظار پرداخت",
|
||||
tipSwapFailed:
|
||||
"تراکنش سواپ ناموفق بود. لطفاً برای بررسی وضعیت و لغو سواپ در صورت نیاز، به لینک Trocador در زیر مراجعه کنید.",
|
||||
paymentExpired:
|
||||
"مهلت پرداخت به پایان رسیده است. اگر پرداخت خود را قبلاً ارسال کردهاید، لطفاً با پشتیبانی تماس بگیرید.",
|
||||
sendTestTip: "ارسال انعام آزمایشی",
|
||||
swapStatus: "وضعیت سواپ: ",
|
||||
swapStatusMessage: {
|
||||
waiting: "در انتظار پرداخت.",
|
||||
confirming: "در انتظار تأیید در بلاکچین.",
|
||||
sending: "سواپ در حال ارسال به XMRChat است.",
|
||||
failed: "سواپ ناموفق بود، لطفاً با پشتیبانی Trocador تماس بگیرید.",
|
||||
},
|
||||
paymentReceived: "پرداخت دریافت شد.",
|
||||
exactly: "دقیقاً",
|
||||
swapPaymentSend:
|
||||
"لطفاً {exactly} {amount} را به این آدرس ارسال کنید تا xmrchat شما نمایش داده شود.",
|
||||
swapETA: "زمان تقریبی انجام سواپ حدود {eta} دقیقه است.",
|
||||
trackSwap: "میتوانید سواپ خود را مستقیماً از طریق {trocador} پیگیری کنید.",
|
||||
|
||||
// CONTACT US PAGE
|
||||
contactUsDescription: "جهت هرگونه سوال یا بازخورد با ما تماس بگیرید.",
|
||||
@@ -475,4 +496,112 @@ export default {
|
||||
repliedMessagePreview: "پیشنمایش پیام پاسخدادهشده",
|
||||
action: "عمل",
|
||||
premium: "پریمیوم",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "هدف انعام بهروزرسانی شد",
|
||||
tipGoalCreated: "هدف انعام ایجاد شد",
|
||||
amountXMR: "مبلغ ( XMR )",
|
||||
start: "شروع",
|
||||
end: "پایان",
|
||||
isActive: "فعال است",
|
||||
isActiveHelp: "هدف انعام غیرفعالشده در صفحه انعام شما نمایش داده نخواهد شد.",
|
||||
timeIsEnded: "زمان به پایان رسیده است",
|
||||
|
||||
// SUPER DM
|
||||
amount: "مبلغ",
|
||||
superDMAlertTitle: "SuperDM قابل شروع نیست",
|
||||
startSuperDM: "شروع SuperDM",
|
||||
openSuperDM: "باز کردن SuperDM",
|
||||
endSuperDM: "پایان دادن به SuperDM",
|
||||
endedAt: "پایان در",
|
||||
endSuperDMText: "پس از پایان این SuperDM دیگر امکان ارسال پیام وجود ندارد.",
|
||||
saveSuperDMIdAndKeyTitle: "ذخیره شناسه و کد بازیابی SuperDM",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"لطفاً شناسه SuperDM و کلید بازیابی را ذخیره کنید. کلیدها قابل استفاده مجدد نیستند. بدون آنها امکان بازیابی یا رمزگشایی پیامها را نخواهید داشت. XMRChat کلیدهای بازیابی شما را ذخیره نمیکند.",
|
||||
savedIdAndRecoveryCode: "شناسه و کلید بازیابی را ذخیره کردم",
|
||||
superDMKeysRecoveryTitle:
|
||||
"کلیدهای بازیابی در این مرورگر ذخیره نشدهاند. برای بازیابی پیامها، عبارت یادآور مربوط به این SuperDM را وارد کنید.",
|
||||
superDMId: "شناسه SuperDM: ",
|
||||
mnemonicPhrase: "عبارت یادآور",
|
||||
enterYourMnemonicPhrase: "عبارت یادآور خود را وارد کنید",
|
||||
recover: "بازیابی",
|
||||
encryptionKeys: "کلیدهای رمزنگاری",
|
||||
backupRecoveryCode: "از کد بازیابی خود نسخه پشتیبان تهیه کنید",
|
||||
backupRecoveryCodeDes:
|
||||
"XMRChat فقط کلید عمومی شما را ذخیره میکند. کد بازیابی شما روی دستگاهتان باقی میماند.",
|
||||
recoveryCode: "کد بازیابی",
|
||||
recoveryCodeDes:
|
||||
"کد بازیابی خود را وارد کنید یا کلیدهای جدید ایجاد کنید. پس از ایجاد کلیدهای جدید، دیگر نمیتوانید پیامهای قبلی خود را رمزگشایی کنید.",
|
||||
generateNew: "ایجاد جدید",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"لطفاً کد بازیابی خود را ذخیره کنید. برای دسترسی به پیامهای رمزنگاریشده به این کد نیاز خواهید داشت. اگر کش را پاک کنید یا از دستگاه دیگری استفاده کنید، باید کد بازیابی را وارد کنید.",
|
||||
ISavedRecoveryCode: "کد بازیابی را ذخیره کردم",
|
||||
generateNewKeys: "ایجاد کلیدهای جدید",
|
||||
generateNewKeysDes:
|
||||
"اگر کلیدهای جدید ایجاد کنید، دیگر نمیتوانید پیامهای قبلی خود را رمزگشایی کنید. پیامهای جدید با کلیدهای جدید رمزنگاری خواهند شد.",
|
||||
ifForgotRecoveryCode:
|
||||
"اگر کد بازیابی خود را فراموش کردهاید یا برای اولین بار از SuperDM استفاده میکنید، میتوانید کلیدهای رمزنگاری جدید ایجاد کنید.",
|
||||
clickGenerateKeys:
|
||||
"برای تنظیم رمزنگاری SuperDM روی «ایجاد کلیدها» کلیک کنید.",
|
||||
beReadyToSaveRecoveryCode: "لطفاً آماده ذخیره کردن کد بازیابی خود باشید.",
|
||||
generateKeys: "ایجاد کلیدها",
|
||||
superDMIsEnded: "SuperDM به پایان رسیده است.",
|
||||
superDMIsEndedAt: "SuperDM در {date} به پایان رسید.",
|
||||
sendAMessage: "ارسال پیام...",
|
||||
superDMNotConfiguredTitle: "SuperDMها پیکربندی نشدهاند.",
|
||||
superDMNotConfiguredDes:
|
||||
"با فعال کردن SuperDM، طرفداران شما میتوانند مبلغی را که شما تعیین میکنید پرداخت کنند تا امکان شروع یک گفتوگوی خصوصی با شما را داشته باشند. این یک چت با رمزنگاری سرتاسری بین شما و طرفدار است و هیچ شخص دیگری نمیتواند این پیامها را ببیند (حتی ما!). برای استفاده از این قابلیت باید اعلانها فعال باشند تا هنگام دریافت SuperDM به شما اطلاع داده شود. لطفاً سریع به طرفداران خود پاسخ دهید.",
|
||||
configureSuperDMs: "پیکربندی SuperDMها",
|
||||
configureNotifications: "پیکربندی اعلانها",
|
||||
showKeys: "نمایش کلیدها",
|
||||
continueSuperDM: "ادامه SuperDM",
|
||||
savedKeys: "کلیدهای ذخیرهشده",
|
||||
useSavedKeys:
|
||||
"میتوانید برای ادامه پیامهای SuperDM از کلیدهای ذخیرهشده استفاده کنید.",
|
||||
use: "استفاده",
|
||||
enterSuperDMIdAndRecoveryCode: "شناسه SuperDM و کد بازیابی را وارد کنید.",
|
||||
minSuperDMAmount: "حداقل مبلغ SuperDM ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"حداقل مبلغی که یک طرفدار باید برای شروع SuperDM برای شما ارسال کند.",
|
||||
showRecoveryCode: "نمایش کد بازیابی",
|
||||
superDMRecoveryCodesTitle: "کدهای بازیابی SuperDM",
|
||||
superDMRecoveryCodesDes:
|
||||
"کدهای بازیابی روی سرور ذخیره نمیشوند. لطفاً کد بازیابی خود را ذخیره کنید. برای دسترسی به پیامهای رمزنگاریشده به کد بازیابی و شناسه SuperDM نیاز خواهید داشت. اگر کش را پاک کنید یا از دستگاه دیگری استفاده کنید، باید کد بازیابی را وارد کنید.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "راهنماهای کیف پول",
|
||||
howToFindPrimaryAddress:
|
||||
"چگونه آدرس اصلی و کلید مشاهده خصوصی (که به کلید مشاهده مخفی نیز معروف است) را پیدا کنیم:",
|
||||
toGetYourPrimaryAddress: "برای دریافت آدرس اصلی خود:",
|
||||
toGetYourViewKey: "برای دریافت کلید مشاهده خود",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet:",
|
||||
primaryAddress1: '۱. روی "Receive" کلیک کنید',
|
||||
primaryAddress2: "۲. آدرسی را که با ۴ شروع میشود کپی کنید",
|
||||
viewKey1: "۱. روی Settings کلیک کنید",
|
||||
viewKey2: '۲. "View key (private)" را کپی کنید',
|
||||
securityAndBackup: "امنیت و پشتیبانگیری",
|
||||
showSeed: "نمایش سید/کلیدها",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet:",
|
||||
guide1: "۱. روی Settings کلیک کنید",
|
||||
guide2: '۲. "Primary address" و "Secret view key" را کپی کنید',
|
||||
seedsAndKeys: "سیدها و کلیدها",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet:",
|
||||
guide1: "۱. روی Wallet کلیک کنید",
|
||||
guide2: '۲. "Primary address" و "Secret view key" را کپی کنید',
|
||||
keys: "کلیدها",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet:",
|
||||
guide1: "۱. روی Wallet کلیک کنید",
|
||||
clickOnTheMenu: "روی منو کلیک کنید",
|
||||
selectShowSecrets: '"Show Secrets!" را انتخاب کنید',
|
||||
guide2: '۲. "Public Address" را کپی کنید',
|
||||
guide3: '۳. "Detailed information" را باز کنید',
|
||||
copyViewKey: '"View Key" را کپی کنید',
|
||||
},
|
||||
};
|
||||
+134
-3
@@ -56,11 +56,14 @@ export default {
|
||||
here: "tässä",
|
||||
backToHome: "Takaisin kotiin",
|
||||
somethingWentWrong: "Jotain meni pieleen!",
|
||||
donate: "Lahjoita",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription: "Tue suosikkistriimaajaasi Monerolla.",
|
||||
findCreators: "Etsi sisällöntuottajia",
|
||||
creatorsStartHere: "Sisällöntuottajille: Aloita tästä",
|
||||
fansTippingStats:
|
||||
"Fanien lähettämien superchatien määrä on {tipsCount}, на общую сумму {totalAmount} Monero ({fiatAmount}), {pagesCount} sisällöntuottajalle XMRChatin kautta!",
|
||||
|
||||
FAQ: {
|
||||
title: "Usein kysytyt kysymykset",
|
||||
@@ -93,7 +96,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "Nopea ja helppo",
|
||||
description:
|
||||
"Ei tiliä, ei sähköpostivahvistuksia, ei korttitietoja. Fani syöttää nimen, viestin, summan ja lähettää XMR:n.",
|
||||
"Katsojien ei tarvitse luoda tiliä, vahvistaa sähköpostiaan tai syöttää luottokorttitietoja. Fanit menevät tippisivullesi, kirjoittavat nimensä, viestinsä, summan, skannaavat QR-koodin maksaakseen ja lähettävät XMR-tippinsä.",
|
||||
},
|
||||
openSource: {
|
||||
title: "Avoin lähdekoodi",
|
||||
@@ -113,7 +116,7 @@ export default {
|
||||
accepted: {
|
||||
title: "Hyväksytty",
|
||||
description:
|
||||
"Sinun ei tarvitse myydä Moneroa vaihtopalvelussa. Voit ostaa Monerolla myös suoraan {xmrbazaar}:sta ja {monerica}:sta.",
|
||||
"Vältä kryptosi myymisen vaiva keskitetyssä pörssissä. Osta tuotteita ja palveluita suoraan kauppiailta, jotka hyväksyvät Moneroa palveluissa {xmrbazaar}, {monerica} tai conciergepalvelun {shopinbit} kautta.",
|
||||
},
|
||||
andMore: {
|
||||
title: "Ja paljon muuta",
|
||||
@@ -128,7 +131,7 @@ export default {
|
||||
ifStreamyard: "Jos käytät Streamyardia:",
|
||||
ifOBS: "Jos käytät OBS:ia:",
|
||||
ifLiveJoiner: "Jos käytät LiveJoineria:",
|
||||
streamyard: `Siirry "Muokkaa tippisivua" -valikkoon. Varmista, että olet lisännyt Twitch-kanavasi käyttäjänimen. Kun aloitat striimin Streamyardissa, lisää Twitch kohteena. XMRChat-botti (xmr-chat Twitchissä) lähettää tippiviestin Twitchiin ja voit näyttää sen ruudullasi Streamyardista. xmrchat-botin logo näyttää parhaalta "Minimal" -asetuksella.`,
|
||||
streamyard: `Siirry valikkokohtaan "Muokkaa tippisivua". Varmista, että olet lisännyt Twitch-kanavasi käyttäjänimen. Kun aloitat lähetyksen Streamyardissa, lisää Twitch kohteeksi. XMRChat-botti (xmr-chat Twitchissä) lähettää tippiviestin Twitchiin, ja voit näyttää sen näytölläsi Streamyardin kautta. Tarkista Twitchin Automod-asetukset, sillä ne saattavat suodattaa halutut superchatit pois. Näytettävä xmrchat-botin logo näyttää parhaalta "Minimal"-asetuksella.`,
|
||||
obs: `Siirry "OBS" -valikkoon. Klikkaa "Kopioi OBS-sivun linkki". Lisää selainlähde OBS:ään ja liitä linkki.`,
|
||||
liveJoiner:
|
||||
"Valitse XMRChat tuettujen alustojen luettelosta ja syötä XMRChat-tippisivusi polku tai URL-osoite.",
|
||||
@@ -152,6 +155,7 @@ export default {
|
||||
monerica:
|
||||
"Hyväksy Monero liiketoiminnassasi ja listaa itsesi {monerica}, {monerodirectory} ja {xmrbazaar} ja {bankexit} sivuille.",
|
||||
},
|
||||
advertise: "Mainosta XMRChatissa",
|
||||
|
||||
tipName: "Nimi",
|
||||
tipAmount: "Summa",
|
||||
@@ -188,6 +192,24 @@ export default {
|
||||
cancel: "Peruuta",
|
||||
copyAddress: "Kopioi osoite",
|
||||
waitingForPayment: "Odotetaan maksua",
|
||||
tipSwapFailed:
|
||||
"Vaihto epäonnistui. Tarkista tila alla olevasta Trocador-linkistä ja peruuta vaihto tarvittaessa.",
|
||||
paymentExpired:
|
||||
"Maksu on vanhentunut. Jos olet jo lähettänyt maksun, ota yhteyttä tukeen.",
|
||||
sendTestTip: "Lähetä testivinkki",
|
||||
swapStatus: "Vaihdon tila: ",
|
||||
swapStatusMessage: {
|
||||
waiting: "Odotetaan maksua.",
|
||||
confirming: "Odotetaan lohkoketjun vahvistusta.",
|
||||
sending: "Vaihtoa lähetetään XMRChatiin.",
|
||||
failed: "Vaihto epäonnistui. Ota yhteyttä Trocadorin tukeen.",
|
||||
},
|
||||
paymentReceived: "Maksu vastaanotettu.",
|
||||
exactly: "täsmälleen",
|
||||
swapPaymentSend:
|
||||
"Lähetä {exactly} {amount} tähän osoitteeseen, jotta xmrchatisi voidaan näyttää.",
|
||||
swapETA: "Vaihdon arvioitu kesto on noin {eta} minuuttia.",
|
||||
trackSwap: "Voit seurata vaihtoa suoraan {trocador}-palvelusta.",
|
||||
|
||||
contactUsDescription: "Ota meihin yhteyttä kysymyksillä tai palautteella.",
|
||||
contactUsForm: "Yhteydenottolomake",
|
||||
@@ -471,4 +493,113 @@ export default {
|
||||
repliedMessagePreview: "Vastatun viestin esikatselu",
|
||||
action: "Toiminto",
|
||||
premium: "Premium",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "Juomarahatavoite päivitetty",
|
||||
tipGoalCreated: "Juomarahatavoite luotu",
|
||||
amountXMR: "Summa ( XMR )",
|
||||
start: "Alku",
|
||||
end: "Loppu",
|
||||
isActive: "On aktiivinen",
|
||||
isActiveHelp:
|
||||
"Käytöstä poistettua juomarahatavoitetta ei näytetä juomarahasivullasi.",
|
||||
timeIsEnded: "Aika on päättynyt",
|
||||
|
||||
// SUPER DM
|
||||
amount: "Summa",
|
||||
superDMAlertTitle: "SuperDM:ää ei voitu käynnistää",
|
||||
startSuperDM: "Käynnistä SuperDM",
|
||||
openSuperDM: "Avaa SuperDM",
|
||||
endSuperDM: "Lopeta SuperDM",
|
||||
endedAt: "Päättyi",
|
||||
endSuperDMText:
|
||||
"Tähän SuperDM:ään ei voi enää lähettää viestejä sen päätyttyä.",
|
||||
saveSuperDMIdAndKeyTitle: "Tallenna SuperDM-tunnus ja palautuskoodi",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"Tallenna SuperDM-tunnus ja palautusavain. Avaimia ei voi käyttää uudelleen. Et voi palauttaa tai purkaa viestien salausta ilman niitä. XMRChat ei tallenna palautusavaimiasi.",
|
||||
savedIdAndRecoveryCode: "Olen tallentanut tunnuksen ja palautusavaimen",
|
||||
superDMKeysRecoveryTitle:
|
||||
"Palautusavaimia ei ole tallennettu tähän selaimeen. Syötä tämän SuperDM:n muistilause palauttaaksesi viestit.",
|
||||
superDMId: "SuperDM-tunnus: ",
|
||||
mnemonicPhrase: "Muistilause",
|
||||
enterYourMnemonicPhrase: "Syötä muistilauseesi",
|
||||
recover: "Palauta",
|
||||
encryptionKeys: "Salausavaimet",
|
||||
backupRecoveryCode: "Varmuuskopioi palautuskoodisi",
|
||||
backupRecoveryCodeDes:
|
||||
"XMRChat tallentaa vain julkisen avaimesi. Palautuskoodisi säilyy laitteellasi.",
|
||||
recoveryCode: "Palautuskoodi",
|
||||
recoveryCodeDes:
|
||||
"Syötä palautuskoodisi tai luo uudet avaimet. Et voi purkaa aiempien viestiesi salausta uusien avainten luomisen jälkeen.",
|
||||
generateNew: "Luo uudet",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"Tallenna palautuskoodisi. Tarvitset sitä päästäksesi käsiksi salattuihin viesteihisi. Jos tyhjennät välimuistin tai käytät toista laitetta, sinun on syötettävä palautuskoodi.",
|
||||
ISavedRecoveryCode: "Olen tallentanut palautuskoodin",
|
||||
generateNewKeys: "Luo uudet avaimet",
|
||||
generateNewKeysDes:
|
||||
"Jos luot uudet avaimet, et voi purkaa aiempien viestiesi salausta. Uudet viestit salataan uusilla avaimilla.",
|
||||
ifForgotRecoveryCode:
|
||||
"Jos unohdit palautuskoodisi tai käytät SuperDM:ää ensimmäistä kertaa, voit luoda uudet salausavaimet.",
|
||||
clickGenerateKeys: "Napsauta «Luo avaimet» määrittääksesi SuperDM-salauksen.",
|
||||
beReadyToSaveRecoveryCode: "Valmistaudu tallentamaan palautuskoodisi.",
|
||||
generateKeys: "Luo avaimet",
|
||||
superDMIsEnded: "SuperDM on päättynyt.",
|
||||
superDMIsEndedAt: "SuperDM päättyi {date}.",
|
||||
sendAMessage: "Lähetä viesti...",
|
||||
superDMNotConfiguredTitle: "SuperDM:iä ei ole määritetty.",
|
||||
superDMNotConfiguredDes:
|
||||
"SuperDM:ien käyttöönotto antaa faneillesi mahdollisuuden maksaa valitsemasi summan aloittaakseen yksityisen keskustelun kanssasi. Kyseessä on päästä päähän salattu keskustelu sinun ja fanin välillä, eikä kukaan muu näe näitä viestejä (emme edes me!). Ilmoitukset on otettava käyttöön, jotta saat ilmoituksen SuperDM:n saapuessa. Vastaa faneillesi nopeasti.",
|
||||
configureSuperDMs: "Määritä SuperDM:t",
|
||||
configureNotifications: "Määritä ilmoitukset",
|
||||
showKeys: "Näytä avaimet",
|
||||
continueSuperDM: "Jatka SuperDM:ää",
|
||||
savedKeys: "Tallennetut avaimet",
|
||||
useSavedKeys:
|
||||
"Voit käyttää tallennettuja avaimia jatkaaksesi SuperDM-viestejä.",
|
||||
use: "Käytä",
|
||||
enterSuperDMIdAndRecoveryCode: "Syötä SuperDM-tunnus ja palautuskoodi.",
|
||||
minSuperDMAmount: "SuperDM:n vähimmäissumma ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"Vähimmäissumma, jonka fanin on lähetettävä sinulle SuperDM:n aloittamiseksi.",
|
||||
showRecoveryCode: "Näytä palautuskoodi",
|
||||
superDMRecoveryCodesTitle: "SuperDM:n palautuskoodit",
|
||||
superDMRecoveryCodesDes:
|
||||
"Palautuskoodeja ei tallenneta palvelimelle. Tallenna palautuskoodisi. Tarvitset palautuskoodin ja SuperDM-tunnuksen päästäksesi käsiksi salattuihin viesteihisi. Jos tyhjennät välimuistin tai käytät toista laitetta, sinun on syötettävä palautuskoodi.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "LOMPAKKO-OPPAAT",
|
||||
howToFindPrimaryAddress:
|
||||
"Miten löydät ensisijaisen osoitteen ja yksityisen katseluavaimen (tunnetaan myös salaisena katseluavaimena):",
|
||||
toGetYourPrimaryAddress: "Saadaksesi ensisijaisen osoitteesi:",
|
||||
toGetYourViewKey: "Saadaksesi katseluavaimesi",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet:",
|
||||
primaryAddress1: '1. Napsauta "Vastaanota"',
|
||||
primaryAddress2: "2. Kopioi osoite, joka alkaa numerolla 4",
|
||||
viewKey1: "1. Napsauta Asetukset",
|
||||
viewKey2: '2. Kopioi "View key (yksityinen)"',
|
||||
securityAndBackup: "Turvallisuus ja varmuuskopiointi",
|
||||
showSeed: "Näytä siemen/avaimet",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet:",
|
||||
guide1: "1. Napsauta Asetukset",
|
||||
guide2: '2. Kopioi "Ensisijainen osoite" ja "Salainen katseluavain"',
|
||||
seedsAndKeys: "Siemenet ja avaimet",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet:",
|
||||
guide1: "1. Napsauta Wallet",
|
||||
guide2: '2. Kopioi "Ensisijainen osoite" ja "Salainen katseluavain"',
|
||||
keys: "Avaimet",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet:",
|
||||
guide1: "1. Napsauta Wallet",
|
||||
clickOnTheMenu: "Napsauta valikkoa",
|
||||
selectShowSecrets: 'Valitse "Show Secrets!"',
|
||||
guide2: '2. Kopioi "Julkinen osoite"',
|
||||
guide3: '3. Laajenna "Yksityiskohtaiset tiedot"',
|
||||
copyViewKey: 'Kopioi "View Key"',
|
||||
},
|
||||
};
|
||||
+139
-3
@@ -59,12 +59,15 @@ export default {
|
||||
here: "ici",
|
||||
backToHome: "Retour à l'accueil",
|
||||
somethingWentWrong: "Une erreur s'est produite !",
|
||||
donate: "Faire un don",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription:
|
||||
"Offrez des pourboires en cryptomonnaie à vos streamers préférés.",
|
||||
findCreators: "Trouver des Créateurs",
|
||||
creatorsStartHere: "Les Créateurs commencent ici",
|
||||
fansTippingStats:
|
||||
"Les fans ont envoyé {tipsCount} superchats pour un total de {totalAmount} Monero ({fiatAmount}) à {pagesCount} créateurs de contenu avec XMRChat !",
|
||||
|
||||
FAQ: {
|
||||
title: "FAQ",
|
||||
@@ -97,7 +100,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "Rapide et Facile",
|
||||
description:
|
||||
"Pas besoin pour les spectateurs de créer un compte, de vérifier leur email ou de saisir les informations de leur carte de crédit. Les fans vont sur votre page de pourboire, saisissent leur nom, leur message, le montant et soumettent leur pourboire XMR.",
|
||||
"Les spectateurs n'ont pas besoin de créer un compte, de vérifier leur e-mail ou de saisir leurs informations de carte bancaire. Les fans se rendent sur votre page de pourboires, saisissent leur nom, leur message, le montant, scannent un code QR pour payer, et envoient leur pourboire en XMR.",
|
||||
},
|
||||
openSource: {
|
||||
title: "Open Source",
|
||||
@@ -118,7 +121,7 @@ export default {
|
||||
accepted: {
|
||||
title: "Accepté",
|
||||
description:
|
||||
"Évitez les tracas liés à la vente de votre crypto sur un échange centralisé. Achetez des biens et des services directement auprès des marchands qui acceptent Monero sur {xmrbazaar} et {monerica}.",
|
||||
"Évitez la contrainte de vendre vos cryptomonnaies sur une plateforme d'échange centralisée. Achetez des biens et services directement auprès de commerçants qui acceptent Monero sur {xmrbazaar}, {monerica}, ou via le service de conciergerie {shopinbit}.",
|
||||
},
|
||||
andMore: {
|
||||
title: "Et plus encore",
|
||||
@@ -133,7 +136,7 @@ export default {
|
||||
ifStreamyard: "Si vous utilisez Streamyard :",
|
||||
ifOBS: "Si vous utilisez OBS :",
|
||||
ifLiveJoiner: "Si vous utilisez LiveJoiner :",
|
||||
streamyard: `Allez dans le menu "Modifier la page de pourboires". Assurez-vous d'avoir ajouté votre nom d'utilisateur de chaîne Twitch. Lors du démarrage du stream dans Streamyard, ajoutez Twitch comme destination. Le bot XMRChat (xmr-chat sur Twitch) enverra le message de pourboire sur Twitch et vous pourrez l'afficher sur votre écran depuis Streamyard. Le logo du bot xmrchat s'affiche le mieux avec le paramètre "Minimal".`,
|
||||
streamyard: `Allez dans l'élément de menu "Modifier la page de pourboire". Assurez-vous d'avoir ajouté votre nom d'utilisateur de chaîne Twitch. Lorsque vous démarrez le stream dans Streamyard, ajoutez Twitch comme destination. Le bot XMRChat (xmr-chat sur Twitch) enverra le message du pourboire sur Twitch et vous pourrez l'afficher à l'écran depuis Streamyard. Vérifiez les paramètres Automod de Twitch, car ils peuvent filtrer les superchats souhaités. Le logo du bot xmrchat affiché est le plus lisible avec le réglage "Minimal".`,
|
||||
obs: `Allez dans le menu "OBS". Cliquez sur "Copier le lien de la page OBS". Ajoutez une source navigateur dans OBS et collez le lien.`,
|
||||
liveJoiner:
|
||||
"Choisissez XMRChat dans la liste des plateformes prises en charge, puis saisissez le chemin ou l’URL de votre page de pourboires XMRChat.",
|
||||
@@ -144,6 +147,7 @@ export default {
|
||||
description:
|
||||
"Allez à l'URL de la page de pourboires de votre créateur de contenu. Saisissez votre nom d'utilisateur et votre message, choisissez le montant du pourboire, puis envoyez. Une boîte de dialogue apparaîtra avec les détails du pourboire. Votre xmrchat sera affiché sur la page du streamer après l'envoi du pourboire.",
|
||||
},
|
||||
advertise: "Faites de la publicité sur XMRChat",
|
||||
|
||||
// TIP PAGE
|
||||
tipName: "Nom",
|
||||
@@ -184,6 +188,24 @@ export default {
|
||||
cancel: "Annuler",
|
||||
copyAddress: "Copier l'Adresse",
|
||||
waitingForPayment: "En attente du paiement",
|
||||
tipSwapFailed:
|
||||
"L'échange a échoué. Veuillez consulter le lien Trocador ci-dessous pour vérifier le statut et annuler l'échange si nécessaire.",
|
||||
paymentExpired:
|
||||
"Le paiement a expiré. Si vous avez déjà envoyé votre paiement, veuillez contacter le support.",
|
||||
sendTestTip: "Envoyer un pourboire de test",
|
||||
swapStatus: "Statut de l'échange : ",
|
||||
swapStatusMessage: {
|
||||
waiting: "En attente du paiement.",
|
||||
confirming: "En attente de la confirmation sur la blockchain.",
|
||||
sending: "L'échange est en cours d'envoi vers XMRChat.",
|
||||
failed: "L'échange a échoué, veuillez contacter le support de Trocador.",
|
||||
},
|
||||
paymentReceived: "Paiement reçu.",
|
||||
exactly: "exactement",
|
||||
swapPaymentSend:
|
||||
"Veuillez envoyer {exactly} {amount} à cette adresse pour que votre xmrchat soit affiché.",
|
||||
swapETA: "L'échange devrait prendre environ {eta} minutes.",
|
||||
trackSwap: "Vous pouvez suivre votre échange directement depuis {trocador}.",
|
||||
|
||||
// CONTACT US PAGE
|
||||
contactUsDescription: "Contactez-nous pour toute question ou commentaire.",
|
||||
@@ -491,4 +513,118 @@ export default {
|
||||
repliedMessagePreview: "Aperçu du message répondu",
|
||||
action: "Action",
|
||||
premium: "Premium",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "Objectif de pourboire mis à jour",
|
||||
tipGoalCreated: "Objectif de pourboire créé",
|
||||
amountXMR: "Montant ( XMR )",
|
||||
start: "Début",
|
||||
end: "Fin",
|
||||
isActive: "Est actif",
|
||||
isActiveHelp:
|
||||
"Un objectif de pourboire désactivé ne sera pas affiché sur votre page de pourboires.",
|
||||
timeIsEnded: "Le temps est écoulé",
|
||||
|
||||
// SUPER DM
|
||||
amount: "Montant",
|
||||
superDMAlertTitle: "SuperDM n’a pas pu être démarré",
|
||||
startSuperDM: "Démarrer le SuperDM",
|
||||
openSuperDM: "Ouvrir le SuperDM",
|
||||
endSuperDM: "Terminer le SuperDM",
|
||||
endedAt: "Terminé à",
|
||||
endSuperDMText:
|
||||
"Les messages ne peuvent plus être envoyés dans ce SuperDM après sa fin.",
|
||||
saveSuperDMIdAndKeyTitle:
|
||||
"Enregistrer l’identifiant et le code de récupération du SuperDM",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"Veuillez enregistrer l’identifiant du SuperDM et la clé de récupération. Les clés ne peuvent pas être réutilisées. Vous ne pourrez pas récupérer/déchiffrer les messages sans elles. XMRChat ne stockera pas vos clés de récupération.",
|
||||
savedIdAndRecoveryCode:
|
||||
"J’ai enregistré l’identifiant et la clé de récupération",
|
||||
superDMKeysRecoveryTitle:
|
||||
"Les clés de récupération ne sont pas enregistrées sur ce navigateur. Veuillez saisir la phrase mnémonique de ce SuperDM pour récupérer les messages.",
|
||||
superDMId: "Identifiant du SuperDM : ",
|
||||
mnemonicPhrase: "Phrase mnémonique",
|
||||
enterYourMnemonicPhrase: "Saisissez votre phrase mnémonique",
|
||||
recover: "Récupérer",
|
||||
encryptionKeys: "Clés de chiffrement",
|
||||
backupRecoveryCode: "Sauvegarder votre code de récupération",
|
||||
backupRecoveryCodeDes:
|
||||
"XMRChat ne stocke que votre clé publique. Votre code de récupération reste sur votre appareil.",
|
||||
recoveryCode: "Code de récupération",
|
||||
recoveryCodeDes:
|
||||
"Saisissez votre code de récupération ou générez de nouvelles clés. Vous ne pourrez pas déchiffrer vos anciens messages après avoir généré de nouvelles clés.",
|
||||
generateNew: "Générer de nouvelles",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"Veuillez enregistrer votre code de récupération. Vous en aurez besoin pour accéder à vos messages chiffrés. Si vous videz le cache ou utilisez un autre appareil, vous devrez saisir le code de récupération.",
|
||||
ISavedRecoveryCode: "J’ai enregistré le code de récupération",
|
||||
generateNewKeys: "Générer de nouvelles clés",
|
||||
generateNewKeysDes:
|
||||
"Si vous générez de nouvelles clés, vous ne pourrez pas déchiffrer vos anciens messages. Les nouveaux messages seront chiffrés avec les nouvelles clés.",
|
||||
ifForgotRecoveryCode:
|
||||
"Si vous avez oublié votre code de récupération ou si vous utilisez SuperDM pour la première fois, vous pouvez générer de nouvelles clés de chiffrement.",
|
||||
clickGenerateKeys:
|
||||
"Cliquez sur « Générer les clés » pour configurer le chiffrement du SuperDM.",
|
||||
beReadyToSaveRecoveryCode:
|
||||
"Veuillez être prêt à enregistrer votre code de récupération.",
|
||||
generateKeys: "Générer les clés",
|
||||
superDMIsEnded: "Le SuperDM est terminé.",
|
||||
superDMIsEndedAt: "Le SuperDM s’est terminé à {date}.",
|
||||
sendAMessage: "Envoyer un message...",
|
||||
superDMNotConfiguredTitle: "Les SuperDM ne sont pas configurés.",
|
||||
superDMNotConfiguredDes:
|
||||
"L’activation des SuperDM permettra à vos fans de vous envoyer le montant de leur choix pour démarrer une conversation privée avec vous. Il s’agit d’un chat chiffré de bout en bout entre vous et votre fan ; personne d’autre ne peut voir ces messages (pas même nous !). Les notifications doivent être activées pour cette fonctionnalité afin que vous soyez averti lorsqu’un SuperDM arrive. Veuillez répondre rapidement à vos fans.",
|
||||
configureSuperDMs: "Configurer les SuperDM",
|
||||
configureNotifications: "Configurer les notifications",
|
||||
showKeys: "Afficher les clés",
|
||||
continueSuperDM: "Continuer le SuperDM",
|
||||
savedKeys: "Clés enregistrées",
|
||||
useSavedKeys:
|
||||
"Vous pouvez utiliser les clés enregistrées pour continuer les messages du SuperDM.",
|
||||
use: "Utiliser",
|
||||
enterSuperDMIdAndRecoveryCode:
|
||||
"Saisissez l’identifiant du SuperDM et le code de récupération.",
|
||||
minSuperDMAmount: "Montant minimum du SuperDM ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"Montant minimum qu’un fan doit vous envoyer pour démarrer un SuperDM.",
|
||||
showRecoveryCode: "Afficher le code de récupération",
|
||||
superDMRecoveryCodesTitle: "Codes de récupération du SuperDM",
|
||||
superDMRecoveryCodesDes:
|
||||
"Les codes de récupération ne sont pas enregistrés sur le serveur. Veuillez enregistrer votre code de récupération. Vous aurez besoin du code de récupération et de l’identifiant du SuperDM pour accéder à vos messages chiffrés. Si vous videz le cache ou utilisez un autre appareil, vous devrez saisir le code de récupération.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "GUIDES DE PORTEFEUILLE",
|
||||
howToFindPrimaryAddress:
|
||||
"Comment trouver l'adresse principale et la clé de vue privée (aussi appelée clé de vue secrète) :",
|
||||
toGetYourPrimaryAddress: "Pour obtenir votre adresse principale :",
|
||||
toGetYourViewKey: "Pour obtenir votre clé de vue",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet :",
|
||||
primaryAddress1: '1. Cliquez sur "Recevoir"',
|
||||
primaryAddress2: "2. Copiez l'adresse qui commence par 4",
|
||||
viewKey1: "1. Cliquez sur Paramètres",
|
||||
viewKey2: '2. Copiez la "Clé de vue (privée)"',
|
||||
securityAndBackup: "Sécurité et sauvegarde",
|
||||
showSeed: "Afficher la phrase de récupération/les clés",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet :",
|
||||
guide1: "1. Cliquez sur Paramètres",
|
||||
guide2: '2. Copiez l\'"Adresse principale" et la "Clé de vue secrète"',
|
||||
seedsAndKeys: "Phrases de récupération et clés",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet :",
|
||||
guide1: "1. Cliquez sur Portefeuille",
|
||||
guide2: '2. Copiez l\'"Adresse principale" et la "Clé de vue secrète"',
|
||||
keys: "Clés",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet :",
|
||||
guide1: "1. Cliquez sur Portefeuille",
|
||||
clickOnTheMenu: "Cliquez sur le menu",
|
||||
selectShowSecrets: 'Sélectionnez "Afficher les secrets !"',
|
||||
guide2: '2. Copiez l\'"Adresse publique"',
|
||||
guide3: '3. Développez "Informations détaillées"',
|
||||
copyViewKey: 'Copiez la "Clé de vue"',
|
||||
},
|
||||
};
|
||||
+131
-4
@@ -55,11 +55,14 @@ export default {
|
||||
here: "여기",
|
||||
backToHome: "홈으로 돌아가기",
|
||||
somethingWentWrong: "문제가 발생했습니다!",
|
||||
donate: "후원하기",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription: "좋아하는 스트리머에게 암호화폐로 팁을 주세요.",
|
||||
findCreators: "크리에이터 찾기",
|
||||
creatorsStartHere: "크리에이터는 여기서 시작하세요",
|
||||
fansTippingStats:
|
||||
"팬들이 XMRChat을 통해 {pagesCount}명의 콘텐츠 크리에이터에게 총 {totalAmount} Monero ({fiatAmount})에 해당하는 {tipsCount}개의 슈퍼챗을 보냈습니다!",
|
||||
|
||||
FAQ: {
|
||||
title: "자주 묻는 질문",
|
||||
@@ -92,7 +95,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "빠르고 쉬움",
|
||||
description:
|
||||
"시청자는 계정 생성, 이메일 인증, 카드 정보 입력 없이 팁 페이지에서 이름, 메시지, 금액을 입력하고 모네로(Monero) 팁을 전송할 수 있습니다.",
|
||||
"시청자는 계정을 만들거나 이메일을 인증하거나 신용카드 정보를 입력할 필요가 없습니다. 팬들은 팁 페이지에 접속해 이름, 메시지, 금액을 입력하고 QR 코드를 스캔해 결제한 후 XMR 팁을 보냅니다.",
|
||||
},
|
||||
openSource: {
|
||||
title: "오픈 소스",
|
||||
@@ -113,7 +116,7 @@ export default {
|
||||
accepted: {
|
||||
title: "사용 가능",
|
||||
description:
|
||||
"중앙화 거래소에서 암호화폐를 판매하는 번거로움을 피하세요. {xmrbazaar}와 {monerica}에서 모네로를 사용하는 상인에게 직접 상품이나 서비스를 구매하세요.",
|
||||
"중앙화 거래소에서 암호화폐를 파는 번거로움을 피하세요. {xmrbazaar}, {monerica}에서, 또는 컨시어지 서비스 {shopinbit}를 통해 모네로를 받는 판매자로부터 직접 상품과 서비스를 구매하세요.",
|
||||
},
|
||||
andMore: {
|
||||
title: "그 외에도",
|
||||
@@ -128,7 +131,7 @@ export default {
|
||||
ifStreamyard: "Streamyard를 사용하는 경우:",
|
||||
ifOBS: "OBS를 사용하는 경우:",
|
||||
ifLiveJoiner: "LiveJoiner를 사용하는 경우:",
|
||||
streamyard: `"팁 페이지 편집" 메뉴 항목으로 이동하세요. 트위치 채널 사용자 이름을 추가했는지 확인하세요. Streamyard에서 스트림을 시작할 때 Twitch를 대상으로 추가하세요. XMRChat 봇(트위치의 xmr-chat)이 트위치에 팁 메시지를 보내고 Streamyard에서 화면에 표시할 수 있습니다. xmrchat 봇 로고는 "Minimal" 설정에서 가장 잘 보입니다.`,
|
||||
streamyard: `"팁 페이지 편집" 메뉴 항목으로 이동하세요. 트위치 채널 사용자 이름을 추가했는지 확인하세요. Streamyard에서 스트림을 시작할 때 Twitch를 대상으로 추가하세요. XMRChat 봇(트위치의 xmr-chat)이 Twitch에 팁 메시지를 보내며, Streamyard를 통해 화면에 표시할 수 있습니다. 원하는 슈퍼챗이 필터링될 수 있으므로 Twitch의 Automod 설정을 확인하세요. 표시되는 xmrchat 봇 로고는 "Minimal" 설정에서 가장 잘 보입니다.`,
|
||||
obs: `"OBS" 메뉴 항목으로 이동하세요. "OBS 페이지 링크 복사"를 클릭하세요. OBS에 브라우저 소스를 추가하고 링크를 붙여넣으세요.`,
|
||||
liveJoiner:
|
||||
"지원되는 플랫폼 목록에서 XMRChat을 선택한 후 XMRChat 팁 페이지의 경로 또는 URL을 입력하세요.",
|
||||
@@ -153,6 +156,7 @@ export default {
|
||||
monerica:
|
||||
"당신의 사업에서 모네로 결제를 허용하고 {monerica}, {monerodirectory} 그리고 {xmrbazaar}, {bankexit}의 모네로 사용 가능 사업 목록에 등록되세요.",
|
||||
},
|
||||
advertise: "XMRChat에 광고하기",
|
||||
|
||||
tipName: "이름",
|
||||
tipAmount: "금액",
|
||||
@@ -189,7 +193,24 @@ export default {
|
||||
cancel: "취소",
|
||||
copyAddress: "주소 복사",
|
||||
waitingForPayment: "결제 대기 중",
|
||||
|
||||
tipSwapFailed:
|
||||
"스왑에 실패했습니다. 아래 Trocador 링크에서 상태를 확인하고 필요한 경우 스왑을 취소해 주세요.",
|
||||
paymentExpired:
|
||||
"결제 시간이 만료되었습니다. 이미 결제를 보냈다면 고객 지원팀에 문의해 주세요.",
|
||||
sendTestTip: "테스트 팁 보내기",
|
||||
swapStatus: "스왑 상태: ",
|
||||
swapStatusMessage: {
|
||||
waiting: "결제를 기다리는 중입니다.",
|
||||
confirming: "블록체인 확인을 기다리는 중입니다.",
|
||||
sending: "스왑을 XMRChat으로 보내는 중입니다.",
|
||||
failed: "스왑에 실패했습니다. Trocador 지원팀에 문의해 주세요.",
|
||||
},
|
||||
paymentReceived: "결제가 완료되었습니다.",
|
||||
exactly: "정확히",
|
||||
swapPaymentSend:
|
||||
"xmrchat이 표시되도록 {amount}을(를) {exactly} 이 주소로 보내주세요.",
|
||||
swapETA: "스왑 완료까지 약 {eta}분이 소요됩니다.",
|
||||
trackSwap: "{trocador}에서 스왑 상태를 직접 확인할 수 있습니다.",
|
||||
contactUsDescription: "질문이나 피드백이 있다면 문의해주세요.",
|
||||
contactUsForm: "문의 양식",
|
||||
contactUsFormDescription: "질문이나 피드백이 있다면 문의해주세요.",
|
||||
@@ -465,4 +486,110 @@ export default {
|
||||
repliedMessagePreview: "답글 미리보기",
|
||||
action: "작업",
|
||||
premium: "프리미엄",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "팁 목표가 업데이트되었습니다",
|
||||
tipGoalCreated: "팁 목표가 생성되었습니다",
|
||||
amountXMR: "금액 ( XMR )",
|
||||
start: "시작",
|
||||
end: "종료",
|
||||
isActive: "활성 상태",
|
||||
isActiveHelp: "비활성화된 팁 목표는 팁 페이지에 표시되지 않습니다.",
|
||||
timeIsEnded: "시간이 종료되었습니다",
|
||||
|
||||
// SUPER DM
|
||||
amount: "금액",
|
||||
superDMAlertTitle: "SuperDM을 시작할 수 없습니다",
|
||||
startSuperDM: "SuperDM 시작",
|
||||
openSuperDM: "SuperDM 열기",
|
||||
endSuperDM: "SuperDM 종료",
|
||||
endedAt: "종료 시간",
|
||||
endSuperDMText: "SuperDM이 종료된 후에는 더 이상 메시지를 보낼 수 없습니다.",
|
||||
saveSuperDMIdAndKeyTitle: "SuperDM ID 및 복구 코드 저장",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"SuperDM ID와 복구 키를 저장해 주세요. 키는 다시 사용할 수 없습니다. 키가 없으면 메시지를 복구하거나 복호화할 수 없습니다. XMRChat은 복구 키를 저장하지 않습니다.",
|
||||
savedIdAndRecoveryCode: "ID와 복구 키를 저장했습니다",
|
||||
superDMKeysRecoveryTitle:
|
||||
"이 브라우저에 복구 키가 저장되어 있지 않습니다. 메시지를 복구하려면 이 SuperDM의 니모닉 문구를 입력해 주세요.",
|
||||
superDMId: "SuperDM ID: ",
|
||||
mnemonicPhrase: "니모닉 문구",
|
||||
enterYourMnemonicPhrase: "니모닉 문구를 입력하세요",
|
||||
recover: "복구",
|
||||
encryptionKeys: "암호화 키",
|
||||
backupRecoveryCode: "복구 코드 백업",
|
||||
backupRecoveryCodeDes:
|
||||
"XMRChat은 공개 키만 저장합니다. 복구 코드는 기기에 저장됩니다.",
|
||||
recoveryCode: "복구 코드",
|
||||
recoveryCodeDes:
|
||||
"복구 코드를 입력하거나 새 키를 생성하세요. 새 키를 생성한 후에는 이전 메시지를 복호화할 수 없습니다.",
|
||||
generateNew: "새로 생성",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"복구 코드를 저장해 주세요. 암호화된 메시지에 액세스하려면 복구 코드가 필요합니다. 캐시를 삭제하거나 다른 기기를 사용하면 복구 코드를 다시 입력해야 합니다.",
|
||||
ISavedRecoveryCode: "복구 코드를 저장했습니다",
|
||||
generateNewKeys: "새 키 생성",
|
||||
generateNewKeysDes:
|
||||
"새 키를 생성하면 이전 메시지를 복호화할 수 없습니다. 새 메시지는 새 키로 암호화됩니다.",
|
||||
ifForgotRecoveryCode:
|
||||
"복구 코드를 잊어버렸거나 SuperDM을 처음 사용하는 경우 새 암호화 키를 생성할 수 있습니다.",
|
||||
clickGenerateKeys: "SuperDM 암호화를 설정하려면 ‘키 생성’을 클릭하세요.",
|
||||
beReadyToSaveRecoveryCode: "복구 코드를 저장할 준비를 해주세요.",
|
||||
generateKeys: "키 생성",
|
||||
superDMIsEnded: "SuperDM이 종료되었습니다.",
|
||||
superDMIsEndedAt: "SuperDM이 {date}에 종료되었습니다.",
|
||||
sendAMessage: "메시지 보내기...",
|
||||
superDMNotConfiguredTitle: "SuperDM이 구성되지 않았습니다.",
|
||||
superDMNotConfiguredDes:
|
||||
"SuperDM을 활성화하면 팬이 원하는 금액을 지불하고 비공개 대화를 시작할 수 있습니다. 이는 사용자와 팬 간의 종단 간 암호화 채팅이며, 다른 누구도 이 메시지를 볼 수 없습니다(저희도 볼 수 없습니다!). SuperDM이 도착했을 때 알림을 받으려면 이 기능에 대한 알림을 활성화해야 합니다. 팬에게 신속하게 답변해 주세요.",
|
||||
configureSuperDMs: "SuperDM 구성",
|
||||
configureNotifications: "알림 구성",
|
||||
showKeys: "키 표시",
|
||||
continueSuperDM: "SuperDM 계속하기",
|
||||
savedKeys: "저장된 키",
|
||||
useSavedKeys: "저장된 키를 사용하여 SuperDM 메시지를 계속할 수 있습니다.",
|
||||
use: "사용",
|
||||
enterSuperDMIdAndRecoveryCode: "SuperDM ID와 복구 코드를 입력하세요.",
|
||||
minSuperDMAmount: "최소 SuperDM 금액 ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"팬이 SuperDM을 시작하기 위해 보내야 하는 최소 금액입니다.",
|
||||
showRecoveryCode: "복구 코드 표시",
|
||||
superDMRecoveryCodesTitle: "SuperDM 복구 코드",
|
||||
superDMRecoveryCodesDes:
|
||||
"복구 코드는 서버에 저장되지 않습니다. 복구 코드를 저장해 주세요. 암호화된 메시지에 액세스하려면 복구 코드와 SuperDM ID가 필요합니다. 캐시를 삭제하거나 다른 기기를 사용하면 복구 코드를 다시 입력해야 합니다.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "지갑 가이드",
|
||||
howToFindPrimaryAddress:
|
||||
"기본 주소와 프라이빗 뷰 키(시크릿 뷰 키라고도 함)를 찾는 방법:",
|
||||
toGetYourPrimaryAddress: "기본 주소를 확인하려면:",
|
||||
toGetYourViewKey: "뷰 키를 확인하려면",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet:",
|
||||
primaryAddress1: '1. "받기"를 클릭하세요',
|
||||
primaryAddress2: "2. 4로 시작하는 주소를 복사하세요",
|
||||
viewKey1: "1. 설정을 클릭하세요",
|
||||
viewKey2: '2. "뷰 키(비공개)"를 복사하세요',
|
||||
securityAndBackup: "보안 및 백업",
|
||||
showSeed: "시드/키 표시",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet:",
|
||||
guide1: "1. 설정을 클릭하세요",
|
||||
guide2: '2. "기본 주소"와 "시크릿 뷰 키"를 복사하세요',
|
||||
seedsAndKeys: "시드 및 키",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet:",
|
||||
guide1: "1. Wallet을 클릭하세요",
|
||||
guide2: '2. "기본 주소"와 "시크릿 뷰 키"를 복사하세요',
|
||||
keys: "키",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet:",
|
||||
guide1: "1. Wallet을 클릭하세요",
|
||||
clickOnTheMenu: "메뉴를 클릭하세요",
|
||||
selectShowSecrets: '"Show Secrets!"를 선택하세요',
|
||||
guide2: '2. "공개 주소"를 복사하세요',
|
||||
guide3: '3. "상세 정보"를 펼치세요',
|
||||
copyViewKey: '"뷰 키"를 복사하세요',
|
||||
},
|
||||
};
|
||||
+133
-3
@@ -56,11 +56,14 @@ export default {
|
||||
here: "here",
|
||||
backToHome: "Go back to home",
|
||||
somethingWentWrong: "Wetin wey no correct happen!",
|
||||
donate: "Donate",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription: "Send crypto tip give your best streamer.",
|
||||
findCreators: "Find Creators",
|
||||
creatorsStartHere: "Creators go start here",
|
||||
fansTippingStats:
|
||||
"Fans don send {tipsCount} superchats wey total {totalAmount} Monero ({fiatAmount}) to {pagesCount} content creators with XMRChat!",
|
||||
|
||||
FAQ: {
|
||||
title: "FAQ",
|
||||
@@ -93,7 +96,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "Fast and Easy",
|
||||
description:
|
||||
"No need make person create account or enter card info. Just enter name, message, amount and send tip sharparly.",
|
||||
"Viewers no need to create account, verify dia email, or enter credit card info. Fans go go your tip page, type dia name, message, amount, scan QR code to pay, and send dia XMR tip.",
|
||||
},
|
||||
openSource: {
|
||||
title: "Open Source",
|
||||
@@ -113,7 +116,7 @@ export default {
|
||||
accepted: {
|
||||
title: "E Dey Accepted",
|
||||
description:
|
||||
"No need sell your crypto for exchange. You fi use Monero buy things directly from {xmrbazaar} and {monerica}.",
|
||||
"Avoid the wahala of selling your crypto for centralized exchange. Buy goods and services straight from merchants wey dey accept Monero for {xmrbazaar}, {monerica}, or through concierge service {shopinbit}.",
|
||||
},
|
||||
andMore: {
|
||||
title: "And more",
|
||||
@@ -141,7 +144,7 @@ export default {
|
||||
ifStreamyard: "If you dey use Streamyard:",
|
||||
ifOBS: "If you dey use OBS:",
|
||||
ifLiveJoiner: "If you dey use LiveJoiner:",
|
||||
streamyard: `Go to "Edit tip page" menu. Make sure say you don add your Twitch channel name. When you start stream for Streamyard, add Twitch as destination. XMRChat bot (xmr-chat for Twitch) go send di tip message for Twitch and you fit show am for your screen from Streamyard. Di xmrchat bot logo go look better with "Minimal" setting.`,
|
||||
streamyard: `Go to "Edit tip page" menu item. Make sure say you don add your twitch channel username. When you dey start the stream for Streamyard, add Twitch as destination. XMRChat bot ( xmr-chat on twitch ) go send the tip message for Twitch and you fit show am for your screen from Streamyard. Check Twitch Automod settings because e fit filter out the superchats wey you want. The xmrchat bot logo wey dey show go look sharp well-well with "Minimal" setting.`,
|
||||
obs: `Go to "OBS" menu. Click on "Copy OBS Page Link". Add browser source for OBS and paste di link.`,
|
||||
liveJoiner:
|
||||
"Choose XMRChat from di list of supported platforms, den enter di path or URL for your XMRChat tip page.",
|
||||
@@ -152,6 +155,7 @@ export default {
|
||||
description:
|
||||
"Go to di URL of your content creator tip page. Type your name and message, choose tip amount, then send. One small box go show with di tip details. Your xmrchat go show for di streamer page after you don send di tip.",
|
||||
},
|
||||
advertise: "Advertise for XMRChat",
|
||||
|
||||
// TIP PAGE
|
||||
tipName: "Name",
|
||||
@@ -189,6 +193,24 @@ export default {
|
||||
cancel: "Cancel",
|
||||
copyAddress: "Copy Address",
|
||||
waitingForPayment: "We dey wait for payment",
|
||||
tipSwapFailed:
|
||||
"The swap no work. Abeg, visit the Trocador link below to check the status and cancel the swap if e necessary.",
|
||||
paymentExpired:
|
||||
"The payment don expire. If you don already send your payment, abeg contact support.",
|
||||
sendTestTip: "Send Test Tip",
|
||||
swapStatus: "Swap Status: ",
|
||||
swapStatusMessage: {
|
||||
waiting: "We dey wait for payment.",
|
||||
confirming: "We dey wait for blockchain confirmation.",
|
||||
sending: "We dey send the swap to XMRChat.",
|
||||
failed: "The swap no work, abeg contact Trocador support.",
|
||||
},
|
||||
paymentReceived: "Payment don enter.",
|
||||
exactly: "exactly",
|
||||
swapPaymentSend:
|
||||
"Abeg send {exactly} {amount} to this address make your xmrchat show.",
|
||||
swapETA: "The swap fit take about {eta} minutes.",
|
||||
trackSwap: "You fit track your swap directly from {trocador}.",
|
||||
|
||||
// CONTACT US PAGE
|
||||
contactUsDescription: "Reach us if you get question or feedback.",
|
||||
@@ -467,4 +489,112 @@ export default {
|
||||
repliedMessagePreview: "Replied message preview",
|
||||
action: "Action",
|
||||
premium: "Premium",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "Tip goal don update",
|
||||
tipGoalCreated: "Tip goal don create",
|
||||
amountXMR: "Amount ( XMR )",
|
||||
start: "Start",
|
||||
end: "End",
|
||||
isActive: "E dey active",
|
||||
isActiveHelp: "If you deactivate tip goal, e no go show for your tip page.",
|
||||
timeIsEnded: "Time don finish",
|
||||
|
||||
// SUPER DM
|
||||
amount: "Amount",
|
||||
superDMAlertTitle: "SuperDM no fit start",
|
||||
startSuperDM: "Start SuperDM",
|
||||
openSuperDM: "Open SuperDM",
|
||||
endSuperDM: "End SuperDM",
|
||||
endedAt: "E end for",
|
||||
endSuperDMText:
|
||||
"People no fit send message for this SuperDM again after e don end.",
|
||||
saveSuperDMIdAndKeyTitle: "Save SuperDM ID and Recovery Code",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"Abeg save SuperDM ID and Recovery Key. You no fit use the keys again. You no go fit recover or decrypt the messages without them. XMRChat no go store your recovery keys.",
|
||||
savedIdAndRecoveryCode: "I don save the ID and recovery key",
|
||||
superDMKeysRecoveryTitle:
|
||||
"The recovery keys no dey saved for this browser. Abeg enter the mnemonic phrase for this SuperDM to recover the messages.",
|
||||
superDMId: "SuperDM ID: ",
|
||||
mnemonicPhrase: "Mnemonic phrase",
|
||||
enterYourMnemonicPhrase: "Enter your mnemonic phrase",
|
||||
recover: "Recover",
|
||||
encryptionKeys: "Encryption Keys",
|
||||
backupRecoveryCode: "Back up your recovery code",
|
||||
backupRecoveryCodeDes:
|
||||
"XMRChat only dey store your public key. Your recovery code dey remain for your device.",
|
||||
recoveryCode: "Recovery Code",
|
||||
recoveryCodeDes:
|
||||
"Enter your recovery code or generate new keys. You no go fit decrypt your old messages after you generate new keys.",
|
||||
generateNew: "Generate new",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"Abeg save your recovery code. You go need am to access your encrypted messages. If you clear cache or use another device, you go need enter the recovery code.",
|
||||
ISavedRecoveryCode: "I don save the recovery code",
|
||||
generateNewKeys: "Generate new keys",
|
||||
generateNewKeysDes:
|
||||
"If you generate new keys, you no go fit decrypt your old messages. New messages go dey encrypted with the new keys.",
|
||||
ifForgotRecoveryCode:
|
||||
"If you forget your recovery code or na your first time wey you dey use SuperDM, you fit generate new encryption keys.",
|
||||
clickGenerateKeys: "Click generate keys to set up SuperDM encryption.",
|
||||
beReadyToSaveRecoveryCode:
|
||||
"Abeg make sure say you ready to save your recovery code.",
|
||||
generateKeys: "Generate keys",
|
||||
superDMIsEnded: "SuperDM don end.",
|
||||
superDMIsEndedAt: "SuperDM don end for {date}.",
|
||||
sendAMessage: "Send message...",
|
||||
superDMNotConfiguredTitle: "SuperDMs never dey configured.",
|
||||
superDMNotConfiguredDes:
|
||||
"If you enable SuperDMs, your fans go fit pay you any amount wey you choose to start private conversation with you. Na end-to-end encrypted chat between you and the fan, and nobody else fit see the messages (not even us!). You need enable notifications for this feature so you go know when SuperDM enter. Abeg reply your fans quickly.",
|
||||
configureSuperDMs: "Configure SuperDMs",
|
||||
configureNotifications: "Configure Notifications",
|
||||
showKeys: "Show keys",
|
||||
continueSuperDM: "Continue SuperDM",
|
||||
savedKeys: "Saved keys",
|
||||
useSavedKeys: "You fit use the saved keys to continue the SuperDM messages.",
|
||||
use: "Use",
|
||||
enterSuperDMIdAndRecoveryCode: "Enter the SuperDM ID and recovery code.",
|
||||
minSuperDMAmount: "Min. SuperDM amount ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"The minimum amount wey fan need send you to start SuperDM.",
|
||||
showRecoveryCode: "Show Recovery Code",
|
||||
superDMRecoveryCodesTitle: "SuperDM recovery codes",
|
||||
superDMRecoveryCodesDes:
|
||||
"The recovery codes no dey saved for the server. Abeg save your recovery code. You go need the recovery code and SuperDM ID to access your encrypted messages. If you clear cache or use another device, you go need enter the recovery code.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "WALLET GUIDES",
|
||||
howToFindPrimaryAddress:
|
||||
"How you go find your main address and private view key (dem still dey call am secret view key):",
|
||||
toGetYourPrimaryAddress: "To get your main address:",
|
||||
toGetYourViewKey: "To get your view key",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet:",
|
||||
primaryAddress1: '1. Click on "Receive"',
|
||||
primaryAddress2: "2. Copy the address wey start with 4",
|
||||
viewKey1: "1. Click on Settings",
|
||||
viewKey2: '2. Copy "View key (private)"',
|
||||
securityAndBackup: "Security and backup",
|
||||
showSeed: "Show seed/keys",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet:",
|
||||
guide1: "1. Click on Settings",
|
||||
guide2: '2. Copy "Primary address" and "Secret view key"',
|
||||
seedsAndKeys: "Seeds & Keys",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet:",
|
||||
guide1: "1. Click on Wallet",
|
||||
guide2: '2. Copy "Primary address" and "Secret view key"',
|
||||
keys: "Keys",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet:",
|
||||
guide1: "1. Click on Wallet",
|
||||
clickOnTheMenu: "Click on the menu",
|
||||
selectShowSecrets: 'Select "Show Secrets!"',
|
||||
guide2: '2. Copy "Public Address"',
|
||||
guide3: '3. Expand "Detailed information"',
|
||||
copyViewKey: 'Copy "View Key"',
|
||||
},
|
||||
};
|
||||
+136
-3
@@ -58,11 +58,14 @@ export default {
|
||||
here: "здесь",
|
||||
backToHome: "Назад на главную",
|
||||
somethingWentWrong: "Что-то пошло не так!",
|
||||
donate: "Пожертвовать",
|
||||
|
||||
xmrchat: "XMRChat",
|
||||
heroDescription: "Поддержите любимого стримера криптовалютой.",
|
||||
findCreators: "Найти авторов",
|
||||
creatorsStartHere: "Начало для авторов",
|
||||
fansTippingStats:
|
||||
"Поклонники отправили {tipsCount} суперчатов на общую сумму {totalAmount} Monero ({fiatAmount}) {pagesCount} создателям контента с помощью XMRChat!",
|
||||
|
||||
FAQ: {
|
||||
title: "Часто задаваемые вопросы",
|
||||
@@ -95,7 +98,7 @@ export default {
|
||||
quickAndEasy: {
|
||||
title: "Быстро и просто",
|
||||
description:
|
||||
"Не нужно создавать аккаунт, подтверждать email или вводить данные карты. Поклонник просто указывает имя, сообщение, сумму и отправляет XMR.",
|
||||
"Зрителям не нужно создавать учётную запись, подтверждать email или вводить данные кредитной карты. Фанаты заходят на вашу страницу чаевых, вводят своё имя, сообщение, сумму, сканируют QR-код для оплаты и отправляют чаевые в XMR.",
|
||||
},
|
||||
openSource: {
|
||||
title: "Открытый код",
|
||||
@@ -115,7 +118,7 @@ export default {
|
||||
accepted: {
|
||||
title: "Принимается",
|
||||
description:
|
||||
"Не нужно продавать крипту через централизованные биржи. Покупайте товары и услуги напрямую у продавцов на {xmrbazaar} и {monerica}.",
|
||||
"Избегайте хлопот с продажей криптовалюты на централизованной бирже. Покупайте товары и услуги напрямую у продавцов, принимающих Monero, на {xmrbazaar}, {monerica} или через консьерж-сервис {shopinbit}.",
|
||||
},
|
||||
andMore: {
|
||||
title: "И многое другое",
|
||||
@@ -130,7 +133,7 @@ export default {
|
||||
ifStreamyard: "Если вы используете Streamyard:",
|
||||
ifOBS: "Если вы используете OBS:",
|
||||
ifLiveJoiner: "Если вы используете LiveJoiner:",
|
||||
streamyard: `Перейдите в пункт меню "Редактировать страницу чаевых". Убедитесь, что вы добавили имя пользователя вашего канала Twitch. При запуске стрима в Streamyard добавьте Twitch как направление. Бот XMRChat (xmr-chat на Twitch) отправит сообщение с чаевыми на Twitch, и вы сможете отобразить его на экране из Streamyard. Логотип бота xmrchat лучше всего выглядит с настройкой "Minimal".`,
|
||||
streamyard: `Перейдите в пункт меню "Редактировать страницу чаевых". Убедитесь, что вы добавили имя пользователя своего канала на Twitch. При запуске трансляции в Streamyard добавьте Twitch в качестве назначения. Бот XMRChat (xmr-chat на Twitch) будет отправлять сообщение о чаевых на Twitch, и вы сможете отображать его на экране через Streamyard. Проверьте настройки Automod на Twitch, так как они могут отфильтровывать нужные суперчаты. Отображаемый логотип бота xmrchat лучше всего смотрится с настройкой "Minimal".`,
|
||||
obs: `Перейдите в пункт меню "OBS". Нажмите "Копировать ссылку страницы OBS". Добавьте источник браузера в OBS и вставьте ссылку.`,
|
||||
liveJoiner:
|
||||
"Выберите XMRChat из списка поддерживаемых платформ и укажите путь или URL вашей страницы чаевых XMRChat.",
|
||||
@@ -153,6 +156,7 @@ export default {
|
||||
monerica:
|
||||
"Принимайте Monero в своём бизнесе и появляйтесь в каталогах {monerica}, {monerodirectory} и на карте на {xmrbazaar} и {bankexit}.",
|
||||
},
|
||||
advertise: "Рекламируйтесь на XMRChat",
|
||||
|
||||
tipName: "Имя",
|
||||
tipAmount: "Сумма",
|
||||
@@ -189,6 +193,24 @@ export default {
|
||||
cancel: "Отмена",
|
||||
copyAddress: "Скопировать адрес",
|
||||
waitingForPayment: "Ожидание платежа",
|
||||
tipSwapFailed:
|
||||
"Обмен не удался. Перейдите по ссылке Trocador ниже, чтобы проверить статус и при необходимости отменить обмен.",
|
||||
paymentExpired:
|
||||
"Срок действия платежа истёк. Если вы уже отправили платеж, пожалуйста, свяжитесь с поддержкой.",
|
||||
sendTestTip: "Отправить тестовый донат",
|
||||
swapStatus: "Статус обмена: ",
|
||||
swapStatusMessage: {
|
||||
waiting: "Ожидание платежа.",
|
||||
confirming: "Ожидание подтверждения в блокчейне.",
|
||||
sending: "Обмен отправляется в XMRChat.",
|
||||
failed: "Обмен не удался. Пожалуйста, свяжитесь с поддержкой Trocador.",
|
||||
},
|
||||
paymentReceived: "Платёж получен.",
|
||||
exactly: "точно",
|
||||
swapPaymentSend:
|
||||
"Пожалуйста, отправьте {exactly} {amount} на этот адрес, чтобы ваш xmrchat отобразился.",
|
||||
swapETA: "Ожидаемое время обмена — около {eta} минут.",
|
||||
trackSwap: "Вы можете отслеживать свой обмен напрямую через {trocador}.",
|
||||
|
||||
contactUsDescription: "Свяжитесь с нами по вопросам и отзывам.",
|
||||
contactUsForm: "Форма связи",
|
||||
@@ -471,4 +493,115 @@ export default {
|
||||
repliedMessagePreview: "Предпросмотр ответа",
|
||||
action: "Действие",
|
||||
premium: "Премиум",
|
||||
|
||||
// TIP GOAL
|
||||
tipGoalUpdated: "Цель чаевых обновлена",
|
||||
tipGoalCreated: "Цель чаевых создана",
|
||||
amountXMR: "Сумма ( XMR )",
|
||||
start: "Начало",
|
||||
end: "Конец",
|
||||
isActive: "Активна",
|
||||
isActiveHelp:
|
||||
"Деактивированная цель чаевых не будет отображаться на вашей странице чаевых.",
|
||||
timeIsEnded: "Время истекло",
|
||||
|
||||
// SUPER DM
|
||||
amount: "Сумма",
|
||||
superDMAlertTitle: "Не удалось запустить SuperDM",
|
||||
startSuperDM: "Запустить SuperDM",
|
||||
openSuperDM: "Открыть SuperDM",
|
||||
endSuperDM: "Завершить SuperDM",
|
||||
endedAt: "Завершено в",
|
||||
endSuperDMText:
|
||||
"После завершения этого SuperDM отправка сообщений будет недоступна.",
|
||||
saveSuperDMIdAndKeyTitle: "Сохранить ID SuperDM и код восстановления",
|
||||
saveSuperDMIdAndKeyDes:
|
||||
"Пожалуйста, сохраните ID SuperDM и ключ восстановления. Ключи нельзя использовать повторно. Без них вы не сможете восстановить или расшифровать сообщения. XMRChat не будет хранить ваши ключи восстановления.",
|
||||
savedIdAndRecoveryCode: "Я сохранил ID и ключ восстановления",
|
||||
superDMKeysRecoveryTitle:
|
||||
"Ключи восстановления не сохранены в этом браузере. Введите мнемоническую фразу для этого SuperDM, чтобы восстановить сообщения.",
|
||||
superDMId: "ID SuperDM: ",
|
||||
mnemonicPhrase: "Мнемоническая фраза",
|
||||
enterYourMnemonicPhrase: "Введите вашу мнемоническую фразу",
|
||||
recover: "Восстановить",
|
||||
encryptionKeys: "Ключи шифрования",
|
||||
backupRecoveryCode: "Сохраните резервную копию кода восстановления",
|
||||
backupRecoveryCodeDes:
|
||||
"XMRChat хранит только ваш открытый ключ. Код восстановления остается на вашем устройстве.",
|
||||
recoveryCode: "Код восстановления",
|
||||
recoveryCodeDes:
|
||||
"Введите код восстановления или создайте новые ключи. После создания новых ключей вы не сможете расшифровать предыдущие сообщения.",
|
||||
generateNew: "Создать новые",
|
||||
pleaseSaveYourRecoveryCode:
|
||||
"Пожалуйста, сохраните код восстановления. Он понадобится для доступа к вашим зашифрованным сообщениям. Если вы очистите кеш или используете другое устройство, вам потребуется ввести код восстановления.",
|
||||
ISavedRecoveryCode: "Я сохранил код восстановления",
|
||||
generateNewKeys: "Создать новые ключи",
|
||||
generateNewKeysDes:
|
||||
"Если вы создадите новые ключи, вы не сможете расшифровать предыдущие сообщения. Новые сообщения будут зашифрованы с помощью новых ключей.",
|
||||
ifForgotRecoveryCode:
|
||||
"Если вы забыли код восстановления или используете SuperDM впервые, вы можете создать новые ключи шифрования.",
|
||||
clickGenerateKeys:
|
||||
"Нажмите «Создать ключи», чтобы настроить шифрование SuperDM.",
|
||||
beReadyToSaveRecoveryCode:
|
||||
"Пожалуйста, будьте готовы сохранить код восстановления.",
|
||||
generateKeys: "Создать ключи",
|
||||
superDMIsEnded: "SuperDM завершён.",
|
||||
superDMIsEndedAt: "SuperDM завершён в {date}.",
|
||||
sendAMessage: "Отправить сообщение...",
|
||||
superDMNotConfiguredTitle: "SuperDM не настроен.",
|
||||
superDMNotConfiguredDes:
|
||||
"Включение SuperDM позволит вашим поклонникам отправлять вам выбранную вами сумму за возможность начать приватный разговор с вами. Это чат с сквозным шифрованием между вами и поклонником; никто другой не видит эти сообщения (даже мы!). Для этой функции необходимо включить уведомления, чтобы вы получали уведомление при поступлении SuperDM. Пожалуйста, отвечайте своим поклонникам быстро.",
|
||||
configureSuperDMs: "Настроить SuperDM",
|
||||
configureNotifications: "Настроить уведомления",
|
||||
showKeys: "Показать ключи",
|
||||
continueSuperDM: "Продолжить SuperDM",
|
||||
savedKeys: "Сохранённые ключи",
|
||||
useSavedKeys:
|
||||
"Вы можете использовать сохранённые ключи, чтобы продолжить сообщения SuperDM.",
|
||||
use: "Использовать",
|
||||
enterSuperDMIdAndRecoveryCode: "Введите ID SuperDM и код восстановления.",
|
||||
minSuperDMAmount: "Минимальная сумма SuperDM ( XMR )",
|
||||
minSuperDMAmountHelp:
|
||||
"Минимальная сумма, которую поклонник должен отправить вам, чтобы начать SuperDM.",
|
||||
showRecoveryCode: "Показать код восстановления",
|
||||
superDMRecoveryCodesTitle: "Коды восстановления SuperDM",
|
||||
superDMRecoveryCodesDes:
|
||||
"Коды восстановления не сохраняются на сервере. Пожалуйста, сохраните код восстановления. Для доступа к зашифрованным сообщениям вам понадобятся код восстановления и ID SuperDM. Если вы очистите кеш или используете другое устройство, вам потребуется ввести код восстановления.",
|
||||
|
||||
// GUIDES
|
||||
walletGuides: "РУКОВОДСТВА ПО КОШЕЛЬКАМ",
|
||||
howToFindPrimaryAddress:
|
||||
"Как найти основной адрес и приватный view-ключ (также известный как секретный view-ключ):",
|
||||
toGetYourPrimaryAddress: "Чтобы получить свой основной адрес:",
|
||||
toGetYourViewKey: "Чтобы получить свой view-ключ",
|
||||
cakeWallet: {
|
||||
title: "Cake Wallet:",
|
||||
primaryAddress1: '1. Нажмите "Получить"',
|
||||
primaryAddress2: "2. Скопируйте адрес, начинающийся с 4",
|
||||
viewKey1: "1. Нажмите на Настройки",
|
||||
viewKey2: '2. Скопируйте "View key (приватный)"',
|
||||
securityAndBackup: "Безопасность и резервное копирование",
|
||||
showSeed: "Показать сид-фразу/ключи",
|
||||
},
|
||||
GUIWallet: {
|
||||
title: "GUI Wallet:",
|
||||
guide1: "1. Нажмите на Настройки",
|
||||
guide2: '2. Скопируйте "Основной адрес" и "Секретный view-ключ"',
|
||||
seedsAndKeys: "Сид-фразы и ключи",
|
||||
},
|
||||
featherWallet: {
|
||||
title: "Feather Wallet:",
|
||||
guide1: "1. Нажмите на Wallet",
|
||||
guide2: '2. Скопируйте "Основной адрес" и "Секретный view-ключ"',
|
||||
keys: "Ключи",
|
||||
},
|
||||
monerujoWallet: {
|
||||
title: "Monerujo Wallet:",
|
||||
guide1: "1. Нажмите на Wallet",
|
||||
clickOnTheMenu: "Нажмите на меню",
|
||||
selectShowSecrets: 'Выберите "Show Secrets!"',
|
||||
guide2: '2. Скопируйте "Публичный адрес"',
|
||||
guide3: '3. Разверните "Подробная информация"',
|
||||
copyViewKey: 'Скопируйте "View Key"',
|
||||
},
|
||||
};
|
||||
@@ -101,7 +101,7 @@ export default defineNuxtConfig({
|
||||
},
|
||||
|
||||
dayjs: {
|
||||
plugins: ["localizedFormat"],
|
||||
plugins: ["localizedFormat", "minMax"],
|
||||
locales: ["en", "fr", "es", "de", "ru", "fi", "ko", "ar"],
|
||||
},
|
||||
|
||||
|
||||
Generated
+37
@@ -18005,6 +18005,17 @@
|
||||
"ultrahtml": "^1.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/sax": {
|
||||
"version": "1.6.1",
|
||||
"resolved": "https://registry.npmjs.org/sax/-/sax-1.6.1.tgz",
|
||||
"integrity": "sha512-42tBVwLWnaQvW5zc4HbZrTuWccECCZfBi92FDuwtqxasH+JbPB3/FOKb1m222K42R4WxuxzzMsTswfzgtSu64Q==",
|
||||
"license": "BlueOak-1.0.0",
|
||||
"optional": true,
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": ">=11.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/saxes": {
|
||||
"version": "6.0.0",
|
||||
"resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz",
|
||||
@@ -21086,6 +21097,32 @@
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
"node_modules/xml2js": {
|
||||
"version": "0.6.2",
|
||||
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz",
|
||||
"integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==",
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"sax": ">=0.6.0",
|
||||
"xmlbuilder": "~11.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/xmlbuilder": {
|
||||
"version": "11.0.1",
|
||||
"resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz",
|
||||
"integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==",
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"peer": true,
|
||||
"engines": {
|
||||
"node": ">=4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/xmlchars": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
|
||||
|
||||
@@ -85,6 +85,7 @@ useStreamerIdSeoMeta(computed(() => data.value?.page));
|
||||
:superDmActive="data.superDmState.active"
|
||||
:streamerId="streamerId"
|
||||
:bio="data.page.bio"
|
||||
:tipGoal="data.page.tipGoal"
|
||||
/>
|
||||
<TipContent
|
||||
ref="contentRef"
|
||||
|
||||
@@ -29,11 +29,33 @@ const updateLiveStreams = async () => {
|
||||
}
|
||||
};
|
||||
|
||||
const state = reactive<{ search?: string }>({
|
||||
search: undefined,
|
||||
});
|
||||
|
||||
const { page, offset, limit } = useFilter({
|
||||
initialPage: parseInt(route.query.page as string) || 1,
|
||||
getAll: () => refresh(),
|
||||
queryToData: () => {
|
||||
state.search = (route.query.search as string) || undefined;
|
||||
},
|
||||
});
|
||||
|
||||
function onSearch() {
|
||||
navigateTo({
|
||||
query: {
|
||||
...route.query,
|
||||
search: state.search || undefined,
|
||||
page: 1,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
function resetSearch() {
|
||||
state.search = undefined;
|
||||
onSearch();
|
||||
}
|
||||
|
||||
const { data, error, pending, refresh } = useLazyAsyncData(
|
||||
async () => {
|
||||
const { data } = await $axios.get<{ pages: StreamerPage[]; total: number }>(
|
||||
@@ -80,7 +102,29 @@ const columns = [
|
||||
<template>
|
||||
<PageTitle title="Pages"> </PageTitle>
|
||||
|
||||
<div class="mb-4 flex justify-end">
|
||||
<div class="mb-4 flex items-center justify-between gap-4">
|
||||
<UForm :state="state" class="flex gap-2" @submit="onSearch">
|
||||
<UFormGroup name="search">
|
||||
<UInput
|
||||
v-model="state.search"
|
||||
placeholder="Search"
|
||||
autocomplete="off"
|
||||
:ui="{ icon: { trailing: { pointer: '' } } }"
|
||||
>
|
||||
<template #trailing>
|
||||
<UButton
|
||||
v-show="!!state.search"
|
||||
color="gray"
|
||||
variant="link"
|
||||
icon="i-heroicons-x-mark-20-solid"
|
||||
:padded="false"
|
||||
@click="resetSearch"
|
||||
/>
|
||||
</template>
|
||||
</UInput>
|
||||
</UFormGroup>
|
||||
<UButton type="submit">Search</UButton>
|
||||
</UForm>
|
||||
<UButton @click="updateLiveStreams" :loading="pendingLiveStreams">
|
||||
Update live streams
|
||||
</UButton>
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<script setup lang="ts">
|
||||
const appConfig = useAppConfig();
|
||||
|
||||
const email = computed(() => appConfig.socials?.email);
|
||||
const url = computed(() => `mailto:${email.value}`);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<div class="inner">
|
||||
<div class="flex justify-center py-8 md:py-24 text-center">
|
||||
<div class="max-w-lg flex flex-col gap-4">
|
||||
<h1 class="text-xl md:text-3xl font-bold">
|
||||
Contact us to feature your business to the audience of every content
|
||||
creator on XMRChat!
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="pb-24">
|
||||
<div class="flex justify-center">
|
||||
<div class="max-w-lg flex flex-col gap-4">
|
||||
<AdPlacementCard reserved />
|
||||
<UButton size="lg" class="justify-center" :to="url" target="_blank">
|
||||
Send us an email
|
||||
</UButton>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<AdRules />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -3,34 +3,35 @@
|
||||
<template>
|
||||
<div class="m-4">
|
||||
<div class="guide inner">
|
||||
<h4 class="title">WALLET GUIDES</h4>
|
||||
<h4 class="title">{{ $t("walletGuides") }}</h4>
|
||||
<div class="page">
|
||||
<div class="how-to">
|
||||
<p>
|
||||
How to find the primary address and private view key (also known as
|
||||
secret view key):
|
||||
{{ $t("howToFindPrimaryAddress") }}
|
||||
</p>
|
||||
<h5>Cake Wallet:</h5>
|
||||
<h5>{{ $t("cakeWallet.title") }}</h5>
|
||||
<h6>
|
||||
<UIcon name="i-mdi-arrow-right-thin" class="text-3xl" /> To get your
|
||||
primary address:
|
||||
<UIcon name="i-mdi-arrow-right-thin" class="text-3xl" />
|
||||
{{ $t("toGetYourPrimaryAddress") }}
|
||||
</h6>
|
||||
<ul>
|
||||
<li>1. Click on "Receive"</li>
|
||||
<li>2. Copy the address that begins with 4</li>
|
||||
<li>{{ $t("cakeWallet.primaryAddress1") }}</li>
|
||||
<li>{{ $t("cakeWallet.primaryAddress2") }}</li>
|
||||
</ul>
|
||||
|
||||
<h6>
|
||||
<UIcon name="i-mdi-arrow-right-thin" class="text-3xl" /> To get your
|
||||
view key
|
||||
<UIcon name="i-mdi-arrow-right-thin" class="text-3xl" />
|
||||
{{ $t("toGetYourViewKey") }}
|
||||
</h6>
|
||||
<ul>
|
||||
<li>
|
||||
1. Click on Settings
|
||||
<span class="text-orange-500">-></span> Security and backup
|
||||
<span class="text-orange-500">-></span> Show seed/keys
|
||||
{{ $t("cakeWallet.viewKey1") }}
|
||||
<span class="text-orange-500">-></span>
|
||||
{{ $t("cakeWallet.securityAndBackup") }}
|
||||
<span class="text-orange-500">-></span>
|
||||
{{ $t("cakeWallet.showSeed") }}
|
||||
</li>
|
||||
<li>2. Copy "View key (private)"</li>
|
||||
<li>{{ $t("cakeWallet.viewKey2") }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="images">
|
||||
@@ -48,13 +49,14 @@
|
||||
<div class="guide inner">
|
||||
<div class="page">
|
||||
<div class="how-to">
|
||||
<h5>GUI Wallet:</h5>
|
||||
<h5>{{ $t("GUIWallet.title") }}</h5>
|
||||
<ul>
|
||||
<li>
|
||||
1. Click on Settings <span class="text-orange-500">-></span> Seeds
|
||||
& Keys
|
||||
{{ $t("GUIWallet.guide1") }}
|
||||
<span class="text-orange-500">-></span>
|
||||
{{ $t("GUIWallet.seedsAndKeys") }}
|
||||
</li>
|
||||
<li>2. Copy "Primary address" and "Secret view key"</li>
|
||||
<li>{{ $t("GUIWallet.guide2") }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="images">
|
||||
@@ -72,12 +74,14 @@
|
||||
<div class="guide inner">
|
||||
<div class="page">
|
||||
<div class="how-to">
|
||||
<h5>Feather Wallet:</h5>
|
||||
<h5>{{ $t("featherWallet.title") }}</h5>
|
||||
<ul>
|
||||
<li>
|
||||
1. Click on Wallet <span class="text-orange-500">-></span> Keys
|
||||
{{ $t("featherWallet.guide1") }}
|
||||
<span class="text-orange-500">-></span>
|
||||
{{ $t("featherWallet.keys") }}
|
||||
</li>
|
||||
<li>2. Copy "Primary address" and "Secret view key"</li>
|
||||
<li>{{ $t("featherWallet.guide2") }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="images">
|
||||
@@ -95,14 +99,21 @@
|
||||
<div class="guide inner">
|
||||
<div class="page">
|
||||
<div class="how-to">
|
||||
<h5>Monerujo Wallet:</h5>
|
||||
<h5>{{ $t("monerujoWallet.title") }}</h5>
|
||||
<ul>
|
||||
<li>
|
||||
1. Click on Wallet <span class="text-orange-500">-></span> Click on the menu <UIcon name="mdi:dots-vertical" /> <span class="text-orange-500">-></span> Select "Show Secrets!"
|
||||
{{ $t("monerujoWallet.guide1") }}
|
||||
<span class="text-orange-500">-></span>
|
||||
{{ $t("monerujoWallet.clickOnTheMenu") }}
|
||||
<UIcon name="mdi:dots-vertical" />
|
||||
<span class="text-orange-500">-></span>
|
||||
{{ $t("monerujoWallet.selectShowSecrets") }}
|
||||
</li>
|
||||
<li>2. Copy "Public Address"</li>
|
||||
<li>{{ $t("monerujoWallet.guide2") }}</li>
|
||||
<li>
|
||||
3. Expand "Detailed information" <span class="text-orange-500">-></span> Copy "View Key"
|
||||
{{ $t("monerujoWallet.guide3") }}
|
||||
<span class="text-orange-500">-></span>
|
||||
{{ $t("monerujoWallet.copyViewKey") }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -3,6 +3,7 @@ import type { LiveStream } from "~/types";
|
||||
|
||||
useHead({});
|
||||
|
||||
const { toCreateAd } = useRouteLocation();
|
||||
const { axios } = useApp();
|
||||
const { data, status, error } = useLazyAsyncData(
|
||||
"live-streams",
|
||||
@@ -46,6 +47,16 @@ const { data, status, error } = useLazyAsyncData(
|
||||
class="row-start-1 lg:row-start-auto"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
:class="[
|
||||
'mt-4 justify-self-center w-full',
|
||||
data?.liveStreams?.length ? 'max-w-full' : 'max-w-[1024px]',
|
||||
]"
|
||||
>
|
||||
<UButton :to="toCreateAd()" variant="outline">
|
||||
{{ $t("advertise") }} <DirectionalArrow />
|
||||
</UButton>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
const authStore = useAuthStore();
|
||||
<script setup lang="ts">
|
||||
const { state } = useAuthStore();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -9,7 +9,9 @@ const authStore = useAuthStore();
|
||||
:description="$t('updateYourLoginPassword')"
|
||||
></PageTitle>
|
||||
<ResetPasswordForm />
|
||||
<template v-if="authStore.isPremiumOrAdmin">
|
||||
<UDivider class="my-10" />
|
||||
<LogoutAllSessions />
|
||||
<template v-if="state.page">
|
||||
<UDivider class="my-10" />
|
||||
<PageTitle title="Cohosts" description="Manage your cohosts" />
|
||||
<Cohosts />
|
||||
|
||||
@@ -18,7 +18,8 @@ interface State {
|
||||
}
|
||||
|
||||
const { getMyLinks: getMyLinksReq, updateLinks } = useServices();
|
||||
const { url, notUrl, rumbleApiUrl, notStartingWithAt } = useValidations();
|
||||
const { url, notUrl, rumbleApiUrl, notStartingWithAt, matrixId } =
|
||||
useValidations();
|
||||
const toast = useToast();
|
||||
const { getContentLink } = useConstants();
|
||||
const { t } = useI18n();
|
||||
@@ -67,8 +68,11 @@ const state = reactive<State>({
|
||||
patreon: {},
|
||||
subscribestar: {},
|
||||
github: {},
|
||||
gitlab: {},
|
||||
matrix: {},
|
||||
"monero-jobs": {},
|
||||
facebook: {},
|
||||
pixelfed: {},
|
||||
},
|
||||
name: undefined,
|
||||
searchTerms: undefined,
|
||||
@@ -114,7 +118,11 @@ const rules = computed(() => {
|
||||
DISCORD,
|
||||
PATREON,
|
||||
SUBSCRIBESTAR,
|
||||
GITHUB,
|
||||
GITLAB,
|
||||
MATRIX,
|
||||
MONERO_JOBS,
|
||||
PIXELFED,
|
||||
...rest
|
||||
} = ContentLinkPlatformEnum;
|
||||
|
||||
@@ -141,7 +149,11 @@ const rules = computed(() => {
|
||||
[DISCORD]: { value: { url } },
|
||||
[PATREON]: { value: { url } },
|
||||
[SUBSCRIBESTAR]: { value: { url } },
|
||||
[GITHUB]: { value: { url } },
|
||||
[GITLAB]: { value: { url } },
|
||||
[MATRIX]: { value: { matrixId } },
|
||||
[MONERO_JOBS]: { value: { url } },
|
||||
[PIXELFED]: { value: { url } },
|
||||
...notUrls,
|
||||
},
|
||||
rumbleLiveStreamUrl: { url, rumbleApiUrl },
|
||||
|
||||
@@ -17,10 +17,6 @@ const tipValue = ref<TipDisplayMode | undefined>(
|
||||
data.value?.page?.tipDisplayMode
|
||||
);
|
||||
const { getFiat } = useConstants();
|
||||
|
||||
const showReplyColors = computed(() => {
|
||||
return data.value?.page?.isPremium;
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -44,7 +40,7 @@ const showReplyColors = computed(() => {
|
||||
/>
|
||||
|
||||
<div class="flex justify-end mb-2 gap-2 items-center">
|
||||
<TipReplySettingsModal v-if="showReplyColors" @update="refresh" />
|
||||
<TipReplySettingsModal @update="refresh" />
|
||||
<UTooltip
|
||||
:text="
|
||||
$t('tipDisplayValueTooltip', {
|
||||
|
||||
@@ -6,7 +6,6 @@ import { IntegrationConfigType } from "~/types/enums";
|
||||
const { axios } = useApp();
|
||||
const toast = useToast();
|
||||
const { numberic } = useValidations();
|
||||
const authStore = useAuthStore();
|
||||
|
||||
interface State {
|
||||
// form: Form;
|
||||
@@ -34,8 +33,6 @@ const {
|
||||
const { simplex: simplexConfig, signal: signalConfig } = useIntegrations({
|
||||
integrations: computed(() => integrations.value?.integrations),
|
||||
});
|
||||
|
||||
const isPremium = computed(() => authStore.isPremiumOrAdmin);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -45,8 +42,6 @@ const isPremium = computed(() => authStore.isPremiumOrAdmin);
|
||||
:description="$t('integrationsDes')"
|
||||
/>
|
||||
|
||||
<PremiumAlert v-if="!isPremium" class="mb-6" />
|
||||
|
||||
<ErrorView :error="error" v-if="error" />
|
||||
<div
|
||||
v-else
|
||||
|
||||
@@ -13,7 +13,6 @@ import {
|
||||
const { axios } = useApp();
|
||||
const toast = useToast();
|
||||
const { numberic } = useValidations();
|
||||
const authStore = useAuthStore();
|
||||
const { dayjs } = useDate();
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -152,8 +151,6 @@ const v = useVuelidate<any>(
|
||||
);
|
||||
|
||||
const { getValidationAttrs } = useValidations(v);
|
||||
|
||||
const isPremium = computed(() => authStore.isPremiumOrAdmin);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -163,8 +160,6 @@ const isPremium = computed(() => authStore.isPremiumOrAdmin);
|
||||
:description="$t('manageYourNotifs')"
|
||||
/>
|
||||
|
||||
<PremiumAlert v-if="!isPremium" class="mb-6" />
|
||||
|
||||
<ErrorView :error="error" v-if="error" />
|
||||
|
||||
<GeneralForm @submit="handleSave" v-else>
|
||||
|
||||
@@ -190,10 +190,7 @@ const handleUploadSound = (file: UploadedFile) => {
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
<div
|
||||
v-if="authStore.isPremiumOrAdmin || state.uploadedSound"
|
||||
class="grid grid-cols-1 lg:grid-cols-2 gap-2 mt-2"
|
||||
>
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-2 mt-2">
|
||||
<UFormGroup
|
||||
description="Custom sound to play on OBS and Cohost pages ( mp3, wav, ogg )."
|
||||
>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<div>Page: streamer/tip-goal/create</div>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
@@ -0,0 +1,13 @@
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<PageTitle
|
||||
:title="$t('editTipGoal')"
|
||||
:description="$t('editTipGoalDetails')"
|
||||
/>
|
||||
<TipGoalModifyForm editable />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
@@ -0,0 +1,44 @@
|
||||
<script setup lang="ts">
|
||||
import type { TipGoal } from "~/types";
|
||||
|
||||
const { axios } = useApp();
|
||||
|
||||
const { data, pending, error, refresh } = useLazyAsyncData(
|
||||
async () => {
|
||||
const { data } = await axios.get<{ tipGoal: TipGoal[] }>(`/tip-goals`);
|
||||
return data.tipGoal;
|
||||
},
|
||||
{
|
||||
server: false,
|
||||
},
|
||||
);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<PageTitle title="Tip Goal" description="Manage your tip goal" />
|
||||
|
||||
<div v-if="pending" class="flex flex-col gap-4 w-full max-w-[600px] m-auto">
|
||||
<USkeleton class="h-4 w-16" />
|
||||
<USkeleton class="h-10 w-full" />
|
||||
<USkeleton class="h-4 w-24" />
|
||||
<USkeleton class="h-10 w-full" />
|
||||
<USkeleton class="h-4 w-12" />
|
||||
<USkeleton class="h-10 w-full" />
|
||||
<USkeleton class="h-4 w-10" />
|
||||
<USkeleton class="h-10 w-full" />
|
||||
<USkeleton class="h-4 w-20" />
|
||||
<USkeleton class="h-20 w-full" />
|
||||
<USkeleton class="h-10 w-24 mt-4" />
|
||||
</div>
|
||||
<div v-else-if="error">{{ error }}</div>
|
||||
<div v-else-if="data">
|
||||
<TipGoalModifyForm editable @update="refresh" />
|
||||
</div>
|
||||
<div v-else>
|
||||
<TipGoalModifyForm @update="refresh" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.0 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 88 KiB |
@@ -18,6 +18,7 @@ export const useAuthStore = defineStore(
|
||||
login: loginApi,
|
||||
signup: signupApi,
|
||||
logout: logoutApi,
|
||||
logoutAllSessions: logoutAllSessionsApi,
|
||||
} = useServices();
|
||||
|
||||
const state: State = reactive({
|
||||
@@ -76,6 +77,11 @@ export const useAuthStore = defineStore(
|
||||
}
|
||||
};
|
||||
|
||||
const logoutAll = async () => {
|
||||
const { access_token } = await logoutAllSessionsApi();
|
||||
state.token = access_token;
|
||||
};
|
||||
|
||||
const isLoggedIn = computed(() => state.token);
|
||||
const isAdmin = computed(() => state.user?.roles.includes(RolesEnum.ADMIN));
|
||||
const isPremium = computed(() => state.page?.isPremium);
|
||||
@@ -97,6 +103,7 @@ export const useAuthStore = defineStore(
|
||||
login,
|
||||
signup,
|
||||
logout,
|
||||
logoutAll,
|
||||
};
|
||||
},
|
||||
{
|
||||
@@ -106,5 +113,5 @@ export const useAuthStore = defineStore(
|
||||
serialize: stringify,
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
);
|
||||
@@ -44,8 +44,11 @@ export enum ContentLinkPlatformEnum {
|
||||
PATREON = "patreon",
|
||||
SUBSCRIBESTAR = "subscribestar",
|
||||
GITHUB = "github",
|
||||
GITLAB = "gitlab",
|
||||
MATRIX = "matrix",
|
||||
MONERO_JOBS = "monero-jobs",
|
||||
FACEBOOK = "facebook",
|
||||
PIXELFED = "pixelfed",
|
||||
}
|
||||
|
||||
export enum TipDisplayMode {
|
||||
@@ -132,3 +135,8 @@ export enum MoneroNetworkTypeEnum {
|
||||
STAGENET = "stagenet",
|
||||
STRESSNET = "stressnet",
|
||||
}
|
||||
|
||||
export enum TipSourceEnum {
|
||||
XMRCHAT = "xmrchat",
|
||||
XMRPOD = "xmrpod",
|
||||
}
|
||||
@@ -13,6 +13,7 @@ import type {
|
||||
LiveStreamPlatformEnum,
|
||||
CohostInvitationStatusEnum,
|
||||
SuperDmMessageSenderTypeEnum,
|
||||
TipSourceEnum,
|
||||
} from "./enums";
|
||||
|
||||
export type Numberic = string | number;
|
||||
@@ -115,6 +116,7 @@ export interface StreamerPage {
|
||||
ability?: any;
|
||||
bio?: string;
|
||||
searchTerms?: string;
|
||||
tipGoal?: TipGoal;
|
||||
}
|
||||
|
||||
interface TipPayment {
|
||||
@@ -138,6 +140,7 @@ export interface Tip {
|
||||
createdAt?: string;
|
||||
pageTipTier?: PageTipTier;
|
||||
tipReplies?: TipReply[];
|
||||
source?: TipSourceEnum;
|
||||
}
|
||||
|
||||
export interface TipTier {
|
||||
@@ -377,3 +380,13 @@ export interface TipReplySettings {
|
||||
backgroundColor?: string;
|
||||
textColor?: string;
|
||||
}
|
||||
|
||||
export interface TipGoal {
|
||||
id: number;
|
||||
name: string;
|
||||
amount: string;
|
||||
startTime: string;
|
||||
endTime?: string;
|
||||
description?: string;
|
||||
isActive: boolean;
|
||||
}
|
||||
@@ -13,7 +13,6 @@ export const CONTENT_LINKS_LIST = [
|
||||
ContentLinkPlatformEnum.INSTAGRAM,
|
||||
ContentLinkPlatformEnum.WEBSITE,
|
||||
ContentLinkPlatformEnum.YOUTUBE,
|
||||
ContentLinkPlatformEnum.RUMBLE,
|
||||
ContentLinkPlatformEnum.TWITCH,
|
||||
ContentLinkPlatformEnum.TIKTOK,
|
||||
ContentLinkPlatformEnum.ODYSEE,
|
||||
@@ -27,8 +26,12 @@ export const CONTENT_LINKS_LIST = [
|
||||
ContentLinkPlatformEnum.PATREON,
|
||||
ContentLinkPlatformEnum.SUBSCRIBESTAR,
|
||||
ContentLinkPlatformEnum.GITHUB,
|
||||
ContentLinkPlatformEnum.GITLAB,
|
||||
ContentLinkPlatformEnum.MATRIX,
|
||||
ContentLinkPlatformEnum.MONERO_JOBS,
|
||||
ContentLinkPlatformEnum.FACEBOOK,
|
||||
ContentLinkPlatformEnum.PIXELFED,
|
||||
ContentLinkPlatformEnum.RUMBLE,
|
||||
];
|
||||
|
||||
export const SWAP_STATUSES = {
|
||||
|
||||
@@ -7,11 +7,11 @@ services:
|
||||
user: root
|
||||
ports:
|
||||
# - :80
|
||||
- :18080
|
||||
# - :18080
|
||||
- 18081:18081
|
||||
- :18082
|
||||
- :18083
|
||||
- :18084
|
||||
# - :18082
|
||||
# - :18083
|
||||
# - :18084
|
||||
command:
|
||||
- --p2p-bind-ip=0.0.0.0
|
||||
- --p2p-bind-port=18080
|
||||
@@ -43,7 +43,7 @@ services:
|
||||
restart: always
|
||||
ports:
|
||||
# - :80
|
||||
- :8443
|
||||
# - :8443
|
||||
command:
|
||||
- --db-path=/home/monero-lws/.bitmonero/light_wallet_server
|
||||
- --daemon=tcp://monero:1882
|
||||
|
||||
@@ -49,6 +49,9 @@ ADMIN_MONERO_PRIVATE_VIEW_KEY=
|
||||
# Page report emails separated by space
|
||||
PAGE_REPORT_RECEPIENTS=[email protected] [email protected]
|
||||
|
||||
# Failed report emails separated by space
|
||||
FAILED_REPORT_RECEPIENTS=[email protected] [email protected]
|
||||
|
||||
|
||||
# LWS_WEBHOOK_URL=http://localhost:3000/lws/webhooks
|
||||
# LWS calls this url for sending the transaction info.
|
||||
@@ -109,6 +112,12 @@ YOUTUBE_API_KEY=
|
||||
|
||||
# Interval for getting live streams
|
||||
LIVE_STREAM_INTERVAL=5
|
||||
XMRPOD_PUSH_VAPID_PUBLIC_KEY=
|
||||
XMRPOD_PUSH_VAPID_PRIVATE_KEY=
|
||||
XMRPOD_PUSH_VAPID_SUBJECT=https://xmrchat.com
|
||||
|
||||
# Experimental X live detection. Uses Playwright to check X profiles for live Spaces/broadcasts.
|
||||
X_LIVE_CHECK_ENABLED=false
|
||||
|
||||
# Max number of cohosts for a page
|
||||
MAX_COHOSTS=5
|
||||
@@ -118,3 +127,5 @@ TEST_TIP=false
|
||||
|
||||
# Page paths that are used for testing separated by space
|
||||
TEST_PAGE_PATHS=
|
||||
|
||||
ADDRESS_CHANGE_EMAIL_ACTIVE=
|
||||
@@ -13,6 +13,7 @@ docker-compose.build.yml
|
||||
migrations/data/*.json
|
||||
typeorm.server.config.ts
|
||||
/backups
|
||||
/.cache
|
||||
|
||||
# Logs
|
||||
logs
|
||||
|
||||
+4
-3
@@ -1,7 +1,7 @@
|
||||
FROM node:22-alpine
|
||||
FROM node:22-slim
|
||||
|
||||
ENV NODE_ENV production
|
||||
|
||||
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
||||
|
||||
RUN mkdir /home/node/app
|
||||
WORKDIR /home/node/app
|
||||
@@ -13,7 +13,8 @@ RUN npm install -g @nestjs/cli
|
||||
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
RUN npx playwright install --with-deps chromium
|
||||
|
||||
# CMD [ "npm", "start" ]
|
||||
CMD ["node", "dist/src/main.js"]
|
||||
EXPOSE 3000
|
||||
EXPOSE 3000
|
||||
@@ -44,8 +44,6 @@ services:
|
||||
redis:
|
||||
image: redis/redis-stack:latest
|
||||
restart: always
|
||||
ports:
|
||||
- ':6379'
|
||||
|
||||
volumes:
|
||||
- ./redis/data:/data
|
||||
@@ -56,9 +54,6 @@ services:
|
||||
minio:
|
||||
image: quay.io/minio/minio
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ':9000'
|
||||
- ':9001'
|
||||
environment:
|
||||
MINIO_ROOT_USER: ${MINIO_USER}
|
||||
MINIO_ROOT_PASSWORD: ${MINIO_PASSWORD}
|
||||
@@ -86,8 +81,6 @@ services:
|
||||
|
||||
signal-cli:
|
||||
image: bbernhard/signal-cli-rest-api
|
||||
ports:
|
||||
- ':8080'
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./signal-cli:/home/.local/share/signal-cli
|
||||
@@ -102,8 +95,6 @@ services:
|
||||
context: ./docker/simplex
|
||||
dockerfile: Dockerfile
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ':5225'
|
||||
volumes:
|
||||
- ./simplex:/root/.simplex
|
||||
networks:
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
|
||||
export class AddTipGoal1783357939402 implements MigrationInterface {
|
||||
name = 'AddTipGoal1783357939402'
|
||||
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`CREATE TABLE "tip_goals" ("id" SERIAL NOT NULL, "name" character varying NOT NULL, "amount" bigint NOT NULL, "start_time" TIMESTAMP WITH TIME ZONE NOT NULL, "end_time" TIMESTAMP WITH TIME ZONE, "description" character varying, "is_active" boolean NOT NULL DEFAULT true, "created_at" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updated_at" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "page_id" integer, CONSTRAINT "REL_e8ae4db6c6d4040b55f56b8a7c" UNIQUE ("page_id"), CONSTRAINT "PK_630b0d15cb06f113aa295fa32b0" PRIMARY KEY ("id"))`);
|
||||
await queryRunner.query(`ALTER TABLE "tip_goals" ADD CONSTRAINT "FK_e8ae4db6c6d4040b55f56b8a7ce" FOREIGN KEY ("page_id") REFERENCES "pages"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE "tip_goals" DROP CONSTRAINT "FK_e8ae4db6c6d4040b55f56b8a7ce"`);
|
||||
await queryRunner.query(`DROP TABLE "tip_goals"`);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
import { MigrationInterface, QueryRunner } from "typeorm";
|
||||
|
||||
export class AddTipSource1785958846556 implements MigrationInterface {
|
||||
name = 'AddTipSource1785958846556'
|
||||
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE "tips" ADD "source" character varying`);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE "tips" DROP COLUMN "source"`);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddTokenVersionOnUser1786754400000 implements MigrationInterface {
|
||||
name = 'AddTokenVersionOnUser1786754400000';
|
||||
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(
|
||||
`ALTER TABLE "users" ADD "token_version" integer NOT NULL DEFAULT 0`,
|
||||
);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`ALTER TABLE "users" DROP COLUMN "token_version"`);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
import { MigrationInterface, QueryRunner } from 'typeorm';
|
||||
|
||||
export class AddXmrpodPush1792036800000 implements MigrationInterface {
|
||||
name = 'AddXmrpodPush1792036800000';
|
||||
|
||||
public async up(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(
|
||||
`CREATE TABLE "xmrpod_push_subscriptions" ("id" uuid NOT NULL, "token_hash" character varying NOT NULL, "endpoint" text NOT NULL, "p256dh" character varying NOT NULL, "auth" character varying NOT NULL, "challenge" uuid, "verified_at" TIMESTAMP WITH TIME ZONE, "expires_at" TIMESTAMP WITH TIME ZONE NOT NULL, CONSTRAINT "PK_xmrpod_push_subscriptions" PRIMARY KEY ("id"))`,
|
||||
);
|
||||
await queryRunner.query(
|
||||
`CREATE TABLE "xmrpod_live_push_states" ("page_id" integer NOT NULL, "session_id" uuid NOT NULL, "identities" jsonb NOT NULL DEFAULT '{}', "started_at" TIMESTAMP WITH TIME ZONE NOT NULL, "last_seen_at" TIMESTAMP WITH TIME ZONE NOT NULL, CONSTRAINT "PK_xmrpod_live_push_states" PRIMARY KEY ("page_id"))`,
|
||||
);
|
||||
}
|
||||
|
||||
public async down(queryRunner: QueryRunner): Promise<void> {
|
||||
await queryRunner.query(`DROP TABLE "xmrpod_live_push_states"`);
|
||||
await queryRunner.query(`DROP TABLE "xmrpod_push_subscriptions"`);
|
||||
}
|
||||
}
|
||||
@@ -6,14 +6,12 @@
|
||||
"deleteOutDir": true,
|
||||
"assets": [
|
||||
{
|
||||
"include": "notifications/email/templates/**",
|
||||
"outDir": "dist/src/"
|
||||
"include": "notifications/email/templates/**/*"
|
||||
},
|
||||
{
|
||||
"include": "i18n/**",
|
||||
"outDir": "dist/src/"
|
||||
"include": "i18n/**/*"
|
||||
}
|
||||
],
|
||||
"watchAssets": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+165
-12
@@ -43,6 +43,7 @@
|
||||
"express-basic-auth": "^1.2.1",
|
||||
"googleapis": "^160.0.0",
|
||||
"handlebars": "^4.7.8",
|
||||
"ipaddr.js": "2.5.0",
|
||||
"microdiff": "^1.5.0",
|
||||
"minio": "^8.0.1",
|
||||
"monero-ts": "^0.11.1",
|
||||
@@ -57,8 +58,10 @@
|
||||
"passport-jwt": "^4.0.1",
|
||||
"patch-package": "^8.0.0",
|
||||
"pg": "^8.13.0",
|
||||
"playwright": "1.54.1",
|
||||
"redis": "^4.7.0",
|
||||
"reflect-metadata": "^0.2.0",
|
||||
"rss-parser": "^3.13.0",
|
||||
"rxjs": "^7.8.1",
|
||||
"sharp": "^0.33.5",
|
||||
"signal-rest-ts": "^0.1.3",
|
||||
@@ -71,6 +74,7 @@
|
||||
"typeorm-extension": "^3.6.3",
|
||||
"typeorm-naming-strategies": "^4.1.0",
|
||||
"uuid": "^10.0.0",
|
||||
"web-push": "3.6.7",
|
||||
"winston": "^3.17.0",
|
||||
"winston-daily-rotate-file": "^5.0.0"
|
||||
},
|
||||
@@ -87,6 +91,7 @@
|
||||
"@types/pg": "^8.11.10",
|
||||
"@types/supertest": "^6.0.0",
|
||||
"@types/tmi.js": "^1.8.6",
|
||||
"@types/web-push": "3.6.4",
|
||||
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
||||
"@typescript-eslint/parser": "^8.0.0",
|
||||
"eslint": "^8.42.0",
|
||||
@@ -3812,6 +3817,16 @@
|
||||
"resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.12.2.tgz",
|
||||
"integrity": "sha512-6SlHBzUW8Jhf3liqrGGXyTJSIFe4nqlJ5A5KaMZ2l/vbM3Wh3KSybots/wfWVzNLK4D1NZluDlSQIbIEPx6oyA=="
|
||||
},
|
||||
"node_modules/@types/web-push": {
|
||||
"version": "3.6.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/web-push/-/web-push-3.6.4.tgz",
|
||||
"integrity": "sha512-GnJmSr40H3RAnj0s34FNTcJi1hmWFV5KXugE0mYWnYhgTAHLJ/dJKAwDmvPJYMke0RplY2XE9LnM4hqSqKIjhQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/yargs": {
|
||||
"version": "17.0.33",
|
||||
"resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz",
|
||||
@@ -4490,6 +4505,18 @@
|
||||
"integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==",
|
||||
"devOptional": true
|
||||
},
|
||||
"node_modules/asn1.js": {
|
||||
"version": "5.4.1",
|
||||
"resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz",
|
||||
"integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"bn.js": "^4.0.0",
|
||||
"inherits": "^2.0.1",
|
||||
"minimalistic-assert": "^1.0.0",
|
||||
"safer-buffer": "^2.1.0"
|
||||
}
|
||||
},
|
||||
"node_modules/assert-never": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/assert-never/-/assert-never-1.4.0.tgz",
|
||||
@@ -4784,6 +4811,12 @@
|
||||
"node": ">= 6"
|
||||
}
|
||||
},
|
||||
"node_modules/bn.js": {
|
||||
"version": "4.12.5",
|
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.5.tgz",
|
||||
"integrity": "sha512-3aRg6/JxfffFD+OlOjOFR3Vo79l39ooBTFucxx+MT3dhCtzn3EmiUPQo+6/OZuI2jbXi3YKgmiTFBgChQMwIRQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/body-parser": {
|
||||
"version": "1.20.3",
|
||||
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
|
||||
@@ -7855,6 +7888,15 @@
|
||||
"entities": "^4.4.0"
|
||||
}
|
||||
},
|
||||
"node_modules/http_ece": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/http_ece/-/http_ece-1.2.0.tgz",
|
||||
"integrity": "sha512-JrF8SSLVmcvc5NducxgyOrKXe3EsyHMgBFgSaIUGmArKe+rwr0uphRkRXvwiom3I+fpIfoItveHrfudL8/rxuA==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/http-errors": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
|
||||
@@ -8045,11 +8087,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/ipaddr.js": {
|
||||
"version": "1.9.1",
|
||||
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
|
||||
"integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
|
||||
"version": "2.5.0",
|
||||
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.5.0.tgz",
|
||||
"integrity": "sha512-aq+t5NAc+cS6rZQQVWC2x98CPqGtKKTMDd4Gaodv0wShnItdKg/51djkGJ1hqH+Oy0ivDftCbSLCQob8zso01w==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.10"
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/is-arguments": {
|
||||
@@ -9888,6 +9931,12 @@
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/minimalistic-assert": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
|
||||
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/minimatch": {
|
||||
"version": "9.0.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
||||
@@ -9934,14 +9983,6 @@
|
||||
"node": "^16 || ^18 || >=20"
|
||||
}
|
||||
},
|
||||
"node_modules/minio/node_modules/ipaddr.js": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.2.0.tgz",
|
||||
"integrity": "sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==",
|
||||
"engines": {
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/minipass": {
|
||||
"version": "7.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
|
||||
@@ -11559,6 +11600,50 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/playwright": {
|
||||
"version": "1.54.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.54.1.tgz",
|
||||
"integrity": "sha512-peWpSwIBmSLi6aW2auvrUtf2DqY16YYcCMO8rTVx486jKmDTJg7UAhyrraP98GB8BoPURZP8+nxO7TSd4cPr5g==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"playwright-core": "1.54.1"
|
||||
},
|
||||
"bin": {
|
||||
"playwright": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"fsevents": "2.3.2"
|
||||
}
|
||||
},
|
||||
"node_modules/playwright-core": {
|
||||
"version": "1.54.1",
|
||||
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.54.1.tgz",
|
||||
"integrity": "sha512-Nbjs2zjj0htNhzgiy5wu+3w09YetDx5pkrpI/kZotDlDUaYk0HVA5xrBVPdow4SAUIlhgKcJeJg4GRKW6xHusA==",
|
||||
"license": "Apache-2.0",
|
||||
"bin": {
|
||||
"playwright-core": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
"node_modules/playwright/node_modules/fsevents": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
|
||||
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"darwin"
|
||||
],
|
||||
"engines": {
|
||||
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/pluralize": {
|
||||
"version": "8.0.0",
|
||||
"resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz",
|
||||
@@ -11779,6 +11864,15 @@
|
||||
"node": ">= 0.10"
|
||||
}
|
||||
},
|
||||
"node_modules/proxy-addr/node_modules/ipaddr.js": {
|
||||
"version": "1.9.1",
|
||||
"resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
|
||||
"integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.10"
|
||||
}
|
||||
},
|
||||
"node_modules/proxy-from-env": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
|
||||
@@ -12385,6 +12479,25 @@
|
||||
"node": ">=16"
|
||||
}
|
||||
},
|
||||
"node_modules/rss-parser": {
|
||||
"version": "3.13.0",
|
||||
"resolved": "https://registry.npmjs.org/rss-parser/-/rss-parser-3.13.0.tgz",
|
||||
"integrity": "sha512-7jWUBV5yGN3rqMMj7CZufl/291QAhvrrGpDNE4k/02ZchL0npisiYYqULF71jCEKoIiHvK/Q2e6IkDwPziT7+w==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"entities": "^2.0.3",
|
||||
"xml2js": "^0.5.0"
|
||||
}
|
||||
},
|
||||
"node_modules/rss-parser/node_modules/entities": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz",
|
||||
"integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==",
|
||||
"license": "BSD-2-Clause",
|
||||
"funding": {
|
||||
"url": "https://github.com/fb55/entities?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/run-applescript": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-3.2.0.tgz",
|
||||
@@ -14319,6 +14432,46 @@
|
||||
"@zxing/text-encoding": "0.9.0"
|
||||
}
|
||||
},
|
||||
"node_modules/web-push": {
|
||||
"version": "3.6.7",
|
||||
"resolved": "https://registry.npmjs.org/web-push/-/web-push-3.6.7.tgz",
|
||||
"integrity": "sha512-OpiIUe8cuGjrj3mMBFWY+e4MMIkW3SVT+7vEIjvD9kejGUypv8GPDf84JdPWskK8zMRIJ6xYGm+Kxr8YkPyA0A==",
|
||||
"license": "MPL-2.0",
|
||||
"dependencies": {
|
||||
"asn1.js": "^5.3.0",
|
||||
"http_ece": "1.2.0",
|
||||
"https-proxy-agent": "^7.0.0",
|
||||
"jws": "^4.0.0",
|
||||
"minimist": "^1.2.5"
|
||||
},
|
||||
"bin": {
|
||||
"web-push": "src/cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 16"
|
||||
}
|
||||
},
|
||||
"node_modules/web-push/node_modules/jwa": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz",
|
||||
"integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"buffer-equal-constant-time": "^1.0.1",
|
||||
"ecdsa-sig-formatter": "1.0.11",
|
||||
"safe-buffer": "^5.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/web-push/node_modules/jws": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz",
|
||||
"integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"jwa": "^2.0.1",
|
||||
"safe-buffer": "^5.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/web-resource-inliner": {
|
||||
"version": "6.0.1",
|
||||
"resolved": "https://registry.npmjs.org/web-resource-inliner/-/web-resource-inliner-6.0.1.tgz",
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
"express-basic-auth": "^1.2.1",
|
||||
"googleapis": "^160.0.0",
|
||||
"handlebars": "^4.7.8",
|
||||
"ipaddr.js": "2.5.0",
|
||||
"microdiff": "^1.5.0",
|
||||
"minio": "^8.0.1",
|
||||
"monero-ts": "^0.11.1",
|
||||
@@ -76,8 +77,10 @@
|
||||
"passport-jwt": "^4.0.1",
|
||||
"patch-package": "^8.0.0",
|
||||
"pg": "^8.13.0",
|
||||
"playwright": "1.54.1",
|
||||
"redis": "^4.7.0",
|
||||
"reflect-metadata": "^0.2.0",
|
||||
"rss-parser": "^3.13.0",
|
||||
"rxjs": "^7.8.1",
|
||||
"sharp": "^0.33.5",
|
||||
"signal-rest-ts": "^0.1.3",
|
||||
@@ -90,6 +93,7 @@
|
||||
"typeorm-extension": "^3.6.3",
|
||||
"typeorm-naming-strategies": "^4.1.0",
|
||||
"uuid": "^10.0.0",
|
||||
"web-push": "3.6.7",
|
||||
"winston": "^3.17.0",
|
||||
"winston-daily-rotate-file": "^5.0.0"
|
||||
},
|
||||
@@ -106,6 +110,7 @@
|
||||
"@types/pg": "^8.11.10",
|
||||
"@types/supertest": "^6.0.0",
|
||||
"@types/tmi.js": "^1.8.6",
|
||||
"@types/web-push": "3.6.4",
|
||||
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
||||
"@typescript-eslint/parser": "^8.0.0",
|
||||
"eslint": "^8.42.0",
|
||||
|
||||
@@ -25,6 +25,7 @@ import { AuditsModule } from './audits/audits.module';
|
||||
import { WinstonModule } from 'nest-winston';
|
||||
import winston from 'winston';
|
||||
import 'winston-daily-rotate-file';
|
||||
import { existsSync } from 'fs';
|
||||
import { join } from 'path';
|
||||
import { ClsModule } from 'nestjs-cls';
|
||||
import { ThrottlerModule } from '@nestjs/throttler';
|
||||
@@ -59,6 +60,7 @@ import { OfferingsModule } from './offerings/offerings.module';
|
||||
import { EntitlementsModule } from './entitlements/entitlements.module';
|
||||
import { TipsBroadcastModule } from './tips-broadcast/tips-broadcast.module';
|
||||
import { TipRepliesModule } from './tip-replies/tip-replies.module';
|
||||
import { TipGoalsModule } from './tip-goals/tip-goals.module';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -121,7 +123,9 @@ import { TipRepliesModule } from './tip-replies/tip-replies.module';
|
||||
return {
|
||||
fallbackLanguage: config.get('DEFAULT_LOCALE') || 'en',
|
||||
loaderOptions: {
|
||||
path: join(__dirname, '/i18n/'),
|
||||
path: existsSync(join(__dirname, 'i18n'))
|
||||
? join(__dirname, 'i18n')
|
||||
: join(__dirname, '..', 'i18n'),
|
||||
watch: true,
|
||||
},
|
||||
};
|
||||
@@ -191,8 +195,9 @@ import { TipRepliesModule } from './tip-replies/tip-replies.module';
|
||||
EntitlementsModule,
|
||||
TipsBroadcastModule,
|
||||
TipRepliesModule,
|
||||
TipGoalsModule,
|
||||
],
|
||||
controllers: [AppController],
|
||||
providers: [AppService, IsMoneroPrimaryAdrress],
|
||||
})
|
||||
export class AppModule { }
|
||||
export class AppModule {}
|
||||
@@ -76,4 +76,10 @@ export class AuthController {
|
||||
updatePassword(@Body() body: UpdatePasswordDto, @CurrentUser() user: User) {
|
||||
return this.authService.updatePassword(user, body);
|
||||
}
|
||||
|
||||
@Throttle({ default: { ttl: seconds(1), limit: 2 } })
|
||||
@Post('/logout-all')
|
||||
logoutAll(@CurrentUser() user: User) {
|
||||
return this.authService.logoutAllSessions(user);
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,6 @@ export class AuthService {
|
||||
type: UserTokenType.EMAIL_VERIFICATION,
|
||||
});
|
||||
|
||||
this.logger.log(`Token: ${token}`);
|
||||
|
||||
this.notificationsService.sendVerificationEmail(user.email, token);
|
||||
|
||||
@@ -97,7 +96,7 @@ export class AuthService {
|
||||
);
|
||||
}
|
||||
|
||||
const token = await this.generateJwt(user.id, user.email);
|
||||
const token = await this.generateJwt(user);
|
||||
|
||||
return {
|
||||
access_token: token,
|
||||
@@ -143,7 +142,6 @@ export class AuthService {
|
||||
);
|
||||
}
|
||||
|
||||
this.logger.log(`Token: ${token}`);
|
||||
|
||||
this.notificationsService.sendResetPasswordEmail(user.email, token);
|
||||
|
||||
@@ -167,6 +165,7 @@ export class AuthService {
|
||||
await this.usersService.update(userToken.userId, {
|
||||
password: passwordResult,
|
||||
isEmailVerified: true,
|
||||
tokenVersion: (user.tokenVersion ?? 0) + 1,
|
||||
});
|
||||
|
||||
await this.userTokensService.remove(userToken.id);
|
||||
@@ -187,14 +186,37 @@ export class AuthService {
|
||||
throw new BadRequestException(this.i18n.t('error.invalidCredentials'));
|
||||
}
|
||||
|
||||
const tokenVersion = (user.tokenVersion ?? 0) + 1;
|
||||
|
||||
await this.usersService.update(user.id, {
|
||||
password: createFinalPassword(data.password),
|
||||
tokenVersion,
|
||||
});
|
||||
|
||||
this.notificationsService.sendPasswordChangeEmail(user.email);
|
||||
|
||||
return {
|
||||
message: this.i18n.t('general.accountPasswordUpdated'),
|
||||
access_token: await this.generateJwt({
|
||||
...user,
|
||||
tokenVersion,
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
||||
async logoutAllSessions(user: User) {
|
||||
const tokenVersion = (user.tokenVersion ?? 0) + 1;
|
||||
|
||||
await this.usersService.update(user.id, {
|
||||
tokenVersion,
|
||||
});
|
||||
|
||||
return {
|
||||
message: this.i18n.t('general.loggedOutOfAllSessions'),
|
||||
access_token: await this.generateJwt({
|
||||
...user,
|
||||
tokenVersion,
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -222,7 +244,11 @@ export class AuthService {
|
||||
return this.usersService.update(user.id, user);
|
||||
}
|
||||
|
||||
generateJwt(userId: number, email: string) {
|
||||
return this.jwtService.signAsync({ userId, email });
|
||||
generateJwt(user: Pick<User, 'id' | 'email' | 'tokenVersion'>) {
|
||||
return this.jwtService.signAsync({
|
||||
userId: user.id,
|
||||
email: user.email,
|
||||
tokenVersion: user.tokenVersion ?? 0,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -3,6 +3,7 @@ import { Reflector } from '@nestjs/core';
|
||||
import { JwtService } from '@nestjs/jwt';
|
||||
import { WsException } from '@nestjs/websockets';
|
||||
import { WS_GUARD_METADATA } from 'src/shared/constants';
|
||||
import { isJwtSessionValid, JwtPayload } from 'src/shared/utils';
|
||||
import { UsersService } from 'src/users/users.service';
|
||||
|
||||
@Injectable()
|
||||
@@ -25,7 +26,7 @@ export class WsAuthGuard implements CanActivate {
|
||||
|
||||
const user = await this.usersService.findById(payload.userId);
|
||||
|
||||
if (!user) {
|
||||
if (!user || !isJwtSessionValid(payload, user)) {
|
||||
throw new WsException('Unauthorized');
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ import { Injectable } from '@nestjs/common';
|
||||
import { ConfigService } from '@nestjs/config';
|
||||
import { PassportStrategy } from '@nestjs/passport';
|
||||
import { ExtractJwt, Strategy } from 'passport-jwt';
|
||||
import { isJwtSessionValid, JwtPayload } from 'src/shared/utils';
|
||||
import { UsersService } from 'src/users/users.service';
|
||||
|
||||
@Injectable()
|
||||
@@ -17,7 +18,11 @@ export class JwtStrategy extends PassportStrategy(Strategy) {
|
||||
});
|
||||
}
|
||||
|
||||
async validate(payload: { userId: number; email: string }) {
|
||||
return this.usersService.findById(payload.userId);
|
||||
async validate(payload: JwtPayload) {
|
||||
const user = await this.usersService.findById(payload.userId);
|
||||
|
||||
if (!isJwtSessionValid(payload, user)) return null;
|
||||
|
||||
return user;
|
||||
}
|
||||
}
|
||||
@@ -14,6 +14,7 @@ import { PageTipTier } from 'src/page-tip-tiers/page-tip-tier.entity';
|
||||
import { Page } from 'src/pages/page.entity';
|
||||
import { Action, PageSettingKey, RolesEnum } from 'src/shared/constants/enum';
|
||||
import { SuperDm } from 'src/super-dms/super-dm.entity';
|
||||
import { TipGoal } from 'src/tip-goals/tip-goal.entity';
|
||||
import { TipReply } from 'src/tip-replies/tip-reply.entity';
|
||||
import { Tip } from 'src/tips/tip.entity';
|
||||
import { User } from 'src/users/user.entity';
|
||||
@@ -28,6 +29,7 @@ type Subjects =
|
||||
| typeof PageSetting
|
||||
| typeof PageTipTier
|
||||
| typeof TipReply
|
||||
| typeof TipGoal
|
||||
>
|
||||
| 'notification'
|
||||
| 'cohost'
|
||||
@@ -58,16 +60,18 @@ export class CaslAbilityFactory {
|
||||
can(Action.Manage, 'all');
|
||||
}
|
||||
|
||||
if (pageResult?.isPremium) {
|
||||
// This used to be checking for premium page. We allow all pages to access these actions.
|
||||
if (pageResult) {
|
||||
can(Action.Manage, 'notification');
|
||||
can(Action.Receive, 'notification');
|
||||
can(Action.Manage, 'integration');
|
||||
can(Action.Manage, 'cohost');
|
||||
can(Action.Create, CohostInvitation);
|
||||
can(Action.Manage, PageTipTier, { pageId: pageResult?.id });
|
||||
can(Action.Manage, PageTipTier, { pageId: pageResult.id });
|
||||
|
||||
// TIP REPLY ACTIONS
|
||||
can(Action.Manage, TipReply, { 'tip.pageId': pageResult?.id } as any);
|
||||
can(Action.Manage, TipReply, { 'tip.pageId': pageResult.id } as any);
|
||||
can(Action.Manage, TipGoal, { pageId: pageResult.id });
|
||||
}
|
||||
|
||||
// OBS ACTIONS
|
||||
@@ -87,7 +91,7 @@ export class CaslAbilityFactory {
|
||||
key: PageSettingKey.OBS_SOUND,
|
||||
value: { $ne: null },
|
||||
});
|
||||
if (pageResult?.isPremium || isAdmin) can(Action.Update, PageSetting);
|
||||
if (pageResult || isAdmin) can(Action.Update, PageSetting);
|
||||
|
||||
// COHOST ACTIONS
|
||||
can(Action.Delete, CohostInvitation, {
|
||||
@@ -96,7 +100,7 @@ export class CaslAbilityFactory {
|
||||
|
||||
// TIPS ACTIONS
|
||||
can(Action.MakeTipPrivate, Page, { userId: user.id });
|
||||
can(Action.MakeTipPublic, Page, { userId: user.id });
|
||||
// can(Action.MakeTipPublic, Page, { userId: user.id });
|
||||
// Only make private if cohost
|
||||
can(Action.MakeTipPrivate, Page, { id: user.cohostPageId });
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ import { Command, CommandRunner } from 'nest-commander';
|
||||
import { TwitchTokenService } from 'src/integrations/twitch/twitch-token.service';
|
||||
import { LinkVerificationsService } from 'src/link-verifications/link-verifications.service';
|
||||
import { LiveStreamsService } from 'src/live-streams/live-streams.service';
|
||||
import { NotificationTestsService } from 'src/notifications/notification-tests.service';
|
||||
|
||||
@Command({
|
||||
name: 'config',
|
||||
@@ -16,6 +17,7 @@ export class ConfigCommand extends CommandRunner {
|
||||
private twitchTokenService: TwitchTokenService,
|
||||
private liveStreamsService: LiveStreamsService,
|
||||
private linkVerificationsService: LinkVerificationsService,
|
||||
private notificationTestsService: NotificationTestsService,
|
||||
) {
|
||||
super();
|
||||
}
|
||||
@@ -53,6 +55,11 @@ export class ConfigCommand extends CommandRunner {
|
||||
return;
|
||||
}
|
||||
|
||||
if (config === 'test-simplex') {
|
||||
await this.testSimplex();
|
||||
return;
|
||||
}
|
||||
|
||||
this.logger.error(`Parameter is invalid: ${config}`);
|
||||
}
|
||||
|
||||
@@ -86,4 +93,9 @@ export class ConfigCommand extends CommandRunner {
|
||||
this.logger.log('validating link verifications');
|
||||
await this.linkVerificationsService.validateAll();
|
||||
}
|
||||
|
||||
async testSimplex() {
|
||||
this.logger.log('Testing Simplex');
|
||||
await this.notificationTestsService.testSimplex();
|
||||
}
|
||||
}
|
||||
@@ -23,6 +23,9 @@ import { User } from 'src/users/user.entity';
|
||||
import { SnakeNamingStrategy } from 'typeorm-naming-strategies';
|
||||
import { LinkVerification } from 'src/link-verifications/link-verification.entity';
|
||||
import { TipReply } from 'src/tip-replies/tip-reply.entity';
|
||||
import { TipGoal } from 'src/tip-goals/tip-goal.entity';
|
||||
import { PushSubscription } from 'src/live-push/push-subscription.entity';
|
||||
import { LivePushState } from 'src/live-push/live-push-state.entity';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -56,6 +59,9 @@ import { TipReply } from 'src/tip-replies/tip-reply.entity';
|
||||
SuperDmMessage,
|
||||
LinkVerification,
|
||||
TipReply,
|
||||
TipGoal,
|
||||
PushSubscription,
|
||||
LivePushState,
|
||||
],
|
||||
namingStrategy: new SnakeNamingStrategy(),
|
||||
migrationsRun: process.env.NODE_ENV === 'production',
|
||||
|
||||
@@ -33,6 +33,7 @@ export class FilesController {
|
||||
@UploadedFile() file: Express.Multer.File,
|
||||
@Param('slug', new ParseEnumPipe(FileType)) slug: FileType,
|
||||
) {
|
||||
throw new BadRequestException('Use the /upload/:type endpoint instead');
|
||||
if (!file) throw new BadRequestException('No file is uploaded.');
|
||||
|
||||
const fileBuffer = await fs.readFile(file.path);
|
||||
|
||||
@@ -29,5 +29,6 @@
|
||||
"weSentYouEmailFollowTheLink": "We have already sent you a verification email. Follow the link in the email or try again after few minutes.",
|
||||
"passwordChanged": "Password is changed successfully.",
|
||||
"invalidCredentials": "Invalid credentials.",
|
||||
"accountPasswordUpdated": "Account password updated."
|
||||
"accountPasswordUpdated": "Account password updated.",
|
||||
"loggedOutOfAllSessions": "Other sessions have been logged out."
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
import { HttpService } from '@nestjs/axios';
|
||||
import { InjectQueue } from '@nestjs/bullmq';
|
||||
import { CACHE_MANAGER } from '@nestjs/cache-manager';
|
||||
import {
|
||||
Inject,
|
||||
@@ -9,6 +10,7 @@ import {
|
||||
} from '@nestjs/common';
|
||||
import { ConfigService } from '@nestjs/config';
|
||||
import { Cron, CronExpression } from '@nestjs/schedule';
|
||||
import { Queue } from 'bullmq';
|
||||
import { Cache } from 'cache-manager';
|
||||
import { getErrorMessage } from 'src/shared/utils/errors';
|
||||
|
||||
@@ -20,6 +22,7 @@ export class TwitchTokenService implements OnModuleInit {
|
||||
private readonly httpService: HttpService,
|
||||
private readonly configService: ConfigService,
|
||||
@Inject(CACHE_MANAGER) private cacheManager: Cache,
|
||||
@InjectQueue('notifications-email') private emailQueue: Queue,
|
||||
) {}
|
||||
|
||||
async onModuleInit() {
|
||||
@@ -123,4 +126,38 @@ export class TwitchTokenService implements OnModuleInit {
|
||||
this.logger.error('Failed to refresh twitch client credentials token');
|
||||
}
|
||||
}
|
||||
|
||||
@Cron(CronExpression.EVERY_DAY_AT_NOON)
|
||||
async upsertTokenRefreshReminder() {
|
||||
const token = this.configService.get('TWITCH_OAUTH_PASS')?.split(':')[1];
|
||||
|
||||
if (!token) return;
|
||||
|
||||
const { data } = await this.httpService.axiosRef.get(
|
||||
'https://id.twitch.tv/oauth2/validate',
|
||||
{
|
||||
headers: {
|
||||
Authorization: `OAuth ${token}`,
|
||||
},
|
||||
},
|
||||
);
|
||||
const expiresIn = data.expires_in;
|
||||
|
||||
// Return if it is valid for more than 1 weeks
|
||||
if (expiresIn > 14 * 24 * 60 * 60) return;
|
||||
|
||||
const emails =
|
||||
this.configService.get('PAGE_REPORT_RECEPIENTS')?.split(' ') || [];
|
||||
if (!emails.length) return;
|
||||
|
||||
this.emailQueue.add('send-email', {
|
||||
to: emails,
|
||||
options: {
|
||||
subject: 'Twitch token update reminder',
|
||||
text: 'Twitch token update reminder',
|
||||
html: `Twitch token update reminder. Less that one week is remaining from expiration date, please update the token and get a new User access token token.
|
||||
You can use this website "https://twitchapps.com/tokengen" to generate a new User access token token.`,
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -2,9 +2,10 @@ import { Module } from '@nestjs/common';
|
||||
import { TwitchService } from './twitch.service';
|
||||
import { HttpModule } from '@nestjs/axios';
|
||||
import { TwitchTokenService } from './twitch-token.service';
|
||||
import { QueuesModule } from 'src/queues/queues.module';
|
||||
|
||||
@Module({
|
||||
imports: [HttpModule.register({})],
|
||||
imports: [HttpModule.register({}), QueuesModule],
|
||||
providers: [TwitchService, TwitchTokenService],
|
||||
exports: [TwitchService, TwitchTokenService],
|
||||
})
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
import { ConfigService } from '@nestjs/config';
|
||||
import { Client, client as tmiClient } from 'tmi.js';
|
||||
import { TwitchTokenService } from './twitch-token.service';
|
||||
import { getAxiosMessage } from 'src/shared/utils/errors';
|
||||
import { getAxiosMessage, getErrorMessage } from 'src/shared/utils/errors';
|
||||
|
||||
@Injectable()
|
||||
export class TwitchService implements OnModuleInit {
|
||||
@@ -94,11 +94,11 @@ export class TwitchService implements OnModuleInit {
|
||||
} catch (error) {
|
||||
console.log(
|
||||
'Twitch api error on getting channel name',
|
||||
error.response?.data,
|
||||
getErrorMessage(error),
|
||||
);
|
||||
if (
|
||||
error?.response?.data?.status === 403 ||
|
||||
error?.response?.data?.status === 401
|
||||
(error as any)?.response?.data?.status === 403 ||
|
||||
(error as any)?.response?.data?.status === 401
|
||||
)
|
||||
return true;
|
||||
return false;
|
||||
|
||||
@@ -13,6 +13,8 @@ import { contentLinksWithDefaults } from 'src/shared/utils';
|
||||
import { LinkPlatformEnum, PageStatusEnum } from 'src/shared/constants';
|
||||
import { User } from 'src/users/user.entity';
|
||||
import { LinkVerificationsService } from 'src/link-verifications/link-verifications.service';
|
||||
import Parser from 'rss-parser';
|
||||
import { getErrorMessage } from 'src/shared/utils/errors';
|
||||
|
||||
@Injectable()
|
||||
export class LinksService {
|
||||
@@ -66,11 +68,11 @@ export class LinksService {
|
||||
);
|
||||
}
|
||||
|
||||
// update name and search term from pages
|
||||
// await this.pagesService.updateNameAndSearchTerms(page.id, {
|
||||
// name: data.name,
|
||||
// searchTerms: data.searchTerms,
|
||||
// });
|
||||
const { isValid, error } = await this.validateRSSLink({
|
||||
pageId: page.id,
|
||||
data,
|
||||
});
|
||||
if (!isValid) throw new BadRequestException(error);
|
||||
|
||||
// Get existing links to compare values
|
||||
const existingLinks = await this.repo.find({
|
||||
@@ -106,6 +108,83 @@ export class LinksService {
|
||||
return this.repo.upsert(links, ['page.id', 'platform']);
|
||||
}
|
||||
|
||||
async validateRSSLink({
|
||||
pageId,
|
||||
data,
|
||||
}: {
|
||||
pageId: number;
|
||||
data: UpdateLinksDto;
|
||||
}) {
|
||||
const value = data?.links.find(
|
||||
(l) => l.platform === LinkPlatformEnum.PODCAST_RSS,
|
||||
)?.value;
|
||||
|
||||
if (!value) return { isValid: true, error: null };
|
||||
|
||||
const valueUrl = this.normalizeRSSLink(value);
|
||||
if (!valueUrl) return { isValid: false, error: 'Invalid RSS link.' };
|
||||
|
||||
const pageRSSLink = await this.repo.findOne({
|
||||
where: {
|
||||
platform: LinkPlatformEnum.PODCAST_RSS,
|
||||
value: And(Not(IsNull()), Not('')),
|
||||
page: { id: pageId },
|
||||
},
|
||||
});
|
||||
if (
|
||||
pageRSSLink?.value &&
|
||||
this.normalizeRSSLink(pageRSSLink.value) === valueUrl
|
||||
)
|
||||
return { isValid: true, error: null };
|
||||
|
||||
const allRSSLinks = await this.repo.find({
|
||||
where: {
|
||||
platform: LinkPlatformEnum.PODCAST_RSS,
|
||||
value: And(Not(IsNull()), Not('')),
|
||||
page: { id: Not(pageId) },
|
||||
},
|
||||
});
|
||||
|
||||
const isDuplicate = allRSSLinks.some(
|
||||
(link) =>
|
||||
Boolean(link.value) && this.normalizeRSSLink(link.value) === valueUrl,
|
||||
);
|
||||
if (isDuplicate)
|
||||
return {
|
||||
isValid: false,
|
||||
error:
|
||||
'That podcast is already in use. Contact support to resolve if necessary.',
|
||||
};
|
||||
|
||||
// validate new rss link
|
||||
const parser = new Parser({
|
||||
headers: {
|
||||
Accept: 'application/rss+xml, application/xml, text/xml, */*',
|
||||
},
|
||||
});
|
||||
try {
|
||||
await parser.parseURL(value);
|
||||
} catch (error) {
|
||||
return { isValid: false, error: 'Invalid RSS link.' };
|
||||
}
|
||||
|
||||
return { isValid: true, error: null };
|
||||
}
|
||||
|
||||
normalizeRSSLink(value: string) {
|
||||
try {
|
||||
const parsed = new URL(value.trim());
|
||||
parsed.hash = '';
|
||||
parsed.protocol = 'https:';
|
||||
parsed.hostname = parsed.hostname.replace(/^www\./, '');
|
||||
if (parsed.pathname.length > 1)
|
||||
parsed.pathname = parsed.pathname.replace(/\/+$/, '');
|
||||
return parsed.href;
|
||||
} catch {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
getLinkData(dto: UpdateLinksDto, platform: LinkPlatformEnum): any {
|
||||
if (platform === LinkPlatformEnum.RUMBLE) {
|
||||
if (!dto.rumbleLiveStreamUrl) return null;
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
# XMRPod live push
|
||||
|
||||
This module broadcasts public live-start events to anonymous UnifiedPush registrations. Podcast subscriptions and enabled bells remain on the Android device. The live rows are replaced on every scan, so each page's current broadcast is kept in `xmrpod_live_push_states`; a stream that drops out of one scan and comes back is still the same broadcast. When a new broadcast is committed, one fanout job per session goes straight onto the BullMQ queue, keyed by its session ID; retries reuse the same job IDs and expiry. The first server snapshot creates a baseline without announcing existing streams.
|
||||
|
||||
Run the migration before deploying this server version. Configure `XMRPOD_PUSH_VAPID_PUBLIC_KEY`, `XMRPOD_PUSH_VAPID_PRIVATE_KEY`, and `XMRPOD_PUSH_VAPID_SUBJECT` (an HTTPS contact URL or mailto address). Generate a key pair once with the Web Push CLI and store its private key in the server's secret configuration. Keep the pair stable across deployments. Without these settings, registration reports unavailable and the app uses its hourly fallback; `/live-streams` still carries the same `notificationSessionId` values.
|
||||
|
||||
The app fetches `/live-streams/push/key`, registers an endpoint and RFC8291 public keys with PUT `/live-streams/push/subscriptions/:id`, and keeps its randomly generated authorization token locally. The server sends an encrypted challenge before enabling event fanout. The app returns it to `/ack`; `/test` exercises the same delivery path with a visible notification. DELETE removes a registration. Expired subscriptions are cleaned up automatically.
|
||||
|
||||
Only public HTTPS endpoints on port 443 are accepted. DNS answers are checked again on each send, and the actual request uses the checked address while preserving HTTPS hostname verification. Redirects are not followed. Endpoint secrets and authorization tokens must not be logged.
|
||||
|
||||
Deploy this backend and migration before releasing the Android push settings. Configure a real Sunup and a second provider on test devices and verify registration, background delivery, provider replacement, disabled bells, and a later distinct broadcast. Successful local builds do not establish production delivery.
|
||||
@@ -0,0 +1,6 @@
|
||||
import { IsUUID } from 'class-validator';
|
||||
|
||||
export class PushAcknowledgementDto {
|
||||
@IsUUID()
|
||||
nonce: string;
|
||||
}
|
||||
Loaded 100 of 150 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user