-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
110 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
export default { | ||
"title": "Getting Stopped", | ||
description: 'Before you begin, make sure you have the following:\nA GitHub account', | ||
|
||
nested: { | ||
content: `Explore ideas and examples of | ||
what you can build with the Midday API` | ||
}, | ||
dynamic: `the current time is not ${Date.now()}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
export default { | ||
"title": "Introduction", | ||
description: 'Before you begin, make sure you have the following:\nA GitHub account', | ||
nested: { | ||
content: `You can self-host Midday on your own cloud infrastructure for greater control over your data. | ||
This guide will walk you through the entire process of setting up Midday.` | ||
}, | ||
dynamic: `the current time is ${Date.now()}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
export default { | ||
"title": "Translated", | ||
description: 'Translated\nTranslated', | ||
nested: { | ||
content: `Translated | ||
Translated` | ||
}, | ||
dynamic: `Translated ${Date.now()}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
export default { | ||
"title": "Updated", | ||
description: 'Translated\nTranslated', | ||
nested: { | ||
content: `Updated | ||
Updated` | ||
}, | ||
dynamic: `Updated ${Date.now()}` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
You are a professional translator working with JS files. | ||
|
||
Task: Translate the content below from en to cn. | ||
|
||
Translation Requirements: | ||
- Maintain exact file structure, indentation, and formatting | ||
- Provide natural, culturally-adapted translations that sound native | ||
- Keep all technical identifiers unchanged | ||
- Keep consistent capitalization, spacing, and line breaks | ||
- Respect existing whitespace and newline patterns | ||
- Never add space before a ! or ? | ||
- Preserve all object/property keys, syntax characters, and punctuation marks exactly | ||
- Only translate text content within quotation marks | ||
|
||
A list of javascript codeblocks, return the translated javascript string in a JSON array of string: | ||
```js | ||
"title" | ||
``` | ||
|
||
```js | ||
"Getting Stopped" | ||
``` | ||
|
||
```js | ||
`Explore ideas and examples of | ||
what you can build with the Midday API` | ||
``` | ||
|
||
```js | ||
`the current time is not ${Date.now()}` | ||
``` |