mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-31 13:33:28 +01:00 
			
		
		
		
	Merge pull request #2044 from ArcticFoxPro/main
feat(i18n): Add Tencent App Store zh-Hans translations and add zh-Hans version of Obtainium badge
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								assets/graphics/badge_obtainium_i18n/badge_obtainium_zh-Hans.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/graphics/badge_obtainium_i18n/badge_obtainium_zh-Hans.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 26 KiB | 
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Allow insecure HTTP requests", |     "allowInsecure": "Allow insecure HTTP requests", | ||||||
|     "stayOneVersionBehind": "Stay one version behind latest", |     "stayOneVersionBehind": "Stay one version behind latest", | ||||||
|     "refreshBeforeDownload": "Refresh app details before download", |     "refreshBeforeDownload": "Refresh app details before download", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Želite li ukloniti aplikaciju?", |         "one": "Želite li ukloniti aplikaciju?", | ||||||
|         "other": "Želite li ukloniti aplikacije?" |         "other": "Želite li ukloniti aplikacije?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Povolení nezabezpečených požadavků HTTP", |     "allowInsecure": "Povolení nezabezpečených požadavků HTTP", | ||||||
|     "stayOneVersionBehind": "Zůstaňte o jednu verzi pozadu za nejnovější", |     "stayOneVersionBehind": "Zůstaňte o jednu verzi pozadu za nejnovější", | ||||||
|     "refreshBeforeDownload": "Obnovení údajů o aplikaci před stažením", |     "refreshBeforeDownload": "Obnovení údajů o aplikaci před stažením", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Odstranit Apku?", |         "one": "Odstranit Apku?", | ||||||
|         "other": "Odstranit Apky?" |         "other": "Odstranit Apky?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Tillad usikre HTTP-anmodninger", |     "allowInsecure": "Tillad usikre HTTP-anmodninger", | ||||||
|     "stayOneVersionBehind": "Forbliv én version bagud den seneste", |     "stayOneVersionBehind": "Forbliv én version bagud den seneste", | ||||||
|     "refreshBeforeDownload": "Opdater app-detaljer før download", |     "refreshBeforeDownload": "Opdater app-detaljer før download", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Fjern app?", |         "one": "Fjern app?", | ||||||
|         "other": "Fjern apps?" |         "other": "Fjern apps?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Unsichere HTTP-Anfragen zulassen", |     "allowInsecure": "Unsichere HTTP-Anfragen zulassen", | ||||||
|     "stayOneVersionBehind": "Eine Version hinter der neuesten Version bleiben", |     "stayOneVersionBehind": "Eine Version hinter der neuesten Version bleiben", | ||||||
|     "refreshBeforeDownload": "App-Details vor dem Download aktualisieren", |     "refreshBeforeDownload": "App-Details vor dem Download aktualisieren", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "App entfernen?", |         "one": "App entfernen?", | ||||||
|         "other": "Apps entfernen?" |         "other": "Apps entfernen?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Allow insecure HTTP requests", |     "allowInsecure": "Allow insecure HTTP requests", | ||||||
|     "stayOneVersionBehind": "Stay one version behind latest", |     "stayOneVersionBehind": "Stay one version behind latest", | ||||||
|     "refreshBeforeDownload": "Refresh app details before download", |     "refreshBeforeDownload": "Refresh app details before download", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Forigi la aplikaĵon?", |         "one": "Forigi la aplikaĵon?", | ||||||
|         "other": "Forigi la aplikaĵojn?" |         "other": "Forigi la aplikaĵojn?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Allow insecure HTTP requests", |     "allowInsecure": "Allow insecure HTTP requests", | ||||||
|     "stayOneVersionBehind": "Stay one version behind latest", |     "stayOneVersionBehind": "Stay one version behind latest", | ||||||
|     "refreshBeforeDownload": "Refresh app details before download", |     "refreshBeforeDownload": "Refresh app details before download", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Remove App?", |         "one": "Remove App?", | ||||||
|         "other": "Remove Apps?" |         "other": "Remove Apps?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Permitir peticiones HTTP inseguras", |     "allowInsecure": "Permitir peticiones HTTP inseguras", | ||||||
|     "stayOneVersionBehind": "Mantenerse una versión por detrás de la última", |     "stayOneVersionBehind": "Mantenerse una versión por detrás de la última", | ||||||
|     "refreshBeforeDownload": "Actualiza los datos de la aplicación antes de descargarla", |     "refreshBeforeDownload": "Actualiza los datos de la aplicación antes de descargarla", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "¿Eliminar aplicación?", |         "one": "¿Eliminar aplicación?", | ||||||
|         "other": "¿Eliminar aplicaciones?" |         "other": "¿Eliminar aplicaciones?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "درخواست های HTTP ناامن را مجاز کنید", |     "allowInsecure": "درخواست های HTTP ناامن را مجاز کنید", | ||||||
|     "stayOneVersionBehind": "یک نسخه از آخرین نسخه پشت سر بگذارید", |     "stayOneVersionBehind": "یک نسخه از آخرین نسخه پشت سر بگذارید", | ||||||
|     "refreshBeforeDownload": "قبل از دانلود، جزئیات برنامه را بازخوانی کنید", |     "refreshBeforeDownload": "قبل از دانلود، جزئیات برنامه را بازخوانی کنید", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "برنامه حذف شود؟", |         "one": "برنامه حذف شود؟", | ||||||
|         "other": "برنامه ها حذف شوند؟" |         "other": "برنامه ها حذف شوند؟" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Autoriser les requêtes HTTP non sécurisées", |     "allowInsecure": "Autoriser les requêtes HTTP non sécurisées", | ||||||
|     "stayOneVersionBehind": "Rester à une version de la dernière", |     "stayOneVersionBehind": "Rester à une version de la dernière", | ||||||
|     "refreshBeforeDownload": "Actualiser les détails de l'application avant de la télécharger", |     "refreshBeforeDownload": "Actualiser les détails de l'application avant de la télécharger", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Supprimer l'application ?", |         "one": "Supprimer l'application ?", | ||||||
|         "other": "Supprimer les applications ?" |         "other": "Supprimer les applications ?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Nem biztonságos HTTP-kérések engedélyezése", |     "allowInsecure": "Nem biztonságos HTTP-kérések engedélyezése", | ||||||
|     "stayOneVersionBehind": "Maradjon egy verzióval a legújabb mögött", |     "stayOneVersionBehind": "Maradjon egy verzióval a legújabb mögött", | ||||||
|     "refreshBeforeDownload": "Az alkalmazás adatainak frissítése a letöltés előtt", |     "refreshBeforeDownload": "Az alkalmazás adatainak frissítése a letöltés előtt", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Eltávolítja az alkalmazást?", |         "one": "Eltávolítja az alkalmazást?", | ||||||
|         "other": "Eltávolítja az alkalmazásokat?" |         "other": "Eltávolítja az alkalmazásokat?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Izinkan permintaan HTTP yang tidak aman", |     "allowInsecure": "Izinkan permintaan HTTP yang tidak aman", | ||||||
|     "stayOneVersionBehind": "Tetap satu versi di belakang versi terbaru", |     "stayOneVersionBehind": "Tetap satu versi di belakang versi terbaru", | ||||||
|     "refreshBeforeDownload": "Segarkan detail aplikasi sebelum mengunduh", |     "refreshBeforeDownload": "Segarkan detail aplikasi sebelum mengunduh", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Hapus aplikasi?", |         "one": "Hapus aplikasi?", | ||||||
|         "other": "Hapus aplikasi?" |         "other": "Hapus aplikasi?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Consentire le richieste HTTP non sicure", |     "allowInsecure": "Consentire le richieste HTTP non sicure", | ||||||
|     "stayOneVersionBehind": "Rimanere una versione indietro rispetto alla più recente", |     "stayOneVersionBehind": "Rimanere una versione indietro rispetto alla più recente", | ||||||
|     "refreshBeforeDownload": "Aggiornare i dettagli dell'app prima del download", |     "refreshBeforeDownload": "Aggiornare i dettagli dell'app prima del download", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Rimuovere l'app?", |         "one": "Rimuovere l'app?", | ||||||
|         "other": "Rimuovere le app?" |         "other": "Rimuovere le app?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "安全でないHTTPリクエストを許可する", |     "allowInsecure": "安全でないHTTPリクエストを許可する", | ||||||
|     "stayOneVersionBehind": "最新のバージョンから1つ前のものを使用する", |     "stayOneVersionBehind": "最新のバージョンから1つ前のものを使用する", | ||||||
|     "refreshBeforeDownload": "ダウンロード前にアプリの詳細を更新する", |     "refreshBeforeDownload": "ダウンロード前にアプリの詳細を更新する", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "アプリを削除しますか?", |         "one": "アプリを削除しますか?", | ||||||
|         "other": "アプリを削除しますか?" |         "other": "アプリを削除しますか?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Onveilige HTTP-verzoeken toestaan", |     "allowInsecure": "Onveilige HTTP-verzoeken toestaan", | ||||||
|     "stayOneVersionBehind": "Blijf een versie achter op de nieuwste", |     "stayOneVersionBehind": "Blijf een versie achter op de nieuwste", | ||||||
|     "refreshBeforeDownload": "Vernieuw app details voor download", |     "refreshBeforeDownload": "Vernieuw app details voor download", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "App verwijderen?", |         "one": "App verwijderen?", | ||||||
|         "other": "Apps verwijderen?" |         "other": "Apps verwijderen?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Zezwalaj na niezabezpieczone żądania HTTP", |     "allowInsecure": "Zezwalaj na niezabezpieczone żądania HTTP", | ||||||
|     "stayOneVersionBehind": "Pozostań jedną wersję w tyle za najnowszą", |     "stayOneVersionBehind": "Pozostań jedną wersję w tyle za najnowszą", | ||||||
|     "refreshBeforeDownload": "Odśwież szczegóły aplikacji przed pobraniem", |     "refreshBeforeDownload": "Odśwież szczegóły aplikacji przed pobraniem", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Usunąć aplikację?", |         "one": "Usunąć aplikację?", | ||||||
|         "few": "Usunąć aplikacje?", |         "few": "Usunąć aplikacje?", | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Permitir pedidos HTTP inseguros", |     "allowInsecure": "Permitir pedidos HTTP inseguros", | ||||||
|     "stayOneVersionBehind": "Manter-se uma versão atrás da mais recente", |     "stayOneVersionBehind": "Manter-se uma versão atrás da mais recente", | ||||||
|     "refreshBeforeDownload": "Atualizar os detalhes da aplicação antes da transferência", |     "refreshBeforeDownload": "Atualizar os detalhes da aplicação antes da transferência", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Remover aplicativo?", |         "one": "Remover aplicativo?", | ||||||
|         "other": "Remover aplicativos?" |         "other": "Remover aplicativos?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Разрешить небезопасные HTTP-запросы", |     "allowInsecure": "Разрешить небезопасные HTTP-запросы", | ||||||
|     "stayOneVersionBehind": "Не отставайте от последней версии", |     "stayOneVersionBehind": "Не отставайте от последней версии", | ||||||
|     "refreshBeforeDownload": "Обновляйте информацию о приложении перед загрузкой", |     "refreshBeforeDownload": "Обновляйте информацию о приложении перед загрузкой", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Удалить приложение?", |         "one": "Удалить приложение?", | ||||||
|         "other": "Удалить приложения?" |         "other": "Удалить приложения?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Tillåt osäkra HTTP-förfrågningar", |     "allowInsecure": "Tillåt osäkra HTTP-förfrågningar", | ||||||
|     "stayOneVersionBehind": "Håll dig en version bakom den senaste", |     "stayOneVersionBehind": "Håll dig en version bakom den senaste", | ||||||
|     "refreshBeforeDownload": "Uppdatera appdetaljerna före nedladdning", |     "refreshBeforeDownload": "Uppdatera appdetaljerna före nedladdning", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Ta Bort App?", |         "one": "Ta Bort App?", | ||||||
|         "other": "Ta Bort Appar?" |         "other": "Ta Bort Appar?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Güvensiz HTTP isteklerine izin ver", |     "allowInsecure": "Güvensiz HTTP isteklerine izin ver", | ||||||
|     "stayOneVersionBehind": "En son sürümün bir sürüm gerisinde kalın", |     "stayOneVersionBehind": "En son sürümün bir sürüm gerisinde kalın", | ||||||
|     "refreshBeforeDownload": "İndirmeden önce uygulama ayrıntılarını yenileyin", |     "refreshBeforeDownload": "İndirmeden önce uygulama ayrıntılarını yenileyin", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Uygulamayı Kaldır?", |         "one": "Uygulamayı Kaldır?", | ||||||
|         "other": "Uygulamaları Kaldır?" |         "other": "Uygulamaları Kaldır?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Дозволити незахищені HTTP-запити", |     "allowInsecure": "Дозволити незахищені HTTP-запити", | ||||||
|     "stayOneVersionBehind": "Залишайтеся на одну версію актуальнішою", |     "stayOneVersionBehind": "Залишайтеся на одну версію актуальнішою", | ||||||
|     "refreshBeforeDownload": "Оновіть інформацію про програму перед завантаженням", |     "refreshBeforeDownload": "Оновіть інформацію про програму перед завантаженням", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Видалити застосунок?", |         "one": "Видалити застосунок?", | ||||||
|         "other": "Видалити застосунки?" |         "other": "Видалити застосунки?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Allow insecure HTTP requests", |     "allowInsecure": "Allow insecure HTTP requests", | ||||||
|     "stayOneVersionBehind": "Stay one version behind latest", |     "stayOneVersionBehind": "Stay one version behind latest", | ||||||
|     "refreshBeforeDownload": "Refresh app details before download", |     "refreshBeforeDownload": "Refresh app details before download", | ||||||
|  |     "tencentAppStore": "Tencent App Store", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "Gỡ ứng dụng?", |         "one": "Gỡ ứng dụng?", | ||||||
|         "other": "Gỡ ứng dụng?" |         "other": "Gỡ ứng dụng?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "Allow insecure HTTP requests", |     "allowInsecure": "Allow insecure HTTP requests", | ||||||
|     "stayOneVersionBehind": "Stay one version behind latest", |     "stayOneVersionBehind": "Stay one version behind latest", | ||||||
|     "refreshBeforeDownload": "Refresh app details before download", |     "refreshBeforeDownload": "Refresh app details before download", | ||||||
|  |     "tencentAppStore": "騰訊應用寶", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "移除應用程式?", |         "one": "移除應用程式?", | ||||||
|         "other": "移除應用程式?" |         "other": "移除應用程式?" | ||||||
|   | |||||||
| @@ -318,6 +318,7 @@ | |||||||
|     "allowInsecure": "允许不安全的 HTTP 请求", |     "allowInsecure": "允许不安全的 HTTP 请求", | ||||||
|     "stayOneVersionBehind": "比最新版本晚一个版本", |     "stayOneVersionBehind": "比最新版本晚一个版本", | ||||||
|     "refreshBeforeDownload": "下载前刷新应用程序详细信息", |     "refreshBeforeDownload": "下载前刷新应用程序详细信息", | ||||||
|  |     "tencentAppStore": "腾讯应用宝", | ||||||
|     "removeAppQuestion": { |     "removeAppQuestion": { | ||||||
|         "one": "是否删除应用?", |         "one": "是否删除应用?", | ||||||
|         "other": "是否删除应用?" |         "other": "是否删除应用?" | ||||||
|   | |||||||
| @@ -1,11 +1,12 @@ | |||||||
| import 'dart:convert'; | import 'dart:convert'; | ||||||
|  |  | ||||||
|  | import 'package:easy_localization/easy_localization.dart'; | ||||||
| import 'package:obtainium/custom_errors.dart'; | import 'package:obtainium/custom_errors.dart'; | ||||||
| import 'package:obtainium/providers/source_provider.dart'; | import 'package:obtainium/providers/source_provider.dart'; | ||||||
|  |  | ||||||
| class Tencent extends AppSource { | class Tencent extends AppSource { | ||||||
|   Tencent() { |   Tencent() { | ||||||
|     name = 'Tencent App Store'; |     name = tr('tencentAppStore'); | ||||||
|     hosts = ['sj.qq.com']; |     hosts = ['sj.qq.com']; | ||||||
|     naiveStandardVersionDetection = true; |     naiveStandardVersionDetection = true; | ||||||
|     showReleaseDateAsVersionToggle = true; |     showReleaseDateAsVersionToggle = true; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user