SkyLundy / Fluency-Translation

A DeepL translation integration for the ProcessWire CMF/CMS platform
GNU General Public License v3.0
11 stars 1 forks source link

Change the hard-coded label "Translate from English" #7

Closed Mikhail-Kalinin2 closed 3 years ago

Mikhail-Kalinin2 commented 3 years ago

Hello, @SkyLundy!

Could you please change the hard-coded label "Translate from English" to "Translate from {source language}"?

SkyLundy commented 3 years ago

I will add that update to the module!

In the meantime if you want a quick fix then go to /src/js/fluency.js and edit line 216 to say whatever you would like. If you update in the future your changes will be overridden but it will show the proper text as expected.

Mikhail-Kalinin2 commented 3 years ago

Thank you!

SkyLundy commented 3 years ago

@Clarity157 Next release will have all Translator related UI text customizable and translatable within the admin. I'll post a comment in the Fluency thread on the ProcessWire forums when I push the new version. Keep an eye out!