mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-06-14 11:26:33 +00:00
Remove TokenPersonalStep1Before/After split, fold step 1 into markdown instructions
Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
This commit is contained in:
@@ -16,9 +16,8 @@ public partial class LocalizationManager
|
||||
[nameof(TokenPersonalHeader)] = "To get the token for your personal account:",
|
||||
[nameof(TokenPersonalTosWarning)] =
|
||||
"* Automating user accounts is technically against TOS — **use at your own risk**!",
|
||||
[nameof(TokenPersonalStep1Before)] = "1. Open Discord in your",
|
||||
[nameof(TokenPersonalStep1After)] = "and login",
|
||||
[nameof(TokenPersonalInstructions)] = """
|
||||
1. Open Discord in your web browser and login
|
||||
2. Open any server or direct message channel
|
||||
3. Press **Ctrl+Shift+I** to show developer tools
|
||||
4. Navigate to the **Network** tab
|
||||
@@ -29,7 +28,6 @@ public partial class LocalizationManager
|
||||
9. Scroll down to the **Request Headers** section
|
||||
10. Copy the value of the **authorization** header
|
||||
""",
|
||||
[nameof(TokenWebBrowserLinkText)] = "web browser",
|
||||
// Token instructions (bot)
|
||||
[nameof(TokenBotHeader)] = "To get the token for your bot:",
|
||||
[nameof(TokenBotIntro)] =
|
||||
|
||||
@@ -18,9 +18,8 @@ public partial class LocalizationManager
|
||||
[nameof(TokenPersonalHeader)] = "Obtenir le token pour votre compte personnel :",
|
||||
[nameof(TokenPersonalTosWarning)] =
|
||||
"* L'automatisation des comptes est techniquement contraire aux CGU — **à vos risques et périls**!",
|
||||
[nameof(TokenPersonalStep1Before)] = "1. Ouvrez Discord dans votre",
|
||||
[nameof(TokenPersonalStep1After)] = "et connectez-vous",
|
||||
[nameof(TokenPersonalInstructions)] = """
|
||||
1. Ouvrez Discord dans votre navigateur web et connectez-vous
|
||||
2. Ouvrez n'importe quel serveur ou canal de message direct
|
||||
3. Appuyez sur **Ctrl+Shift+I** pour afficher les outils de développement
|
||||
4. Naviguez vers l'onglet **Network**
|
||||
@@ -31,7 +30,6 @@ public partial class LocalizationManager
|
||||
9. Faites défiler jusqu'à la section **Request Headers**
|
||||
10. Copiez la valeur de l'en-tête **authorization**
|
||||
""",
|
||||
[nameof(TokenWebBrowserLinkText)] = "navigateur web",
|
||||
// Token instructions (bot)
|
||||
[nameof(TokenBotHeader)] = "Obtenir le token pour votre bot :",
|
||||
[nameof(TokenBotIntro)] =
|
||||
|
||||
@@ -18,9 +18,8 @@ public partial class LocalizationManager
|
||||
[nameof(TokenPersonalHeader)] = "Token für Ihr persönliches Konto abrufen:",
|
||||
[nameof(TokenPersonalTosWarning)] =
|
||||
"* Das Automatisieren von Benutzerkonten verstößt technisch gegen die AGB — **auf eigene Gefahr**!",
|
||||
[nameof(TokenPersonalStep1Before)] = "1. Öffnen Sie Discord in Ihrem",
|
||||
[nameof(TokenPersonalStep1After)] = "und melden Sie sich an",
|
||||
[nameof(TokenPersonalInstructions)] = """
|
||||
1. Öffnen Sie Discord in Ihrem Webbrowser und melden Sie sich an
|
||||
2. Öffnen Sie einen Server oder einen direkten Nachrichtenkanal
|
||||
3. Drücken Sie **Ctrl+Shift+I**, um die Entwicklertools anzuzeigen
|
||||
4. Navigieren Sie zum Reiter **Network**
|
||||
@@ -31,7 +30,6 @@ public partial class LocalizationManager
|
||||
9. Scrollen Sie nach unten zum Abschnitt **Request Headers**
|
||||
10. Kopieren Sie den Wert des Headers **authorization**
|
||||
""",
|
||||
[nameof(TokenWebBrowserLinkText)] = "Webbrowser",
|
||||
// Token instructions (bot)
|
||||
[nameof(TokenBotHeader)] = "Token für Ihren Bot abrufen:",
|
||||
[nameof(TokenBotIntro)] =
|
||||
|
||||
@@ -16,9 +16,8 @@ public partial class LocalizationManager
|
||||
[nameof(TokenPersonalHeader)] = "Cómo obtener el token para tu cuenta personal:",
|
||||
[nameof(TokenPersonalTosWarning)] =
|
||||
"* Automatizar cuentas de usuario técnicamente va en contra de los ToS — **bajo tu propio riesgo**!",
|
||||
[nameof(TokenPersonalStep1Before)] = "1. Abre Discord en tu",
|
||||
[nameof(TokenPersonalStep1After)] = "e inicia sesión",
|
||||
[nameof(TokenPersonalInstructions)] = """
|
||||
1. Abre Discord en tu navegador web e inicia sesión
|
||||
2. Abre cualquier servidor o canal de mensaje directo
|
||||
3. Presiona **Ctrl+Shift+I** para mostrar las herramientas de desarrollo
|
||||
4. Navega a la pestaña **Network**
|
||||
@@ -29,7 +28,6 @@ public partial class LocalizationManager
|
||||
9. Desplázate hasta la sección **Request Headers**
|
||||
10. Copia el valor del encabezado **authorization**
|
||||
""",
|
||||
[nameof(TokenWebBrowserLinkText)] = "navegador web",
|
||||
// Token instructions (bot)
|
||||
[nameof(TokenBotHeader)] = "Cómo obtener el token para tu bot:",
|
||||
[nameof(TokenBotIntro)] =
|
||||
|
||||
@@ -16,9 +16,8 @@ public partial class LocalizationManager
|
||||
[nameof(TokenPersonalHeader)] = "Як отримати токен для персонального акаунту:",
|
||||
[nameof(TokenPersonalTosWarning)] =
|
||||
"* Автоматизація облікових записів технічно порушує Умови обслуговування — **на власний ризик**!",
|
||||
[nameof(TokenPersonalStep1Before)] = "1. Відкрийте Discord у вашому",
|
||||
[nameof(TokenPersonalStep1After)] = "та увійдіть",
|
||||
[nameof(TokenPersonalInstructions)] = """
|
||||
1. Відкрийте Discord у вашому веб-браузері та увійдіть
|
||||
2. Відкрийте будь-який сервер або канал особистих повідомлень
|
||||
3. Натисніть **Ctrl+Shift+I**, щоб відкрити інструменти розробника
|
||||
4. Перейдіть на вкладку **Network**
|
||||
@@ -29,7 +28,6 @@ public partial class LocalizationManager
|
||||
9. Прокрутіть до розділу **Request Headers**
|
||||
10. Скопіюйте значення заголовка **authorization**
|
||||
""",
|
||||
[nameof(TokenWebBrowserLinkText)] = "веб-браузер",
|
||||
// Token instructions (bot)
|
||||
[nameof(TokenBotHeader)] = "Як отримати токен для бота:",
|
||||
[nameof(TokenBotIntro)] =
|
||||
|
||||
@@ -87,10 +87,7 @@ public partial class LocalizationManager
|
||||
// Token instructions (personal account)
|
||||
public string TokenPersonalHeader => Get();
|
||||
public string TokenPersonalTosWarning => Get();
|
||||
public string TokenPersonalStep1Before => Get();
|
||||
public string TokenPersonalStep1After => Get();
|
||||
public string TokenPersonalInstructions => Get();
|
||||
public string TokenWebBrowserLinkText => Get();
|
||||
|
||||
// Token instructions (bot)
|
||||
public string TokenBotHeader => Get();
|
||||
|
||||
@@ -248,12 +248,6 @@
|
||||
|
||||
<TextBlock Inlines="{Binding LocalizationManager.TokenPersonalTosWarning, Converter={x:Static converters:MarkdownToInlinesConverter.Instance}}" />
|
||||
|
||||
<TextBlock>
|
||||
<Run Text="{Binding LocalizationManager.TokenPersonalStep1Before}" />
|
||||
<controls:HyperLink Command="{Binding OpenDiscordCommand}" Text="{Binding LocalizationManager.TokenWebBrowserLinkText}" />
|
||||
<Run Text="{Binding LocalizationManager.TokenPersonalStep1After}" />
|
||||
</TextBlock>
|
||||
|
||||
<TextBlock Inlines="{Binding LocalizationManager.TokenPersonalInstructions, Converter={x:Static converters:MarkdownToInlinesConverter.Instance}}" />
|
||||
|
||||
<!-- Bot token -->
|
||||
|
||||
Reference in New Issue
Block a user