Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6f85fc

Browse files
committed
refactor: rename openBlocks to lowcoder
1 parent 7130095 commit c6f85fc

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

‎client/packages/openblocks/src/comps/queries/openBlocksQuery.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Dropdown, ValueFromOption } from "lowcoder-design";
55
import { buildQueryCommand, FunctionProperty, toQueryView } from "./queryCompUtils";
66

77
const CommandOptions = [
8-
{ label: trans("openBlocksQuery.queryOrgUsers"), value: "queryOrgUsers" },
8+
{ label: trans("lowcoderQuery.queryOrgUsers"), value: "queryOrgUsers" },
99
] as const;
1010

1111
const CommandMap: Record<

‎client/packages/openblocks/src/constants/queryConstants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { JSQuery } from "../comps/queries/jsQuery";
22
import { SQLQuery } from "../comps/queries/sqlQuery/SQLQuery";
33
import { HttpQuery } from "../comps/queries/httpQuery/httpQuery";
44
import { MongoQuery } from "../comps/queries/mongoQuery";
5-
import { LowcoderQuery } from "../comps/queries/openBlocksQuery";
5+
import { LowcoderQuery } from "../comps/queries/lowcoderQuery";
66
import { RedisQuery } from "../comps/queries/redisQuery";
77
import { EsQuery } from "../comps/queries/esQuery";
88
import { SMTPQuery } from "../comps/queries/smtpQuery";

‎client/packages/openblocks/src/i18n/locales/en.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ export const en = {
605605
accountIdentifierTooltip: "See ",
606606
extParamsTooltip: "Configure more connection parameters",
607607
},
608-
openBlocksQuery: {
608+
lowcoderQuery: {
609609
queryOrgUsers: "Query workspace users",
610610
},
611611
redisQuery: {
@@ -2120,7 +2120,7 @@ export const en = {
21202120
template: {
21212121
cloneUrl: "/apps/template-import/",
21222122
},
2123-
openBlocksUrl: {
2123+
lowcoderUrl: {
21242124
createIssue: "https://github.com/lowcoder-dev/lowcoder/issues",
21252125
discord: "https://discord.com/invite/z5W2YHXdtt",
21262126
},

‎client/packages/openblocks/src/pages/common/help.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ type HelpDropdownProps = {
176176
const docHomeUrl = trans("docUrls.docHome");
177177
const changeLogDocUrl = trans("docUrls.changeLog");
178178
const introVideoUrl = trans("docUrls.introVideo");
179-
const issueUrl = trans("openBlocksUrl.createIssue");
180-
const discordUrl = trans("openBlocksUrl.discord");
179+
const issueUrl = trans("lowcoderUrl.createIssue");
180+
const discordUrl = trans("lowcoderUrl.discord");
181181

182182
export function HelpDropdown(props: HelpDropdownProps) {
183183
const [showHelp, setShowHelp] = useState(true);

‎client/packages/openblocks/src/pages/editor/right/styledComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const ExtensionContentWrapper = styled.div`
5252

5353
export const EmptyCompContent = () => {
5454
const aboutUsUrl = trans("docUrls.aboutUs");
55-
const issueUrl = trans("openBlocksUrl.createIssue");
55+
const issueUrl = trans("lowcoderUrl.createIssue");
5656
return (
5757
<EmptyContent
5858
text={

0 commit comments

Comments
 (0)