Skip to content

Commit 419567d

Browse files
committed
Merge pull request #13 from mbarzda/lt_language
added lithuanian language Thanks to mbarzda
2 parents d9751e9 + 39b0063 commit 419567d

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed
File renamed without changes.
File renamed without changes.

lib/i18n/lt.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*jslint node: true */
2+
"use strict";
3+
4+
module.exports = {
5+
ARTISTS_FOLDER : "Atlikėjai",
6+
7+
UNKNOWN_ARTIST : "Nežinomas atlikėjas",
8+
UNKNOWN_ALBUM : "Nežinomas albumas",
9+
UNKNOWN_GENRE : "Nežinomas žanras",
10+
UNKNOWN_TITLE : "Nežinomas pavadinimas",
11+
12+
ROOT_NAME: "Tėvinis"
13+
};

lib/upnpServer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ var UpnpServer = function(port, _configuration, callback) {
3131

3232
var langPart = /^([a-z][a-z]).*$/i.exec(lang);
3333
try {
34-
configuration.i18n = require("./i18n_" + langPart[1].toLowerCase());
34+
configuration.i18n = require("./i18n/" + langPart[1].toLowerCase());
3535
} catch(e) {
3636
// if localization is not supported, trying to use english by default
37-
configuration.i18n = require("./i18n_en");
37+
configuration.i18n = require("./i18n/en");
3838
}
3939

4040
this.dlnaSupport = configuration.dlna;

0 commit comments

Comments
 (0)