Merge branch 'master' into production

This commit is contained in:
Nick Winter 2015-03-17 21:26:14 -07:00
commit 3118821f9e
12 changed files with 224 additions and 194 deletions

View file

@ -249,6 +249,21 @@ particleKinds['level-forest-hero-ladder'] = ext particleKinds['level-forest-prem
colorMiddle: hsl 0, 1, 0.5 colorMiddle: hsl 0, 1, 0.5
colorEnd: hsl 0, 0.75, 0.1 colorEnd: hsl 0, 0.75, 0.1
particleKinds['level-forest-premium-item'] = ext particleKinds['level-forest-gate'],
emitter:
particleCount: 2000
radius: 2.5
acceleration: vec 0, 8, 1
opacityStart: 0
opacityMiddle: 0.5
opacityEnd: 0.75
colorStart: hsl 0.5, 0.75, 0.9
colorMiddle: hsl 0.5, 0.75, 0.7
colorEnd: hsl 0.5, 0.75, 0.3
colorStartSpread: vec 1, 1, 1
colorMiddleSpread: vec 1.5, 1.5, 1.5
colorEndSpread: vec 2.5, 2.5, 2.5
particleKinds['level-desert-premium-hero'] = ext particleKinds['level-desert-premium'], particleKinds['level-desert-premium-hero'] = ext particleKinds['level-desert-premium'],
emitter: emitter:
particleCount: 200 particleCount: 200

View file

@ -8,6 +8,7 @@ module.exports.thangNames = thangNames =
'Iyert' 'Iyert'
'Lacos' 'Lacos'
'Palt' 'Palt'
'Pripp'
'Shmeal' 'Shmeal'
'Upfish' 'Upfish'
'Yugark' 'Yugark'
@ -36,6 +37,7 @@ module.exports.thangNames = thangNames =
'Treg' 'Treg'
'Ursa' 'Ursa'
'Weeb' 'Weeb'
'Yart'
'Zozo' 'Zozo'
] ]
'Ogre Thrower': [ 'Ogre Thrower': [
@ -44,6 +46,7 @@ module.exports.thangNames = thangNames =
'Durnath' 'Durnath'
'Esha' 'Esha'
'Gragthar' 'Gragthar'
'Grel'
'Hamedi' 'Hamedi'
'Jinjin' 'Jinjin'
'Kraggan' 'Kraggan'
@ -70,6 +73,7 @@ module.exports.thangNames = thangNames =
# Female # Female
'Celadia' 'Celadia'
'Taric' 'Taric'
'Vaelia'
] ]
'Ogre Witch': [ 'Ogre Witch': [
# Female # Female
@ -346,10 +350,12 @@ module.exports.thangNames = thangNames =
] ]
'Necromancer': [ 'Necromancer': [
# Male # Male
'Morcelu'
'Nalfar' 'Nalfar'
] ]
'Dark Wizard': [ 'Dark Wizard': [
# Female # Female
'Lilith'
'Usara' 'Usara'
'Veigar' 'Veigar'
] ]

View file

@ -10,7 +10,9 @@ class Vector
isVector: true isVector: true
apiProperties: ['x', 'y', 'z', 'magnitude', 'heading', 'distance', 'dot', 'equals', 'copy', 'distanceSquared', 'rotate'] apiProperties: ['x', 'y', 'z', 'magnitude', 'heading', 'distance', 'dot', 'equals', 'copy', 'distanceSquared', 'rotate']
constructor: (@x=0, @y=0, @z=0) -> constructor: (x=0, y=0, z=0) ->
return new Vector x, y, z unless @ instanceof Vector
[@x, @y, @z] = [x, y, z]
copy: -> copy: ->
new Vector(@x, @y, @z) new Vector(@x, @y, @z)

View file

