Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

WIP: feat: sort the order of language packs in English and terminology not translated in Workbench #593

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
7f312a3
fix: language pack code unification
SQLGate Dec 21, 2021
0cca06a
fix: language pack code unification
SQLGate Dec 21, 2021
254c7e2
Merge branch 'feat/lanuage-pack' of https://github.com/SQLGate/molecu…
SQLGate Dec 21, 2021
31bccc1
Merge branch 'feat/lanuage-pack' of https://github.com/SQLGate/molecu…
SQLGate Dec 21, 2021
690da43
Merge branch 'feat/lanuage-pack' of https://github.com/SQLGate/molecu…
SQLGate Dec 21, 2021
55a1e6e
Update src/extensions/locales-defaults/locales/en.json
SQLGate Dec 21, 2021
66d2182
Merge branch 'feat/lanuage-pack' of https://github.com/SQLGate/molecu…
SQLGate Dec 21, 2021
232db82
fix: language pack unit test
SQLGate Dec 22, 2021
53975f7
fix: language pack unit test
SQLGate Dec 22, 2021
29e42d6
Merge branch 'feat/lanuage-pack' of https://github.com/SQLGate/molecu…
SQLGate Dec 25, 2021
f8ba1f3
Merge branch 'feat/lanuage-pack' into main
SQLGate Dec 25, 2021
fd73b58
docs: add korean README and add test method
SQLGate Dec 25, 2021
65d2948
docs: add korean README and add test method
SQLGate Dec 25, 2021
39da0af
docs: change default locale change to en
SQLGate Dec 25, 2021
675050b
Merge branch 'feat/lanuage-pack' into main
SQLGate Dec 25, 2021
11aa1af
Merge branch 'main' of https://github.com/SQLGate/molecule into main
SQLGate Jan 2, 2022
60e9cc2
feat: sort the order of language packs in English and terminology not…
SQLGate Jan 2, 2022
760af10
feat: sort the order of language packs in English and terminology not…
SQLGate Jan 2, 2022
32e19f6
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
3b8278e
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
c7f71f3
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
3ff9843
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
1206876
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
b9ce846
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
b80f39f
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
7f8aac7
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
b355489
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
40bb25e
fix: if there are many tabs, the scrollbar will appear large
SQLGate Jan 2, 2022
d7f266f
fix: the shortcut key is WordWrap in the welcome page
SQLGate Jan 2, 2022
bd84b39
Merge branch 'DTStack:main' into locale/language-pack
SQLGate Jan 2, 2022
a3b4170
feat: increase the readability of small samples in the Workbench of t…
SQLGate Jan 2, 2022
45ebe36
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
cec15b4
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
db2c705
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
54dec8d
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
db745a9
Merge branch 'locale/language-pack' of https://github.com/SQLGate/mol…
SQLGate Jan 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/scrollable/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ $react-custom-scrollbars: '.ScrollbarsCustom';
&-Scroller,
&-Content,
&-Wrapper {
height: 100%;
//height: 100%;
}
}
8 changes: 6 additions & 2 deletions src/components/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
searchTargetContainerClassName,
} from './base';
import { Icon } from '../icon';
import { localize } from 'mo/i18n/localize';

export type SearchValues = (string | undefined)[];

Expand Down Expand Up @@ -52,8 +53,11 @@ export function Search(props: ISearchProps) {
} = props;

const [
searchPlaceholder = 'Search',
replacePlaceholder = 'Replace',
searchPlaceholder = localize('sidebar.search.placeHolder', 'Search'),
replacePlaceholder = localize(
'sidebar.search.replace.placeHolder',
'Replace'
),
] = placeholders;

