wow_i18n_rails 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/Gemfile +3 -0
- data/LICENSE.txt +22 -0
- data/README.md +18 -0
- data/Rakefile +2 -0
- data/lib/wow_i18n_rails.rb +6 -0
- data/lib/wow_i18n_rails/railtie.rb +11 -0
- data/lib/wow_i18n_rails/version.rb +3 -0
- data/rails/locale/en.yml +231 -0
- data/wow_i18n_rails.gemspec +26 -0
- metadata +124 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3f6b6f53e13029dc03efc8ca872c1ccde3e26bff
|
4
|
+
data.tar.gz: eb4dc8b6ea9c03626d47d1dedb3ab773eeb9dad6
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5b3f879329a55cce38dd88a137ba277801dfdb41a3082fa8c414052f600ad5ae71b6b049f05651fc463d6f5dbda4a2bcee9a603b2ef3acb8a3f5e7732741ec51
|
7
|
+
data.tar.gz: cbd811cbe441726b12dd2b68ab4e1883351fbf72027718c77d7ab82a4cd18b79d48d1539af95b14b1d67d1345690278af844aa5d4d5b97588b75a1b3014e630c
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 Nils Landt
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# wow_i18n_rails
|
2
|
+
|
3
|
+
Autoloads the translations from the [wow_i18n](https://www.github.com/promisedlandt/wow_i18n_rails) gem into Ruby on Rails.
|
4
|
+
|
5
|
+
# Usage
|
6
|
+
|
7
|
+
In your Rails application, simply add
|
8
|
+
|
9
|
+
`gem "wow_i18n_rails"`
|
10
|
+
|
11
|
+
to your Gemfile and bundle install.
|
12
|
+
The translations will be loaded automatically.
|
13
|
+
|
14
|
+
If you have explicity set `I18n.available_locales`, only the translations for those locales will be loaded.
|
15
|
+
|
16
|
+
# Contributing
|
17
|
+
|
18
|
+
If you would like to add / change translations, don't do it here, do it in the [wow_i18n](https://www.github.com/promisedlandt/wow_i18n_rails) gem.
|
data/Rakefile
ADDED
data/rails/locale/en.yml
ADDED
@@ -0,0 +1,231 @@
|
|
1
|
+
en:
|
2
|
+
classes: &classes
|
3
|
+
death_knight: "Death Knight"
|
4
|
+
druid: "Druid"
|
5
|
+
hunter: "Hunter"
|
6
|
+
mage: "Mage"
|
7
|
+
monk: "Monk"
|
8
|
+
paladin: "Paladin"
|
9
|
+
priest: "Priest"
|
10
|
+
rogue: "Rogue"
|
11
|
+
shaman: "Shaman"
|
12
|
+
warlock: "Warlock"
|
13
|
+
warrior: "Warrior"
|
14
|
+
|
15
|
+
class_specializations: &class_specializations
|
16
|
+
death_knight:
|
17
|
+
blood: "Blood"
|
18
|
+
frost: "Frost"
|
19
|
+
unholy: "Unholy"
|
20
|
+
druid:
|
21
|
+
balance: "Balance"
|
22
|
+
guardian: "Guardian"
|
23
|
+
feral: "Feral"
|
24
|
+
restoration: "Restoration"
|
25
|
+
hunter:
|
26
|
+
beast_mastery: "Beast Mastery"
|
27
|
+
marksmanship: "Marksmanship"
|
28
|
+
survival: "Survival"
|
29
|
+
mage:
|
30
|
+
arcane: "Arcane"
|
31
|
+
fire: "Fire"
|
32
|
+
frost: "Frost"
|
33
|
+
monk:
|
34
|
+
brewmaster: "Brewmaster"
|
35
|
+
mistweaver: "Mistweaver"
|
36
|
+
windwalker: "Windwalker"
|
37
|
+
paladin:
|
38
|
+
holy: "Holy"
|
39
|
+
protection: "Protection"
|
40
|
+
retribution: "Retribution"
|
41
|
+
priest:
|
42
|
+
discipline: "Discipline"
|
43
|
+
holy: "Holy"
|
44
|
+
shadow: "Shadow"
|
45
|
+
rogue:
|
46
|
+
assassination: "Assassination"
|
47
|
+
combat: "Combat"
|
48
|
+
subtlety: "Subtlety"
|
49
|
+
shaman:
|
50
|
+
elemental: "Elemental"
|
51
|
+
enhancement: "Enhancement"
|
52
|
+
restoration: "Restoration"
|
53
|
+
warlock:
|
54
|
+
affliction: "Affliction"
|
55
|
+
demonology: "Demonology"
|
56
|
+
destruction: "Destruction"
|
57
|
+
warrior:
|
58
|
+
arms: "Arms"
|
59
|
+
fury: "Fury"
|
60
|
+
protection: "Protection"
|
61
|
+
|
62
|
+
follower_classes:
|
63
|
+
<<: *classes
|
64
|
+
|
65
|
+
follower_specializations:
|
66
|
+
<<: *class_specializations
|
67
|
+
|
68
|
+
missions:
|
69
|
+
names:
|
70
|
+
cant_go_home_this_way: "Can't Go Home This Way"
|
71
|
+
magical_mystery_tour: "Magical Mystery Tour"
|
72
|
+
griefing_with_the_enemy: "Griefing with the Enemy"
|
73
|
+
whos_the_boss: "Who's the Boss?"
|
74
|
+
elemental_territory: "Elemental Territory"
|
75
|
+
the_basilisks_stare: "The Basilisk's Stare"
|
76
|
+
|
77
|
+
mission_threats:
|
78
|
+
danger_zones: "Danger Zones"
|
79
|
+
deadly_minions: "Deadly Minions"
|
80
|
+
group_damage: "Group Damage"
|
81
|
+
magic_debuff: "Magic Debuff"
|
82
|
+
massive_strike: "Massive Strike"
|
83
|
+
minion_swarms: "Minion Swarms"
|
84
|
+
powerful_spell: "Powerful Spell"
|
85
|
+
timed_battle: "Timed Battle"
|
86
|
+
wild_aggression: "Wild Aggression"
|
87
|
+
|
88
|
+
follower_abilities:
|
89
|
+
anti_magic_shell: "Anti-Magic Shell"
|
90
|
+
bone_shield: "Bone Shield"
|
91
|
+
dark_command: "Dark Command"
|
92
|
+
death_and_decay: "Death and Decay"
|
93
|
+
empower_rune_weapon: "Empower Rune Weapon"
|
94
|
+
mind_freeze: "Mind Freeze"
|
95
|
+
barkskin: "Barkskin"
|
96
|
+
berserk: "Berserk"
|
97
|
+
celestial_alignment: "Celestial Alignment"
|
98
|
+
dash: "Dash"
|
99
|
+
entangling_roots: "Entangling Roots"
|
100
|
+
growl: "Growl"
|
101
|
+
hurricane: "Hurricane"
|
102
|
+
innervate: "Innervate"
|
103
|
+
nature's_cure: "Nature's Cure"
|
104
|
+
wild_growth: "Wild Growth"
|
105
|
+
counter_shot: "Counter Shot"
|
106
|
+
deterrence: "Deterrence"
|
107
|
+
disengage: "Disengage"
|
108
|
+
feign_death: "Feign Death"
|
109
|
+
freezing_trap: "Freezing Trap"
|
110
|
+
multi_shot: "Multi-Shot"
|
111
|
+
rapid_fire: "Rapid Fire"
|
112
|
+
blink: "Blink"
|
113
|
+
blizzard: "Blizzard"
|
114
|
+
conjure_food: "Conjure Food"
|
115
|
+
counterspell: "Counterspell"
|
116
|
+
ice_block: "Ice Block"
|
117
|
+
polymorph: "Polymorph"
|
118
|
+
time_warp: "Time Warp"
|
119
|
+
chi_wave: "Chi Wave"
|
120
|
+
detox: "Detox"
|
121
|
+
energizing_brew: "Energizing Brew"
|
122
|
+
guard: "Guard"
|
123
|
+
mana_tea: "Mana Tea"
|
124
|
+
paralysis: "Paralysis"
|
125
|
+
provoke: "Provoke"
|
126
|
+
roll: "Roll"
|
127
|
+
spear_hand_strike: "Spear Hand Strike"
|
128
|
+
avenging_wrath: "Avenging Wrath"
|
129
|
+
cleanse: "Cleanse"
|
130
|
+
divine_plea: "Divine Plea"
|
131
|
+
divine_shield: "Divine Shield"
|
132
|
+
divine_storm: "Divine Storm"
|
133
|
+
holy_radiance: "Holy Radiance"
|
134
|
+
rebuke: "Rebuke"
|
135
|
+
reckoning: "Reckoning"
|
136
|
+
repentance: "Repentance"
|
137
|
+
dispel_magic: "Dispel Magic"
|
138
|
+
dominate_mind: "Dominate Mind"
|
139
|
+
leap_of_faith: "Leap of Faith"
|
140
|
+
mind_sear: "Mind Sear"
|
141
|
+
power_infusion: "Power Infusion"
|
142
|
+
prayer_of_healing: "Prayer of Healing"
|
143
|
+
shadowfiend: "Shadowfiend"
|
144
|
+
evasion: "Evasion"
|
145
|
+
fan_of_knives: "Fan of Knives"
|
146
|
+
kick: "Kick"
|
147
|
+
marked_for_death: "Marked for Death"
|
148
|
+
sap: "Sap"
|
149
|
+
sprint: "Sprint"
|
150
|
+
ascendance: "Ascendance"
|
151
|
+
chain_heal: "Chain Heal"
|
152
|
+
chain_lightning: "Chain Lightning"
|
153
|
+
ghost_wolf: "Ghost Wolf"
|
154
|
+
hex: "Hex"
|
155
|
+
purify_spirit: "Purify Spirit"
|
156
|
+
water_shield: "Water Shield"
|
157
|
+
wind_shear: "Wind Shear"
|
158
|
+
drain_life: "Drain Life"
|
159
|
+
fear: "Fear"
|
160
|
+
metamorphosis: "Metamorphosis"
|
161
|
+
rain_of_fire: "Rain of Fire"
|
162
|
+
singe_magic: "Singe Magic"
|
163
|
+
spell_lock: "Spell Lock"
|
164
|
+
summon_infernal: "Summon Infernal"
|
165
|
+
unending_resolve: "Unending Resolve"
|
166
|
+
cleave: "Cleave"
|
167
|
+
heroic_leap: "Heroic Leap"
|
168
|
+
pummel: "Pummel"
|
169
|
+
recklessness: "Recklessness"
|
170
|
+
shield_wall: "Shield Wall"
|
171
|
+
taunt: "Taunt"
|
172
|
+
|
173
|
+
follower_traits:
|
174
|
+
extra_training: "Extra Training"
|
175
|
+
fast_learner: "Fast Learner"
|
176
|
+
scavenger: "Scavenger"
|
177
|
+
treasure_hunter: "Treasure Hunter"
|
178
|
+
alchemy: "Alchemy"
|
179
|
+
blacksmithing: "Blacksmithing"
|
180
|
+
enchanting: "Enchanting"
|
181
|
+
engineering: "Engineering"
|
182
|
+
herbalism: "Herbalism"
|
183
|
+
inscription: "Inscription"
|
184
|
+
jewelcrafting: "Jewelcrafting"
|
185
|
+
leatherworking: "Leatherworking"
|
186
|
+
mining: "Mining"
|
187
|
+
skinning: "Skinning"
|
188
|
+
tailoring: "Tailoring"
|
189
|
+
beastslayer: "Beastslayer"
|
190
|
+
demonslayer: "Demonslayer"
|
191
|
+
furyslayer: "Furyslayer"
|
192
|
+
gronnslayer: "Gronnslayer"
|
193
|
+
ogreslayer: "Ogreslayer"
|
194
|
+
orcslayer: "Orcslayer"
|
195
|
+
primalslayer: "Primalslayer"
|
196
|
+
talonslayer: "Talonslayer"
|
197
|
+
voidslayer: "Voidslayer"
|
198
|
+
cave_dweller: "Cave Dweller"
|
199
|
+
cold_blooded: "Cold-Blooded"
|
200
|
+
guerilla_fighter: "Guerilla Fighter"
|
201
|
+
marshwalker: "Marshwalker"
|
202
|
+
mountaineer: "Mountaineer"
|
203
|
+
naturalist: "Naturalist"
|
204
|
+
plainsrunner: "Plainsrunner"
|
205
|
+
wastelander: "Wastelander"
|
206
|
+
ally_of_argus: "Ally of Argus"
|
207
|
+
brew_aficionado: "Brew Aficionado"
|
208
|
+
canine_companion: "Canine Companion"
|
209
|
+
child_of_draenor: "Child of Draenor"
|
210
|
+
child_of_the_moon: "Child of the Moon"
|
211
|
+
death_fascination: "Death Fascination"
|
212
|
+
dwarvenborn: "Dwarvenborn"
|
213
|
+
economist: "Economist"
|
214
|
+
elvenkind: "Elvenkind"
|
215
|
+
gnome_lover: "Gnome-Lover"
|
216
|
+
humanist: "Humanist"
|
217
|
+
totemist: "Totemist"
|
218
|
+
voodoo_zealot: "Voodoo Zealot"
|
219
|
+
wildling: "Wildling"
|
220
|
+
mechano_affictionado: "Mechano Affictionado"
|
221
|
+
bird_watcher: "Bird Watcher"
|
222
|
+
ogre_buddy: "Ogre Buddy"
|
223
|
+
burst_of_power: "Burst of Power"
|
224
|
+
epic_mount: "Epic Mount"
|
225
|
+
high_stamina: "High Stamina"
|
226
|
+
speed_of_light: "Speed of Light"
|
227
|
+
lone_wolf: "Lone Wolf"
|
228
|
+
master_assassin: "Master Assassin"
|
229
|
+
mentor: "Mentor"
|
230
|
+
dancer: "Dancer"
|
231
|
+
hearthstone_pro: "Hearthstone Pro"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "wow_i18n_rails/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "wow_i18n_rails"
|
8
|
+
spec.version = WowI18nRails::VERSION
|
9
|
+
spec.authors = ["Nils Landt"]
|
10
|
+
spec.email = ["nils@promisedlandt.de"]
|
11
|
+
spec.summary = %q{I18n for World of Warcraft for Ruby on Rails}
|
12
|
+
spec.homepage = "https://www.github.com/promisedlandt/wow_i18n_rails"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0")
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.add_runtime_dependency "wow_i18n", "~> 1.0"
|
21
|
+
spec.add_runtime_dependency "railties", "~> 4.0"
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
24
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
spec.add_development_dependency "i18n-spec", "~> 0.6.0"
|
26
|
+
end
|
metadata
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wow_i18n_rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nils Landt
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: wow_i18n
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: railties
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '4.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.7'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.7'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '10.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: i18n-spec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.6.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.6.0
|
83
|
+
description:
|
84
|
+
email:
|
85
|
+
- nils@promisedlandt.de
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- ".gitignore"
|
91
|
+
- Gemfile
|
92
|
+
- LICENSE.txt
|
93
|
+
- README.md
|
94
|
+
- Rakefile
|
95
|
+
- lib/wow_i18n_rails.rb
|
96
|
+
- lib/wow_i18n_rails/railtie.rb
|
97
|
+
- lib/wow_i18n_rails/version.rb
|
98
|
+
- rails/locale/en.yml
|
99
|
+
- wow_i18n_rails.gemspec
|
100
|
+
homepage: https://www.github.com/promisedlandt/wow_i18n_rails
|
101
|
+
licenses:
|
102
|
+
- MIT
|
103
|
+
metadata: {}
|
104
|
+
post_install_message:
|
105
|
+
rdoc_options: []
|
106
|
+
require_paths:
|
107
|
+
- lib
|
108
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
requirements: []
|
119
|
+
rubyforge_project:
|
120
|
+
rubygems_version: 2.4.5
|
121
|
+
signing_key:
|
122
|
+
specification_version: 4
|
123
|
+
summary: I18n for World of Warcraft for Ruby on Rails
|
124
|
+
test_files: []
|