Permalink
Browse files

Added translations for board columns

  • Loading branch information...
1 parent cb4e128 commit 3b833f50d045fb0c7ce078f54cae4c8066f4f960 @jgarcia jgarcia committed May 4, 2012
Showing with 16 additions and 4 deletions.
  1. +4 −4 app/views/projects/show.html.erb
  2. +6 −0 config/locales/en.yml
  3. +6 −0 config/locales/es.yml
@@ -9,29 +9,29 @@ $(function() {
project.current_user = new Fulcrum.User(<%= current_user.to_json.html_safe %>);
var doneColumn = new Fulcrum.ColumnView({
- id: 'done', name: 'Done', el: $('td.done_column'), sortable: false
+ id: 'done', name: '<%= t('.done') %>', el: $('td.done_column'), sortable: false
}).render();
$('#column-toggles').append(
new Fulcrum.ColumnVisibiltyButtonView({columnView: doneColumn}).render().el
);
var inProgressColumn = new Fulcrum.ColumnView({
- id: 'in_progress', name: 'In Progress', el: $('td.in_progress_column'),
+ id: 'in_progress', name: '<%= t('.in_progress') %>', el: $('td.in_progress_column'),
sortable: true
}).render();
$('#column-toggles').append(
new Fulcrum.ColumnVisibiltyButtonView({columnView: inProgressColumn}).render().el
);
var backlogColumn = new Fulcrum.ColumnView({
- id: 'backlog', name: 'Backlog', el: $('td.backlog_column'), sortable: true
+ id: 'backlog', name: '<%= t('.backlog') %>', el: $('td.backlog_column'), sortable: true
}).render();
$('#column-toggles').append(
new Fulcrum.ColumnVisibiltyButtonView({columnView: backlogColumn}).render().el
);
var chillyBinColumn = new Fulcrum.ColumnView({
- id: 'chilly_bin', name: 'Chilly Bin', el: $('td.chilly_bin_column'),
+ id: 'chilly_bin', name: '<%= t('.icebox') %>', el: $('td.chilly_bin_column'),
sortable: true
}).render();
$('#column-toggles').append(
View
@@ -30,6 +30,12 @@ en:
one: "Iterations start on %{day} with a length of 1 week"
other: "Iterations start on %{day} with a length of %{count} weeks"
+ show:
+ done: "Done"
+ in_progress: "In progress"
+ backlog: "Backlog"
+ icebox: "Chilly Bin"
+
registrations:
edit:
leave_blank_if_you_dont_want_to_change_it: "Leave blank if you don't want to change it"
View
@@ -27,6 +27,12 @@ es:
the iteration starts on x with length of x weeks:
one: "Las iteraciones empiezane en %{day} con una duración de 1 semana"
other: "Las iteraciones empiezane en %{day} con una duración de %{count} semanas"
+
+ show:
+ done: "Terminadas"
+ in_progress: "En progreso"
+ backlog: "Acumuladas"
+ icebox: "Congelador"
registrations:
edit:

0 comments on commit 3b833f5

Please sign in to comment.