diff --git a/lib/remote_translations/microsoft/client.rb b/lib/remote_translations/microsoft/client.rb index c9808595c..22f4906b3 100644 --- a/lib/remote_translations/microsoft/client.rb +++ b/lib/remote_translations/microsoft/client.rb @@ -1,5 +1,5 @@ require "translator-text" -include SentencesParser +include RemoteTranslations::Microsoft::SentencesParser include RemoteTranslations::Microsoft::AvailableLocales class RemoteTranslations::Microsoft::Client diff --git a/lib/sentences_parser.rb b/lib/remote_translations/microsoft/sentences_parser.rb similarity index 93% rename from lib/sentences_parser.rb rename to lib/remote_translations/microsoft/sentences_parser.rb index 1403b0698..792d5e75f 100644 --- a/lib/sentences_parser.rb +++ b/lib/remote_translations/microsoft/sentences_parser.rb @@ -1,4 +1,4 @@ -module SentencesParser +module RemoteTranslations::Microsoft::SentencesParser def detect_split_position(text) minimum_valid_index = text.size - RemoteTranslations::Microsoft::Client::CHARACTERS_LIMIT_PER_REQUEST