Skip to content

Commit fc760cf

Browse files
committed
chore: add edge as separate
1 parent 33478a3 commit fc760cf

File tree

1 file changed

+39
-28
lines changed

1 file changed

+39
-28
lines changed

src/pages/downloads.vue

Lines changed: 39 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
v-if="isMobile"
6565
class="dl-container__section dl-container__mobile-warning waves-aligned"
6666
>
67-
PreMiD is not available for mobile devices. Please use a desktop browser to install PreMiD.
67+
{{ $t("downloads.mobile.notAvailable") }}
6868
</div>
6969
</transition>
7070

@@ -76,31 +76,42 @@
7676
<div class="header__icon">
7777
<i class="fas fa-wand-sparkles"></i>
7878
</div>
79-
<h2>Big News!</h2>
79+
<h2>{{ $t("downloads.notice.header.title") }}</h2>
8080
</div>
8181
<div class="notice__body">
82-
<p>We've removed the application completely!<br> Now you only need the browser extension - no extra downloads needed.</p>
82+
<p>
83+
{{ $t("downloads.notice.header.removal") }}<br>
84+
{{ $t("downloads.notice.header.simplified") }}
85+
</p>
8386
<div class="body__tags">
84-
<span class="tag"><i class="fas fa-bolt"></i> One-Click Setup</span>
85-
<span class="tag"><i class="fas fa-feather"></i> No App Needed</span>
86-
<span class="tag"><i class="fas fa-rocket"></i> Just Works™</span>
87+
<span class="tag"><i class="fas fa-bolt"></i> {{ $t("downloads.notice.features.oneClick") }}</span>
88+
<span class="tag"><i class="fas fa-feather"></i> {{ $t("downloads.notice.features.noApp") }}</span>
89+
<span class="tag"><i class="fas fa-rocket"></i> {{ $t("downloads.notice.features.justWorks") }}</span>
8790
</div>
88-
<small>Application removed in v2.6.0 to make your life easier ✨</small>
91+
<small>{{ $t("downloads.notice.version") }}</small>
8992
</div>
9093

9194
<div class="notice__downloads">
92-
<h3>Get PreMiD for your browser</h3>
95+
<h3>{{ $t("downloads.notice.browsers.title") }}</h3>
9396
<div class="downloads__cards">
9497
<div
9598
:class="{
96-
'current-platform':
97-
browser.key == 'chrome' || browser.key == 'edge'
99+
'current-platform': browser.key == 'chrome'
98100
}"
99101
class="download-card"
100102
@click="open(browser.key, 'Extension')"
103+
>
104+
<i class="fa-chrome fab"></i>
105+
<span>Chrome</span>
106+
</div>
107+
108+
<div
109+
:class="{ 'current-platform': browser.key == 'edge' }"
110+
class="download-card"
111+
@click="open('edge', 'Extension')"
101112
>
102-
<i :class="`fa-${isChrome ? browser.icon : 'chrome'} fab`"></i>
103-
<span>{{ isChrome ? browser.name : "Chrome" }}</span>
113+
<i class="fa-edge fab"></i>
114+
<span>Edge</span>
104115
</div>
105116

106117
<div
@@ -115,7 +126,7 @@
115126
<div class="download-card download-card--disabled">
116127
<i class="fa-safari fab"></i>
117128
<span>Safari</span>
118-
<div class="coming-soon">Coming Soon</div>
129+
<div class="coming-soon">{{ $t("downloads.notice.browsers.comingSoon") }}</div>
119130
</div>
120131
</div>
121132
</div>
@@ -126,40 +137,44 @@
126137
<i class="fas fa-flask"></i>
127138
</div>
128139
<div class="item__content">
129-
<h3>Beta Program</h3>
130-
<p>Love trying new stuff? Join our Discord and use <code>/beta</code> to get early access!</p>
140+
<h3>{{ $t("downloads.notice.beta.title") }}</h3>
141+
<p>{{ $t("downloads.notice.beta.description") }}</p>
131142
</div>
132143
</div>
133144
<div class="beta-info__item">
134145
<div class="item__icon">
135146
<i class="fas fa-crown"></i>
136147
</div>
137148
<div class="item__content">
138-
<h3>Alpha Access</h3>
139-
<p>Support us on <strong>GitHub</strong> or <strong>Patreon</strong> to get the bleeding-edge features!</p>
149+
<h3>{{ $t("downloads.notice.alpha.title") }}</h3>
150+
<p>{{ $t("downloads.notice.alpha.description") }}</p>
140151
</div>
141152
</div>
142153
</div>
143154
<div class="notice__support">
144155
<i class="fas fa-question-circle"></i>
145-
<p>Need help? Join our <a href="https://discord.premid.app" target="_blank">Discord</a> for support!</p>
156+
<p>
157+
{{ $t("downloads.notice.support.needHelp") }}
158+
<a href="https://discord.premid.app" target="_blank">{{ $t("downloads.notice.support.discord") }}</a>
159+
{{ $t("downloads.notice.support.forSupport") }}
160+
</p>
146161
</div>
147162
<div class="notice__appreciation">
148163
<div class="appreciation__content">
149-
<h3><i class="fas fa-heart"></i> Love PreMiD?</h3>
150-
<p>Consider supporting us or leaving a review - it means the world to us!</p>
164+
<h3><i class="fas fa-heart"></i> {{ $t("downloads.notice.appreciation.title") }}</h3>
165+
<p>{{ $t("downloads.notice.appreciation.description") }}</p>
151166
<div class="appreciation__buttons">
152167
<a href="https://github.com/sponsors/PreMiD" target="_blank" class="button button--github">
153168
<i class="fab fa-github"></i>
154-
GitHub Sponsors
169+
{{ $t("downloads.notice.appreciation.buttons.github") }}
155170
</a>
156171
<a href="https://patreon.com/Timeraa" target="_blank" class="button button--patreon">
157172
<i class="fab fa-patreon"></i>
158-
Patreon
173+
{{ $t("downloads.notice.appreciation.buttons.patreon") }}
159174
</a>
160175
<a href="https://chrome.google.com/webstore/detail/premid/agjnjboanicjcpenljmaaigopkgdnihi" target="_blank" class="button button--review">
161176
<i class="fas fa-star"></i>
162-
Review Us
177+
{{ $t("downloads.notice.appreciation.buttons.review") }}
163178
</a>
164179
</div>
165180
</div>
@@ -172,11 +187,7 @@
172187
<transition name="card-animation" mode="out-in">
173188
<div v-if="isMobile" class="dl-container__showDownloads">
174189
<span @click="showDownloads = !showDownloads">
175-
{{
176-
showDownloads
177-
? $t("downloads.mobile.hideDownloads")
178-
: $t("downloads.mobile.showDownloads")
179-
}}
190+
{{ showDownloads ? $t("downloads.mobile.hideDownloads") : $t("downloads.mobile.showDownloads") }}
180191
</span>
181192
</div>
182193
</transition>

0 commit comments

Comments
 (0)