From a919da6b4a73f38e0fcb8756e0a7b291a4d31a4b Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 7 Nov 2024 11:11:35 +0800 Subject: [PATCH] code_style: remove unused code and resources Signed-off-by: leo --- src/Models/Notification.cs | 5 ----- src/Resources/Locales/de_DE.axaml | 1 - src/Resources/Locales/en_US.axaml | 1 - src/Resources/Locales/es_ES.axaml | 1 - src/Resources/Locales/fr_FR.axaml | 1 - src/Resources/Locales/pt_BR.axaml | 1 - src/Resources/Locales/ru_RU.axaml | 1 - src/Resources/Locales/zh_CN.axaml | 1 - src/Resources/Locales/zh_TW.axaml | 1 - 9 files changed, 13 deletions(-) diff --git a/src/Models/Notification.cs b/src/Models/Notification.cs index 2261e327..473947b0 100644 --- a/src/Models/Notification.cs +++ b/src/Models/Notification.cs @@ -4,10 +4,5 @@ { public bool IsError { get; set; } = false; public string Message { get; set; } = string.Empty; - - public void CopyMessage() - { - App.CopyText(Message); - } } } diff --git a/src/Resources/Locales/de_DE.axaml b/src/Resources/Locales/de_DE.axaml index e45eecdb..99ab3f1c 100644 --- a/src/Resources/Locales/de_DE.axaml +++ b/src/Resources/Locales/de_DE.axaml @@ -170,7 +170,6 @@ Art der Änderung: Kopieren Kopiere gesamten Text - COMMIT-NACHRICHT KOPIEREN Pfad kopieren Dateinamen kopieren Branch erstellen... diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml index 7393fd19..8e905d6e 100644 --- a/src/Resources/Locales/en_US.axaml +++ b/src/Resources/Locales/en_US.axaml @@ -185,7 +185,6 @@ Type of Change: Copy Copy All Text - COPY MESSAGE Copy Path Copy File Name Create Branch... diff --git a/src/Resources/Locales/es_ES.axaml b/src/Resources/Locales/es_ES.axaml index 88a1e78d..43296be0 100644 --- a/src/Resources/Locales/es_ES.axaml +++ b/src/Resources/Locales/es_ES.axaml @@ -190,7 +190,6 @@ Tipo de Cambio: Copiar Copiar Todo el Texto - COPIAR MENSAJE Copiar Ruta Copiar Nombre del Archivo Crear Rama... diff --git a/src/Resources/Locales/fr_FR.axaml b/src/Resources/Locales/fr_FR.axaml index e096071f..f50b8f34 100644 --- a/src/Resources/Locales/fr_FR.axaml +++ b/src/Resources/Locales/fr_FR.axaml @@ -152,7 +152,6 @@ Copier Copier tout le texte Copier le nom de fichier - COPIER LE MESSAGE Copier le chemin Créer une branche... Basé sur : diff --git a/src/Resources/Locales/pt_BR.axaml b/src/Resources/Locales/pt_BR.axaml index c9e0f915..0aba0a5d 100644 --- a/src/Resources/Locales/pt_BR.axaml +++ b/src/Resources/Locales/pt_BR.axaml @@ -148,7 +148,6 @@ Configurar Repositório Copiar Copiar Nome do Arquivo - COPIAR MENSAGEM Copiar Caminho Baseado Em: Checar o branch criado diff --git a/src/Resources/Locales/ru_RU.axaml b/src/Resources/Locales/ru_RU.axaml index d2076099..c7c327fe 100644 --- a/src/Resources/Locales/ru_RU.axaml +++ b/src/Resources/Locales/ru_RU.axaml @@ -189,7 +189,6 @@ Тип изменения: Копировать Копировать весь текст - КОПИРОВАТЬ СООБЩЕНИЕ Копировать путь Копировать имя файла Создать ветку... diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml index dd457295..4ecb5734 100644 --- a/src/Resources/Locales/zh_CN.axaml +++ b/src/Resources/Locales/zh_CN.axaml @@ -188,7 +188,6 @@ 类型: 复制 复制全部文本 - 复制内容 复制路径 复制文件名 新建分支 ... diff --git a/src/Resources/Locales/zh_TW.axaml b/src/Resources/Locales/zh_TW.axaml index c4963c39..8d9f0325 100644 --- a/src/Resources/Locales/zh_TW.axaml +++ b/src/Resources/Locales/zh_TW.axaml @@ -188,7 +188,6 @@ 類型: 複製 複製全部內容 - 複製內容 複製路徑 複製檔案名稱 新增分支...