Skip to content

Commit

Permalink
Simplified code. Removed pixivMoe, old.reddit.com #239
Browse files Browse the repository at this point in the history
  • Loading branch information
ManeraKai committed May 4, 2022
1 parent f2af3aa commit 5e04553
Show file tree
Hide file tree
Showing 66 changed files with 1,160 additions and 3,513 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Instagram => [Bibliogram](https://sr.ht/~cadence/bibliogram/)\
TikTok => [ProxiTok](https://github.com/pablouser1/ProxiTok)\
Reddit => [Libreddit](https://github.com/spikecodes/libreddit#instances), [Teddit](https://codeberg.org/teddit/teddit#instances), [Old Reddit](https://old.reddit.com)\
Imgur => [Rimgo](https://codeberg.org/video-prize-ranch/rimgo)\
Pixiv => [pixiv萌え](https://github.com/kokororin/pixiv.moe)\
Speedtest => [Librespeed](https://github.com/librespeed/)\
Spotify => [Soju](https://github.com/coffeebank/soju)\
Wikipedia => [Wikiless](https://codeberg.org/orenom/wikiless)\
Expand Down
6 changes: 0 additions & 6 deletions pug/options/general/general.pug
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ body.option(dir="auto")
|Reddit
input#reddit(type="checkbox")

div
div
img(src="../../../assets/images/pixiv-icon.svg")
|Pixiv
input#pixiv(type="checkbox")

div
div
img(src="../../../assets/images/spotify-icon.png")
Expand Down
41 changes: 0 additions & 41 deletions pug/options/pixiv/pixiv.pug

This file was deleted.

1 change: 0 additions & 1 deletion pug/options/reddit/reddit.pug
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ body.option(dir="auto")
select#reddit-frontend
option(value="libreddit") Libreddit
option(value="teddit") Teddit
option(value="old") old.reddit.com

.some-block.option-block
h4(data-localise="__MSG_protocol__") Protocol
Expand Down
9 changes: 0 additions & 9 deletions pug/options/spotify/spotify.pug
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,13 @@ body.option(dir="auto")
h4(data-localise="__MSG_enable__") Enable
input#disable-spotify(type="checkbox")

.some-block.option-block
h4(data-localise="__MSG_protocol__") Protocol
select#protocol
option(value="normal" data-localise="__MSG_normal__") Normal
option(value="tor" data-localise="__MSG_tor__") Tor

#soju
hr
.normal
include ../../widgets/instances.pug
+instances('https://soju.com')
include ../../widgets/latency.pug
+latency()
.tor
include ../../widgets/instances.pug
+instances('https://soju.onion')

script(type="module" src="../init.js")
script(type="module" src="./spotify.js")
4 changes: 0 additions & 4 deletions pug/widgets/links.pug
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ mixin links(service)
img(src="../../../assets/images/imgur-icon.png")
a(href="../imgur/imgur.html" data-localise="__MSG_imgur__" class=service == "imgur" ? "selected" : "") Imgur

.title
img(src="../../../assets/images/pixiv-icon.svg")
a(href="../pixiv/pixiv.html" data-localise="__MSG_pixiv__" class=service == "pixiv" ? "selected" : "") Pixiv

.title
img(src="../../../assets/images/librespeed-icon.svg")
a(href="../speedtest/speedtest.html" data-localise="__MSG_speedtest__" class=service == "speedtest" ? "selected" : "") Speedtest
Expand Down
12 changes: 1 addition & 11 deletions src/_locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@
"description": "used in general.html"
},

"pixiv": {
"message": "بكسيف",
"description": "used in general.html"
},

"wikipedia": {
"message": "ويكيبيديا",
"description": "used in general.html"
Expand All @@ -119,11 +114,6 @@
"description": "used in imgur.html"
},

"pixivMoe": {
"message": "pixiv萌え",
"description": "used in pixiv.html"
},

"theme": {
"message": "السمة",
"description": "used in general.html"
Expand Down Expand Up @@ -226,7 +216,7 @@

"notFullyPrivate": {
"message": "هذه الواجهة لا تحترم الخصوصية تماماً",
"description": "used in pixiv.html"
"description": ""
},

"oldReddit": {
Expand Down
12 changes: 1 addition & 11 deletions src/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@
"description": "used in general.html"
},

"pixiv": {
"message": "Pixiv",
"description": "used in general.html"
},

"wikipedia": {
"message": "Wikipedia",
"description": "used in general.html"
Expand All @@ -119,11 +114,6 @@
"description": "used in imgur.html"
},

"pixivMoe": {
"message": "pixiv萌え",
"description": "used in pixiv.html"
},

"theme": {
"message": "Thema",
"description": "used in general.html"
Expand Down Expand Up @@ -226,7 +216,7 @@

"notFullyPrivate": {
"message": "Das ist kein völlig privates Frontend.",
"description": "used in pixiv.html"
"description": ""
},

"oldReddit": {
Expand Down
12 changes: 1 addition & 11 deletions src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@
"description": "used in general.html"
},

"pixiv": {
"message": "Pixiv",
"description": "used in general.html"
},

"wikipedia": {
"message": "Wikipedia",
"description": "used in general.html"
Expand All @@ -119,11 +114,6 @@
"description": "used in imgur.html"
},

"pixivMoe": {
"message": "pixiv萌え",
"description": "used in pixiv.html"
},

"theme": {
"message": "Theme",
"description": "used in general.html"
Expand Down Expand Up @@ -226,7 +216,7 @@

"notFullyPrivate": {
"message": "This isn't a fully private frontend.",
"description": "used in pixiv.html"
"description": ""
},

"oldReddit": {
Expand Down
56 changes: 0 additions & 56 deletions src/assets/images/pixiv-icon.svg

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/javascripts/helpers/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ let allPopupFrontends = [
"tikTok",
"imgur",
"reddit",
"pixiv",
"spotify",
"search",
"translate",
Expand Down
Loading

0 comments on commit 5e04553

Please sign in to comment.