forked from 0x2620/oxjs
add localization to Ox
This commit is contained in:
parent
b68b827d7b
commit
4d8c716d0b
31 changed files with 499 additions and 352 deletions
|
|
@ -119,7 +119,7 @@ Ox.ExamplePanel = function(options, self) {
|
|||
var match = html.match(/<title>(.+)<\/title>/);
|
||||
item.title = match ? match[1] : 'Untitled';
|
||||
match = html.match(/<meta http-equiv="Keywords" content="(.+)"\/>/);
|
||||
item.sectionTitle = match ? match[1] : 'Untitled';
|
||||
item.sectionTitle = match ? match[1] : Ox._('Untitled');
|
||||
Ox.get(item.js, function(js) {
|
||||
var references = js.match(self.options.references);
|
||||
item.references = references ? Ox.unique(references).sort(function(a, b) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue