Add SentencesParser to new namespace
Add to new name space RemoteTranslations::Microsoft
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
require "translator-text"
|
||||
include SentencesParser
|
||||
include RemoteTranslations::Microsoft::SentencesParser
|
||||
include RemoteTranslations::Microsoft::AvailableLocales
|
||||
|
||||
class RemoteTranslations::Microsoft::Client
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user