ci: add crowdin configuration file and i18n files (#595)

* ci: add crowdin configuration file and i18n files

* fix: update i18n regex
This commit is contained in:
YunShu 2023-07-22 21:10:14 +08:00 committed by GitHub
parent 854213baae
commit a5723e1a52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 1300 additions and 48 deletions

View File

@ -34,23 +34,23 @@ jobs:
CROWDIN_PROJECT_ID: '603051'
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
- name: crowdin backend action
uses: crowdin/github-action@1.4.8
with:
upload_translations: true
# - name: crowdin backend action
# uses: crowdin/github-action@1.4.8
# with:
# upload_translations: true
download_translations: true
push_translations: true
commit_message: 'refactor: New Crowdin Backend translations by Github Action'
# download_translations: true
# push_translations: true
# commit_message: 'refactor: New Crowdin Backend translations by Github Action'
localization_branch_name: l10n_crowdin_action
create_pull_request: true
pull_request_title: 'refactor: New Crowdin Backend translations'
# localization_branch_name: l10n_crowdin_action
# create_pull_request: true
# pull_request_title: 'refactor: New Crowdin Backend translations'
crowdin_branch_name: l10n_branch
config: './crowdin.yml'
# crowdin_branch_name: l10n_branch
# config: './crowdin.yml'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: '603051'
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CROWDIN_PROJECT_ID: '603051'
# CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

View File

@ -29,7 +29,7 @@ type I18nData map[string]map[string]string
var reI18n *regexp.Regexp
func init() {
reI18n, _ = regexp.Compile("i18next.t\\(\"(.*)\"\\)")
reI18n, _ = regexp.Compile("i18next.t\\(\"(.*?)\"\\)")
}
func getAllI18nStrings(fileContent string) []string {

View File

@ -16,13 +16,24 @@ package i18n
import "testing"
func applyToOtherLanguage(dataEn *I18nData, lang string) {
dataOther := readI18nFile(lang)
println(dataOther)
applyData(dataEn, dataOther)
writeI18nFile(lang, dataEn)
}
func TestGenerateI18nStrings(t *testing.T) {
dataEn := parseToData()
writeI18nFile("en", dataEn)
dataZh := readI18nFile("zh")
println(dataZh)
applyData(dataEn, dataZh)
writeI18nFile("zh", dataEn)
applyToOtherLanguage(dataEn, "zh")
applyToOtherLanguage(dataEn, "fr")
applyToOtherLanguage(dataEn, "de")
applyToOtherLanguage(dataEn, "id")
applyToOtherLanguage(dataEn, "ja")
applyToOtherLanguage(dataEn, "ko")
applyToOtherLanguage(dataEn, "ru")
applyToOtherLanguage(dataEn, "es")
}

10
web/crowdin.yml Normal file
View File

@ -0,0 +1,10 @@
project_id: '603051'
api_token_env: 'CROWDIN_PERSONAL_TOKEN'
preserve_hierarchy: true
files: [
# JSON translation files
{
source: '/src/locales/en/data.json',
translation: '/src/locales/%two_letters_code%/data.json',
},
]

View File

@ -0,0 +1,159 @@
{
"account": {
"Chats \u0026 Messages": "Chats \u0026 Messages",
"My Account": "My Account",
"Sign In": "Sign In",
"Sign Out": "Sign Out",
"Sign Up": "Sign Up"
},
"chat": {
"AI": "AI",
"Category": "Category",
"Chats": "Chats",
"Edit Chat": "Edit Chat",
"Group": "Group",
"Message count": "Message count",
"Single": "Single",
"Type": "Type",
"User1": "User1",
"User2": "User2",
"Users": "Users"
},
"factorset": {
"Count": "Count",
"Dimension": "Dimension",
"Edit Factorset": "Edit Factorset",
"Example factors": "Example factors",
"File name": "File name",
"File size": "File size"
},
"general": {
"Action": "Action",
"Add": "Add",
"Back Home": "Back Home",
"Cancel": "Cancel",
"Chats": "Chats",
"Close": "Close",
"Clustering": "Clustering",
"Created time": "Created time",
"Data": "Data",
"Delete": "Delete",
"Display name": "Display name",
"Download": "Download",
"Edit": "Edit",
"Factorsets": "Factorsets",
"Failed to add": "Failed to add",
"Failed to connect to server": "Failed to connect to server",
"Failed to delete": "Failed to delete",
"Failed to get answer": "Failed to get answer",
"Home": "Home",
"Loading...": "Loading...",
"Logs": "Logs",
"Menu": "Menu",
"Messages": "Messages",
"Name": "Name",
"No.": "No.",
"OK": "OK",
"Organization": "Organization",
"Organization - Tooltip": "Organization - Tooltip",
"Permissions": "Permissions",
"Preview": "Preview",
"Provider URL": "Provider URL",
"Providers": "Providers",
"Result": "Result",
"Save": "Save",
"Sorry, you do not have permission to access this page or logged in status invalid.": "Sorry, you do not have permission to access this page or logged in status invalid.",
"Stores": "Stores",
"Successfully added": "Successfully added",
"Successfully deleted": "Successfully deleted",
"URL": "URL",
"Updated time": "Updated time",
"Users": "Users",
"Vectors": "Vectors",
"Videos": "Videos",
"View": "View",
"Wordsets": "Wordsets"
},
"login": {
"Loading": "Loading"
},
"message": {
"Author": "Author",
"Chat": "Chat",
"Edit Chat": "Edit Chat",
"Messages": "Messages",
"Reply to": "Reply to",
"Text": "Text",
"replyTo": "replyTo"
},
"provider": {
"Category": "Category",
"Edit Provider": "Edit Provider",
"Provider URL": "Provider URL",
"Secret key": "Secret key",
"Type": "Type"
},
"store": {
"Add Permission": "Add Permission",
"Apply for Permission": "Apply for Permission",
"Biology": "Biology",
"Bucket": "Bucket",
"Category": "Category",
"Chemistry": "Chemistry",
"Chinese": "Chinese",
"Collected time": "Collected time",
"Delete": "Delete",
"Domain": "Domain",
"Download": "Download",
"Edit Store": "Edit Store",
"English": "English",
"File": "File",
"File tree": "File tree",
"File type": "File type",
"Folder": "Folder",
"History": "History",
"Math": "Math",
"Move": "Move",
"New folder": "New folder",
"Other": "Other",
"Path": "Path",
"Physics": "Physics",
"Please choose the type of your data": "Please choose the type of your data",
"Please input your search term": "Please input your search term",
"Rename": "Rename",
"Science": "Science",
"Sorry, you are unauthorized to access this file or folder": "Sorry, you are unauthorized to access this file or folder",
"Subject": "Subject",
"Upload file": "Upload file",
"files and": "files and",
"folders are checked": "folders are checked"
},
"vector": {
"Data": "Data",
"Edit Vector": "Edit Vector",
"File": "File",
"Store": "Store",
"Text": "Text"
},
"video": {
"Cover": "Cover",
"Current time (second)": "Current time (second)",
"Edit Video": "Edit Video",
"End time (s)": "End time (s)",
"Label count": "Label count",
"Labels": "Labels",
"Start time (s)": "Start time (s)",
"Tag on pause": "Tag on pause",
"Text": "Text",
"Video": "Video",
"Video ID": "Video ID"
},
"wordset": {
"Distance limit": "Distance limit",
"Edit Wordset": "Edit Wordset",
"Factorset": "Factorset",
"Match": "Match",
"Matched": "Matched",
"Words": "Words"
}
}

View File

@ -1,13 +1,39 @@
{
"account": {
"Chats \u0026 Messages": "Chats \u0026 Messages",
"My Account": "My Account",
"Sign In": "Sign In",
"Sign Out": "Sign Out",
"Sign Up": "Sign Up"
},
"chat": {
"AI": "AI",
"Category": "Category",
"Chats": "Chats",
"Edit Chat": "Edit Chat",
"Group": "Group",
"Message count": "Message count",
"Single": "Single",
"Type": "Type",
"User1": "User1",
"User2": "User2",
"Users": "Users"
},
"factorset": {
"Count": "Count",
"Dimension": "Dimension",
"Edit Factorset": "Edit Factorset",
"Example factors": "Example factors",
"File name": "File name",
"File size": "File size"
},
"general": {
"Action": "Action",
"Add": "Add",
"Back Home": "Back Home",
"Cancel": "Cancel",
"Chats": "Chats",
"Close": "Close",
"Clustering": "Clustering",
"Created time": "Created time",
"Data": "Data",
@ -15,22 +41,58 @@
"Display name": "Display name",
"Download": "Download",
"Edit": "Edit",
"Factorsets": "Factorsets",
"Failed to add": "Failed to add",
"Failed to connect to server": "Failed to connect to server",
"Failed to delete": "Failed to delete",
"Failed to get answer": "Failed to get answer",
"Home": "Home",
"Loading...": "Loading...",
"Logs": "Logs",
"Menu": "Menu",
"Messages": "Messages",
"Name": "Name",
"No.": "No.",
"OK": "OK",
"Organization": "Organization",
"Organization - Tooltip": "Organization - Tooltip",
"Permissions": "Permissions",
"Preview": "Preview",
"Logs": "Logs",
"Provider URL": "Provider URL",
"Providers": "Providers",
"Result": "Result",
"Save": "Save",
"Sorry, you do not have permission to access this page or logged in status invalid.": "Sorry, you do not have permission to access this page or logged in status invalid.",
"Stores": "Stores",
"Successfully added": "Successfully added",
"Successfully deleted": "Successfully deleted",
"URL": "URL",
"Factorsets": "Factorsets",
"Updated time": "Updated time",
"Users": "Users",
"Vectors": "Vectors",
"Videos": "Videos",
"View": "View",
"Wordsets": "Wordsets"
},
"login": {
"Loading": "Loading"
},
"message": {
"Author": "Author",
"Chat": "Chat",
"Edit Chat": "Edit Chat",
"Messages": "Messages",
"Reply to": "Reply to",
"Text": "Text",
"replyTo": "replyTo"
},
"provider": {
"Category": "Category",
"Edit Provider": "Edit Provider",
"Provider URL": "Provider URL",
"Secret key": "Secret key",
"Type": "Type"
},
"store": {
"Add Permission": "Add Permission",
"Apply for Permission": "Apply for Permission",
@ -66,13 +128,12 @@
"files and": "files and",
"folders are checked": "folders are checked"
},
"factorset": {
"Count": "Count",
"Dimension": "Dimension",
"Edit Factorset": "Edit Factorset",
"Example factors": "Example factors",
"File name": "File name",
"File size": "File size"
"vector": {
"Data": "Data",
"Edit Vector": "Edit Vector",
"File": "File",
"Store": "Store",
"Text": "Text"
},
"video": {
"Cover": "Cover",
@ -88,13 +149,11 @@
"Video ID": "Video ID"
},
"wordset": {
"All words": "All words",
"Distance limit": "Distance limit",
"Edit Wordset": "Edit Wordset",
"Factorset": "Factorset",
"Match": "Match",
"Matched": "Matched",
"Valid words": "Valid words",
"Factorset": "Factorset",
"Words": "Words"
}
}

View File

@ -0,0 +1,159 @@
{
"account": {
"Chats \u0026 Messages": "Chats \u0026 Messages",
"My Account": "My Account",
"Sign In": "Sign In",
"Sign Out": "Sign Out",
"Sign Up": "Sign Up"
},
"chat": {
"AI": "AI",
"Category": "Category",
"Chats": "Chats",
"Edit Chat": "Edit Chat",
"Group": "Group",
"Message count": "Message count",
"Single": "Single",
"Type": "Type",
"User1": "User1",
"User2": "User2",
"Users": "Users"
},
"factorset": {
"Count": "Count",
"Dimension": "Dimension",
"Edit Factorset": "Edit Factorset",
"Example factors": "Example factors",
"File name": "File name",
"File size": "File size"
},
"general": {
"Action": "Action",
"Add": "Add",
"Back Home": "Back Home",
"Cancel": "Cancel",
"Chats": "Chats",
"Close": "Close",
"Clustering": "Clustering",
"Created time": "Created time",
"Data": "Data",
"Delete": "Delete",
"Display name": "Display name",
"Download": "Download",
"Edit": "Edit",
"Factorsets": "Factorsets",
"Failed to add": "Failed to add",
"Failed to connect to server": "Failed to connect to server",
"Failed to delete": "Failed to delete",
"Failed to get answer": "Failed to get answer",
"Home": "Home",
"Loading...": "Loading...",
"Logs": "Logs",
"Menu": "Menu",
"Messages": "Messages",
"Name": "Name",
"No.": "No.",
"OK": "OK",
"Organization": "Organization",
"Organization - Tooltip": "Organization - Tooltip",
"Permissions": "Permissions",
"Preview": "Preview",
"Provider URL": "Provider URL",
"Providers": "Providers",
"Result": "Result",
"Save": "Save",
"Sorry, you do not have permission to access this page or logged in status invalid.": "Sorry, you do not have permission to access this page or logged in status invalid.",
"Stores": "Stores",
"Successfully added": "Successfully added",
"Successfully deleted": "Successfully deleted",
"URL": "URL",
"Updated time": "Updated time",
"Users": "Users",
"Vectors": "Vectors",
"Videos": "Videos",
"View": "View",
"Wordsets": "Wordsets"
},
"login": {
"Loading": "Loading"
},
"message": {
"Author": "Author",
"Chat": "Chat",
"Edit Chat": "Edit Chat",
"Messages": "Messages",
"Reply to": "Reply to",
"Text": "Text",
"replyTo": "replyTo"
},
"provider": {
"Category": "Category",
"Edit Provider": "Edit Provider",
"Provider URL": "Provider URL",
"Secret key": "Secret key",
"Type": "Type"
},
"store": {
"Add Permission": "Add Permission",
"Apply for Permission": "Apply for Permission",
"Biology": "Biology",
"Bucket": "Bucket",
"Category": "Category",
"Chemistry": "Chemistry",
"Chinese": "Chinese",
"Collected time": "Collected time",
"Delete": "Delete",
"Domain": "Domain",
"Download": "Download",
"Edit Store": "Edit Store",
"English": "English",
"File": "File",
"File tree": "File tree",
"File type": "File type",
"Folder": "Folder",
"History": "History",
"Math": "Math",
"Move": "Move",
"New folder": "New folder",
"Other": "Other",
"Path": "Path",
"Physics": "Physics",
"Please choose the type of your data": "Please choose the type of your data",
"Please input your search term": "Please input your search term",
"Rename": "Rename",
"Science": "Science",
"Sorry, you are unauthorized to access this file or folder": "Sorry, you are unauthorized to access this file or folder",
"Subject": "Subject",
"Upload file": "Upload file",
"files and": "files and",
"folders are checked": "folders are checked"
},
"vector": {
"Data": "Data",
"Edit Vector": "Edit Vector",
"File": "File",
"Store": "Store",
"Text": "Text"
},
"video": {
"Cover": "Cover",
"Current time (second)": "Current time (second)",
"Edit Video": "Edit Video",
"End time (s)": "End time (s)",
"Label count": "Label count",
"Labels": "Labels",
"Start time (s)": "Start time (s)",
"Tag on pause": "Tag on pause",
"Text": "Text",
"Video": "Video",
"Video ID": "Video ID"
},
"wordset": {
"Distance limit": "Distance limit",
"Edit Wordset": "Edit Wordset",
"Factorset": "Factorset",
"Match": "Match",
"Matched": "Matched",
"Words": "Words"
}
}

View File

@ -0,0 +1,159 @@
{
"account": {
"Chats \u0026 Messages": "Chats \u0026 Messages",
"My Account": "My Account",
"Sign In": "Sign In",
"Sign Out": "Sign Out",
"Sign Up": "Sign Up"
},
"chat": {
"AI": "AI",
"Category": "Category",
"Chats": "Chats",
"Edit Chat": "Edit Chat",
"Group": "Group",
"Message count": "Message count",
"Single": "Single",
"Type": "Type",
"User1": "User1",
"User2": "User2",
"Users": "Users"
},
"factorset": {
"Count": "Count",
"Dimension": "Dimension",
"Edit Factorset": "Edit Factorset",
"Example factors": "Example factors",
"File name": "File name",
"File size": "File size"
},
"general": {
"Action": "Action",
"Add": "Add",
"Back Home": "Back Home",
"Cancel": "Cancel",
"Chats": "Chats",
"Close": "Close",
"Clustering": "Clustering",
"Created time": "Created time",
"Data": "Data",
"Delete": "Delete",
"Display name": "Display name",
"Download": "Download",
"Edit": "Edit",
"Factorsets": "Factorsets",
"Failed to add": "Failed to add",
"Failed to connect to server": "Failed to connect to server",
"Failed to delete": "Failed to delete",
"Failed to get answer": "Failed to get answer",
"Home": "Home",
"Loading...": "Loading...",
"Logs": "Logs",
"Menu": "Menu",
"Messages": "Messages",
"Name": "Name",
"No.": "No.",
"OK": "OK",
"Organization": "Organization",
"Organization - Tooltip": "Organization - Tooltip",
"Permissions": "Permissions",
"Preview": "Preview",
"Provider URL": "Provider URL",
"Providers": "Providers",
"Result": "Result",
"Save": "Save",
"Sorry, you do not have permission to access this page or logged in status invalid.": "Sorry, you do not have permission to access this page or logged in status invalid.",
"Stores": "Stores",
"Successfully added": "Successfully added",
"Successfully deleted": "Successfully deleted",
"URL": "URL",
"Updated time": "Updated time",
"Users": "Users",
"Vectors": "Vectors",
"Videos": "Videos",
"View": "View",
"Wordsets": "Wordsets"
},
"login": {
"Loading": "Loading"
},
"message": {
"Author": "Author",
"Chat": "Chat",
"Edit Chat": "Edit Chat",
"Messages": "Messages",
"Reply to": "Reply to",
"Text": "Text",
"replyTo": "replyTo"
},
"provider": {
"Category": "Category",
"Edit Provider": "Edit Provider",
"Provider URL": "Provider URL",
"Secret key": "Secret key",
"Type": "Type"
},
"store": {
"Add Permission": "Add Permission",
"Apply for Permission": "Apply for Permission",
"Biology": "Biology",
"Bucket": "Bucket",
"Category": "Category",
"Chemistry": "Chemistry",
"Chinese": "Chinese",
"Collected time": "Collected time",
"Delete": "Delete",
"Domain": "Domain",
"Download": "Download",
"Edit Store": "Edit Store",
"English": "English",
"File": "File",
"File tree": "File tree",
"File type": "File type",
"Folder": "Folder",
"History": "History",
"Math": "Math",
"Move": "Move",
"New folder": "New folder",
"Other": "Other",
"Path": "Path",
"Physics": "Physics",
"Please choose the type of your data": "Please choose the type of your data",
"Please input your search term": "Please input your search term",
"Rename": "Rename",
"Science": "Science",
"Sorry, you are unauthorized to access this file or folder": "Sorry, you are unauthorized to access this file or folder",
"Subject": "Subject",
"Upload file": "Upload file",
"files and": "files and",
"folders are checked": "folders are checked"
},
"vector": {
"Data": "Data",
"Edit Vector": "Edit Vector",
"File": "File",
"Store": "Store",
"Text": "Text"
},
"video": {
"Cover": "Cover",
"Current time (second)": "Current time (second)",
"Edit Video": "Edit Video",
"End time (s)": "End time (s)",
"Label count": "Label count",
"Labels": "Labels",
"Start time (s)": "Start time (s)",
"Tag on pause": "Tag on pause",
"Text": "Text",
"Video": "Video",
"Video ID": "Video ID"
},
"wordset": {
"Distance limit": "Distance limit",
"Edit Wordset": "Edit Wordset",
"Factorset": "Factorset",
"Match": "Match",
"Matched": "Matched",
"Words": "Words"
}
}

View File

@ -0,0 +1,159 @@
{
"account": {
"Chats \u0026 Messages": "Chats \u0026 Messages",
"My Account": "My Account",
"Sign In": "Sign In",
"Sign Out": "Sign Out",
"Sign Up": "Sign Up"
},
"chat": {
"AI": "AI",
"Category": "Category",
"Chats": "Chats",
"Edit Chat": "Edit Chat",
"Group": "Group",
"Message count": "Message count",
"Single": "Single",
"Type": "Type",
"User1": "User1",
"User2": "User2",
"Users": "Users"
},
"factorset": {
"Count": "Count",
"Dimension": "Dimension",
"Edit Factorset": "Edit Factorset",
"Example factors": "Example factors",
"File name": "File name",
"File size": "File size"
},
"general": {
"Action": "Action",
"Add": "Add",
"Back Home": "Back Home",
"Cancel": "Cancel",
"Chats": "Chats",
"Close": "Close",
"Clustering": "Clustering",
"Created time": "Created time",
"Data": "Data",
"Delete": "Delete",
"Display name": "Display name",
"Download": "Download",
"Edit": "Edit",
"Factorsets": "Factorsets",
"Failed to add": "Failed to add",
"Failed to connect to server": "Failed to connect to server",
"Failed to delete": "Failed to delete",
"Failed to get answer": "Failed to get answer",
"Home": "Home",
"Loading...": "Loading...",
"Logs": "Logs",
"Menu": "Menu",
"Messages": "Messages",
"Name": "Name",
"No.": "No.",
"OK": "OK",
"Organization": "Organization",
"Organization - Tooltip": "Organization - Tooltip",
"Permissions": "Permissions",
"Preview": "Preview",
"Provider URL": "Provider URL",
"Providers": "Providers",
"Result": "Result",
"Save": "Save",
"Sorry, you do not have permission to access this page or logged in status invalid.": "Sorry, you do not have permission to access this page or logged in status invalid.",
"Stores": "Stores",
"Successfully added": "Successfully added",
"Successfully deleted": "Successfully deleted",
"URL": "URL",
"Updated time": "Updated time",
"Users": "Users",
"Vectors": "Vectors",
"Videos": "Videos",
"View": "View",
"Wordsets": "Wordsets"
},
"login": {
"Loading": "Loading"
},
"message": {
"Author": "Author",
"Chat": "Chat",
"Edit Chat": "Edit Chat",
"Messages": "Messages",
"Reply to": "Reply to",
"Text": "Text",
"replyTo": "replyTo"
},
"provider": {
"Category": "Category",
"Edit Provider": "Edit Provider",
"Provider URL": "Provider URL",
"Secret key": "Secret key",
"Type": "Type"
},
"store": {
"Add Permission": "Add Permission",
"Apply for Permission": "Apply for Permission",
"Biology": "Biology",
"Bucket": "Bucket",
"Category": "Category",
"Chemistry": "Chemistry",
"Chinese": "Chinese",
"Collected time": "Collected time",
"Delete": "Delete",
"Domain": "Domain",
"Download": "Download",
"Edit Store": "Edit Store",
"English": "English",
"File": "File",
"File tree": "File tree",
"File type": "File type",
"Folder": "Folder",
"History": "History",
"Math": "Math",
"Move": "Move",
"New folder": "New folder",
"Other": "Other",
"Path": "Path",
"Physics": "Physics",
"Please choose the type of your data": "Please choose the type of your data",
"Please input your search term": "Please input your search term",
"Rename": "Rename",
"Science": "Science",
"Sorry, you are unauthorized to access this file or folder": "Sorry, you are unauthorized to access this file or folder",
"Subject": "Subject",
"Upload file": "Upload file",
"files and": "files and",
"folders are checked": "folders are checked"
},
"vector": {
"Data": "Data",
"Edit Vector": "Edit Vector",
"File": "File",
"Store": "Store",
"Text": "Text"
},
"video": {
"Cover": "Cover",
"Current time (second)": "Current time (second)",
"Edit Video": "Edit Video",
"End time (s)": "End time (s)",
"Label count": "Label count",
"Labels": "Labels",
"Start time (s)": "Start time (s)",
"Tag on pause": "Tag on pause",
"Text": "Text",
"Video": "Video",
"Video ID": "Video ID"
},
"wordset": {
"Distance limit": "Distance limit",
"Edit Wordset": "Edit Wordset",
"Factorset": "Factorset",
"Match": "Match",
"Matched": "Matched",
"Words": "Words"
}
}

View File

@ -0,0 +1,159 @@
{
"account": {
"Chats \u0026 Messages": "Chats \u0026 Messages",
"My Account": "My Account",
"Sign In": "Sign In",
"Sign Out": "Sign Out",
"Sign Up": "Sign Up"
},
"chat": {
"AI": "AI",
"Category": "Category",
"Chats": "Chats",
"Edit Chat": "Edit Chat",
"Group": "Group",
"Message count": "Message count",
"Single": "Single",
"Type": "Type",
"User1": "User1",
"User2": "User2",
"Users": "Users"
},
"factorset": {
"Count": "Count",
"Dimension": "Dimension",
"Edit Factorset": "Edit Factorset",
"Example factors": "Example factors",
"File name": "File name",
"File size": "File size"
},
"general": {
"Action": "Action",
"Add": "Add",
"Back Home": "Back Home",
"Cancel": "Cancel",
"Chats": "Chats",
"Close": "Close",
"Clustering": "Clustering",
"Created time": "Created time",
"Data": "Data",
"Delete": "Delete",
"Display name": "Display name",
"Download": "Download",
"Edit": "Edit",
"Factorsets": "Factorsets",
"Failed to add": "Failed to add",
"Failed to connect to server": "Failed to connect to server",
"Failed to delete": "Failed to delete",
"Failed to get answer": "Failed to get answer",
"Home": "Home",
"Loading...": "Loading...",
"Logs": "Logs",
"Menu": "Menu",
"Messages": "Messages",
"Name": "Name",
"No.": "No.",
"OK": "OK",
"Organization": "Organization",
"Organization - Tooltip": "Organization - Tooltip",
"Permissions": "Permissions",
"Preview": "Preview",
"Provider URL": "Provider URL",
"Providers": "Providers",
"Result": "Result",
"Save": "Save",
"Sorry, you do not have permission to access this page or logged in status invalid.": "Sorry, you do not have permission to access this page or logged in status invalid.",
"Stores": "Stores",
"Successfully added": "Successfully added",
"Successfully deleted": "Successfully deleted",
"URL": "URL",
"Updated time": "Updated time",
"Users": "Users",
"Vectors": "Vectors",
"Videos": "Videos",
"View": "View",
"Wordsets": "Wordsets"
},
"login": {
"Loading": "Loading"
},
"message": {
"Author": "Author",
"Chat": "Chat",
"Edit Chat": "Edit Chat",
"Messages": "Messages",
"Reply to": "Reply to",
"Text": "Text",
"replyTo": "replyTo"
},
"provider": {
"Category": "Category",
"Edit Provider": "Edit Provider",
"Provider URL": "Provider URL",
"Secret key": "Secret key",
"Type": "Type"
},
"store": {
"Add Permission": "Add Permission",
"Apply for Permission": "Apply for Permission",
"Biology": "Biology",
"Bucket": "Bucket",
"Category": "Category",
"Chemistry": "Chemistry",
"Chinese": "Chinese",
"Collected time": "Collected time",
"Delete": "Delete",
"Domain": "Domain",
"Download": "Download",
"Edit Store": "Edit Store",
"English": "English",
"File": "File",
"File tree": "File tree",
"File type": "File type",
"Folder": "Folder",
"History": "History",
"Math": "Math",
"Move": "Move",
"New folder": "New folder",
"Other": "Other",
"Path": "Path",
"Physics": "Physics",
"Please choose the type of your data": "Please choose the type of your data",
"Please input your search term": "Please input your search term",
"Rename": "Rename",
"Science": "Science",
"Sorry, you are unauthorized to access this file or folder": "Sorry, you are unauthorized to access this file or folder",
"Subject": "Subject",
"Upload file": "Upload file",
"files and": "files and",
"folders are checked": "folders are checked"
},
"vector": {
"Data": "Data",
"Edit Vector": "Edit Vector",
"File": "File",
"Store": "Store",
"Text": "Text"
},
"video": {
"Cover": "Cover",
"Current time (second)": "Current time (second)",
"Edit Video": "Edit Video",
"End time (s)": "End time (s)",
"Label count": "Label count",
"Labels": "Labels",
"Start time (s)": "Start time (s)",
"Tag on pause": "Tag on pause",
"Text": "Text",
"Video": "Video",
"Video ID": "Video ID"
},
"wordset": {
"Distance limit": "Distance limit",
"Edit Wordset": "Edit Wordset",
"Factorset": "Factorset",
"Match": "Match",
"Matched": "Matched",
"Words": "Words"
}
}

View File

@ -0,0 +1,159 @@
{
"account": {
"Chats \u0026 Messages": "Chats \u0026 Messages",
"My Account": "My Account",
"Sign In": "Sign In",
"Sign Out": "Sign Out",
"Sign Up": "Sign Up"
},
"chat": {
"AI": "AI",
"Category": "Category",
"Chats": "Chats",
"Edit Chat": "Edit Chat",
"Group": "Group",
"Message count": "Message count",
"Single": "Single",
"Type": "Type",
"User1": "User1",
"User2": "User2",
"Users": "Users"
},
"factorset": {
"Count": "Count",
"Dimension": "Dimension",
"Edit Factorset": "Edit Factorset",
"Example factors": "Example factors",
"File name": "File name",
"File size": "File size"
},
"general": {
"Action": "Action",
"Add": "Add",
"Back Home": "Back Home",
"Cancel": "Cancel",
"Chats": "Chats",
"Close": "Close",
"Clustering": "Clustering",
"Created time": "Created time",
"Data": "Data",
"Delete": "Delete",
"Display name": "Display name",
"Download": "Download",
"Edit": "Edit",
"Factorsets": "Factorsets",
"Failed to add": "Failed to add",
"Failed to connect to server": "Failed to connect to server",
"Failed to delete": "Failed to delete",
"Failed to get answer": "Failed to get answer",
"Home": "Home",
"Loading...": "Loading...",
"Logs": "Logs",
"Menu": "Menu",
"Messages": "Messages",
"Name": "Name",
"No.": "No.",
"OK": "OK",
"Organization": "Organization",
"Organization - Tooltip": "Organization - Tooltip",
"Permissions": "Permissions",
"Preview": "Preview",
"Provider URL": "Provider URL",
"Providers": "Providers",
"Result": "Result",
"Save": "Save",
"Sorry, you do not have permission to access this page or logged in status invalid.": "Sorry, you do not have permission to access this page or logged in status invalid.",
"Stores": "Stores",
"Successfully added": "Successfully added",
"Successfully deleted": "Successfully deleted",
"URL": "URL",
"Updated time": "Updated time",
"Users": "Users",
"Vectors": "Vectors",
"Videos": "Videos",
"View": "View",
"Wordsets": "Wordsets"
},
"login": {
"Loading": "Loading"
},
"message": {
"Author": "Author",
"Chat": "Chat",
"Edit Chat": "Edit Chat",
"Messages": "Messages",
"Reply to": "Reply to",
"Text": "Text",
"replyTo": "replyTo"
},
"provider": {
"Category": "Category",
"Edit Provider": "Edit Provider",
"Provider URL": "Provider URL",
"Secret key": "Secret key",
"Type": "Type"
},
"store": {
"Add Permission": "Add Permission",
"Apply for Permission": "Apply for Permission",
"Biology": "Biology",
"Bucket": "Bucket",
"Category": "Category",
"Chemistry": "Chemistry",
"Chinese": "Chinese",
"Collected time": "Collected time",
"Delete": "Delete",
"Domain": "Domain",
"Download": "Download",
"Edit Store": "Edit Store",
"English": "English",
"File": "File",
"File tree": "File tree",
"File type": "File type",
"Folder": "Folder",
"History": "History",
"Math": "Math",
"Move": "Move",
"New folder": "New folder",
"Other": "Other",
"Path": "Path",
"Physics": "Physics",
"Please choose the type of your data": "Please choose the type of your data",
"Please input your search term": "Please input your search term",
"Rename": "Rename",
"Science": "Science",
"Sorry, you are unauthorized to access this file or folder": "Sorry, you are unauthorized to access this file or folder",
"Subject": "Subject",
"Upload file": "Upload file",
"files and": "files and",
"folders are checked": "folders are checked"
},
"vector": {
"Data": "Data",
"Edit Vector": "Edit Vector",
"File": "File",
"Store": "Store",
"Text": "Text"
},
"video": {
"Cover": "Cover",
"Current time (second)": "Current time (second)",
"Edit Video": "Edit Video",
"End time (s)": "End time (s)",
"Label count": "Label count",
"Labels": "Labels",
"Start time (s)": "Start time (s)",
"Tag on pause": "Tag on pause",
"Text": "Text",
"Video": "Video",
"Video ID": "Video ID"
},
"wordset": {
"Distance limit": "Distance limit",
"Edit Wordset": "Edit Wordset",
"Factorset": "Factorset",
"Match": "Match",
"Matched": "Matched",
"Words": "Words"
}
}

View File

@ -0,0 +1,159 @@
{
"account": {
"Chats \u0026 Messages": "Chats \u0026 Messages",
"My Account": "My Account",
"Sign In": "Sign In",
"Sign Out": "Sign Out",
"Sign Up": "Sign Up"
},
"chat": {
"AI": "AI",
"Category": "Category",
"Chats": "Chats",
"Edit Chat": "Edit Chat",
"Group": "Group",
"Message count": "Message count",
"Single": "Single",
"Type": "Type",
"User1": "User1",
"User2": "User2",
"Users": "Users"
},
"factorset": {
"Count": "Count",
"Dimension": "Dimension",
"Edit Factorset": "Edit Factorset",
"Example factors": "Example factors",
"File name": "File name",
"File size": "File size"
},
"general": {
"Action": "Action",
"Add": "Add",
"Back Home": "Back Home",
"Cancel": "Cancel",
"Chats": "Chats",
"Close": "Close",
"Clustering": "Clustering",
"Created time": "Created time",
"Data": "Data",
"Delete": "Delete",
"Display name": "Display name",
"Download": "Download",
"Edit": "Edit",
"Factorsets": "Factorsets",
"Failed to add": "Failed to add",
"Failed to connect to server": "Failed to connect to server",
"Failed to delete": "Failed to delete",
"Failed to get answer": "Failed to get answer",
"Home": "Home",
"Loading...": "Loading...",
"Logs": "Logs",
"Menu": "Menu",
"Messages": "Messages",
"Name": "Name",
"No.": "No.",
"OK": "OK",
"Organization": "Organization",
"Organization - Tooltip": "Organization - Tooltip",
"Permissions": "Permissions",
"Preview": "Preview",
"Provider URL": "Provider URL",
"Providers": "Providers",
"Result": "Result",
"Save": "Save",
"Sorry, you do not have permission to access this page or logged in status invalid.": "Sorry, you do not have permission to access this page or logged in status invalid.",
"Stores": "Stores",
"Successfully added": "Successfully added",
"Successfully deleted": "Successfully deleted",
"URL": "URL",
"Updated time": "Updated time",
"Users": "Users",
"Vectors": "Vectors",
"Videos": "Videos",
"View": "View",
"Wordsets": "Wordsets"
},
"login": {
"Loading": "Loading"
},
"message": {
"Author": "Author",
"Chat": "Chat",
"Edit Chat": "Edit Chat",
"Messages": "Messages",
"Reply to": "Reply to",
"Text": "Text",
"replyTo": "replyTo"
},
"provider": {
"Category": "Category",
"Edit Provider": "Edit Provider",
"Provider URL": "Provider URL",
"Secret key": "Secret key",
"Type": "Type"
},
"store": {
"Add Permission": "Add Permission",
"Apply for Permission": "Apply for Permission",
"Biology": "Biology",
"Bucket": "Bucket",
"Category": "Category",
"Chemistry": "Chemistry",
"Chinese": "Chinese",
"Collected time": "Collected time",
"Delete": "Delete",
"Domain": "Domain",
"Download": "Download",
"Edit Store": "Edit Store",
"English": "English",
"File": "File",
"File tree": "File tree",
"File type": "File type",
"Folder": "Folder",
"History": "History",
"Math": "Math",
"Move": "Move",
"New folder": "New folder",
"Other": "Other",
"Path": "Path",
"Physics": "Physics",
"Please choose the type of your data": "Please choose the type of your data",
"Please input your search term": "Please input your search term",
"Rename": "Rename",
"Science": "Science",
"Sorry, you are unauthorized to access this file or folder": "Sorry, you are unauthorized to access this file or folder",
"Subject": "Subject",
"Upload file": "Upload file",
"files and": "files and",
"folders are checked": "folders are checked"
},
"vector": {
"Data": "Data",
"Edit Vector": "Edit Vector",
"File": "File",
"Store": "Store",
"Text": "Text"
},
"video": {
"Cover": "Cover",
"Current time (second)": "Current time (second)",
"Edit Video": "Edit Video",
"End time (s)": "End time (s)",
"Label count": "Label count",
"Labels": "Labels",
"Start time (s)": "Start time (s)",
"Tag on pause": "Tag on pause",
"Text": "Text",
"Video": "Video",
"Video ID": "Video ID"
},
"wordset": {
"Distance limit": "Distance limit",
"Edit Wordset": "Edit Wordset",
"Factorset": "Factorset",
"Match": "Match",
"Matched": "Matched",
"Words": "Words"
}
}

View File

@ -1,13 +1,39 @@
{
"account": {
"Chats \u0026 Messages": "Chats \u0026 Messages",
"My Account": "我的账户",
"Sign In": "登录",
"Sign Out": "登出",
"Sign Up": "注册"
},
"chat": {
"AI": "AI",
"Category": "Category",
"Chats": "Chats",
"Edit Chat": "Edit Chat",
"Group": "Group",
"Message count": "Message count",
"Single": "Single",
"Type": "Type",
"User1": "User1",
"User2": "User2",
"Users": "Users"
},
"factorset": {
"Count": "个数",
"Dimension": "维度",
"Edit Factorset": "编辑向量集",
"Example factors": "示例向量",
"File name": "文件名",
"File size": "文件大小"
},
"general": {
"Action": "操作",
"Add": "添加",
"Back Home": "Back Home",
"Cancel": "Cancel",
"Chats": "Chats",
"Close": "Close",
"Clustering": "聚类分析",
"Created time": "上传时间",
"Data": "数据",
@ -15,22 +41,58 @@
"Display name": "显示名称",
"Download": "下载",
"Edit": "编辑",
"Home": "首页",
"Factorsets": "我的向量集",
"Failed to add": "Failed to add",
"Failed to connect to server": "Failed to connect to server",
"Failed to delete": "Failed to delete",
"Failed to get answer": "Failed to get answer",
"Home": "Home",
"Loading...": "加载中...",
"Logs": "我的日志",
"Menu": "Menu",
"Messages": "Messages",
"Name": "名称",
"No.": "序号",
"OK": "OK",
"Organization": "Organization",
"Organization - Tooltip": "Organization - Tooltip",
"Permissions": "我的权限",
"Preview": "预览",
"Logs": "我的日志",
"Provider URL": "Provider URL",
"Providers": "Providers",
"Result": "结果",
"Save": "保存",
"Sorry, you do not have permission to access this page or logged in status invalid.": "Sorry, you do not have permission to access this page or logged in status invalid.",
"Stores": "我的数据仓库",
"Successfully added": "Successfully added",
"Successfully deleted": "Successfully deleted",
"URL": "链接",
"Factorsets": "我的向量集",
"Updated time": "Updated time",
"Users": "Users",
"Vectors": "Vectors",
"Videos": "我的视频",
"View": "查看",
"Wordsets": "我的词汇集"
},
"login": {
"Loading": "Loading"
},
"message": {
"Author": "Author",
"Chat": "Chat",
"Edit Chat": "Edit Chat",
"Messages": "Messages",
"Reply to": "Reply to",
"Text": "Text",
"replyTo": "replyTo"
},
"provider": {
"Category": "Category",
"Edit Provider": "Edit Provider",
"Provider URL": "Provider URL",
"Secret key": "Secret key",
"Type": "Type"
},
"store": {
"Add Permission": "添加权限",
"Apply for Permission": "申请权限",
@ -66,13 +128,12 @@
"files and": "个文件和",
"folders are checked": "文件夹已被选择"
},
"factorset": {
"Count": "个数",
"Dimension": "维度",
"Edit Factorset": "编辑向量集",
"Example factors": "示例向量",
"File name": "文件名",
"File size": "文件大小"
"vector": {
"Data": "Data",
"Edit Vector": "Edit Vector",
"File": "File",
"Store": "Store",
"Text": "Text"
},
"video": {
"Cover": "封面图片",
@ -88,13 +149,11 @@
"Video ID": "视频ID"
},
"wordset": {
"All words": "所有词汇",
"Distance limit": "距离上限",
"Edit Wordset": "编辑词汇集",
"Factorset": "向量集",
"Match": "匹配",
"Matched": "匹配度",
"Valid words": "有效词汇",
"Factorset": "向量集",
"Words": "词汇表"
}
}
}