Remove i18n from admin pages

This commit is contained in:
Imperadeiro98 2016-03-05 15:08:27 +00:00
parent 88091cf166
commit 2442115892
7 changed files with 28 additions and 47 deletions

View file

@ -411,7 +411,7 @@
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_life_and_polymorphism: "Open Source is like a totally polymorphic heterogeneous structure: All types are welcome."
game_menu:
inventory_tab: "Inventory"
save_load_tab: "Save/Load"
@ -1617,21 +1617,3 @@
one_month_discount: "discount, 30% off: choose either Rails or HTML"
license: "license"
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"

View file

@ -4,7 +4,7 @@ block content
.form-horizontal
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
input.form-control#espionage-name-or-email(placeholder="Email, username or id", type="text")
.col-sm-1
@ -17,37 +17,37 @@ block content
br
button#stop-spying-btn.btn.btn-xs Stop Spying
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
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
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
h3(data-i18n="admin.av_title") Admin Views
h3 Admin Views
h4(data-i18n="admin.av_entities_sub_title") Entities
h4 Entities
ul
li
a(href="/admin/level-sessions", data-i18n="admin.av_entities_active_instances_url") Active Instances
a(href="/admin/level-sessions") Active Instances
li
a(href="/admin/trial-requests") Trial Requests
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
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
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
a(href="/admin/clas", data-i18n="admin.clas") CLAs
a(href="/admin/clas") CLAs
li
a(href="/admin/pending-patches", data-i18n="resources.patches") Patches
a(href="/admin/pending-patches") Patches
if me.isAdmin()
li
a(href="/admin/analytics") Analytics

View file

@ -2,8 +2,8 @@ extends /templates/base
block content
h1(data-i18n="admin.clas") CLAs
h1 CLAs
table.table.table-striped.table-bordered.table-condensed#clas
tbody
- var models = view.clas.models
@ -15,4 +15,4 @@ block content
td #{cla.get('email')}
td #{cla.get('githubUsername')}
td #{cla.get('created')}

View file

@ -2,7 +2,7 @@ extends /templates/base
block content
h1(data-i18n="admin.lg_title") Latest Games
h1 Latest Games
each session in view.sessions.models
- var url = '/play/level/'+session.get('levelID')+'?session='+session.id

View file

@ -2,14 +2,14 @@ extends /templates/base
block content
h1(data-i18n="resources.patches") Patches
h1 Patches
table.table.table-striped.table-bordered.table-condensed#patches
tbody
each patch in patches
tr
td #{patch.target.collection}
td
if patch.url
a(href=patch.url)= patch.name
@ -17,4 +17,3 @@ block content
span= patch.target.original
td #{patch.creatorName}
td #{patch.commitMessage}

View file

@ -1,9 +1,9 @@
extends /templates/base
block content
h1(data-i18n="admin.ucp_title") User Code Problems
h1 User Code Problems
if fetchingData
h3 Fetching data...
else
@ -20,7 +20,7 @@ block content
td errMessage
//- td code
td created
tbody
each problem in userCodeProblems
tr

View file

@ -1,9 +1,9 @@
extends /templates/base
block content
h1(data-i18n="admin.u_title") User List
h1 User List
table.table.table-striped.table-bordered.table-condensed#users
tbody
each user in users