summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/locales/en.ini2
-rw-r--r--src/node/hooks/i18n.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/locales/en.ini b/src/locales/en.ini
index 95b8eadd..6077c1f5 100644
--- a/src/locales/en.ini
+++ b/src/locales/en.ini
@@ -1,4 +1,4 @@
-[en]
+[*]
index.newPad = New Pad
index.createOpenPad = or create/open a Pad with the name:
pad.toolbar.bold.title = Bold (Ctrl-B)
diff --git a/src/node/hooks/i18n.js b/src/node/hooks/i18n.js
index 6238f2cb..50946c42 100644
--- a/src/node/hooks/i18n.js
+++ b/src/node/hooks/i18n.js
@@ -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) {