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({ i18n.configure({
locales: ['en', 'zh', 'fr', 'de', 'ja', 'es'], locales: ['en', 'zh', 'fr', 'de', 'ja', 'es', 'el', 'pt'],
cookie: 'locale', cookie: 'locale',
directory: __dirname + '/locales' directory: __dirname + '/locales'
}); });

View file

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

View file

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