mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-29 14:43:04 +00:00
Merge branch 'VueTubeApp:main' into main
This commit is contained in:
commit
002de2b5ad
12 changed files with 408 additions and 123 deletions
|
@ -6,6 +6,7 @@
|
||||||
:items="langs"
|
:items="langs"
|
||||||
label="App Language"
|
label="App Language"
|
||||||
solo
|
solo
|
||||||
|
rounded
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<v-dialog v-model="restart" width="500">
|
<v-dialog v-model="restart" width="500">
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
"
|
"
|
||||||
:style="{ borderRadius: `${roundTweak / 2}rem` }"
|
:style="{ borderRadius: `${roundTweak / 2}rem` }"
|
||||||
>
|
>
|
||||||
<v-card-title>{{ lang.appinformation }}</v-card-title>
|
<v-card-title><v-icon style="margin-right: 0.5em;">mdi-cog-box</v-icon>{{ lang.appinformation }}</v-card-title>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<h3>{{ lang.appversion }}</h3>
|
<h3>{{ lang.appversion }}</h3>
|
||||||
{{ version.substring(0, 7) || "Unknown" }} ({{ release }})
|
{{ version.substring(0, 7) || "Unknown" }} ({{ release }})
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
"
|
"
|
||||||
:style="{ borderRadius: `${roundTweak / 2}rem` }"
|
:style="{ borderRadius: `${roundTweak / 2}rem` }"
|
||||||
>
|
>
|
||||||
<v-card-title>{{ lang.deviceinformation }}</v-card-title>
|
<v-card-title><v-icon style="margin-right: 0.5em;">mdi-cellphone-information</v-icon>{{ lang.deviceinformation }}</v-card-title>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
<h3>{{ lang.platform }}</h3>
|
<h3>{{ lang.platform }}</h3>
|
||||||
{{ deviceInfo.platform || "Unknown" }}<br />
|
{{ deviceInfo.platform || "Unknown" }}<br />
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
:style="{ borderRadius: `${roundTweak / 2}rem` }"
|
:style="{ borderRadius: `${roundTweak / 2}rem` }"
|
||||||
@click="openExternal('https://discord.gg/7P8KJrdd5W')"
|
@click="openExternal('https://discord.gg/7P8KJrdd5W')"
|
||||||
>
|
>
|
||||||
<v-icon x-large class="actionIcon">mdi-discord</v-icon>
|
<v-icon x-large class="actionIcon">mdi-forum</v-icon>
|
||||||
{{ lang.discord }}
|
{{ lang.discord }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
:items="pages"
|
:items="pages"
|
||||||
label="Default Page"
|
label="Default Page"
|
||||||
solo
|
solo
|
||||||
|
rounded
|
||||||
></v-select>
|
></v-select>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</v-card>
|
</v-card>
|
||||||
|
|
|
@ -14,20 +14,32 @@
|
||||||
<h1>{{ lang.noupdate }}</h1>
|
<h1>{{ lang.noupdate }}</h1>
|
||||||
<p>{{ lang.noupdatemessage }}</p>
|
<p>{{ lang.noupdatemessage }}</p>
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
|
<v-btn rounded @click="getLatest">{{ lang.refresh }}</v-btn>
|
||||||
<v-btn rounded color="primary" @click="$router.go(-1)">{{ lang.okay }}</v-btn>
|
<v-btn rounded color="primary" @click="$router.go(-1)">{{ lang.okay }}</v-btn>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="status == 'available'">
|
<div v-if="status == 'available'">
|
||||||
<h1>{{ lang.available }}</h1>
|
<h1 v-if="!downloading">{{ lang.available }}</h1>
|
||||||
|
<h1 v-if="downloading">{{ lang.updating }}</h1>
|
||||||
<div>{{ lang.installed }}: {{ installedVersion }}</div>
|
<div>{{ lang.installed }}: {{ installedVersion }}</div>
|
||||||
<div>{{ lang.latest }}: {{ latestVersion.tag_name }}</div>
|
<div>{{ lang.latest }}: {{ latestVersion.tag_name }}</div>
|
||||||
<div style="margin-top: 3em; color: #999;"><b>Changelog</b></div>
|
|
||||||
|
<div style="margin-top: 1em; color: #999;">
|
||||||
|
<div>{{ lang.published }}: {{ new Date(update.created_at).toLocaleString() }}</div>
|
||||||
|
<div>{{ lang.size }}: {{ require("~/plugins/utils").humanFileSize(update.size) }}</div>
|
||||||
|
<div>{{ lang.users }}: {{ update.download_count }}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div style="margin-top: 1em; color: #999;"><b>Changelog</b></div>
|
||||||
<p style="white-space: pre-line; color: #999;">{{ latestVersion.body.trim() }}</p>
|
<p style="white-space: pre-line; color: #999;">{{ latestVersion.body.trim() }}</p>
|
||||||
<p></p>
|
|
||||||
<div class="bottom">
|
<v-progress-linear indeterminate color="primary" v-if="downloading" style="position: absolute; top: 0; width: 100%; left: 0;" />
|
||||||
|
|
||||||
|
<div class="bottom" v-if="!downloading">
|
||||||
<v-btn rounded @click="$router.go(-1)">{{ lang.later }}</v-btn>
|
<v-btn rounded @click="$router.go(-1)">{{ lang.later }}</v-btn>
|
||||||
<v-btn rounded color="primary" @click="update()">{{ lang.update }}</v-btn>
|
<v-btn rounded color="primary" @click="install()">{{ lang.update }}</v-btn>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -53,20 +65,60 @@ export default {
|
||||||
installedVersion: process.env.appVersion,
|
installedVersion: process.env.appVersion,
|
||||||
latestVersion: "",
|
latestVersion: "",
|
||||||
lang: {},
|
lang: {},
|
||||||
status: "checking"
|
status: "checking",
|
||||||
|
update: {},
|
||||||
|
downloading: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
//--- Setup Lang Pack ---//
|
//--- Setup Lang Pack ---//
|
||||||
this.lang = this.$lang("mods").updates;
|
this.lang = this.$lang("mods").updates;
|
||||||
|
|
||||||
|
this.getLatest();
|
||||||
|
},
|
||||||
|
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
async getUpdate() {
|
||||||
|
const device = await Device.getInfo();
|
||||||
|
const platform = device.platform;
|
||||||
|
|
||||||
|
//--- Put all strings into 1 array ---//
|
||||||
|
let downloads = new Array();
|
||||||
|
for (const i in this.latestVersion.assets) {
|
||||||
|
const asset = this.latestVersion.assets[i];
|
||||||
|
downloads.push(asset.browser_download_url);
|
||||||
|
}
|
||||||
|
|
||||||
|
//--- Pick String For Platform From Above Array ---//
|
||||||
|
if (platform == "ios") {
|
||||||
|
this.update = downloads.filter(m => m.includes('.ipa'))[0];
|
||||||
|
} else {
|
||||||
|
this.update = downloads.filter(m => m.includes('.apk'))[0];
|
||||||
|
}
|
||||||
|
|
||||||
|
//--- Set Update As Full Data ---//
|
||||||
|
for (const i in this.latestVersion.assets) {
|
||||||
|
const asset = this.latestVersion.assets[i];
|
||||||
|
if (asset.browser_download_url == this.update) {
|
||||||
|
return this.update = asset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
async getLatest() {
|
||||||
//--- Get Latest Version ---//
|
//--- Get Latest Version ---//
|
||||||
|
this.status = "checking";
|
||||||
const releases = await this.$vuetube.releases;
|
const releases = await this.$vuetube.releases;
|
||||||
this.latestVersion = releases[0];
|
this.latestVersion = releases[0];
|
||||||
|
|
||||||
//--- Wait like 2 seconds because if people don't see loading, they think it didn't refresh properly ---//
|
//--- Wait like 2 seconds because if people don't see loading, they think it didn't refresh properly ---//
|
||||||
if (!this.$route.query.nowait) await require("~/plugins/utils").delay(2000);
|
if (!this.$route.query.nowait) await require("~/plugins/utils").delay(2000);
|
||||||
|
|
||||||
|
//--- Get Proper File ---//
|
||||||
|
this.getUpdate();
|
||||||
|
|
||||||
//--- Kick Off Update Notice ---//
|
//--- Kick Off Update Notice ---//
|
||||||
if (this.latestVersion.tag_name != this.installedVersion) {
|
if (this.latestVersion.tag_name != this.installedVersion) {
|
||||||
this.status = "available";
|
this.status = "available";
|
||||||
|
@ -75,23 +127,10 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
async install() {
|
||||||
async update() {
|
this.downloading = true;
|
||||||
const device = await Device.getInfo();
|
await this.$vuetube.update(this.update.browser_download_url).catch(() => { this.downloading = false; });
|
||||||
const platform = device.platform;
|
//window.open(this.update.browser_download_url, '_blank');
|
||||||
|
|
||||||
let downloads = new Array();
|
|
||||||
for (const i in this.latestVersion.assets) {
|
|
||||||
const asset = this.latestVersion.assets[i];
|
|
||||||
downloads.push(asset.browser_download_url);
|
|
||||||
}
|
|
||||||
console.log(downloads)
|
|
||||||
|
|
||||||
if (platform == "ios") {
|
|
||||||
window.open(downloads.filter(m => m.includes('.ipa'))[0], '_blank');
|
|
||||||
} else {
|
|
||||||
window.open(downloads.filter(m => m.includes('.apk'))[0], '_blank');
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
100
NUXT/plugins/languages/arabic.js
Normal file
100
NUXT/plugins/languages/arabic.js
Normal file
|
@ -0,0 +1,100 @@
|
||||||
|
module.exports = {
|
||||||
|
name: "Arabic",
|
||||||
|
|
||||||
|
global: {
|
||||||
|
home: "الصفحة الرئيسية",
|
||||||
|
subscriptions: "الاشتراكات",
|
||||||
|
library: "المكتبة",
|
||||||
|
restart: "إعادة",
|
||||||
|
later: "لاحقًا",
|
||||||
|
settingRestart: "تعديل هذا الخيار يُلزم التطبيق بأن يعاد تشغيله لتطبيق التغيرات"
|
||||||
|
},
|
||||||
|
|
||||||
|
index: {
|
||||||
|
connecting: "جاري الاتصال",
|
||||||
|
plugins: "يتم تحميل الإضافات",
|
||||||
|
launching: "جاري التشغيل",
|
||||||
|
},
|
||||||
|
|
||||||
|
settings: {
|
||||||
|
general: "عام",
|
||||||
|
theme: "الثيمات",
|
||||||
|
player: "المشغل",
|
||||||
|
uitweaker: "معدِّل الواجهة",
|
||||||
|
startupoptions: "خيارات التشغيل",
|
||||||
|
plugins: "الإضافات",
|
||||||
|
updates: "التحديثات",
|
||||||
|
logs: "السجلات",
|
||||||
|
about: "حول",
|
||||||
|
devmode: "معدِّل السجلات",
|
||||||
|
},
|
||||||
|
|
||||||
|
mods: {
|
||||||
|
general: {
|
||||||
|
language: "اللغة",
|
||||||
|
},
|
||||||
|
theme: {
|
||||||
|
normal: "عادي",
|
||||||
|
adaptive: "متكيف",
|
||||||
|
custom: "مخصص",
|
||||||
|
dark: "داكن",
|
||||||
|
black: "أسود",
|
||||||
|
darkmode: "الوضع الداكن",
|
||||||
|
darkmodetagline: "احسنت ، يتم التغيير للوضع الداكن",
|
||||||
|
},
|
||||||
|
tweaks: {
|
||||||
|
fullscreen: "شاشة كاملة",
|
||||||
|
navbarblur: "ضبابية شريط التنقل",
|
||||||
|
roundedcorners: "حواف مدورة",
|
||||||
|
roundthumbnails: "صور مصغرة مدورة",
|
||||||
|
roundwatchpagecomponents: "موارد صفحة المشاهدة مدورة",
|
||||||
|
radius: "كمية التدوير",
|
||||||
|
},
|
||||||
|
startup: {
|
||||||
|
defaultpage: "الصفحة الافتراضية",
|
||||||
|
},
|
||||||
|
updates: {
|
||||||
|
checking: "يتم التحقق من التحديثات",
|
||||||
|
available: "تحديث متوفر",
|
||||||
|
noupdate: "لا يتوفر تحديثات",
|
||||||
|
noupdatemessage: "أنت تستخدم أحدث إصدار من فيوتيوب ، تحقق من التحديثات لاحقا",
|
||||||
|
|
||||||
|
installed: "النسخة المثبتة",
|
||||||
|
latest: "أحدث نسخة",
|
||||||
|
|
||||||
|
okay: "حسنا",
|
||||||
|
update: "تحديث",
|
||||||
|
later: "لاحقا",
|
||||||
|
},
|
||||||
|
logs: {
|
||||||
|
more: "المزيد",
|
||||||
|
},
|
||||||
|
about: {
|
||||||
|
appinformation: "معلومات التطبيق",
|
||||||
|
appversion: "إصدار التطبيق",
|
||||||
|
deviceinformation: "معلومات الجهاز",
|
||||||
|
platform: "المنصة",
|
||||||
|
os: "نظام التشغيل",
|
||||||
|
model: "الموديل",
|
||||||
|
manufacturer: "الشركة المصنعة",
|
||||||
|
emulator: "المحاكي",
|
||||||
|
github: "جيتهب",
|
||||||
|
discord: "ديسكورد",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
events: {
|
||||||
|
welcome: "أهلا بك إلى فيوتيوب",
|
||||||
|
tagline: "مستقبل بث الفيديوهات",
|
||||||
|
next: "التالي",
|
||||||
|
updated: "فيوتيوب كان محدثا",
|
||||||
|
awesome: "رائع",
|
||||||
|
langsetup: "لنختار اللغة",
|
||||||
|
featuresetup: "لنختار بعض الميزات",
|
||||||
|
enableryd: "تفعيل ReuturnYoutubeDislikes",
|
||||||
|
enablespb: "تفعيل sponsorblock",
|
||||||
|
thanks: "شكرا لاستخدامك فيوتيوب",
|
||||||
|
enjoy: "نتمنى لك تجربة ممتازة",
|
||||||
|
packageinstaller: "اختر حزمة للتحميل"
|
||||||
|
},
|
||||||
|
};
|
|
@ -55,6 +55,7 @@ module.exports = {
|
||||||
defaultpage: "Default Page",
|
defaultpage: "Default Page",
|
||||||
},
|
},
|
||||||
updates: {
|
updates: {
|
||||||
|
updating: "Downloading update",
|
||||||
checking: "Checking for updates",
|
checking: "Checking for updates",
|
||||||
available: "Update available",
|
available: "Update available",
|
||||||
noupdate: "No updates available",
|
noupdate: "No updates available",
|
||||||
|
@ -63,7 +64,12 @@ module.exports = {
|
||||||
installed: "Installed Version",
|
installed: "Installed Version",
|
||||||
latest: "Latest Version",
|
latest: "Latest Version",
|
||||||
|
|
||||||
|
published: "Published",
|
||||||
|
users: "Users",
|
||||||
|
size: "Update Size",
|
||||||
|
|
||||||
okay: "Okay",
|
okay: "Okay",
|
||||||
|
refresh: "Refresh",
|
||||||
update: "Update",
|
update: "Update",
|
||||||
later: "Later",
|
later: "Later",
|
||||||
},
|
},
|
||||||
|
|
102
NUXT/plugins/languages/hindi.js
Normal file
102
NUXT/plugins/languages/hindi.js
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
module.exports = {
|
||||||
|
name: "हिन्दी",
|
||||||
|
|
||||||
|
global: {
|
||||||
|
home: "होम",
|
||||||
|
subscriptions: "सदस्यता",
|
||||||
|
library: "लाइब्रेरी",
|
||||||
|
restart: "पुनरारंभ",
|
||||||
|
later: "बाद में",
|
||||||
|
settingRestart: "ये सेटिंग मै बदलाव लाने के बाद, परिवर्तन देखने के लिए ऐप को पुनरारंभ करना होगा।",
|
||||||
|
okay: "ठीक है"
|
||||||
|
},
|
||||||
|
|
||||||
|
index: {
|
||||||
|
connecting: "कनेक्टिंग",
|
||||||
|
plugins: "प्लग-इन लोड किये जा रहे हैं",
|
||||||
|
launching: "लॉन्चिंग",
|
||||||
|
},
|
||||||
|
|
||||||
|
settings: {
|
||||||
|
general: "सामान्य",
|
||||||
|
theme: "थीम",
|
||||||
|
player: "प्लेयर",
|
||||||
|
uitweaker: "यूआई ट्वीकर",
|
||||||
|
startupoptions: "चालू करने के विकल्प",
|
||||||
|
plugins: "प्लग-इन",
|
||||||
|
updates: "अपडेट",
|
||||||
|
logs: "लॉग",
|
||||||
|
about: "बारे में",
|
||||||
|
devmode: "रजिस्ट्रि संपादक",
|
||||||
|
},
|
||||||
|
|
||||||
|
mods: {
|
||||||
|
general: {
|
||||||
|
language: "भाषा",
|
||||||
|
},
|
||||||
|
theme: {
|
||||||
|
normal: "सामान्य",
|
||||||
|
adaptive: "अनुकूली",
|
||||||
|
custom: "कस्टम",
|
||||||
|
dark: "डार्क",
|
||||||
|
black: "काला",
|
||||||
|
darkmode: "डार्क मोड",
|
||||||
|
darkmodetagline: "ब्रावो सिक्स, गोइंग डार्क।",
|
||||||
|
},
|
||||||
|
tweaks: {
|
||||||
|
fullscreen: "फ़ुल स्क्रीन",
|
||||||
|
navbarblur: "नेवबार धुंधला",
|
||||||
|
roundedcorners: "गोल कोने",
|
||||||
|
roundthumbnails: "गोल थंबनेल",
|
||||||
|
roundwatchpagecomponents: "गोल वॉच पेज कंपोनेंट्स",
|
||||||
|
radius: "रेडियस",
|
||||||
|
},
|
||||||
|
startup: {
|
||||||
|
defaultpage: "निर्धारित पेज",
|
||||||
|
},
|
||||||
|
updates: {
|
||||||
|
checking: "अपडेट की जाँच हो रही है",
|
||||||
|
available: "अपडेट उपलब्ध",
|
||||||
|
noupdate: "अपडेट उपलब्ध नहीं है",
|
||||||
|
noupdatemessage: "आप VueTube का सबसे हाल ही का संस्करण इस्तमाल कर रहे हों। अपडेट के लिए बादमे आय।",
|
||||||
|
|
||||||
|
installed: "इंस्टॉल संस्करण",
|
||||||
|
latest: "नवीनतम संस्करण",
|
||||||
|
|
||||||
|
okay: "ठीक है",
|
||||||
|
update: "अपडेट",
|
||||||
|
later: "बाद में",
|
||||||
|
},
|
||||||
|
logs: {
|
||||||
|
more: "और",
|
||||||
|
},
|
||||||
|
about: {
|
||||||
|
appinformation: "ऐप की जानकारी",
|
||||||
|
appversion: "ऐप संस्करण",
|
||||||
|
deviceinformation: "डिवाइस की जानकारी",
|
||||||
|
platform: "प्लेटफार्मों",
|
||||||
|
os: "ऑपरेटिंग सिस्टम",
|
||||||
|
model: "मॉडल",
|
||||||
|
manufacturer: "उत्पादक",
|
||||||
|
emulator: "एम्यूलेटर",
|
||||||
|
github: "GitHub",
|
||||||
|
discord: "Discord",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
events: {
|
||||||
|
welcome: "VueTube में आपका स्वागत हैं!",
|
||||||
|
tagline: "वीडियो स्ट्रीमिंग का भविष्य",
|
||||||
|
next: "अगला",
|
||||||
|
updated: "VueTube को अपडेट किया गया है",
|
||||||
|
awesome: "बहुत बढ़िया",
|
||||||
|
langsetup: "आइए एक भाषा चुनते हैं!",
|
||||||
|
featuresetup: "आइए कुछ सुविधाएं चुनें!",
|
||||||
|
enableryd: "Return YouTube Dislike को चालू करे",
|
||||||
|
enablespb: "SponsorBlock को चालू करे",
|
||||||
|
thanks: "VueTube इस्तेमाल करने के लिए धन्यवाद!",
|
||||||
|
enjoy: "हमें उम्मीद है कि आपको अद्भुत अनुभव मिला होगा",
|
||||||
|
packageinstaller: "डाउनलोड करने के लिए पैकेज चुनें"
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
|
@ -8,6 +8,7 @@ module.exports = {
|
||||||
restart: "Mulai ulang",
|
restart: "Mulai ulang",
|
||||||
later: "Nanti",
|
later: "Nanti",
|
||||||
settingRestart: "Memodifikasi pengaturan ini membutuhkan tindakan mulai ulang aplikasi untuk menerapkan perubahan.",
|
settingRestart: "Memodifikasi pengaturan ini membutuhkan tindakan mulai ulang aplikasi untuk menerapkan perubahan.",
|
||||||
|
okay: "OK"
|
||||||
},
|
},
|
||||||
|
|
||||||
index: {
|
index: {
|
||||||
|
@ -54,13 +55,20 @@ module.exports = {
|
||||||
defaultpage: "Halaman Bawaan",
|
defaultpage: "Halaman Bawaan",
|
||||||
},
|
},
|
||||||
updates: {
|
updates: {
|
||||||
install: "Instal",
|
checking: "Memeriksa pembaruan",
|
||||||
view: "Lihat",
|
available: "Pembaruan tersedia",
|
||||||
latest: "Terbaru",
|
noupdate: "Tidak ada pembaruan tersedia",
|
||||||
installed: "Terinstal",
|
noupdatemessage: "Kamu menggunakan versi terbaru dari VueTube. Periksa kembali nanti untuk pembaruan.",
|
||||||
|
|
||||||
|
installed: "Versi Terinstal",
|
||||||
|
latest: "Versi Terbaru",
|
||||||
|
|
||||||
|
okay: "OK",
|
||||||
|
update: "Perbarui",
|
||||||
|
later: "Nanti",
|
||||||
},
|
},
|
||||||
logs: {
|
logs: {
|
||||||
more: "Lebih",
|
more: "Lainnya",
|
||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
appinformation: "Informasi Aplikasi",
|
appinformation: "Informasi Aplikasi",
|
||||||
|
|
|
@ -5,32 +5,34 @@ module.exports = {
|
||||||
home: "Acasă",
|
home: "Acasă",
|
||||||
subscriptions: "Abonamente",
|
subscriptions: "Abonamente",
|
||||||
library: "Bibliotecă",
|
library: "Bibliotecă",
|
||||||
restart: "Repornește acum",
|
restart: "Repornește",
|
||||||
later: "Mai tărziu",
|
later: "Mai tărziu",
|
||||||
settingRestart: "Modificarea acestei setări necesită repornirea aplicației pentru ca setările să fie aplicate."
|
settingRestart: "Modificarea acestei setări necesită repornirea aplicației pentru ca setările să fie aplicate.",
|
||||||
|
okay: "Bine"
|
||||||
},
|
},
|
||||||
|
|
||||||
index: {
|
index: {
|
||||||
connecting: "Se contectează",
|
connecting: "Se conectează",
|
||||||
launching: "Se lansează"
|
plugins: "Se încărca pluginuri",
|
||||||
|
launching: "Se lansează",
|
||||||
},
|
},
|
||||||
|
|
||||||
settings: {
|
settings: {
|
||||||
general: "Generală",
|
general: "Generală",
|
||||||
theme: "Tema",
|
theme: "Tema",
|
||||||
player: "Jucător video.",
|
player: "Jucător video",
|
||||||
uitweaker: "Interfața",
|
uitweaker: "Interfața",
|
||||||
startupoptions: "Opțiunea de lansare",
|
startupoptions: "Opțiunea de lansare",
|
||||||
plugins: "Pluginuri",
|
plugins: "Pluginuri",
|
||||||
updates: "Actualizarea",
|
updates: "Actualizarea",
|
||||||
logs: "Jurnalul",
|
logs: "Jurnalul",
|
||||||
about: "Despre",
|
about: "Despre",
|
||||||
devmode: "Editare de dezvoltare"
|
devmode: "Editare de registru",
|
||||||
},
|
},
|
||||||
|
|
||||||
mods: {
|
mods: {
|
||||||
general: {
|
general: {
|
||||||
language: "Limbă"
|
language: "Limbă",
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
normal: "Normal",
|
normal: "Normal",
|
||||||
|
@ -38,7 +40,7 @@ module.exports = {
|
||||||
custom: "Customizare",
|
custom: "Customizare",
|
||||||
dark: "Întuneric",
|
dark: "Întuneric",
|
||||||
black: "Negru",
|
black: "Negru",
|
||||||
darkmode: "Modul Negru",
|
darkmode: "Modul Întuneric",
|
||||||
darkmodetagline: "Bravo Six, întunecându-te."
|
darkmodetagline: "Bravo Six, întunecându-te."
|
||||||
},
|
},
|
||||||
tweaks: {
|
tweaks: {
|
||||||
|
@ -47,32 +49,38 @@ module.exports = {
|
||||||
roundedcorners: "Colturi Rotunjite",
|
roundedcorners: "Colturi Rotunjite",
|
||||||
roundthumbnails: "Thumbnails Rotunjite",
|
roundthumbnails: "Thumbnails Rotunjite",
|
||||||
roundwatchpagecomponents: "Componente rotunde pentru casă",
|
roundwatchpagecomponents: "Componente rotunde pentru casă",
|
||||||
radius: "Rază"
|
radius: "Rază",
|
||||||
},
|
},
|
||||||
startup: {
|
startup: {
|
||||||
defaultpage: "Pagină implicită"
|
defaultpage: "Pagină implicită",
|
||||||
},
|
},
|
||||||
updates: {
|
updates: {
|
||||||
install: "Instalarea",
|
checking: "Se verifică actualizarea",
|
||||||
view: "Vezi",
|
available: "Actualizare disponibilă",
|
||||||
latest: "Ultimă",
|
noupdate: "Nu există actualizări disponibile",
|
||||||
installed: "Instalat"
|
noupdatemessage: "Folosești cea mai recentă versiunea VueTube. Reveniți mai târziu pentru actualizări",
|
||||||
|
installed: "Versiunea instalată",
|
||||||
|
latest: "Ultimă versiunea",
|
||||||
|
|
||||||
|
okay: "Bine",
|
||||||
|
update: "Actualizați",
|
||||||
|
later: "Mai tărziu",
|
||||||
},
|
},
|
||||||
logs: {
|
logs: {
|
||||||
more: "Mai multe"
|
more: "Mai multe",
|
||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
appinformation: "Informații aplicației",
|
appinformation: "Informația aplicației",
|
||||||
appversion: "Versiunea",
|
appversion: "Versiunea aplicației",
|
||||||
deviceinformation: "Informații dispozitivului",
|
deviceinformation: "Informația dispozitivului",
|
||||||
platform: "Platforma",
|
platform: "Platforma",
|
||||||
os: "Sistem de operare",
|
os: "Sistem de operare",
|
||||||
model: "Model",
|
model: "Modelul",
|
||||||
manufacturer: "Producător",
|
manufacturer: "Producător",
|
||||||
emulator: "Emulator",
|
emulator: "Emulator",
|
||||||
github: "GitHub",
|
github: "GitHub",
|
||||||
discord: "Discord"
|
discord: "Discord",
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
events: {
|
events: {
|
||||||
|
@ -80,14 +88,13 @@ module.exports = {
|
||||||
tagline: "Viitorul streamingului videoclip",
|
tagline: "Viitorul streamingului videoclip",
|
||||||
next: "Următorul",
|
next: "Următorul",
|
||||||
updated: "VueTube a fost actualizat!",
|
updated: "VueTube a fost actualizat!",
|
||||||
awesome: "Uimitor!",
|
awesome: "Uimitor",
|
||||||
langsetup: "Alegeți o limbă!",
|
langsetup: "Alegeți o limbă!",
|
||||||
featuresetup: "Alegeți o caracteristică!",
|
featuresetup: "Alegeți o caracteristică!",
|
||||||
enableryd: "Activați Return YouTube Dislike",
|
enableryd: "Activați Return YouTube Dislike",
|
||||||
enablespb: "Activați SponsorBlock",
|
enablespb: "Activați SponsorBlock",
|
||||||
thanks: "Va mulțumin că folosiți VueTube!",
|
thanks: "Va mulțumin că folosiți VueTube!",
|
||||||
enjoy: "Sperăm să vă bucurați de experiența dumneavoastră!"
|
enjoy: "Sperăm să vă bucurați de experiența dumneavoastră!",
|
||||||
}
|
packageinstaller: "Alegeți un pachet de descărcat"
|
||||||
|
},
|
||||||
|
};
|
||||||
}
|
|
||||||
|
|
|
@ -77,6 +77,11 @@ function linkParser(url) {
|
||||||
}
|
}
|
||||||
const delay = (ms) => new Promise((res) => setTimeout(res, ms));
|
const delay = (ms) => new Promise((res) => setTimeout(res, ms));
|
||||||
|
|
||||||
|
function humanFileSize(size) {
|
||||||
|
var i = Math.floor( Math.log(size) / Math.log(1024) );
|
||||||
|
return ( size / Math.pow(1024, i) ).toFixed(2) * 1 + ' ' + ['B', 'kB', 'MB', 'GB', 'TB'][i];
|
||||||
|
};
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
getBetweenStrings,
|
getBetweenStrings,
|
||||||
hexToRgb,
|
hexToRgb,
|
||||||
|
@ -86,4 +91,5 @@ module.exports = {
|
||||||
linkParser,
|
linkParser,
|
||||||
delay,
|
delay,
|
||||||
parseEmoji,
|
parseEmoji,
|
||||||
|
humanFileSize,
|
||||||
};
|
};
|
||||||
|
|
|
@ -139,6 +139,21 @@ const module = {
|
||||||
return returntext;
|
return returntext;
|
||||||
},
|
},
|
||||||
//--- End Convert Time To Human Readable String ---//
|
//--- End Convert Time To Human Readable String ---//
|
||||||
|
|
||||||
|
update(url) {
|
||||||
|
return new Promise(async (resolve, reject) => {
|
||||||
|
const data = await Http.request({
|
||||||
|
method: "GET",
|
||||||
|
url: url
|
||||||
|
}).catch((err) => { reject(err); })
|
||||||
|
|
||||||
|
console.log(data)
|
||||||
|
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//--- Start ---//
|
//--- Start ---//
|
||||||
|
|
|
@ -43,7 +43,7 @@ Features
|
||||||
- ⬆️ **Auto updates:** Be notified when an update is available, download through the app and downgrade if you don't like it!
|
- ⬆️ **Auto updates:** Be notified when an update is available, download through the app and downgrade if you don't like it!
|
||||||
- 👁️ **Tracking protection:** No telemetry data is sent from your device by default and we don't use external APIs. Privacy is neccesary!
|
- 👁️ **Tracking protection:** No telemetry data is sent from your device by default and we don't use external APIs. Privacy is neccesary!
|
||||||
- 📺 **Custom video player:** There is a player integrated in the application with everything you need to be happy, such as 16x speed.
|
- 📺 **Custom video player:** There is a player integrated in the application with everything you need to be happy, such as 16x speed.
|
||||||
- 🌍 **Translations:** App is avaiable in more than 25 languages! Default language is determined according to your device configuration.
|
- 🌍 **Translations:** App is available in more than 25 languages! Default language is determined according to your device configuration.
|
||||||
- 👎 **Return YouTube Dislike** - Enable dislike counters in videos again. [_More info_](https://returnyoutubedislike.com)
|
- 👎 **Return YouTube Dislike** - Enable dislike counters in videos again. [_More info_](https://returnyoutubedislike.com)
|
||||||
- 💰 **SponsorBlock** - Skip automatically sponsors and annoying segments in videos. [_More info_](https://sponsor.ajay.app)
|
- 💰 **SponsorBlock** - Skip automatically sponsors and annoying segments in videos. [_More info_](https://sponsor.ajay.app)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue