habluhablu 0.1.9 → 0.2.0

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: d167717c215377ec823f84b8714f2e1666586415c580dcf8308f78628a60e829
4
- data.tar.gz: 1baba61eb1efdfc0271fb6ec878101acd0bcd21c7da824d52602a54b6cd15114
3
+ metadata.gz: 2b59bcc4b8c7abe845d71a3d0fc7899d32a51253452f16b91980fce4b92fd481
4
+ data.tar.gz: 94484f9a79517cd23390236284523fdb84ed9ad7aa19010f632b404f778e190b
5
5
  SHA512:
6
- metadata.gz: 8a9fd9e29b56f77de1f05fe999a8aa442e3146a9f44bb8eeb8fccf6126ed596775ce3462f4823452e973a449f6e4f35870c1ebe6e0a552e5e1efa7666edc8eb5
7
- data.tar.gz: e1d52ca368795a6299457ab855c34d0ecb768b3f687325eedc3131d549eec987f0fd4821351aac5805e9c3bfa04dcc90c2953acfc5d18b6a364186d5e08faec9
6
+ metadata.gz: 91d81e714301a3d5570e2caf010678f0acc20324e5c0daff52943b48571670722422849f36979249aaaf8b183f229218b3a910edf2b352deead7ffe1aa9c5691
7
+ data.tar.gz: 4fb8cdce81a855a8909e09753ac56388c0a7b2f1e385c4c000f03eae1dbf729db6a584ceec7938429792e1c4f3350269010e3f45b17db985d24f3c646c76e580
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- habluhablu (0.1.9)
4
+ habluhablu (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Habluhablu
4
- VERSION = "0.1.9"
4
+ VERSION = "0.2.0"
5
5
  end
@@ -8,19 +8,80 @@ class Languages
8
8
  @language = language.to_sym
9
9
  @languages = {
10
10
  ar: {
11
- "ar" => { "welcome" => "مرحبا" }
11
+ "ar" => {
12
+ "welcome" => "مرحبا",
13
+ "registration" => "عنوان البريد الإلكتروني",
14
+ "log_in" => "تسجيل الدخول",
15
+ "log_in_with" => "سجّل الدخول باستخدام حساب", # Example: 'with Facebook'
16
+ "log_out" => "تسجيل الخروج",
17
+ "email_address" => "عنوان البريد الإلكتروني",
18
+ "username" => "اسم االمستخدم",
19
+ "password" => "كلمه المرور",
20
+ "remember_me" => "تذكرنى",
21
+ "forgot_password" => "نسيت كلمة مرورك",
22
+ "do_not_have_account" => "ليس لديك حساب؟"
23
+ }
12
24
  },
13
25
  en: {
14
- "en" => { "welcome" => "Welcome" }
26
+ "en" => {
27
+ "welcome" => "Welcome",
28
+ "registration" => "Registartion",
29
+ "log_in" => "Log in",
30
+ "log_in_with" => "Log in with", # Example: 'with Facebook'
31
+ "log_out" => "Log out",
32
+ "email_address" => "Email address",
33
+ "username" => "Username",
34
+ "password" => "Password",
35
+ "remember_me" => "Remember me",
36
+ "forgot_password" => "Forgot password?",
37
+ "do_not_have_account" => "Don't You have an account?"
38
+ }
15
39
  },
16
40
  es: {
17
- "es" => { "welcome" => "Bienvenido" }
41
+ "es" => {
42
+ "welcome" => "Bienvenido",
43
+ "registration" => "Regístrate",
44
+ "log_in" => "Iniciar sesión",
45
+ "log_in_with" => "Iniciar sesión con", # Example: 'with Facebook'
46
+ "log_out" => "Cerrar la sesión",
47
+ "email_address" => "Dirección de correo electrónico",
48
+ "username" => "Nombre de usuario",
49
+ "password" => "Contraseña",
50
+ "remember_me" => "Recordarme",
51
+ "forgot_password" => "¿Has olvidado tu contraseña?",
52
+ "do_not_have_account" => "¿No tienes una cuenta?"
53
+ }
18
54
  },
19
55
  pl: {
20
- "pl" => { "welcome" => "Witaj" }
56
+ "pl" => {
57
+ "welcome" => "Witaj",
58
+ "registration" => "Zarejestruj się",
59
+ "log_in" => "Zaloguj się",
60
+ "log_in_with" => "Zaloguj się za pomocą", # Example: 'with Facebook'
61
+ "log_out" => "Wyolguj się",
62
+ "email_address" => "Adres email",
63
+ "username" => "Nazwa użytkownika",
64
+ "password" => "Hasło",
65
+ "remember_me" => "Zapamiętaj mnie!",
66
+ "forgot_password" => "Zapomniałeś hasła?",
67
+ "do_not_have_account" => "Nie masz jeszcze konta?"
68
+ }
21
69
  },
22
70
  iw: {
23
- "iw" => { "welcome" => "שלום" }
71
+ "iw" => {
72
+ # I'm not sure about this translation, it has to be checked!!
73
+ "welcome" => "שלום",
74
+ "registration" => "הירשם",
75
+ "log_in" => "להתחבר",
76
+ "log_in_with" => "התחבר ל", # Example: 'with Facebook'
77
+ "log_out" => "להתנתק",
78
+ "email_address" => "אימייל",
79
+ "username" => "שם משתמש",
80
+ "password" => "סיסמה",
81
+ "remember_me" => "זכור אותי",
82
+ "forgot_password" => "שכחת את הסיסמא?",
83
+ "do_not_have_account" => "אין לך חשבון?"
84
+ }
24
85
  }
25
86
  }
26
87
  end
@@ -30,6 +91,6 @@ class Languages
30
91
  end
31
92
 
32
93
  def render
33
- @languages.key?(@language) ? @languages[@language].to_yaml : "No language in the lib."
94
+ @languages.key?(@language) ? @languages[@language].to_yaml : "No language in the lib (YET!)"
34
95
  end
35
96
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: habluhablu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Gramatowski