Merge pull request #3440 from Imperadeiro98/master
Remove i18n from admin pages
This commit is contained in:
commit
78379f2e6a
7 changed files with 28 additions and 47 deletions
|
@ -411,7 +411,7 @@
|
||||||
tip_compiler_ignores_comments: "Sometimes I think that the compiler ignores my comments."
|
tip_compiler_ignores_comments: "Sometimes I think that the compiler ignores my comments."
|
||||||
tip_understand_recursion: "The only way to understand recursion is to understand recursion."
|
tip_understand_recursion: "The only way to understand recursion is to understand recursion."
|
||||||
tip_life_and_polymorphism: "Open Source is like a totally polymorphic heterogeneous structure: All types are welcome."
|
tip_life_and_polymorphism: "Open Source is like a totally polymorphic heterogeneous structure: All types are welcome."
|
||||||
|
|
||||||
game_menu:
|
game_menu:
|
||||||
inventory_tab: "Inventory"
|
inventory_tab: "Inventory"
|
||||||
save_load_tab: "Save/Load"
|
save_load_tab: "Save/Load"
|
||||||
|
@ -1617,21 +1617,3 @@
|
||||||
one_month_discount: "discount, 30% off: choose either Rails or HTML"
|
one_month_discount: "discount, 30% off: choose either Rails or HTML"
|
||||||
license: "license"
|
license: "license"
|
||||||
oreilly: "ebook of your choice"
|
oreilly: "ebook of your choice"
|
||||||
|
|
||||||
admin:
|
|
||||||
av_espionage: "Espionage" # Really not important to translate /admin controls.
|
|
||||||
av_espionage_placeholder: "Email or username"
|
|
||||||
av_usersearch: "User Search"
|
|
||||||
av_usersearch_placeholder: "Email, username, name, whatever"
|
|
||||||
av_usersearch_search: "Search"
|
|
||||||
av_title: "Admin Views"
|
|
||||||
av_entities_sub_title: "Entities"
|
|
||||||
av_entities_users_url: "Users"
|
|
||||||
av_entities_active_instances_url: "Active Instances"
|
|
||||||
av_entities_user_code_problems_list_url: "User Code Problems List"
|
|
||||||
av_other_sub_title: "Other"
|
|
||||||
av_other_debug_base_url: "Base (for debugging base.jade)"
|
|
||||||
u_title: "User List"
|
|
||||||
ucp_title: "User Code Problems"
|
|
||||||
lg_title: "Latest Games"
|
|
||||||
clas: "CLAs"
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ block content
|
||||||
|
|
||||||
.form-horizontal
|
.form-horizontal
|
||||||
form#espionage-form.form-group
|
form#espionage-form.form-group
|
||||||
label.control-label.col-sm-2(for="espionage-name-or-email" data-i18n="admin.av_espionage") Espionage
|
label.control-label.col-sm-2(for="espionage-name-or-email") Espionage
|
||||||
.col-sm-4
|
.col-sm-4
|
||||||
input.form-control#espionage-name-or-email(placeholder="Email, username or id", type="text")
|
input.form-control#espionage-name-or-email(placeholder="Email, username or id", type="text")
|
||||||
.col-sm-1
|
.col-sm-1
|
||||||
|
@ -17,37 +17,37 @@ block content
|
||||||
br
|
br
|
||||||
button#stop-spying-btn.btn.btn-xs Stop Spying
|
button#stop-spying-btn.btn.btn-xs Stop Spying
|
||||||
form#user-search-form.form-group
|
form#user-search-form.form-group
|
||||||
label.control-label.col-sm-2(for="user-search" data-i18n="admin.av_usersearch") User Search
|
label.control-label.col-sm-2(for="user-search") User Search
|
||||||
.col-sm-4
|
.col-sm-4
|
||||||
input.form-control#user-search(data-i18n="[placeholder]admin.av_usersearch_placeholder", placeholder="Email, username, name, whatever", type="text")
|
input.form-control#user-search(placeholder="Email, username, name, whatever", type="text")
|
||||||
.col-sm-1
|
.col-sm-1
|
||||||
button.btn(data-i18n="admin.av_usersearch_search").btn-primary.btn-large#user-search-button Search
|
button.btn.btn-primary.btn-large#user-search-button Search
|
||||||
#user-search-result
|
#user-search-result
|
||||||
|
|
||||||
|
|
||||||
h3(data-i18n="admin.av_title") Admin Views
|
h3 Admin Views
|
||||||
|
|
||||||
h4(data-i18n="admin.av_entities_sub_title") Entities
|
h4 Entities
|
||||||
|
|
||||||
ul
|
ul
|
||||||
li
|
li
|
||||||
a(href="/admin/level-sessions", data-i18n="admin.av_entities_active_instances_url") Active Instances
|
a(href="/admin/level-sessions") Active Instances
|
||||||
li
|
li
|
||||||
a(href="/admin/trial-requests") Trial Requests
|
a(href="/admin/trial-requests") Trial Requests
|
||||||
li
|
li
|
||||||
a(href="/admin/user-code-problems", data-i18n="admin.av_entities_user_code_problems_list_url") User Code Problems List
|
a(href="/admin/user-code-problems") User Code Problems List
|
||||||
li
|
li
|
||||||
a(href="/admin/users", data-i18n="admin.av_entities_users_url") Users
|
a(href="/admin/users") Users
|
||||||
|
|
||||||
h4(data-i18n="admin.av_other_sub_title") Other
|
h4 Other
|
||||||
|
|
||||||
ul
|
ul
|
||||||
li
|
li
|
||||||
a(href="/admin/base", data-i18n="admin.av_other_debug_base_url") Base (for debugging base.jade)
|
a(href="/admin/base") Base (for debugging base.jade)
|
||||||
li
|
li
|
||||||
a(href="/admin/clas", data-i18n="admin.clas") CLAs
|
a(href="/admin/clas") CLAs
|
||||||
li
|
li
|
||||||
a(href="/admin/pending-patches", data-i18n="resources.patches") Patches
|
a(href="/admin/pending-patches") Patches
|
||||||
if me.isAdmin()
|
if me.isAdmin()
|
||||||
li
|
li
|
||||||
a(href="/admin/analytics") Analytics
|
a(href="/admin/analytics") Analytics
|
||||||
|
|
|
@ -2,8 +2,8 @@ extends /templates/base
|
||||||
|
|
||||||
block content
|
block content
|
||||||
|
|
||||||
h1(data-i18n="admin.clas") CLAs
|
h1 CLAs
|
||||||
|
|
||||||
table.table.table-striped.table-bordered.table-condensed#clas
|
table.table.table-striped.table-bordered.table-condensed#clas
|
||||||
tbody
|
tbody
|
||||||
- var models = view.clas.models
|
- var models = view.clas.models
|
||||||
|
@ -15,4 +15,4 @@ block content
|
||||||
td #{cla.get('email')}
|
td #{cla.get('email')}
|
||||||
td #{cla.get('githubUsername')}
|
td #{cla.get('githubUsername')}
|
||||||
td #{cla.get('created')}
|
td #{cla.get('created')}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ extends /templates/base
|
||||||
|
|
||||||
block content
|
block content
|
||||||
|
|
||||||
h1(data-i18n="admin.lg_title") Latest Games
|
h1 Latest Games
|
||||||
|
|
||||||
each session in view.sessions.models
|
each session in view.sessions.models
|
||||||
- var url = '/play/level/'+session.get('levelID')+'?session='+session.id
|
- var url = '/play/level/'+session.get('levelID')+'?session='+session.id
|
||||||
|
|
|
@ -2,14 +2,14 @@ extends /templates/base
|
||||||
|
|
||||||
block content
|
block content
|
||||||
|
|
||||||
h1(data-i18n="resources.patches") Patches
|
h1 Patches
|
||||||
|
|
||||||
table.table.table-striped.table-bordered.table-condensed#patches
|
table.table.table-striped.table-bordered.table-condensed#patches
|
||||||
tbody
|
tbody
|
||||||
each patch in patches
|
each patch in patches
|
||||||
tr
|
tr
|
||||||
td #{patch.target.collection}
|
td #{patch.target.collection}
|
||||||
|
|
||||||
td
|
td
|
||||||
if patch.url
|
if patch.url
|
||||||
a(href=patch.url)= patch.name
|
a(href=patch.url)= patch.name
|
||||||
|
@ -17,4 +17,3 @@ block content
|
||||||
span= patch.target.original
|
span= patch.target.original
|
||||||
td #{patch.creatorName}
|
td #{patch.creatorName}
|
||||||
td #{patch.commitMessage}
|
td #{patch.commitMessage}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
extends /templates/base
|
extends /templates/base
|
||||||
|
|
||||||
block content
|
block content
|
||||||
|
|
||||||
h1(data-i18n="admin.ucp_title") User Code Problems
|
h1 User Code Problems
|
||||||
|
|
||||||
if fetchingData
|
if fetchingData
|
||||||
h3 Fetching data...
|
h3 Fetching data...
|
||||||
else
|
else
|
||||||
|
@ -20,7 +20,7 @@ block content
|
||||||
td errMessage
|
td errMessage
|
||||||
//- td code
|
//- td code
|
||||||
td created
|
td created
|
||||||
|
|
||||||
tbody
|
tbody
|
||||||
each problem in userCodeProblems
|
each problem in userCodeProblems
|
||||||
tr
|
tr
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
extends /templates/base
|
extends /templates/base
|
||||||
|
|
||||||
block content
|
block content
|
||||||
|
|
||||||
h1(data-i18n="admin.u_title") User List
|
h1 User List
|
||||||
|
|
||||||
table.table.table-striped.table-bordered.table-condensed#users
|
table.table.table-striped.table-bordered.table-condensed#users
|
||||||
tbody
|
tbody
|
||||||
each user in users
|
each user in users
|
||||||
|
|
Reference in a new issue