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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/habluhablu/version.rb +1 -1
- data/lib/languages/languages.rb +67 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b59bcc4b8c7abe845d71a3d0fc7899d32a51253452f16b91980fce4b92fd481
|
4
|
+
data.tar.gz: 94484f9a79517cd23390236284523fdb84ed9ad7aa19010f632b404f778e190b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91d81e714301a3d5570e2caf010678f0acc20324e5c0daff52943b48571670722422849f36979249aaaf8b183f229218b3a910edf2b352deead7ffe1aa9c5691
|
7
|
+
data.tar.gz: 4fb8cdce81a855a8909e09753ac56388c0a7b2f1e385c4c000f03eae1dbf729db6a584ceec7938429792e1c4f3350269010e3f45b17db985d24f3c646c76e580
|
data/Gemfile.lock
CHANGED
data/lib/habluhablu/version.rb
CHANGED
data/lib/languages/languages.rb
CHANGED
@@ -8,19 +8,80 @@ class Languages
|
|
8
8
|
@language = language.to_sym
|
9
9
|
@languages = {
|
10
10
|
ar: {
|
11
|
-
"ar" => {
|
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" => {
|
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" => {
|
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" => {
|
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" => {
|
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
|