const [searchAddons, replaceAddons] = addons;
Expand Down
142 changes: 80 additions & 62 deletions src/extensions/locales-defaults/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,84 +3,102 @@
"name": "English",
"source": {
"molecule.welcome": "Welcome to Molecule",
"menubar": "Menu Bar",
"menu.file": "File",
"menu.settings": "Settings",
"contextmenu.addFolderToSpace": "Add Folder to Workspace...",
"contextmenu.delete": "Delete",
"contextmenu.download": "Download...",
"contextmenu.findInSpace": "Find in Workspace...",
"contextmenu.newFile": "New File",
"contextmenu.newFolder": "New Folder",
"contextmenu.openToTheSide": "Open to the Side",
"contextmenu.removeFolder": "Remove Folder",
"contextmenu.rename": "Rename",
"editor.actions.splitRight": "Split Editor Right",
"editor.close": "Close",
"editor.closeAll": "Close All",
"editor.closeOthers": "Close Others",
"editor.closeSaved": "Close Saved",
"editor.closeToLeft": "Close To Left",
"editor.closeToRight": "Close To Right",
"editor.gotoLine": "Go to Line/Column...",
"editor.singleSelection": "Line ${i}, Column ${i}",
"editor.showOpenEditors": "Show Opened Editors",
"menu.about": "About",
"menu.account": "Account",
"menu.appearance": "Appearance",
"menu.colorTheme": "Color Theme",
"menu.commandPalette": "Command Palette",
"menu.copyLineUp": "Copy Line Up",
"menu.defaultProjectName": "Default Project Name",
"menu.edit": "Edit",
"menu.file": "File",
"menu.help": "Help",
"menu.hideActivityBar": "Hide Activity Bar",
"menu.menuBarHorizontal": "Menu Bar Horizontal Mode",
"menu.menuBarVertical": "Menu Bar Vertical Mode",
"menu.newFile": "New File",
"menu.newFolder": "New Folder",
"menu.open": "Open",
"menu.edit": "Edit",
"menu.undo": "Undo",
"menu.openView": "Open View",
"menu.redo": "Redo",
"menu.selection": "Selection",
"menu.run": "Run",
"menu.runTask": "Run Task",
"menu.selectAll": "Select All",
"menu.copyLineUp": "Copy Line Up",
"menu.view": "View",
"menu.commandPalette": "Command Palette",
"menu.openView": "Open View",
"menu.appearance": "Appearance",
"menu.selection": "Selection",
"menu.settings": "Settings",
"menu.showActivityBar": "Show Activity Bar",
"menu.showMenuBar": "Show Menu Bar",
"menu.showSideBar": "Show Side bar",
"menu.showPanel.title": "Toggle Panel",
"menu.showPanel": "Show Panel",
"menu.showSideBar.label": "Toggle Side Bar Visibility",
"menu.showSideBar": "Show Side bar",
"menu.showStatusBar": "Show Status Bar",
"menu.showActivityBar": "Show Activity Bar",
"menu.hideActivityBar": "Hide Activity Bar",
"menu.showPanel": "Show Panel",
"menu.showPanel.title": "Toggle Panel",
"menu.defaultProjectName": "Default Project Name",
"menu.run": "Run",
"menu.runTask": "Run Task",
"menu.help": "Help",
"menu.about": "About",
"menu.menuBarHorizontal": "Menu Bar Horizontal Mode",
"menu.menuBarVertical": "Menu Bar Vertical Mode",
"menu.undo": "Undo",
"menu.view": "View",
"menubar": "Menu Bar",
"message.noResult": "No results found.",
"message.noFolderButEditorsHelp": "You have not yet opened a folder.",
"message.searchMaxResultsWarning": "The result set only contains a subset of all matches. Be more specific in your search to narrow down the results.",
"notification.clear": "Clear Notification",
"notification.clearAll": "Clear All Notifications",
"notification.hideAll": "Hide Notifications",
"notification.title.no": "No new notifications",
"notification.title": "Notifications",
"panel.output.title": "output",
"panel.problems.empty": "No problems have been detected in the workspace.",
"panel.problems.title": "Problems",
"panel.toolbox.closePanel": "Close Panel",
"panel.toolbox.maximize": "Maximize Panel Size",
"panel.toolbox.restoreSize": "Restore Panel Size",
"search.matchCase": "Match Case",
"search.matchWholeWord": "Match Whole Word",
"search.preserveCase": "Preserve Case",
"search.toolbar.refresh": "Refresh",
"search.toolbar.clearAll": "Clear all",
"search.toolbar.collapseAll": "Collapse all",
"search.replaceAll": "Replace All",
"search.useRegularExpression": "Use Regular Expression",
"searchView.noResultsFound": "No results found. Review your settings for configured exclusions and check your gitignore files - ",
"sidebar.explore.actionDesc": "View and More Actions...",
"sidebar.explore.collapseFolders": "Collapse Folders in Explorer",
"sidebar.explore.closeAllEditors": "Close All Editors",
"sidebar.explore.folders": "Folders",
"sidebar.explore.title": "Explorer",
"sidebar.explore.openEditor": "Open Editors",
"sidebar.explore.openEditor.group": "Group ${i}",
"sidebar.explore.openEditor": "Open Editors",
"sidebar.explore.openFolder": "Open Folder",
"sidebar.explore.outline": "Outline",
"sidebar.search.title": "Search",
"sidebar.replace.placement": "Replace",
"sidebar.explore.outlineMore": "More Actions...",
"sidebar.explore.refresh": "Refresh Explorer",
"sidebar.explore.collapseFolders": "Collapse Folders in Explorer",
"sidebar.explore.saveALL": "Save All",
"sidebar.explore.title": "Explorer",
"sidebar.explore.toggleVertical": "Toggle Vertical",
"sidebar.explore.saveAll": "Save All",
"sidebar.explore.actionDesc": "View and More Actions...",
"sidebar.explore.outlineMore": "More Actions...",
"toolbar.refresh": "Refresh",
"sidebar.replace.placement": "Replace",
"sidebar.search.placeHolder": "Search",
"sidebar.search.replace.placeHolder": "Replace",
"sidebar.search.title": "Search",
"statusbar.hide": "Hide Status Bar",
"statusbar.problems.title": "Problems",
"toolbar.clearAll": "Clear all",
"toolbar.collapseAll": "Collapse all",
"search.matchCase": "Match Case",
"search.matchWholeWord": "Match Whole Word",
"search.useRegularExpression": "Use Regular Expression",
"search.preserveCase": "Preserve Case",
"search.replaceAll": "Replace All",
"panel.output.title": "output",
"panel.toolbox.closePanel": "Close Panel",
"panel.toolbox.maximize": "Maximize Panel Size",
"panel.toolbox.restoreSize": "Restore Panel Size",
"panel.problems.title": "Problems",
"panel.problems.empty": "No problems have been detected in the workspace.",
"notification.title": "Notifications",
"notification.title.no": "No new notifications",
"editor.closeToRight": "Close To Right",
"editor.closeToLeft": "Close To Left",
"editor.closeAll": "Close All",
"editor.closeSaved": "Close Saved",
"editor.closeOthers": "Close Others",
"editor.close": "Close",
"editor.actions.splitRight": "Split Editor Right",
"editor.showOpenEditors": "Show Opened Editors",
"contextmenu.rename": "Rename",
"contextmenu.delete": "Delete",
"contextmenu.newFile": "New File",
"contextmenu.newFolder": "New Folder",
"contextmenu.removeFolder": "Remove Folder",
"contextmenu.openToTheSide": "Open to the Side",
"contextmenu.addFolderToSpace": "Add Folder to Workspace...",
"contextmenu.findInSpace": "Find in Workspace...",
"contextmenu.download": "Download..."
"toolbar.refresh": "Refresh"
}
}
142 changes: 80 additions & 62 deletions src/extensions/locales-defaults/locales/ko-KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,84 +3,102 @@
"name": "한국어",
"source": {
"molecule.welcome": "Molecule에 오신 것을 환영합니다",
"menubar": "메뉴 모음",
"menu.file": "파일",
"menu.settings": "설정",
"contextmenu.addFolderToSpace": "작업 영역에 폴더 추가...",
"contextmenu.delete": "삭제",
"contextmenu.download": "다운로드...",
"contextmenu.findInSpace": "작업 영역에서 찾기...",
"contextmenu.newFile": "새 파일",
"contextmenu.newFolder": "새 폴더",
"contextmenu.openToTheSide": "사이드에 열기",
"contextmenu.removeFolder": "폴더 삭제",
"contextmenu.rename": "이름 바꾸기",
"editor.actions.splitRight": "오른쪽으로 분할",
"editor.close": "닫기",
"editor.closeAll": "모두 닫기",
"editor.closeOthers": "기타 항목 닫기",
"editor.closeSaved": "저장된 항목 닫기",
"editor.closeToLeft": "왼쪽에 있는 항목 닫기",
"editor.closeToRight": "오른쪽에 있는 항목 닫기",
"editor.gotoLine": "줄/열로 이동...",
"editor.singleSelection": "줄 ${i}, 열 ${i}",
"editor.showOpenEditors": "열려 있는 편집기 표시",
"menu.about": "정보",
"menu.account": "계정",
"menu.appearance": "모양",
"menu.colorTheme": "색 테마",
"menu.commandPalette": "명령어 팔레트",
"menu.copyLineUp": "위에 줄 복사",
"menu.defaultProjectName": "기본 프로젝트 이름",
"menu.edit": "편집",
"menu.file": "파일",
"menu.help": "도움말",
"menu.hideActivityBar": "작업 막대 숨기기",
"menu.menuBarHorizontal": "메뉴 모음 가로 모드",
"menu.menuBarVertical": "메뉴 모음 새로 모드",
"menu.newFile": "새 파일",
"menu.newFolder": "새 폴더",
"menu.open": "열기",
"menu.edit": "편집",
"menu.undo": "되돌리기",
"menu.openView": "뷰 열기",
"menu.redo": "다시 실행",
"menu.selection": "선택",
"menu.run": "실행",
"menu.runTask": "작업 실행",
"menu.selectAll": "모두 선택",
"menu.copyLineUp": "위에 줄 복사",
"menu.view": "보기",
"menu.commandPalette": "명령어 팔레트",
"menu.openView": "뷰 열기",
"menu.appearance": "모양",
"menu.selection": "선택",
"menu.settings": "설정",
"menu.showActivityBar": "작업 막대 표시",
"menu.showMenuBar": "메뉴 모음 표시",
"menu.showSideBar": "사이드 모음 표시",
"menu.showPanel.title": "패널 토글",
"menu.showPanel": "패널 표시",
"menu.showSideBar.label": "사이드 모음 표시 유형 토글",
"menu.showSideBar": "사이드 모음 표시",
"menu.showStatusBar": "상태 표시줄 보기",
"menu.showActivityBar": "작업 막대 표시",
"menu.hideActivityBar": "작업 막대 숨기기",
"menu.showPanel": "패널 표시",
"menu.showPanel.title": "패널 토글",
"menu.defaultProjectName": "기본 프로젝트 이름",
"menu.run": "실행",
"menu.runTask": "작업 실행",
"menu.help": "도움말",
"menu.about": "정보",
"menu.menuBarHorizontal": "메뉴 모음 가로 모드",
"menu.menuBarVertical": "메뉴 모음 새로 모드",
"menu.undo": "되돌리기",
"menu.view": "보기",
"menubar": "메뉴 모음",
"message.noResult": "결과가 없습니다.",
"message.noFolderButEditorsHelp": "아직 폴더를 열지 않았습니다",
"message.searchMaxResultsWarning": "결과 집합에는 모든 일치 항목의 하위 집합만 포함됩니다. 결과 범위를 좁히려면 검색을 더 세분화하세요.",
"notification.clear": "알림 지우기",
"notification.clearAll": "모든 알림 지우기",
"notification.hideAll": "알림 숨기기",
"notification.title.no": "새로운 알림이 없습니다.",
"notification.title": "알림",
"panel.output.title": "출력",
"panel.problems.empty": "작업 영역안에는 문제가 감지되지 않았습니다.",
"panel.problems.title": "문제",
"panel.toolbox.closePanel": "패널 닫기",
"panel.toolbox.maximize": "패널 크기 최대화",
"panel.toolbox.restoreSize": "패널 크기 복원",
"search.matchCase": "대/소문자 구분",
"search.matchWholeWord": "전체 단어 일치",
"search.preserveCase": "대/소문자 보존",
"search.toolbar.refresh": "새로 고침",
"search.toolbar.clearAll": "모두 지우기",
"search.toolbar.collapseAll": "모두 축소",
"search.replaceAll": "모두 바꾸기",
"search.useRegularExpression": "정규식 사용",
"searchView.noResultsFound": "결과가 없습니다. 구성된 제외에 대한 설정을 검토하고 gitignore 파일을 확인하세요. - ",
"sidebar.explore.actionDesc": "보기 및 더 기타 작업...",
"sidebar.explore.closeAllEditors": "모든 편집기 닫기",
"sidebar.explore.collapseFolders": "탐색기 내에 폴더 축소",
"sidebar.explore.folders": "폴더",
"sidebar.explore.title": "탐색기",
"sidebar.explore.openEditor": "편집기 열기",
"sidebar.explore.openEditor.group": "${i} 그룹",
"sidebar.explore.openEditor": "편집기 열기",
"sidebar.explore.openFolder": "폴더 열기",
"sidebar.explore.outline": "개요",
"sidebar.search.title": "검색",
"sidebar.replace.placement": "바꾸기",
"sidebar.explore.outlineMore": "더 많은 액션들...",
"sidebar.explore.refresh": "탐색기 새로 고침",
"sidebar.explore.collapseFolders": "탐색기 내에 폴더 축소",
"sidebar.explore.saveALL": "모두 저장",
"sidebar.explore.title": "탐색기",
"sidebar.explore.toggleVertical": "세로로 토글",
"sidebar.explore.saveAll": "모두 저장",
"sidebar.explore.actionDesc": "보기 및 더 기타 작업...",
"sidebar.explore.outlineMore": "더 많은 액션들...",
"toolbar.refresh": "새로 고침",
"sidebar.replace.placement": "바꾸기",
"sidebar.search.placeHolder": "검색",
"sidebar.search.replace.placeHolder": "바꾸기",
"sidebar.search.title": "검색",
"statusbar.hide": "상태 표시줄 숨기기",
"statusbar.problems.title": "문제",
"toolbar.clearAll": "모두 지우기",
"toolbar.collapseAll": "모두 축소",
"search.matchCase": "대/소문자 구분",
"search.matchWholeWord": "전체 단어 일치",
"search.useRegularExpression": "정규식 사용",
"search.preserveCase": "대/소문자 보존",
"search.replaceAll": "모두 바꾸기",
"panel.output.title": "출력",
"panel.toolbox.closePanel": "패널 닫기",
"panel.toolbox.maximize": "패널 크기 최대화",
"panel.toolbox.restoreSize": "패널 크기 복원",
"panel.problems.title": "문제",
"panel.problems.empty": "작업 영역안에는 문제가 감지되지 않았습니다.",
"notification.title": "알림",
"notification.title.no": "새로운 알림이 없습니다.",
"editor.closeToRight": "오른쪽에 있는 항목 닫기",
"editor.closeToLeft": "왼쪽에 있는 항목 닫기",
"editor.closeAll": "모두 닫기",
"editor.closeSaved": "저장된 항목 닫기",
"editor.closeOthers": "기타 항목 닫기",
"editor.close": "닫기",
"editor.actions.splitRight": "오른쪽으로 분할",
"editor.showOpenEditors": "열려 있는 편집기 표시",
"contextmenu.rename": "이름 바꾸기",
"contextmenu.delete": "삭제",
"contextmenu.newFile": "새 파일",
"contextmenu.newFolder": "새 폴더",
"contextmenu.removeFolder": "폴더 삭제",
"contextmenu.openToTheSide": "사이드에 열기",
"contextmenu.addFolderToSpace": "작업 영역에 폴더 추가...",
"contextmenu.findInSpace": "작업 영역에서 찾기...",
"contextmenu.download": "다운로드..."
"toolbar.refresh": "새로 고침"
}
}
Loading