Update to support Greek and Portuguese locales

This commit is contained in:
Wu Cheng-Han 2016-10-02 10:34:10 +08:00
parent 705352db75
commit aaf32dc4bf
4 changed files with 4 additions and 4 deletions

2
app.js
View file

@ -94,7 +94,7 @@ app.use(helmet.hsts({
}));
i18n.configure({
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es'],
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt'],
cookie: 'locale',
directory: __dirname + '/locales'
});

View file

@ -101,6 +101,4 @@
"OR": "Ή",
"Export to Snippet": "Eξαγωγή σε Snippet",
"Select Visibility Level": "Επιλέξτε επίπεδο ορατότητας"
}
// el-GR Greek - Greece 0x0408 ELL
}

View file

@ -152,6 +152,8 @@
<option value="de">Deutsch</option>
<option value="ja">日本語</option>
<option value="es">Español</option>
<option value="el">Ελληνικά</option>
<option value="pt">Português</option>
</select>
</div>
</div>