pageflow-public-i18n 1.14.0 → 1.14.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
  SHA256:
3
- metadata.gz: 7ba13a6f2add2863d72d85600b28f3bdad4a6d495d1dd22c120aa1b9abdbd620
4
- data.tar.gz: eaf53d0588ea7f28aba04b9b8669bd9ac9b26058578687ebb88218fdb81d2e39
3
+ metadata.gz: c21945530e4da6ac0b095b47ea53d41f6de8d84c0bca6ab81a61d43d83a1ecd6
4
+ data.tar.gz: ff58ab72530011e89f3b99c62185871d1c7ba34d4ef2ae9f3303f49ed337373b
5
5
  SHA512:
6
- metadata.gz: a89bfff2b713b1c2a29475fed4c6e4ed6bce18e7e4bc6afc58bff25dc127b69c7986a02a60707d8ad0ba5decbde84c9cd0312918bb010f2c8212c330503e472e
7
- data.tar.gz: b1c5da386765218c3eba9edf8378f277044b91d9294fc5573f8f68a992eebad1294043f403b33a56033900c9419932a0f73c21696005a782ecf5a86879e499d2
6
+ metadata.gz: 85f6f56680e65005863e0bbac2a95388e4d25beffa883ce73be6d9c0afae4b9b71f75daa6444cb95b5fe8dde3e88ee6577dc773503231a45c37d3437045c34cb
7
+ data.tar.gz: 8bfcefd2fdc900ea083437bafb2af1dffcc5984cd7aaae3a327f5601be745268f5e929d430701eb541768a1a6bbcf9afa807cfe4ca1b20d56d4c8ced279657e0
data/CHANGELOG.md CHANGED
@@ -1,10 +1,18 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### Version 1.14.1
4
+
5
+ 2018-03-02
6
+
7
+ [Compare changes](https://github.com/codevise/pageflow-public-i18n/compare/v1.14.0...v1.14.1)
8
+
9
+ - Set text direction for `ar` locale.
10
+
3
11
  ### Version 1.14.0
4
12
 
5
13
  2018-03-02
6
14
 
7
- [Compare changes](https://github.com/codevise/pageflow-public-i18n/compare/v1.12.1...v1.13.0)
15
+ [Compare changes](https://github.com/codevise/pageflow-public-i18n/compare/v1.13.0...v1.14.0)
8
16
 
9
17
  - Added locale `ar`.
10
18
  - Added missing translations for `fr` locale.
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module PublicI18n
3
- VERSION = '1.14.0'.freeze
3
+ VERSION = '1.14.1'.freeze
4
4
  end
5
5
  end
@@ -4,7 +4,7 @@ require 'pageflow/public_i18n/version'
4
4
  module Pageflow
5
5
  module PublicI18n
6
6
  def self.text_direction(locale)
7
- ['fa-IR'].include?(locale.to_s) ? 'rtl' : 'ltr'
7
+ ['ar', 'fa-IR'].include?(locale.to_s) ? 'rtl' : 'ltr'
8
8
  end
9
9
 
10
10
  def self.available_locales
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-public-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codevise Solutions Ltd.