diff options
author | Unknwon <u@gogs.io> | 2015-11-03 18:40:52 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-03 18:40:52 -0500 |
commit | 6f0a41b8b28ba33382ab8d655c0d015324be7647 (patch) | |
tree | d30191b529354c42aaf8ae4066d73b402c0b4bb2 /conf | |
parent | 25ec20d5251511ebd0b9e6b963e189b860c39704 (diff) | |
download | gitea-6f0a41b8b28ba33382ab8d655c0d015324be7647.tar.gz gitea-6f0a41b8b28ba33382ab8d655c0d015324be7647.zip |
#1511 Allow local import only for admin users
Diffstat (limited to 'conf')
-rwxr-xr-x | conf/locale/locale_de-DE.ini | 4 | ||||
-rw-r--r-- | conf/locale/locale_en-US.ini | 2 | ||||
-rwxr-xr-x | conf/locale/locale_zh-CN.ini | 4 | ||||
-rwxr-xr-x | conf/locale/locale_zh-HK.ini | 2 |
4 files changed, 10 insertions, 2 deletions
diff --git a/conf/locale/locale_de-DE.ini b/conf/locale/locale_de-DE.ini index b540d31850..646c247d95 100755 --- a/conf/locale/locale_de-DE.ini +++ b/conf/locale/locale_de-DE.ini @@ -360,6 +360,7 @@ migrate_type_helper=Diese Repository wird ein <span class="text blue">Spiegel</s migrate_repo=Repository migrieren
migrate.clone_address=Adresse kopieren
migrate.clone_address_desc=Dies kann eine HTTP/HTTPS/GIT URL oder ein lokaler Serverpfad sein.
+migrate.permission_denied=You are not allowed to import local repositories.
migrate.invalid_local_path=Lokaler Pfad ist ungültig, er existiert nicht oder ist kein Ordner.
forked_from=Geforkt von
@@ -651,7 +652,7 @@ release.tag_name_already_exist=Ein Release mit diesem Tag existiert bereits. [org]
org_name_holder=Name der Organisation
-org_full_name_holder=Organization Full Name
+org_full_name_holder=Vollständiger Name der Organisation
org_name_helper=Gute Namen von Organisationen sind kurz und einprägsam.
create_org=Organisation erstellen
repo_updated=Aktualisiert
@@ -808,6 +809,7 @@ users.edit_account=Konto bearbeiten users.is_activated=Dieses Konto ist aktiviert
users.is_admin=Dieses Konto hat Administratorrechte
users.allow_git_hook=Dieses Konto ist berechtigt, Git-Hooks zu erstellen
+users.allow_import_local=This account has permissions to import local repositories
users.update_profile=Kontoprofil aktualisieren
users.delete_account=Dieses Konto löschen
users.still_own_repo=Dieses Konto besitzt noch Repositories. Diese müssen zuerst gelöscht oder übertragen werden.
diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini index aa297262c7..96bf240178 100644 --- a/conf/locale/locale_en-US.ini +++ b/conf/locale/locale_en-US.ini @@ -360,6 +360,7 @@ migrate_type_helper = This repository will be a <span class="text blue">mirror</ 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.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. forked_from = forked from @@ -808,6 +809,7 @@ users.edit_account = Edit Account users.is_activated = This account is activated users.is_admin = This account has administrator permissions users.allow_git_hook = This account has permissions to create Git hooks +users.allow_import_local = This account has permissions to import local repositories users.update_profile = Update Account Profile users.delete_account = Delete This Account users.still_own_repo = This account still has ownership over at least one repository, you have to delete or transfer them first. diff --git a/conf/locale/locale_zh-CN.ini b/conf/locale/locale_zh-CN.ini index 547c5e40cb..d6691ce04a 100755 --- a/conf/locale/locale_zh-CN.ini +++ b/conf/locale/locale_zh-CN.ini @@ -360,6 +360,7 @@ migrate_type_helper=该仓库将是一个 <span class="text blue">镜像</span> migrate_repo=迁移仓库
migrate.clone_address=克隆地址
migrate.clone_address_desc=该地址可以是 HTTP/HTTPS/GIT URL 或本地服务器路径。
+migrate.permission_denied=您没有获得导入本地仓库的权限。
migrate.invalid_local_path=无效的本地路径,不存在或不是一个目录!
forked_from=派生自
@@ -807,7 +808,8 @@ users.update_profile_success=该用户信息更新成功! users.edit_account=编辑用户信息
users.is_activated=该用户已被激活
users.is_admin=该用户具有管理员权限
-users.allow_git_hook=该帐户具有创建 Git 钩子的权限
+users.allow_git_hook=该用户具有创建 Git 钩子的权限
+users.allow_import_local=该用户具有导入本地仓库的权限
users.update_profile=更新用户信息
users.delete_account=删除该用户
users.still_own_repo=该帐户仍然是某些仓库的拥有者,您必须先转移或删除它们才能执行删除帐户操作!
diff --git a/conf/locale/locale_zh-HK.ini b/conf/locale/locale_zh-HK.ini index 8ee07f4c0a..409ee3793e 100755 --- a/conf/locale/locale_zh-HK.ini +++ b/conf/locale/locale_zh-HK.ini @@ -360,6 +360,7 @@ migrate_type_helper=該倉庫將是一個 <span class="text blue">鏡像</span> migrate_repo=遷移倉庫
migrate.clone_address=複製地址
migrate.clone_address_desc=該地址可以是 HTTP/HTTPS/GIT URL 或本地服務器路徑。
+migrate.permission_denied=You are not allowed to import local repositories.
migrate.invalid_local_path=無效的本地路徑,該路徑不存在或不是一個目錄!
forked_from=派生自
@@ -808,6 +809,7 @@ users.edit_account=編輯用戶信息 users.is_activated=該用戶已被激活
users.is_admin=該用戶具有管理員權限
users.allow_git_hook=該帳戶具有創建 Git 鉤子的權限
+users.allow_import_local=This account has permissions to import local repositories
users.update_profile=更新用戶信息
users.delete_account=刪除該用戶
users.still_own_repo=該帳戶仍然是某些倉庫的擁有者,您必須先轉移或刪除它們才能執行刪除帳戶操作!
|