First stage of i18n. Some migrations and extra plugins.
authorShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 22 May 2009 18:36:17 +0000 (18:36 +0000)
committerShaun McDonald <shaun@shaunmcdonald.me.uk>
Fri, 22 May 2009 18:36:17 +0000 (18:36 +0000)
commit53b4d645d80cbe4ac397cfc004e8985317aed6a8
tree0b5dedc0f5156db9cb0587a6ffc23c23bfb0358c
parent6ac7f917344f600bccacdf10f93fa316929f9996
First stage of i18n. Some migrations and extra plugins.
82 files changed:
app/controllers/application.rb
app/controllers/diary_entry_controller.rb
app/models/diary_entry.rb
app/models/language.rb [new file with mode: 0644]
app/models/user.rb
app/views/diary_entry/_diary_entry.rhtml
app/views/diary_entry/edit.rhtml
config/initializers/available_locales.rb [new file with mode: 0644]
config/initializers/gpx.rb
config/locales/de.yml [new file with mode: 0644]
config/locales/en.yml [new file with mode: 0644]
config/locales/fr.yml [new file with mode: 0644]
db/migrate/032_add_user_locale.rb [new file with mode: 0644]
db/migrate/033_change_diary_entries_language.rb [new file with mode: 0644]
db/migrate/034_create_languages.rb [new file with mode: 0644]
test/fixtures/languages.yml [new file with mode: 0644]
test/unit/diary_entry_test.rb
test/unit/language_test.rb [new file with mode: 0644]
vendor/plugins/http_accept_language/MIT-LICENSE [new file with mode: 0644]
vendor/plugins/http_accept_language/README.rdoc [new file with mode: 0644]
vendor/plugins/http_accept_language/Rakefile [new file with mode: 0644]
vendor/plugins/http_accept_language/init.rb [new file with mode: 0644]
vendor/plugins/http_accept_language/lib/http_accept_language.rb [new file with mode: 0644]
vendor/plugins/http_accept_language/tasks/http_accept_language_tasks.rake [new file with mode: 0644]
vendor/plugins/http_accept_language/test/http_accept_language_test.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/.gitignore [new file with mode: 0644]
vendor/plugins/rails-i18n/README.textile [new file with mode: 0644]
vendor/plugins/rails-i18n/init.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/ar.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/bs.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/cz.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/da.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/de.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/ee.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/el.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/es-AR.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/es-MX.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/es.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/fa.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/fi.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/fr-CH.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/fr.yml [new file with mode: 0755]
vendor/plugins/rails-i18n/locale/fun/en-AU.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/fun/gibberish.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/gl-ES.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/he.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/hu.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/id.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/it.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/ja.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/ko.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/lt.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/mk.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/nl.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/no-NB.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/no-NN.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/pl.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/pt-BR.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/pt-PT.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/ro.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/ru.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/sr-Latn.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/sr.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/sv-SE.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/sw.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/th.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/tr.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/vi.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/zh-CN.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/locale/zh-TW.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/rails/action_view.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/rails/active_record.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/rails/active_support.yml [new file with mode: 0644]
vendor/plugins/rails-i18n/script/update.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/test/lib/key_structure.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/test/structure.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/tools/Rails I18n.tmbundle/Commands/Lookup Translation.tmCommand [new file with mode: 0644]
vendor/plugins/rails-i18n/tools/Rails I18n.tmbundle/Commands/extract translation.tmCommand [new file with mode: 0644]
vendor/plugins/rails-i18n/tools/Rails I18n.tmbundle/Support/lib/dictionary.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/tools/Rails I18n.tmbundle/Support/lib/rails_i18n.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/tools/Rails I18n.tmbundle/Support/lib/yaml_waml.rb [new file with mode: 0644]
vendor/plugins/rails-i18n/tools/Rails I18n.tmbundle/info.plist [new file with mode: 0644]