Add localization

This commit is contained in:
Bryce Hackel 2024-04-08 23:19:27 -07:00
parent 7fbdb6c5f7
commit 7932758b4d
No known key found for this signature in database
GPG key ID: F031960F08455E88
24 changed files with 71 additions and 4 deletions

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "إصلاح تسجيل الدخول بحساب جوجل (لمستخدمي TrollStore فقط)";
"FIX_GOOGLE_SIGNIN_DESC" = "هذا الخيار لا يعمل إلا إذا كان التطبيق مثبت بواسطة TrollStore: فعل هذا الخيار لتتمكن من تسجيل الدخول بحساب جوجل. يتطلب إعادة تشغيل التطبيق.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Opravit přihlášení přes Google (pouze pro uživatele TrollStore)";
"FIX_GOOGLE_SIGNIN_DESC" = "Tuto možnost zapněte pouze v případě, že se nemůžete přihlásit pomocí svého účtu Google a aplikace byla nainstalována prostřednictvím TrollStore. Pokud se můžete normálně přihlásit, ponechte ji deaktivovanou. Je vyžadován restart aplikace.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Google-Anmeldung reparieren (nur für TrollStore-Benutzer!)";
"FIX_GOOGLE_SIGNIN_DESC" = "Aktiviere diese Option nur, wenn Sie sich nicht mit Ihrem Google-Account anmelden können und die App über TrollStore installiert wurde. Wenn Sie sich normal anmelden können, halte diese Option deaktiviert! App-Neustart erforderlich!";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Διόρθωση σύνδεσης Google (μόνο για χρήστες του TrollStore)";
"FIX_GOOGLE_SIGNIN_DESC" = "Ενεργοποιήστε αυτήν την επιλογή μόνο όταν δεν μπορείτε να συνδεθείτε με τον λογαριασμό σας Google και η εφαρμογή έχει εγκατασταθεί μέσω του TrollStore. Εάν μπορείτε να συνδεθείτε κανονικά, διατηρήστε την απενεργοποιημένη. Απαιτείται επανεκκίνηση της εφαρμογής.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Fix Google Sign in (for TrollStore user only)";
"FIX_GOOGLE_SIGNIN_DESC" = "Only turn on this option when you can't sign in with your Google account and the app was installed via TrollStore. If you can log in normally, keep it disabled. App restart is required.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Reparar el inicio de sesión de Google (solo para usuarios de TrollStore)";
"FIX_GOOGLE_SIGNIN_DESC" = "Active esta opción solo cuando no pueda iniciar sesión con su cuenta de Google y la aplicación se instaló a través de TrollStore. Si puede iniciar sesión normalmente, manténgala desactivada. Es necesario reiniciar la aplicación.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Réparer l'identification Google (pour les utilisateurs de TrollStore uniquement)";
"FIX_GOOGLE_SIGNIN_DESC" = "Activez cette option uniquement si vous ne pouvez pas vous connecter avec votre compte Google et que l'application a été installée via TrollStore. Si vous pouvez vous connecter normalement, laissez-la désactivée. Un redémarrage de l'application est nécessaire.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "תקן כניסה של Google (עבור משתמש TrollStore בלבד)";
"FIX_GOOGLE_SIGNIN_DESC" = "הפעל אפשרות זו רק כאשר אינך יכול להיכנס עם חשבון Google שלך והאפליקציה הותקנה דרך TrollStore. אם אתה יכול להתחבר כרגיל, השאר אותה מושבתת. נדרשת הפעלה מחדש של האפליקציה.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "A Google bejelentkezés javítása (csak a TrollStore-felhasználók számára)";
"FIX_GOOGLE_SIGNIN_DESC" = "Csak akkor kapcsolja be ezt az opciót, ha nem tud bejelentkezni Google-fiókjával, és az alkalmazást a TrollStore-on keresztül telepítették. Ha normálisan be tud jelentkezni, tartsa letiltva. Az alkalmazás újraindítása szükséges.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Ripara Google Sign in (solo per utenti TrollStore)";
"FIX_GOOGLE_SIGNIN_DESC" = "Attiva questa opzione solo quando non puoi accedere al tuo account Google e l'app è stata installata attraverso TrollStore. Se puoi accedere normalmente, tienila disabilitata. È richiesto un riavvio dell'app.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Googleのサインインを修正 (TrollStoreユーザーのみ)";
"FIX_GOOGLE_SIGNIN_DESC" = "Googleアカウントでサインインできない場合で、アプリがTrollStore経由でインストールされている場合のみ、このオプションをオンにしてください。通常通りサインインできる場合はオフのままにしてください。アプリの再起動が必要です。";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "구글 로그인 문제 수정 (TrollStore 사용자만 해당)";
"FIX_GOOGLE_SIGNIN_DESC" = "TrollStore를 통해 설치된 앱에만 적용됩니다: 구글 계정으로 로그인하려면 이 설정을 켜 주세요. 앱을 다시 시작해야 합니다.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Fix Inloggen met Google (Alleen voor TrollStore gebruikers)";
"FIX_GOOGLE_SIGNIN_DESC" = "Zet dit aan wanneer je niet kan inloggen met je Google account en je de app hebt geïnstalleerd met Trollstore. Als je in kan loggen laat dit dan met rust. Om dit te activeren moet je de app opnieuw opstarten.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Jouw Premium-voordelen";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Napraw logowanie się z Google (tylko dla użytkowników TrollStore)";
"FIX_GOOGLE_SIGNIN_DESC" = "Włącz tą opcję tylko wtedy, kiedy nie możesz zalogować się swoim kontem Google, a aplikacja została zainstalowana przez TrollStore. Jeżeli da się zalogować normalnie, zostaw to wyłączone. Restart aplikacji jest wymagany.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Corrigir o login do Google (somente para usuários da TrollStore)";
"FIX_GOOGLE_SIGNIN_DESC" = "Ative esta opção somente quando você não conseguir fazer login com sua conta do Google e o aplicativo foi instalado via TrollStore. Se você conseguir fazer login normalmente, mantenha-o desativado. A reinicialização do app é necessária.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Rezolvare problemă autentificare cont Google (doar pentru utilizatorii TrollStore)";
"FIX_GOOGLE_SIGNIN_DESC" = "Activează această opțiune doar în cazul în care nu te poți autentifica în contul tău Google și apariția a fost instalată via TrollStore. Dacă te poți autentifica fără probleme, țineți setarea dezactivată. Este necesară repornirea aplicației.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Исправить авторизацию (TrollStore)";
"FIX_GOOGLE_SIGNIN_DESC" = "Включите данную опцию только, если не можете войти в учетную запись Google, а приложение установлено через TrollStore. Если удается авторизоваться как обычно, оставьте данную опцию отключенной. Потребуется перезагрузка.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -153,3 +153,6 @@ https://github.com/PoomSmart/Return-YouTube-Dislikes/tree/main/layout/Library/Ap
"FIX_GOOGLE_SIGNIN" = "Fix Google Sign in (for TrollStore user only)";
"FIX_GOOGLE_SIGNIN_DESC" = "Only turn on this option when you can't sign in with your Google account and the app was installed via TrollStore. If you can log in normally, keep it disabled. App restart is required.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -137,3 +137,6 @@
"FIX_GOOGLE_SIGNIN" = "แก้ไขปัญหาการเข้าสู่ระบบบัญชี Google (ใช้ได้สำหรับผู้ใช้ TrollStore เท่านั้น)";
"FIX_GOOGLE_SIGNIN_DESC" = "ใช้ได้เฉพาะเมื่อใช้ TrollStore เพื่อติดตั้งแอปพลิเคชันนี้: หลังจากเปิดใช้งานการตั้งค่านี้ คุณสามารถเข้าสู่ระบบบัญชี Google ของคุณได้ตามปกติ และคุณต้องรีสตาร์ทแอปพลิเคชัน";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Google Oturumu Açma'yı düzeltin (yalnızca TrollStore kullanıcıları için)";
"FIX_GOOGLE_SIGNIN_DESC" = "Bu seçeneği yalnızca Google hesabınızla oturum açamadığınızda ve uygulama TrollStore aracılığıyla yüklendiyse aç. Normal olarak giriş yapabiliyorsan, devre dışı bırak. Uygulamanın yeniden başlatılması gerekir.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "Sửa lỗi không thể đăng nhập tài khoản Google";
"FIX_GOOGLE_SIGNIN_DESC" = "Chỉ bật tính năng này khi bạn không thể đăng nhập tài khoản Google và ứng dụng được cài qua TrollStore. Nếu bạn có thể đăng nhập bình thường thì hãy tắt tính năng này. Cần khởi động lại ứng dụng.";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "修复 Google 账号登录问题(仅 TrollStore 用户有效)";
"FIX_GOOGLE_SIGNIN_DESC" = "仅在使用 TrollStore 安装本 App 的情况下生效:启用本设置后即可正常登录您的 Google 账号。更改本设置后需要重启 App。";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -138,3 +138,6 @@
"FIX_GOOGLE_SIGNIN" = "修復 Google 帳號登入問題僅TrollStore 使用者有效)";
"FIX_GOOGLE_SIGNIN_DESC" = "僅在使用 TrollStore 安裝此應用程式時有效:啟用本設定後即可正常登入 Google 帳號,需要重新啟動應用程式。";
"FAKE_YOUR_PREMIUM_BENEFITS" = "Your Premium benefits";
"FAKE_DOWNLOADS" = "Downloads";

