muck-engine 0.2.21 → 0.2.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (775) hide show
  1. data/VERSION +1 -1
  2. data/app/helpers/muck_engine_helper.rb +24 -0
  3. data/lib/muck_engine/populate.rb +744 -0
  4. data/lib/muck_engine/tasks.rb +12 -717
  5. data/lib/muck_test_helper.rb +5 -1
  6. data/lib/test/muck_factories.rb +5 -0
  7. data/lib/test/shoulda_macros/scopes.rb +348 -0
  8. data/muck-engine.gemspec +745 -2
  9. data/public/images/service_icons/16/amazon.png +0 -0
  10. data/public/images/service_icons/16/ask.png +0 -0
  11. data/public/images/service_icons/16/bibsonomy.png +0 -0
  12. data/public/images/service_icons/16/bing.png +0 -0
  13. data/public/images/service_icons/16/blogger.png +0 -0
  14. data/public/images/service_icons/16/bloglines.png +0 -0
  15. data/public/images/service_icons/16/citeulike.png +0 -0
  16. data/public/images/service_icons/16/clipmarks.png +0 -0
  17. data/public/images/service_icons/16/connotea.png +0 -0
  18. data/public/images/service_icons/16/dailymotion.png +0 -0
  19. data/public/images/service_icons/16/delicious.png +0 -0
  20. data/public/images/service_icons/16/digg.png +0 -0
  21. data/public/images/service_icons/16/diigo.png +0 -0
  22. data/public/images/service_icons/16/facebook.png +0 -0
  23. data/public/images/service_icons/16/feed.png +0 -0
  24. data/public/images/service_icons/16/flickr.png +0 -0
  25. data/public/images/service_icons/16/fotolog.png +0 -0
  26. data/public/images/service_icons/16/friendfeed.png +0 -0
  27. data/public/images/service_icons/16/friendster.png +0 -0
  28. data/public/images/service_icons/16/furl.png +0 -0
  29. data/public/images/service_icons/16/goodreads.png +0 -0
  30. data/public/images/service_icons/16/google.png +0 -0
  31. data/public/images/service_icons/16/googleblog.png +0 -0
  32. data/public/images/service_icons/16/googlenews.png +0 -0
  33. data/public/images/service_icons/16/icerocket.png +0 -0
  34. data/public/images/service_icons/16/identica.png +0 -0
  35. data/public/images/service_icons/16/joost.png +0 -0
  36. data/public/images/service_icons/16/lastfm.png +0 -0
  37. data/public/images/service_icons/16/librarything.png +0 -0
  38. data/public/images/service_icons/16/linkedin.png +0 -0
  39. data/public/images/service_icons/16/livejournal.png +0 -0
  40. data/public/images/service_icons/16/magnolia.png +0 -0
  41. data/public/images/service_icons/16/mendeley.png +0 -0
  42. data/public/images/service_icons/16/metacafe.png +0 -0
  43. data/public/images/service_icons/16/mixx.png +0 -0
  44. data/public/images/service_icons/16/myspace.png +0 -0
  45. data/public/images/service_icons/16/netflix.png +0 -0
  46. data/public/images/service_icons/16/netvibes.png +0 -0
  47. data/public/images/service_icons/16/newsvine.png +0 -0
  48. data/public/images/service_icons/16/oai.png +0 -0
  49. data/public/images/service_icons/16/odeo.png +0 -0
  50. data/public/images/service_icons/16/opml.png +0 -0
  51. data/public/images/service_icons/16/pandora.png +0 -0
  52. data/public/images/service_icons/16/photobucket.png +0 -0
  53. data/public/images/service_icons/16/picasa.png +0 -0
  54. data/public/images/service_icons/16/polyvore.png +0 -0
  55. data/public/images/service_icons/16/pownce.png +0 -0
  56. data/public/images/service_icons/16/reddit.png +0 -0
  57. data/public/images/service_icons/16/simpy.png +0 -0
  58. data/public/images/service_icons/16/smugmug.png +0 -0
  59. data/public/images/service_icons/16/stumbleupon.png +0 -0
  60. data/public/images/service_icons/16/tag.png +0 -0
  61. data/public/images/service_icons/16/technorati.png +0 -0
  62. data/public/images/service_icons/16/tumblr.png +0 -0
  63. data/public/images/service_icons/16/twine.png +0 -0
  64. data/public/images/service_icons/16/twitter.png +0 -0
  65. data/public/images/service_icons/16/vimeo.png +0 -0
  66. data/public/images/service_icons/16/webshots.png +0 -0
  67. data/public/images/service_icons/16/wordpress.png +0 -0
  68. data/public/images/service_icons/16/xanga.png +0 -0
  69. data/public/images/service_icons/16/yahoo.png +0 -0
  70. data/public/images/service_icons/16/yelp.png +0 -0
  71. data/public/images/service_icons/16/youtube.png +0 -0
  72. data/public/images/service_icons/16/zooomr.png +0 -0
  73. data/public/images/service_icons/16/zotero.png +0 -0
  74. data/public/images/service_icons/24/amazon.png +0 -0
  75. data/public/images/service_icons/24/ask.png +0 -0
  76. data/public/images/service_icons/24/bibsonomy.png +0 -0
  77. data/public/images/service_icons/24/bing.png +0 -0
  78. data/public/images/service_icons/24/blogger.png +0 -0
  79. data/public/images/service_icons/24/bloglines.png +0 -0
  80. data/public/images/service_icons/24/citeulike.png +0 -0
  81. data/public/images/service_icons/24/clipmarks.png +0 -0
  82. data/public/images/service_icons/24/connotea.png +0 -0
  83. data/public/images/service_icons/24/dailymotion.png +0 -0
  84. data/public/images/service_icons/24/delicious.png +0 -0
  85. data/public/images/service_icons/24/digg.png +0 -0
  86. data/public/images/service_icons/24/diigo.png +0 -0
  87. data/public/images/service_icons/24/facebook.png +0 -0
  88. data/public/images/service_icons/24/feed.png +0 -0
  89. data/public/images/service_icons/24/flickr.png +0 -0
  90. data/public/images/service_icons/24/fotolog.png +0 -0
  91. data/public/images/service_icons/24/friendfeed.png +0 -0
  92. data/public/images/service_icons/24/friendster.png +0 -0
  93. data/public/images/service_icons/24/furl.png +0 -0
  94. data/public/images/service_icons/24/goodreads.png +0 -0
  95. data/public/images/service_icons/24/google.png +0 -0
  96. data/public/images/service_icons/24/googleblog.png +0 -0
  97. data/public/images/service_icons/24/googlenews.png +0 -0
  98. data/public/images/service_icons/24/icerocket.png +0 -0
  99. data/public/images/service_icons/24/identica.png +0 -0
  100. data/public/images/service_icons/24/joost.png +0 -0
  101. data/public/images/service_icons/24/lastfm.png +0 -0
  102. data/public/images/service_icons/24/librarything.png +0 -0
  103. data/public/images/service_icons/24/linkedin.png +0 -0
  104. data/public/images/service_icons/24/livejournal.png +0 -0
  105. data/public/images/service_icons/24/magnolia.png +0 -0
  106. data/public/images/service_icons/24/mendeley.png +0 -0
  107. data/public/images/service_icons/24/metacafe.png +0 -0
  108. data/public/images/service_icons/24/mixx.png +0 -0
  109. data/public/images/service_icons/24/myspace.png +0 -0
  110. data/public/images/service_icons/24/netflix.png +0 -0
  111. data/public/images/service_icons/24/netvibes.png +0 -0
  112. data/public/images/service_icons/24/newsvine.png +0 -0
  113. data/public/images/service_icons/24/oai.png +0 -0
  114. data/public/images/service_icons/24/odeo.png +0 -0
  115. data/public/images/service_icons/24/opml.png +0 -0
  116. data/public/images/service_icons/24/pandora.png +0 -0
  117. data/public/images/service_icons/24/photobucket.png +0 -0
  118. data/public/images/service_icons/24/picasa.png +0 -0
  119. data/public/images/service_icons/24/polyvore.png +0 -0
  120. data/public/images/service_icons/24/pownce.png +0 -0
  121. data/public/images/service_icons/24/reddit.png +0 -0
  122. data/public/images/service_icons/24/simpy.png +0 -0
  123. data/public/images/service_icons/24/smugmug.png +0 -0
  124. data/public/images/service_icons/24/stumbleupon.png +0 -0
  125. data/public/images/service_icons/24/tag.png +0 -0
  126. data/public/images/service_icons/24/technorati.png +0 -0
  127. data/public/images/service_icons/24/tumblr.png +0 -0
  128. data/public/images/service_icons/24/twine.png +0 -0
  129. data/public/images/service_icons/24/twitter.png +0 -0
  130. data/public/images/service_icons/24/vimeo.png +0 -0
  131. data/public/images/service_icons/24/webshots.png +0 -0
  132. data/public/images/service_icons/24/wordpress.png +0 -0
  133. data/public/images/service_icons/24/xanga.png +0 -0
  134. data/public/images/service_icons/24/yahoo.png +0 -0
  135. data/public/images/service_icons/24/yelp.png +0 -0
  136. data/public/images/service_icons/24/youtube.png +0 -0
  137. data/public/images/service_icons/24/zooomr.png +0 -0
  138. data/public/images/service_icons/24/zotero.png +0 -0
  139. data/public/images/service_icons/48/amazon.png +0 -0
  140. data/public/images/service_icons/48/ask.png +0 -0
  141. data/public/images/service_icons/48/bibsonomy.png +0 -0
  142. data/public/images/service_icons/48/bing.png +0 -0
  143. data/public/images/service_icons/48/blogger.png +0 -0
  144. data/public/images/service_icons/48/bloglines.png +0 -0
  145. data/public/images/service_icons/48/citeulike.png +0 -0
  146. data/public/images/service_icons/48/clipmarks.png +0 -0
  147. data/public/images/service_icons/48/connotea.png +0 -0
  148. data/public/images/service_icons/48/dailymotion.png +0 -0
  149. data/public/images/service_icons/48/delicious.png +0 -0
  150. data/public/images/service_icons/48/digg.png +0 -0
  151. data/public/images/service_icons/48/diigo.png +0 -0
  152. data/public/images/service_icons/48/facebook.png +0 -0
  153. data/public/images/service_icons/48/feed.png +0 -0
  154. data/public/images/service_icons/48/flickr.png +0 -0
  155. data/public/images/service_icons/48/fotolog.png +0 -0
  156. data/public/images/service_icons/48/friendfeed.png +0 -0
  157. data/public/images/service_icons/48/friendster.png +0 -0
  158. data/public/images/service_icons/48/furl.png +0 -0
  159. data/public/images/service_icons/48/goodreads.png +0 -0
  160. data/public/images/service_icons/48/google.png +0 -0
  161. data/public/images/service_icons/48/googleblog.png +0 -0
  162. data/public/images/service_icons/48/googlenews.png +0 -0
  163. data/public/images/service_icons/48/icerocket.png +0 -0
  164. data/public/images/service_icons/48/identica.png +0 -0
  165. data/public/images/service_icons/48/joost.png +0 -0
  166. data/public/images/service_icons/48/lastfm.png +0 -0
  167. data/public/images/service_icons/48/librarything.png +0 -0
  168. data/public/images/service_icons/48/linkedin.png +0 -0
  169. data/public/images/service_icons/48/livejournal.png +0 -0
  170. data/public/images/service_icons/48/magnolia.png +0 -0
  171. data/public/images/service_icons/48/mendeley.png +0 -0
  172. data/public/images/service_icons/48/metacafe.png +0 -0
  173. data/public/images/service_icons/48/mixx.png +0 -0
  174. data/public/images/service_icons/48/myspace.png +0 -0
  175. data/public/images/service_icons/48/netflix.png +0 -0
  176. data/public/images/service_icons/48/netvibes.png +0 -0
  177. data/public/images/service_icons/48/newsvine.png +0 -0
  178. data/public/images/service_icons/48/oai.png +0 -0
  179. data/public/images/service_icons/48/odeo.png +0 -0
  180. data/public/images/service_icons/48/opml.png +0 -0
  181. data/public/images/service_icons/48/pandora.png +0 -0
  182. data/public/images/service_icons/48/photobucket.png +0 -0
  183. data/public/images/service_icons/48/picasa.png +0 -0
  184. data/public/images/service_icons/48/polyvore.png +0 -0
  185. data/public/images/service_icons/48/pownce.png +0 -0
  186. data/public/images/service_icons/48/reddit.png +0 -0
  187. data/public/images/service_icons/48/simpy.png +0 -0
  188. data/public/images/service_icons/48/smugmug.png +0 -0
  189. data/public/images/service_icons/48/stumbleupon.png +0 -0
  190. data/public/images/service_icons/48/tag.png +0 -0
  191. data/public/images/service_icons/48/technorati.png +0 -0
  192. data/public/images/service_icons/48/tumblr.png +0 -0
  193. data/public/images/service_icons/48/twine.png +0 -0
  194. data/public/images/service_icons/48/twitter.png +0 -0
  195. data/public/images/service_icons/48/vimeo.png +0 -0
  196. data/public/images/service_icons/48/webshots.png +0 -0
  197. data/public/images/service_icons/48/wordpress.png +0 -0
  198. data/public/images/service_icons/48/xanga.png +0 -0
  199. data/public/images/service_icons/48/yahoo.png +0 -0
  200. data/public/images/service_icons/48/yelp.png +0 -0
  201. data/public/images/service_icons/48/youtube.png +0 -0
  202. data/public/images/service_icons/48/zooomr.png +0 -0
  203. data/public/images/service_icons/48/zotero.png +0 -0
  204. data/public/images/service_icons/60/amazon.png +0 -0
  205. data/public/images/service_icons/60/ask.png +0 -0
  206. data/public/images/service_icons/60/bibsonomy.png +0 -0
  207. data/public/images/service_icons/60/bing.png +0 -0
  208. data/public/images/service_icons/60/blogger.png +0 -0
  209. data/public/images/service_icons/60/bloglines.png +0 -0
  210. data/public/images/service_icons/60/citeulike.png +0 -0
  211. data/public/images/service_icons/60/clipmarks.png +0 -0
  212. data/public/images/service_icons/60/connotea.png +0 -0
  213. data/public/images/service_icons/60/dailymotion.png +0 -0
  214. data/public/images/service_icons/60/delicious.png +0 -0
  215. data/public/images/service_icons/60/digg.png +0 -0
  216. data/public/images/service_icons/60/diigo.png +0 -0
  217. data/public/images/service_icons/60/facebook.png +0 -0
  218. data/public/images/service_icons/60/feed.png +0 -0
  219. data/public/images/service_icons/60/flickr.png +0 -0
  220. data/public/images/service_icons/60/fotolog.png +0 -0
  221. data/public/images/service_icons/60/friendfeed.png +0 -0
  222. data/public/images/service_icons/60/friendster.png +0 -0
  223. data/public/images/service_icons/60/furl.png +0 -0
  224. data/public/images/service_icons/60/goodreads.png +0 -0
  225. data/public/images/service_icons/60/google.png +0 -0
  226. data/public/images/service_icons/60/googleblog.png +0 -0
  227. data/public/images/service_icons/60/googlenews.png +0 -0
  228. data/public/images/service_icons/60/icerocket.png +0 -0
  229. data/public/images/service_icons/60/identica.png +0 -0
  230. data/public/images/service_icons/60/joost.png +0 -0
  231. data/public/images/service_icons/60/lastfm.png +0 -0
  232. data/public/images/service_icons/60/librarything.png +0 -0
  233. data/public/images/service_icons/60/linkedin.png +0 -0
  234. data/public/images/service_icons/60/livejournal.png +0 -0
  235. data/public/images/service_icons/60/magnolia.png +0 -0
  236. data/public/images/service_icons/60/mendeley.png +0 -0
  237. data/public/images/service_icons/60/metacafe.png +0 -0
  238. data/public/images/service_icons/60/mixx.png +0 -0
  239. data/public/images/service_icons/60/myspace.png +0 -0
  240. data/public/images/service_icons/60/netflix.png +0 -0
  241. data/public/images/service_icons/60/netvibes.png +0 -0
  242. data/public/images/service_icons/60/newsvine.png +0 -0
  243. data/public/images/service_icons/60/oai.png +0 -0
  244. data/public/images/service_icons/60/odeo.png +0 -0
  245. data/public/images/service_icons/60/opml.png +0 -0
  246. data/public/images/service_icons/60/pandora.png +0 -0
  247. data/public/images/service_icons/60/photobucket.png +0 -0
  248. data/public/images/service_icons/60/picasa.png +0 -0
  249. data/public/images/service_icons/60/polyvore.png +0 -0
  250. data/public/images/service_icons/60/pownce.png +0 -0
  251. data/public/images/service_icons/60/reddit.png +0 -0
  252. data/public/images/service_icons/60/simpy.png +0 -0
  253. data/public/images/service_icons/60/smugmug.png +0 -0
  254. data/public/images/service_icons/60/stumbleupon.png +0 -0
  255. data/public/images/service_icons/60/tag.png +0 -0
  256. data/public/images/service_icons/60/technorati.png +0 -0
  257. data/public/images/service_icons/60/tumblr.png +0 -0
  258. data/public/images/service_icons/60/twine.png +0 -0
  259. data/public/images/service_icons/60/twitter.png +0 -0
  260. data/public/images/service_icons/60/vimeo.png +0 -0
  261. data/public/images/service_icons/60/webshots.png +0 -0
  262. data/public/images/service_icons/60/wordpress.png +0 -0
  263. data/public/images/service_icons/60/xanga.png +0 -0
  264. data/public/images/service_icons/60/yahoo.png +0 -0
  265. data/public/images/service_icons/60/yelp.png +0 -0
  266. data/public/images/service_icons/60/youtube.png +0 -0
  267. data/public/images/service_icons/60/zooomr.png +0 -0
  268. data/public/images/service_icons/60/zotero.png +0 -0
  269. data/public/images/service_icons/facebook_friend_links.jpg +0 -0
  270. data/public/images/service_icons/facebook_my_links.jpg +0 -0
  271. data/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
  272. data/public/images/service_icons/source/Google.psd +0 -0
  273. data/public/images/service_icons/source/Quake 9 Design.webloc b/data/public/images/service_icons/source/Quake 9 → Design.webloc +0 -0
  274. data/public/images/service_icons/source/ReadMe.rtf +52 -0
  275. data/public/images/service_icons/source/amazon.png +0 -0
  276. data/public/images/service_icons/source/aquaticus.social.png +0 -0
  277. data/public/images/service_icons/source/ask.png +0 -0
  278. data/public/images/service_icons/source/ask.psd +0 -0
  279. data/public/images/service_icons/source/bibsonomy.png +0 -0
  280. data/public/images/service_icons/source/bibsonomy.psd +0 -0
  281. data/public/images/service_icons/source/bing.png +0 -0
  282. data/public/images/service_icons/source/bing.psd +0 -0
  283. data/public/images/service_icons/source/blogger.png +0 -0
  284. data/public/images/service_icons/source/bloglines.png +0 -0
  285. data/public/images/service_icons/source/bloglines.psd +0 -0
  286. data/public/images/service_icons/source/citeulike.png +0 -0
  287. data/public/images/service_icons/source/clipmarks.png +0 -0
  288. data/public/images/service_icons/source/connotea.png +0 -0
  289. data/public/images/service_icons/source/connotea.psd +0 -0
  290. data/public/images/service_icons/source/dailymotion.png +0 -0
  291. data/public/images/service_icons/source/delicious.png +0 -0
  292. data/public/images/service_icons/source/digg.png +0 -0
  293. data/public/images/service_icons/source/diigo.png +0 -0
  294. data/public/images/service_icons/source/facebook.png +0 -0
  295. data/public/images/service_icons/source/feed.png +0 -0
  296. data/public/images/service_icons/source/flickr.png +0 -0
  297. data/public/images/service_icons/source/fotolog.png +0 -0
  298. data/public/images/service_icons/source/friendfeed.png +0 -0
  299. data/public/images/service_icons/source/friendster.png +0 -0
  300. data/public/images/service_icons/source/furl.png +0 -0
  301. data/public/images/service_icons/source/goodreads.png +0 -0
  302. data/public/images/service_icons/source/google.png +0 -0
  303. data/public/images/service_icons/source/googleblog.png +0 -0
  304. data/public/images/service_icons/source/googlenews.png +0 -0
  305. data/public/images/service_icons/source/icerocket.png +0 -0
  306. data/public/images/service_icons/source/icerocket.psd +0 -0
  307. data/public/images/service_icons/source/identica.png +0 -0
  308. data/public/images/service_icons/source/joost.png +0 -0
  309. data/public/images/service_icons/source/lastfm.png +0 -0
  310. data/public/images/service_icons/source/librarything.png +0 -0
  311. data/public/images/service_icons/source/linkedin.png +0 -0
  312. data/public/images/service_icons/source/livejournal.png +0 -0
  313. data/public/images/service_icons/source/magnolia.png +0 -0
  314. data/public/images/service_icons/source/mendeley.png +0 -0
  315. data/public/images/service_icons/source/metacafe.png +0 -0
  316. data/public/images/service_icons/source/metacafe.psd +0 -0
  317. data/public/images/service_icons/source/mixx.png +0 -0
  318. data/public/images/service_icons/source/myspace.png +0 -0
  319. data/public/images/service_icons/source/netflix.png +0 -0
  320. data/public/images/service_icons/source/netvibes.png +0 -0
  321. data/public/images/service_icons/source/newsvine.png +0 -0
  322. data/public/images/service_icons/source/oai.png +0 -0
  323. data/public/images/service_icons/source/odeo.png +0 -0
  324. data/public/images/service_icons/source/opml.png +0 -0
  325. data/public/images/service_icons/source/pandora.png +0 -0
  326. data/public/images/service_icons/source/photobucket.png +0 -0
  327. data/public/images/service_icons/source/picasa.png +0 -0
  328. data/public/images/service_icons/source/polyvore.png +0 -0
  329. data/public/images/service_icons/source/pownce.png +0 -0
  330. data/public/images/service_icons/source/reddit.png +0 -0
  331. data/public/images/service_icons/source/simpy.png +0 -0
  332. data/public/images/service_icons/source/smugmug.png +0 -0
  333. data/public/images/service_icons/source/stumbleupon.png +0 -0
  334. data/public/images/service_icons/source/tag.png +0 -0
  335. data/public/images/service_icons/source/technorati.png +0 -0
  336. data/public/images/service_icons/source/template.png +0 -0
  337. data/public/images/service_icons/source/tumblr.png +0 -0
  338. data/public/images/service_icons/source/twine.png +0 -0
  339. data/public/images/service_icons/source/twine.psd +0 -0
  340. data/public/images/service_icons/source/twitter.png +0 -0
  341. data/public/images/service_icons/source/vimeo.png +0 -0
  342. data/public/images/service_icons/source/webshots.png +0 -0
  343. data/public/images/service_icons/source/wordpress.png +0 -0
  344. data/public/images/service_icons/source/xanga.png +0 -0
  345. data/public/images/service_icons/source/yahoo.png +0 -0
  346. data/public/images/service_icons/source/yelp.png +0 -0
  347. data/public/images/service_icons/source/youtube.png +0 -0
  348. data/public/images/service_icons/source/zooomr.png +0 -0
  349. data/public/images/service_icons/source/zotero.png +0 -0
  350. data/public/stylesheets/styles.css +4 -0
  351. data/rails/init.rb +2 -1
  352. data/rails_i18n/bg.yml +22 -20
  353. data/rails_i18n/da.yml +18 -0
  354. data/rails_i18n/de.yml +1 -0
  355. data/rails_i18n/dsb.yml +182 -0
  356. data/rails_i18n/el.yml +4 -4
  357. data/rails_i18n/es-CO.yml +117 -0
  358. data/rails_i18n/es-MX.yml +6 -0
  359. data/rails_i18n/es.yml +13 -3
  360. data/rails_i18n/fi.yml +26 -15
  361. data/rails_i18n/fr.yml +2 -0
  362. data/rails_i18n/fur.yml +141 -0
  363. data/rails_i18n/he.yml +1 -1
  364. data/rails_i18n/hr.yml +116 -0
  365. data/rails_i18n/hsb.yml +190 -0
  366. data/rails_i18n/hu.yml +32 -15
  367. data/rails_i18n/is.yml +61 -27
  368. data/rails_i18n/ja.yml +7 -3
  369. data/rails_i18n/lo.yml +201 -0
  370. data/rails_i18n/lt.yml +12 -1
  371. data/rails_i18n/nl.yml +45 -45
  372. data/rails_i18n/pl.yml +1 -1
  373. data/rails_i18n/pt-BR.yml +1 -0
  374. data/rails_i18n/pt-PT.yml +96 -9
  375. data/rails_i18n/ro.yml +22 -6
  376. data/rails_i18n/sv-SE.yml +32 -21
  377. data/rails_i18n/sw.yml +8 -7
  378. data/rails_i18n/th.yml +201 -0
  379. data/test/rails_root/db/migrate/20090402234137_create_languages.rb +1 -1
  380. data/test/rails_root/public/images/arrow_down.gif +0 -0
  381. data/test/rails_root/public/images/arrow_up.gif +0 -0
  382. data/test/rails_root/public/images/fancybox/fancy_closebox.png +0 -0
  383. data/test/rails_root/public/images/fancybox/fancy_left.png +0 -0
  384. data/test/rails_root/public/images/fancybox/fancy_progress.png +0 -0
  385. data/test/rails_root/public/images/fancybox/fancy_right.png +0 -0
  386. data/test/rails_root/public/images/fancybox/fancy_shadow_e.png +0 -0
  387. data/test/rails_root/public/images/fancybox/fancy_shadow_n.png +0 -0
  388. data/test/rails_root/public/images/fancybox/fancy_shadow_ne.png +0 -0
  389. data/test/rails_root/public/images/fancybox/fancy_shadow_nw.png +0 -0
  390. data/test/rails_root/public/images/fancybox/fancy_shadow_s.png +0 -0
  391. data/test/rails_root/public/images/fancybox/fancy_shadow_se.png +0 -0
  392. data/test/rails_root/public/images/fancybox/fancy_shadow_sw.png +0 -0
  393. data/test/rails_root/public/images/fancybox/fancy_shadow_w.png +0 -0
  394. data/test/rails_root/public/images/fancybox/fancy_title_left.png +0 -0
  395. data/test/rails_root/public/images/fancybox/fancy_title_main.png +0 -0
  396. data/test/rails_root/public/images/fancybox/fancy_title_right.png +0 -0
  397. data/test/rails_root/public/images/icons/blue_guy.png +0 -0
  398. data/test/rails_root/public/images/icons/button_background.png +0 -0
  399. data/test/rails_root/public/images/icons/cancel.png +0 -0
  400. data/test/rails_root/public/images/icons/close.png +0 -0
  401. data/test/rails_root/public/images/icons/comment.png +0 -0
  402. data/test/rails_root/public/images/icons/exclaim.png +0 -0
  403. data/test/rails_root/public/images/icons/external.png +0 -0
  404. data/test/rails_root/public/images/icons/feed.png +0 -0
  405. data/test/rails_root/public/images/icons/grey_guy.png +0 -0
  406. data/test/rails_root/public/images/icons/hide.png +0 -0
  407. data/test/rails_root/public/images/icons/information.png +0 -0
  408. data/test/rails_root/public/images/icons/minus.png +0 -0
  409. data/test/rails_root/public/images/icons/pending.png +0 -0
  410. data/test/rails_root/public/images/icons/question.png +0 -0
  411. data/test/rails_root/public/images/icons/search_box.png +0 -0
  412. data/test/rails_root/public/images/icons/star.png +0 -0
  413. data/test/rails_root/public/images/icons/stop.png +0 -0
  414. data/test/rails_root/public/images/icons/thumb_down.png +0 -0
  415. data/test/rails_root/public/images/icons/thumb_up.png +0 -0
  416. data/test/rails_root/public/images/nothing.png +0 -0
  417. data/test/rails_root/public/images/service_icons/16/amazon.png +0 -0
  418. data/test/rails_root/public/images/service_icons/16/ask.png +0 -0
  419. data/test/rails_root/public/images/service_icons/16/bibsonomy.png +0 -0
  420. data/test/rails_root/public/images/service_icons/16/bing.png +0 -0
  421. data/test/rails_root/public/images/service_icons/16/blogger.png +0 -0
  422. data/test/rails_root/public/images/service_icons/16/bloglines.png +0 -0
  423. data/test/rails_root/public/images/service_icons/16/citeulike.png +0 -0
  424. data/test/rails_root/public/images/service_icons/16/clipmarks.png +0 -0
  425. data/test/rails_root/public/images/service_icons/16/connotea.png +0 -0
  426. data/test/rails_root/public/images/service_icons/16/dailymotion.png +0 -0
  427. data/test/rails_root/public/images/service_icons/16/delicious.png +0 -0
  428. data/test/rails_root/public/images/service_icons/16/digg.png +0 -0
  429. data/test/rails_root/public/images/service_icons/16/diigo.png +0 -0
  430. data/test/rails_root/public/images/service_icons/16/facebook.png +0 -0
  431. data/test/rails_root/public/images/service_icons/16/feed.png +0 -0
  432. data/test/rails_root/public/images/service_icons/16/flickr.png +0 -0
  433. data/test/rails_root/public/images/service_icons/16/fotolog.png +0 -0
  434. data/test/rails_root/public/images/service_icons/16/friendfeed.png +0 -0
  435. data/test/rails_root/public/images/service_icons/16/friendster.png +0 -0
  436. data/test/rails_root/public/images/service_icons/16/furl.png +0 -0
  437. data/test/rails_root/public/images/service_icons/16/goodreads.png +0 -0
  438. data/test/rails_root/public/images/service_icons/16/google.png +0 -0
  439. data/test/rails_root/public/images/service_icons/16/googleblog.png +0 -0
  440. data/test/rails_root/public/images/service_icons/16/googlenews.png +0 -0
  441. data/test/rails_root/public/images/service_icons/16/icerocket.png +0 -0
  442. data/test/rails_root/public/images/service_icons/16/identica.png +0 -0
  443. data/test/rails_root/public/images/service_icons/16/joost.png +0 -0
  444. data/test/rails_root/public/images/service_icons/16/lastfm.png +0 -0
  445. data/test/rails_root/public/images/service_icons/16/librarything.png +0 -0
  446. data/test/rails_root/public/images/service_icons/16/linkedin.png +0 -0
  447. data/test/rails_root/public/images/service_icons/16/livejournal.png +0 -0
  448. data/test/rails_root/public/images/service_icons/16/magnolia.png +0 -0
  449. data/test/rails_root/public/images/service_icons/16/mendeley.png +0 -0
  450. data/test/rails_root/public/images/service_icons/16/metacafe.png +0 -0
  451. data/test/rails_root/public/images/service_icons/16/mixx.png +0 -0
  452. data/test/rails_root/public/images/service_icons/16/myspace.png +0 -0
  453. data/test/rails_root/public/images/service_icons/16/netflix.png +0 -0
  454. data/test/rails_root/public/images/service_icons/16/netvibes.png +0 -0
  455. data/test/rails_root/public/images/service_icons/16/newsvine.png +0 -0
  456. data/test/rails_root/public/images/service_icons/16/oai.png +0 -0
  457. data/test/rails_root/public/images/service_icons/16/odeo.png +0 -0
  458. data/test/rails_root/public/images/service_icons/16/opml.png +0 -0
  459. data/test/rails_root/public/images/service_icons/16/pandora.png +0 -0
  460. data/test/rails_root/public/images/service_icons/16/photobucket.png +0 -0
  461. data/test/rails_root/public/images/service_icons/16/picasa.png +0 -0
  462. data/test/rails_root/public/images/service_icons/16/polyvore.png +0 -0
  463. data/test/rails_root/public/images/service_icons/16/pownce.png +0 -0
  464. data/test/rails_root/public/images/service_icons/16/reddit.png +0 -0
  465. data/test/rails_root/public/images/service_icons/16/simpy.png +0 -0
  466. data/test/rails_root/public/images/service_icons/16/smugmug.png +0 -0
  467. data/test/rails_root/public/images/service_icons/16/stumbleupon.png +0 -0
  468. data/test/rails_root/public/images/service_icons/16/tag.png +0 -0
  469. data/test/rails_root/public/images/service_icons/16/technorati.png +0 -0
  470. data/test/rails_root/public/images/service_icons/16/tumblr.png +0 -0
  471. data/test/rails_root/public/images/service_icons/16/twine.png +0 -0
  472. data/test/rails_root/public/images/service_icons/16/twitter.png +0 -0
  473. data/test/rails_root/public/images/service_icons/16/vimeo.png +0 -0
  474. data/test/rails_root/public/images/service_icons/16/webshots.png +0 -0
  475. data/test/rails_root/public/images/service_icons/16/wordpress.png +0 -0
  476. data/test/rails_root/public/images/service_icons/16/xanga.png +0 -0
  477. data/test/rails_root/public/images/service_icons/16/yahoo.png +0 -0
  478. data/test/rails_root/public/images/service_icons/16/yelp.png +0 -0
  479. data/test/rails_root/public/images/service_icons/16/youtube.png +0 -0
  480. data/test/rails_root/public/images/service_icons/16/zooomr.png +0 -0
  481. data/test/rails_root/public/images/service_icons/16/zotero.png +0 -0
  482. data/test/rails_root/public/images/service_icons/24/amazon.png +0 -0
  483. data/test/rails_root/public/images/service_icons/24/ask.png +0 -0
  484. data/test/rails_root/public/images/service_icons/24/bibsonomy.png +0 -0
  485. data/test/rails_root/public/images/service_icons/24/bing.png +0 -0
  486. data/test/rails_root/public/images/service_icons/24/blogger.png +0 -0
  487. data/test/rails_root/public/images/service_icons/24/bloglines.png +0 -0
  488. data/test/rails_root/public/images/service_icons/24/citeulike.png +0 -0
  489. data/test/rails_root/public/images/service_icons/24/clipmarks.png +0 -0
  490. data/test/rails_root/public/images/service_icons/24/connotea.png +0 -0
  491. data/test/rails_root/public/images/service_icons/24/dailymotion.png +0 -0
  492. data/test/rails_root/public/images/service_icons/24/delicious.png +0 -0
  493. data/test/rails_root/public/images/service_icons/24/digg.png +0 -0
  494. data/test/rails_root/public/images/service_icons/24/diigo.png +0 -0
  495. data/test/rails_root/public/images/service_icons/24/facebook.png +0 -0
  496. data/test/rails_root/public/images/service_icons/24/feed.png +0 -0
  497. data/test/rails_root/public/images/service_icons/24/flickr.png +0 -0
  498. data/test/rails_root/public/images/service_icons/24/fotolog.png +0 -0
  499. data/test/rails_root/public/images/service_icons/24/friendfeed.png +0 -0
  500. data/test/rails_root/public/images/service_icons/24/friendster.png +0 -0
  501. data/test/rails_root/public/images/service_icons/24/furl.png +0 -0
  502. data/test/rails_root/public/images/service_icons/24/goodreads.png +0 -0
  503. data/test/rails_root/public/images/service_icons/24/google.png +0 -0
  504. data/test/rails_root/public/images/service_icons/24/googleblog.png +0 -0
  505. data/test/rails_root/public/images/service_icons/24/googlenews.png +0 -0
  506. data/test/rails_root/public/images/service_icons/24/icerocket.png +0 -0
  507. data/test/rails_root/public/images/service_icons/24/identica.png +0 -0
  508. data/test/rails_root/public/images/service_icons/24/joost.png +0 -0
  509. data/test/rails_root/public/images/service_icons/24/lastfm.png +0 -0
  510. data/test/rails_root/public/images/service_icons/24/librarything.png +0 -0
  511. data/test/rails_root/public/images/service_icons/24/linkedin.png +0 -0
  512. data/test/rails_root/public/images/service_icons/24/livejournal.png +0 -0
  513. data/test/rails_root/public/images/service_icons/24/magnolia.png +0 -0
  514. data/test/rails_root/public/images/service_icons/24/mendeley.png +0 -0
  515. data/test/rails_root/public/images/service_icons/24/metacafe.png +0 -0
  516. data/test/rails_root/public/images/service_icons/24/mixx.png +0 -0
  517. data/test/rails_root/public/images/service_icons/24/myspace.png +0 -0
  518. data/test/rails_root/public/images/service_icons/24/netflix.png +0 -0
  519. data/test/rails_root/public/images/service_icons/24/netvibes.png +0 -0
  520. data/test/rails_root/public/images/service_icons/24/newsvine.png +0 -0
  521. data/test/rails_root/public/images/service_icons/24/oai.png +0 -0
  522. data/test/rails_root/public/images/service_icons/24/odeo.png +0 -0
  523. data/test/rails_root/public/images/service_icons/24/opml.png +0 -0
  524. data/test/rails_root/public/images/service_icons/24/pandora.png +0 -0
  525. data/test/rails_root/public/images/service_icons/24/photobucket.png +0 -0
  526. data/test/rails_root/public/images/service_icons/24/picasa.png +0 -0
  527. data/test/rails_root/public/images/service_icons/24/polyvore.png +0 -0
  528. data/test/rails_root/public/images/service_icons/24/pownce.png +0 -0
  529. data/test/rails_root/public/images/service_icons/24/reddit.png +0 -0
  530. data/test/rails_root/public/images/service_icons/24/simpy.png +0 -0
  531. data/test/rails_root/public/images/service_icons/24/smugmug.png +0 -0
  532. data/test/rails_root/public/images/service_icons/24/stumbleupon.png +0 -0
  533. data/test/rails_root/public/images/service_icons/24/tag.png +0 -0
  534. data/test/rails_root/public/images/service_icons/24/technorati.png +0 -0
  535. data/test/rails_root/public/images/service_icons/24/tumblr.png +0 -0
  536. data/test/rails_root/public/images/service_icons/24/twine.png +0 -0
  537. data/test/rails_root/public/images/service_icons/24/twitter.png +0 -0
  538. data/test/rails_root/public/images/service_icons/24/vimeo.png +0 -0
  539. data/test/rails_root/public/images/service_icons/24/webshots.png +0 -0
  540. data/test/rails_root/public/images/service_icons/24/wordpress.png +0 -0
  541. data/test/rails_root/public/images/service_icons/24/xanga.png +0 -0
  542. data/test/rails_root/public/images/service_icons/24/yahoo.png +0 -0
  543. data/test/rails_root/public/images/service_icons/24/yelp.png +0 -0
  544. data/test/rails_root/public/images/service_icons/24/youtube.png +0 -0
  545. data/test/rails_root/public/images/service_icons/24/zooomr.png +0 -0
  546. data/test/rails_root/public/images/service_icons/24/zotero.png +0 -0
  547. data/test/rails_root/public/images/service_icons/48/amazon.png +0 -0
  548. data/test/rails_root/public/images/service_icons/48/ask.png +0 -0
  549. data/test/rails_root/public/images/service_icons/48/bibsonomy.png +0 -0
  550. data/test/rails_root/public/images/service_icons/48/bing.png +0 -0
  551. data/test/rails_root/public/images/service_icons/48/blogger.png +0 -0
  552. data/test/rails_root/public/images/service_icons/48/bloglines.png +0 -0
  553. data/test/rails_root/public/images/service_icons/48/citeulike.png +0 -0
  554. data/test/rails_root/public/images/service_icons/48/clipmarks.png +0 -0
  555. data/test/rails_root/public/images/service_icons/48/connotea.png +0 -0
  556. data/test/rails_root/public/images/service_icons/48/dailymotion.png +0 -0
  557. data/test/rails_root/public/images/service_icons/48/delicious.png +0 -0
  558. data/test/rails_root/public/images/service_icons/48/digg.png +0 -0
  559. data/test/rails_root/public/images/service_icons/48/diigo.png +0 -0
  560. data/test/rails_root/public/images/service_icons/48/facebook.png +0 -0
  561. data/test/rails_root/public/images/service_icons/48/feed.png +0 -0
  562. data/test/rails_root/public/images/service_icons/48/flickr.png +0 -0
  563. data/test/rails_root/public/images/service_icons/48/fotolog.png +0 -0
  564. data/test/rails_root/public/images/service_icons/48/friendfeed.png +0 -0
  565. data/test/rails_root/public/images/service_icons/48/friendster.png +0 -0
  566. data/test/rails_root/public/images/service_icons/48/furl.png +0 -0
  567. data/test/rails_root/public/images/service_icons/48/goodreads.png +0 -0
  568. data/test/rails_root/public/images/service_icons/48/google.png +0 -0
  569. data/test/rails_root/public/images/service_icons/48/googleblog.png +0 -0
  570. data/test/rails_root/public/images/service_icons/48/googlenews.png +0 -0
  571. data/test/rails_root/public/images/service_icons/48/icerocket.png +0 -0
  572. data/test/rails_root/public/images/service_icons/48/identica.png +0 -0
  573. data/test/rails_root/public/images/service_icons/48/joost.png +0 -0
  574. data/test/rails_root/public/images/service_icons/48/lastfm.png +0 -0
  575. data/test/rails_root/public/images/service_icons/48/librarything.png +0 -0
  576. data/test/rails_root/public/images/service_icons/48/linkedin.png +0 -0
  577. data/test/rails_root/public/images/service_icons/48/livejournal.png +0 -0
  578. data/test/rails_root/public/images/service_icons/48/magnolia.png +0 -0
  579. data/test/rails_root/public/images/service_icons/48/mendeley.png +0 -0
  580. data/test/rails_root/public/images/service_icons/48/metacafe.png +0 -0
  581. data/test/rails_root/public/images/service_icons/48/mixx.png +0 -0
  582. data/test/rails_root/public/images/service_icons/48/myspace.png +0 -0
  583. data/test/rails_root/public/images/service_icons/48/netflix.png +0 -0
  584. data/test/rails_root/public/images/service_icons/48/netvibes.png +0 -0
  585. data/test/rails_root/public/images/service_icons/48/newsvine.png +0 -0
  586. data/test/rails_root/public/images/service_icons/48/oai.png +0 -0
  587. data/test/rails_root/public/images/service_icons/48/odeo.png +0 -0
  588. data/test/rails_root/public/images/service_icons/48/opml.png +0 -0
  589. data/test/rails_root/public/images/service_icons/48/pandora.png +0 -0
  590. data/test/rails_root/public/images/service_icons/48/photobucket.png +0 -0
  591. data/test/rails_root/public/images/service_icons/48/picasa.png +0 -0
  592. data/test/rails_root/public/images/service_icons/48/polyvore.png +0 -0
  593. data/test/rails_root/public/images/service_icons/48/pownce.png +0 -0
  594. data/test/rails_root/public/images/service_icons/48/reddit.png +0 -0
  595. data/test/rails_root/public/images/service_icons/48/simpy.png +0 -0
  596. data/test/rails_root/public/images/service_icons/48/smugmug.png +0 -0
  597. data/test/rails_root/public/images/service_icons/48/stumbleupon.png +0 -0
  598. data/test/rails_root/public/images/service_icons/48/tag.png +0 -0
  599. data/test/rails_root/public/images/service_icons/48/technorati.png +0 -0
  600. data/test/rails_root/public/images/service_icons/48/tumblr.png +0 -0
  601. data/test/rails_root/public/images/service_icons/48/twine.png +0 -0
  602. data/test/rails_root/public/images/service_icons/48/twitter.png +0 -0
  603. data/test/rails_root/public/images/service_icons/48/vimeo.png +0 -0
  604. data/test/rails_root/public/images/service_icons/48/webshots.png +0 -0
  605. data/test/rails_root/public/images/service_icons/48/wordpress.png +0 -0
  606. data/test/rails_root/public/images/service_icons/48/xanga.png +0 -0
  607. data/test/rails_root/public/images/service_icons/48/yahoo.png +0 -0
  608. data/test/rails_root/public/images/service_icons/48/yelp.png +0 -0
  609. data/test/rails_root/public/images/service_icons/48/youtube.png +0 -0
  610. data/test/rails_root/public/images/service_icons/48/zooomr.png +0 -0
  611. data/test/rails_root/public/images/service_icons/48/zotero.png +0 -0
  612. data/test/rails_root/public/images/service_icons/60/amazon.png +0 -0
  613. data/test/rails_root/public/images/service_icons/60/ask.png +0 -0
  614. data/test/rails_root/public/images/service_icons/60/bibsonomy.png +0 -0
  615. data/test/rails_root/public/images/service_icons/60/bing.png +0 -0
  616. data/test/rails_root/public/images/service_icons/60/blogger.png +0 -0
  617. data/test/rails_root/public/images/service_icons/60/bloglines.png +0 -0
  618. data/test/rails_root/public/images/service_icons/60/citeulike.png +0 -0
  619. data/test/rails_root/public/images/service_icons/60/clipmarks.png +0 -0
  620. data/test/rails_root/public/images/service_icons/60/connotea.png +0 -0
  621. data/test/rails_root/public/images/service_icons/60/dailymotion.png +0 -0
  622. data/test/rails_root/public/images/service_icons/60/delicious.png +0 -0
  623. data/test/rails_root/public/images/service_icons/60/digg.png +0 -0
  624. data/test/rails_root/public/images/service_icons/60/diigo.png +0 -0
  625. data/test/rails_root/public/images/service_icons/60/facebook.png +0 -0
  626. data/test/rails_root/public/images/service_icons/60/feed.png +0 -0
  627. data/test/rails_root/public/images/service_icons/60/flickr.png +0 -0
  628. data/test/rails_root/public/images/service_icons/60/fotolog.png +0 -0
  629. data/test/rails_root/public/images/service_icons/60/friendfeed.png +0 -0
  630. data/test/rails_root/public/images/service_icons/60/friendster.png +0 -0
  631. data/test/rails_root/public/images/service_icons/60/furl.png +0 -0
  632. data/test/rails_root/public/images/service_icons/60/goodreads.png +0 -0
  633. data/test/rails_root/public/images/service_icons/60/google.png +0 -0
  634. data/test/rails_root/public/images/service_icons/60/googleblog.png +0 -0
  635. data/test/rails_root/public/images/service_icons/60/googlenews.png +0 -0
  636. data/test/rails_root/public/images/service_icons/60/icerocket.png +0 -0
  637. data/test/rails_root/public/images/service_icons/60/identica.png +0 -0
  638. data/test/rails_root/public/images/service_icons/60/joost.png +0 -0
  639. data/test/rails_root/public/images/service_icons/60/lastfm.png +0 -0
  640. data/test/rails_root/public/images/service_icons/60/librarything.png +0 -0
  641. data/test/rails_root/public/images/service_icons/60/linkedin.png +0 -0
  642. data/test/rails_root/public/images/service_icons/60/livejournal.png +0 -0
  643. data/test/rails_root/public/images/service_icons/60/magnolia.png +0 -0
  644. data/test/rails_root/public/images/service_icons/60/mendeley.png +0 -0
  645. data/test/rails_root/public/images/service_icons/60/metacafe.png +0 -0
  646. data/test/rails_root/public/images/service_icons/60/mixx.png +0 -0
  647. data/test/rails_root/public/images/service_icons/60/myspace.png +0 -0
  648. data/test/rails_root/public/images/service_icons/60/netflix.png +0 -0
  649. data/test/rails_root/public/images/service_icons/60/netvibes.png +0 -0
  650. data/test/rails_root/public/images/service_icons/60/newsvine.png +0 -0
  651. data/test/rails_root/public/images/service_icons/60/oai.png +0 -0
  652. data/test/rails_root/public/images/service_icons/60/odeo.png +0 -0
  653. data/test/rails_root/public/images/service_icons/60/opml.png +0 -0
  654. data/test/rails_root/public/images/service_icons/60/pandora.png +0 -0
  655. data/test/rails_root/public/images/service_icons/60/photobucket.png +0 -0
  656. data/test/rails_root/public/images/service_icons/60/picasa.png +0 -0
  657. data/test/rails_root/public/images/service_icons/60/polyvore.png +0 -0
  658. data/test/rails_root/public/images/service_icons/60/pownce.png +0 -0
  659. data/test/rails_root/public/images/service_icons/60/reddit.png +0 -0
  660. data/test/rails_root/public/images/service_icons/60/simpy.png +0 -0
  661. data/test/rails_root/public/images/service_icons/60/smugmug.png +0 -0
  662. data/test/rails_root/public/images/service_icons/60/stumbleupon.png +0 -0
  663. data/test/rails_root/public/images/service_icons/60/tag.png +0 -0
  664. data/test/rails_root/public/images/service_icons/60/technorati.png +0 -0
  665. data/test/rails_root/public/images/service_icons/60/tumblr.png +0 -0
  666. data/test/rails_root/public/images/service_icons/60/twine.png +0 -0
  667. data/test/rails_root/public/images/service_icons/60/twitter.png +0 -0
  668. data/test/rails_root/public/images/service_icons/60/vimeo.png +0 -0
  669. data/test/rails_root/public/images/service_icons/60/webshots.png +0 -0
  670. data/test/rails_root/public/images/service_icons/60/wordpress.png +0 -0
  671. data/test/rails_root/public/images/service_icons/60/xanga.png +0 -0
  672. data/test/rails_root/public/images/service_icons/60/yahoo.png +0 -0
  673. data/test/rails_root/public/images/service_icons/60/yelp.png +0 -0
  674. data/test/rails_root/public/images/service_icons/60/youtube.png +0 -0
  675. data/test/rails_root/public/images/service_icons/60/zooomr.png +0 -0
  676. data/test/rails_root/public/images/service_icons/60/zotero.png +0 -0
  677. data/test/rails_root/public/images/service_icons/facebook_friend_links.jpg +0 -0
  678. data/test/rails_root/public/images/service_icons/facebook_my_links.jpg +0 -0
  679. data/test/rails_root/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
  680. data/test/rails_root/public/images/service_icons/source/Google.psd +0 -0
  681. data/test/rails_root/public/images/service_icons/source/Quake 9 Design.webloc b/data/test/rails_root/public/images/service_icons/source/Quake 9 → Design.webloc +0 -0
  682. data/test/rails_root/public/images/service_icons/source/ReadMe.rtf +52 -0
  683. data/test/rails_root/public/images/service_icons/source/amazon.png +0 -0
  684. data/test/rails_root/public/images/service_icons/source/aquaticus.social.png +0 -0
  685. data/test/rails_root/public/images/service_icons/source/ask.png +0 -0
  686. data/test/rails_root/public/images/service_icons/source/ask.psd +0 -0
  687. data/test/rails_root/public/images/service_icons/source/bibsonomy.png +0 -0
  688. data/test/rails_root/public/images/service_icons/source/bibsonomy.psd +0 -0
  689. data/test/rails_root/public/images/service_icons/source/bing.png +0 -0
  690. data/test/rails_root/public/images/service_icons/source/bing.psd +0 -0
  691. data/test/rails_root/public/images/service_icons/source/blogger.png +0 -0
  692. data/test/rails_root/public/images/service_icons/source/bloglines.png +0 -0
  693. data/test/rails_root/public/images/service_icons/source/bloglines.psd +0 -0
  694. data/test/rails_root/public/images/service_icons/source/citeulike.png +0 -0
  695. data/test/rails_root/public/images/service_icons/source/clipmarks.png +0 -0
  696. data/test/rails_root/public/images/service_icons/source/connotea.png +0 -0
  697. data/test/rails_root/public/images/service_icons/source/connotea.psd +0 -0
  698. data/test/rails_root/public/images/service_icons/source/dailymotion.png +0 -0
  699. data/test/rails_root/public/images/service_icons/source/delicious.png +0 -0
  700. data/test/rails_root/public/images/service_icons/source/digg.png +0 -0
  701. data/test/rails_root/public/images/service_icons/source/diigo.png +0 -0
  702. data/test/rails_root/public/images/service_icons/source/facebook.png +0 -0
  703. data/test/rails_root/public/images/service_icons/source/feed.png +0 -0
  704. data/test/rails_root/public/images/service_icons/source/flickr.png +0 -0
  705. data/test/rails_root/public/images/service_icons/source/fotolog.png +0 -0
  706. data/test/rails_root/public/images/service_icons/source/friendfeed.png +0 -0
  707. data/test/rails_root/public/images/service_icons/source/friendster.png +0 -0
  708. data/test/rails_root/public/images/service_icons/source/furl.png +0 -0
  709. data/test/rails_root/public/images/service_icons/source/goodreads.png +0 -0
  710. data/test/rails_root/public/images/service_icons/source/google.png +0 -0
  711. data/test/rails_root/public/images/service_icons/source/googleblog.png +0 -0
  712. data/test/rails_root/public/images/service_icons/source/googlenews.png +0 -0
  713. data/test/rails_root/public/images/service_icons/source/icerocket.png +0 -0
  714. data/test/rails_root/public/images/service_icons/source/icerocket.psd +0 -0
  715. data/test/rails_root/public/images/service_icons/source/identica.png +0 -0
  716. data/test/rails_root/public/images/service_icons/source/joost.png +0 -0
  717. data/test/rails_root/public/images/service_icons/source/lastfm.png +0 -0
  718. data/test/rails_root/public/images/service_icons/source/librarything.png +0 -0
  719. data/test/rails_root/public/images/service_icons/source/linkedin.png +0 -0
  720. data/test/rails_root/public/images/service_icons/source/livejournal.png +0 -0
  721. data/test/rails_root/public/images/service_icons/source/magnolia.png +0 -0
  722. data/test/rails_root/public/images/service_icons/source/mendeley.png +0 -0
  723. data/test/rails_root/public/images/service_icons/source/metacafe.png +0 -0
  724. data/test/rails_root/public/images/service_icons/source/metacafe.psd +0 -0
  725. data/test/rails_root/public/images/service_icons/source/mixx.png +0 -0
  726. data/test/rails_root/public/images/service_icons/source/myspace.png +0 -0
  727. data/test/rails_root/public/images/service_icons/source/netflix.png +0 -0
  728. data/test/rails_root/public/images/service_icons/source/netvibes.png +0 -0
  729. data/test/rails_root/public/images/service_icons/source/newsvine.png +0 -0
  730. data/test/rails_root/public/images/service_icons/source/oai.png +0 -0
  731. data/test/rails_root/public/images/service_icons/source/odeo.png +0 -0
  732. data/test/rails_root/public/images/service_icons/source/opml.png +0 -0
  733. data/test/rails_root/public/images/service_icons/source/pandora.png +0 -0
  734. data/test/rails_root/public/images/service_icons/source/photobucket.png +0 -0
  735. data/test/rails_root/public/images/service_icons/source/picasa.png +0 -0
  736. data/test/rails_root/public/images/service_icons/source/polyvore.png +0 -0
  737. data/test/rails_root/public/images/service_icons/source/pownce.png +0 -0
  738. data/test/rails_root/public/images/service_icons/source/reddit.png +0 -0
  739. data/test/rails_root/public/images/service_icons/source/simpy.png +0 -0
  740. data/test/rails_root/public/images/service_icons/source/smugmug.png +0 -0
  741. data/test/rails_root/public/images/service_icons/source/stumbleupon.png +0 -0
  742. data/test/rails_root/public/images/service_icons/source/tag.png +0 -0
  743. data/test/rails_root/public/images/service_icons/source/technorati.png +0 -0
  744. data/test/rails_root/public/images/service_icons/source/template.png +0 -0
  745. data/test/rails_root/public/images/service_icons/source/tumblr.png +0 -0
  746. data/test/rails_root/public/images/service_icons/source/twine.png +0 -0
  747. data/test/rails_root/public/images/service_icons/source/twine.psd +0 -0
  748. data/test/rails_root/public/images/service_icons/source/twitter.png +0 -0
  749. data/test/rails_root/public/images/service_icons/source/vimeo.png +0 -0
  750. data/test/rails_root/public/images/service_icons/source/webshots.png +0 -0
  751. data/test/rails_root/public/images/service_icons/source/wordpress.png +0 -0
  752. data/test/rails_root/public/images/service_icons/source/xanga.png +0 -0
  753. data/test/rails_root/public/images/service_icons/source/yahoo.png +0 -0
  754. data/test/rails_root/public/images/service_icons/source/yelp.png +0 -0
  755. data/test/rails_root/public/images/service_icons/source/youtube.png +0 -0
  756. data/test/rails_root/public/images/service_icons/source/zooomr.png +0 -0
  757. data/test/rails_root/public/images/service_icons/source/zotero.png +0 -0
  758. data/test/rails_root/public/javascripts/jquery/colorpicker.js +450 -0
  759. data/test/rails_root/public/javascripts/jquery/jquery.autocomplete.js.readme +6 -0
  760. data/test/rails_root/public/javascripts/jquery/jquery.autocomplete.min.js +15 -0
  761. data/test/rails_root/public/javascripts/jquery/jquery.autocomplete.pack.js +767 -0
  762. data/test/rails_root/public/javascripts/jquery/jquery.easing.js +1 -0
  763. data/test/rails_root/public/javascripts/jquery/jquery.fancybox.js +16 -0
  764. data/test/rails_root/public/javascripts/jquery/jquery.metadata.min.js +13 -0
  765. data/test/rails_root/public/javascripts/jquery/jquery.queryString.js +33 -0
  766. data/test/rails_root/public/javascripts/jquery/jquery.swapimage.js +66 -0
  767. data/test/rails_root/public/javascripts/jquery/jquery.swapimage.min.js +11 -0
  768. data/test/rails_root/public/javascripts/jquery/jrails.js +1 -0
  769. data/test/rails_root/public/javascripts/muck.js +51 -18
  770. data/test/rails_root/public/javascripts/muck_time/en.js +53 -0
  771. data/test/rails_root/public/javascripts/tree.js +107 -0
  772. data/test/rails_root/public/stylesheets/jquery/jquery.autocomplete.css +15 -0
  773. data/test/rails_root/public/stylesheets/jquery/jquery.fancybox.css +38 -0
  774. data/test/rails_root/public/stylesheets/styles.css +7 -22
  775. metadata +745 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.21