@ -1,43 +1,43 @@
module.exports = nativeDescription: "suomi", englishDescription: "Finnish", translation: module.exports = nativeDescription: "suomi", englishDescription: "Finnish", translation:
# home: home:
# slogan: "Learn to Code by Playing a Game" slogan: "Opi Koodaamaan Pelaamalla"
# no_ie: "CodeCombat does not run in Internet Explorer 8 or older. Sorry!" # Warning that only shows up in IE8 and older # no_ie: "CodeCombat does not run in Internet Explorer 8 or older. Sorry!" # Warning that only shows up in IE8 and older
# no_mobile: "CodeCombat wasn't designed for mobile devices and may not work!" # Warning that shows up on mobile devices # no_mobile: "CodeCombat wasn't designed for mobile devices and may not work!" # Warning that shows up on mobile devices
# play: "Play" # The big play button that opens up the campaign view. play: "Pelaa" # The big play button that opens up the campaign view.
# old_browser: "Uh oh, your browser is too old to run CodeCombat. Sorry!" # Warning that shows up on really old Firefox/Chrome/Safari # old_browser: "Uh oh, your browser is too old to run CodeCombat. Sorry!" # Warning that shows up on really old Firefox/Chrome/Safari
# old_browser_suffix: "You can try anyway, but it probably won't work." # old_browser_suffix: "You can try anyway, but it probably won't work."
# ipad_browser: "Bad news: CodeCombat doesn't run on iPad in the browser. Good news: our native iPad app is awaiting Apple approval." # ipad_browser: "Bad news: CodeCombat doesn't run on iPad in the browser. Good news: our native iPad app is awaiting Apple approval."
# campaign: "Campaign" # campaign: "Campaign"
# for_beginners: "For Beginners" for_beginners: "Aloittelijoille"
# multiplayer: "Multiplayer" # Not currently shown on home page multiplayer: "Moninpelaaja" # Not currently shown on home page
# for_developers: "For Developers" # Not currently shown on home page. for_developers: "Kehittäjille" # Not currently shown on home page.
# or_ipad: "Or download for iPad" # or_ipad: "Or download for iPad"
# nav: nav:
# play: "Levels" # The top nav bar entry where players choose which levels to play play: "Tasot" # The top nav bar entry where players choose which levels to play
# community: "Community" community: "Yhteisö"
# editor: "Editor" editor: "Editori"
# blog: "Blog" blog: "Blogi"
# forum: "Forum" forum: "Foorumi"
# account: "Account" account: "Tili"
# profile: "Profile" profile: "Profiili"
# stats: "Stats" stats: "Tilastot"
# code: "Code" code: "Koodi"
# admin: "Admin" # Only shows up when you are an admin # admin: "Admin" # Only shows up when you are an admin
# home: "Home" home: "Koti"
# contribute: "Contribute" contribute: "Avusta"
# legal: "Legal" legal: "Laillisuus"
# about: "About" about: "Tietoja"
# contact: "Contact" contact: "Ota yhteyttä"
# twitter_follow: "Follow" twitter_follow: "Seuraa"
# teachers: "Teachers" teachers: "Opettajat"
# modal: modal:
# close: "Close" close: "Sulje"
# okay: "Okay" okay: "Ok"
# not_found: not_found:
# page_not_found: "Page not found" page_not_found: "Sivua ei löydy"
diplomat_suggestion: diplomat_suggestion:
# title: "Help translate CodeCombat!" # This shows up when a player switches to a non-English language using the language selector. # title: "Help translate CodeCombat!" # This shows up when a player switches to a non-English language using the language selector.
@ -47,33 +47,33 @@ module.exports = nativeDescription: "suomi", englishDescription: "Finnish", tran
# learn_more: "Learn more about being a Diplomat" # learn_more: "Learn more about being a Diplomat"
# subscribe_as_diplomat: "Subscribe as a Diplomat" # subscribe_as_diplomat: "Subscribe as a Diplomat"
# play: play:
# play_as: "Play As" # Ladder page play_as: "Pelaa" # Ladder page
# spectate: "Spectate" # Ladder page # spectate: "Spectate" # Ladder page
# players: "players" # Hover over a level on /play players: "pelaajat" # Hover over a level on /play
# hours_played: "hours played" # Hover over a level on /play hours_played: "pelatut tunnit" # Hover over a level on /play
# items: "Items" # Tooltip on item shop button from /play items: "Esineet" # Tooltip on item shop button from /play
# unlock: "Unlock" # For purchasing items and heroes unlock: "Unlock" # For purchasing items and heroes
# confirm: "Confirm" confirm: "Varmista"
# owned: "Owned" # For items you own owned: "Omistettuja" # For items you own
# locked: "Locked" locked: "Lukittu"
# purchasable: "Purchasable" # For a hero you unlocked but haven't purchased # purchasable: "Purchasable" # For a hero you unlocked but haven't purchased
# available: "Available" available: "Saatavissa"
# skills_granted: "Skills Granted" # Property documentation details # skills_granted: "Skills Granted" # Property documentation details
# heroes: "Heroes" # Tooltip on hero shop button from /play heroes: "Sankarit" # Tooltip on hero shop button from /play
# achievements: "Achievements" # Tooltip on achievement list button from /play achievements: "Saavutukset" # Tooltip on achievement list button from /play
# account: "Account" # Tooltip on account button from /play account: "Tili" # Tooltip on account button from /play
# settings: "Settings" # Tooltip on settings button from /play settings: "Asetukset" # Tooltip on settings button from /play
# poll: "Poll" # Tooltip on poll button from /play # poll: "Poll" # Tooltip on poll button from /play
# next: "Next" # Go from choose hero to choose inventory before playing a level next: "Seuraava" # Go from choose hero to choose inventory before playing a level
# change_hero: "Change Hero" # Go back from choose inventory to choose hero # change_hero: "Change Hero" # Go back from choose inventory to choose hero
# choose_inventory: "Equip Items" # choose_inventory: "Equip Items"
# buy_gems: "Buy Gems" # buy_gems: "Buy Gems"
# subscription_required: "Subscription Required" # subscription_required: "Subscription Required"
# older_campaigns: "Older Campaigns" older_campaigns: "Vanhemmat Kamppanjat"
# anonymous: "Anonymous Player" anonymous: "Nimetön Pelaaja"
# level_difficulty: "Difficulty: " level_difficulty: "Vaikeustaso: "
# campaign_beginner: "Beginner Campaign" campaign_beginner: "Aloittelijan Kamppanja"
# awaiting_levels_adventurer_prefix: "We release five levels per week." # awaiting_levels_adventurer_prefix: "We release five levels per week."
# awaiting_levels_adventurer: "Sign up as an Adventurer" # awaiting_levels_adventurer: "Sign up as an Adventurer"
# awaiting_levels_adventurer_suffix: "to be the first to play new levels." # awaiting_levels_adventurer_suffix: "to be the first to play new levels."
@ -103,12 +103,12 @@ module.exports = nativeDescription: "suomi", englishDescription: "Finnish", tran
# tell_friend: "Tell your Friend" # tell_friend: "Tell your Friend"
# tell_parent: "Tell your Parent" # tell_parent: "Tell your Parent"
# login: login:
# sign_up: "Create Account" sign_up: "Luo Tili"
# log_in: "Log In" log_in: "Kirjaudu"
# logging_in: "Logging In" logging_in: "Kirjaudutaan"
# log_out: "Log Out" log_out: "Kirjaudu Ulos"
# forgot_password: "Forgot your password?" forgot_password: "Unohditko salasanasi?"
# authenticate_gplus: "Authenticate G+" # authenticate_gplus: "Authenticate G+"
# load_profile: "Load G+ Profile" # load_profile: "Load G+ Profile"
# finishing: "Finishing" # finishing: "Finishing"
@ -130,113 +130,113 @@ module.exports = nativeDescription: "suomi", englishDescription: "Finnish", tran
# send_password: "Send Recovery Password" # send_password: "Send Recovery Password"
# recovery_sent: "Recovery email sent." # recovery_sent: "Recovery email sent."
# items: items:
# primary: "Primary" primary: "Ensisijainen"
# secondary: "Secondary" secondary: "Toissijainen"
# armor: "Armor" armor: "Suoja"
# accessories: "Accessories" accessories: "Lisätarvikkeet"
# misc: "Misc" misc: "Sekalaista"
# books: "Books" books: "Kirjat"
common: common:
# back: "Back" # When used as an action verb, like "Navigate backward" back: "Takaisin" # When used as an action verb, like "Navigate backward"
# continue: "Continue" # When used as an action verb, like "Continue forward" continue: "Jatka" # When used as an action verb, like "Continue forward"
loading: "Loading..." loading: "Ladataan..."
# saving: "Saving..." saving: "Tallennetaan..."
# sending: "Sending..." sending: "Lähetetään..."
# send: "Send" send: "Lähetä"
# cancel: "Cancel" cancel: "Peruuta"
# save: "Save" save: "Tallenna"
# publish: "Publish" publish: "Julkaise"
# create: "Create" create: "Luo"
# manual: "Manual" manual: "Ohjeet"
# fork: "Fork" fork: "Haarauta"
# play: "Play" # When used as an action verb, like "Play next level" play: "Pelaa" # When used as an action verb, like "Play next level"
# retry: "Retry" retry: "Kokeile uudestaan"
# actions: "Actions" actions: "Toiminnot"
# info: "Info" info: "Tietoa"
# help: "Help" help: "Apua"
# watch: "Watch" watch: "Seuraa"
# unwatch: "Unwatch" unwatch: "Lopeta Seuraaminen"
# submit_patch: "Submit Patch" # submit_patch: "Submit Patch"
# submit_changes: "Submit Changes" # submit_changes: "Submit Changes"
# general: general:
# and: "and" and: "ja"
# name: "Name" name: "Nimi"
# date: "Date" date: "Päiväys"
# body: "Body" body: "Vartalo"
# version: "Version" version: "Versio"
# pending: "Pending" pending: "Odotetaan"
# accepted: "Accepted" accepted: "Hyväksytty"
# rejected: "Rejected" rejected: "Hylätty"
# withdrawn: "Withdrawn" withdrawn: "Vedetty pois"
# submitter: "Submitter" submitter: "Lähettäjä"
# submitted: "Submitted" submitted: "Lähetetty"
# commit_msg: "Commit Message" # commit_msg: "Commit Message"
# review: "Review" review: "Esikatsele"
# version_history: "Version History" version_history: "Versiohistoria"
# version_history_for: "Version History for: " # version_history_for: "Version History for: "
# select_changes: "Select two changes below to see the difference." # select_changes: "Select two changes below to see the difference."
# undo_prefix: "Undo" undo_prefix: "Peruuta"
# undo_shortcut: "(Ctrl+Z)" # undo_shortcut: "(Ctrl+Z)"
# redo_prefix: "Redo" redo_prefix: "Tee uudelleen"
# redo_shortcut: "(Ctrl+Shift+Z)" # redo_shortcut: "(Ctrl+Shift+Z)"
# play_preview: "Play preview of current level" # play_preview: "Play preview of current level"
# result: "Result" # result: "Result"
# results: "Results" # results: "Results"
# description: "Description" # description: "Description"
# or: "or" or: "tai"
# subject: "Subject" subject: "Aihe"
# email: "Email" # email: "Email"
# password: "Password" password: "Salasana"
# message: "Message" message: "Viesti"
# code: "Code" code: "Koodi"
# ladder: "Ladder" # ladder: "Ladder"
# when: "When" when: "Kun"
# opponent: "Opponent" opponent: "Vastustaja"
# rank: "Rank" rank: "Arvo"
# score: "Score" score: "Pisteet"
# win: "Win" win: "Voitto"
# loss: "Loss" loss: "Tappio"
# tie: "Tie" tie: "Tasapeli"
# easy: "Easy" easy: "Helppo"
# medium: "Medium" medium: "Haastava"
# hard: "Hard" hard: "Vaikea"
# player: "Player" player: "Pelaaja"
# player_level: "Level" # Like player level 5, not like level: Dungeons of Kithgard player_level: "Taso" # Like player level 5, not like level: Dungeons of Kithgard
# warrior: "Warrior" warrior: "Sotilas"
# ranger: "Ranger" ranger: "Vartija"
# wizard: "Wizard" wizard: "Velho"
# units: units:
# second: "second" second: "sekuntti"
# seconds: "seconds" seconds: "sekunnit"
# minute: "minute" minute: "minuutti"
# minutes: "minutes" minutes: "minuutit"
# hour: "hour" hour: "tunti"
# hours: "hours" hours: "tunnit"
# day: "day" day: "päivä"
# days: "days" days: "päivät"
# week: "week" week: "viikko"
# weeks: "weeks" weeks: "viikot"
# month: "month" month: "kuukausi"
# months: "months" months: "kuukaudet"
# year: "year" year: "vuosi"
# years: "years" years: "vuodet"
# play_level: play_level:
# done: "Done" done: "Valmis"
# home: "Home" # Not used any more, will be removed soon. # home: "Home" # Not used any more, will be removed soon.
# level: "Level" # Like "Level: Dungeons of Kithgard" level: "Taso" # Like "Level: Dungeons of Kithgard"
# skip: "Skip" skip: "Ohita"
# game_menu: "Game Menu" game_menu: "Peli Valikko"
# guide: "Guide" guide: "Ohje"
# restart: "Restart" # restart: "Restart"
# goals: "Goals" goals: "Maalit"
# goal: "Goal" goal: "Maali"
# running: "Running..." running: "Ajetaan..."
# success: "Success!" success: "Onnistui!"
# incomplete: "Incomplete" # incomplete: "Incomplete"
# timed_out: "Ran out of time" # timed_out: "Ran out of time"
# failing: "Failing" # failing: "Failing"
@ -248,14 +248,14 @@ module.exports = nativeDescription: "suomi", englishDescription: "Finnish", tran
# reload_title: "Reload All Code?" # reload_title: "Reload All Code?"
# reload_really: "Are you sure you want to reload this level back to the beginning?" # reload_really: "Are you sure you want to reload this level back to the beginning?"
# reload_confirm: "Reload All" # reload_confirm: "Reload All"
# victory: "Victory" victory: "Voitto"
# victory_title_prefix: "" # victory_title_prefix: ""
# victory_title_suffix: " Complete" # victory_title_suffix: " Complete"
# victory_sign_up: "Sign Up to Save Progress" # victory_sign_up: "Sign Up to Save Progress"
# victory_sign_up_poke: "Want to save your code? Create a free account!" # victory_sign_up_poke: "Want to save your code? Create a free account!"
# victory_rate_the_level: "Rate the level: " # Only in old-style levels. # victory_rate_the_level: "Rate the level: " # Only in old-style levels.
# victory_return_to_ladder: "Return to Ladder" # victory_return_to_ladder: "Return to Ladder"
# victory_play_continue: "Continue" victory_play_continue: "Jatka"
# victory_saving_progress: "Saving Progress" # victory_saving_progress: "Saving Progress"
# victory_go_home: "Go Home" # Only in old-style levels. # victory_go_home: "Go Home" # Only in old-style levels.
# victory_review: "Tell us more!" # Only in old-style levels. # victory_review: "Tell us more!" # Only in old-style levels.

