OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
replace show-changes with baseline in translations
bsatarnejad3e4ded266aa2
diff --git a/config/locales/js-en.yml b/config/locales/js-en.ymlindex c7a81b31081..b9d764e56c2 100644--- a/config/locales/js-en.yml+++ b/config/locales/js-en.yml@@ -1340,7 +1340,7 @@ en:current_project: 'This is the current project you are in.'does_not_match_search: 'Project does not match the search criteria.'no_results: 'No project matches your search criteria.'- show_changes:+ baseline:toggle_title: 'Changes'clear: 'Clear'apply: 'Apply'diff --git a/frontend/src/app/shared/components/baseline-modal/baseline-modal.component.ts b/frontend/src/app/shared/components/baseline-modal/baseline-modal.component.tsindex 308cba267f4..900fb405bd7 100644--- a/frontend/src/app/shared/components/baseline-modal/baseline-modal.component.ts+++ b/frontend/src/app/shared/components/baseline-modal/baseline-modal.component.ts@@ -47,10 +47,10 @@ export class OpBaselineModalComponent extends UntilDestroyedMixin {public opened = false;public text = {- toggle_title: this.I18n.t('js.show_changes.toggle_title'),- header_description: this.I18n.t('js.show_changes.header_description'),- clear: this.I18n.t('js.show_changes.clear'),- apply: this.I18n.t('js.show_changes.apply'),+ toggle_title: this.I18n.t('js.baseline.toggle_title'),+ header_description: this.I18n.t('js.baseline.header_description'),+ clear: this.I18n.t('js.baseline.clear'),+ apply: this.I18n.t('js.baseline.apply'),};constructor(diff --git a/frontend/src/app/shared/components/baseline/baseline.component.ts b/frontend/src/app/shared/components/baseline/baseline.component.tsindex 2f3f42d7b4b..3db1a3788a7 100644--- a/frontend/src/app/shared/components/baseline/baseline.component.ts+++ b/frontend/src/app/shared/components/baseline/baseline.component.ts@@ -73,45 +73,45 @@ export class OpBaselineComponent extends UntilDestroyedMixin implements AfterViepublic tooltipPosition = SpotDropAlignmentOption.BottomRight;public text = {- toggle_title: this.I18n.t('js.show_changes.toggle_title'),- header_description: this.I18n.t('js.show_changes.header_description'),- clear: this.I18n.t('js.show_changes.clear'),- apply: this.I18n.t('js.show_changes.apply'),- show_changes_since: this.I18n.t('js.show_changes.show_changes_since'),- time: this.I18n.t('js.show_changes.time'),- help_description: this.I18n.t('js.show_changes.help_description'),+ toggle_title: this.I18n.t('js.baseline.toggle_title'),+ header_description: this.I18n.t('js.baseline.header_description'),+ clear: this.I18n.t('js.baseline.clear'),+ apply: this.I18n.t('js.baseline.apply'),+ show_changes_since: this.I18n.t('js.baseline.show_changes_since'),+ time: this.I18n.t('js.baseline.time'),+ help_description: this.I18n.t('js.baseline.help_description'),timeZone: this.configuration.isTimezoneSet() ? moment().tz(this.configuration.timezone()).zoneAbbr() : 'local',- time_description: () => this.I18n.t('js.show_changes.time_description', { time: this.selectedTimezoneFormattedTime, days: this.daysNumber }),+ time_description: () => this.I18n.t('js.baseline.time_description', { time: this.selectedTimezoneFormattedTime, days: this.daysNumber }),};public baselineAvailableValues = [{value: '0',- title: this.I18n.t('js.show_changes.drop_down.none'),+ title: this.I18n.t('js.baseline.drop_down.none'),},{value: '1',- title: this.I18n.t('js.show_changes.drop_down.yesterday'),+ title: this.I18n.t('js.baseline.drop_down.yesterday'),},{value: '2',- title: this.I18n.t('js.show_changes.drop_down.last_working_day'),+ title: this.I18n.t('js.baseline.drop_down.last_working_day'),},{value: '3',- title: this.I18n.t('js.show_changes.drop_down.last_week'),+ title: this.I18n.t('js.baseline.drop_down.last_week'),},{value: '4',- title: this.I18n.t('js.show_changes.drop_down.last_month'),+ title: this.I18n.t('js.baseline.drop_down.last_month'),},{value: '5',- title: this.I18n.t('js.show_changes.drop_down.a_specific_date'),+ title: this.I18n.t('js.baseline.drop_down.a_specific_date'),},{value: '6',- title: this.I18n.t('js.show_changes.drop_down.between_two_specific_dates'),+ title: this.I18n.t('js.baseline.drop_down.between_two_specific_dates'),},];