Pere Pujal i Carabantes
1afe9e155c
Merge branch 'master' into sdl2.0
...
Tons of bugfixes and improvements for Windows by Toyama Shin-Ichi
Angle rotation and some magic tools by Bill.
2021-11-06 08:59:22 +01:00
dolphin6k
4e7346c8d9
Fixed crash bug regarding locale detection on 64bit windows build.
2021-10-26 23:16:04 +09:00
Bill Kendrick
1bee12246e
Protect mysetenv() fron any NULL string pointers
...
...such as those we seem to be receiving from _nl_locale_name()
on 64-bit Windows under newer MinGW/MSYS (see big thread on
tuxpaint-devel with reports from Shin-ichi).
2021-10-25 22:11:32 -07:00
Pere Pujal i Carabantes
aae22f0593
Correcting Devaganari to Devanagari
2020-11-06 21:47:42 +01:00
Pere Pujal i Carabantes
f9db53fe19
Correcting Devaganari to Devanagari
2020-11-05 03:38:42 +01:00
Pere Pujal i Carabantes
f8179faa0f
Adding Sardinian translation.
2020-10-29 20:43:30 +01:00
Pere Pujal i Carabantes
ba26daa6c6
Adding Sardinian translation.
2020-10-29 20:35:44 +01:00
Pere Pujal i Carabantes
436a535003
Merge branch 'master' with export features made by Bill and some updated translations into sdl2.0
2020-08-06 00:48:08 +02:00
Bill Kendrick
4ba4c11911
Properly handling getenv() returning "" not NULL
...
i18n code was checking for local-related environment variables
(e.g., "getenv("LANGUAGE")") coming back as a NULL if unset.
However, on my laptop, under Kubuntu 20.04 with GLIBC 2.31, a
"LANGUAGE" env. var. is set, but it's blank.
Tux Paint failed to attempt any fallback (e.g., checking "LANG")
in that situation, which was causing the description text corruption
that was corrected in a previous commit.
That commit also mistakenly suggested that the issue might've been a
difference with GCC versions, but the problem was deeper in Tux Paint's
code (in i18n.c), and was triggered by an unexpected environment.
2020-07-26 17:17:14 -07:00
Bill Kendrick
42512a67b0
Don't use extern for num_wished_langs
...
WORK IN PROGRESS -- Attempting to mend an issue where stamp descriptions
are not loading.
Also, making things safer when a problem occurs.
Using gcc 9.3.0 compiler, this was happening in 0.9.25 during
development, but also affected 0.9.24 and 0.9.23, which worked
fine under earlier versions of gcc.
2020-07-26 16:42:12 -07:00
Pere Pujal i Carabantes
7769410b2e
Merge 0.9.24 master branch into sdl2.0
2020-05-31 00:47:19 +02:00
Bill Kendrick
91505fae8e
Debug output clean-up
...
Wrapped some debug output in "#ifdef DEBUG" tests,
and made sure some warnings and errors were going to
STDERR, rather than STDOUT.
Motivation: Less noise while launching/using Tux Paint,
unless it matters.
2020-04-02 22:15:13 -07:00
Pere Pujal i Carabantes
a1c778135d
Merge branch 'master' into sdl2.0
...
Merging master 2019-september-24 into sdl2.0 branch
2019-09-24 14:52:40 +02:00
begasus
e5c3cdfcf5
Haiku fixes
2019-09-06 13:45:56 +02:00
Bill Kendrick
7938480174
Clean up GCC warnings (2019-08-29 edition)
...
Updated most parts of the code that were throwing warnings in GCC.
2019-08-30 00:01:00 -07:00
Pere Pujal i Carabantes
4d3ef642da
Updating to master 2019/6/6
2019-06-06 20:22:55 +02:00
Bill Kendrick
4e3a9fbc8c
Re-ran indent on .c files
...
Also, added a few places where indent is disabled
(via `/* *INDENT-OFF* */`).
See https://sourceforge.net/p/tuxpaint/mailman/message/36077409/
from Oct. 2017.
2019-04-13 12:00:44 -07:00
Pere Pujal i Carabantes
1a5308226c
Merge branch 'master' into sdl2.0
2018-08-30 01:37:00 +02:00
Bill Kendrick
9144ebd705
More function documentation
2018-05-17 00:30:48 -07:00
Pere Pujal i Carabantes
b2c176730a
Merging from the master branch.
2017-12-19 02:47:08 +01:00
Pere Pujal i Carabantes
1e0ea6d4b3
Indentation.
2017-12-19 02:17:27 +01:00
Pere Pujal i Carabantes
ede838caf9
Syncing with the android version...
2017-12-06 06:39:41 +01:00
Mark K. Kim
472bf79bb9
Trying again...
2017-11-27 01:02:41 -05:00
Bill Kendrick
5b4e0dd53f
indent i18n.c i18n.h
2017-10-15 10:56:18 -07:00
William Kendrick
548805f676
Had forgotten to add Kabyle to "--lang help" output.
...
(N.B. This stuff begs for modularization)
2016-12-12 07:37:23 +00:00
William Kendrick
f762aafa10
Adding Kabyle (aka Kabylian) translation
2016-12-12 07:20:34 +00:00
Pere Pujal i Carabantes
9c43a9b69e
kashmiri, sindhi and urdu in perso-arabic are rtl
2015-03-11 21:48:34 +00:00
Pere Pujal i Carabantes
ce84b47f0d
Adding2 Sindhi and 2 Kashmiri translations provided by chandrakant dhutadmal
2015-03-10 23:38:59 +00:00
Pere Pujal i Carabantes
df45c3993c
Adding Bengali, Bodo, Dogri and Urdu provided by chandrakant dhutadmal in the mailing list, still todo add 2 Sindhi and 2 Kashmiri translations
2015-03-09 22:52:05 +00:00
Pere Pujal i Carabantes
79e6da0fb6
Commenting out printf()s
2014-08-14 06:08:48 +00:00
Pere Pujal i Carabantes
dac517aef5
Stamps also should display localized even if the language has not a correponding locale.
2014-08-06 22:28:41 +00:00
William Kendrick
1a31c28d40
Tweaked "--lang serbian" locale (was sr_YU, now sr_RS, based on Ubuntu locales)
2014-08-05 06:55:05 +00:00
Pere Pujal i Carabantes
7f01f9017b
Enabling Sinhala
2014-08-04 23:08:07 +00:00
Pere Pujal i Carabantes
cec79bfa7f
Setting safe defaults.
2014-08-04 22:18:16 +00:00
Pere Pujal i Carabantes
85082b9092
LANGUAGE and env vars should work for stamps too, fallbacks should also work, also on Windows.
2014-08-04 00:02:54 +00:00
Pere Pujal i Carabantes
b4c21d9533
@variant locales should work now.
2014-07-18 22:04:35 +00:00
Pere Pujal i Carabantes
271cd0e1e3
Bosnian translation
2014-07-14 23:08:40 +00:00
Pere Pujal i Carabantes
1da6cdda34
Locale code for Twi is tw, twi.po -> tw.po
2014-07-10 21:22:06 +00:00
Pere Pujal i Carabantes
a9cfdb78a8
Adding Konkani translations.
2014-05-19 22:29:08 +00:00
Pere Pujal i Carabantes
2036ec4865
Adding Manipuri translations.
2014-05-18 22:28:34 +00:00
Pere Pujal i Carabantes
0fc78d8bb4
Adding Santali in Ol-Chiki script.
2014-05-15 22:04:14 +00:00
Shin-ichi TOYAMA
2ca5d55191
Missing entry in *lang_prefixes[] for Assamese
2014-04-30 14:12:25 +00:00
Pere Pujal i Carabantes
8cacae3b92
Adding Assamese.
2014-04-28 22:27:02 +00:00
Pere Pujal i Carabantes
36f570937b
Adding kannada.
2014-04-28 21:53:46 +00:00
Pere Pujal i Carabantes
e3c0c45210
Adding Nepali.
2014-04-28 20:55:42 +00:00
Pere Pujal i Carabantes
65fa89d4db
New language Maithili
2014-04-23 22:45:00 +00:00
William Kendrick
db456e4b5b
Odia (aka Oriya) translation.
...
Also misc updates/tweaks to some other locale stuff.
2014-04-16 21:45:08 +00:00
William Kendrick
29d166dc32
Sanskrit translation.
2014-04-16 18:37:18 +00:00
William Kendrick
a00cfcd3c6
Added Santali localization.
2014-04-11 08:34:30 +00:00
Pere Pujal i Carabantes
0134a11591
Fulah
2014-04-09 23:05:42 +00:00