File tree Expand file tree Collapse file tree 18 files changed +97
-78
lines changed Expand file tree Collapse file tree 18 files changed +97
-78
lines changed Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
- using System . Text . RegularExpressions ;
3
2
4
3
namespace SourceGit . Models
5
4
{
@@ -30,7 +29,7 @@ public enum BranchSortMode
30
29
CommitterDate ,
31
30
}
32
31
33
- public partial class Branch
32
+ public class Branch
34
33
{
35
34
public string Name { get ; set ; }
36
35
public string FullName { get ; set ; }
@@ -45,13 +44,5 @@ public partial class Branch
45
44
public bool IsUpstreamGone { get ; set ; }
46
45
47
46
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
- }
56
47
}
57
48
}
Original file line number Diff line number Diff line change 268
268
<x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Stashen & wieder anwenden</x : String >
269
269
<x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Neuer Branch-Name:</x : String >
270
270
<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 >
272
271
<x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Lokalen Branch erstellen</x : String >
273
272
<x : String x : Key =" Text.CreateBranch.OverwriteExisting" xml : space =" preserve" >Überschreibe existierenden Branch</x : String >
274
273
<x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Tag erstellen...</x : String >
Original file line number Diff line number Diff line change 264
264
<x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Stash & Reapply</x : String >
265
265
<x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >New Branch Name:</x : String >
266
266
<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 >
268
267
<x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Create Local Branch</x : String >
269
268
<x : String x : Key =" Text.CreateBranch.OverwriteExisting" xml : space =" preserve" >Overwrite existing branch</x : String >
270
269
<x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Create Tag...</x : String >
Original file line number Diff line number Diff line change 267
267
<x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Stash & Reaplicar</x : String >
268
268
<x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Nombre de la Nueva Rama:</x : String >
269
269
<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 >
271
270
<x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Crear Rama Local</x : String >
272
271
<x : String x : Key =" Text.CreateBranch.OverwriteExisting" xml : space =" preserve" >Sobrescribir la rama existente</x : String >
273
272
<x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Crear Etiqueta...</x : String >
Original file line number Diff line number Diff line change 190
190
<x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Stash & Réappliquer</x : String >
191
191
<x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Nom de la nouvelle branche :</x : String >
192
192
<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 >
194
193
<x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Créer une branche locale</x : String >
195
194
<x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Créer un tag...</x : String >
196
195
<x : String x : Key =" Text.CreateTag.BasedOn" xml : space =" preserve" >Nouveau tag à :</x : String >
Original file line number Diff line number Diff line change 267
267
<x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Stasha e Ripristina</x : String >
268
268
<x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Nome Nuovo Branch:</x : String >
269
269
<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 >
271
270
<x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Crea Branch Locale</x : String >
272
271
<x : String x : Key =" Text.CreateBranch.OverwriteExisting" xml : space =" preserve" >Sovrascrivi branch esistente</x : String >
273
272
<x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Crea Tag...</x : String >
Original file line number Diff line number Diff line change 189
189
<x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >スタッシュして再適用</x : String >
190
190
<x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >新しいブランチの名前:</x : String >
191
191
<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 >
193
192
<x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >ローカルブランチを作成</x : String >
194
193
<x : String x : Key =" Text.CreateTag" xml : space =" preserve" >タグを作成...</x : String >
195
194
<x : String x : Key =" Text.CreateTag.BasedOn" xml : space =" preserve" >付与されるコミット:</x : String >
Original file line number Diff line number Diff line change 267
267
<x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Отложить и применить повторно</x : String >
268
268
<x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Имя новой ветки:</x : String >
269
269
<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 >
271
270
<x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Создать локальную ветку</x : String >
272
271
<x : String x : Key =" Text.CreateBranch.OverwriteExisting" xml : space =" preserve" >Перезаписать существующую ветку</x : String >
273
272
<x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Создать метку...</x : String >
Original file line number Diff line number Diff line change 189
189
<x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >பதுக்கிவை & மீண்டும் இடு</x : String >
190
190
<x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >புதிய கிளை பெயர்:</x : String >
191
191
<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 >
193
192
<x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >உள்ளக கிளையை உருவாக்கு</x : String >
194
193
<x : String x : Key =" Text.CreateTag" xml : space =" preserve" >குறிச்சொல்லை உருவாக்கு...</x : String >
195
194
<x : String x : Key =" Text.CreateTag.BasedOn" xml : space =" preserve" >இங்கு புதிய குறிச்சொல்:</x : String >
Original file line number Diff line number Diff line change 194
194
<x : String x : Key =" Text.CreateBranch.LocalChanges.StashAndReply" xml : space =" preserve" >Сховати та Застосувати</x : String >
195
195
<x : String x : Key =" Text.CreateBranch.Name" xml : space =" preserve" >Назва нової гілки:</x : String >
196
196
<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 >
198
197
<x : String x : Key =" Text.CreateBranch.Title" xml : space =" preserve" >Створити локальну гілку</x : String >
199
198
<x : String x : Key =" Text.CreateTag" xml : space =" preserve" >Створити тег...</x : String >
200
199
<x : String x : Key =" Text.CreateTag.BasedOn" xml : space =" preserve" >Новий тег для:</x : String >
You can’t perform that action at this time.
0 commit comments