From: Aleksander Ɓukasz Date: Thu, 18 Apr 2013 10:26:18 +0000 (+0200) Subject: Strings translation X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/2e961758137b3843f0cc38fe2f66f30979794c33?ds=inline;hp=cf7d465ce6ed2acbc2b1c028e46847ead5320e9c Strings translation --- diff --git a/modules/rng.js b/modules/rng.js index 6ea6f40..0a39ed8 100644 --- a/modules/rng.js +++ b/modules/rng.js @@ -50,7 +50,7 @@ rng.modules.rng = function(sandbox) { eventHandlers.sourceEditor = { ready: function() { - addTab('Source', 'source', sandbox.getModule('sourceEditor').getView()); + addTab(gettext('Source'), 'source', sandbox.getModule('sourceEditor').getView()); sandbox.getModule('sourceEditor').setDocument(sandbox.getModule('data').getDocument()); } }; @@ -58,7 +58,7 @@ rng.modules.rng = function(sandbox) { eventHandlers.visualEditor = { ready: function() { sandbox.getModule('visualEditor').setDocument(sandbox.getModule('data').getDocument()); - addTab('Visual', 'visual', sandbox.getModule('visualEditor').getView()); + addTab(gettext('Visual'), 'visual', sandbox.getModule('visualEditor').getView()); } };