kipu_translations 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ab9f2a64b47c6c0c32cedf55cf536b338504a6ed
4
+ data.tar.gz: 4262a77a12c87b9c2f347e365f5070020425b6bf
5
+ SHA512:
6
+ metadata.gz: 8c80ce97ccf71b9ee2d9b1d0a4426789d67e8d6f541e92d827007b0efb5f4eadcb6ed0f430082ea4aea10303f40e7bfb961386b490f2c3ec5f6f93b0d23121d6
7
+ data.tar.gz: ab19b59ed9afb4a6df16fa8aed0e826ccb407248d410e6cdaec10a83dd237172e475196b90d70075da4ed87d2a57d55af0a9009af558c794ef8adba9ec90d326
@@ -0,0 +1,15 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ *.gem
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in kipu_translations.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Diego Salazar
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,23 @@
1
+ # KipuTranslations
2
+
3
+ Kipu's `en.yml` file. Moved into a Gem so that it can be shared with [Kipu Template Builder](https://github.com/kipusystems/kipu_template_builder).
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'kipu_translations'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ ## Usage
18
+
19
+ Translations are available via I18n:
20
+
21
+ ```ruby
22
+ I18n.t Time.now, format: :short_date
23
+ ```
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,305 @@
1
+ # US English translations for Ruby on Rails
2
+
3
+ "en":
4
+ date:
5
+ formats:
6
+ default: "%m/%d/%Y"
7
+ short: "%b %d"
8
+ short_numbers: "%m/%d"
9
+ long: "%B %d, %Y"
10
+ long_with_day: "%A, %b %e, %Y"
11
+
12
+ day_names:
13
+ - Sunday
14
+ - Monday
15
+ - Tuesday
16
+ - Wednesday
17
+ - Thursday
18
+ - Friday
19
+ - Saturday
20
+ abbr_day_names:
21
+ - Sun
22
+ - Mon
23
+ - Tue
24
+ - Wed
25
+ - Thu
26
+ - Fri
27
+ - Sat
28
+
29
+ month_names:
30
+ - ~
31
+ - January
32
+ - February
33
+ - March
34
+ - April
35
+ - May
36
+ - June
37
+ - July
38
+ - August
39
+ - September
40
+ - October
41
+ - November
42
+ - December
43
+ abbr_month_names:
44
+ - ~
45
+ - Jan
46
+ - Feb
47
+ - Mar
48
+ - Apr
49
+ - May
50
+ - Jun
51
+ - Jul
52
+ - Aug
53
+ - Sep
54
+ - Oct
55
+ - Nov
56
+ - Dec
57
+ order:
58
+ - :year
59
+ - :month
60
+ - :day
61
+
62
+ time:
63
+ formats:
64
+ default: "%m/%d/%Y %I:%M%p"
65
+ short: "%b %d, %I:%M %p"
66
+ short_with_year: "%b %d, %Y at %I:%M %p"
67
+ short_numbers: "%m/%d %I:%M%p"
68
+ long_rails: "%B %d, %Y %H:%M"
69
+ long: "%B %d, %Y at %I:%M %p"
70
+ time_only: "%I:%M %p"
71
+ month_year_only: "%B, %Y"
72
+ date_only: "%B %d, %Y"
73
+ short_date_only: "%m/%d/%Y"
74
+ shorter_date_only: "%m/%d"
75
+ shorter_date_only_with_year: "%m/%d/%y"
76
+ hm_dbdate_with_ustime: "%Y-%m-%d %I:%M %p"
77
+ default_rails: "%a, %d %b %Y %H:%M:%S %z"
78
+ compact: "%m%d%Y%H%M%S"
79
+ am: "AM"
80
+ pm: "PM"
81
+
82
+ support:
83
+ array:
84
+ words_connector: ", "
85
+ two_words_connector: " and "
86
+ last_word_connector: ", and "
87
+
88
+ select:
89
+ prompt: "Please select"
90
+
91
+ number:
92
+ format:
93
+ separator: "."
94
+ delimiter: ","
95
+ precision: 3
96
+ significant: false
97
+ strip_insignificant_zeros: false
98
+
99
+ currency:
100
+ format:
101
+ format: "%u%n"
102
+ unit: "$"
103
+ separator: "."
104
+ delimiter: ","
105
+ precision: 2
106
+ significant: false
107
+ strip_insignificant_zeros: false
108
+
109
+ percentage:
110
+ format:
111
+ delimiter: ""
112
+
113
+ precision:
114
+ format:
115
+ delimiter: ""
116
+
117
+ human:
118
+ format:
119
+ delimiter: ""
120
+ precision: 3
121
+ significant: true
122
+ strip_insignificant_zeros: true
123
+ storage_units:
124
+ format: "%n %u"
125
+ units:
126
+ byte:
127
+ one: "Byte"
128
+ other: "Bytes"
129
+ kb: "KB"
130
+ mb: "MB"
131
+ gb: "GB"
132
+ tb: "TB"
133
+ decimal_units:
134
+ format: "%n %u"
135
+ units:
136
+ unit: ""
137
+ thousand: Thousand
138
+ million: Million
139
+ billion: Billion
140
+ trillion: Trillion
141
+ quadrillion: Quadrillion
142
+
143
+ datetime:
144
+ distance_in_words:
145
+ half_a_minute: "half a minute"
146
+ less_than_x_seconds:
147
+ one: "less than 1 second"
148
+ other: "less than %{count} seconds"
149
+ x_seconds:
150
+ one: "1 second"
151
+ other: "%{count} seconds"
152
+ less_than_x_minutes:
153
+ one: "less than a minute"
154
+ other: "less than %{count} minutes"
155
+ x_minutes:
156
+ one: "1 minute"
157
+ other: "%{count} minutes"
158
+ about_x_hours:
159
+ one: "about 1 hour"
160
+ other: "about %{count} hours"
161
+ x_days:
162
+ one: "1 day"
163
+ other: "%{count} days"
164
+ about_x_months:
165
+ one: "about 1 month"
166
+ other: "about %{count} months"
167
+ x_months:
168
+ one: "1 month"
169
+ other: "%{count} months"
170
+ about_x_years:
171
+ one: "about 1 year"
172
+ other: "about %{count} years"
173
+ over_x_years:
174
+ one: "over 1 year"
175
+ other: "over %{count} years"
176
+ almost_x_years:
177
+ one: "almost 1 year"
178
+ other: "almost %{count} years"
179
+ prompts:
180
+ year: "Year"
181
+ month: "Month"
182
+ day: "Day"
183
+ hour: "Hour"
184
+ minute: "Minute"
185
+ second: "Seconds"
186
+
187
+ helpers:
188
+ select:
189
+ prompt: "Please select"
190
+
191
+ submit:
192
+ create: 'Create %{model}'
193
+ update: 'Update %{model}'
194
+ submit: 'Save %{model}'
195
+
196
+ errors:
197
+ format: "%{attribute} %{message}"
198
+
199
+ messages: &errors_messages
200
+ inclusion: "is not included in the list"
201
+ exclusion: "is reserved"
202
+ invalid: "is invalid"
203
+ confirmation: "doesn't match confirmation"
204
+ accepted: "must be accepted"
205
+ empty: "can't be empty"
206
+ blank: "can't be blank"
207
+ too_long: "is too long (maximum is %{count} characters)"
208
+ too_short: "is too short (minimum is %{count} characters)"
209
+ wrong_length: "is the wrong length (should be %{count} characters)"
210
+ not_a_number: "is not a number"
211
+ not_an_integer: "must be an integer"
212
+ greater_than: "must be greater than %{count}"
213
+ greater_than_or_equal_to: "must be greater than or equal to %{count}"
214
+ equal_to: "must be equal to %{count}"
215
+ less_than: "must be less than %{count}"
216
+ less_than_or_equal_to: "must be less than or equal to %{count}"
217
+ odd: "must be odd"
218
+ even: "must be even"
219
+
220
+ activerecord:
221
+ errors:
222
+ template:
223
+ header:
224
+ one: "1 error prohibited this %{model} from being saved"
225
+ other: "%{count} errors prohibited this %{model} from being saved"
226
+ body: "There were problems with the following fields:"
227
+
228
+ messages:
229
+ taken: "has already been taken"
230
+ record_invalid: "Validation failed: %{errors}"
231
+ <<: *errors_messages
232
+
233
+ full_messages:
234
+ format: "%{attribute} %{message}"
235
+
236
+ hm:
237
+ status_empty: "open"
238
+ status_building: "building"
239
+ status_started: "in progress"
240
+ status_started_no_signature: "in progress"
241
+ status_ready_for_staff: "in progress"
242
+ status_ready_for_review: "ready for review"
243
+ status_treatment_plan_in_use: "in use"
244
+ status_complete: "complete"
245
+ status_revoked: "revoked"
246
+ status_dropped: "dropped"
247
+
248
+ fax:
249
+ statuses:
250
+ generated: "generated"
251
+ sending: "sending"
252
+ delivered: "delivered"
253
+ error: "error"
254
+ cancelled: "cancelled"
255
+ deleted: "deleted"
256
+
257
+ hl7:
258
+ statuses:
259
+ placing_requisition: "sending requisition"
260
+ requisition_placed: "requisition placed"
261
+ processed: "processed"
262
+ deleted: "deleted"
263
+ downloaded: "downloaded"
264
+ error: "error"
265
+ abnormal_flags:
266
+ n: "normal"
267
+ h: "high"
268
+ l: "low"
269
+ a: "abnormal"
270
+ hh: "critical high"
271
+ ll: "critical low"
272
+ observation_results_status:
273
+ p: "prelim/interim"
274
+ f: "final"
275
+ c: "corrected"
276
+ x: "canceled"
277
+
278
+ lab_test:
279
+ statuses:
280
+ new_requisition: "new requisition"
281
+ open_requisition: "requisition sent"
282
+ unassigned: "unassigned"
283
+ assigned: "pending review"
284
+ reviewed: "reviewed"
285
+ poc_results_saved: "POC results saved"
286
+ types:
287
+ blood: "blood"
288
+ urine: "urine"
289
+ oral_fluid: "oral fluid"
290
+
291
+ mars:
292
+ user_action:
293
+ administered: "Administered by"
294
+ observed: "Observed by"
295
+ med_statuses:
296
+ accepted: "Yes"
297
+ refused: "No"
298
+
299
+ patient:
300
+ status_unqualified: "unqualified"
301
+ status_declined: "declined"
302
+ status_approved: "approved"
303
+ status_in_patient: "in-patient"
304
+ status_discharged: "discharged"
305
+ chart_closed: "Chart Closed"
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'kipu_translations/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "kipu_translations"
8
+ spec.version = KipuTranslations::VERSION
9
+ spec.authors = ["Diego Salazar"]
10
+ spec.email = ["diego@greyrobot.com"]
11
+ spec.summary = %q{Kipu's en.yml file}
12
+ spec.description = %q{Kipu's en.yml file. Shared with KTB}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.7"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ end
@@ -0,0 +1,6 @@
1
+ require "kipu_translations/version"
2
+ require "kipu_translations/engine"
3
+
4
+ module KipuTranslations
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,4 @@
1
+ module KipuTranslations
2
+ class Engine < Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module KipuTranslations
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kipu_translations
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Diego Salazar
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-01-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: Kipu's en.yml file. Shared with KTB
42
+ email:
43
+ - diego@greyrobot.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - Gemfile
50
+ - LICENSE.txt
51
+ - README.md
52
+ - Rakefile
53
+ - config/locales/en.yml
54
+ - kipu_translations.gemspec
55
+ - lib/kipu_translations.rb
56
+ - lib/kipu_translations/engine.rb
57
+ - lib/kipu_translations/version.rb
58
+ homepage: ''
59
+ licenses:
60
+ - MIT
61
+ metadata: {}
62
+ post_install_message:
63
+ rdoc_options: []
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ requirements: []
77
+ rubyforge_project:
78
+ rubygems_version: 2.4.3
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: Kipu's en.yml file
82
+ test_files: []