Skip to content

fixed issue #237, #335 and links to Component Documentation #395

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions client/packages/lowcoder/src/appView/AppViewInstance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export class AppViewInstance<I = any, O = any> {
private events = new Map<keyof EventHandlerMap, EventHandlerMap<O>[keyof EventHandlerMap]>();
private dataPromise: Promise<{ appDsl: any; moduleDslMap: any }>;
private options: AppViewInstanceOptions = {
baseUrl: "https://api.lowcoder.dev",
webUrl: "https://cloud.lowcoder.dev",
baseUrl: "https://api-service.lowcoder.cloud",
webUrl: "https://app.lowcoder.cloud",
};

constructor(private appId: string, private node: Element, options: AppViewInstanceOptions = {}) {
Expand Down
12 changes: 6 additions & 6 deletions client/packages/lowcoder/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import table from "./componentDocExtra/table.md?url";

export const en = {
productName: "Lowcoder",
productDesc: "Build internal tools fast, with no limitations",
productDesc: "Create software applications for your Company and your Customers with minimal coding experience. Lowcoder is the best Retool, Appsmith or Tooljet Alternative.",
notSupportedBrowser:
"Your current browser may have compatibility issues. For a better user experience, it is recommended to use the latest version of the Chrome browser.",
create: "Create",
Expand Down Expand Up @@ -1292,7 +1292,7 @@ export const en = {
},
audio: {
src: "Audio URL",
defaultSrcUrl: "https://cdn-files.lowcoder.dev/canon-excerpt.mp3",
defaultSrcUrl: "https://cdn-files.lowcoder.cloud/canon-excerpt.mp3",
autoPlay: "Autoplay",
loop: "Loop",
srcDesc: "Current audio URL",
Expand Down Expand Up @@ -1650,7 +1650,7 @@ export const en = {
phoneColumn: "Phone",
subTitle: "Title",
linkLabel: "Link",
linkUrl: "cloud.lowcoder.dev",
linkUrl: "app.lowcoder.cloud",
progressLabel: "Progress",
sliderLabel: "Slider",
radioLabel: "Radio",
Expand Down Expand Up @@ -2128,7 +2128,7 @@ export const en = {
},
docUrls: {
docHome: "https://docs.lowcoder.cloud/",
components: "https://cloud.lowcoder.dev/components?n={compType}",
components: "https://app.lowcoder.cloud/components?n={compType}",
module: "",
optionList: "",
terms: "",
Expand Down Expand Up @@ -2170,9 +2170,9 @@ export const en = {
},
componentDoc: {
markdownDemoText:
"**Lowcoder** is a _developer-friendly_ open-source low code platform to build internal apps within minutes.",
"**Lowcoder** | Create software applications for your Company and your Customers with minimal coding experience. Lowcoder is the best Retool, Appsmith or Tooljet Alternative.",
demoText:
"Lowcoder is a developer-friendly open-source low code platform to build internal apps within minutes.",
"Lowcoder | Create software applications for your Company and your Customers with minimal coding experience. Lowcoder is the best Retool, Appsmith or Tooljet Alternative.",
submit: "Submit",
style: "style",
danger: "Danger",
Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder/src/i18n/locales/enObj.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const enObj: I18nObjects = {
],
},
editorTutorials: {
mockDataUrl: "https://63621db87521369cd06514c2.mockapi.io/api/lowcoder/users",
mockDataUrl: "https://6523073ef43b179384152c4f.mockapi.io/api/lowcoder/users",
data: (code) => (
<>
The component and query data are listed here, which can be referenced through
Expand Down
6 changes: 3 additions & 3 deletions client/packages/lowcoder/src/i18n/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ jsonExplorer: {
},
audio: {
src: "音频链接",
defaultSrcUrl: "https://cdn-files.lowcoder.dev/canon-excerpt.mp3",
defaultSrcUrl: "https://cdn-files.lowcoder.cloud/canon-excerpt.mp3",
autoPlay: "自动播放",
loop: "循环播放",
srcDesc: "当前音频链接",
Expand Down Expand Up @@ -1627,7 +1627,7 @@ theme: {
phoneColumn: "电话",
subTitle: "标题",
linkLabel: "链接",
linkUrl: "cloud.lowcoder.dev",
linkUrl: "app.lowcoder.cloud",
progressLabel: "进度",
sliderLabel: "滑块",
radioLabel: "单选按钮",
Expand Down Expand Up @@ -2095,7 +2095,7 @@ toggleButton: {
},
docUrls: {
docHome: "https://docs.lowcoder.cloud/",
components: "https://cloud.lowcoder.dev/components?n={compType}",
components: "https://app.lowcoder.cloud/components?n={compType}",
module: "",
optionList: "",
terms: "",
Expand Down