mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Serve English strings directly with /locales.ini
This commit is contained in:
parent
faeee3e09a
commit
e131f60071
2 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,9 @@ var Globalize = require('globalize')
|
|||
|
||||
var localesPath = __dirname+"/../../locales";
|
||||
|
||||
var localeIndex = '[*]\r\n@import url(locales/en.ini)\r\n';
|
||||
// Serve English strings directly with /locales.ini
|
||||
var localeIndex = fs.readFileSync(localesPath+'/en.ini')+'\r\n';
|
||||
|
||||
exports.availableLangs = {en: 'English'};
|
||||
|
||||
fs.readdir(localesPath, function(er, files) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue