lib/ehbrs/tools/runner/google/translate.rb in ehbrs-tools-0.38.0 vs lib/ehbrs/tools/runner/google/translate.rb in ehbrs-tools-0.39.0
- old
+ new
@@ -43,10 +43,10 @@
end
def default_output_file
::File.join(
::File.dirname(source_file),
- ::File.basename(source_file, '.*') + '_translated.html'
+ "#{::File.basename(source_file, '.*')}_translated.html"
)
end
def session_uncached
::Ehbrs::Google::Translate::Session.new