File tree Expand file tree Collapse file tree 15 files changed +54
-51
lines changed Expand file tree Collapse file tree 15 files changed +54
-51
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,15 @@ public static void OpenWithDefaultEditor(string file)
162162 _backend . OpenWithDefaultEditor ( file ) ;
163163 }
164164
165+ public static string GetAbsPath ( string root , string sub )
166+ {
167+ var fullpath = Path . Combine ( root , sub ) ;
168+ if ( OperatingSystem . IsWindows ( ) )
169+ return fullpath . Replace ( '/' , '\\ ' ) ;
170+
171+ return fullpath ;
172+ }
173+
165174 private static void UpdateGitVersion ( )
166175 {
167176 if ( string . IsNullOrEmpty ( _gitExecutable ) || ! File . Exists ( _gitExecutable ) )
Original file line number Diff line number Diff line change 186186 <x : String x : Key =" Text.Copy" xml : space =" preserve" >Kopieren</x : String >
187187 <x : String x : Key =" Text.CopyAllText" xml : space =" preserve" >Kopiere gesamten Text</x : String >
188188 <x : String x : Key =" Text.CopyPath" xml : space =" preserve" >Pfad kopieren</x : String >
189- <x : String x : Key =" Text.CopyFileName" xml : space =" preserve" >Dateinamen kopieren</x : String >
190189 <x : String x : Key =" Text.CreateBranch" xml : space =" preserve" >Branch erstellen...</x : String >
191190 <x : String x : Key =" Text.CreateBranch.BasedOn" xml : space =" preserve" >Basierend auf:</x : String >
192191 <x : String x : Key =" Text.CreateBranch.Checkout" xml : space =" preserve" >Erstellten Branch auschecken</x : String >
Original file line number Diff line number Diff line change 186186 <x : String x : Key =" Text.Copy" xml : space =" preserve" >Copy</x : String >
187187 <x : String x : Key =" Text.CopyAllText" xml : space =" preserve" >Copy All Text</x : String >
188188 <x : String x : Key =" Text.CopyPath" xml : space =" preserve" >Copy Path</x : String >
189- <x : String x : Key =" Text.CopyFileName " xml : space =" preserve" >Copy File Name </x : String >
189+ <x : String x : Key =" Text.CopyFullPath " xml : space =" preserve" >Copy Full Path </x : String >
190190 <x : String x : Key =" Text.CreateBranch" xml : space =" preserve" >Create Branch...</x : String >
191191 <x : String x : Key =" Text.CreateBranch.BasedOn" xml : space =" preserve" >Based On:</x : String >
192192 <x : String x : Key =" Text.CreateBranch.Checkout" xml : space =" preserve" >Check out the created branch</x : String >
Original file line number Diff line number Diff line change 189189 <x : String x : Key =" Text.Copy" xml : space =" preserve" >Copiar</x : String >
190190 <x : String x : Key =" Text.CopyAllText" xml : space =" preserve" >Copiar Todo el Texto</x : String >
191191 <x : String x : Key =" Text.CopyPath" xml : space =" preserve" >Copiar Ruta</x : String >
192- <x : String x : Key =" Text.CopyFileName" xml : space =" preserve" >Copiar Nombre del Archivo</x : String >
193192 <x : String x : Key =" Text.CreateBranch" xml : space =" preserve" >Crear Rama...</x : String >
194193 <x : String x : Key =" Text.CreateBranch.BasedOn" xml : space =" preserve" >Basado En:</x : String >
195194 <x : String x : Key =" Text.CreateBranch.Checkout" xml : space =" preserve" >Checkout de la rama creada</x : String >
Original file line number Diff line number Diff line change 178178 <x : String x : Key =" Text.ConventionalCommit.Type" xml : space =" preserve" >Type de Changement :</x : String >
179179 <x : String x : Key =" Text.Copy" xml : space =" preserve" >Copier</x : String >
180180 <x : String x : Key =" Text.CopyAllText" xml : space =" preserve" >Copier tout le texte</x : String >
181- <x : String x : Key =" Text.CopyFileName" xml : space =" preserve" >Copier le nom de fichier</x : String >
182181 <x : String x : Key =" Text.CopyPath" xml : space =" preserve" >Copier le chemin</x : String >
183182 <x : String x : Key =" Text.CreateBranch" xml : space =" preserve" >Créer une branche...</x : String >
184183 <x : String x : Key =" Text.CreateBranch.BasedOn" xml : space =" preserve" >Basé sur :</x : String >
Original file line number Diff line number Diff line change 189189 <x : String x : Key =" Text.Copy" xml : space =" preserve" >Copia</x : String >
190190 <x : String x : Key =" Text.CopyAllText" xml : space =" preserve" >Copia Tutto il Testo</x : String >
191191 <x : String x : Key =" Text.CopyPath" xml : space =" preserve" >Copia Percorso</x : String >
192- <x : String x : Key =" Text.CopyFileName" xml : space =" preserve" >Copia Nome File</x : String >
193192 <x : String x : Key =" Text.CreateBranch" xml : space =" preserve" >Crea Branch...</x : String >
194193 <x : String x : Key =" Text.CreateBranch.BasedOn" xml : space =" preserve" >Basato Su:</x : String >
195194 <x : String x : Key =" Text.CreateBranch.Checkout" xml : space =" preserve" >Checkout del Branch Creato</x : String >
Original file line number Diff line number Diff line change 196196 <x : String x : Key =" Text.Copy" xml : space =" preserve" >Copiar</x : String >
197197 <x : String x : Key =" Text.CopyAllText" xml : space =" preserve" >Copiar todo o texto</x : String >
198198 <x : String x : Key =" Text.CopyPath" xml : space =" preserve" >Copiar Caminho</x : String >
199- <x : String x : Key =" Text.CopyFileName" xml : space =" preserve" >Copiar Nome do Arquivo</x : String >
200199 <x : String x : Key =" Text.CreateBranch" xml : space =" preserve" >Criar Branch...</x : String >
201200 <x : String x : Key =" Text.CreateBranch.BasedOn" xml : space =" preserve" >Baseado Em:</x : String >
202201 <x : String x : Key =" Text.CreateBranch.Checkout" xml : space =" preserve" >Checar o branch criado</x : String >
Original file line number Diff line number Diff line change 190190 <x : String x : Key =" Text.Copy" xml : space =" preserve" >Копировать</x : String >
191191 <x : String x : Key =" Text.CopyAllText" xml : space =" preserve" >Копировать весь текст</x : String >
192192 <x : String x : Key =" Text.CopyPath" xml : space =" preserve" >Копировать путь</x : String >
193- <x : String x : Key =" Text.CopyFileName" xml : space =" preserve" >Копировать имя файла</x : String >
194193 <x : String x : Key =" Text.CreateBranch" xml : space =" preserve" >Создать ветку...</x : String >
195194 <x : String x : Key =" Text.CreateBranch.BasedOn" xml : space =" preserve" >Основан на:</x : String >
196195 <x : String x : Key =" Text.CreateBranch.Checkout" xml : space =" preserve" >Проверить созданную ветку</x : String >
Original file line number Diff line number Diff line change 189189 <x : String x : Key =" Text.Copy" xml : space =" preserve" >复制</x : String >
190190 <x : String x : Key =" Text.CopyAllText" xml : space =" preserve" >复制全部文本</x : String >
191191 <x : String x : Key =" Text.CopyPath" xml : space =" preserve" >复制路径</x : String >
192- <x : String x : Key =" Text.CopyFileName " xml : space =" preserve" >复制文件名 </x : String >
192+ <x : String x : Key =" Text.CopyFullPath " xml : space =" preserve" >复制完整路径 </x : String >
193193 <x : String x : Key =" Text.CreateBranch" xml : space =" preserve" >新建分支 ...</x : String >
194194 <x : String x : Key =" Text.CreateBranch.BasedOn" xml : space =" preserve" >新分支基于 :</x : String >
195195 <x : String x : Key =" Text.CreateBranch.Checkout" xml : space =" preserve" >完成后切换到新分支</x : String >
Original file line number Diff line number Diff line change 189189 <x : String x : Key =" Text.Copy" xml : space =" preserve" >複製</x : String >
190190 <x : String x : Key =" Text.CopyAllText" xml : space =" preserve" >複製全部內容</x : String >
191191 <x : String x : Key =" Text.CopyPath" xml : space =" preserve" >複製路徑</x : String >
192- <x : String x : Key =" Text.CopyFileName " xml : space =" preserve" >複製檔案名稱 </x : String >
192+ <x : String x : Key =" Text.CopyFullPath " xml : space =" preserve" >複製完整路徑 </x : String >
193193 <x : String x : Key =" Text.CreateBranch" xml : space =" preserve" >新增分支...</x : String >
194194 <x : String x : Key =" Text.CreateBranch.BasedOn" xml : space =" preserve" >新分支基於:</x : String >
195195 <x : String x : Key =" Text.CreateBranch.Checkout" xml : space =" preserve" >完成後切換到新分支</x : String >
You can’t perform that action at this time.
0 commit comments