trans 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tocmd/translator_trans.rb +2 -39
- data/lib/tocmd/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c175758d8737aa82124eefc98f43404a72207a8
|
4
|
+
data.tar.gz: 159d0b4eb928b02697cd2a6c4a04344520e9988c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 448fc12a3c1c842e1face98bf96c75af0c29b9bc6bd9f4723d1e0a4e756d77cf83502249462a07ad1f052dc6fd23d50f946dd2fff472d4d9ddb4454813259435
|
7
|
+
data.tar.gz: 72810373f7bc95e9c5c93dccdb3bb33c5642f805bebe88d134672da48408bbd2f137d4d8746b02e1ba3f982624983ab892af5a4415884fa03ed4df42947d6903
|
@@ -260,45 +260,8 @@ class Tocmd::TranslatorTrans
|
|
260
260
|
type : 'cover'
|
261
261
|
} );
|
262
262
|
|
263
|
-
|
264
|
-
|
265
|
-
// <li id='todo'><a class="icon icon-shop" href="#">todo</a></li>
|
266
|
-
// <li id='review'><a class="icon icon-cloud" href="#">review</a></li>
|
267
|
-
// <li id='ok'><a class="icon icon-diamond" href="#">ok</a></li>
|
268
|
-
// <li id='zh'><a class="icon icon-photo" href="#">中文</a></li>
|
269
|
-
// <li id='en'><a class="icon icon-wallet" href="#">英文</a></li>
|
270
|
-
//<li id='all'><a class="icon icon-shop" href="#">show all</a></li>
|
271
|
-
$.transtool({
|
272
|
-
toolbarselector:"#mp-menu",
|
273
|
-
default_state:'zh',
|
274
|
-
states:[
|
275
|
-
{
|
276
|
-
'all':{
|
277
|
-
'icon':'icon-shop',
|
278
|
-
'display':"全部",
|
279
|
-
click:function(){
|
280
|
-
alert('zh111');
|
281
|
-
}
|
282
|
-
},
|
283
|
-
'zh':{
|
284
|
-
'icon':'icon-world',
|
285
|
-
'display':"中文",
|
286
|
-
click:function(){
|
287
|
-
alert('zh111');
|
288
|
-
}
|
289
|
-
},
|
290
|
-
'en':{
|
291
|
-
'icon':'icon-cloud',
|
292
|
-
'display':"英文",
|
293
|
-
click:function(){
|
294
|
-
alert('en');
|
295
|
-
}
|
296
|
-
}
|
297
|
-
}
|
298
|
-
]
|
299
|
-
});
|
300
|
-
|
301
|
-
// $('#tree').hide()
|
263
|
+
var transtool_opts_conf = eval(transtool_opts);
|
264
|
+
$.transtool(transtool_opts_conf);
|
302
265
|
|
303
266
|
});
|
304
267
|
//-->
|
data/lib/tocmd/version.rb
CHANGED