Skip to content

Commit 025c538

Browse files
committed
feat: rename app
1 parent 5acc5c0 commit 025c538

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
<div align="center">
2-
<img width="256" src="https://github.com/simpleapples/gpt-translator/blob/master/icon/icons/png/512x512.png">
2+
<img width="256" src="https://github.com/simpleapples/chatgpt-translator/blob/master/icon/icons/png/512x512.png">
33
<h1>GPT Translator</h1>
44
<h4><i>The logo is generated by Midjourney, this README is partly generated by ChatGPT</i></h4>
55
</div>
66

7-
GPT-Translator is an open-source project that allows you to translate text using GPT language model.
7+
GPT Translator is an open-source project that allows you to translate text using GPT language model.
88

99
## Screenshot
1010

1111
Left one is the GPT Translator, Right one is the DeepL translating the same text.
1212

13-
<img width="380" src="https://github.com/simpleapples/gpt-translator/blob/master/docs/chatgpt_screenshot.png"><img width="400" src="https://github.com/simpleapples/gpt-translator/blob/master/docs/deepl_screenshot.png">
13+
<img width="380" src="https://github.com/simpleapples/chatgpt-translator/blob/master/docs/chatgpt_screenshot.png"><img width="400" src="https://github.com/simpleapples/chatgpt-translator/blob/master/docs/deepl_screenshot.png">
1414

1515
## Installation
1616

1717
1. Clone the repository to your local machine.
1818

1919
```
20-
git clone https://github.com/simpleapples/gpt-translator.git
20+
git clone https://github.com/simpleapples/chatgpt-translator.git
2121
```
2222

2323
2. Navigate to the repository directory.
2424

2525
```
26-
cd gpt-translator
26+
cd chatgpt-translator
2727
```
2828

2929
3. Install dependencies.
@@ -41,4 +41,4 @@ npm run package
4141

4242
## Contributing
4343

44-
Contributions to GPT-Translator are welcome! If you find a bug or have a feature request, please open an issue on GitHub. If you want to contribute code, please fork the repository and create a pull request.
44+
Contributions to ChatGPT Translator are welcome! If you find a bug or have a feature request, please open an issue on GitHub. If you want to contribute code, please fork the repository and create a pull request.

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
"hot",
88
"ChatGPT"
99
],
10-
"homepage": "https://github.com/simpleapples/gpt-translator#readme",
10+
"homepage": "https://github.com/simpleapples/chatgpt-translator#readme",
1111
"bugs": {
12-
"url": "https://github.com/simpleapples/gpt-translator/issues"
12+
"url": "https://github.com/simpleapples/chatgpt-translator/issues"
1313
},
1414
"repository": {
1515
"type": "git",
16-
"url": "git+https://github.com/simpleapples/gpt-translator.git"
16+
"url": "git+https://github.com/simpleapples/chatgpt-translator.git"
1717
},
1818
"license": "MIT",
1919
"author": {
2020
"name": "simpleapples",
2121
"email": "zangzhiya@gmail.com",
22-
"url": "https://github.com/simpleapples/gpt-translator"
22+
"url": "https://github.com/simpleapples/chatgpt-translator"
2323
},
2424
"contributors": [
2525
{
@@ -172,7 +172,7 @@
172172
"webpack-merge": "^5.8.0"
173173
},
174174
"build": {
175-
"productName": "GPTTranslator",
175+
"productName": "ChatGPT Translator",
176176
"appId": "com.simpleapples.gpttranslator",
177177
"asar": true,
178178
"asarUnpack": "**\\*.{node,dll}",
@@ -232,7 +232,7 @@
232232
"publish": {
233233
"provider": "github",
234234
"owner": "simpleapples",
235-
"repo": "gpt-translator"
235+
"repo": "chatgpt-translator"
236236
}
237237
},
238238
"devEngines": {

release/app/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/app/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "GPTTranslator",
2+
"name": "ChatGPTTranslator",
33
"version": "1.0.0",
44
"description": "A translation app based on ChatGPT",
55
"license": "MIT",
66
"author": {
77
"name": "simpleapples",
88
"email": "zangzhiya@gmail.com",
9-
"url": "https://github.com/simpleapples/gpt-translator"
9+
"url": "https://github.com/simpleapples/chatgpt-translator"
1010
},
1111
"main": "./dist/main/main.js",
1212
"scripts": {

src/renderer/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const targetLanguageList = ['English', 'Chinese'];
2626

2727
function Main() {
2828
let executionTimeout = window.setTimeout(() => {}, 100);
29-
const [textHeight, setTextHeight] = useState(window.innerHeight);
29+
const [textHeight, setTextHeight] = useState(window.innerHeight - 150);
3030
const [translatedContent, setTranslatedContent] = useState<string>();
3131
const [showSettings, setShowSettings] = useState(false);
3232
const [sourceLanguage, setSourceLanguage] = useState<string>();

src/renderer/index.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
http-equiv="Content-Security-Policy"
77
content="script-src 'self' 'unsafe-inline'"
88
/>
9-
<title>GPT Translator</title>
9+
<title>ChatGPT Translator</title>
1010
</head>
1111
<body>
1212
<div id="root"></div>

0 commit comments

Comments
 (0)