Skip to content

Commit 5d60ffa

Browse files
authored
Add dependency instructions for web view (#888)
1 parent 0eb61e9 commit 5d60ffa

9 files changed

Lines changed: 59 additions & 9 deletions

‎YoutubeDownloader/Localization/LocalizationManager.ChineseSimplified.cs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,14 @@ 将身份验证 Cookie 保存到文件中,以便在不同会话之间持久化
8080
[nameof(AuthenticationTitle)] = "身份验证",
8181
[nameof(AuthenticatedText)] = "你当前已通过身份验证",
8282
[nameof(LogOutButton)] = "退出登录",
83-
[nameof(LoadingText)] = "正在加载...",
83+
[nameof(AuthenticationPlaceholderText)] = """
84+
正在加载...
85+
86+
如果浏览器未显示:
87+
- Windows:安装 Microsoft Edge WebView2 Runtime。
88+
- macOS:安装最新的系统更新。
89+
- Linux:安装 GTK 3、WebKitGTK 4.1 和 libsoup 3。
90+
""",
8491
// Download Single Setup
8592
[nameof(CopyMenuItem)] = "复制",
8693
[nameof(LiveLabel)] = "直播",

‎YoutubeDownloader/Localization/LocalizationManager.English.cs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,14 @@ Save authentication cookies to a file so that they can be persisted between sess
8282
[nameof(AuthenticationTitle)] = "Authentication",
8383
[nameof(AuthenticatedText)] = "You are currently authenticated",
8484
[nameof(LogOutButton)] = "Log out",
85-
[nameof(LoadingText)] = "Loading...",
85+
[nameof(AuthenticationPlaceholderText)] = """
86+
Loading...
87+
88+
If the browser does not appear:
89+
- Windows: install Microsoft Edge WebView2 Runtime.
90+
- macOS: install the latest system updates.
91+
- Linux: install GTK 3, WebKitGTK 4.1, and libsoup 3.
92+
""",
8693
// Download Single Setup
8794
[nameof(CopyMenuItem)] = "Copy",
8895
[nameof(LiveLabel)] = "Live",

‎YoutubeDownloader/Localization/LocalizationManager.French.cs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,14 @@ Modèle utilisé pour générer les noms de fichiers des vidéos téléchargées
8686
[nameof(AuthenticationTitle)] = "Authentification",
8787
[nameof(AuthenticatedText)] = "Vous êtes actuellement authentifié",
8888
[nameof(LogOutButton)] = "Se déconnecter",
89-
[nameof(LoadingText)] = "Chargement...",
89+
[nameof(AuthenticationPlaceholderText)] = """
90+
Chargement...
91+
92+
Si le navigateur ne s'affiche pas :
93+
- Windows : installez Microsoft Edge WebView2 Runtime.
94+
- macOS : installez les dernières mises à jour du système.
95+
- Linux : installez GTK 3, WebKitGTK 4.1 et libsoup 3.
96+
""",
9097
// Download Single Setup
9198
[nameof(CopyMenuItem)] = "Copier",
9299
[nameof(LiveLabel)] = "En direct",

‎YoutubeDownloader/Localization/LocalizationManager.German.cs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,14 @@ Vorlage für die Generierung von Dateinamen heruntergeladener Videos.
8585
[nameof(AuthenticationTitle)] = "Authentifizierung",
8686
[nameof(AuthenticatedText)] = "Sie sind derzeit authentifiziert",
8787
[nameof(LogOutButton)] = "Abmelden",
88-
[nameof(LoadingText)] = "Laden...",
88+
[nameof(AuthenticationPlaceholderText)] = """
89+
Laden...
90+
91+
Wenn der Browser nicht erscheint:
92+
- Windows: Installieren Sie Microsoft Edge WebView2 Runtime.
93+
- macOS: Installieren Sie die neuesten Systemupdates.
94+
- Linux: Installieren Sie GTK 3, WebKitGTK 4.1 und libsoup 3.
95+
""",
8996
// Download Single Setup
9097
[nameof(CopyMenuItem)] = "Kopieren",
9198
[nameof(LiveLabel)] = "Live",

‎YoutubeDownloader/Localization/LocalizationManager.Hungarian.cs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,14 @@ A letöltött videók fájlnevének létrehozásához használt minta.
8181
[nameof(AuthenticationTitle)] = "Bejelentkezés",
8282
[nameof(AuthenticatedText)] = "Be vagy jelentkezve",
8383
[nameof(LogOutButton)] = "Kijelentkezés",
84-
[nameof(LoadingText)] = "Betöltés...",
84+
[nameof(AuthenticationPlaceholderText)] = """
85+
Betöltés...
86+
87+
Ha a böngésző nem jelenik meg:
88+
- Windows: telepítsd a Microsoft Edge WebView2 Runtime-ot.
89+
- macOS: telepítsd a legújabb rendszerfrissítéseket.
90+
- Linux: telepítsd a GTK 3-at, a WebKitGTK 4.1-et és a libsoup 3-at.
91+
""",
8592
// Download Single Setup
8693
[nameof(CopyMenuItem)] = "Másolás",
8794
[nameof(LiveLabel)] = "Élő",

‎YoutubeDownloader/Localization/LocalizationManager.Spanish.cs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,14 @@ Plantilla para generar nombres de archivo de los videos descargados.
8585
[nameof(AuthenticationTitle)] = "Autenticación",
8686
[nameof(AuthenticatedText)] = "Actualmente estás autenticado",
8787
[nameof(LogOutButton)] = "Cerrar sesión",
88-
[nameof(LoadingText)] = "Cargando...",
88+
[nameof(AuthenticationPlaceholderText)] = """
89+
Cargando...
90+
91+
Si el navegador no aparece:
92+
- Windows: instala Microsoft Edge WebView2 Runtime.
93+
- macOS: instala las últimas actualizaciones del sistema.
94+
- Linux: instala GTK 3, WebKitGTK 4.1 y libsoup 3.
95+
""",
8996
// Download Single Setup
9097
[nameof(CopyMenuItem)] = "Copiar",
9198
[nameof(LiveLabel)] = "En vivo",

‎YoutubeDownloader/Localization/LocalizationManager.Ukrainian.cs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,14 @@ Шаблон для генерації імен файлів завантаже
8282
[nameof(AuthenticationTitle)] = "Автентифікація",
8383
[nameof(AuthenticatedText)] = "Ви автентифіковані",
8484
[nameof(LogOutButton)] = "Вийти",
85-
[nameof(LoadingText)] = "Завантаження...",
85+
[nameof(AuthenticationPlaceholderText)] = """
86+
Завантаження...
87+
88+
Якщо браузер не відображається:
89+
- Windows: встановіть Microsoft Edge WebView2 Runtime.
90+
- macOS: встановіть останні оновлення системи.
91+
- Linux: встановіть GTK 3, WebKitGTK 4.1 і libsoup 3.
92+
""",
8693
// Download Single Setup
8794
[nameof(CopyMenuItem)] = "Копіювати",
8895
[nameof(LiveLabel)] = "Живе",

‎YoutubeDownloader/Localization/LocalizationManager.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public partial class LocalizationManager
138138
public string AuthenticationTitle => Get();
139139
public string AuthenticatedText => Get();
140140
public string LogOutButton => Get();
141-
public string LoadingText => Get();
141+
public string AuthenticationPlaceholderText => Get();
142142

143143
// ---- Download Single Setup ----
144144

‎YoutubeDownloader/Views/Dialogs/AuthSetupView.axaml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
VerticalAlignment="Center"
6464
FontSize="18"
6565
IsVisible="{Binding !IsAuthenticated}"
66-
Text="{Binding LocalizationManager.LoadingText}" />
66+
Text="{Binding LocalizationManager.AuthenticationPlaceholderText}"
67+
TextWrapping="Wrap" />
6768

6869
<!-- Browser -->
6970
<NativeWebView

0 commit comments

Comments
 (0)