← Back to team overview

mahara-contributors team mailing list archive

[Bug 1319243] Re: Translations for the new TinyMCE "toggle toolbar" button

 

4. Patch the Mahara Launchpad -> po file -> langpack toolchain, so that
it builds this particular string into a js file instead of a php file. I
think given our current limited facility at manipulating that toolchain,
though, this might well be the hardest method.

5. Manage this one language string outside of the langpack
infrastructure. File gerrit patches in order to update this language
string. The challenge here, is that because this string is not in a
Mahara lang file, translators will not be prompted to translate it in
the Launchpad translation interface. Perhaps we could add it to a
langpack just as a placeholder, in order to trigger that prompt? This
would be a really slipshod way of doing things, though.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1319243

Title:
  Translations for the new TinyMCE "toggle toolbar" button

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  In https://reviews.mahara.org/#/c/3289/ (part of bug 1282341), we're
  adding a button that toggles the TinyMCE toolbar. By default it shows
  just the most basic buttons. When you click this button, it toggles up
  and displays everything.

  The problem is that this plugin only contains translations for
  English, Spanish, German, and French. And, it stores its language
  strings in Javascript files, so they can't be fixed as part of a
  standard Mahara langpack. There is only one language string in this
  plugin. It's a tooltip that says "Toggle toolbars" when you mouseover
  the button. So, just the one string, but on the other hand it's a very
  prominent string, because we use TinyMCE so widely.

  What's the best solution for this?

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1319243/+subscriptions


References