jmulet / moodle-tiny_codepro

An improved code editor for tinyMCE based on codeMirror6
GNU General Public License v3.0
3 stars 4 forks source link

Translation #15

Open dinism opened 1 month ago

dinism commented 1 month ago

I'm PT-PT translator.

Thanks a lot for the plugin.

Can the mouse over button message be translated?

The strings are: Fullscreen Light/Dark themes Line wrap Prettify code Auto prettify when editors open

TIA

jmulet commented 1 month ago

Hi @dinism, Yes. The translation is possible for those strings. I'll do the changes for the next release.

jmulet commented 1 month ago

Hi, I have just made a commit to the develop branch with the changes. https://github.com/jmulet/moodle-tiny_codepro/commit/058263a16fb3329a4a9ba3abf2092e6cdfe7fcac

The new strings for the tooltips are

$string['autoprettify'] = 'Auto prettify when editor opens'; $string['fullscreen'] = 'Fullscreen'; $string['linewrap'] = 'Line wrap'; $string['prettify'] = 'Prettify code'; $string['themes'] = 'Light/Dark themes';