Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita71e93c

Browse files
committed
Update spanish translations
1 parent09c27d6 commita71e93c

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

‎README.md‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,17 @@ Several debuggers are provided, including [snoop](https://github.com/alexmojaki/
134134

135135
##Running locally
136136

137-
1. Install Python 3.9 and[poetry](https://python-poetry.org/docs/#installation).
138-
2. Run`poetry install` to install Python dependencies.
139-
3. Run`poetry run python -m core.generate_static_files`.
140-
4. In the`frontend` folder:
137+
1. Fork this repo,`git clone` it, and enter the top-level`futurecoder` folder.
138+
2. Install Python 3.9 and[poetry](https://python-poetry.org/docs/#installation).
139+
3. Run`poetry install` to install Python dependencies.
140+
4. Run`./generate.sh` to generate various static files from Python used by the frontend, and run tests. Repeat this step whenever you change Python files.
141+
5. In the`frontend` folder:
141142
1. Ensure you have version 14.15.4 (lts/fermium) of`node` and version 7.5.2 of`npm`.
142143

143144
2. Run`npm ci` to download dependencies.
144145

145146
3. Run`npm start` to start the frontend development server.
146-
5. Go tohttp://localhost:3000/course/
147+
6. Go tohttp://localhost:3000/course/
147148

148149
To learn more about the system, see the[contributing guide](how_to_contribute.md).
149150

‎frontend/src/RunCode.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export const runCode = async ({code, source}) => {
227227
databaseRequest("POST",{
228228
entry,
229229
result:{
230-
messages:data.messages.map(m=>_.truncate(m,{length:1000})),
230+
messages:data.messages?.map(m=>_.truncate(m,{length:1000})),
231231
output:_.truncate(data.output,{length:1000}),
232232
},
233233
state:{

‎generate.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ poetry run python -m translations.generate_po_file
66
export FIX_CORE_IMPORTS=1
77
export FIX_TESTS=1
88

9-
forlangines en
9+
forlangin${FUTURECODER_LANGUAGES:-en}
1010
do
1111
export FUTURECODER_LANGUAGE=$lang
1212
poetry run python -m core.generate_static_files

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp