Skip to content

Commit

Permalink
Localize error text in conflict checking strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Aug 23, 2024
1 parent bb9ab19 commit e5cc46c
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ Class {
{ #category : 'instance creation' }
CriteriaBasedConflictCheckingStrategy class >> accordingTo: aBlockOrMatchingCriteria [

^ self
accordingTo: aBlockOrMatchingCriteria
explainingConflictWith: [ :objectInMemory |
'Something is in conflict with <1p>' expandMacrosWith:
objectInMemory ]
^ self accordingTo: aBlockOrMatchingCriteria explainingConflictWith: [ :objectInMemory |
'Something is in conflict with {1}' localizedWithAll: { objectInMemory printString } ]
]

{ #category : 'instance creation' }
Expand Down

0 comments on commit e5cc46c

Please sign in to comment.