equal
deleted
inserted
replaced
|
1 "{ Encoding: utf8 }" |
|
2 |
1 "{ Package: 'stx:libtool2' }" |
3 "{ Package: 'stx:libtool2' }" |
2 |
4 |
3 "{ NameSpace: Tools }" |
5 "{ NameSpace: Tools }" |
4 |
6 |
5 ApplicationModel subclass:#InternationalLanguageTranslationEditor |
7 ApplicationModel subclass:#InternationalLanguageTranslationEditor |
1148 similarTranslationsAssociations := similarTranslationsAssociations associations inject: OrderedCollection new into:[:collection :association | |
1150 similarTranslationsAssociations := similarTranslationsAssociations associations inject: OrderedCollection new into:[:collection :association | |
1149 collection detect:[:selectedAssociation | |
1151 collection detect:[:selectedAssociation | |
1150 selectedAssociation value sameAs: association value] ifNone:[collection add: association]. |
1152 selectedAssociation value sameAs: association value] ifNone:[collection add: association]. |
1151 collection]. |
1153 collection]. |
1152 selectedTranslation := Dialog |
1154 selectedTranslation := Dialog |
1153 choose:'Choose one if you consider it´s usefull to translate: |
1155 choose:'Choose one if you consider it's useful to translate: |
1154 ', |
1156 ', |
1155 '<', key, '> ', (self currentExampleLanguageText ifNil:['']) |
1157 '<', key, '> ', (self currentExampleLanguageText ifNil:['']) |
1156 fromList: (similarTranslationsAssociations collect:[:each | '<', each key, '> ', each value]) |
1158 fromList: (similarTranslationsAssociations collect:[:each | '<', each key, '> ', each value]) |
1157 values: (similarTranslationsAssociations collect:[:each | each value]) |
1159 values: (similarTranslationsAssociations collect:[:each | each value]) |
1158 lines:10 |
1160 lines:10 |
3305 keys add:'no'. |
3307 keys add:'no'. |
3306 |
3308 |
3307 self addLanguage:#'de'. |
3309 self addLanguage:#'de'. |
3308 self addLanguage:#'fr'. |
3310 self addLanguage:#'fr'. |
3309 |
3311 |
3310 self at:'open' language:#'de' put:'öffnen'. |
3312 self at:'open' language:#'de' put:'öffnen'. |
3311 self at:'close' language:#'de' put:'schließen'. |
3313 self at:'close' language:#'de' put:'schließen'. |
3312 self at:'yes' language:#'de' put:'ja'. |
3314 self at:'yes' language:#'de' put:'ja'. |
3313 self at:'no' language:#'de' put:'nein'. |
3315 self at:'no' language:#'de' put:'nein'. |
3314 self at:'cancel' language:#'de' put:'abbrechen'. |
3316 self at:'cancel' language:#'de' put:'abbrechen'. |
3315 |
3317 |
3316 self at:'open' language:#'fr' put:'ouvrir'. |
3318 self at:'open' language:#'fr' put:'ouvrir'. |