Skip to content

Commit

Permalink
Fix BCM issue associated filter name
Browse files Browse the repository at this point in the history
  • Loading branch information
top4ek authored Dec 4, 2024
1 parent cc72da4 commit 64e12b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ def allowed_values
[I18n.t(:general_text_no), OpenProject::Database::DB_VALUE_FALSE]
]
end

Check warning on line 43 in modules/bim/app/models/bim/queries/work_packages/filter/bcf_issue_associated_filter.rb

View workflow job for this annotation

GitHub Actions / rubocop

[rubocop] reported by reviewdog 🐶 Trailing whitespace detected. Raw Output: modules/bim/app/models/bim/queries/work_packages/filter/bcf_issue_associated_filter.rb:43:1: C: Layout/TrailingWhitespace: Trailing whitespace detected.
def human_name
I18n.t('bcf.label_bcf_issue_associated')

Check warning on line 45 in modules/bim/app/models/bim/queries/work_packages/filter/bcf_issue_associated_filter.rb

View workflow job for this annotation

GitHub Actions / rubocop

[rubocop] reported by reviewdog 🐶 Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: modules/bim/app/models/bim/queries/work_packages/filter/bcf_issue_associated_filter.rb:45:14: C: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
end

def where
if associated?
Expand Down
1 change: 1 addition & 0 deletions modules/bim/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ en:
label_bcf: 'BCF'
label_imported_failed: 'Failed imports of BCF topics'
label_imported_successfully: 'Successfully imported BCF topics'
label_bcf_issue_associated: "BCF issue associated"
issues: "Issues"
recommended: 'recommended'
not_recommended: 'not recommended'
Expand Down

0 comments on commit 64e12b0

Please sign in to comment.