Move grid widget locals to core yml

pull/7077/head
Henriette Dinger 6 years ago
parent 1216b703c6
commit 895f74991a
  1. 9
      config/locales/en.yml
  2. 25
      config/locales/js-en.yml
  3. 14
      modules/grids/config/locales/en.yml
  4. 26
      modules/grids/config/locales/js-en.yml

@ -381,6 +381,11 @@ en:
subscriber: "Subscriber" subscriber: "Subscriber"
encoded_token: "Enterprise support token" encoded_token: "Enterprise support token"
active_user_count_restriction: "Maximum active users" active_user_count_restriction: "Maximum active users"
grids/grid:
page: "Page"
row_count: "Number of rows"
column_count: "Number of columns"
widgets: "Widgets"
relation: relation:
delay: "Delay" delay: "Delay"
from: "Work package" from: "Work package"
@ -542,6 +547,10 @@ en:
not_match_configured: "doesn't match available scopes." not_match_configured: "doesn't match available scopes."
enterprise_token: enterprise_token:
unreadable: "can't be read. Are you sure it is a support token?" unreadable: "can't be read. Are you sure it is a support token?"
grids/grid:
overlaps: 'overlap.'
outside: 'is outside of the grid.'
end_before_start: 'end value needs to be larger than the start value.'
parse_schema_filter_params_service: parse_schema_filter_params_service:
attributes: attributes:
base: base:

@ -173,6 +173,31 @@ en:
general_text_No: "No" general_text_No: "No"
general_text_Yes: "Yes" general_text_Yes: "Yes"
grid:
add_modal:
choose_widget: 'Choose widget'
widgets:
documents:
title: 'Documents'
no_results: 'No documents yet.'
news:
title: 'News'
at: 'at'
no_results: 'Nothing new to report.'
time_entries_current_user:
title: 'Spent time (last 7 days)'
no_results: 'No time entries for the last 7 days.'
work_packages_accountable:
title: "Work packages I am accountable for"
work_packages_assigned:
title: 'Work packages assigned to me'
work_packages_created:
title: 'Work packages created by me'
work_packages_watched:
title: 'Work packages watched by me'
work_packages_calendar:
title: 'Calendar'
label_activate: "Activate" label_activate: "Activate"
label_activity_no: "Activity entry number %{activityNo}" label_activity_no: "Activity entry number %{activityNo}"
label_activity_with_comment_no: "Activity entry number %{activityNo}. Has a user comment." label_activity_with_comment_no: "Activity entry number %{activityNo}. Has a user comment."

@ -1,14 +0,0 @@
en:
activerecord:
attributes:
grids/grid:
page: "Page"
row_count: "Number of rows"
column_count: "Number of columns"
widgets: "Widgets"
errors:
models:
grids/grid:
overlaps: 'overlap.'
outside: 'is outside of the grid.'
end_before_start: 'end value needs to be larger than the start value.'

@ -1,26 +0,0 @@
en:
js:
grid:
add_modal:
choose_widget: 'Choose widget'
widgets:
documents:
title: 'Documents'
no_results: 'No documents yet.'
news:
title: 'News'
at: 'at'
no_results: 'Nothing new to report.'
time_entries_current_user:
title: 'Spent time (last 7 days)'
no_results: 'No time entries for the last 7 days.'
work_packages_accountable:
title: "Work packages I am accountable for"
work_packages_assigned:
title: 'Work packages assigned to me'
work_packages_created:
title: 'Work packages created by me'
work_packages_watched:
title: 'Work packages watched by me'
work_packages_calendar:
title: 'Calendar'
Loading…
Cancel
Save