mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 11:22:41 +01: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
|
@ -1,4 +1,4 @@
|
||||||
[en]
|
[*]
|
||||||
index.newPad = New Pad
|
index.newPad = New Pad
|
||||||
index.createOpenPad = or create/open a Pad with the name:
|
index.createOpenPad = or create/open a Pad with the name:
|
||||||
pad.toolbar.bold.title = Bold (Ctrl-B)
|
pad.toolbar.bold.title = Bold (Ctrl-B)
|
||||||
|
|
|
@ -5,7 +5,9 @@ var Globalize = require('globalize')
|
||||||
|
|
||||||
var localesPath = __dirname+"/../../locales";
|
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'};
|
exports.availableLangs = {en: 'English'};
|
||||||
|
|
||||||
fs.readdir(localesPath, function(er, files) {
|
fs.readdir(localesPath, function(er, files) {
|
||||||
|
|
Loading…
Reference in a new issue