Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

[FIX] App: get languages list #2489

Merged
merged 1 commit into from
May 4, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/js/entry/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ var tabdefs = [

// Language
window.lang = (function(){
var languages = _.pluck(require('../../../l10n/languages.json'), 'code');
var languages = _.pluck(require('../../../l10n/languages.json').active, 'code');
var resolveLanguage = function(lang) {
if (!lang) return null;
if (languages.indexOf(lang) != -1) return lang;
Expand Down