pageflow-public-i18n 1.12.1 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/pageflow/public_i18n/version.rb +1 -1
- data/lib/pageflow-public-i18n.rb +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d903fd54a5dd3f831f1cae7e935ccec50c1da06703bd89fa842434b30c819db1
|
4
|
+
data.tar.gz: f9ae0837c832827a65db172a99b0325715b585afa7bfd1eec3210f4ab4052fc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d49f3e372f68147d122d91b5c2c51ac9d5afb5e96b0a504dcba85177423c11fda3b02907db07efd485269868d72a1be62d558bfaa18aebe422583afa3487a31
|
7
|
+
data.tar.gz: c1455508b28473a9c4dca6bbb71a20a3fe1b1c984f2d3c15d7d5705a969cc5ef552626edd428205fae3d4c36ecbcb7e3a416d139a51a96e21982035791e1dbab
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
### Version 1.13.0
|
4
|
+
|
5
|
+
2018-02-22
|
6
|
+
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow-public-i18n/compare/v1.12.1...v1.13.0)
|
8
|
+
|
9
|
+
- Api method to determine text direction of locale.
|
10
|
+
- Added locale `fa-IR`.
|
11
|
+
|
3
12
|
### Version 1.12.1
|
4
13
|
|
5
14
|
2017-12-07
|
data/lib/pageflow-public-i18n.rb
CHANGED
@@ -3,6 +3,10 @@ require 'pageflow/public_i18n/version'
|
|
3
3
|
|
4
4
|
module Pageflow
|
5
5
|
module PublicI18n
|
6
|
+
def self.text_direction(locale)
|
7
|
+
['fa-IR'].include?(locale.to_s) ? 'rtl' : 'ltr'
|
8
|
+
end
|
9
|
+
|
6
10
|
def self.available_locales
|
7
11
|
[
|
8
12
|
:bg,
|
@@ -11,6 +15,7 @@ module Pageflow
|
|
11
15
|
:el,
|
12
16
|
:en,
|
13
17
|
:es,
|
18
|
+
:'fa-IR',
|
14
19
|
:fr,
|
15
20
|
:gn,
|
16
21
|
:id,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pageflow-public-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codevise Solutions Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.7.
|
112
|
+
rubygems_version: 2.7.5
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Shared translations for Pageflow plugins.
|