localio 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a46bd0b7b52240cbcaf00ebf31a4b21a20b9ac8
4
- data.tar.gz: c2e547d7b8490a610f609872881b2b6cf889e929
3
+ metadata.gz: bec20377b073ab86c33854eb646d77f58a4b1a99
4
+ data.tar.gz: 4a9b12dfe4e44788076b3f34c301b9f3131fddc3
5
5
  SHA512:
6
- metadata.gz: 1f0e89a33668a70136c506102c405f531cf3958f1f23bbc228d943688bd16f799280f6ceda1ed20d1b0afb4a054fe980f168210c51891c868e786d1b9b1b5ea8
7
- data.tar.gz: 7d58c5f8c9fdf69065d88b0938d9dbd8e2f41f5f7d9542476c87bfb6aa5eff5c893c4b275fa6bf024dee907ba4382985b949f7915e4c7b126c938a3b57e45867
6
+ metadata.gz: fc4f9af5e801242072a1b57b7884e16381e034b35c7dcb4998069b8171ef949cc296c1e25e50d1087ab979d8fba978cdd98fe3c2a65dd9d86520046349a7c6e3
7
+ data.tar.gz: bf6b79b4b9fd612c84b497159155b128d6765c9f9c672dfd05b03da940d8841e1d8e046dd5475b18b5b7a75022abc7c7b05da7e70c61d44b35b060369e5bf591
@@ -1,3 +1,3 @@
1
1
  module Localio
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -17,7 +17,7 @@ class AndroidWriter
17
17
  segments = SegmentsListHolder.new lang
18
18
  terms.each do |term|
19
19
  key = Formatter.format(term.keyword, formatter, method(:android_key_formatter))
20
- translation = term.values[lang]
20
+ translation = android_parsing term.values[lang]
21
21
  segment = Segment.new(key, translation, lang)
22
22
  segment.key = nil if term.is_comment?
23
23
  segments.segments << segment
@@ -34,4 +34,8 @@ class AndroidWriter
34
34
  def self.android_key_formatter(key)
35
35
  key.space_to_underscore.strip_tag.downcase
36
36
  end
37
+
38
+ def self.android_parsing(term)
39
+ term.gsub("&", "&amp;")
40
+ end
37
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nacho Lopez