View file

@ -42,10 +42,10 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
diplomat_suggestion: diplomat_suggestion:
title: "CodeCombatを翻訳しましょう" # This shows up when a player switches to a non-English language using the language selector. title: "CodeCombatを翻訳しましょう" # This shows up when a player switches to a non-English language using the language selector.
sub_heading: "あなたの言語力が必要です。" sub_heading: "あなたの言語力が必要です。"
pitch_body: "CodeCombatは英語で開発されています。日本語でプレイしたい方がたくさんいますが、ゲームの多くはまだ英語のままです。もし、あなたが英語が得意であれば、Diplomat翻訳者として登録し、CodeCombatのレベルやサイトの翻訳にご協力ください。" pitch_body: "CodeCombatは英語で開発されています。日本語でプレイしたい方がたくさんいますが、ゲームの多くはまだ英語のままです。もし、あなたが英語が得意であれば、外交官翻訳者として登録し、CodeCombatのレベルやサイトの翻訳にご協力ください。"
missing_translations: "翻訳が完了していない部分は、英語で表示されます。" missing_translations: "翻訳が完了していない部分は、英語で表示されます。"
learn_more: "Diplomat について情報" learn_more: "外交官について情報"
subscribe_as_diplomat: "Diplomat登録" subscribe_as_diplomat: "外交官登録"
play: play:
play_as: "としてプレー" # Ladder page play_as: "としてプレー" # Ladder page
@ -64,7 +64,7 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
achievements: "実績" # Tooltip on achievement list button from /play achievements: "実績" # Tooltip on achievement list button from /play
account: "アカウント" # Tooltip on account button from /play account: "アカウント" # Tooltip on account button from /play
settings: "設定" # Tooltip on settings button from /play settings: "設定" # Tooltip on settings button from /play
# poll: "Poll" # Tooltip on poll button from /play poll: "投票" # Tooltip on poll button from /play
next: "次へ" # Go from choose hero to choose inventory before playing a level next: "次へ" # Go from choose hero to choose inventory before playing a level
change_hero: "ヒーローの選択" # Go back from choose inventory to choose hero change_hero: "ヒーローの選択" # Go back from choose inventory to choose hero
choose_inventory: "アイテムを装備" choose_inventory: "アイテムを装備"
@ -309,9 +309,9 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
tip_reticulating: "網状化する背骨" tip_reticulating: "網状化する背骨"
tip_harry: "君はウィザードだ" tip_harry: "君はウィザードだ"
tip_great_responsibility: "偉大なコーディングスキルを持つと、偉大なデバッグ責任も付属してきます。" tip_great_responsibility: "偉大なコーディングスキルを持つと、偉大なデバッグ責任も付属してきます。"
tip_munchkin: "野菜を食べなければ、眠ってる間マンチキンに襲われるぞ。" tip_munchkin: "野菜を食べなければ、眠ってる間マンチキンに襲われるぞ。"
tip_binary: "世界には10種類の人がいるバイナリを理解する人と、そうでない人。" tip_binary: "世界には10種類の人がいるバイナリを理解する人と、そうでない人。"
tip_commitment_yoda: "プログラマは、最も深いコミットメントを持つ必要がある, 最も深刻な心。 - ヨーダ" tip_commitment_yoda: "プログラマは、最も深いコミットメントを持つ必要がある, 最も深刻な心。- ヨーダ"
tip_no_try: "やる。又はやらない。試しはない。- ヨーダ" tip_no_try: "やる。又はやらない。試しはない。- ヨーダ"
tip_patience: "持つ必要がある、忍耐を若いパダワンよ。- ヨーダ" tip_patience: "持つ必要がある、忍耐を若いパダワンよ。- ヨーダ"
tip_documented_bug: "文書化されたバグはバグではありません。それは機能です。" tip_documented_bug: "文書化されたバグはバグではありません。それは機能です。"
@ -509,7 +509,7 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
default_value: "デフォルト値" default_value: "デフォルト値"
parameters: "パラメータ" parameters: "パラメータ"
returns: "リターン" returns: "リターン"
granted_by: "によって与えられた" granted_by: "スキルを与えてくれるアイテム:"
save_load: save_load:
granularity_saved_games: "セーブされました" granularity_saved_games: "セーブされました"
@ -525,20 +525,20 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
editor_config: "エディター設定" editor_config: "エディター設定"
editor_config_title: "エディターの設定" editor_config_title: "エディターの設定"
editor_config_level_language_label: "このレベルの言語" editor_config_level_language_label: "このレベルの言語"
# editor_config_level_language_description: "Define the programming language for this particular level." editor_config_level_language_description: "このレベルのプログラミング言語を定義する。"
editor_config_default_language_label: "デフォルトプログラミング言語" editor_config_default_language_label: "デフォルトプログラミング言語"
# editor_config_default_language_description: "Define the programming language you want to code in when starting new levels." editor_config_default_language_description: "新しいレベルの起動時に、コードしたいプログラミング言語を定義する。"
editor_config_keybindings_label: "キーバインディング" editor_config_keybindings_label: "キーバインディング"
editor_config_keybindings_default: "デフォルト(エース)" editor_config_keybindings_default: "デフォルト(エース)"
# editor_config_keybindings_description: "Adds additional shortcuts known from the common editors." editor_config_keybindings_description: "一般的なエディターから知られているショートカットを追加する。"
# editor_config_livecompletion_label: "Live Autocompletion" editor_config_livecompletion_label: "ライブオートコンプリート"
# editor_config_livecompletion_description: "Displays autocomplete suggestions while typing." editor_config_livecompletion_description: "コード入力中、オートコンプリートの提案を表示する。"
# editor_config_invisibles_label: "Show Invisibles" editor_config_invisibles_label: "編集記号の表示"
# editor_config_invisibles_description: "Displays invisibles such as spaces or tabs." editor_config_invisibles_description: "スペースやタブなどの編集記号を表示する。"
# editor_config_indentguides_label: "Show Indent Guides" editor_config_indentguides_label: "インデントガイドの表示"
# editor_config_indentguides_description: "Displays vertical lines to see indentation better." editor_config_indentguides_description: "より良いインデントを見るために垂直線を表示する。"
# editor_config_behaviors_label: "Smart Behaviors" editor_config_behaviors_label: "スマートビヘイビア"
# editor_config_behaviors_description: "Autocompletes brackets, braces, and quotes." editor_config_behaviors_description: "カッコ、中括弧、および引用符をオートコンプリートする。"
about: about:
why_codecombat: "なぜCodeCombat?" why_codecombat: "なぜCodeCombat?"
@ -554,11 +554,11 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
press_paragraph_1_link: "プレスパケット" press_paragraph_1_link: "プレスパケット"
press_paragraph_1_suffix: "。全てのロゴやイメージは、直接私達に連絡することなく使用することができます。" press_paragraph_1_suffix: "。全てのロゴやイメージは、直接私達に連絡することなく使用することができます。"
team: "開発チーム" team: "開発チーム"
george_title: "共同創設者" # {change} george_title: "コーファウンダー" # {change}
george_blurb: "ビジネスの達人" george_blurb: "ビジネスの達人"
scott_title: "共同創設者" # {change} scott_title: "コーファウンダー" # {change}
scott_blurb: "リーズナブルな奴" scott_blurb: "リーズナブルな奴"
nick_title: "共同創設者" # {change} nick_title: "コーファウンダー" # {change}
nick_blurb: "モチベーションの達人" nick_blurb: "モチベーションの達人"
michael_title: "プログラマー" michael_title: "プログラマー"
michael_blurb: "システム管理者" michael_blurb: "システム管理者"
@ -635,8 +635,8 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
faq_prefix: "他のサポートもあります:" faq_prefix: "他のサポートもあります:"
faq: "よくある質問(FAQ)" faq: "よくある質問(FAQ)"
subscribe_prefix: "レベルをクリアする情報が必要ならば、" subscribe_prefix: "レベルをクリアする情報が必要ならば、"
subscribe: "CodeCombatのサブスクリプションを購入頂けると" subscribe: "CodeCombatのサブスクリプション"
subscribe_suffix: "喜んであなたのコードを手伝います。" subscribe_suffix: "を購入頂けると喜んであなたのコードを手伝います。"
subscriber_support: "あなたはCodeCombatにすでに加入しているので、メールは優先サポートされます。" subscriber_support: "あなたはCodeCombatにすでに加入しているので、メールは優先サポートされます。"
screenshot_included: "スクリーンショットが含まれています。" screenshot_included: "スクリーンショットが含まれています。"
where_reply: "何処へ返信すれば宜しいですか?" where_reply: "何処へ返信すれば宜しいですか?"
@ -697,7 +697,7 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
run_real_time: "リアルタイムで実行" run_real_time: "リアルタイムで実行"
# continue_script: "Continue past current script." # continue_script: "Continue past current script."
# skip_scripts: "Skip past all skippable scripts." # skip_scripts: "Skip past all skippable scripts."
toggle_playback: "トグル プレイ/ポーズ" toggle_playback: "トグル:プレイ/ポーズ"
# scrub_playback: "Scrub back and forward through time." # scrub_playback: "Scrub back and forward through time."
# single_scrub_playback: "Scrub back and forward through time by a single frame." # single_scrub_playback: "Scrub back and forward through time by a single frame."
# scrub_execution: "Scrub through current spell execution." # scrub_execution: "Scrub through current spell execution."
@ -707,8 +707,8 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
# beautify: "Beautify your code by standardizing its formatting." # beautify: "Beautify your code by standardizing its formatting."
# maximize_editor: "Maximize/minimize code editor." # maximize_editor: "Maximize/minimize code editor."
# community: community:
# main_title: "CodeCombat Community" main_title: "CodeCombatコミュニティー"
# introduction: "Check out the ways you can get involved below and decide what sounds the most fun. We look forward to working with you!" # introduction: "Check out the ways you can get involved below and decide what sounds the most fun. We look forward to working with you!"
# level_editor_prefix: "Use the CodeCombat" # level_editor_prefix: "Use the CodeCombat"
# level_editor_suffix: "to create and edit levels. Users have created levels for their classes, friends, hackathons, students, and siblings. If create a new level sounds intimidating you can start by forking one of ours!" # level_editor_suffix: "to create and edit levels. Users have created levels for their classes, friends, hackathons, students, and siblings. If create a new level sounds intimidating you can start by forking one of ours!"
@ -748,7 +748,7 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
editor: editor:
main_title: "CodeCombatエディター" main_title: "CodeCombatエディター"
# article_title: "Article Editor" # article_title: "Article Editor"
# thang_title: "Thang Editor" thang_title: "サングエディター"
level_title: "レベルエディター" level_title: "レベルエディター"
achievement_title: "実績エディター" achievement_title: "実績エディター"
poll_title: "投票エディター" poll_title: "投票エディター"
@ -1337,9 +1337,9 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
admin: admin:
# av_espionage: "Espionage" # Really not important to translate /admin controls. # av_espionage: "Espionage" # Really not important to translate /admin controls.
# av_espionage_placeholder: "Email or username" # av_espionage_placeholder: "Email or username"
# av_usersearch: "User Search" av_usersearch: "ユーザーサーチ"
# av_usersearch_placeholder: "Email, username, name, whatever" # av_usersearch_placeholder: "Email, username, name, whatever"
# av_usersearch_search: "Search" av_usersearch_search: "サーチ"
av_title: "管理画面" av_title: "管理画面"
# av_entities_sub_title: "Entities" # av_entities_sub_title: "Entities"
av_entities_users_url: "ユーザー" av_entities_users_url: "ユーザー"
@ -1349,7 +1349,7 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese",
# av_entities_user_code_problems_list_url: "User Code Problems List" # av_entities_user_code_problems_list_url: "User Code Problems List"
av_other_sub_title: "その他" av_other_sub_title: "その他"
# av_other_debug_base_url: "Base (for debugging base.jade)" # av_other_debug_base_url: "Base (for debugging base.jade)"
# u_title: "User List" u_title: "ユーザーリスト"
# ucp_title: "User Code Problems" # ucp_title: "User Code Problems"
lg_title: "最近のゲーム" lg_title: "最近のゲーム"
clas: "CLA" clas: "CLA"

