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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78246b58b88d2f7956ebac7886438ff507431ce5
4
- data.tar.gz: f636f38190dde01168eb5e7b6cd7a75ebdfceb71
3
+ metadata.gz: 4c175758d8737aa82124eefc98f43404a72207a8
4
+ data.tar.gz: 159d0b4eb928b02697cd2a6c4a04344520e9988c
5
5
  SHA512:
6
- metadata.gz: a651a82f6b0c0f67d4840afc8be228e5ec3fe9dff9fd1197281069a2394cdd230a7e61f675b5164556bc4347b3027f6edad12473b870211fe27bce111b0c41bc
7
- data.tar.gz: 0cba19664a8fa29b2afa085def13aa9d7cf54802ad3450eb88290b220b04be08baa196b0ddffbcf84d962caba61f9e2d686278d685ff3cb3b1444515b33728af
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
@@ -1,3 +1,3 @@
1
1
  module Tocmd
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trans
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - shiren1118