diff --git a/translate_plugin/Translate.bb b/translate_plugin/Translate.bb index cd7806c..81e133b 100644 --- a/translate_plugin/Translate.bb +++ b/translate_plugin/Translate.bb @@ -20,5 +20,9 @@ Function translate$(title$, needle$ = "", replacement$ = "") EndIf EndIf Next - Return title$ + If Len(needle$) > 0 and Len(replacement$) > 0 Then + Return Replace$(title$, needle$, replacement$) + Else + Return title$ + EndIf End Function \ No newline at end of file