immosquare-constants 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4aa310d7261d7de7f094d762b7267b2866d99ed219bc8056166b3abda7f6c917
4
+ data.tar.gz: 4a34600b8663ea677e31aa856ee47e976a8dc582d668b2766585f58bda446103
5
+ SHA512:
6
+ metadata.gz: dfec4e15438ba756f2697e4dd603c2c81ce9c84983f814fedad238d8019015cc7d5f58c925057e7d980651d05435baf07a7dd7d3c7ad89d94503dad889ca67b1
7
+ data.tar.gz: e13d4ff3fcf42517f1b0f1244d714d0acbd03a0533c44b4b007e4d0347e01d8d95d342e1b5070f7a1ebd83c23ddd433a8dea752f40383ae961dc73052f21d2bf
@@ -0,0 +1,101 @@
1
+ module ImmosquareConstants
2
+ module Locale
3
+ LOCALES = {
4
+ :af => "Afrikaans",
5
+ :am => "አማርኛ",
6
+ :ar => "العربية",
7
+ :az => "Azərbaycan",
8
+ :be => "Беларуская",
9
+ :bg => "Български",
10
+ :bn => "বাংলা",
11
+ :bo => "བོད་སྐད་",
12
+ :bs => "Bosanski",
13
+ :ca => "Català",
14
+ :cs => "Čeština",
15
+ :cy => "Cymraeg",
16
+ :da => "Dansk",
17
+ :de => "Deutsch",
18
+ :el => "Ελληνικά",
19
+ :en => "English",
20
+ :eo => "Esperanto",
21
+ :es => "Español",
22
+ :et => "Eesti",
23
+ :eu => "Euskara",
24
+ :fa => "فارسی",
25
+ :fi => "Suomi",
26
+ :fr => "Français",
27
+ :fy => "Frysk",
28
+ :ga => "Gaeilge",
29
+ :gl => "Galego",
30
+ :gu => "ગુજરાતી",
31
+ :he => "עברית",
32
+ :hi => "हिन्दी",
33
+ :hr => "Hrvatski",
34
+ :hu => "Magyar",
35
+ :hy => "Հայերեն",
36
+ :id => "Bahasa Indonesia",
37
+ :is => "Íslenska",
38
+ :it => "Italiano",
39
+ :ja => "日本語",
40
+ :jv => "Basa Jawa",
41
+ :ka => "ქართული",
42
+ :kk => "Қазақ",
43
+ :km => "ភាសាខ្មែរ",
44
+ :kn => "ಕನ್ನಡ",
45
+ :ko => "한국어",
46
+ :ky => "Кыргызча",
47
+ :lb => "Lëtzebuergesch",
48
+ :lo => "ລາວ",
49
+ :lt => "Lietuvių",
50
+ :lv => "Latviešu",
51
+ :mk => "Македонски",
52
+ :ml => "മലയാളം",
53
+ :mn => "Монгол",
54
+ :mr => "मराठी",
55
+ :ms => "Bahasa Melayu",
56
+ :mt => "Malti",
57
+ :my => "မြန်မာ",
58
+ :ne => "नेपाली",
59
+ :nl => "Nederlands",
60
+ :no => "Norsk",
61
+ :or => "ଓଡ଼ିଆ",
62
+ :pa => "ਪੰਜਾਬੀ",
63
+ :pl => "Polski",
64
+ :ps => "پښتو",
65
+ :pt => "Português",
66
+ :ro => "Română",
67
+ :ru => "Русский",
68
+ :sd => "سنڌي",
69
+ :si => "සිංහල",
70
+ :sk => "Slovenčina",
71
+ :sl => "Slovenščina",
72
+ :so => "Soomaali",
73
+ :sq => "Shqip",
74
+ :sr => "Српски",
75
+ :su => "Basa Sunda",
76
+ :sv => "Svenska",
77
+ :sw => "Kiswahili",
78
+ :ta => "தமிழ்",
79
+ :te => "తెలుగు",
80
+ :tg => "Тоҷикӣ",
81
+ :th => "ไทย",
82
+ :tl => "Filipino",
83
+ :tr => "Türkçe",
84
+ :uk => "Українська",
85
+ :ur => "اردو",
86
+ :uz => "O'zbek",
87
+ :vi => "Tiếng Việt",
88
+ :xh => "isiXhosa",
89
+ :zh => "中文",
90
+ :zu => "isiZulu"
91
+ }.freeze
92
+
93
+ class << self
94
+
95
+ def native_name_for_locale(locale)
96
+ LOCALES[locale.to_sym]
97
+ end
98
+
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,3 @@
1
+ module ImmosquareConstants
2
+ VERSION = "0.1.0".freeze
3
+ end
@@ -0,0 +1,4 @@
1
+ require "immosquare-constants/locale"
2
+
3
+ module ImmosquareConstants
4
+ end
metadata ADDED
@@ -0,0 +1,48 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: immosquare-constants
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - IMMO SQUARE
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-10-06 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: ImmosquareConstants gem provides a robust set of constants to facilitate
14
+ application development across various domains
15
+ email:
16
+ - jules@immosquare.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - lib/immosquare-constants.rb
22
+ - lib/immosquare-constants/locale.rb
23
+ - lib/immosquare-constants/version.rb
24
+ homepage: https://github.com/IMMOSQUARE/immosquare-constants
25
+ licenses:
26
+ - MIT
27
+ metadata: {}
28
+ post_install_message:
29
+ rdoc_options: []
30
+ require_paths:
31
+ - lib
32
+ required_ruby_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 2.7.2
37
+ required_rubygems_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ requirements: []
43
+ rubygems_version: 3.4.13
44
+ signing_key:
45
+ specification_version: 4
46
+ summary: ImmosquareConstants is a comprehensive collection of constants useful for
47
+ a variety of applications.
48
+ test_files: []