first batch of es translations

also enabled en fallbacks (this is only needed for things that don't
have an explicit default, like localize calls)

includes auto-generated js translation files

Change-Id: If246a6a96b1e9f6934f84ff6e65e0372a60d247a
Reviewed-on: https://gerrit.instructure.com/4597
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
This commit is contained in:
Jon Jensen 2011-07-07 15:39:04 -06:00
parent 68cd8cb31a
commit f2f004188d
10 changed files with 2938 additions and 9 deletions

View File

@ -34,6 +34,7 @@ javascripts:
- public/javascripts/license_help.js
- public/javascripts/wiki_sidebar.js
- public/javascripts/translations/_core.js
- public/javascripts/translations/common.js
speed_grader:
- public/javascripts/jquery.elastic.js
- public/javascripts/ui.selectmenu.js
@ -78,6 +79,7 @@ javascripts:
- public/javascripts/topic.js
account_statistics:
- public/javascripts/account_statistics.js
- public/javascripts/translations/account_statistics.js
assignments:
- public/javascripts/assignments.js
edit_rubric:
@ -99,6 +101,7 @@ javascripts:
- public/javascripts/collaborations.js
context_messages:
- public/javascripts/context_messages.js
- public/javascripts/translations/context_messages.js
context_modules:
- public/javascripts/context_modules.js
course_details:
@ -149,6 +152,7 @@ javascripts:
- public/javascripts/supercalc.js
- public/javascripts/calcCmd.js
- public/javascripts/quiz_rubric.js
- public/javascripts/translations/quizzes_bundle.js
quizzes_index:
- public/javascripts/quiz_index.js
- public/javascripts/content_locks.js
@ -194,6 +198,7 @@ javascripts:
- public/javascripts/user.js
manage_groups:
- public/javascripts/manage_groups.js
- public/javascripts/translations/manage_groups.js
manage_avatars:
- public/javascripts/manage_avatars.js
ie7:
@ -208,6 +213,7 @@ javascripts:
- public/javascripts/content_exports.js
conferences:
- public/javascripts/conferences.js
- public/javascripts/translations/conferences.js
stylesheets:
common:

View File

@ -1,5 +1,6 @@
I18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')] +
Dir[Rails.root.join('vendor', 'plugins', '*', 'config', 'locales', '**', '*.{rb,yml}')]
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
Gem.loaded_specs.values.each do |spec|
path = spec.full_gem_path

