Work on thang tab

This commit is contained in:
Alexei Nikitin 2014-04-08 02:49:27 +04:00
parent 5f062ad25c
commit e87c0c4b91
7 changed files with 28 additions and 15 deletions

View file

@ -301,10 +301,14 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
contact_us: "contact us!" contact_us: "contact us!"
hipchat_prefix: "You can also find us in our" hipchat_prefix: "You can also find us in our"
hipchat_url: "HipChat room." hipchat_url: "HipChat room."
back: "Back"
revert: "Revert" revert: "Revert"
revert_models: "Revert Models" revert_models: "Revert Models"
fork_title: "Fork New Version" fork_title: "Fork New Version"
fork_creating: "Creating Fork..." fork_creating: "Creating Fork..."
more: "More"
wiki: "Wiki"
live_chat: "Live Chat"
level_publish: "Publish This Level (irreversible)?" level_publish: "Publish This Level (irreversible)?"
level_some_options: "Some Options?" level_some_options: "Some Options?"
level_tab_thangs: "Thangs" level_tab_thangs: "Thangs"
@ -313,8 +317,11 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
level_tab_components: "Components" level_tab_components: "Components"
level_tab_systems: "Systems" level_tab_systems: "Systems"
level_tab_thangs_title: "Current Thangs" level_tab_thangs_title: "Current Thangs"
level_tab_thangs_all: "All"
level_tab_thangs_conditions: "Starting Conditions" level_tab_thangs_conditions: "Starting Conditions"
level_tab_thangs_add: "Add Thangs" level_tab_thangs_add: "Add Thangs"
delete: "Delete"
duplicate: "Duplicate"
level_settings_title: "Settings" level_settings_title: "Settings"
level_component_tab_title: "Current Components" level_component_tab_title: "Current Components"
level_component_btn_new: "Create New Component" level_component_btn_new: "Create New Component"
@ -349,7 +356,7 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
body: "Body" body: "Body"
version: "Version" version: "Version"
commit_msg: "Commit Message" commit_msg: "Commit Message"
history: "History" version_history: "Version History"
version_history_for: "Version History for: " version_history_for: "Version History for: "
result: "Result" result: "Result"
results: "Results" results: "Results"
@ -371,7 +378,6 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
medium: "Medium" medium: "Medium"
hard: "Hard" hard: "Hard"
about: about:
who_is_codecombat: "Who is CodeCombat?" who_is_codecombat: "Who is CodeCombat?"
why_codecombat: "Why CodeCombat?" why_codecombat: "Why CodeCombat?"

View file

@ -301,10 +301,14 @@ module.exports = nativeDescription: "русский", englishDescription: "Russi
contact_us: "свяжитесь с нами!" contact_us: "свяжитесь с нами!"
hipchat_prefix: "Также вы можете найти нас в нашей" hipchat_prefix: "Также вы можете найти нас в нашей"
hipchat_url: "комнате HipChat." hipchat_url: "комнате HipChat."
back: "Назад"
revert: "Откатить" revert: "Откатить"
revert_models: "Откатить Модели" revert_models: "Откатить Модели"
fork_title: "Форк новой версии" fork_title: "Форк новой версии"
fork_creating: "Создание форка..." fork_creating: "Создание форка..."
more: "Ещё"
wiki: "Вики"
live_chat: "Онлайн-чат"
level_publish: "Опубликовать уровень (необратимо)?" level_publish: "Опубликовать уровень (необратимо)?"
level_some_options: "Ещё опции" level_some_options: "Ещё опции"
level_tab_thangs: "Объекты" level_tab_thangs: "Объекты"
@ -313,8 +317,11 @@ module.exports = nativeDescription: "русский", englishDescription: "Russi
level_tab_components: "Компоненты" level_tab_components: "Компоненты"
level_tab_systems: "Системы" level_tab_systems: "Системы"
level_tab_thangs_title: "Текущие объекты" level_tab_thangs_title: "Текущие объекты"
level_tab_thangs_all: "Все"
level_tab_thangs_conditions: "Начальные условия" level_tab_thangs_conditions: "Начальные условия"
level_tab_thangs_add: "Добавить объект" level_tab_thangs_add: "Добавить объект"
delete: "Удалить"
duplicate: "Дублировать"
level_settings_title: "Настройки" level_settings_title: "Настройки"
level_component_tab_title: "Текущие компоненты" level_component_tab_title: "Текущие компоненты"
level_component_btn_new: "Создать новый компонент" level_component_btn_new: "Создать новый компонент"
@ -349,7 +356,7 @@ module.exports = nativeDescription: "русский", englishDescription: "Russi
body: "Содержание" body: "Содержание"
version: "Версия" version: "Версия"
commit_msg: "Сопроводительное сообщение" commit_msg: "Сопроводительное сообщение"
history: "История" version_history: "История версий"
version_history_for: "История версий для: " version_history_for: "История версий для: "
result: "Результат" result: "Результат"
results: "Результаты" results: "Результаты"
@ -635,4 +642,4 @@ module.exports = nativeDescription: "русский", englishDescription: "Russi
facebook_friend_sessions: "Сессии друзей Facebook" facebook_friend_sessions: "Сессии друзей Facebook"
gplus_friends: "Друзья G+" gplus_friends: "Друзья G+"
gplus_friend_sessions: "Сессии друзей G+" gplus_friend_sessions: "Сессии друзей G+"
leaderboard: "таблица лидеров" leaderboard: "таблица лидеров"

View file

