habluhablu 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: 2b59bcc4b8c7abe845d71a3d0fc7899d32a51253452f16b91980fce4b92fd481
4
- data.tar.gz: 94484f9a79517cd23390236284523fdb84ed9ad7aa19010f632b404f778e190b
3
+ metadata.gz: 1f072b8f411337c5c7fce24d5b46306ebfbc42f9c11e370020e40c71ccf54a31
4
+ data.tar.gz: f7a890ecc293abbee86ecdd618df96b56525beca7eff5dda863af9c670f7156d
5
5
  SHA512:
6
- metadata.gz: 91d81e714301a3d5570e2caf010678f0acc20324e5c0daff52943b48571670722422849f36979249aaaf8b183f229218b3a910edf2b352deead7ffe1aa9c5691
7
- data.tar.gz: 4fb8cdce81a855a8909e09753ac56388c0a7b2f1e385c4c000f03eae1dbf729db6a584ceec7938429792e1c4f3350269010e3f45b17db985d24f3c646c76e580
6
+ metadata.gz: 02abfd0667c1f0068b2d012a32a2fe473119c86d130f81b0f7014f6cd634b2e771f1d8435263146ffc82140d8713fc7e1b9f0ede5bcad49b6c5ab58e4f658d4f
7
+ data.tar.gz: 010c6c6a432c09e38acca8d36b74553fe3544ef91f48ef4f273ff20513d844ac41f54054dffc1b8d5b35023f17301f8c27535a688d165dec726a698d70d6ea12
data/.rubocop.yml CHANGED
@@ -1,29 +1,45 @@
1
- AllCops:
2
- TargetRubyVersion: 2.7
3
- Exclude:
4
- - 'spec/**/*'
5
-
6
- Layout/EndOfLine:
7
- Enabled: false
8
-
9
- Style/StringLiterals:
10
- Enabled: true
11
- EnforcedStyle: double_quotes
12
-
13
- Style/StringLiteralsInInterpolation:
14
- Enabled: true
15
- EnforcedStyle: double_quotes
16
-
17
- Layout/LineLength:
18
- Max: 120
19
-
20
- Metrics/MethodLength:
21
- Max: 20
22
-
23
- Style/IfUnlessModifier:
24
- Exclude:
25
- - 'lib/**/*'
26
-
27
- Style/RaiseArgs:
28
- Exclude:
29
- - 'lib/habluhablu.rb'
1
+ AllCops:
2
+ TargetRubyVersion: 2.7
3
+ SuggestExtensions: false
4
+ NewCops: enable
5
+ Exclude:
6
+ - 'spec/**/*'
7
+
8
+ Layout/EndOfLine:
9
+ Enabled: false
10
+
11
+ Style/StringLiterals:
12
+ Enabled: true
13
+ EnforcedStyle: double_quotes
14
+
15
+ Style/StringLiteralsInInterpolation:
16
+ Enabled: true
17
+ EnforcedStyle: double_quotes
18
+
19
+ Layout/LineLength:
20
+ Max: 120
21
+
22
+ Metrics/MethodLength:
23
+ Exclude:
24
+ - 'lib/languages/languages.rb'
25
+ Max: 20
26
+
27
+ Style/IfUnlessModifier:
28
+ Exclude:
29
+ - 'lib/**/*'
30
+
31
+ Style/RaiseArgs:
32
+ Exclude:
33
+ - 'lib/habluhablu.rb'
34
+
35
+ Style/IfWithBooleanLiteralBranches:
36
+ Exclude:
37
+ - 'lib/languages/languages.rb'
38
+
39
+ Lint/ScriptPermission:
40
+ Exclude:
41
+ - 'bin/console'
42
+
43
+ Metrics/ClassLength:
44
+ Exclude:
45
+ - 'lib/languages/languages.rb'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- habluhablu (0.2.0)
4
+ habluhablu (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -1,49 +1,50 @@
1
- # HabluHablu
2
-
3
- HabluHablu is a gem which allows you to generate language file with translations of the most useful phrases.
4
-
5
- There is also an option to add countries flag using bootstrap (for more informations go to languages/Countries_Flags.md).
6
-
7
- ## Supported languages
8
-
9
- - English
10
- - Polish
11
- - Spanish
12
- - German
13
- - French
14
- - Hebrew
15
- - If you want to help me out and add your language, then contact me patrick.gramatowski@gmail.com
16
- - In progress...
17
-
18
- ### Installation
19
-
20
- Add this line to your application's Gemfile:
21
-
22
- Install [I18n gem](https://github.com/ruby-i18n/i18n)
23
-
24
- ```ruby
25
- gem 'habluhablu'
26
- ```
27
-
28
- And then execute:
29
-
30
- $ bundle install
31
-
32
- Or install it yourself as:
33
-
34
- $ gem install habluhablu
35
-
36
- ### Usage
37
-
38
- Generate file for a specific language using `habluhablu -l <symbol>` command.
39
- [List of symbols](https://www.w3.org/International/O-charset-lang.html)
40
-
41
- `habluhablu --help`
42
-
43
- ### Contributing
44
-
45
- Bug reports and pull requests are welcome on GitHub at https://github.com/patrickgramatowski/habluhablu_gem.
46
-
47
- ### License
48
-
49
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
1
+ [![Gem Version](https://badge.fury.io/rb/habluhablu.svg)](https://badge.fury.io/rb/habluhablu)
2
+
3
+ # HabluHablu
4
+
5
+ HabluHablu is a CLI written in Ruby, which allows you to generate language file with translations of the most useful phrases.
6
+
7
+ ## Supported languages
8
+
9
+ - English
10
+ - Polish
11
+ - Arabic
12
+ - Spanish
13
+ - Hebrew
14
+ - If you want to help me out and add your language, don't hesitate!
15
+ - In progress...
16
+
17
+ ### Installation
18
+
19
+ Add this line to your application's Gemfile:
20
+
21
+ Install [I18n gem](https://github.com/ruby-i18n/i18n)
22
+
23
+ ```ruby
24
+ gem 'habluhablu'
25
+ ```
26
+
27
+ And then execute:
28
+
29
+ $ bundle install
30
+
31
+ Or install it yourself as:
32
+
33
+ $ gem install habluhablu
34
+
35
+ ### Usage
36
+
37
+ Generate file for a specific language using `habluhablu -l <symbol>` command.
38
+ [List of symbols](https://www.w3.org/International/O-charset-lang.html)
39
+
40
+ `habluhablu --help`
41
+
42
+ There is also an option to add countries flag using bootstrap (for more informations go to languages/Countries_Flags.md).
43
+
44
+ ### Contributing
45
+
46
+ Bug reports and pull requests are welcome on GitHub at https://github.com/patrickgramatowski/habluhablu_gem.
47
+
48
+ ### License
49
+
50
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Habluhablu
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
@@ -82,6 +82,51 @@ class Languages
82
82
  "forgot_password" => "שכחת את הסיסמא?",
83
83
  "do_not_have_account" => "אין לך חשבון?"
84
84
  }
85
+ },
86
+ fr: {
87
+ "fr" => {
88
+ "welcome" => "Bienvenu", # bienvenue female
89
+ "registration" => "Créer un compte",
90
+ "log_in" => "Connexion",
91
+ "log_in_with" => "Se connecter avec", # Example: 'with Facebook'
92
+ "log_out" => "Déconnexion",
93
+ "email_address" => "Adresse e-mail",
94
+ "username" => "Nom d'utilisateur",
95
+ "password" => "Mot de passe",
96
+ "remember_me" => "Mémoriser",
97
+ "forgot_password" => "Mot de passe oublié",
98
+ "do_not_have_account" => "Vous n'avez pas de compte?"
99
+ }
100
+ },
101
+ it: {
102
+ "it" => {
103
+ "welcome" => "Benvenuto", # benvenuta female
104
+ "registration" => "Iscriviti",
105
+ "log_in" => "Accedi",
106
+ "log_in_with" => "Accedi con", # Example: 'with Facebook'
107
+ "log_out" => "Esci",
108
+ "email_address" => "Indirizzo e-mail",
109
+ "username" => "Nome utente",
110
+ "password" => "Password",
111
+ "remember_me" => "Ricordami",
112
+ "forgot_password" => "Ho dimenticato la password",
113
+ "do_not_have_account" => "Non possiedi un account?"
114
+ }
115
+ },
116
+ de: {
117
+ "de" => {
118
+ "welcome" => "Willkommen",
119
+ "registration" => "Registrieren",
120
+ "log_in" => "Anmelden",
121
+ "log_in_with" => "Anmeldung mit", # Example: 'with Facebook'
122
+ "log_out" => "Abmelden",
123
+ "email_address" => "E-Mail-Adresse",
124
+ "username" => "Nutzername",
125
+ "password" => "Passwort",
126
+ "remember_me" => "Merken",
127
+ "forgot_password" => "Passwort vergessen?",
128
+ "do_not_have_account" => "Hast du noch kein FACEBOOK-Konto?" # Change facebook!
129
+ }
85
130
  }
86
131
  }
87
132
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: habluhablu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Gramatowski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-06 00:00:00.000000000 Z
11
+ date: 2021-05-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The gem allows you to generate language file with translations of the
14
14
  most useful phrases.