2902
config/locales/es.yml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,3 @@
var I18n = I18n || {};
(function($) {
var translations = {"en":{"datetime":{"prompts":{"day":"Day","second":"Seconds","month":"Month","year":"Year","minute":"Minute","hour":"Hour"},"distance_in_words":{"over_x_years":{"one":"over 1 year","other":"over %{count} years"},"less_than_x_minutes":{"one":"less than a minute","other":"less than %{count} minutes"},"about_x_months":{"one":"about 1 month","other":"about %{count} months"},"x_minutes":{"one":"1 minute","other":"%{count} minutes"},"almost_x_years":{"one":"almost 1 year","other":"almost %{count} years"},"x_months":{"one":"1 month","other":"%{count} months"},"x_seconds":{"one":"1 second","other":"%{count} seconds"},"less_than_x_seconds":{"one":"less than 1 second","other":"less than %{count} seconds"},"half_a_minute":"half a minute","about_x_hours":{"one":"about 1 hour","other":"about %{count} hours"},"about_x_years":{"one":"about 1 year","other":"about %{count} years"},"x_days":{"one":"1 day","other":"%{count} days"}}},"time":{"due_date":"%{date} by %{time}","am":"am","unknown_date":"Unknown date","ranges":{"different_days":"%{start_date_and_time} to %{end_date_and_time}","times":"%{start_time} to %{end_time}","same_day":"%{date} from %{start_time} to %{end_time}"},"with_ago":"%{time} ago","pm":"pm","event":"%{date} at %{time}","formats":{"tiny_on_the_hour":"%l%P","default":"%a, %d %b %Y %H:%M:%S %z","long":"%B %d, %Y %H:%M","short":"%d %b %H:%M","tiny":"%l:%M%P"}},"date":{"month_names":[null,"January","February","March","April","May","June","July","August","September","October","November","December"],"abbr_day_names":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"days":{"yesterday":"Yesterday","tomorrow":"Tomorrow","today":"Today", "today_lower":"today"},"day_names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"abbr_month_names":[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"formats":{"weekday":"%A","default":"%Y-%m-%d","medium":"%b %e, %Y","long":"%B %d, %Y","short":"%b %e"},"order":["year","month","day"]},"number":{"precision":{"format":{"delimiter":""}},"percentage":{"format":{"delimiter":""}},"currency":{"format":{"separator":".","precision":2,"format":"%u%n","delimiter":",","unit":"$"}},"format":{"separator":".","precision":3,"delimiter":","},"human":{"format":{"precision":1,"delimiter":""},"storage_units":{"units":{"gb":"GB","tb":"TB","kb":"KB","byte":{"one":"Byte","other":"Bytes"},"mb":"MB"},"format":"%n %u"}}}}};
if (I18n.translations) {
$.extend(true, I18n.translations, translations);
} else {
I18n.translations = translations;
}
})(jQuery);
// this file was auto-generated by rake i18n:generate_js.
// you probably shouldn't edit it directly
$.extend(true, (I18n = I18n || {}), {translations: {"es":{"date":{"days":{"today":"Hoy","yesterday":"Ayer","tomorrow":"Ma\u00f1ana"}},"time":{"ranges":{"times":"%{start_time} hasta %{end_time}","same_day":"%{date} desde %{start_time} hasta %{end_time}","different_days":"%{start_date_and_time} hasta %{end_date_and_time}"},"unknown_date":"Fecha desconocida","due_date":"%{date} hasta %{time}","event":"%{date} en %{time}"}},"en":{"datetime":{"prompts":{"day":"Day","minute":"Minute","second":"Seconds","month":"Month","year":"Year","hour":"Hour"},"distance_in_words":{"about_x_years":{"one":"about 1 year","other":"about %{count} years"},"x_days":{"one":"1 day","other":"%{count} days"},"over_x_years":{"one":"over 1 year","other":"over %{count} years"},"less_than_x_minutes":{"one":"less than a minute","other":"less than %{count} minutes"},"about_x_months":{"one":"about 1 month","other":"about %{count} months"},"x_minutes":{"one":"1 minute","other":"%{count} minutes"},"almost_x_years":{"one":"almost 1 year","other":"almost %{count} years"},"x_months":{"one":"1 month","other":"%{count} months"},"less_than_x_seconds":{"one":"less than 1 second","other":"less than %{count} seconds"},"half_a_minute":"half a minute","x_seconds":{"one":"1 second","other":"%{count} seconds"},"about_x_hours":{"one":"about 1 hour","other":"about %{count} hours"}}},"date":{"abbr_month_names":[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"month_names":[null,"January","February","March","April","May","June","July","August","September","October","November","December"],"abbr_day_names":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"days":{"today_lower":"today"},"day_names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"formats":{"default":"%Y-%m-%d","medium":"%b %e, %Y","weekday":"%A","short":"%b %e","long":"%B %d, %Y"},"order":["year","month","day"]},"time":{"pm":"pm","formats":{"tiny_on_the_hour":"%l%P","default":"%a, %d %b %Y %H:%M:%S %z","tiny":"%l:%M%P","short":"%d %b %H:%M","long":"%B %d, %Y %H:%M"},"am":"am"},"number":{"human":{"storage_units":{"units":{"kb":"KB","mb":"MB","byte":{"one":"Byte","other":"Bytes"},"gb":"GB","tb":"TB"},"format":"%n %u"},"format":{"delimiter":"","precision":1}},"format":{"delimiter":",","separator":".","precision":3},"precision":{"format":{"delimiter":""}},"percentage":{"format":{"delimiter":""}},"currency":{"format":{"delimiter":",","separator":".","unit":"$","format":"%u%n","precision":2}}}}}});

View File

@ -0,0 +1,3 @@
// this file was auto-generated by rake i18n:generate_js.
// you probably shouldn't edit it directly
$.extend(true, (I18n = I18n || {}), {translations: {"es":{"accounts":{"statistics":{"over_time_link":"sobre el tiempo"}}}}});

View File

@ -0,0 +1,11 @@
// this file was auto-generated by rake i18n:generate_js.
// you probably shouldn't edit it directly
var I18n = I18n || {};
(function($) {
var translations = {"es":{"time":{"event":"%{date} en %{time}","due_date":"%{date} hasta %{time}"}}};
if (I18n.translations) {
$.extend(true, I18n.translations, translations);
} else {
I18n.translations = translations;
}
})(jQuery);

View File

@ -0,0 +1,3 @@
// this file was auto-generated by rake i18n:generate_js.
// you probably shouldn't edit it directly
$.extend(true, (I18n = I18n || {}), {translations: {"es":{"conferences":{"index":{"buttons":{"create":"Crear una Conferencia"},"new_conference_heading":"Iniciar una Conferencia Nueva"}}}}});

View File

@ -0,0 +1,3 @@
// this file was auto-generated by rake i18n:generate_js.
// you probably shouldn't edit it directly
$.extend(true, (I18n = I18n || {}), {translations: {"es":{"subject_reply_to":"Re: %{subject}","context":{"inbox":{"buttons":{"mark_all_as_read":"Marcar Todos los Mensajes como Le\u00eddos"},"no_recipients":"Sin Destinatarios"}}}}});

View File

@ -0,0 +1,3 @@
// this file was auto-generated by rake i18n:generate_js.
// you probably shouldn't edit it directly
$.extend(true, (I18n = I18n || {}), {translations: {"es":{"groups":{"category":{"student":{"one":"1 estudiante","other":"%{count} estudiantes"}}}}}});

View File

@ -0,0 +1,3 @@
// this file was auto-generated by rake i18n:generate_js.
// you probably shouldn't edit it directly
$.extend(true, (I18n = I18n || {}), {translations: {"es":{"buttons":{"cancel":"Cancelar"}}}});