Skip to content

Commit

Permalink
fix gl text on verse ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
PhotoNomad0 committed Nov 25, 2024
1 parent adad200 commit 7d4866d
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "checking-extension",
"displayName": "checking-extension",
"description": "A vscode extension to open tn_check and twl_check files for checking verses",
"version": "0.9.12",
"version": "0.9.13",
"publisher": "unfoldingWord",
"engines": {
"vscode": "^1.91.0"
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ async function updateFilesAndMergeToMaster(localRepoPath: string, server: string
fs.outputJsonSync(path.join(localRepoPath, dcsStatusFile, owner), newStatus);
}

sendUpdateUploadStatus(`updateFilesAndMergeToMaster`, ` upload complete`)
sendUpdateUploadStatus(`updateFilesAndMergeToMaster`, ` upload complete - saving state`)

// @ts-ignore
return {
Expand Down
4 changes: 2 additions & 2 deletions webview-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "checking-extension-webview",
"version": "0.9.12",
"version": "0.9.13",
"private": true,
"scripts": {
"start": "vite",
Expand All @@ -17,7 +17,7 @@
"@material-ui/lab": "4.0.0-alpha.61",
"@mui/lab": "5.0.0-alpha.89",
"@vscode/webview-ui-toolkit": "^1.4.0",
"checking-tool-rcl": "0.9.21",
"checking-tool-rcl": "0.9.22-beta.2",
"deep-equal": "1.0.1",
"dompurify": "^3.0.9",
"gitea-react-toolkit": "2.4.1",
Expand Down
10 changes: 5 additions & 5 deletions webview-ui/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 18 additions & 16 deletions webview-ui/src/components/TranslationCheckingPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,21 @@ const TranslationCheckingPane: React.FC<TranslationCheckingProps> = ({
showDialogContent && showDialogContent(params)
}

function uploadToDCS(server:string, owner: string, token: string) {
function getLogDiv(log: string[]) {
return (
<div>
{
log.map((item: string) => (
<>
<span>{item}</span><br />
</>
))
}
</div>
)
}

function uploadToDCS(server:string, owner: string, token: string) {
_showDialogContent({ message: 'Doing Upload to DCS' })
let log: string[] = []
const dcsUpdateCallback = (update: object) => {
Expand All @@ -225,11 +239,7 @@ const TranslationCheckingPane: React.FC<TranslationCheckingProps> = ({
<span><b>{`Current Status: ${status}`}</b></span>
<hr />
<b>Log:</b><br />
{log.map((item: string) => (
<>
<span>{item}</span><br />
</>
))}
{getLogDiv(log)}
</div>
})
}
Expand All @@ -251,11 +261,7 @@ const TranslationCheckingPane: React.FC<TranslationCheckingProps> = ({
<span>{`Current Status: ${message}`}</span>
<hr />
<b>Log:</b><br />
{log.map((item: string) => (
<>
<span>{item}</span><br />
</>
))}
{getLogDiv(log)}
</div>
)
_showDialogContent({ message: dialogContent });
Expand All @@ -273,11 +279,7 @@ const TranslationCheckingPane: React.FC<TranslationCheckingProps> = ({
<span>{`Current Status: ${message}`}</span>
<hr />
<b>Log:</b><br />
{log.map((item: string) => (
<>
<span>{item}</span><br />
</>
))}
{getLogDiv(log)}
</div>
)
_showDialogContent({ message: dialogContent });
Expand Down

0 comments on commit 7d4866d

Please sign in to comment.