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
5252 public Thickness Margin { get ; set ; } = new ( 0 ) ;
5353 public IBrush Brush => CommitGraph . Pens [ Color ] . Brush ;
5454
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+
5568 public void ParseDecorators ( string data )
5669 {
5770 if ( data . Length < 3 )
Original file line number Diff line number Diff line change 124124 <x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
125125 <x : String x : Key =" Text.CommitCM.CopySubject" xml : space =" preserve" >Betreff</x : String >
126126 <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 >
128127 <x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Merge in ${0}$ hinein</x : String >
129128 <x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >Merge ...</x : String >
130129 <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 >
133130 <x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Commit rückgängig machen</x : String >
134131 <x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Umformulieren</x : String >
135132 <x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Als Patch speichern...</x : String >
136133 <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 >
138134 <x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >ÄNDERUNGEN</x : String >
139135 <x : String x : Key =" Text.CommitDetail.Changes.Count" xml : space =" preserve" >geänderte Datei(en)</x : String >
140136 <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 122122 <x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
123123 <x : String x : Key =" Text.CommitCM.CopySubject" xml : space =" preserve" >Asunto</x : String >
124124 <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 >
126125 <x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Merge a ${0}$</x : String >
127126 <x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >Merge ...</x : String >
128127 <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 >
131128 <x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Revertir Commit</x : String >
132129 <x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Reescribir</x : String >
133130 <x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Guardar como Parche...</x : String >
134131 <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 >
136132 <x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >CAMBIOS</x : String >
137133 <x : String x : Key =" Text.CommitDetail.Changes.Count" xml : space =" preserve" >archivo(s) modificado(s)</x : String >
138134 <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 103103 <x : String x : Key =" Text.CommitCM.CompareWithWorktree" xml : space =" preserve" >Comparer avec le worktree</x : String >
104104 <x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
105105 <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 >
107106 <x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Fusionner dans ${0}$</x : String >
108107 <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 >
111108 <x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Annuler le commit</x : String >
112109 <x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Reformuler</x : String >
113110 <x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Enregistrer en tant que patch...</x : String >
114111 <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 >
116112 <x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >CHANGEMENTS</x : String >
117113 <x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Rechercher les changements...</x : String >
118114 <x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >FICHIERS</x : String >
Original file line number Diff line number Diff line change 114114 <x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
115115 <x : String x : Key =" Text.CommitCM.CopySubject" xml : space =" preserve" >Oggetto</x : String >
116116 <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 >
118117 <x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Unisci a ${0}$</x : String >
119118 <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 >
122119 <x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Annulla Commit</x : String >
123120 <x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Modifica</x : String >
124121 <x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Salva come Patch...</x : String >
125122 <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 >
127123 <x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >MODIFICHE</x : String >
128124 <x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Cerca Modifiche...</x : String >
129125 <x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >FILE</x : String >
Original file line number Diff line number Diff line change 102102 <x : String x : Key =" Text.CommitCM.CompareWithWorktree" xml : space =" preserve" >ワークツリーと比較</x : String >
103103 <x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
104104 <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 >
106105 <x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >${0}$ にマージ</x : String >
107106 <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 >
110107 <x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >コミットを戻す</x : String >
111108 <x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >書き直す</x : String >
112109 <x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >パッチとして保存...</x : String >
113110 <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 >
115111 <x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >変更</x : String >
116112 <x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >変更を検索...</x : String >
117113 <x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >ファイル</x : String >
Original file line number Diff line number Diff line change 9393 <x : String x : Key =" Text.CommitCM.CompareWithWorktree" xml : space =" preserve" >Comparar com Worktree</x : String >
9494 <x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
9595 <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 >
9996 <x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Reverter Commit</x : String >
10097 <x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Modificar Mensagem</x : String >
10198 <x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Salvar como Patch...</x : String >
10299 <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 >
104100 <x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >ALTERAÇÕES</x : String >
105101 <x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Buscar Alterações...</x : String >
106102 <x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >ARQUIVOS</x : String >
Original file line number Diff line number Diff line change 127127 <x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
128128 <x : String x : Key =" Text.CommitCM.CopySubject" xml : space =" preserve" >Субъект</x : String >
129129 <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 >
131130 <x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Влить в ${0}$</x : String >
132131 <x : String x : Key =" Text.CommitCM.MergeMultiple" xml : space =" preserve" >Влить ...</x : String >
133132 <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 >
136133 <x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Отменить ревизию</x : String >
137134 <x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Изменить комментарий</x : String >
138135 <x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Сохранить как заплатки...</x : String >
139136 <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 >
141137 <x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >ИЗМЕНЕНИЯ</x : String >
142138 <x : String x : Key =" Text.CommitDetail.Changes.Count" xml : space =" preserve" >изменённый(х) файл(ов)</x : String >
143139 <x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Найти изменения....</x : String >
Original file line number Diff line number Diff line change 102102 <x : String x : Key =" Text.CommitCM.CompareWithWorktree" xml : space =" preserve" >பணிமரத்துடன் ஒப்பிடுக</x : String >
103103 <x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >பாகொவ-வை</x : String >
104104 <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 >
106105 <x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >${0}$ இதற்கு ஒன்றிணை</x : String >
107106 <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 >
110107 <x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >உறுதிமொழி திரும்பபெறு</x : String >
111108 <x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >வேறுமொழி</x : String >
112109 <x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >ஒட்டாக சேமி...</x : String >
113110 <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 >
115111 <x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >மாற்றங்கள்</x : String >
116112 <x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >மாற்றங்களைத் தேடு...</x : String >
117113 <x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >கோப்புகள்</x : String >
Original file line number Diff line number Diff line change 103103 <x : String x : Key =" Text.CommitCM.CompareWithWorktree" xml : space =" preserve" >Порівняти з робочим деревом</x : String >
104104 <x : String x : Key =" Text.CommitCM.CopySHA" xml : space =" preserve" >SHA</x : String >
105105 <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 >
107106 <x : String x : Key =" Text.CommitCM.Merge" xml : space =" preserve" >Злиття в ${0}$</x : String >
108107 <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 >
111108 <x : String x : Key =" Text.CommitCM.Revert" xml : space =" preserve" >Скасувати коміт</x : String >
112109 <x : String x : Key =" Text.CommitCM.Reword" xml : space =" preserve" >Змінити повідомлення</x : String >
113110 <x : String x : Key =" Text.CommitCM.SaveAsPatch" xml : space =" preserve" >Зберегти як патч...</x : String >
114111 <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 >
116112 <x : String x : Key =" Text.CommitDetail.Changes" xml : space =" preserve" >ЗМІНИ</x : String >
117113 <x : String x : Key =" Text.CommitDetail.Changes.Search" xml : space =" preserve" >Пошук змін...</x : String >
118114 <x : String x : Key =" Text.CommitDetail.Files" xml : space =" preserve" >ФАЙЛИ</x : String >
You can’t perform that action at this time.
0 commit comments