View file

@ -1,7 +1,6 @@
#account-settings-root-view #account-settings-root-view
//- Fixed save button //- Fixed save button
#site-content-area #site-content-area
padding-bottom: 44px padding-bottom: 44px
@ -26,7 +25,6 @@
padding-top: 20px padding-top: 20px
//- Panels //- Panels
.panel-heading .panel-heading
font-family: Open Sans Condensed font-family: Open Sans Condensed
font-weight: bold font-weight: bold
@ -38,7 +36,6 @@
color: #F00 color: #F00
//- Panel specific stuff //- Panel specific stuff
.profile-photo .profile-photo
max-width: 100% max-width: 100%
max-height: 200px max-height: 200px

View file

@ -7,6 +7,7 @@
.outer-content .outer-content
padding: 10px padding: 10px
overflow-y: scroll
select select
margin-bottom: 10px margin-bottom: 10px

View file

@ -222,6 +222,10 @@ $gameControlMargin: 30px
.level-description .level-description
color: black color: black
img
display: block
margin: 0px auto
.level-status .level-status
background: transparent url(/images/pages/play/level-info-status-spritesheet.png) no-repeat 0 0 background: transparent url(/images/pages/play/level-info-status-spritesheet.png) no-repeat 0 0
width: 60px width: 60px

