bisu 2.2.0 → 2.3.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 +5 -0
- data/Gemfile.lock +1 -1
- data/lib/bisu/localizer.rb +1 -1
- data/lib/bisu/version.rb +2 -2
- data/spec/lib/bisu/localizer_spec.rb +2 -2
- 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: 608523f42571de5769d7c8833560802cd67140899a9e50dd51d6a50885b662ea
|
4
|
+
data.tar.gz: bd92d03d5b4f8c0638008fb5bb75db1bb3f446643c79bf2fabad6beeadc2f87c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5a707a80c64a4092278797801005fc88bd22a27da1cd35c1f1690262fa656a31654659acd46b8e3fc47c50c088ca52f5dd0e015617abd7e0c82f1031499aa2f
|
7
|
+
data.tar.gz: 866e1b4aff21c863c3f87a769c17b841136fd69809d9b738f050033b769cda32ce49e340a362cc251bfbd0d1213ee0e7a685109fe043d33c3098c25c569e51f9
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
|
5
5
|
## Unreleased
|
6
6
|
|
7
|
+
## [2.3.0](https://github.com/hole19/bisu/releases/tag/v2.2.0)
|
8
|
+
|
9
|
+
#### Fixed
|
10
|
+
- Fix handling of ampersand (&) character on Android localization
|
11
|
+
|
7
12
|
## [2.2.0](https://github.com/hole19/bisu/releases/tag/v2.2.0)
|
8
13
|
|
9
14
|
#### Fixed
|
data/Gemfile.lock
CHANGED
data/lib/bisu/localizer.rb
CHANGED
@@ -84,7 +84,7 @@ module Bisu
|
|
84
84
|
text = text.gsub(/[']/, "\\\\\\\\'")
|
85
85
|
text = text.gsub(/\"/, "\\\\\"")
|
86
86
|
text = text.gsub("...", "…")
|
87
|
-
text = text.gsub("&
|
87
|
+
text = text.gsub("&", "&")
|
88
88
|
text = text.gsub("@", "\\\\@")
|
89
89
|
text = text.gsub(/%(?!{)/, "\\\\%%")
|
90
90
|
|
data/lib/bisu/version.rb
CHANGED
@@ -20,7 +20,7 @@ describe Bisu::Localizer do
|
|
20
20
|
"kDoubleQuoted" => "Não sabes nada \"João das Neves\"",
|
21
21
|
"kSingleQuoted" => "Não sabes nada 'João das Neves'",
|
22
22
|
"kEllipsis" => "Não sabes nada João das Neves...",
|
23
|
-
"kAmpersand" => "Não sabes nada João das Neves &
|
23
|
+
"kAmpersand" => "Não sabes nada João das Neves T&C",
|
24
24
|
"kAtSign" => "\@johnsnow sabes alguma coisa?",
|
25
25
|
"kPercentage" => "Sabes 0% João das Neves."
|
26
26
|
},
|
@@ -184,7 +184,7 @@ describe Bisu::Localizer do
|
|
184
184
|
single_quoted: "Não sabes nada \\'João das Neves\\'",
|
185
185
|
double_quoted: "Não sabes nada \\\"João das Neves\\\"",
|
186
186
|
ellipsis: "Não sabes nada João das Neves…",
|
187
|
-
ampersand: "Não sabes nada João das Neves &
|
187
|
+
ampersand: "Não sabes nada João das Neves T&C",
|
188
188
|
at_sign: "\\@johnsnow sabes alguma coisa?",
|
189
189
|
percentage: "Sabes 0\\%% João das Neves.",
|
190
190
|
percentage_formatted: "Sabes 0\\%% João das Neves.",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bisu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- joaoffcosta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: safe_yaml
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
rubygems_version: 3.
|
121
|
+
rubygems_version: 3.4.22
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: A localization automation service
|