1. 28 Jul, 2013 1 commit
  2. 27 Jul, 2013 1 commit
    • Jehan's avatar
      Bug 704592 - only load language lists once at gui startup. · a129f84c
      Jehan authored
      - setenv/getenv() are not thread-safe, hence they should be run only at
      startup before any threading occurs.
      - it is counter-productive to load the huge ISO-639 XML file each time
      the user opens the Preferences dialog or the text tool options.
  3. 22 Jul, 2013 1 commit
  4. 19 Jul, 2013 1 commit
  5. 05 Jul, 2013 1 commit
    • Jehan's avatar
      Bug 576910: Show 'Language' setting languages in native language · fc873cd6
      Jehan authored
      Showing the current system locale between square brackets in the
      "System Language" item was causing some issues on some systems (showing
      some very weird and long value).
      This was mostly a cosmetic change anyway with limited gain. Let's
      just get rid of it. The main part of the feature (each language
      displayed in itself) is still there.
  6. 03 Jul, 2013 2 commits
    • Jehan's avatar
      Bug 576910: small fix on "Show 'Language' setting languages in native language" · 4eecd9b4
      Jehan authored
      glib's g_getenv() doc says: "The returned string may be overwritten by
      the next call to g_getenv(), g_setenv() or g_unsetenv()". And I do
      g_setenv() calls just after, while I wish to keep the value intact.
      As a consequence, even though the previous commit seemed to work just fine,
      I duplicate the return value of g_getenv(), just to be on the safe side.
    • Jehan's avatar
      Bug 576910: Show 'Language' setting languages in native language · f6dcde1e
      Jehan authored
      The trick works by temporarily resetting the current locale to localize
      each language label in its own lang.
      One exception is English that is equivalent to the "C" code, and we make
      also some special exception for Chinese where there are very different
      variant depending on the region.
      I also ensure the "System Language" string is translated in whatever
      language is the system actually set to.
  7. 12 Nov, 2012 1 commit
  8. 14 Jan, 2011 1 commit
  9. 05 Jan, 2010 1 commit
    • Sven Neumann's avatar
      app: add GimpTranslationStore class · 50c2ba45
      Sven Neumann authored
      Derive GimpTranslationStore from GimpLanguageStore. It lists the
      installed GIMP translations. Also sort the list alphabetically
      instead of relying on the XML file being sorted.