View file

@ -23,5 +23,4 @@ block content
a.btn.btn-lg.btn-primary(href="/account/payments", data-i18n="account.payments") a.btn.btn-lg.btn-primary(href="/account/payments", data-i18n="account.payments")
li.list-group-item li.list-group-item
a.btn.btn-lg.btn-primary(href="/account/subscription", data-i18n="account.subscription") a.btn.btn-lg.btn-primary(href="/account/subscription", data-i18n="account.subscription")
li.list-group-item
a.btn.btn-lg.btn-primary(href="/account/invoices", data-i18n="account.invoices")

View file

@ -15,7 +15,9 @@ if campaign
if level.unlocksHero && (!level.purchasedHero || editorMode) if level.unlocksHero && (!level.purchasedHero || editorMode)
img.hero-portrait(src="/file/db/thang.type/#{level.unlocksHero}/portrait.png") img.hero-portrait(src="/file/db/thang.type/#{level.unlocksHero}/portrait.png")
a(href=level.type == 'hero' ? '#' : level.disabled ? "/play" : "/play/#{level.levelPath || 'level'}/#{level.slug}", disabled=level.disabled, data-level-slug=level.slug, data-level-path=level.levelPath || 'level', data-level-name=level.name) a(href=level.type == 'hero' ? '#' : level.disabled ? "/play" : "/play/#{level.levelPath || 'level'}/#{level.slug}", disabled=level.disabled, data-level-slug=level.slug, data-level-path=level.levelPath || 'level', data-level-name=level.name)
if level.requiresSubscription if level.slug == 'apocalypse'
img.star(src="/file/db/thang.type/54ea89112b7506e891ca717d/portrait.png")
else if level.requiresSubscription
img.star(src="/images/pages/play/star.png") img.star(src="/images/pages/play/star.png")
if levelStatusMap[level.slug] === 'complete' if levelStatusMap[level.slug] === 'complete'
img.banner(src="/images/pages/play/level-banner-complete.png") img.banner(src="/images/pages/play/level-banner-complete.png")

