Skip to content
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

I18n sync In & Up 09/28 #42714

Merged
merged 3 commits into from Sep 28, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
88 changes: 58 additions & 30 deletions dashboard/config/locales/blocks.en.yml
Expand Up @@ -1247,12 +1247,16 @@ en:
"'sound://category_animals/chick.mp3'": bird tweet
"'sound://category_animals/dog.mp3'": dog bark
"'sound://category_animals/tiger.mp3'": tiger roar
"'sound://category_collect/trill_stings.mp3'": trill
"'sound://category_instrumental/harpe_pluck_1.mp3'": harp
"'sound://category_tap/vibrant_positive_tap_1.mp3'": bright
"'sound://category_notifications/vibrant_game_tonal_hit_6_correct.mp3'": mystical
"'sound://category_transition/trippy_robotic_transition.mp3'": robot voice
"'sound://category_transition/star_dust_particle_10.mp3'": star dust
"'sound://category_whoosh/alien_ship_flyby_whoosh_3_slow.mp3'": space ship
"'sound://category_projectile/retro_game_magic_spell_6.mp3'": magic spell
"'sound://category_retro/retro_game_ui_select_6.mp3'": ping
"'sound://category_retro/retro_game_classic_player_death_9.mp3'": game over
"'sound://category_jump/quirky_bass_sc-fi_open_or_start.mp3'": sci fi
"'sound://category_digital/jump_7.mp3'": jump
gamelab_playSpeech:
text: play speech {SOUND}
Expand Down Expand Up @@ -1911,15 +1915,23 @@ en:
text: setup Monster Town with{COUNT}monsters
Outbreak_stopMoving:
text: monsters stop moving
PoemBot_addLine:
Poetry_addLine:
text: add line {LINE}
PoemBot_destroy:
Poetry_destroy:
text: remove {ANIMATION_NAME}
PoemBot_hidePoem:
Poetry_hidePoem:
text: hide poem
PoemBot_makeNumSprites:
Poetry_makeBurst:
text: create {EFFECT} effect with {NUM} {ANIMATION_NAME} sprites
options:
EFFECT:
'"burst"': burst
'"pop"': pop
'"rain"': rain
'"zigzag"': zig-zag
Poetry_makeNumSprites:
text: make {NUM} new {ANIMATION_NAME} sprites
PoemBot_playSound:
Poetry_playSound:
text: play sound {SOUND}
options:
SOUND:
Expand All @@ -1935,11 +1947,11 @@ en:
'"sound://category_background/wavering_wind.mp3"': Sleepy
'"sound://category_background/typewriter.mp3"': Typewriter
'"sound://category_background/waterfall.mp3"': Waterfall
PoemBot_randomWord:
Poetry_randomWord:
text: random word
PoemBot_setAuthor:
Poetry_setAuthor:
text: set poem author {AUTHOR}
PoemBot_setBackgroundEffect:
Poetry_setBackgroundEffect:
text: set background effect {EFFECT} {PALETTE}
options:
EFFECT:
Expand All @@ -1964,9 +1976,9 @@ en:
'"grayscale"': Black & White
'"rainbow"': Rainbow
'"roses"': Roses
PoemBot_setBackgroundImageAs:
Poetry_setBackgroundImageAs:
text: set background to {IMG}
PoemBot_setFont:
Poetry_setFont:
text: set font {FONT}
options:
FONT:
Expand All @@ -1979,10 +1991,10 @@ en:
'"Impact"': Impact
'"Tahoma"': Tahoma
'"Verdana"': Verdana
PoemBot_setFontColor:
Poetry_setFontColor:
text: set font color {FILL}
PoemBot_setForegroundEffect:
text: do {EFFECT} effect
Poetry_setForegroundEffect:
text: do {EFFECT} foreground effect
options:
EFFECT:
'"rain"': Rain
Expand All @@ -1993,7 +2005,7 @@ en:
'"starburst"': Starburst
'"glass"': Shattering Glass
'"twinkling"': Twinkling
PoemBot_setPoem:
Poetry_setPoem:
text: set poem {POEM}
options:
POEM:
Expand All @@ -2010,13 +2022,16 @@ en:
'"rumi_2"': Ocean
'"hughes_1"': Dream Variations
'"hughes"': Harlem
PoemBot_setPrompt:
text: prompt user {NAME}{RIGHT_QUOTE} for variable {VAR}
PoemBot_setPromptWithChoices:
text: prompt user {TEXT}{RIGHT_QUOTE} for variable {VAR} with choices {A}{RIGHT_QUOTE_A} {LEFT_QUOTE_B}{B}{RIGHT_QUOTE_B} {LEFT_QUOTE_C}{C}{RIGHT_QUOTE_C}
PoemBot_setSize:
'"hopler"': In the Garden
'"lomeli"': Return
'"singer"': Toasting Marshmallows
Poetry_setPrompt:
text: prompt user {LEFT_QUOTE}{NAME}{RIGHT_QUOTE} for variable {VAR}
Poetry_setPromptWithChoices:
text: prompt user {LEFT_QUOTE}{TEXT}{RIGHT_QUOTE} for variable {VAR} with choices {LEFT_QUOTE_A}{A}{RIGHT_QUOTE_A} {LEFT_QUOTE_B}{B}{RIGHT_QUOTE_B} {LEFT_QUOTE_C}{C}{RIGHT_QUOTE_C}
Poetry_setSize:
text: set {SPRITE} size to {VAL}
PoemBot_setTextEffect:
Poetry_setTextEffect:
text: set text effect {EFFECT}
options:
EFFECT:
Expand All @@ -2026,11 +2041,11 @@ en:
'"flyRight"': fly from right
'"flyTop"': fly from top
'"flyBottom"': fly from bottom
PoemBot_setTitle:
Poetry_setTitle:
text: set poem title {TITLE}
PoemBot_showPoem:
Poetry_showPoem:
text: show poem
PoemBot_startBehavior:
Poetry_startBehavior:
text: 'sprite {ANIMATION_NAME} begins {BEHAVIOR} '
options:
BEHAVIOR:
Expand All @@ -2047,7 +2062,7 @@ en:
swimming_left_and_right: swimming
wandering: wandering
wobbling: wobbling
PoemBot_stopBehavior:
Poetry_stopBehavior:
text: 'sprite {ANIMATION_NAME} stops {BEHAVIOR} '
options:
BEHAVIOR:
Expand All @@ -2065,15 +2080,28 @@ en:
wandering: wandering
wobbling: wobbling
'"all"': "--all behaviors--"
PoemBot_stringValue:
Poetry_stringValue:
text: "{LEFT_QUOTE}{TEXT}{RIGHT_QUOTE}"
PoemBot_textConcat:
Poetry_textConcat:
text: "{LEFT_QUOTE}{TEXT1}{TEXT2}{RIGHT_QUOTE}"
PoemBot_textVariableJoin:
Poetry_textVariableJoin:
text: "{VAR}{TEXT2}"
PoemBot_whenLineShows:
Poetry_whenLineShows:
text: when line {N} shows
PoemBot_whenPromptAnswered:
options:
'N':
'0': "???"
'1': '1'
'2': '2'
'3': '3'
'4': '4'
'5': '5'
'6': '6'
'7': '7'
'8': '8'
'9': '9'
'10': '10'
Poetry_whenPromptAnswered:
text: when {VAR} answered
RyanLab_moveForward:
text: move forward
Expand Down
2 changes: 2 additions & 0 deletions i18n/locales/source/blockly-mooc/common.json
Expand Up @@ -1311,6 +1311,8 @@
"paginationLabel": "Page:",
"pairingNavigatorWarning": "This puzzle was completed while pairing with {driver}.",
"pairingNavigatorLink": "Click here to view the solution you created as a team.",
"pairingNavigatorUnknownDriver": "This puzzle was completed while pairing with another student but the code you wrote together is no longer available. The other student may have deleted their Code.org account or reset their progress on this level.",
"pairingUnknownPartnerName": "n/a",
"pairProgramming": "Pair Programming",
"pairProgrammingChosePartners": "Choose partners:",
"pairProgrammingStop": "Stop Pair Programming",
Expand Down
8 changes: 8 additions & 0 deletions i18n/locales/source/blockly-mooc/javalab.json
Expand Up @@ -41,6 +41,8 @@
"errorNeighborhoodInvalidMove": "Painter tried to move off the grid or into an obstacle.",
"errorNeighborhoodInvalidPaintLocation": "Painter tried to paint off the grid or over an obstacle.",
"errorPeerReviewDisabled": "Peer Review has been disabled on this project.",
"errorPlaygroundRunning": "The start() method can only be called once per execution of the program.",
"errorPlaygroundNotRunning": "The end() method cannot be called before start() is called.",
"errorProjectNotEditedYet": "This project has not been edited yet. The code will need to be edited before it can run.",
"errorSoundInvalidAudioFileFormat": "The sound file provided is in an unsupported format. Only WAV is supported at this time.",
"errorSoundMissingAudioData": "The sound file provided did not have any audio data.",
Expand All @@ -52,6 +54,10 @@
"fileImportError": "One or more file names are reserved by Java Lab and cannot be imported into this project. Files unable to be imported:",
"fileImportWarning": "You have one or more duplicate file names between this project and your selected backpack files. Duplicate file names are:",
"fileImportWarningConfirm": "Do you want to replace these files with the files from your backpack?",
"fileLoadError": "There was an error loading the file {filename}.",
"fileNotFoundException": "Your code threw a FileNotFoundException while running for file name: {causeMessage}",
"genericSaveErrorTitle": "Save error",
"genericErrorMessage": "Please try again",
"import": "Import",
"includeFiles": "Include Files",
"internalCompilerException": "Oops. We hit an error on our side while compiling your program. Try running it again. If this error continues, contact us at support@code.org. Be sure to include the connection ID {connectionId} in your message.",
Expand All @@ -60,6 +66,8 @@
"invalidJavaFilename": "Invalid file name. Java file names cannot have spaces.",
"generatingResults": "Generating results...",
"javaExtensionMissing": "Invalid file name. File names must end in '.java'.",
"javabuilderJavaFilenameError": "Java file: {causeMessage} has an invalid file name. Java file names cannot contain spaces or special characters.",
"javabuilderMissingFilenameError": "One or more of your project files are missing file names.",
"missingFilenameError": "File name cannot be blank.",
"newFile": "New File",
"noMainMethod": "Error: your program does not contain a main method.",
Expand Down
31 changes: 31 additions & 0 deletions i18n/locales/source/blockly-mooc/poetry.json
@@ -0,0 +1,31 @@
{
"backgroundOrTextEffect": "You need to add a background or text effect.",
"deletedSprite": "It looks like you removed a sprite. You can add it back from the **Sprites** toolbox.",
"effectWithEvent": "Try using a new foreground or background effect under your `when line shows` event block.",
"foregroundEffectWithEvent": "You need to add a foreground effect using an event.",
"makeBackground": "You need to add a background effect.",
"makeForeground": "You need to add a foreground effect.",
"noBehavior": "Click on the **Sprites** toolbox to find this block.\n<xml><block type=\"PoemBot_startBehavior\"><title name=\"ANIMATION_NAME\">\"tropicalfish_04_1\"</title><title name=\"BEHAVIOR\">swimming_left_and_right</title></block></xml>",
"noTextEffects": "You need to add a text effect to your project.",
"oneTextEffect": "Great work! You added one text effect. Try adding another.",
"removedSprite": "It looks like you removed a sprite. You can add it back from the **Sprites** toolbox.",
"setSize": "Use a `set size` block to change the size of your sprite. Use a number other than 100.",
"spriteEvent": "Try adding or removing a sprite under your `when line shows` event block.",
"successAddedSprite": "Great work adding a new sprite with an event! Click “Keep Playing” to try removing a sprite with an event.",
"successBackgroundEvent": "Great job changing your background with an event! Click “Keep Playing” to try changing the foreground effect.",
"successEffectWithEvent": "Congratulations, you added an effect to your code! You can click 'Keep playing' to add even more effects.",
"successForegroundEvent": "Great job changing your foreground with an event! Click “Keep Playing” to try changing the background effect.",
"successLevel1": "Congratulations! You completed Level 1.",
"successLevel2": "Congratulations! You completed Level 2.",
"successLevel3": "Congratulations! You completed Level 3.",
"successLevel4": "Congratulations! You completed Level 4.",
"successLevel5": "Congratulations! You completed Level 5.",
"successLevel6": "Congratulations! You completed Level 6.",
"successLevel7": "Congratulations! You completed Level 7.",
"successLevel8": "Congratulations! You completed Level 8.",
"successLevel9": "Congratulations! You completed Level 9.",
"successLevel10": "Congratulations! You completed Level 10.",
"successRemovedSprite": "Great work removing a new sprite with an event! Click “Keep Playing” to try adding a sprite with an event.",
"successTextEvent": "Great job changing your text effect with an event! Click 'Keep Playing' to try changing the foreground or background effect.",
"textEffectWithEvent": "Set a new text effect under your `when line shows` event block."
}