mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 18:15:52 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
89d6e6eb0d
5 changed files with 15 additions and 11 deletions
|
@ -373,7 +373,7 @@ module.exports = nativeDescription: "français", englishDescription: "French", t
|
|||
regeneration: "Régénération"
|
||||
range: "Portée" # As in "attack or visual range"
|
||||
blocks: "Absorbe" # As in "this shield blocks this much damage"
|
||||
# backstab: "Backstab" # As in "this dagger does this much backstab damage"
|
||||
backstab: "Poignardé" # As in "this dagger does this much backstab damage"
|
||||
skills: "Compétences"
|
||||
available_for_purchase: "Disponible à l'achat" # Shows up when you have unlocked, but not purchased, a hero in the hero store
|
||||
level_to_unlock: "Niveau à débloquer:" # Label for which level you have to beat to unlock a particular hero (click a locked hero in the store to see)
|
||||
|
@ -383,7 +383,7 @@ module.exports = nativeDescription: "français", englishDescription: "French", t
|
|||
# writable: "writable" # Hover over "attack" in Your Skills while playing a level to see most of this
|
||||
read_only: "lecture seulement"
|
||||
action_name: "nom"
|
||||
# action_cooldown: "Takes"
|
||||
action_cooldown: "Encaisse" #Takes
|
||||
action_specific_cooldown: "Rechargement"
|
||||
action_damage: "Dégat"
|
||||
action_range: "Portée"
|
||||
|
@ -819,13 +819,13 @@ module.exports = nativeDescription: "français", englishDescription: "French", t
|
|||
service: "Service"
|
||||
price: "Prix"
|
||||
gems: "Gemmes"
|
||||
# active: "Active"
|
||||
# subscribed: "Subscribed"
|
||||
# unsubscribed: "Unsubscribed"
|
||||
# active_until: "Active Until"
|
||||
# cost: "Cost"
|
||||
# next_payment: "Next Payment"
|
||||
# card: "Card"
|
||||
active: "Actif"
|
||||
subscribed: "Inscrit"
|
||||
unsubscribed: "Désincrit"
|
||||
active_until: "Actif jusqu'à"
|
||||
cost: "Coût"
|
||||
next_payment: "Prochain paiment"
|
||||
card: "Carte"
|
||||
status_unsubscribed_active: "Vous n'êtes pas inscrit et ne serez pas facturé, mais votre compte est toujours actif."
|
||||
status_unsubscribed: "Obtenez l'accès à de nouveaux niveaux, héros, objets et gemmes en bonu avec une inscription à CodeCombat !"
|
||||
|
||||
|
@ -886,7 +886,7 @@ module.exports = nativeDescription: "français", englishDescription: "French", t
|
|||
clas: "CLAs"
|
||||
play_counts: "Nombre de parties"
|
||||
feedback: "Réaction"
|
||||
# payment_info: "Payment Info"
|
||||
payment_info: "Info paiement"
|
||||
|
||||
delta:
|
||||
added: "Ajouté"
|
||||
|
|
|
@ -37,6 +37,7 @@ module.exports = class RootView extends CocoView
|
|||
|
||||
showNewAchievement: (achievement, earnedAchievement) ->
|
||||
return if achievement.get('collection') is 'level.sessions'
|
||||
return if @isIE() # Some bugs in IE right now, TODO fix soon!
|
||||
popup = new AchievementPopup achievement: achievement, earnedAchievement: earnedAchievement
|
||||
|
||||
handleNewAchievements: (e) ->
|
||||
|
|
|
@ -259,6 +259,8 @@ module.exports = class PlayLevelView extends RootView
|
|||
@bus = LevelBus.get(@levelID, @session.id)
|
||||
@bus.setSession(@session)
|
||||
@bus.setSpells @tome.spells
|
||||
if @session.get('multiplayer') and not me.isAdmin()
|
||||
@session.set 'multiplayer', false # Temp: multiplayer has bugged out some sessions, so ignoring it.
|
||||
@bus.connect() if @session.get('multiplayer')
|
||||
|
||||
# Load Completed Setup ######################################################
|
||||
|
|
|
@ -34,6 +34,7 @@ module.exports = class GameMenuModal extends ModalView
|
|||
submenus = ["options", "save-load", "guide", "multiplayer"]
|
||||
submenus = _.without submenus, 'guide' unless docs.specificArticles?.length or docs.generalArticles?.length
|
||||
submenus = _.without submenus, 'save-load' unless me.isAdmin() or /https?:\/\/localhost/.test(window.location.href)
|
||||
submenus = _.without submenus, 'multiplayer' unless me.isAdmin() or @level?.get('type') in ['ladder', 'hero-ladder']
|
||||
context.showTab = @options.showTab ? submenus[0]
|
||||
context.submenus = submenus
|
||||
context.iconMap =
|
||||
|
|
|
@ -69,7 +69,7 @@ describe 'POST /db/user', ->
|
|||
expect(user.get('password')).toBeUndefined()
|
||||
expect(user?.get('passwordHash')).not.toBeUndefined()
|
||||
if user?.get('passwordHash')?
|
||||
expect(user.get('passwordHash')[..5]).toBe('31dc3d')
|
||||
expect(user.get('passwordHash')[..5] in ['31dc3d', '948c7e']).toBeTruthy()
|
||||
expect(user.get('permissions').length).toBe(0)
|
||||
done()
|
||||
|
||||
|
|
Loading…
Reference in a new issue