View file

@ -288,8 +288,6 @@ BOOL isAd(YTIElementRenderer *self) {
* Replaces the "Get YouTube Premium" cell with a "Your Premium benefits" cell
* and adds a "Downloads" cell below the "Your videos" cell
* @param model The model for the You tab
* TODO Add localization support for the Get Youtube Premium and Downloads text
* TODO Combine with the Fake Youtube Premium logo
*/
%new
- (void)uYouEnhancedFakePremiumModel:(YTISectionListRenderer *)model {
@ -314,7 +312,7 @@ BOOL isAd(YTIElementRenderer *self) {
// Modify the icon type to be Premium
icon.iconType = 741; // Magic number for premium icon
// Modify the text
((YTIStringRun *)(compactLinkRenderer.title.runsArray.firstObject)).text = @"Your Premium benefits";
((YTIStringRun *)(compactLinkRenderer.title.runsArray.firstObject)).text = LOC(@"FAKE_YOUR_PREMIUM_BENEFITS");
}
}
}
@ -341,7 +339,7 @@ BOOL isAd(YTIElementRenderer *self) {
// Note that this must be done outside the loop to avoid a runtime exception
// TODO Link this to the uYou downloads page
YTIItemSectionSupportedRenderers *newItemSectionSupportedRenderers = [subContentsArray[yourVideosCellIndex] copy];
((YTIStringRun *)(newItemSectionSupportedRenderers.compactListItemRenderer.title.runsArray.firstObject)).text = @"Downloads";
((YTIStringRun *)(newItemSectionSupportedRenderers.compactListItemRenderer.title.runsArray.firstObject)).text = LOC(@"FAKE_DOWNLOADS");
newItemSectionSupportedRenderers.compactListItemRenderer.thumbnail.iconThumbnailRenderer.icon.iconType = 147;
// Insert this cell after the Your Videos cell
[subContentsArray insertObject:newItemSectionSupportedRenderers atIndex:yourVideosCellIndex + 1];