File tree Expand file tree Collapse file tree 14 files changed +28
-81
lines changed Expand file tree Collapse file tree 14 files changed +28
-81
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,19 @@ public static double OpacityForNotMerged
52
52
public Thickness Margin { get ; set ; } = new ( 0 ) ;
53
53
public IBrush Brush => CommitGraph . Pens [ Color ] . Brush ;
54
54
55
+ public string GetFriendlyName ( )
56
+ {
57
+ var branchDecorator = Decorators . Find ( x => x . Type is DecoratorType . LocalBranchHead or DecoratorType . RemoteBranchHead ) ;
58
+ if ( branchDecorator != null )
59
+ return branchDecorator . Name ;
60
+
61
+ var tagDecorator = Decorators . Find ( x => x . Type is DecoratorType . Tag ) ;
62
+ if ( tagDecorator != null )
63
+ return tagDecorator . Name ;
64
+
65
+ return SHA [ ..10 ] ;
66
+ }
67
+
55
68
public void ParseDecorators ( string data )
56
69
{
57
70
if ( data . Length < 3 )
Original file line number Diff line number Diff line change 124
124
<x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
125
125
<x : String x : Key =" Text.CommitCM.CopySubject" xml : space =" preserve" >Betreff</x : String >
126
126
<x : String x : Key =" Text.CommitCM.CustomAction" xml : space =" preserve" >Benutzerdefinierte Aktion</x : String >
127
- <x : String x : Key =" Text.CommitCM.InteractiveRebase" xml : space =" preserve" >Interactives Rebase von ${0}$ auf diesen Commit</x : String >
128
127
<x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Merge in ${0}$ hinein</x : String >
129
128
<x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >Merge ...</x : String >
130
129
<x : String x : Key =" Text.CommitCM.PushRevision" xml : space =" preserve" >Push ${0}$ zu ${1}$</x : String >
131
- <x : String x : Key =" Text.CommitCM.Rebase" xml : space =" preserve" >Rebase von ${0}$ auf diesen Commit</x : String >
132
- <x : String x : Key =" Text.CommitCM.Reset" xml : space =" preserve" >Reset ${0}$ auf diesen Commit</x : String >
133
130
<x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Commit rückgängig machen</x : String >
134
131
<x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Umformulieren</x : String >
135
132
<x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Als Patch speichern...</x : String >
136
133
<x : String x : Key =" Text.CommitCM.Squash" xml : space =" preserve" >Squash in den Vorgänger</x : String >
137
- <x : String x : Key =" Text.CommitCM.SquashCommitsSinceThis" xml : space =" preserve" >Squash Nachfolger Commits bis hier</x : String >
138
134
<x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >ÄNDERUNGEN</x : String >
139
135
<x : String x : Key =" Text.CommitDetail.Changes.Count" xml : space =" preserve" >geänderte Datei(en)</x : String >
140
136
<x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Änderungen durchsuchen...</x : String >
Original file line number Diff line number Diff line change 122
122
<x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
123
123
<x : String x : Key =" Text.CommitCM.CopySubject" xml : space =" preserve" >Asunto</x : String >
124
124
<x : String x : Key =" Text.CommitCM.CustomAction" xml : space =" preserve" >Acción personalizada</x : String >
125
- <x : String x : Key =" Text.CommitCM.InteractiveRebase" xml : space =" preserve" >Rebase Interactivo ${0}$ hasta Aquí</x : String >
126
125
<x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Merge a ${0}$</x : String >
127
126
<x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >Merge ...</x : String >
128
127
<x : String x : Key =" Text.CommitCM.PushRevision" xml : space =" preserve" >Push ${0}$ a ${1}$</x : String >
129
- <x : String x : Key =" Text.CommitCM.Rebase" xml : space =" preserve" >Rebase ${0}$ hasta Aquí</x : String >
130
- <x : String x : Key =" Text.CommitCM.Reset" xml : space =" preserve" >Reset ${0}$ hasta Aquí</x : String >
131
128
<x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Revertir Commit</x : String >
132
129
<x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Reescribir</x : String >
133
130
<x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Guardar como Parche...</x : String >
134
131
<x : String x : Key =" Text.CommitCM.Squash" xml : space =" preserve" >Squash en Parent</x : String >
135
- <x : String x : Key =" Text.CommitCM.SquashCommitsSinceThis" xml : space =" preserve" >Squash Commits Hijos hasta Aquí</x : String >
136
132
<x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >CAMBIOS</x : String >
137
133
<x : String x : Key =" Text.CommitDetail.Changes.Count" xml : space =" preserve" >archivo(s) modificado(s)</x : String >
138
134
<x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Buscar Cambios...</x : String >
Original file line number Diff line number Diff line change 103
103
<x : String x : Key =" Text.CommitCM.CompareWithWorktree" xml : space =" preserve" >Comparer avec le worktree</x : String >
104
104
<x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
105
105
<x : String x : Key =" Text.CommitCM.CustomAction" xml : space =" preserve" >Action personnalisée</x : String >
106
- <x : String x : Key =" Text.CommitCM.InteractiveRebase" xml : space =" preserve" >Rebase interactif de ${0}$ ici</x : String >
107
106
<x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Fusionner dans ${0}$</x : String >
108
107
<x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >Fusionner ...</x : String >
109
- <x : String x : Key =" Text.CommitCM.Rebase" xml : space =" preserve" >Rebaser ${0}$ ici</x : String >
110
- <x : String x : Key =" Text.CommitCM.Reset" xml : space =" preserve" >Réinitialiser ${0}$ ici</x : String >
111
108
<x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Annuler le commit</x : String >
112
109
<x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Reformuler</x : String >
113
110
<x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Enregistrer en tant que patch...</x : String >
114
111
<x : String x : Key =" Text.CommitCM.Squash" xml : space =" preserve" >Squash dans le parent</x : String >
115
- <x : String x : Key =" Text.CommitCM.SquashCommitsSinceThis" xml : space =" preserve" >Squash les commits enfants ici</x : String >
116
112
<x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >CHANGEMENTS</x : String >
117
113
<x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Rechercher les changements...</x : String >
118
114
<x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >FICHIERS</x : String >
Original file line number Diff line number Diff line change 114
114
<x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
115
115
<x : String x : Key =" Text.CommitCM.CopySubject" xml : space =" preserve" >Oggetto</x : String >
116
116
<x : String x : Key =" Text.CommitCM.CustomAction" xml : space =" preserve" >Azione Personalizzata</x : String >
117
- <x : String x : Key =" Text.CommitCM.InteractiveRebase" xml : space =" preserve" >Riallinea Interattivamente ${0}$ fino a Qui</x : String >
118
117
<x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Unisci a ${0}$</x : String >
119
118
<x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >Unisci ...</x : String >
120
- <x : String x : Key =" Text.CommitCM.Rebase" xml : space =" preserve" >Riallinea ${0}$ fino a Qui</x : String >
121
- <x : String x : Key =" Text.CommitCM.Reset" xml : space =" preserve" >Ripristina ${0}$ fino a Qui</x : String >
122
119
<x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Annulla Commit</x : String >
123
120
<x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Modifica</x : String >
124
121
<x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Salva come Patch...</x : String >
125
122
<x : String x : Key =" Text.CommitCM.Squash" xml : space =" preserve" >Compatta nel Genitore</x : String >
126
- <x : String x : Key =" Text.CommitCM.SquashCommitsSinceThis" xml : space =" preserve" >Compatta Commit Figli fino a Qui</x : String >
127
123
<x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >MODIFICHE</x : String >
128
124
<x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Cerca Modifiche...</x : String >
129
125
<x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >FILE</x : String >
Original file line number Diff line number Diff line change 102
102
<x : String x : Key =" Text.CommitCM.CompareWithWorktree" xml : space =" preserve" >ワークツリーと比較</x : String >
103
103
<x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
104
104
<x : String x : Key =" Text.CommitCM.CustomAction" xml : space =" preserve" >カスタムアクション</x : String >
105
- <x : String x : Key =" Text.CommitCM.InteractiveRebase" xml : space =" preserve" >${0}$ ブランチをここにインタラクティブリベース</x : String >
106
105
<x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >${0}$ にマージ</x : String >
107
106
<x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >マージ...</x : String >
108
- <x : String x : Key =" Text.CommitCM.Rebase" xml : space =" preserve" >${0}$ をここにリベース</x : String >
109
- <x : String x : Key =" Text.CommitCM.Reset" xml : space =" preserve" >${0}$ ブランチをここにリセット</x : String >
110
107
<x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >コミットを戻す</x : String >
111
108
<x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >書き直す</x : String >
112
109
<x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >パッチとして保存...</x : String >
113
110
<x : String x : Key =" Text.CommitCM.Squash" xml : space =" preserve" >親にスカッシュ</x : String >
114
- <x : String x : Key =" Text.CommitCM.SquashCommitsSinceThis" xml : space =" preserve" >子コミットをここにスカッシュ</x : String >
115
111
<x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >変更</x : String >
116
112
<x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >変更を検索...</x : String >
117
113
<x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >ファイル</x : String >
Original file line number Diff line number Diff line change 93
93
<x : String x : Key =" Text.CommitCM.CompareWithWorktree" xml : space =" preserve" >Comparar com Worktree</x : String >
94
94
<x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
95
95
<x : String x : Key =" Text.CommitCM.CustomAction" xml : space =" preserve" >Ação customizada</x : String >
96
- <x : String x : Key =" Text.CommitCM.InteractiveRebase" xml : space =" preserve" >Rebase Interativo ${0}$ até Aqui</x : String >
97
- <x : String x : Key =" Text.CommitCM.Rebase" xml : space =" preserve" >Rebase ${0}$ até Aqui</x : String >
98
- <x : String x : Key =" Text.CommitCM.Reset" xml : space =" preserve" >Resetar ${0}$ até Aqui</x : String >
99
96
<x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Reverter Commit</x : String >
100
97
<x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Modificar Mensagem</x : String >
101
98
<x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Salvar como Patch...</x : String >
102
99
<x : String x : Key =" Text.CommitCM.Squash" xml : space =" preserve" >Mesclar ao Commit Pai</x : String >
103
- <x : String x : Key =" Text.CommitCM.SquashCommitsSinceThis" xml : space =" preserve" >Mesclar commits filhos para este</x : String >
104
100
<x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >ALTERAÇÕES</x : String >
105
101
<x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Buscar Alterações...</x : String >
106
102
<x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >ARQUIVOS</x : String >
Original file line number Diff line number Diff line change 127
127
<x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
128
128
<x : String x : Key =" Text.CommitCM.CopySubject" xml : space =" preserve" >Субъект</x : String >
129
129
<x : String x : Key =" Text.CommitCM.CustomAction" xml : space =" preserve" >Пользовательское действие</x : String >
130
- <x : String x : Key =" Text.CommitCM.InteractiveRebase" xml : space =" preserve" >Интерактивное перемещение (rebase -i) ${0}$ сюда</x : String >
131
130
<x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Влить в ${0}$</x : String >
132
131
<x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >Влить ...</x : String >
133
132
<x : String x : Key =" Text.CommitCM.PushRevision" xml : space =" preserve" >Выложить ${0}$ в ${1}$</x : String >
134
- <x : String x : Key =" Text.CommitCM.Rebase" xml : space =" preserve" >Переместить ${0}$ сюда</x : String >
135
- <x : String x : Key =" Text.CommitCM.Reset" xml : space =" preserve" >Сбросить ${0}$ сюда</x : String >
136
133
<x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Отменить ревизию</x : String >
137
134
<x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Изменить комментарий</x : String >
138
135
<x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Сохранить как заплатки...</x : String >
139
136
<x : String x : Key =" Text.CommitCM.Squash" xml : space =" preserve" >Объединить с предыдущей ревизией</x : String >
140
- <x : String x : Key =" Text.CommitCM.SquashCommitsSinceThis" xml : space =" preserve" >Объединить все следующие ревизии с этим</x : String >
141
137
<x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >ИЗМЕНЕНИЯ</x : String >
142
138
<x : String x : Key =" Text.CommitDetail.Changes.Count" xml : space =" preserve" >изменённый(х) файл(ов)</x : String >
143
139
<x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Найти изменения....</x : String >
Original file line number Diff line number Diff line change 102
102
<x : String x : Key =" Text.CommitCM.CompareWithWorktree" xml : space =" preserve" >பணிமரத்துடன் ஒப்பிடுக</x : String >
103
103
<x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >பாகொவ-வை</x : String >
104
104
<x : String x : Key =" Text.CommitCM.CustomAction" xml : space =" preserve" >தனிப்பயன் செயல்</x : String >
105
- <x : String x : Key =" Text.CommitCM.InteractiveRebase" xml : space =" preserve" >இங்கே ${0}$ ஐ ஊடாடும் வகையில் மறுதளம்</x : String >
106
105
<x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >${0}$ இதற்கு ஒன்றிணை</x : String >
107
106
<x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >ஒன்றிணை ...</x : String >
108
- <x : String x : Key =" Text.CommitCM.Rebase" xml : space =" preserve" >இங்கே ${0}$ ஐ மறுதளம்</x : String >
109
- <x : String x : Key =" Text.CommitCM.Reset" xml : space =" preserve" >${0}$ ஐ இங்கே மீட்டமை</x : String >
110
107
<x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >உறுதிமொழி திரும்பபெறு</x : String >
111
108
<x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >வேறுமொழி</x : String >
112
109
<x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >ஒட்டாக சேமி...</x : String >
113
110
<x : String x : Key =" Text.CommitCM.Squash" xml : space =" preserve" >பெற்றோர்களில் நொறுக்கு</x : String >
114
- <x : String x : Key =" Text.CommitCM.SquashCommitsSinceThis" xml : space =" preserve" >நொறுக்கு குழந்தைகள் இங்கே சேர்</x : String >
115
111
<x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >மாற்றங்கள்</x : String >
116
112
<x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >மாற்றங்களைத் தேடு...</x : String >
117
113
<x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >கோப்புகள்</x : String >
Original file line number Diff line number Diff line change 103
103
<x : String x : Key =" Text.CommitCM.CompareWithWorktree" xml : space =" preserve" >Порівняти з робочим деревом</x : String >
104
104
<x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
105
105
<x : String x : Key =" Text.CommitCM.CustomAction" xml : space =" preserve" >Спеціальна дія</x : String >
106
- <x : String x : Key =" Text.CommitCM.InteractiveRebase" xml : space =" preserve" >Інтерактивно перебазувати ${0}$ сюди</x : String >
107
106
<x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Злиття в ${0}$</x : String >
108
107
<x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >Злити ...</x : String >
109
- <x : String x : Key =" Text.CommitCM.Rebase" xml : space =" preserve" >Перебазувати ${0}$ сюди</x : String >
110
- <x : String x : Key =" Text.CommitCM.Reset" xml : space =" preserve" >Скинути ${0}$ сюди</x : String >
111
108
<x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Скасувати коміт</x : String >
112
109
<x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Змінити повідомлення</x : String >
113
110
<x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Зберегти як патч...</x : String >
114
111
<x : String x : Key =" Text.CommitCM.Squash" xml : space =" preserve" >Склеїти з батьківським комітом</x : String >
115
- <x : String x : Key =" Text.CommitCM.SquashCommitsSinceThis" xml : space =" preserve" >Склеїти дочірні коміти сюди</x : String >
116
112
<x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >ЗМІНИ</x : String >
117
113
<x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Пошук змін...</x : String >
118
114
<x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >ФАЙЛИ</x : String >
You can’t perform that action at this time.
0 commit comments