diff --git a/LICENSE b/LICENSE
index dceab2d8..442ce085 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2024 sourcegit
+Copyright (c) 2025 sourcegit
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
@@ -17,4 +17,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/src/Resources/Locales/de_DE.axaml b/src/Resources/Locales/de_DE.axaml
index c16c90b5..1d0ca895 100644
--- a/src/Resources/Locales/de_DE.axaml
+++ b/src/Resources/Locales/de_DE.axaml
@@ -6,7 +6,6 @@
Über SourceGit
• Erstellt mit
• Grafik gerendert durch
- © 2024 sourcegit-scm
• Texteditor von
• Monospace-Schriftarten von
• Quelltext findest du auf
diff --git a/src/Resources/Locales/en_US.axaml b/src/Resources/Locales/en_US.axaml
index 6c397ea0..5208a269 100644
--- a/src/Resources/Locales/en_US.axaml
+++ b/src/Resources/Locales/en_US.axaml
@@ -3,7 +3,6 @@
About SourceGit
• Build with
• Chart is rendered by
- © 2024 sourcegit-scm
• TextEditor from
• Monospace fonts come from
• Source code can be found at
diff --git a/src/Resources/Locales/es_ES.axaml b/src/Resources/Locales/es_ES.axaml
index ef98a1a2..bf635321 100644
--- a/src/Resources/Locales/es_ES.axaml
+++ b/src/Resources/Locales/es_ES.axaml
@@ -6,7 +6,6 @@
Acerca de SourceGit
• Construido con
• El gráfico es renderizado por
- © 2024 sourcegit-scm
• Editor de texto de
• Las fuentes monoespaciadas provienen de
• El código fuente se puede encontrar en
diff --git a/src/Resources/Locales/fr_FR.axaml b/src/Resources/Locales/fr_FR.axaml
index b269424a..59fe00a8 100644
--- a/src/Resources/Locales/fr_FR.axaml
+++ b/src/Resources/Locales/fr_FR.axaml
@@ -6,7 +6,6 @@
À propos de SourceGit
• Compilé avec
• Le graphique est rendu par
- © 2024 sourcegit-scm
• TextEditor de
• Les polices Monospace proviennent de
• Le code source est disponible sur
diff --git a/src/Resources/Locales/it_IT.axaml b/src/Resources/Locales/it_IT.axaml
index d7d01f1d..6e99decf 100644
--- a/src/Resources/Locales/it_IT.axaml
+++ b/src/Resources/Locales/it_IT.axaml
@@ -6,7 +6,6 @@
Informazioni su SourceGit
• Creato con
• Il grafico è reso da
- © 2024 sourcegit-scm
• Editor di testo da
• I font monospaziati provengono da
• Il codice sorgente è disponibile su
diff --git a/src/Resources/Locales/pt_BR.axaml b/src/Resources/Locales/pt_BR.axaml
index a318cfa8..78445bfb 100644
--- a/src/Resources/Locales/pt_BR.axaml
+++ b/src/Resources/Locales/pt_BR.axaml
@@ -31,7 +31,6 @@
Sobre o SourceGit
• Construído com
• Gráfico desenhado por
- © 2024 sourcegit-scm
• Editor de Texto de
• Fontes monoespaçadas de
• Código-fonte pode ser encontrado em
diff --git a/src/Resources/Locales/ru_RU.axaml b/src/Resources/Locales/ru_RU.axaml
index a1c40764..4468650b 100644
--- a/src/Resources/Locales/ru_RU.axaml
+++ b/src/Resources/Locales/ru_RU.axaml
@@ -6,7 +6,6 @@
О SourceGit
• Сборка с
• Диаграмма отображается с помощью
- © 2024 sourcegit-scm
• Текстовый редактор от
• Моноширинные шрифты взяты из
• Исходный код можно найти по адресу
diff --git a/src/Resources/Locales/zh_CN.axaml b/src/Resources/Locales/zh_CN.axaml
index 09c46e95..0e8b9f7d 100644
--- a/src/Resources/Locales/zh_CN.axaml
+++ b/src/Resources/Locales/zh_CN.axaml
@@ -6,7 +6,6 @@
关于本软件
• 项目依赖于
• 图表绘制组件来自
- © 2024 sourcegit-scm
• 文本编辑器使用
• 等宽字体来自于
• 项目源代码地址
diff --git a/src/Resources/Locales/zh_TW.axaml b/src/Resources/Locales/zh_TW.axaml
index 0eb54676..f4cfad08 100644
--- a/src/Resources/Locales/zh_TW.axaml
+++ b/src/Resources/Locales/zh_TW.axaml
@@ -6,7 +6,6 @@
關於 SourceGit
• 專案依賴於
• 圖表繪製元件來自
- © 2024 sourcegit-scm
• 文字編輯器使用
• 等寬字型來自於
• 專案原始碼網址
diff --git a/src/SourceGit.csproj b/src/SourceGit.csproj
index 4183511e..c001fca0 100644
--- a/src/SourceGit.csproj
+++ b/src/SourceGit.csproj
@@ -13,7 +13,7 @@
SourceGit
OpenSource GIT client
sourcegit-scm
- Copyright © 2024 sourcegit-scm.
+ Copyright © $([System.DateTime]::Now.Year) sourcegit-scm.
MIT
https://github.com/sourcegit-scm/sourcegit.git
https://github.com/sourcegit-scm/sourcegit.git
diff --git a/src/Views/About.axaml b/src/Views/About.axaml
index d781ee9e..6e45ab70 100644
--- a/src/Views/About.axaml
+++ b/src/Views/About.axaml
@@ -52,7 +52,7 @@
-
+
diff --git a/src/Views/About.axaml.cs b/src/Views/About.axaml.cs
index b02cd13f..bbfd659c 100644
--- a/src/Views/About.axaml.cs
+++ b/src/Views/About.axaml.cs
@@ -11,11 +11,21 @@ namespace SourceGit.Views
private set;
}
+ public string Copyright
+ {
+ get;
+ private set;
+ }
+
public About()
{
var ver = Assembly.GetExecutingAssembly().GetName().Version;
if (ver != null)
Version = $"{ver.Major}.{ver.Minor}";
+ var attributes = Assembly.GetExecutingAssembly()
+ .GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
+ if (attributes.Length > 0)
+ Copyright = ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
DataContext = this;
InitializeComponent();