Skip to content

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

Use camel casing instead of snake casing for translation keys

Aaron Contreras848797807fa6
diff --git a/config/locales/js-en.yml b/config/locales/js-en.yml
index 4dd6e111b68..d7c1c3fe826 100644
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@ -1043,8 +1043,8 @@ en:
createdAt: "Created on"
description: "Description"
date: "Date"
- done_ratio: "% Complete"
- done_ratio_alternative: "Progress"
+ percentComplete: "% Complete"
+ percentCompleteAlternative: "Progress"
dueDate: "Finish date"
duration: "Duration"
spentTime: "Spent time"
@@ -1052,8 +1052,8 @@ en:
percentageDone: "Percentage done"
priority: "Priority"
projectName: "Project"
- remaining_work: "Remaining work"
- remaining_work_alternative: "Remaining hours"
+ remainingWork: "Remaining work"
+ remainingWorkAlternative: "Remaining hours"
responsible: "Responsible"
startDate: "Start date"
status: "Status"
@@ -1065,7 +1065,7 @@ en:
versionName: "Version"
version: "Version"
work: "Work"
- work_alternative: "Estimated time"
+ workAlternative: "Estimated time"
remainingTime: "Remaining work"
default_queries:
latest_activity: "Latest activity"
diff --git a/frontend/src/app/shared/components/work-packages/alternative-search.service.ts b/frontend/src/app/shared/components/work-packages/alternative-search.service.ts
index 14796f0ed9e..3db331853db 100644
--- a/frontend/src/app/shared/components/work-packages/alternative-search.service.ts
+++ b/frontend/src/app/shared/components/work-packages/alternative-search.service.ts
@@ -10,18 +10,18 @@ export class AlternativeSearchService {
) { }
private specialSearchStrings = {
- done_ratio: this.I18n.t('js.work_packages.properties.done_ratio'),
- done_ratio_alternative: this.I18n.t('js.work_packages.properties.done_ratio_alternative'),
+ percentComplete: this.I18n.t('js.work_packages.properties.percentComplete'),
+ percentCompleteAlternative: this.I18n.t('js.work_packages.properties.percentCompleteAlternative'),
work: this.I18n.t('js.work_packages.properties.work'),
- work_alternative: this.I18n.t('js.work_packages.properties.work_alternative'),
- remaining_work: this.I18n.t('js.work_packages.properties.remaining_work'),
- remaining_work_alternative: this.I18n.t('js.work_packages.properties.remaining_work_alternative'),
+ workAlternative: this.I18n.t('js.work_packages.properties.workAlternative'),
+ remainingWork: this.I18n.t('js.work_packages.properties.remainingWork'),
+ remainingWorkAlternative: this.I18n.t('js.work_packages.properties.remainingWorkAlternative'),
};
private alternativeNames:{ [index:string]:string } = {
- [this.specialSearchStrings.done_ratio_alternative]: this.specialSearchStrings.done_ratio,
- [this.specialSearchStrings.work_alternative]: this.specialSearchStrings.work,
- [this.specialSearchStrings.remaining_work_alternative]: this.specialSearchStrings.remaining_work,
+ [this.specialSearchStrings.percentCompleteAlternative]: this.specialSearchStrings.percentComplete,
+ [this.specialSearchStrings.workAlternative]: this.specialSearchStrings.work,
+ [this.specialSearchStrings.remainingWorkAlternative]: this.specialSearchStrings.remainingWork,
};
public searchFunction = (term:string, currentItem:QueryFilterResource):boolean => {