Skip to content

Commit

Permalink
v0.6.0 [Translation System]
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizi8914 committed Aug 31, 2024
1 parent 74f54af commit 0e26cc3
Show file tree
Hide file tree
Showing 22 changed files with 501 additions and 68 deletions.
53 changes: 53 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"extension_name": {
"message": "ShportRemover"
},

"extension_description": {
"message": "Remove Short videos from YouTube for a distraction-free experience."
},

"options_name": {
"message": "Settings"
},

"options_parameters": {
"message": "Parameters"
},

"options_themes": {
"message": "Themes"
},

"options_languages": {
"message": "Languages"
},

"param_NavbarButtonUndeployed": {
"message": "Navbar button undeployed"
},

"param_NavbarButtonDeployed": {
"message": "Navbar button deployed"
},

"param_ChannelTab": {
"message": "Channel short tab"
},

"param_HomePageRecommendedShort": {
"message": "Home page recommended Short"
},

"param_ShortInSearchResult": {
"message": "Short in search result"
},

"param_VideoPlayerRecommendedShort": {
"message": "Video Player recommended Short"
},

"param_SubscriptionShort": {
"message": "Subscription Short"
}
}
53 changes: 53 additions & 0 deletions _locales/fr/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"extension_name": {
"message": "ShortRemover"
},

"extension_description": {
"message": "Supprimez les videos Short de YouTube pour une expérience sans distraction."
},

"options_name": {
"message": "Paramètres"
},

"options_parameters": {
"message": "Paramètres"
},

"options_themes": {
"message": "Thèmes"
},

"options_languages": {
"message": "Langues"
},

"param_NavbarButtonUndeployed": {
"message": "Bouton navbar replié"
},

"param_NavbarButtonDeployed": {
"message": "Bouton navbar déployé"
},

"param_ChannelTab": {
"message": "Onglet short des chaînes"
},

"param_HomePageRecommendedShort": {
"message": "Short recommandé dans l'accueil"
},

"param_ShortInSearchResult": {
"message": "Short dans les recherches"
},

"param_VideoPlayerRecommendedShort": {
"message": "Short recommandé dans le lecteur"
},

"param_SubscriptionShort": {
"message": "Short dans les abonnements"
}
}
21 changes: 21 additions & 0 deletions css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
--color-subtext: #ff8a71;
--slider-background: linear-gradient(114deg, #9b96a1e6 -13.86%, #838383e6 99.55%);
--slider-thumb: #040c18;
--scrollbar-thumb: #09213a;
--scrollbar-thumb-hover: #0d2c4a;
--scrollbar-background: #040c18;
--refresh-background: #868686e6;
--refresh-hover: #707070e6;
}
Expand All @@ -22,6 +25,9 @@
--color-text-hover: #141418;
--color-subtext: #ff8a71;
--slider-thumb: #f5faff;
--scrollbar-thumb: #e1e2e3;
--scrollbar-thumb-hover: #cfcfcf;
--scrollbar-background: #efefef;
--refresh-background: #868686e6;
--refresh-hover: #707070e6;
}
Expand Down Expand Up @@ -132,4 +138,19 @@
background: var(--gradient-color);
background-clip: text;
-webkit-background-clip: text;
}

::-webkit-scrollbar {
width: 10px;
background-color: var(--scrollbar-background);
}

::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-thumb);
-webkit-transition: 0.35s;
transition: 0.35s;
cursor: pointer;
}
::-webkit-scrollbar-thumb:hover {
opacity: var(--scrollbar-thumb-hover);
}/*# sourceMappingURL=base.css.map */
61 changes: 59 additions & 2 deletions css/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ header .header-right__theme:hover {
.themes__container {
display: grid;
margin: 40px;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
grid-gap: 1.5rem;
}
.themes__container--item {
Expand All @@ -111,7 +111,18 @@ header .header-right__theme:hover {
grid-area: 1/1/2/2;
}
.themes__container--item:hover {
filter: brightness(0.6);
filter: brightness(0.8);
}
.themes__container--item svg {
position: absolute;
z-index: 2;
height: 100px;
width: 100px;
fill: var(--color-text);
display: none;
}
.themes__container--item.active svg {
display: block;
}
.themes__container--item:nth-child(1) {
background: linear-gradient(89.97deg, #ae67fa 1.84%, #f49867 102.67%);
Expand Down Expand Up @@ -183,6 +194,52 @@ header .header-right__theme:hover {
background: linear-gradient(to right, #3c3b3f, #605c3c);
}

.languages {
margin-top: 130px;
}
.languages__container {
display: grid;
margin: 40px;
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
grid-gap: 1.5rem;
}
.languages__container--item {
padding: 3px;
display: grid;
place-items: center;
border-radius: 15px;
border: 3px solid var(--color-text);
cursor: pointer;
transition-duration: 0.4s;
overflow: hidden;
}
.languages__container--item::before {
content: "";
display: block;
grid-area: 1/1/2/2;
}
.languages__container--item:hover {
filter: brightness(0.8);
}
.languages__container--item img {
width: calc(100% + 10px);
height: calc(100% + 10px);
z-index: -1;
-o-object-fit: cover;
object-fit: cover;
}
.languages__container--item svg {
position: absolute;
z-index: 2;
height: 100px;
width: 100px;
fill: var(--color-text);
display: none;
}
.languages__container--item.active svg {
display: block;
}

.switch {
position: relative;
display: flex;
Expand Down
Binary file added images/flags/de.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flags/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flags/es.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flags/fr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flags/it.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flags/jp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flags/kr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flags/pt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flags/ru.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/flags/sa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 13 additions & 5 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
{
"manifest_version": 3,
"name": "ShortRemover",
"version": "0.5.5",
"description": "Remove short videos from YouTube for a distraction-free experience.",
"name": "__MSG_extension_name__",
"version": "0.6.0",
"description": "__MSG_extension_description__",
"default_locale": "en",
"options_page": "pages/options.html",
"icons": {
"16": "images/icon-16.png",
"32": "images/icon-32.png",
"128": "images/icon-128.png"
},
"action": {
"default_popup": "pages/popup.html"
"default_title": "ShortRemover",
"default_popup": "pages/popup.html",
"default_icon": {
"16": "images/icon-16.png",
"32": "images/icon-32.png",
"128": "images/icon-128.png"
}
},
"background": {
"service_worker": "scripts/service-worker.js"
Expand All @@ -28,5 +35,6 @@
"matches": ["*://*.youtube.com/*"],
"run_at": "document_start"
}
]
],
"key": "dbacfcfndghenkcjhfflilgnebcgodlk"
}
Loading

0 comments on commit 0e26cc3

Please sign in to comment.