@ -10,7 +10,7 @@ block content
li.active li.active
| #{article.attributes.name} | #{article.attributes.name}
button(data-i18n="general.history").btn.btn-primary#history-button History button(data-i18n="general.version_history").btn.btn-primary#history-button Version History
button(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert", disabled=authorized === true ? undefined : "true").btn.btn-primary#revert-button Revert button(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert", disabled=authorized === true ? undefined : "true").btn.btn-primary#revert-button Revert
button(data-i18n="article.edit_btn_preview", disabled=authorized === true ? undefined : "true").btn.btn-primary#preview-button Preview button(data-i18n="article.edit_btn_preview", disabled=authorized === true ? undefined : "true").btn.btn-primary#preview-button Preview
button(data-toggle="coco-modal", data-target="modal/save_version", data-i18n="common.save", disabled=authorized === true ? undefined : "true").btn.btn-primary#save-button Save button(data-toggle="coco-modal", data-target="modal/save_version", data-i18n="common.save", disabled=authorized === true ? undefined : "true").btn.btn-primary#save-button Save

View file

@ -15,7 +15,7 @@ nav.navbar.navbar-default(role='navigation')
li li
a(href="#component-settings" data-toggle="tab" data-i18n="editor.level_component_settings") Settings a(href="#component-settings" data-toggle="tab" data-i18n="editor.level_component_settings") Settings
ul.nav.navbar-nav.navbar-left ul.nav.navbar-nav.navbar-left
li(data-i18n="general.history").btn.btn-primary.navbar-btn#history-button History li(data-i18n="general.version_history").btn.btn-primary.navbar-btn#history-button Version History
ul.nav.navbar-nav.navbar-right ul.nav.navbar-nav.navbar-right
li(data-i18n="editor.level_component_btn_new").btn.btn-primary.navbar-btn#create-new-component-button Create New Component li(data-i18n="editor.level_component_btn_new").btn.btn-primary.navbar-btn#create-new-component-button Create New Component

View file

@ -7,7 +7,7 @@ block outer_content
.container-fluid .container-fluid
ul.nav.navbar-nav ul.nav.navbar-nav
li li
a(href="/editor/level") Back a(href="/editor/level", data-i18n="editor.back") Back
.navbar-header .navbar-header
span.navbar-brand span.navbar-brand
span(data-i18n="editor.level_title") Level Editor span(data-i18n="editor.level_title") Level Editor
@ -37,18 +37,18 @@ block outer_content
li.divider li.divider
li.dropdown li.dropdown
a.dropdown-toggle(href='#', data-toggle='dropdown') a.dropdown-toggle(href='#', data-toggle='dropdown', data-i18n="editor.more")
| More | More
b.caret b.caret
ul.dropdown-menu ul.dropdown-menu
li#history-button li#history-button
a(href='#', data-i18n="general.version_history") Version History a(href='#', data-i18n="general.version_history") Version History
li li
a(href='https://github.com/codecombat/codecombat/wiki/Artisan-Home') Wiki a(href='https://github.com/codecombat/codecombat/wiki/Artisan-Home', data-i18n="editor.wiki") Wiki
li li
a(href='http://www.hipchat.com/g3plnOKqa') Live Chat a(href='http://www.hipchat.com/g3plnOKqa', data-i18n="editor.live_chat") Live Chat
li li
a(href='http://discourse.codecombat.com/category/artisan') Forum a(href='http://discourse.codecombat.com/category/artisan', data-i18n="nav.forum") Forum
li li
a(data-toggle="coco-modal", data-target="modal/contact", data-i18n="nav.contact") Email a(data-toggle="coco-modal", data-target="modal/contact", data-i18n="nav.contact") Email

View file

@ -1,7 +1,7 @@
.thangs-container.thangs-column .thangs-container.thangs-column
h3(data-i18n="editor.level_tab_thangs_title") Current Thangs h3(data-i18n="editor.level_tab_thangs_title") Current Thangs
.btn-group(data-toggle="buttons-radio")#extant-thangs-filter .btn-group(data-toggle="buttons-radio")#extant-thangs-filter
button.btn.btn-primary All button.btn.btn-primary(data-i18n="editor.level_tab_thangs_all") All
button.btn.btn-primary(value="Unit", title="Unit") button.btn.btn-primary(value="Unit", title="Unit")
i.icon-user i.icon-user
button.btn.btn-primary(value="Wall", title="Wall") button.btn.btn-primary(value="Wall", title="Wall")
@ -19,9 +19,9 @@
#canvas-wrapper #canvas-wrapper
ul.dropdown-menu#contextmenu ul.dropdown-menu#contextmenu
li#delete li#delete
a Delete a(data-i18n="editor.delete") Delete
li#duplicate li#duplicate
a Duplicate a(data-i18n="editor.duplicate") Duplicate
canvas(width=1848, height=1178)#surface canvas(width=1848, height=1178)#surface
#canvas-left-gradient.gradient #canvas-left-gradient.gradient
#canvas-top-gradient.gradient #canvas-top-gradient.gradient

View file

@ -12,7 +12,7 @@ block content
img#portrait.img-thumbnail img#portrait.img-thumbnail
button.btn.btn-secondary#history-button(data-i18n="general.history") History button.btn.btn-secondary#history-button(data-i18n="general.version_history") Version History
button.btn.btn-primary#save-button(data-toggle="coco-modal", data-target="modal/save_version", data-i18n="common.save", disabled=authorized === true ? undefined : "true") Save button.btn.btn-primary#save-button(data-toggle="coco-modal", data-target="modal/save_version", data-i18n="common.save", disabled=authorized === true ? undefined : "true") Save
button.btn.btn-primary#revert-button(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert", disabled=authorized === true ? undefined : "true") Revert button.btn.btn-primary#revert-button(data-toggle="coco-modal", data-target="modal/revert", data-i18n="editor.revert", disabled=authorized === true ? undefined : "true") Revert