Closed cwendling closed 1 year ago
Normally everything the applet use is still translated. If we want, we could also use this technique for everything in mate-media, not just the applet. It should not be required, but OTOH it could potentially make it simpler if the applet starts to use more of the other GVC files.
Also, I now know the translations work in both the applet and the main menus with this applied and the do not disturb applet not in the panel
I just force-pushed removing more useless code that mate-panel's *FACTORY macros actually already deal with.
applet and main menus both show expected translations with this installed. We have one spot in the volume control dialog that isn't being translated, as shown below. Wonder if that comes from this package or maybe from mate-mixer though?
We have one spot in the volume control dialog that isn't being translated, as shown below. Wonder if that comes from this package or maybe from mate-mixer though?
$ git grep -C1 "Balance" po/es_AR.po
po/es_AR.po-#: mate-volume-control/gvc-balance-bar.c:329
po/es_AR.po:msgid "_Balance:"
po/es_AR.po-msgstr ""
AKA just missing translation.
When loaded as in-process applet, we must not call
textdomain()
or we will override mate-panel's text domain. Instead, properly use gi18n-lib.h header that provides the same API but uses the compile-timeGETTEXT_PACKAGE
value for each call.Fixes #203.