translation_center 1.5.8 → 1.5.9

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -234,11 +234,15 @@ You will also need to add the language to config/translation_center.yml
234
234
  ```ruby
235
235
  development:
236
236
  lang:
237
- en: 'English'
238
- ar: 'Arabic'
239
- de: 'German'
240
- es: 'Espaniol'
241
- fr: 'French'
237
+ en:
238
+ name: 'English'
239
+ direction: 'ltr'
240
+ ar:
241
+ name: 'Arabic'
242
+ direction: 'rtl'
243
+ de:
244
+ name: 'German'
245
+ direction: 'ltr'
242
246
  ```
243
247
 
244
248
  ##Screen Shots
@@ -2,7 +2,6 @@ module TranslationCenter
2
2
  class Translation < ActiveRecord::Base
3
3
 
4
4
  attr_accessible :value, :lang, :translation_key_id, :user_id, :status
5
- cattr_accessor :translator
6
5
  # serialize as we could store arrays
7
6
  serialize :value
8
7
 
@@ -1,3 +1,3 @@
1
1
  module TranslationCenter
2
- VERSION = "1.5.8"
2
+ VERSION = "1.5.9"
3
3
  end
@@ -2616535,3 +2616535,9 @@ Served asset /translation_center/application.js - 304 Not Modified (1ms)
2616535
2616535
 
2616536
2616536
  Started GET "/assets/translation_center/loading.gif" for 127.0.0.1 at 2013-06-16 11:25:14 +0200
2616537
2616537
  Served asset /translation_center/loading.gif - 304 Not Modified (29ms)
2616538
+ TranslationCenter::TranslationKey Load (0.6ms) SELECT `translation_center_translation_keys`.* FROM `translation_center_translation_keys` WHERE `translation_center_translation_keys`.`name` = 'activerecord.attributes' LIMIT 1
2616539
+  (0.5ms) SELECT COUNT(*) FROM `translation_center_translations` WHERE `translation_center_translations`.`translation_key_id` = 9413 AND `translation_center_translations`.`lang` = 'en'
2616540
+ TranslationCenter::Translation Load (0.4ms) SELECT `translation_center_translations`.* FROM `translation_center_translations` WHERE `translation_center_translations`.`translation_key_id` = 9413 AND `translation_center_translations`.`status` = 'accepted' AND `translation_center_translations`.`lang` = 'en' LIMIT 1
2616541
+ TranslationCenter::TranslationKey Load (0.4ms) SELECT `translation_center_translation_keys`.* FROM `translation_center_translation_keys` WHERE `translation_center_translation_keys`.`name` = 'activerecord.models' LIMIT 1
2616542
+  (0.5ms) SELECT COUNT(*) FROM `translation_center_translations` WHERE `translation_center_translations`.`translation_key_id` = 9414 AND `translation_center_translations`.`lang` = 'en'
2616543
+ TranslationCenter::Translation Load (0.4ms) SELECT `translation_center_translations`.* FROM `translation_center_translations` WHERE `translation_center_translations`.`translation_key_id` = 9414 AND `translation_center_translations`.`status` = 'accepted' AND `translation_center_translations`.`lang` = 'en' LIMIT 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: translation_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.8
4
+ version: 1.5.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-06-16 00:00:00.000000000 Z
14
+ date: 2013-06-17 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -332,7 +332,6 @@ files:
332
332
  - test/dummy/public/favicon.ico
333
333
  - test/dummy/public/500.html
334
334
  - test/dummy/public/404.html
335
- - test/dummy/tmp/pids/server.pid
336
335
  - test/dummy/tmp/cache/assets/E64/640/sprockets%2Fdefdf9f0eddac95f602fd8d18c1c9c10
337
336
  - test/dummy/tmp/cache/assets/C5A/9B0/sprockets%2F19a7fe49a7e548113c0b258139735629
338
337
  - test/dummy/tmp/cache/assets/D01/3C0/sprockets%2Fd3ffab60d107685c7c005db15093237d
@@ -797,7 +796,6 @@ test_files:
797
796
  - test/dummy/public/favicon.ico
798
797
  - test/dummy/public/500.html
799
798
  - test/dummy/public/404.html
800
- - test/dummy/tmp/pids/server.pid
801
799
  - test/dummy/tmp/cache/assets/E64/640/sprockets%2Fdefdf9f0eddac95f602fd8d18c1c9c10
802
800
  - test/dummy/tmp/cache/assets/C5A/9B0/sprockets%2F19a7fe49a7e548113c0b258139735629
803
801
  - test/dummy/tmp/cache/assets/D01/3C0/sprockets%2Fd3ffab60d107685c7c005db15093237d
@@ -1 +0,0 @@
1
- 21830