Skip to content

Commit 5a4a8b1

Browse files
committed
Improve docs
1 parent 7258a2c commit 5a4a8b1

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

options/locale/locale_en-US.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ migrate.permission_denied = You are not allowed to import local repositories.
729729
migrate.invalid_local_path = "The local path is invalid. It does not exist or is not a directory."
730730
migrate.failed = Migration failed: %v
731731
migrate.lfs_mirror_unsupported = Mirroring LFS objects is not supported - use 'git lfs fetch --all' and 'git lfs push --all' instead.
732-
migrate.migrate_items_options = Authentication is needed to migrate items from a service that supports them.
732+
migrate.migrate_items_options = Access Token is required to migrate additional items
733733
migrated_from = Migrated from <a href="%[1]s">%[2]s</a>
734734
migrated_from_fake = Migrated From %[1]s
735735
migrate.migrate = Migrate From %s

templates/repo/migrate/github.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<div class="inline field {{if .Err_Auth}}error{{end}}">
2323
<label for="auth_token">{{.i18n.Tr "access_token"}}</label>
2424
<input id="auth_token" name="auth_token" value="{{.auth_token}}" {{if not .auth_token}}data-need-clear="true"{{end}}>
25+
<a target=”_blank” href="https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token">{{svg "octicon-question" 16}}</a>
2526
</div>
2627

2728
<div class="inline field">

templates/repo/migrate/gitlab.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<div class="inline field {{if .Err_Auth}}error{{end}}">
2323
<label for="auth_token">{{.i18n.Tr "access_token"}}</label>
2424
<input id="auth_token" name="auth_token" value="{{.auth_token}}" {{if not .auth_token}}data-need-clear="true"{{end}}>
25+
<a target=”_blank” href="https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html">{{svg "octicon-question" 16}}</a>
2526
</div>
2627

2728
<div class="inline field">

0 commit comments

Comments
 (0)