Răsfoiți Sursa

Minor fixes in russian translation. Links to scool projects added

Dmitrii Selivanov 3 ani în urmă
părinte
comite
ebdc01a7ee

+ 4 - 2
Extensions/combined/manifest-chrome.json

@@ -2,7 +2,7 @@
   "name": "__MSG_extensionName__",
   "description": "__MSG_extensionDesc__",
   "default_locale": "en",
-  "version": "3.0.0.0",
+  "version": "3.0.0.1",
   "manifest_version": 3,
   "background": {
     "service_worker": "ryd.background.js"
@@ -12,7 +12,9 @@
     "128": "icons/icon128.png"
   },
   "host_permissions": ["*://*.youtube.com/*"],
-  "permissions": ["storage"],
+  "permissions": [
+    "storage"
+  ],
   "action": {
     "default_popup": "popup.html"
   },

+ 4 - 1
Website/_locales/en.ts

@@ -97,5 +97,8 @@ export default {
         subtitle: 'Links to the project and its developers',
         contact: 'Contact Me',
         translators: 'Translators',
+        coolProjects: 'Cool Projects',
+        sponsorBlockDescription: 'Skips ads integrated in video',
+        filmotDescription: 'Search YouTube videos by subtitles'
     },
-}
+}

+ 8 - 6
Website/_locales/ru.ts

@@ -11,11 +11,11 @@ export default {
     },
     install: {
         name: 'Скачать',
-        title: 'Выберите Свою Платформу',
+        title: 'Выберите свою платформу',
         subtitle: 'Доступно в Firefox и во всех Chromium браузерах',
-        title2: 'Другие Платформы',
+        title2: 'Другие платформы',
         subtitle2: 'Если ваш браузер еще не поддерживается, попробуйте этот пользовательский скрипт',
-        title3: 'От Других Разработчиков',
+        title3: 'От других разработчиков',
         subtitle3: 'Никакой ответственности с нашей стороны, используйте на свой страх и риск',
     },
     api: {
@@ -89,13 +89,15 @@ export default {
     },
     donate: {
         name: 'Пожертвовать',
-        subtitle: 'Вы можете поддержать наши усилия по обеспечению бесплатного Интернета пожертвованием!',
+        subtitle: 'Вы можете поддержать пожертвованием наши усилия по обеспечению свободного Интернета!',
     },
     links: {
         name: 'Ссылки',
-        title: 'Ссылки Проекта',
+        title: 'Ссылки',
         subtitle: 'Ссылки на проект и его разработчиков',
         contact: 'Связаться',
         translators: 'Переводчики',
+        sponsorBlockDescription: 'Проматывает рекламу встроенную в видео',
+        filmotDescription: 'Поиск по субтитрам YouTube'
     },
-}
+}

+ 21 - 5
Website/pages/links.vue

@@ -22,10 +22,8 @@
       {{ $vuetify.lang.t("$vuetify.links.contact") }}
     </h1>
 
-    <v-btn class="mainAltButton" :href="emailLink" target="_blank">
-      <v-icon style="margin-right: 0.5em">mdi-email</v-icon>
-      selivano.d@gmail.com
-    </v-btn>
+    <v-icon style="margin-right: 0.5em">mdi-email</v-icon>
+    selivano.d@gmail.com
 
     <p style="color: #555" class="my-8">
       Site by <v-icon color="#555">mdi-discord</v-icon>
@@ -39,7 +37,7 @@
       </a>
     </p>
     <!-- Translators -->
-    <div style="color: #555; width: 250px">
+    <div style="color: #555; width: 250px"  class="my-8">
       <b class="white--text">
         {{ $vuetify.lang.t("$vuetify.links.translators") }}
       </b>
@@ -52,6 +50,20 @@
         {{ translator.lang }} - <v-spacer /> {{ translator.tag }}
       </div>
     </div>
+    <!-- Cool Projects -->
+    <div style="color: #555; width: 400px">
+      <b class="white--text">
+        {{ $vuetify.lang.t("$vuetify.links.coolProjects") }}
+      </b>
+      <br />
+      <div
+          v-for="project in coolProjects"
+          :key="project.url"
+          class="d-flex justify-center"
+      >
+        <a class="attr-link" :href="project.url" target="_blank">{{ project.name }} - {{  $vuetify.lang.t(project.description) }} </a>
+      </div>
+    </div>
   </div>
 </template>
 
@@ -88,6 +100,10 @@ export default {
         lang: "Русский",
       },
     ],
+    coolProjects: [
+      { name: "SponsorBlock", url: "https://sponsor.ajay.app/", description: "$vuetify.links.sponsorBlockDescription" },
+      { name: "Filmot", url: "https://filmot.com/", description: "$vuetify.links.filmotDescription" }
+    ],
   }),
 };
 </script>