You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A little pre-processing could improve translations for descriptions and titles. Search through .nfo files for ○ or ●, and create a csv or dict for replacements. Usually, the (○,●) is simply 'n', which is ん in hiragana, or ン in katakana. I could possibly do this. It looks like src/Javinizer/Private/Get-TranslatedString.ps1 on line 16, a pre-process python replacement call could be done prior to calling the translation python files.
importre# if small, rep could be a dictionary. or a could pull from a csv file. Arep= {"♪": "", "マ○コ": "マンコ", "チ○ポ": "チンポ", "ち○ぽ":"ちんぽ", "マ●コ": "マンコ", "チ●ポ": "チンポ", "ち●ぽ":"ちんぽ", "生ち○": "生ちん", "生ち●": "生ちん", "ロー●ス・ロイス": "ロールス・ロイス", "Y●uTube": "YouTube", "ビヨ●セ": "ビヨンセ", "ビヨ○セ": "ビヨンセ"}
# use these three lines to do the replacementrep=dict((re.escape(k), v) fork, vinrep.iteritems())
#Python 3 renamed dict.iteritems to dict.items so use rep.items() for latest versionspattern=re.compile("|".join(rep.keys()))
text=pattern.sub(lambdam: rep[re.escape(m.group(0))], text)
In addition:
MGStage includes weird tags in descriptions:
Ex: (br)(br)(b)(-b)(font color="red")
MGStage title and original title need trimmed. Currently have: :MGS動画<プレステージ グループ>アダルト動画配信サイト at the end
The text was updated successfully, but these errors were encountered:
A little pre-processing could improve translations for descriptions and titles. Search through .nfo files for ○ or ●, and create a csv or dict for replacements. Usually, the (○,●) is simply 'n', which is ん in hiragana, or ン in katakana. I could possibly do this. It looks like src/Javinizer/Private/Get-TranslatedString.ps1 on line 16, a pre-process python replacement call could be done prior to calling the translation python files.
A little pre-processing could improve translations for descriptions and titles. Search through .nfo files for ○ or ●, and create a csv or dict for replacements. Usually, the (○,●) is simply 'n', which is ん in hiragana, or ン in katakana. I could possibly do this. It looks like src/Javinizer/Private/Get-TranslatedString.ps1 on line 16, a pre-process python replacement call could be done prior to calling the translation python files.
I used this from: https://stackoverflow.com/questions/6116978/how-to-replace-multiple-substrings-of-a-string/15448887
In addition:
MGStage includes weird tags in descriptions:
Ex: (br)(br)(b)(-b)(font color="red")
MGStage title and original title need trimmed. Currently have: :MGS動画<プレステージ グループ>アダルト動画配信サイト at the end
The text was updated successfully, but these errors were encountered: