File tree Expand file tree Collapse file tree 18 files changed +104
-78
lines changed
Expand file tree Collapse file tree 18 files changed +104
-78
lines changed Original file line number Diff line number Diff line change 11using System . Collections . Generic ;
2- using System . Text . RegularExpressions ;
32
43namespace SourceGit . Models
54{
@@ -30,7 +29,7 @@ public enum BranchSortMode
3029 CommitterDate ,
3130 }
3231
33- public partial class Branch
32+ public class Branch
3433 {
3534 public string Name { get ; set ; }
3635 public string FullName { get ; set ; }
@@ -45,13 +44,5 @@ public partial class Branch
4544 public bool IsUpstreamGone { get ; set ; }
4645
4746 public string FriendlyName => IsLocal ? Name : $ "{ Remote } /{ Name } ";
48-
49- [ GeneratedRegex ( @"\s+" ) ]
50- private static partial Regex REG_FIX_NAME ( ) ;
51-
52- public static string FixName ( string name )
53- {
54- return REG_FIX_NAME ( ) . Replace ( name , "-" ) ;
55- }
5647 }
5748}
Original file line number Diff line number Diff line change 268268 <x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Stashen & wieder anwenden</x : String >
269269 <x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Neuer Branch-Name:</x : String >
270270 <x : String x : Key =" Text.CreateBranch.Name.Placeholder" xml : space =" preserve" >Branch-Name</x : String >
271- <x : String x : Key =" Text.CreateBranch.Name.WarnSpace" xml : space =" preserve" >Leerzeichen werden durch Bindestriche ersetzt.</x : String >
272271 <x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Lokalen Branch erstellen</x : String >
273272 <x : String x : Key =" Text.CreateBranch.OverwriteExisting" xml : space =" preserve" >Überschreibe existierenden Branch</x : String >
274273 <x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Tag erstellen...</x : String >
Original file line number Diff line number Diff line change 264264 <x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Stash & Reapply</x : String >
265265 <x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >New Branch Name:</x : String >
266266 <x : String x : Key =" Text.CreateBranch.Name.Placeholder" xml : space =" preserve" >Enter branch name.</x : String >
267- <x : String x : Key =" Text.CreateBranch.Name.WarnSpace" xml : space =" preserve" >Spaces will be replaced with dashes.</x : String >
268267 <x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Create Local Branch</x : String >
269268 <x : String x : Key =" Text.CreateBranch.OverwriteExisting" xml : space =" preserve" >Overwrite existing branch</x : String >
270269 <x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Create Tag...</x : String >
Original file line number Diff line number Diff line change 267267 <x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Stash & Reaplicar</x : String >
268268 <x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Nombre de la Nueva Rama:</x : String >
269269 <x : String x : Key =" Text.CreateBranch.Name.Placeholder" xml : space =" preserve" >Introduzca el nombre de la rama.</x : String >
270- <x : String x : Key =" Text.CreateBranch.Name.WarnSpace" xml : space =" preserve" >Los espacios serán reemplazados con guiones.</x : String >
271270 <x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Crear Rama Local</x : String >
272271 <x : String x : Key =" Text.CreateBranch.OverwriteExisting" xml : space =" preserve" >Sobrescribir la rama existente</x : String >
273272 <x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Crear Etiqueta...</x : String >
Original file line number Diff line number Diff line change 190190 <x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Stash & Réappliquer</x : String >
191191 <x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Nom de la nouvelle branche :</x : String >
192192 <x : String x : Key =" Text.CreateBranch.Name.Placeholder" xml : space =" preserve" >Entrez le nom de la branche.</x : String >
193- <x : String x : Key =" Text.CreateBranch.Name.WarnSpace" xml : space =" preserve" >Les espaces seront remplacés par des tirets.</x : String >
194193 <x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Créer une branche locale</x : String >
195194 <x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Créer un tag...</x : String >
196195 <x : String x : Key =" Text.CreateTag.BasedOn" xml : space =" preserve" >Nouveau tag à :</x : String >
Original file line number Diff line number Diff line change 267267 <x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Stasha e Ripristina</x : String >
268268 <x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Nome Nuovo Branch:</x : String >
269269 <x : String x : Key =" Text.CreateBranch.Name.Placeholder" xml : space =" preserve" >Inserisci il nome del branch.</x : String >
270- <x : String x : Key =" Text.CreateBranch.Name.WarnSpace" xml : space =" preserve" >Gli spazi verranno rimpiazzati con dei trattini.</x : String >
271270 <x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Crea Branch Locale</x : String >
272271 <x : String x : Key =" Text.CreateBranch.OverwriteExisting" xml : space =" preserve" >Sovrascrivi branch esistente</x : String >
273272 <x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Crea Tag...</x : String >
Original file line number Diff line number Diff line change 189189 <x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >スタッシュして再適用</x : String >
190190 <x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >新しいブランチの名前:</x : String >
191191 <x : String x : Key =" Text.CreateBranch.Name.Placeholder" xml : space =" preserve" >ブランチの名前を入力</x : String >
192- <x : String x : Key =" Text.CreateBranch.Name.WarnSpace" xml : space =" preserve" >スペースはダッシュに置き換えられます。</x : String >
193192 <x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >ローカルブランチを作成</x : String >
194193 <x : String x : Key =" Text.CreateTag" xml : space =" preserve" >タグを作成...</x : String >
195194 <x : String x : Key =" Text.CreateTag.BasedOn" xml : space =" preserve" >付与されるコミット:</x : String >
Original file line number Diff line number Diff line change 267267 <x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Отложить и применить повторно</x : String >
268268 <x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Имя новой ветки:</x : String >
269269 <x : String x : Key =" Text.CreateBranch.Name.Placeholder" xml : space =" preserve" >Введите имя ветки.</x : String >
270- <x : String x : Key =" Text.CreateBranch.Name.WarnSpace" xml : space =" preserve" >Пробелы будут заменены на тире.</x : String >
271270 <x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Создать локальную ветку</x : String >
272271 <x : String x : Key =" Text.CreateBranch.OverwriteExisting" xml : space =" preserve" >Перезаписать существующую ветку</x : String >
273272 <x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Создать метку...</x : String >
Original file line number Diff line number Diff line change 189189 <x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >பதுக்கிவை & மீண்டும் இடு</x : String >
190190 <x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >புதிய கிளை பெயர்:</x : String >
191191 <x : String x : Key =" Text.CreateBranch.Name.Placeholder" xml : space =" preserve" >கிளை பெயரை உள்ளிடவும்.</x : String >
192- <x : String x : Key =" Text.CreateBranch.Name.WarnSpace" xml : space =" preserve" >இடைவெளிகள் கோடுகளால் மாற்றப்படும்.</x : String >
193192 <x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >உள்ளக கிளையை உருவாக்கு</x : String >
194193 <x : String x : Key =" Text.CreateTag" xml : space =" preserve" >குறிச்சொல்லை உருவாக்கு...</x : String >
195194 <x : String x : Key =" Text.CreateTag.BasedOn" xml : space =" preserve" >இங்கு புதிய குறிச்சொல்:</x : String >
Original file line number Diff line number Diff line change 194194 <x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Сховати та Застосувати</x : String >
195195 <x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Назва нової гілки:</x : String >
196196 <x : String x : Key =" Text.CreateBranch.Name.Placeholder" xml : space =" preserve" >Введіть назву гілки.</x : String >
197- <x : String x : Key =" Text.CreateBranch.Name.WarnSpace" xml : space =" preserve" >Пробіли будуть замінені на тире.</x : String >
198197 <x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Створити локальну гілку</x : String >
199198 <x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Створити тег...</x : String >
200199 <x : String x : Key =" Text.CreateTag.BasedOn" xml : space =" preserve" >Новий тег для:</x : String >
You can’t perform that action at this time.
0 commit comments