aboutsummaryrefslogtreecommitdiff
path: root/conf/locale
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-01-26 17:43:37 -0500
committerUnknwon <u@gogs.io>2017-01-26 17:43:37 -0500
commitae319da5fd91c102b387296f9884401e120f9b79 (patch)
tree82876db589f1f15d0b2d6cf7790f8a3f06f0c14f /conf/locale
parent6d6848af5c8b3188dd538299fa6d50073c8d8153 (diff)
Disable local path migration by default (#4033)
Site admin now has to enable manually by config option [repository] ENABLE_LOCAL_PATH_MIGRATION = true. Site admin always grants this permission, but regulars users have to be allowed by site admins in admin user panel.
Diffstat (limited to 'conf/locale')
-rw-r--r--conf/locale/locale_en-US.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini
index f326ab89..be36ae7c 100644
--- a/conf/locale/locale_en-US.ini
+++ b/conf/locale/locale_en-US.ini
@@ -384,7 +384,8 @@ migrate_type = Migration Type
migrate_type_helper = This repository will be a <span class="text blue">mirror</span>
migrate_repo = Migrate Repository
migrate.clone_address = Clone Address
-migrate.clone_address_desc = This can be a HTTP/HTTPS/GIT URL or local server path.
+migrate.clone_address_desc = This can be a HTTP/HTTPS/GIT URL.
+migrate.clone_address_desc_import_local = You're also allowed to migrate a repository by local server path.
migrate.permission_denied = You are not allowed to import local repositories.
migrate.invalid_local_path = Invalid local path, it does not exist or not a directory.
migrate.failed = Migration failed: %v