View file

@ -13,5 +13,7 @@ module.exports = class ThangTypeI18NView extends I18NEditModelView
name = @model.get('name') name = @model.get('name')
@wrapRow('Name', ['name'], name, i18n[lang]?.name, []) @wrapRow('Name', ['name'], name, i18n[lang]?.name, [])
@wrapRow('Description', ['description'], @model.get('description'), i18n[lang]?.description, [], 'markdown') @wrapRow('Description', ['description'], @model.get('description'), i18n[lang]?.description, [], 'markdown')
@wrapRow('Extended Hero Name', ['extendedName'], @model.get('extendedName'), i18n[lang]?.extendedName, []) if extendedName = @model.get('extendedName')
@wrapRow('Unlock Level Name', ['unlockLevelName'], @model.get('unlockLevelName'), i18n[lang]?.unlockLevelName, []) @wrapRow('Extended Hero Name', ['extendedName'], extendedName, i18n[lang]?.extendedName, [])
if unlockLevelName = @model.get('unlockLevelName')
@wrapRow('Unlock Level Name', ['unlockLevelName'], unlockLevelName, i18n[lang]?.unlockLevelName, [])

View file

@ -261,6 +261,7 @@ module.exports = class CampaignView extends RootView
level.locked = false if @editorMode level.locked = false if @editorMode
level.locked = false if @campaign?.get('name') is 'Auditions' level.locked = false if @campaign?.get('name') is 'Auditions'
level.locked = false if me.isInGodMode() level.locked = false if me.isInGodMode()
level.locked = false if level.slug is 'apocalypse'
level.disabled = true if level.adminOnly and @levelStatusMap[level.slug] not in ['started', 'complete'] level.disabled = true if level.adminOnly and @levelStatusMap[level.slug] not in ['started', 'complete']
level.disabled = false if me.isInGodMode() level.disabled = false if me.isInGodMode()
level.color = 'rgb(255, 80, 60)' level.color = 'rgb(255, 80, 60)'
@ -294,7 +295,7 @@ module.exports = class CampaignView extends RootView
unless foundNext unless foundNext
for nextLevelOriginal in level.nextLevels for nextLevelOriginal in level.nextLevels
nextLevel = _.find levels, original: nextLevelOriginal nextLevel = _.find levels, original: nextLevelOriginal
if nextLevel and not nextLevel.locked and @levelStatusMap[nextLevel.slug] isnt 'complete' and (me.isPremium() or not nextLevel.requiresSubscription) if nextLevel and not nextLevel.locked and @levelStatusMap[nextLevel.slug] isnt 'complete' and (me.isPremium() or not nextLevel.requiresSubscription or nextLevel.slug is 'apocalypse')
nextLevel.next = true nextLevel.next = true
foundNext = true foundNext = true
break break
@ -333,12 +334,13 @@ module.exports = class CampaignView extends RootView
@particleMan ?= new ParticleMan() @particleMan ?= new ParticleMan()
@particleMan.removeEmitters() @particleMan.removeEmitters()
@particleMan.attach @$el.find('.map') @particleMan.attach @$el.find('.map')
for level in @campaign.renderedLevels ? {} when level.hidden for level in @campaign.renderedLevels ? {} when level.hidden or level.slug is 'apocalypse'
particleKey = ['level', @terrain] particleKey = ['level', @terrain]
particleKey.push level.type if level.type and level.type isnt 'hero' particleKey.push level.type if level.type and level.type isnt 'hero'
particleKey.push 'premium' if level.requiresSubscription particleKey.push 'premium' if level.requiresSubscription
particleKey.push 'gate' if level.slug in ['kithgard-gates', 'siege-of-stonehold', 'clash-of-clones'] particleKey.push 'gate' if level.slug in ['kithgard-gates', 'siege-of-stonehold', 'clash-of-clones']
particleKey.push 'hero' if level.unlocksHero and not level.unlockedHero particleKey.push 'hero' if level.unlocksHero and not level.unlockedHero
particleKey.push 'item' if level.slug is 'apocalypse' # TODO: generalize
continue if particleKey.length is 2 # Don't show basic levels continue if particleKey.length is 2 # Don't show basic levels
@particleMan.addEmitter level.position.x / 100, level.position.y / 100, particleKey.join('-') @particleMan.addEmitter level.position.x / 100, level.position.y / 100, particleKey.join('-')