@@ -86,7 +86,7 @@ class HandlebarHelpers {
86
86
if ( ! Flags . isViewable ( folder ) ) {
87
87
icons += `
88
88
<div class="folder-icon">
89
- <i class="fas fa-eye-slash" title='Folder Hidden '></i>
89
+ <i class="fas fa-eye-slash" title='${ game . i18n . localize ( "ConvenientEffects.FolderHidden" ) } '></i>
90
90
</div>
91
91
` ;
92
92
}
@@ -157,21 +157,21 @@ class HandlebarHelpers {
157
157
158
158
#getPassiveIcon( effect : ActiveEffect < Item < null > > ) : string {
159
159
return ! effect . isTemporary
160
- ? " <i class='fas fa-repeat integration-icon' title='Passive'></i>"
160
+ ? ` <i class='fas fa-repeat integration-icon' title='${ game . i18n . localize ( "ConvenientEffects. Passive" ) } '></i>`
161
161
: "" ;
162
162
}
163
163
164
164
#getHiddenIcon( effect : ActiveEffect < Item < null > > ) : string {
165
165
return ! Flags . isViewable ( effect )
166
- ? " <i class='fas fa-eye-slash integration-icon' title='Effect Hidden '></i>"
166
+ ? ` <i class='fas fa-eye-slash integration-icon' title='${ game . i18n . localize ( "ConvenientEffects.EffectHidden" ) } '></i>`
167
167
: "" ;
168
168
}
169
169
170
170
#getHasNestedEffectsIcon(
171
171
nestedEffects : ActiveEffect < Item < null > > [ ] ,
172
172
) : string {
173
173
return nestedEffects && nestedEffects . length > 0
174
- ? " <i class='fas fa-trees integration-icon' title='Has Nested Effects '></i> "
174
+ ? ` <i class='fas fa-trees integration-icon' title='${ game . i18n . localize ( "ConvenientEffects.HasNestedEffects" ) } '></i> `
175
175
: "" ;
176
176
}
177
177
@@ -180,7 +180,7 @@ class HandlebarHelpers {
180
180
nestedEffectIds : string [ ] ,
181
181
) : string {
182
182
return ceEffectId && nestedEffectIds ?. includes ( ceEffectId )
183
- ? " <i class='fas fa-tree integration-icon' title='Is Nested Effect '></i> "
183
+ ? ` <i class='fas fa-tree integration-icon' title='${ game . i18n . localize ( "ConvenientEffects.IsNestedEffect" ) } '></i> `
184
184
: "" ;
185
185
}
186
186
@@ -196,29 +196,29 @@ class HandlebarHelpers {
196
196
} ) ;
197
197
198
198
return statusEffect
199
- ? " <i class='fas fa-person-rays integration-icon' title='Status Effect '></i>"
199
+ ? ` <i class='fas fa-person-rays integration-icon' title='${ game . i18n . localize ( "ConvenientEffects.StatusEffect" ) } '></i> `
200
200
: "" ;
201
201
}
202
202
203
203
#getMidiIcon( changes : DeepPartial < EffectChangeData > [ ] ) : string {
204
204
return changes . some ( ( change ) =>
205
205
change . key ?. startsWith ( "flags.midi-qol" ) ,
206
206
)
207
- ? " <i class='fas fa-dice-d20 integration-icon' title='Midi-QoL Effects '></i> "
207
+ ? ` <i class='fas fa-dice-d20 integration-icon' title='${ game . i18n . localize ( "ConvenientEffects.MidiQolEffects" ) } '></i> `
208
208
: "" ;
209
209
}
210
210
211
211
#getAteIcon( changes : DeepPartial < EffectChangeData > [ ] ) : string {
212
212
return changes . some ( ( change ) => change . key ?. startsWith ( "ATL" ) )
213
- ? " <i class='fas fa-lightbulb integration-icon' title='ATL Effects '></i> "
213
+ ? ` <i class='fas fa-lightbulb integration-icon' title='${ game . i18n . localize ( "ConvenientEffects.AtlEffects" ) } '></i> `
214
214
: "" ;
215
215
}
216
216
217
217
#getTokenMagicIcon( changes : DeepPartial < EffectChangeData > [ ] ) : string {
218
218
return changes . some ( ( change ) =>
219
219
change . key ?. startsWith ( "macro.tokenMagic" ) ,
220
220
)
221
- ? " <i class='fas fa-wand-magic-sparkles integration-icon' title='Token Magic Effects '></i> "
221
+ ? ` <i class='fas fa-wand-magic-sparkles integration-icon' title='${ game . i18n . localize ( "ConvenientEffects.TokenMagicEffects" ) } '></i> `
222
222
: "" ;
223
223
}
224
224
}
0 commit comments