Sixdsn / terra-terminal

Terra is a GTK+3.0 based terminal emulator with useful user interface, it also supports multiple terminals with splitting screen horizontally or vertically. New features have been added since September 2013. It's a pretty new and experimental project, if you want to contribute just checkout and try.
GNU General Public License v3.0
7 stars 3 forks source link

Added new "i18n-extract" Makefile section #106

Closed SchnWalter closed 9 years ago

SchnWalter commented 9 years ago

related to #63

Sixdsn commented 9 years ago

Hi,

I think i miss something but the i18n-extract rule isn't called by setup.py and even if i call it manually to generate the .po file, i don't get any message translated. Why aren't all messages translated? there still are a few print and DEBUG not using gettext

SchnWalter commented 9 years ago

This just the first step. It only extracts the text from the code and UI files. We still need to do add some translations and update setup.py to include those in the build.

After that, we need to update the i18n handler to use those translations.

EDIT: And we don't really need translations for the debug messages. I would like to see those displayed only when a TERRA_DEBUG environment variable is set, and maybe have those saved to a log file somewhere. But that change is for another time.

Sixdsn commented 9 years ago

Ok looks good ;)