1
+ 0.2.22
@@ -120,6 +120,30 @@ module MuckEngineHelper
120
120
  image_url << "&r=#{rating}"
121
121
  end
122
122
 
123
+ # Generates a css style for the given service
124
+ def service_icon_background(service)
125
+ if service.respond_to?(:icon)
126
+ service_name = service.icon
127
+ else
128
+ service_name = "#{service}.png"
129
+ end
130
+ %Q{style="background: transparent url('#{service_image(service_name, 24)}') no-repeat scroll left top;"}
131
+ end
132
+
133
+ # Builds a link to an image representing the service specified by name
134
+ # name: Name of a service. ie twitter, google, delicious, etc
135
+ # size: Size of the image to get. Valid values are 16, 24, 48 and 60
136
+ def service_image(name, size = 24)
137
+ %Q{/images/service_icons/#{size}/#{name}}
138
+ end
139
+
140
+ # Renders an icon for the given service
141
+ # Name is the name of the image file associated with the service
142
+ # Size can be one of 16, 24, 48 or 60.
143
+ def service_icon(name, size = 24)
144
+ %Q{<img src="/images/service_icons/#{size}/#{name}" />}
145
+ end
146
+
123
147
  # Generates a secure mailto link
124
148
  def secure_mail_to(email)
125
149
  mail_to email, nil, :encode => 'javascript'
@@ -0,0 +1,744 @@
1
+ module Muck
2
+ module Populate
3
+ def self.all
4
+ $KCODE = 'UTF8'
5
+ countries
6
+ us_states
7
+ uk_states
8
+ canada_states
9
+ languages
10
+ end
11
+
12
+ def self.countries
13
+ $KCODE = 'UTF8'
14
+ [
15
+ ['AD', 'Andorra'],
16
+ ['AE', 'United Arab Emirates'],
17
+ ['AF', 'Afghanistan'],
18
+ ['AG', 'Antigua and Barbuda'],
19
+ ['AI', 'Anguilla'],
20
+ ['AL', 'Albania'],
21
+ ['AM', 'Armenia'],
22
+ ['AN', 'Netherlands Antilles'],
23
+ ['AO', 'Angola'],
24
+ ['AQ', 'Antarctica'],
25
+ ['AR', 'Argentina'],
26
+ ['AS', 'American Samoa'],
27
+ ['AU', 'Austria'],
28
+ ['AS', 'Australia'],
29
+ ['AW', 'Aruba'],
30
+ ['AZ', 'Azerbaijan'],
31
+ ['BA', 'Bosnia and Herzegovina'],
32
+ ['BB', 'Barbados'],
33
+ ['BD', 'Bangladesh'],
34
+ ['BE', 'Belgium'],
35
+ ['BF', 'Burkina Faso'],
36
+ ['BH', 'Bahrain'],
37
+ ['BI', 'Burundi'],
38
+ ['BJ', 'Benin'],
39
+ ['BM', 'Bermuda'],
40
+ ['BO', 'Bolivia'],
41
+ ['BR', 'Brazil'],
42
+ ['BS', 'Bahamas'],
43
+ ['BT', 'Bhutan'],
44
+ ['BU', 'Bouvet Island'],
45
+ ['BV', 'Bulgaria'],
46
+ ['BW', 'Botswana'],
47
+ ['BX', 'Brunei Darussalam'],
48
+ ['BY', 'Belarus'],
49
+ ['BZ', 'Belize'],
50
+ ['CA', 'Canada', 2],
51
+ ['CC', 'Cocos (Keeling) Islands'],
52
+ ['CF', 'Central African Republic'],
53
+ ['CG', 'Congo'],
54
+ ['CH', 'Switzerland'],
55
+ ['CI', 'Cote D\'Ivoire (Ivory Coast)'],
56
+ ['CK', 'Cook Islands'],
57
+ ['CL', 'Chile'],
58
+ ['CM', 'Cameroon'],
59
+ ['CN', 'China'],
60
+ ['CO', 'Colombia'],
61
+ ['CR', 'Costa Rica'],
62
+ ['CU', 'Cuba'],
63
+ ['CV', 'Cape Verde'],
64
+ ['CX', 'Christmas Island'],
65
+ ['CY', 'Cyprus'],
66
+ ['CZ', 'Czech Republic'],
67
+ ['DE', 'Germany'],
68
+ ['DJ', 'Djibouti'],
69
+ ['DK', 'Denmark'],
70
+ ['DM', 'Dominica'],
71
+ ['DO', 'Dominican Republic'],
72
+ ['DZ', 'Algeria'],
73
+ ['EC', 'Ecuador'],
74
+ ['EE', 'Estonia'],
75
+ ['EG', 'Egypt'],
76
+ ['EH', 'Western Sahara'],
77
+ ['ER', 'Eritrea'],
78
+ ['ES', 'Spain'],
79
+ ['ET', 'Ethiopia'],
80
+ ['FI', 'Finland'],
81
+ ['FJ', 'Fiji'],
82
+ ['FK', 'Falkland Islands (Malvinas)'],
83
+ ['FM', 'Micronesia'],
84
+ ['FO', 'Faroe Islands'],
85
+ ['FR', 'France'],
86
+ ['GA', 'Gabon'],
87
+ ['GB', 'Great Britain (UK)'],
88
+ ['GD', 'Grenada'],
89
+ ['GE', 'Georgia'],
90
+ ['GF', 'French Guiana'],
91
+ ['GH', 'Ghana'],
92
+ ['GI', 'Gibraltar'],
93
+ ['GL', 'Greenland'],
94
+ ['GM', 'Gambia'],
95
+ ['GN', 'Guinea'],
96
+ ['GP', 'Guadeloupe'],
97
+ ['GQ', 'Equatorial Guinea'],
98
+ ['GR', 'Greece'],
99
+ ['GS', 'South Georgia and South Sandwich Islands'],
100
+ ['GT', 'Guatemala'],
101
+ ['GU', 'Guam'],
102
+ ['GW', 'Guinea-Bissau'],
103
+ ['GY', 'Guyana'],
104
+ ['HK', 'Hong Kong'],
105
+ ['HM', 'Heard and McDonald Islands'],
106
+ ['HN', 'Honduras'],
107
+ ['HR', 'Croatia and Hrvatska'],
108
+ ['HT', 'Haiti'],
109
+ ['HU', 'Hungary'],
110
+ ['ID', 'Indonesia'],
111
+ ['IE', 'Ireland'],
112
+ ['IL', 'Israel'],
113
+ ['IN', 'India'],
114
+ ['IO', 'British Indian Ocean Territory'],
115
+ ['IQ', 'Iraq'],
116
+ ['IR', 'Iran'],
117
+ ['IS', 'Iceland'],
118
+ ['IT', 'Italy'],
119
+ ['JM', 'Jamaica'],
120
+ ['JO', 'Jordan'],
121
+ ['JP', 'Japan'],
122
+ ['KE', 'Kenya'],
123
+ ['KG', 'Kyrgyzstan'],
124
+ ['KH', 'Cambodia'],
125
+ ['KI', 'Kiribati'],
126
+ ['KM', 'Comoros'],
127
+ ['KN', 'Saint Kitts and Nevis'],
128
+ ['KP', 'Korea North'],
129
+ ['KR', 'Korea South'],
130
+ ['KW', 'Kuwait'],
131
+ ['KY', 'Cayman Islands'],
132
+ ['KZ', 'Kazakhstan'],
133
+ ['LA', 'Laos'],
134
+ ['LB', 'Lebanon'],
135
+ ['LC', 'Saint Lucia'],
136
+ ['LI', 'Liechtenstein'],
137
+ ['LK', 'Sri Lanka'],
138
+ ['LR', 'Liberia'],
139
+ ['LS', 'Lesotho'],
140
+ ['LT', 'Lithuania'],
141
+ ['LU', 'Luxembourg'],
142
+ ['LV', 'Latvia'],
143
+ ['LY', 'Libya'],
144
+ ['MA', 'Morocco'],
145
+ ['MC', 'Monaco'],
146
+ ['MD', 'Moldova'],
147
+ ['MG', 'Madagascar'],
148
+ ['MH', 'Marshall Islands'],
149
+ ['MK', 'Macedonia'],
150
+ ['ML', 'Mali'],
151
+ ['MM', 'Myanmar'],
152
+ ['MN', 'Mongolia'],
153
+ ['MO', 'Macau'],
154
+ ['MP', 'Northern Mariana Islands'],
155
+ ['MQ', 'Martinique'],
156
+ ['MR', 'Mauritania'],
157
+ ['MS', 'Montserrat'],
158
+ ['MT', 'Malta'],
159
+ ['MU', 'Mauritius'],
160
+ ['MV', 'Maldives'],
161
+ ['MW', 'Malawi'],
162
+ ['MX', 'Mexico'],
163
+ ['MY', 'Malaysia'],
164
+ ['MZ', 'Mozambique'],
165
+ ['NA', 'Namibia'],
166
+ ['NC', 'New Caledonia'],
167
+ ['NE', 'Niger'],
168
+ ['NF', 'Norfolk Island'],
169
+ ['NG', 'Nigeria'],
170
+ ['NI', 'Nicaragua'],
171
+ ['NE', 'Netherlands'],
172
+ ['NO', 'Norway'],
173
+ ['NP', 'Nepal'],
174
+ ['NR', 'Nauru'],
175
+ ['NU', 'Niue'],
176
+ ['NZ', 'New Zealand'],
177
+ ['OM', 'Oman'],
178
+ ['PA', 'Panama'],
179
+ ['PE', 'Peru'],
180
+ ['PF', 'French Polynesia'],
181
+ ['PG', 'Papua New Guinea'],
182
+ ['PH', 'Philippines'],
183
+ ['PK', 'Pakistan'],
184
+ ['PO', 'Poland'],
185
+ ['PM', 'St. Pierre and Miquelon'],
186
+ ['PN', 'Pitcairn'],
187
+ ['PR', 'Puerto Rico'],
188
+ ['PT', 'Portugal'],
189
+ ['PW', 'Palau'],
190
+ ['PY', 'Paraguay'],
191
+ ['QA', 'Qatar'],
192
+ ['RE', 'Reunion'],
193
+ ['RO', 'Romania'],
194
+ ['RU', 'Russian Federation'],
195
+ ['RW', 'Rwanda'],
196
+ ['SA', 'Saudi Arabia'],
197
+ ['SB', 'Solomon Islands'],
198
+ ['SC', 'Seychelles'],
199
+ ['SD', 'Sudan'],
200
+ ['SE', 'Sweden'],
201
+ ['SG', 'Singapore'],
202
+ ['SH', 'St. Helena'],
203
+ ['SI', 'Slovenia'],
204
+ ['SJ', 'Svalbard and Jan Mayen Islands'],
205
+ ['SK', 'Slovak Republic'],
206
+ ['SL', 'Sierra Leone'],
207
+ ['SM', 'San Marino'],
208
+ ['SN', 'Senegal'],
209
+ ['SO', 'Somalia'],
210
+ ['SR', 'Suriname'],
211
+ ['ST', 'Sao Tome and Principe'],
212
+ ['SV', 'El Salvador'],
213
+ ['SY', 'Syria'],
214
+ ['SZ', 'Swaziland'],
215
+ ['TC', 'Turks and Caicos Islands'],
216
+ ['TD', 'Chad'],
217
+ ['TF', 'French Southern Territories'],
218
+ ['TG', 'Togo'],
219
+ ['TH', 'Thailand'],
220
+ ['TI', 'Tajikistan'],
221
+ ['TK', 'Tokelau'],
222
+ ['TM', 'Turkmenistan'],
223
+ ['TN', 'Tunisia'],
224
+ ['TO', 'Tonga'],
225
+ ['TP', 'East Timor'],
226
+ ['TR', 'Turkey'],
227
+ ['TT', 'Trinidad and Tobago'],
228
+ ['TV', 'Tuvalu'],
229
+ ['TW', 'Tahean'],
230
+ ['TZ', 'Tanzania'],
231
+ ['UA', 'Ukraine'],
232
+ ['UG', 'Uganda'],
233
+ ['UK', 'United Kingdom', 3],
234
+ ['UM', 'US Minor Outlying Islands'],
235
+ ['US', 'United States of America (USA)', 1],
236
+ ['UY', 'Uruguay'],
237
+ ['UZ', 'Uzbekistan'],
238
+ ['VA', 'Vatican City State'],
239
+ ['VC', 'Saint Vincent and the Grenadines'],
240
+ ['VE', 'Venezuela'],
241
+ ['VG', 'Virgin Islands (British)'],
242
+ ['VN', 'Viet Nam'],
243
+ ['VU', 'Vanuatu'],
244
+ ['WF', 'Wallis and Futuna Islands'],
245
+ ['WS', 'Samoa'],
246
+ ['YE', 'Yemen'],
247
+ ['YT', 'Mayotte'],
248
+ ['YU', 'Yugoslavia'],
249
+ ['ZA', 'South Africa'],
250
+ ['ZM', 'Zambia'],
251
+ ['ZR', 'Zaire'],
252
+ ['ZW', 'Zimbabwe']
253
+ ].each {|c| Country.create(:abbreviation => c[0], :name => c[1], :sort => (c.length >= 3 ? c[2] : 1000 )) unless Country.find_by_name(c[1]) }
254
+ end
255
+
256
+ def self.us_states
257
+ us_id = Country.find_by_abbreviation('US').id
258
+
259
+ [
260
+ ['Alaska', 'AK', us_id],
261
+ ['Alabama', 'AL', us_id],
262
+ # ['AMERICAN SAMOA', 'AS', us_id],
263
+ ['Arkansas', 'AR', us_id],
264
+ ['Arizona', 'AZ', us_id],
265
+ ['California', 'CA', us_id],
266
+ ['Colorado', 'CO', us_id],
267
+ ['Connecticut', 'CT', us_id],
268
+ ['District of Columbia', 'DC', us_id],
269
+ ['Washington, DC', 'DC', us_id],
270
+ ['Delaware', 'DE', us_id],
271
+ ['Florida', 'FL', us_id],
272
+ # ['FEDERATED STATES OF MICRONESIA', 'FM', us_id],
273
+ ['Georgia', 'GA', us_id],
274
+ # ['GUAM', 'GU', us_id],
275
+ ['Hawaii', 'HI', us_id],
276
+ ['Iowa', 'IA', us_id],
277
+ ['Idaho', 'ID', us_id],
278
+ ['Illinois', 'IL', us_id],
279
+ ['Indiana', 'IN', us_id],
280
+ ['Kansas', 'KS', us_id],
281
+ ['Kentucky', 'KY', us_id],
282
+ ['Louisiana', 'LA', us_id],
283
+ ['Massachusetts', 'MA', us_id],
284
+ ['Maryland', 'MD', us_id],
285
+ ['Maine', 'ME', us_id],
286
+ # ['MARSHALL ISLANDS', 'MH', us_id],
287
+ ['Michigan', 'MI', us_id],
288
+ ['Minnesota', 'MN', us_id],
289
+ ['Missouri', 'MO', us_id],
290
+ # ['NORTHERN MARIANA ISLANDS', 'MP', us_id],
291
+ ['Mississippi', 'MS', us_id],
292
+ ['Montana', 'MT', us_id],
293
+ ['North Carolina', 'NC', us_id],
294
+ ['North Dakota', 'ND', us_id],
295
+ ['Nebraska', 'NE', us_id],
296
+ ['New Hampshire', 'NH', us_id],
297
+ ['New Jersey', 'NJ', us_id],
298
+ ['New Mexico', 'NM', us_id],
299
+ ['Nevada', 'NV', us_id],
300
+ ['New York', 'NY', us_id],
301
+ ['Ohio', 'OH', us_id],
302
+ ['Oklahoma', 'OK', us_id],
303
+ ['Oregon', 'OR', us_id],
304
+ ['Pennsylvania', 'PA', us_id],
305
+ ['Puerto Rico', 'PR', us_id],
306
+ # ['PALAU', 'PW', us_id],
307
+ ['Rhode Island', 'RI', us_id],
308
+ ['South Carolina', 'SC', us_id],
309
+ ['South Dakota', 'SD', us_id],
310
+ ['Tennessee', 'TN', us_id],
311
+ ['Texas', 'TX', us_id],
312
+ ['Utah', 'UT', us_id],
313
+ ['Virginia', 'VA', us_id],
314
+ # ['VIRGIN ISLANDS', 'VI', us_id],
315
+ ['Vermont', 'VT', us_id],
316
+ ['Washington', 'WA', us_id],
317
+ ['Wisconsin', 'WI', us_id],
318
+ ['West Virginia', 'WV', us_id],
319
+ ['Wyoming', 'WY', us_id]
320
+ ].each {|s| State.create(:name => s[0], :abbreviation => s[1], :country_id => s[2]) unless State.find_by_name(s[0]) }
321
+ end
322
+
323
+ def self.uk_states
324
+ # The UK
325
+ # ireland_id = Country.find_by_abbreviation('IE').id
326
+ # northern_ireland_id = Country.find_by_abbreviation('NIR').id
327
+ # scotland_id = Country.find_by_abbreviation('SCT').id
328
+ # england_id = Country.find_by_abbreviation('ENG').id
329
+ # wales_id = Country.find_by_abbreviation('WAL').id
330
+ # channel_islands_id = Country.find_by_abbreviation('CHI').id
331
+
332
+ ireland_id = Country.find_by_abbreviation('IE').id
333
+ scotland_id = Country.find_by_abbreviation('UK').id
334
+ england_id = Country.find_by_abbreviation('UK').id
335
+ wales_id = Country.find_by_abbreviation('UK').id
336
+
337
+ [
338
+ # Scotland
339
+ #['Aberdeen', 'ABD', scotland_id],
340
+ ['Aberdeenshire', 'ABD', scotland_id],
341
+ ['Angus (Forfarshire)', 'ANS', scotland_id],
342
+ #['Argyllshire', 'ARL', scotland_id],
343
+ ['Argyll', '', scotland_id],
344
+ #['Argyll and Bute', 'BUT', scotland_id],
345
+ ['Ayrshire', 'AYR', scotland_id],
346
+ ['Banffshire', 'BAN', scotland_id],
347
+ ['Berwickshire', 'BEW', scotland_id],
348
+ #['Borders', 'BOR', scotland_id],
349
+ ['Bute', 'BUT', scotland_id],
350
+ ['Caithness', 'CAI', scotland_id],
351
+ #['Central', 'CEN', scotland_id],
352
+ ['Clackmannanshire', 'CLK', scotland_id],
353
+ ['Dumfries-shire', 'DFS', scotland_id],
354
+ #['Dumfries and Galloway', 'DGY', scotland_id],
355
+ ['Dunbartonshire', 'DNB', scotland_id],
356
+ #['Dundee', '', scotland_id],
357
+ #['East Ayrshire', '', scotland_id],
358
+ #['East Dunbartonshire', '', scotland_id],
359
+ ['East Lothian', 'ELN', scotland_id],
360
+ #['East Renfrewshire', '', scotland_id],
361
+ #['Edinburgh', '', scotland_id],
362
+ #['Falkirk', '', scotland_id],
363
+ ['Fife', 'FIF', scotland_id],
364
+ #['Glasgow', '', scotland_id],
365
+ #['Grampian', 'GMP', scotland_id],
366
+ #['Highland', 'HLD', scotland_id],
367
+ ['Inverness-shire', 'INV', scotland_id],
368
+ ['Inverclyde', '', scotland_id],
369
+ ['Kincardineshire', 'KCD', scotland_id],
370
+ ['Kirkcudbrightshire', 'KKD', scotland_id],
371
+ ['Kinross-shire', 'KRS', scotland_id],
372
+ ['Lanarkshire (Glasgow)', 'LKS', scotland_id],
373
+ #['Lothian', 'LTN', scotland_id],
374
+ ['Midlothian (Edinburgh)', 'MLN', scotland_id],
375
+ ['Moray', '', scotland_id],
376
+ #['Morayshire', 'MOR', scotland_id],
377
+ #['North Ayrshire', '', scotland_id],
378
+ #['North Lanarkshire', '', scotland_id],
379
+ #['Nairn', 'NAI', scotland_id],
380
+ ['Nairnshire', 'NAI', scotland_id],
381
+ ['Orkney', 'OKI', scotland_id],
382
+ ['Peeblesshire', 'PEE', scotland_id],
383
+ ['Perthshire', 'PER', scotland_id],
384
+ #['Perth and Kinross', '', scotland_id],
385
+ ['Renfrewshire', 'RFW', scotland_id],
386
+ ['Ross and Cromarty', 'ROC', scotland_id],
387
+ ['Roxburghshire', 'ROX', scotland_id],
388
+ #['Scottish Borders', '', scotland_id],
389
+ ['Selkirkshire', 'SEL', scotland_id],
390
+ ['Shetland', 'SHI', scotland_id],
391
+ #['South Ayrshire', '', scotland_id],
392
+ #['South Lanarkshire', '', scotland_id],
393
+ #['Strathclyde', 'STD', scotland_id],
394
+ #['Stirling', 'STI', scotland_id],
395
+ ['Stirlingshire', 'STI', scotland_id],
396
+ ['Sutherland', 'SUT', scotland_id],
397
+ #['Tayside', 'TAY', scotland_id],
398
+ #['Wigtownshire', 'WIG', scotland_id],
399
+ ['Western Isles', 'WIS', scotland_id],
400
+ #['West Dunbartonshire', '', scotland_id],
401
+ ['West Lothian', 'WLN', scotland_id],
402
+ ['Wigtownshire', '', scotland_id],
403
+
404
+ # Wales
405
+ #['Anglesey', 'AGY', wales_id],
406
+ #['Breconshire', 'BRE', wales_id],
407
+ #['Caernarvonshire', 'CAE', wales_id],
408
+ #['Cardiganshire', 'CGN', wales_id],
409
+ #['Carmarthenshire', 'CMN', wales_id],
410
+ ['Clwyd', 'CWD', wales_id],
411
+ #['Denbighshire', 'DEN', wales_id],
412
+ ['Dyfed', 'DFD', wales_id],
413
+ #['Flintshire', 'FLN', wales_id],
414
+ #['Glamorgan', 'GLA', wales_id],
415
+ ['Gwent', 'GNT', wales_id],
416
+ ['Gwynedd', 'GWN', wales_id],
417
+ #['Merionethshire', 'MER', wales_id],
418
+ ['Mid Glamorgan', 'MGM', wales_id],
419
+ #['Montgomeryshire', 'MGY', wales_id],
420
+ #['Monmouthshire', 'MON', wales_id],
421
+ #['Pembrokeshire', 'PEM', wales_id],
422
+ ['Powys', 'POW', wales_id],
423
+ #['Radnorshire', 'RAD', wales_id],
424
+ ['South Glamorgan', 'SGM', wales_id],
425
+ ['West Glamorgan', 'WGM', wales_id],
426
+
427
+ # Channel Islands
428
+ # ['Alderney', 'ALD', channel_islands_id],
429
+ # ['Guernsey', 'GSY', channel_islands_id],
430
+ # ['Jersey', 'JSY', channel_islands_id],
431
+ # ['Sark', 'SRK', channel_islands_id],
432
+
433
+ # England
434
+ #['Avon', 'AVN', england_id],
435
+ ['Bedfordshire', 'BDF', england_id],
436
+ ['Buckinghamshire', 'BKM', england_id],
437
+ ['Berkshire', 'BRK', england_id],
438
+ ['Bristol', 'BST', england_id],
439
+ ['Cambridgeshire', 'CAM', england_id],
440
+ ['Cheshire', 'CHS', england_id],
441
+ #['Cleveland', 'CLV', england_id],
442
+ ['Cumbria', 'CMA', england_id],
443
+ ['Cornwall', 'CON', england_id],
444
+ #['Cumberland', 'CUL', england_id],
445
+ ['Derbyshire', 'DBY', england_id],
446
+ ['Devon', 'DEV', england_id],
447
+ ['Dorset', 'DOR', england_id],
448
+ ['Durham', 'DUR', england_id],
449
+ ['East Riding of Yorkshire', 'ERY', england_id],
450
+ ['East Sussex', 'SXE', england_id],
451
+ ['Essex', 'ESS', england_id],
452
+ ['Gloucestershire', 'GLS', england_id],
453
+ ['Greater London', '', england_id],
454
+ ['Greater Manchester', 'GTM', england_id],
455
+ ['Hampshire', 'HAM', england_id],
456
+ ['Herefordshire', 'HEF', england_id],
457
+ ['Hertfordshire', 'HRT', england_id],
458
+ #['Humberside', 'HUM', england_id],
459
+ #['Huntingdonshire', 'HUN', england_id],
460
+ #['Hereford and Worcester', 'HWR', england_id],
461
+ ['Isle of Wight', 'IOW', england_id],
462
+ ['Kent', 'KEN', england_id],
463
+ ['Lancashire', 'LAN', england_id],
464
+ ['Leicestershire', 'LEI', england_id],
465
+ ['Lincolnshire', 'LIN', england_id],
466
+ ['London', '', england_id],
467
+ ['Merseyside', 'MSY', england_id],
468
+ ['Northumberland', 'NBL', england_id],
469
+ ['Norfolk', 'NFK', england_id],
470
+ #['North Riding of Yorkshire', 'NRY', england_id],
471
+ ['Northamptonshire', 'NTH', england_id],
472
+ ['Nottinghamshire', 'NTT', england_id],
473
+ ['North Yorkshire', 'NYK', england_id],
474
+ ['Oxfordshire', 'OXF', england_id],
475
+ ['Rutland', 'RUT', england_id],
476
+ ['Shropshire', 'SAL', england_id],
477
+ ['Suffolk', 'SFK', england_id],
478
+ ['Somerset', 'SOM', england_id],
479
+ ['South Yorkshire', 'SYK', england_id],
480
+ ['Surrey', 'SRY', england_id],
481
+ #['Sussex', 'SSX', england_id],
482
+ ['Staffordshire', 'STS', england_id],
483
+ ['Tyne and Wear', 'TWR', england_id],
484
+ ['Warwickshire', 'WAR', england_id],
485
+ #['Westmorland', 'WES', england_id],
486
+ ['West Sussex', 'SXW', england_id],
487
+ ['West Midlands', 'WMD', england_id],
488
+ #['West Riding of Yorkshire', 'WRY', england_id],
489
+ ['West Yorkshire', 'WYK', england_id],
490
+ ['Worcestershire', 'WOR', england_id],
491
+ ['Wiltshire', 'WIL', england_id],
492
+ #['Yorkshire', 'YKS', england_id],
493
+
494
+ # Northern Ireland - Listed under Ireland
495
+ ['Antrim', 'ANT', ireland_id],
496
+ ['Armagh', 'ARM', ireland_id],
497
+ ['Down', 'DOW', ireland_id],
498
+ ['Fermanagh', 'FER', ireland_id],
499
+ ['Londonderry', 'LDY', ireland_id],
500
+ ['Tyrone', 'TYR', ireland_id],
501
+
502
+ # Ireland
503
+ ['Carlow', 'CAR', ireland_id],
504
+ ['Cavan', 'CAV', ireland_id],
505
+ ['Clare', 'CLA', ireland_id],
506
+ ['Cork', 'COR', ireland_id],
507
+ ['Donegal', 'DON', ireland_id],
508
+ ['Dublin', 'DUB', ireland_id],
509
+ ['Galway', 'GAL', ireland_id],
510
+ ['Kerry', 'KER', ireland_id],
511
+ ['Kildare', 'KID', ireland_id],
512
+ ['Kilkenny', 'KIK', ireland_id],
513
+ ['Leitrim', 'LET', ireland_id],
514
+ ['Laois', 'LEX', ireland_id],
515
+ ['Limerick', 'LIM', ireland_id],
516
+ ['Longford', 'LOG', ireland_id],
517
+ ['Louth', 'LOU', ireland_id],
518
+ ['Mayo', 'MAY', ireland_id],
519
+ ['Meath', 'MEA', ireland_id],
520
+ ['Monaghan', 'MOG', ireland_id],
521
+ ['Offaly', 'OFF', ireland_id],
522
+ ['Roscommon', 'ROS', ireland_id],
523
+ ['Sligo', 'SLI', ireland_id],
524
+ ['Tipperary', 'TIP', ireland_id],
525
+ ['Waterford', 'WAT', ireland_id],
526
+ ['Westmeath', 'WEM', ireland_id],
527
+ ['Wexford', 'WEX', ireland_id],
528
+ ['Wicklow', 'WIC', ireland_id]
529
+ ].each {|s| State.create(:name => s[0], :abbreviation => s[1], :country_id => s[2]) unless State.find_by_name(s[0]) }
530
+ end
531
+
532
+ def self.canada_states
533
+ # Canadian Provinces
534
+ ca_id = Country.find_by_abbreviation('CA').id
535
+ [
536
+ ['Alberta', 'AB', ca_id],
537
+ ['British Columbia', 'BC', ca_id],
538
+ ['Manitoba', 'MB', ca_id],
539
+ ['New Brunswick', 'NB', ca_id],
540
+ ['Newfoundland and Labrador', 'NL', ca_id],
541
+ ['Northwest Territories', 'NT', ca_id],
542
+ ['Nova Scotia', 'NS', ca_id],
543
+ ['Nunavut', 'NU', ca_id],
544
+ ['Ontario', 'ON', ca_id],
545
+ ['Prince Edward Island', 'PE', ca_id],
546
+ ['Quebec', 'QC', ca_id],
547
+ ['Saskatchewan', 'SK', ca_id],
548
+ ['Yukon Territory', 'YT', ca_id],
549
+ ].each {|s| State.create(:name => s[0], :abbreviation => s[1], :country_id => s[2]) unless State.find_by_name(s[0]) }
550
+ end
551
+
552
+ def self.languages
553
+ $KCODE = 'UTF8'
554
+ # Languages
555
+ [
556
+ ['Afar', 'Afaraf', false, 'aa', false],
557
+ ['Аҧсуа', 'Abkhazian', false, 'ab', false],
558
+ ['avesta', 'Avestan', false, 'ae', false],
559
+ ['Afrikaans', 'Afrikaans', false, 'af', false],
560
+ ['Akan', 'Akan', false, 'ak', false],
561
+ ['አማርኛ', 'Amharic', false, 'am', false],
562
+ ['Aragonés', 'Aragonese', false, 'an', false],
563
+ ['العربية', 'Arabic', false, 'ar', true],
564
+ ['অসমীয়া', 'Assamese', false, 'as', false],
565
+ ['авар мацӀ', 'Avaric', false, 'av', false],
566
+ ['aymar aru', 'Aymara', false, 'ay', false],
567
+ ['azərbaycan dili', 'Azerbaijani', false, 'az', false],
568
+ ['башҡорт теле', 'Bashkir', false, 'ba', false],
569
+ ['Беларуская', 'Belarusian', false, 'be', false],
570
+ ['български език', 'Bulgarian', false, 'bg', true],
571
+ ['भोजपुरी', 'Bihari', false, 'bh', false],
572
+ ['Bislama', 'Bislama', false, 'bi', false],
573
+ ['bamanankan', 'Bambara', false, 'bm', false],
574
+ ['বাংলা', 'Bengali', false, 'bn', false],
575
+ ['བོད་ཡིག', 'Tibetan', false, 'bo', false],
576
+ ['brezhoneg', 'Breton', false, 'br', false],
577
+ ['bosanski jezik', 'Bosnian', false, 'bs', false],
578
+ ['Català', 'Catalan', false, 'ca', true],
579
+ ['нохчийн мотт', 'Chechen', false, 'ce', false],
580
+ ['Chamoru', 'Chamorro', false, 'ch', false],
581
+ ['corsu', 'Corsican', false, 'co', false],
582
+ ['ᓀᐦᐃᔭᐍᐏᐣ', 'Croation', false, 'cr', true],
583
+ ['česky', 'Czech', false, 'cs', true],
584
+ ['ѩзыкъ словѣньскъ', 'Church', false, 'cu', false],
585
+ ['чӑваш чӗлхи', 'Chuvash', false, 'cv', false],
586
+ ['Cymraeg', 'Welsh', false, 'cy', false],
587
+ ['dansk', 'Danish', false, 'da', true],
588
+ ['Deutsch', 'German', false, 'de', true],
589
+ ['ދިވެހި', 'Divehi', false, 'dv', false],
590
+ ['རྫོང་ཁ', 'Dzongkha', false, 'dz', false],
591
+ ['Ɛʋɛgbɛ', 'Ewe', false, 'ee', false],
592
+ ['Ελληνικά', 'Greek', false, 'el', true],
593
+ ['English', 'English', true, 'en', true],
594
+ ['Esperanto', 'Esperanto', false, 'eo', false],
595
+ ['Español', 'Spanish', false, 'es', true],
596
+ ['eesti', 'Estonian', false, 'et', false],
597
+ ['euskara', 'Basque', false, 'eu', false],
598
+ ['فارسی', 'Persian', false, 'fa', false],
599
+ ['Fulfulde', 'Fulah', false, 'ff', false],
600
+ ['suomi', 'Finnish', false, 'fi', true],
601
+ ['vosa Vakaviti', 'Fijian', false, 'fj', false],
602
+ ['Føroyskt', 'Faroese', false, 'fo', false],
603
+ ['Français', 'French', false, 'fr', true],
604
+ ['Frisian', 'Western', false, 'fy', false],
605
+ ['Gaeilge', 'Irish', false, 'ga', false],
606
+ ['Gaelic', 'Scottish', false, 'gd', false],
607
+ ['Galego', 'Galician', false, 'gl', false],
608
+ ['Avañeẽ', 'Guaraní', false, 'gn', false],
609
+ ['ગુજરાતી', 'Gujarati', false, 'gu', false],
610
+ ['Gaelg', 'Manx', false, 'gv', false],
611
+ ['هَوُسَ', 'Hausa', false, 'ha', false],
612
+ ['עברית', 'Hebrew', false, 'he', true],
613
+ ['हिन्दी', 'Hindi', false, 'hi', true],
614
+ ['Hiri Motu', 'Hiri', false, 'ho', false],
615
+ ['Hrvatski', 'Croatian', false, 'hr', false],
616
+ ['Kreyòl ayisyen', 'Haitian', false, 'ht', false],
617
+ ['Magyar', 'Hungarian', false, 'hu', false],
618
+ ['Հայերեն', 'Armenian', false, 'hy', false],
619
+ ['Otjiherero', 'Herero', false, 'hz', false],
620
+ ['Bahasa Indonesia', 'Indonesian', false, 'id', true],
621
+ ['Interlingue', 'Interlingue', false, 'ie', false],
622
+ ['Igbo', 'Igbo', false, 'ig', false],
623
+ ['ꆇꉙ', 'Sichuan', false, 'ii', false],
624
+ ['Iñupiaq', 'Inupiaq', false, 'ik', false],
625
+ ['Ido', 'Ido', false, 'io', false],
626
+ ['Íslenska', 'Icelandic', false, 'is', false],
627
+ ['Italiano', 'Italian', false, 'it', true],
628
+ ['ᐃᓄᒃᑎᑐᑦ', 'Inuktitut', false, 'iu', false],
629
+ ['日本語', 'Japanese', false, 'ja', true],
630
+ ['basa Jawa', 'Javanese', false, 'jv', false],
631
+ ['ქართული', 'Georgian', false, 'ka', false],
632
+ ['KiKongo', 'Kongo', false, 'kg', false],
633
+ ['Gĩkũyũ', 'Kikuyu', false, 'ki', false],
634
+ ['Kuanyama', 'Kwanyama', false, 'kj', false],
635
+ ['Қазақ тілі', 'Kazakh', false, 'kk', false],
636
+ ['kalaallisut', 'Kalaallisut', false, 'kl', false],
637
+ ['ភាសាខ្មែរ', 'Khmer', false, 'km', false],
638
+ ['ಕನ್ನಡ', 'Kannada', false, 'kn', false],
639
+ ['한국어', 'Korean', false, 'ko', true],
640
+ ['Kanuri', 'Kanuri', false, 'kr', false],
641
+ ['कश्मीरी', 'Kashmiri', false, 'ks', false],
642
+ ['Kurdî', 'Kurdish', false, 'ku', false],
643
+ ['коми кыв', 'Komi', false, 'kv', false],
644
+ ['Kernewek', 'Cornish', false, 'kw', false],
645
+ ['кыргыз тили', 'Kirghiz', false, 'ky', false],
646
+ ['latine', 'Latin', false, 'la', false],
647
+ ['Lëtzebuergesch', 'Luxembourgish', false, 'lb', false],
648
+ ['Luganda', 'Ganda', false, 'lg', false],
649
+ ['Limburgs', 'Limburgish', false, 'li', false],
650
+ ['Lingála', 'Lingala', false, 'ln', false],
651
+ ['ພາສາລາວ', 'Lao', false, 'lo', false],
652
+ ['lietuvių kalba', 'Lithuanian', false, 'lt', true],
653
+ ['Luba-Katanga', 'Luba-Katanga', false, 'lu', false],
654
+ ['latviešu valoda', 'Latvian', false, 'lv', true],
655
+ ['Malagasy fiteny', 'Malagasy', false, 'mg', false],
656
+ ['Kajin M̧ajeļ', 'Marshallese', false, 'mh', false],
657
+ ['te reo Māori', 'Māori', false, 'mi', false],
658
+ ['македонски јазик', 'Macedonian', false, 'mk', false],
659
+ ['മലയാളം', 'Malayalam', false, 'ml', false],
660
+ ['Монгол', 'Mongolian', false, 'mn', false],
661
+ ['मराठी', 'Marathi', false, 'mr', false],
662
+ ['bahasa Melayu', 'Malay', false, 'ms', false],
663
+ ['Malti', 'Maltese', false, 'mt', false],
664
+ ['ဗမာစာ', 'Burmese', false, 'my', false],
665
+ ['Ekakairũ Naoero', 'Nauru', false, 'na', false],
666
+ ['Bokmål Norsk bokmål', 'Norwegian', false, 'nb', false],
667
+ ['Ndebele isiNdebele', 'North', false, 'nd', false],
668
+ ['नेपाली', 'Nepali', false, 'ne', false],
669
+ ['Owambo', 'Ndonga', false, 'ng', false],
670
+ ['Nederlands', 'Dutch', false, 'nl', true],
671
+ ['Nynorsk Norsk nynorsk', 'Norwegian', false, 'nn', false],
672
+ ['Norsk', 'Norwegian', false, 'no', true],
673
+ ['Ndebele isiNdebele', 'South', false, 'nr', false],
674
+ ['Diné bizaad', 'Navajo', false, 'nv', false],
675
+ ['chiCheŵa', 'Chichewa', false, 'ny', false],
676
+ ['Occitan', 'Occitan', false, 'oc', false],
677
+ ['ᐊᓂᔑᓈᐯᒧᐎᓐ', 'Ojibwa', false, 'oj', false],
678
+ ['Afaan Oromoo', 'Oromo', false, 'om', false],
679
+ ['ଓଡ଼ିଆ', 'Oriya', false, 'or', false],
680
+ ['Ирон æвзаг', 'Ossetian', false, 'os', false],
681
+ ['ਪੰਜਾਬੀ', 'Panjabi', false, 'pa', false],
682
+ ['पाऴि', 'Pāli', false, 'pi', false],
683
+ ['polski', 'Polish', false, 'pl', true],
684
+ ['پښتو', 'Pashto', false, 'ps', false],
685
+ ['Português', 'Portuguese', false, 'pt', true],
686
+ ['Runa Simi', 'Quechua', false, 'qu', false],
687
+ ['rumantsch grischun', 'Raeto-Romance', false, 'rm', false],
688
+ ['kiRundi', 'Kirundi', false, 'rn', false],
689
+ ['română', 'Romanian', false, 'ro', true],
690
+ ['русский язык', 'Russian', false, 'ru', true],
691
+ ['Ikinyarwanda', 'Kinyarwanda', false, 'rw', false],
692
+ ['संस्कृतम्', 'Sanskrit', false, 'sa', false],
693
+ ['sardu', 'Sardinian', false, 'sc', false],
694
+ ['सिन्धी', 'Sindhi', false, 'sd', false],
695
+ ['Sami Davvisámegiella', 'Northern', false, 'se', false],
696
+ ['yângâ tî sängö', 'Sango', false, 'sg', false],
697
+ ['සිංහල', 'Sinhala', false, 'si', false],
698
+ ['slovenčina', 'Slovak', false, 'sk', true],
699
+ ['slovenščina', 'Slovenian', false, 'sl', true],
700
+ ['gagana fa`a Samoa', 'Samoan', false, 'sm', false],
701
+ ['chiShona', 'Shona', false, 'sn', false],
702
+ ['Soomaaliga', 'Somali', false, 'so', false],
703
+ ['Shqip', 'Albanian', false, 'sq', false],
704
+ ['српски језик', 'Serbian', false, 'sr', true],
705
+ ['SiSwati', 'Swati', false, 'ss', false],
706
+ ['Sotho Sesotho', 'Southern', false, 'st', false],
707
+ ['Basa Sunda', 'Sundanese', false, 'su', false],
708
+ ['svenska', 'Swedish', false, 'sv', true],
709
+ ['Kiswahili', 'Swahili', false, 'sw', false],
710
+ ['தமிழ்', 'Tamil', false, 'ta', false],
711
+ ['తెలుగు', 'Telugu', false, 'te', false],
712
+ ['тоҷикӣ', 'Tajik', false, 'tg', false],
713
+ ['ไทย', 'Thai', false, 'th', false],
714
+ ['ትግርኛ', 'Tigrinya', false, 'ti', false],
715
+ ['Türkmen', 'Turkmen', false, 'tk', false],
716
+ ['Tagalog', 'Tagalog', false, 'tl', true],
717
+ ['Setswana', 'Tswana', false, 'tn', false],
718
+ ['faka Tonga', 'Tonga', false, 'to', false],
719
+ ['Türkçe', 'Turkish', false, 'tr', false],
720
+ ['Xitsonga', 'Tsonga', false, 'ts', false],
721
+ ['татарча', 'Tatar', false, 'tt', false],
722
+ ['Twi', 'Twi', false, 'tw', false],
723
+ ['Reo Mā`ohi', 'Tahitian', false, 'ty', false],
724
+ ['Uyƣurqə', 'Uighur', false, 'ug', false],
725
+ ['Українська', 'Ukrainian', false, 'uk', true],
726
+ ['اردو', 'Urdu', false, 'ur', false],
727
+ ['O`zbek', 'Uzbek', false, 'uz', false],
728
+ ['Tshivenḓa', 'Venda', false, 've', false],
729
+ ['Tiếng Việt', 'Vietnamese', false, 'vi', true],
730
+ ['Volapük', 'Volapük', false, 'vo', false],
731
+ ['Walon', 'Walloon', false, 'wa', false],
732
+ ['Wollof', 'Wolof', false, 'wo', false],
733
+ ['isiXhosa', 'Xhosa', false, 'xh', false],
734
+ ['ייִדיש', 'Yiddish', false, 'yi', false],
735
+ ['Yorùbá', 'Yoruba', false, 'yo', false],
736
+ ['Saɯ cueŋƅ', 'Zhuang', false, 'za', false],
737
+ ['中文', 'Chinese', false, 'zh-CN', true],
738
+ ['中文', 'Chinese Traditional', false, 'zh-TW', true],
739
+ ['isiZulu', 'Zulu', false, 'zu', false]
740
+ ].each {|l| Language.create(:name => l[0], :english_name => l[1], :is_default => l[2], :locale => l[3], :supported => l[4]) }
741
+ end
742
+
743
+ end
744
+ end