File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ private void LoadEyeGain()
169169 {
170170 if ( ! File . Exists ( GainFilePath ) )
171171 {
172- Logger . LogDebug ( "eye_gain.txt not found, using default values" ) ;
172+ Logger . LogInformation ( T ( "eye-gain- not- found" ) ) ;
173173 return ;
174174 }
175175
@@ -183,16 +183,16 @@ private void LoadEyeGain()
183183 _eyeGainX = x ;
184184 _eyeGainY = y ;
185185
186- Logger . LogInformation ( $ "Eye gain loaded: X= { _eyeGainX } , Y= { _eyeGainY } " ) ;
186+ Logger . LogInformation ( T ( "eye- gain- loaded" ) , _eyeGainX , _eyeGainY ) ;
187187 }
188188 else
189189 {
190- Logger . LogWarning ( $ "Invalid eye_gain.txt format: \" { text } \" " ) ;
190+ Logger . LogWarning ( T ( "eye-gain-invalid" ) , text ) ;
191191 }
192192 }
193193 catch ( Exception ex )
194194 {
195- Logger . LogError ( ex , "Failed to read eye_gain.txt" ) ;
195+ Logger . LogError ( ex , T ( "eye-gain-failed" ) ) ;
196196 }
197197 }
198198}
You can’t perform that action at this time.
0 commit comments