Browse Source

Merge branch 'master' of github.com:nocodb/nocodb

pull/414/head
Pranav C 3 years ago
parent
commit
e66d0e7e8a
  1. 4
      packages/nc-gui/plugins/i18n.js
  2. 0
      packages/nc-gui/static/lang/zh_CN.json
  3. 141
      packages/nc-gui/static/lang/zh_HK.json
  4. 141
      packages/nc-gui/static/lang/zh_TW.json
  5. 12
      packages/noco-docs/content/en/setup-and-usages/meta-management.md

4
packages/nc-gui/plugins/i18n.js

@ -19,7 +19,9 @@ export default ({ app, store }) => {
// Associate each locale to a content file
messages: {
en: require('~/static/lang/en.json'),
zh: require('~/static/lang/zh.json'),
zh_HK: require('~/static/lang/zh_HK.json'),
zh_TW: require('~/static/lang/zh_TW.json'),
zh_CN: require('~/static/lang/zh_CN.json'),
// ja: require("~/static/lang/ja.json"),
fr: require('~/static/lang/fr.json'),
es: require('~/static/lang/es.json'),

0
packages/nc-gui/static/lang/zh.json → packages/nc-gui/static/lang/zh_CN.json

141
packages/nc-gui/static/lang/zh_HK.json

@ -0,0 +1,141 @@
{
"projects.my_projects": "My Projects",
"projects.reload_projects_tooltip": "Refresh projects",
"projects.create_new_project_button.text": "開新project",
"projects.create_new_project_button.subtext_1": "Create",
"projects.create_new_project_button.subtext_1_tooltip": "Create a new project",
"projects.create_new_project_button.subtext_2": "Create By Connecting <br>To An External Database",
"projects.create_new_project_button.subtext_2_tooltip": "Supports MySQL, PostgreSQL, SQL Server & SQLite",
"projects.search_project": "Search Project",
"projects.import_metadata": "Import Metadata",
"projects.export_metadata": "Export Metadata",
"projects.clear_metadata": "Clear Metadata",
"projects.stop_project": "Stop Project",
"projects.start_project": "Start Project",
"projects.restart_project": "Restart Project",
"projects.delete_project": "Delete Project",
"projects.project_api_type_tooltip_graphql": "Accessible via GraphQL APIs",
"projects.project_api_type_tooltip_rest": "Accessible via REST APIs",
"projects.project_empty_message": "Get started by creating a new project",
"projects.import_button.text": "Import NocoDB Project by uploading metadata zip file",
"projects.show_community_star": "Star",
"projects.show_community_us_on_Github": "us on Github",
"projects.show_community_book_a_free_demo": "Book a Free DEMO",
"projects.show_community_get_your_questions_answered": "Get your questions answered",
"projects.show_community_join_discord": "Join Discord",
"projects.show_community_follow_nocodb": "Follow NocoDB",
"projects.search.your_search_found_no_results": "Your search for {search} found no results",
"projects.ext_db.title.edit": "Edit Project",
"projects.ext_db.title.create": "Create Project",
"projects.ext_db.project_name": "Enter Project Name",
"projects.ext_db.project_type": "Access Project via",
"projects.ext_db.button.save_project": "Save Project",
"projects.ext_db.button.update_and_restart": "Update & Restart",
"projects.ext_db.button.cancel": "Cancel",
"projects.ext_db.button.cancel_tooltip": "Cancel and Return",
"projects.ext_db.credentials": "Database Credentials",
"projects.ext_db.credentials.db_type": "Database Type",
"projects.ext_db.credentials.sqlite_file": "SQLite File",
"projects.ext_db.credentials.host_address": "Host Address",
"projects.ext_db.credentials.port": "Port Number",
"projects.ext_db.credentials.username": "Username",
"projects.ext_db.credentials.password": "Password",
"projects.ext_db.credentials.db_create_if_not_exists": "Database : create if not exists",
"projects.ext_db.credentials.button.test_db_conn": "Test Database Connection",
"projects.ext_db.credentials.button.remove_db_from_env": "Remove Database from environment",
"projects.ext_db.credentials.advanced": "SSL & Advanced parameters",
"projects.ext_db.credentials.advanced.ssl.client_key": "Client Key",
"projects.ext_db.credentials.advanced.ssl.client_cert": "Client Cert",
"projects.ext_db.credentials.advanced.ssl.server_ca": "Server CA",
"projects.ext_db.credentials.advanced.ssl.client_key.toolip": "Select .key file",
"projects.ext_db.credentials.advanced.ssl.client_cert.toolip": "Select .cert file",
"projects.ext_db.credentials.advanced.ssl.server_ca.toolip": "Select CA file",
"projects.ext_db.credentials.advanced.ssl.preferred": "Preferred",
"projects.ext_db.credentials.advanced.ssl.usage.no": "No",
"projects.ext_db.credentials.advanced.ssl.usage.preferred": "Preferred",
"projects.ext_db.credentials.advanced.ssl.usage.required": "Required",
"projects.ext_db.credentials.advanced.ssl.usage.requried_ca": "Required-CA",
"projects.ext_db.credentials.advanced.ssl.usage.requried_identity": "Required-IDENTITY",
"projects.ext_db.credentials.advanced.inflection.table_name": "Inflection - Table name",
"projects.ext_db.credentials.advanced.inflection.column_name": "Inflection - Column name",
"projects.ext_db.credentials.advanced.button.edit_conn_json": "Edit connection JSON",
"projects.ext_db.error.invalid_char_in_folder_path": "Invalid character in folder path.",
"projects.ext_db.error.invalid_db_credentials": "Invalid database credentials.",
"projects.ext_db.error.unable_to_connect_to_db": "Unable to connect to database, please check your database is up.",
"projects.ext_db.error.user_doesnt_ve_sufficient_permission": "User does not exist or have sufficient permission to create schema.",
"projects.ext_db.head.title": "Create Project | NocoDB",
"projects.ext_db.dialog.success": "Connection was successful",
"projects.ext_db.dialog.failure": "Connection Failure:",
"projects.notifications.no_new": "No new notifications",
"projects.notifications.clear": "Clear",
"signin.title": "SIGN IN",
"signin.enter_your_work_email": "Enter your work email",
"signin.enter_your_password": "Enter your password",
"signin.forget_password": "Forgot your password ?",
"signin.dont_ve_an_account": "Don't have an account ?",
"signin.sign_up": "Sign Up",
"signin.form.rules.email_is_reqd": "E-mail is required",
"signin.form.rules.email_must_be_valid": "E-mail must be valid",
"signin.form.rules.passwd_required": "Password is required",
"signin.form.rules.passwd_must_be_8_chars": "You password must be atleast 8 characters",
"signin.head.title": "Log In | NocoDB",
"signin.head.meta.hid": "Log In To NocoDB",
"signin.head.meta.name": "Log In To NocoDB",
"signin.head.meta.content": "Log In To NocoDB",
"signin.password.recovery.title": "Reset your password",
"signin.password.recovery.message_1": "Please provide the email address you used when you signed up.",
"signin.password.recovery.message_2": "We will send you an email with a link to reset your password.",
"signin.password.recovery.success": "Please check your email to reset the password",
"signin.password.recovery.button": "SEND EMAIL",
"signup.title": "SIGN UP",
"signup.you_will_be_the_super_admin": "You will be the 'Super Admin'",
"signup.already_ve_an_account": "Already have an account ?",
"treeview.settings": "Settings",
"treeview.settings.tooltip": "Only visible to Creator",
"treeview.app_store": "App Store",
"treeview.team_n_auth": "Team & Auth",
"treeview.team_n_auth.tooltip": "Roles & Users Management",
"treeview.project_metadata": "Project Metadata",
"treeview.project_metadata.tooltip": "Meta Management",
"treeview.preview_as": "Preview as",
"treeview.reset_review": "Reset Preview",
"nav_drawer.title": "Views",
"nav_drawer.virtual_views.action.copy": "Copy view",
"nav_drawer.virtual_views.action.rename": "Rename view",
"nav_drawer.virtual_views.action.delete": "Delete view",
"nav_drawer.virtual_views.title": "Create a View",
"nav_drawer.virtual_views.caption": "Only visible to Creator",
"nav_drawer.virtual_views.grid": "Grid",
"nav_drawer.virtual_views.grid.create": "Add Grid View",
"nav_drawer.virtual_views.gallery": "Gallery",
"nav_drawer.virtual_views.gallery.create": "Add Gallery View",
"nav_drawer.virtual_views.calendar": "Calendar",
"nav_drawer.virtual_views.calendar.create": "Add Calendar View",
"nav_drawer.virtual_views.kanban": "Kanban",
"nav_drawer.virtual_views.kanban.create": "Add Kanban View",
"nav_drawer.virtual_views.form": "Form",
"nav_drawer.virtual_views.form.create": "Add Form View",
"nav_drawer.advanced.title1": "Share View",
"nav_drawer.advanced.views_list": "Views List",
"nav_drawer.advanced.copy_api_url": "Copy API URL",
"nav_drawer.share_view.title": "This view is shared via a private link",
"nav_drawer.share_view.body": "People with private link can only see cells visible in this view",
"nav_drawer.share_view.toggle.option1": "Restrict access with a password",
"nav_drawer.share_view.toggle.option2": "Access is password restricted",
"nav_drawer.share_view.password.caption": "Enter the password",
"nav_drawer.share_view.password.button": "Save password",
"management.tabs.user": "Users Management",
"management.tabs.api": "API Tokens Management",
"management.tabs.roles": "Roles Management",
"management.meta.title": "Metadata Operations",
"management.meta.export_to_file": "Export to file",
"management.meta.import": "Import",
"management.meta.export_to_zip": "Export zip",
"management.meta.import_zip": "Import zip",
"management.meta.reset": "Reset",
"management.meta.export_to_file.desc": "Export all metadata from the meta tables to meta directory.",
"management.meta.import.desc": "Import all metadata from the meta directory to meta tables.",
"management.meta.export_to_zip.desc": "Export project meta to zip file and download.",
"management.meta.import_zip.desc": "Import project meta zip file and restart.",
"management.meta.reset.desc": "Clear all metadata from meta tables."
}

141
packages/nc-gui/static/lang/zh_TW.json

@ -0,0 +1,141 @@
{
"projects.my_projects": "My Projects",
"projects.reload_projects_tooltip": "Refresh projects",
"projects.create_new_project_button.text": "創建新項目",
"projects.create_new_project_button.subtext_1": "Create",
"projects.create_new_project_button.subtext_1_tooltip": "Create a new project",
"projects.create_new_project_button.subtext_2": "Create By Connecting <br>To An External Database",
"projects.create_new_project_button.subtext_2_tooltip": "Supports MySQL, PostgreSQL, SQL Server & SQLite",
"projects.search_project": "Search Project",
"projects.import_metadata": "Import Metadata",
"projects.export_metadata": "Export Metadata",
"projects.clear_metadata": "Clear Metadata",
"projects.stop_project": "Stop Project",
"projects.start_project": "Start Project",
"projects.restart_project": "Restart Project",
"projects.delete_project": "Delete Project",
"projects.project_api_type_tooltip_graphql": "Accessible via GraphQL APIs",
"projects.project_api_type_tooltip_rest": "Accessible via REST APIs",
"projects.project_empty_message": "Get started by creating a new project",
"projects.import_button.text": "Import NocoDB Project by uploading metadata zip file",
"projects.show_community_star": "Star",
"projects.show_community_us_on_Github": "us on Github",
"projects.show_community_book_a_free_demo": "Book a Free DEMO",
"projects.show_community_get_your_questions_answered": "Get your questions answered",
"projects.show_community_join_discord": "Join Discord",
"projects.show_community_follow_nocodb": "Follow NocoDB",
"projects.search.your_search_found_no_results": "Your search for {search} found no results",
"projects.ext_db.title.edit": "Edit Project",
"projects.ext_db.title.create": "Create Project",
"projects.ext_db.project_name": "Enter Project Name",
"projects.ext_db.project_type": "Access Project via",
"projects.ext_db.button.save_project": "Save Project",
"projects.ext_db.button.update_and_restart": "Update & Restart",
"projects.ext_db.button.cancel": "Cancel",
"projects.ext_db.button.cancel_tooltip": "Cancel and Return",
"projects.ext_db.credentials": "Database Credentials",
"projects.ext_db.credentials.db_type": "Database Type",
"projects.ext_db.credentials.sqlite_file": "SQLite File",
"projects.ext_db.credentials.host_address": "Host Address",
"projects.ext_db.credentials.port": "Port Number",
"projects.ext_db.credentials.username": "Username",
"projects.ext_db.credentials.password": "Password",
"projects.ext_db.credentials.db_create_if_not_exists": "Database : create if not exists",
"projects.ext_db.credentials.button.test_db_conn": "Test Database Connection",
"projects.ext_db.credentials.button.remove_db_from_env": "Remove Database from environment",
"projects.ext_db.credentials.advanced": "SSL & Advanced parameters",
"projects.ext_db.credentials.advanced.ssl.client_key": "Client Key",
"projects.ext_db.credentials.advanced.ssl.client_cert": "Client Cert",
"projects.ext_db.credentials.advanced.ssl.server_ca": "Server CA",
"projects.ext_db.credentials.advanced.ssl.client_key.toolip": "Select .key file",
"projects.ext_db.credentials.advanced.ssl.client_cert.toolip": "Select .cert file",
"projects.ext_db.credentials.advanced.ssl.server_ca.toolip": "Select CA file",
"projects.ext_db.credentials.advanced.ssl.preferred": "Preferred",
"projects.ext_db.credentials.advanced.ssl.usage.no": "No",
"projects.ext_db.credentials.advanced.ssl.usage.preferred": "Preferred",
"projects.ext_db.credentials.advanced.ssl.usage.required": "Required",
"projects.ext_db.credentials.advanced.ssl.usage.requried_ca": "Required-CA",
"projects.ext_db.credentials.advanced.ssl.usage.requried_identity": "Required-IDENTITY",
"projects.ext_db.credentials.advanced.inflection.table_name": "Inflection - Table name",
"projects.ext_db.credentials.advanced.inflection.column_name": "Inflection - Column name",
"projects.ext_db.credentials.advanced.button.edit_conn_json": "Edit connection JSON",
"projects.ext_db.error.invalid_char_in_folder_path": "Invalid character in folder path.",
"projects.ext_db.error.invalid_db_credentials": "Invalid database credentials.",
"projects.ext_db.error.unable_to_connect_to_db": "Unable to connect to database, please check your database is up.",
"projects.ext_db.error.user_doesnt_ve_sufficient_permission": "User does not exist or have sufficient permission to create schema.",
"projects.ext_db.head.title": "Create Project | NocoDB",
"projects.ext_db.dialog.success": "Connection was successful",
"projects.ext_db.dialog.failure": "Connection Failure:",
"projects.notifications.no_new": "No new notifications",
"projects.notifications.clear": "Clear",
"signin.title": "SIGN IN",
"signin.enter_your_work_email": "Enter your work email",
"signin.enter_your_password": "Enter your password",
"signin.forget_password": "Forgot your password ?",
"signin.dont_ve_an_account": "Don't have an account ?",
"signin.sign_up": "Sign Up",
"signin.form.rules.email_is_reqd": "E-mail is required",
"signin.form.rules.email_must_be_valid": "E-mail must be valid",
"signin.form.rules.passwd_required": "Password is required",
"signin.form.rules.passwd_must_be_8_chars": "You password must be atleast 8 characters",
"signin.head.title": "Log In | NocoDB",
"signin.head.meta.hid": "Log In To NocoDB",
"signin.head.meta.name": "Log In To NocoDB",
"signin.head.meta.content": "Log In To NocoDB",
"signin.password.recovery.title": "Reset your password",
"signin.password.recovery.message_1": "Please provide the email address you used when you signed up.",
"signin.password.recovery.message_2": "We will send you an email with a link to reset your password.",
"signin.password.recovery.success": "Please check your email to reset the password",
"signin.password.recovery.button": "SEND EMAIL",
"signup.title": "SIGN UP",
"signup.you_will_be_the_super_admin": "You will be the 'Super Admin'",
"signup.already_ve_an_account": "Already have an account ?",
"treeview.settings": "Settings",
"treeview.settings.tooltip": "Only visible to Creator",
"treeview.app_store": "App Store",
"treeview.team_n_auth": "Team & Auth",
"treeview.team_n_auth.tooltip": "Roles & Users Management",
"treeview.project_metadata": "Project Metadata",
"treeview.project_metadata.tooltip": "Meta Management",
"treeview.preview_as": "Preview as",
"treeview.reset_review": "Reset Preview",
"nav_drawer.title": "Views",
"nav_drawer.virtual_views.action.copy": "Copy view",
"nav_drawer.virtual_views.action.rename": "Rename view",
"nav_drawer.virtual_views.action.delete": "Delete view",
"nav_drawer.virtual_views.title": "Create a View",
"nav_drawer.virtual_views.caption": "Only visible to Creator",
"nav_drawer.virtual_views.grid": "Grid",
"nav_drawer.virtual_views.grid.create": "Add Grid View",
"nav_drawer.virtual_views.gallery": "Gallery",
"nav_drawer.virtual_views.gallery.create": "Add Gallery View",
"nav_drawer.virtual_views.calendar": "Calendar",
"nav_drawer.virtual_views.calendar.create": "Add Calendar View",
"nav_drawer.virtual_views.kanban": "Kanban",
"nav_drawer.virtual_views.kanban.create": "Add Kanban View",
"nav_drawer.virtual_views.form": "Form",
"nav_drawer.virtual_views.form.create": "Add Form View",
"nav_drawer.advanced.title1": "Share View",
"nav_drawer.advanced.views_list": "Views List",
"nav_drawer.advanced.copy_api_url": "Copy API URL",
"nav_drawer.share_view.title": "This view is shared via a private link",
"nav_drawer.share_view.body": "People with private link can only see cells visible in this view",
"nav_drawer.share_view.toggle.option1": "Restrict access with a password",
"nav_drawer.share_view.toggle.option2": "Access is password restricted",
"nav_drawer.share_view.password.caption": "Enter the password",
"nav_drawer.share_view.password.button": "Save password",
"management.tabs.user": "Users Management",
"management.tabs.api": "API Tokens Management",
"management.tabs.roles": "Roles Management",
"management.meta.title": "Metadata Operations",
"management.meta.export_to_file": "Export to file",
"management.meta.import": "Import",
"management.meta.export_to_zip": "Export zip",
"management.meta.import_zip": "Import zip",
"management.meta.reset": "Reset",
"management.meta.export_to_file.desc": "Export all metadata from the meta tables to meta directory.",
"management.meta.import.desc": "Import all metadata from the meta directory to meta tables.",
"management.meta.export_to_zip.desc": "Export project meta to zip file and download.",
"management.meta.import_zip.desc": "Import project meta zip file and restart.",
"management.meta.reset.desc": "Clear all metadata from meta tables."
}

12
packages/noco-docs/content/en/setup-and-usages/meta-management.md

@ -27,24 +27,24 @@ Under ``Project Metadata``, you can perform the following operations.
- Clear all metadata from meta tables
<alert>
Currently the project meta can be only imported to the same DB instance.
Import won't work with zip files exported from the older version of apps (< 0.11.6). <br>
Import / Export will only transfer metadata and files related to the project and not any table data in the project.
</alert>
## Database Metadata
Under ``DB Metadata``, You can manage your models. For example, if you do not want to expose some APIs, you can untick those under APIs here.
![image](https://user-images.githubusercontent.com/35857179/126928981-6c63499e-d4de-42e6-80fa-c7688480d0a0.png)
![image](https://user-images.githubusercontent.com/35857179/127611038-a10ccee5-72ca-42cf-a55b-c8268c9fbe5c.png)
The relations of all tables are listed under ``Relations``.
![image](https://user-images.githubusercontent.com/35857179/126929023-dbb82353-bebf-4a44-85b9-3e4095f24b67.png)
![image](https://user-images.githubusercontent.com/35857179/127611116-0289f739-bad7-45a0-b2bd-bfd8565f50b8.png)
## UI Access Control
You can control the access to each table and relation by roles.
![image](https://user-images.githubusercontent.com/35857179/126929212-384a91c0-645f-4958-b00b-1b89105026ea.png)
![image](https://user-images.githubusercontent.com/35857179/126929223-66520c0b-9303-4a61-abf8-e7911215904d.png)
![image](https://user-images.githubusercontent.com/35857179/127611188-339de6ca-e648-47c0-a358-eee0d03ae9d0.png)
![image](https://user-images.githubusercontent.com/35857179/127611237-5c43e194-a8ba-4e33-b473-5b690a38e80d.png)
Loading…
Cancel
Save