summaryrefslogtreecommitdiff
path: root/js/codeq/profile.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq/profile.js')
-rw-r--r--js/codeq/profile.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/codeq/profile.js b/js/codeq/profile.js
index 8d26c85..5176fc0 100644
--- a/js/codeq/profile.js
+++ b/js/codeq/profile.js
@@ -50,11 +50,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
data = data.stat;
var columns = ['language', 'problem_group', 'problems_count', 'done', 'in_progress'],
- items='<thead><tr>',
- tr_gui = codeq.tr.getDictionary('gui');
+ items='<thead><tr>';
$.each(columns, function( key, val ) {
- items+='<th data-tkey="'+ val + '">'+tr_gui[val][codeq.settings['gui_lang']]+'</th>';
+ items+='<th data-tkey="'+val+'">'+codeq.tr.translate(val)+'</th>';
});
items+='</tr></thead>';