Go to file
Jon Jensen 4db746a1c0 don't allow locale names or codes to be overridden, fixes CNVS-14465
basically two changes:
1. ensure locales.yml is loaded last, to ensure we don't get any wonky
   overrides from translators
2. don't send those strings off for translation any more

test plan:
1. in a rails console w/ RAILS_LOAD_ALL_LOCALES=true, confirm that:
   >  I18n.backend.direct_lookup("nl", "qualified_locale")
  => "nl-NL"`
2. run `rake i18n:generate` and confirm that "qualified_locale" does
   not appear anywhere in ./config/locales/generated/en.yml
3. in canvas (w/ RAILS_LOAD_ALL_LOCALES=true), change your locale to
   "Nederlands (Crowd Sourced)"
4. confirm that you can still view wiki pages

Change-Id: I3923f58d7b9433a9e5e062e16e1556d79f845ae4
Reviewed-on: https://gerrit.instructure.com/38475
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
2014-07-31 16:48:58 +00:00
Gemfile.d bump switchman 2014-07-28 23:20:02 +00:00
app Ember Quiz Stats - Pre-activate answer set 2014-07-31 15:56:47 +00:00
bin add springified binstubs 2014-07-21 15:45:13 +00:00
config don't allow locale names or codes to be overridden, fixes CNVS-14465 2014-07-31 16:48:58 +00:00
db/migrate store last batch for data fixup 2014-07-30 21:59:41 +00:00
doc handle swagger exception for array objects 2014-07-17 14:45:51 +00:00
gems don't allow locale names or codes to be overridden, fixes CNVS-14465 2014-07-31 16:48:58 +00:00
guard output commented/nested css from guard 2014-05-16 15:32:54 +00:00
lib get rid of count(*) overrides query (take 2) 2014-07-31 16:10:21 +00:00
loom introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
public DS Quiz Moderate - Show proper extra allotted time 2014-07-31 15:48:52 +00:00
script loosen up migration_lint for rails 3 2014-07-31 15:40:53 +00:00
spec spec: speed up more slow model specs 2014-07-31 16:48:28 +00:00
vendor/plugins reload between jobs 2014-07-23 20:06:55 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.fontcustom-manifest.json Changes the path for fontcustom compile 2014-07-28 20:50:25 +00:00
.gitignore add springified binstubs 2014-07-21 15:45:13 +00:00
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md add a contributing doc for github coolness 2012-09-19 10:16:04 -06:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Gemfile Move google_docs code into a gem 2014-04-25 21:50:43 +00:00
Guardfile a way for accounts to opt-in to new styles and users to high-contrast 2014-04-17 19:47:05 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md remove travis.ci badge until we are re-enabled 2014-07-01 23:08:00 +00:00
Rakefile don't use a rake_tasks bundler group 2014-07-21 19:36:07 +00:00
bower.json [wip] magic modules 2014-07-28 21:24:37 +00:00
config.ru start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
karma.conf.js new avatars upload image function 2014-03-07 18:52:28 +00:00
package.json package.json should include compute-cluster in dependencies 2014-05-05 16:46:43 +00:00

README.md

Canvas LMS

Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.