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

Commit9d66a2a

Browse files
committed
update spanish translations, fix debugger names in english text
1 parent68df3ef commit9d66a2a

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

‎core/chapters/c08_nested_loops.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ class double_subscripting(Step):
12171217
12181218
Take a good look at this syntax. If it looks new and fancy, it's not.
12191219
It's just the usual syntax for subscripting, applied twice.
1220-
Try it in birdseye to see how Python breaks it down into smaller pieces.
1220+
Try it in`birdseye` to see how Python breaks it down into smaller pieces.
12211221
"""
12221222

12231223
expected_code_source="birdseye"
@@ -1261,7 +1261,7 @@ def check(self):
12611261
Indexing works similarly on lists and strings.
12621262
Do you get an `index out of range` error? Is it for a string, or a list? Why?
12631263
Make sure you are not confusing the order of the list index and the string index.
1264-
Use birdseye if you're having trouble.
1264+
Use`birdseye` if you're having trouble.
12651265
"""
12661266
tests= [
12671267
(["abc","de","fghi","jklmn","o"],'n'),
@@ -1311,7 +1311,7 @@ def solution(self, strings: List[List[str]]):
13111311
First you need to access a sublist.
13121312
Then a string in that sublist.
13131313
Then a letter in that string.
1314-
Use birdseye if you're having trouble.
1314+
Use`birdseye` if you're having trouble.
13151315
"""
13161316

13171317
tests= [

‎core/translation.py‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ def get(msgid, default):
5050

5151
result=translation.gettext(msgid)
5252
ifresult==msgid:
53-
# TODO remove misc_terms
5453
assert (
55-
msgid.startswith(("code_bits.","misc_terms."))
54+
msgid.startswith(("code_bits."))
5655
or"output_prediction_choices"inmsgid
5756
or".disallowed."inmsgid
5857
)
@@ -253,7 +252,7 @@ class Terms:
253252
expected_mode_birdseye= (
254253
"With your code in the editor, click the `birdseye` button."
255254
)
256-
expected_mode_snoop="With your code in the editor, click theSnoop button."
255+
expected_mode_snoop="With your code in the editor, click the`snoop` button."
257256
expected_mode_pythontutor= (
258257
"With your code in the editor, click the Python Tutor button."
259258
)
@@ -304,7 +303,7 @@ class Terms:
304303
305304
- Make sure the output is showing the problem you have and not something else.
306305
- Reduce your code to a **minimal** example. Remove any code that isn't directly related to the problem.
307-
- Run your code through theSnoop, Birdseye, and Python Tutor debuggers to understand what it's doing.
306+
- Run your code through the`snoop`, `birdseye`, and Python Tutor debuggers to understand what it's doing.
308307
- Search for your problem online.
309308
- Read [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask)
310309

‎translations/english.po‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17610,7 +17610,7 @@ msgid "misc_terms.expected_mode_shell"
1761017610
msgstr "Type your code directly in the shell after `>>>` and press Enter."
1761117611

1761217612
msgid "misc_terms.expected_mode_snoop"
17613-
msgstr "With your code in the editor, click theSnoop button."
17613+
msgstr "With your code in the editor, click the`snoop` button."
1761417614

1761517615
msgid "misc_terms.incorrect_mode"
1761617616
msgstr "The code is correct, but you didn't run it as instructed."
@@ -17642,7 +17642,7 @@ msgstr ""
1764217642
"\n"
1764317643
"- Make sure the output is showing the problem you have and not something else.\n"
1764417644
"- Reduce your code to a **minimal** example. Remove any code that isn't directly related to the problem.\n"
17645-
"- Run your code through theSnoop, Birdseye, and Python Tutor debuggers to understand what it's doing.\n"
17645+
"- Run your code through the`snoop`, `birdseye`, and Python Tutor debuggers to understand what it's doing.\n"
1764617646
"- Search for your problem online.\n"
1764717647
"- Read [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask)\n"
1764817648
"\n"
@@ -22122,7 +22122,7 @@ msgstr ""
2212222122
"\n"
2212322123
"Take a good look at this syntax. If it looks new and fancy, it's not.\n"
2212422124
"It's just the usual syntax for subscripting, applied twice.\n"
22125-
"Try it in birdseye to see how Python breaks it down into smaller pieces."
22125+
"Try it in`birdseye` to see how Python breaks it down into smaller pieces."
2212622126

2212722127
#. https://futurecoder.io/course/#IntroducingNestedLists
2212822128
#.
@@ -22170,7 +22170,7 @@ msgstr "Make sure you are not confusing the order of the list index and the stri
2217022170
#.
2217122171
#. https://poeditor.com/projects/view_terms?id=490053&search=pages.IntroducingNestedLists.steps.double_subscripting_exercise
2217222172
msgid "pages.IntroducingNestedLists.steps.double_subscripting_exercise.hints.7.text"
22173-
msgstr "Use birdseye if you're having trouble."
22173+
msgstr "Use`birdseye` if you're having trouble."
2217422174

2217522175
#. https://futurecoder.io/course/#IntroducingNestedLists
2217622176
msgid "pages.IntroducingNestedLists.steps.double_subscripting_exercise.text"
@@ -22336,7 +22336,7 @@ msgstr "Then a letter in that string."
2233622336
#.
2233722337
#. https://poeditor.com/projects/view_terms?id=490053&search=pages.IntroducingNestedLists.steps.triple_subscripting
2233822338
msgid "pages.IntroducingNestedLists.steps.triple_subscripting.hints.5.text"
22339-
msgstr "Use birdseye if you're having trouble."
22339+
msgstr "Use`birdseye` if you're having trouble."
2234022340

2234122341
#. https://futurecoder.io/course/#IntroducingNestedLists
2234222342
msgid "pages.IntroducingNestedLists.steps.triple_subscripting.text"
12 Bytes
Binary file not shown.
104 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp