Skip to content

Commit

Permalink
Merge pull request #692 from olekscode/583-Fix-the-way-we-use-the-tra…
Browse files Browse the repository at this point in the history
…nslator

583 fix the way we use the translator
  • Loading branch information
olekscode committed Aug 3, 2023
2 parents 497af93 + 4456371 commit b844242
Show file tree
Hide file tree
Showing 13 changed files with 3,925 additions and 775 deletions.
1,193 changes: 1,193 additions & 0 deletions repository/Cormas-Core/CMAbstractTranslator.class.st

Large diffs are not rendered by default.

20 changes: 13 additions & 7 deletions repository/Cormas-Core/CMApplicationProject.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -201,19 +201,19 @@ CMApplicationProject >> defaultProjectClass [
^ CMProjectModel
]

{ #category : #accessing }
CMApplicationProject >> defaultTranslatorClass [
" Answer the default translation class for the receiver "

^ CMTranslator
]

{ #category : #accessing }
CMApplicationProject >> gitBridge [
^ resourceLocator
ifNil: [ resourceLocator := CMGitBridge new ]
]

{ #category : #initialization }
CMApplicationProject >> initialize [

super initialize.
translator := CMEnglishTranslator new.
]

{ #category : #accessing }
CMApplicationProject >> modelNames [
" Answer a <Collection> of <String> with receiver's available models "
Expand All @@ -240,3 +240,9 @@ CMApplicationProject >> terminateAllProcesses [
ifNotNil: [ processRun terminate.
processRun := nil ]
]

{ #category : #accessing }
CMApplicationProject >> translator [

^ translator
]
Loading

0 comments on commit b844242

Please sign in to comment.