File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -771,6 +771,7 @@ migrate.clone_local_path = or a local server path
771
771
migrate.permission_denied = You are not allowed to import local repositories.
772
772
migrate.invalid_local_path = " The local path is invalid. It does not exist or is not a directory."
773
773
migrate.failed = Migration failed: %v
774
+ migrate.lfs_mirror_unsupported = Mirroring LFS objects is not supported - use ' git lfs fetch --all' and ' git lfs push --all' instead.
774
775
migrate.migrate_items_options = Access Token is required to migrate additional items
775
776
migrated_from = Migrated from <a href =" %[1]s" >%[2]s</a>
776
777
migrated_from_fake = Migrated From %[1]s
Original file line number Diff line number Diff line change 15
15
<input id="clone_addr" name="clone_addr" value="{{.clone_addr}}" autofocus required>
16
16
<span class="help">
17
17
{{.i18n.Tr "repo.migrate.clone_address_desc"}}{{if .ContextUser.CanImportLocal}} {{.i18n.Tr "repo.migrate.clone_local_path"}}{{end}}
18
+ {{if .LFSActive}}<br />{{.i18n.Tr "repo.migrate.lfs_mirror_unsupported"}}{{end}}
18
19
</span>
19
20
</div>
20
21
26
27
27
28
<div class="inline field">
28
29
<label>{{.i18n.Tr "repo.migrate_options"}}</label>
29
- {{if .DisableMirrors}}
30
30
<div class="ui checkbox">
31
+ {{if .DisableMirrors}}
31
32
<input id="mirror" name="mirror" type="checkbox" readonly>
32
33
<label>{{.i18n.Tr "repo.migrate_options_mirror_disabled"}}</label>
33
- </div>
34
- {{else}}
35
- <div class="ui checkbox">
34
+ {{else}}
36
35
<input id="mirror" name="mirror" type="checkbox" {{if .mirror}} checked{{end}}>
37
36
<label>{{.i18n.Tr "repo.migrate_options_mirror_helper" | Safe}}</label>
37
+ {{end}}
38
38
</div>
39
- <div class="ui checkbox">
40
- <input id="lfs" name="lfs" type="checkbox" {{if .lfs}} checked{{end}}>
41
- <label>{{.i18n.Tr "repo.migrate_options_mirror_lfs" | Safe}}</label>
42
- </div>
43
- {{end}}
44
39
</div>
45
40
46
41
<span class="help">{{.i18n.Tr "repo.migrate.migrate_items_options"}}</span>
You can’t perform that action at this time.
0 commit comments