1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-10-27 18:20:13 -04:00
Commit Graph

797 Commits

Author SHA1 Message Date
John Zaitseff
c1c580c133 Add a new-line to the end of empty help text strings
This allows translators to do the same: msgmerge(1) complains if the
translated string ends in "\n" where the original string does not (and
vice versa).
2012-03-25 19:19:02 +11:00
John Zaitseff
0848ead2d3 Add flags for all C-format strings 2012-03-25 19:08:57 +11:00
John Zaitseff
4db96785af Start preparing for version 7.4 by adding an item in NEWS 2012-03-23 10:40:44 +11:00
John Zaitseff
5f1df12b47 Change the whitespacing of various labels and help texts
Whitespacing is used to make these labels and help texts fit various
screens.
2012-03-23 10:38:42 +11:00
John Zaitseff
33118658b5 Add a missing space in the label "Credit limit:" 2012-03-23 09:23:55 +11:00
John Zaitseff
05e6064e0b Update the French PO translation to the latest POT file 2012-03-23 09:03:35 +11:00
John Zaitseff
73c70aad01 Add the French translation made by Frédéric Marchal 2012-03-23 09:02:05 +11:00
John Zaitseff
a7cb912b32 Add further suggestions made by Vladimir Tsarkov
These suggestions are from his e-mail sent 2012-03-22 23:34 (his local
time).
2012-03-23 08:33:32 +11:00
John Zaitseff
0a1a81c19d Add changes to the Russian PO
These changes are based on suggestions by Vladimir Tsarkov, after some
e-mails sent back and forth (2012-03-22).
2012-03-23 07:47:08 +11:00
John Zaitseff
6d864f6d67 Update the line numbers in the Russian PO 2012-03-23 07:44:28 +11:00
John Zaitseff
1caaf8367e Add Vladimir B. Tsarkov's version of the Russian translation
This translation was sent to me on 2012-03-18 and is a preliminary
version from one of the TP translators.
2012-03-23 07:32:19 +11:00
John Zaitseff
3f1b2efce2 Add the French translation of Star Traders by Frédéric Marchal
Upstream translations are taken from the Translation Project at
http://www.translationproject.org/.
2012-03-23 07:28:57 +11:00
John Zaitseff
e4c2fa9423 Document the difference between "turn" and "move" for translators 2012-03-22 22:11:01 +11:00
John Zaitseff
32864b0bdf Add information about version 7.3 of Star Traders; update all dates 2012-03-16 10:49:25 +11:00
John Zaitseff
adde1ed5d1 Simplify a number of translator's comments 2012-03-16 10:13:53 +11:00
John Zaitseff
6f45f21324 Translate the help text into Russian, as well as make some corrections 2012-03-16 10:05:00 +11:00
John Zaitseff
58c8f4fbf0 Add a preliminary translation into Russian 2012-03-15 14:39:01 +11:00
John Zaitseff
b44e032953 Add translation comments explaining a number of strings
In particular, bankruptcy affects both players and companies, and the
strings may need to be translated differently.  Also update PO files
appropriately.
2012-03-15 09:09:12 +11:00
John Zaitseff
2b7cff4e4d Update the date fields in the English PO files 2012-03-15 08:20:52 +11:00
John Zaitseff
bc3e1a06a1 Update the copyright year to 2012 2012-03-15 02:36:23 +11:00
John Zaitseff
4ddb8af23d Update to the latest version of the GNU Portability Library 2012-03-15 02:14:24 +11:00
John Zaitseff
8c950278b8 Update to the latest upstream version of ax_with_curses.m4 2012-03-15 02:13:30 +11:00
John Zaitseff
8bbee054ad Change the handling of default value keycodes to be configurable 2011-08-30 12:45:45 +10:00
John Zaitseff
0a518102ec Update corresponding source line numbers 2011-08-30 09:16:45 +10:00
John Zaitseff
74aa3e84df Fix a couple of display bugs
Firstly, Ncurses addchstr() and family do not work, it seems, with
multibyte strings, so use addch() instead.  Secondly, PRINTABLE_MAP_VAL
returns a wchar_t wide character, not a byte-sized char.
2011-08-30 09:15:15 +10:00
John Zaitseff
7fba9f8844 Update the version number in the PO files for Star Traders 7.3 2011-08-30 08:28:05 +10:00
John Zaitseff
917ed49975 Start preparing for version 7.3: bug fixes and a Russian translation 2011-08-30 08:13:28 +10:00
John Zaitseff
6b36465f7d Update source line numbers in the translation PO files 2011-08-29 14:14:44 +10:00
John Zaitseff
4ca99815b8 Be a little more diligent when it comes to wchar_t vs. wint_t
The %lc format is actually of type wint_t, according to printf(3), not
wchar_t, even though these are of the same underlying type on most (all?)
platforms.
2011-08-29 14:13:29 +10:00
John Zaitseff
df3ccfd583 Source line numbers have changed for all translations 2011-08-29 10:51:19 +10:00
John Zaitseff
752eed74c5 Cosmetic change: replace one space with one tab 2011-08-29 10:40:31 +10:00
John Zaitseff
e3733d8921 Define _XOPEN_SOURCE_EXTENDED, required by old versions of NcursesW
The macro _XOPEN_SOURCE_EXTENDED is required by some old versions of
NcursesW for wide-character function definitions.
2011-08-29 10:38:55 +10:00
John Zaitseff
82ca16e110 Bug fix: wchar_t may be smaller than int
On some platforms (eg, Cygwin), wchar_t is smaller than int, so type
promotion requires an appropriate cast for va_arg.
2011-08-29 10:34:27 +10:00
John Zaitseff
1f3be16193 The "%lc" directive requires a wint_t type, not wchar_t
This is essentially only to keep GCC quiet.
2011-08-29 09:34:29 +10:00
John Zaitseff
a6eb484a96 Make sure po/README is distributed 2011-08-29 08:17:13 +10:00
John Zaitseff
e29b94f36a List new features of Star Traders 7.2
The anticipated release date is tomorrow!
2011-08-28 17:17:10 +10:00
John Zaitseff
735f7ce3d5 Remove more unwanted word-wrapping; propogate this to msgmerge(1) 2011-08-28 17:13:12 +10:00
John Zaitseff
2c57284edf Add the English (Canadian) translation of Star Traders
Hopefully, this has the correct spelling.  Corrections welcome!
2011-08-28 17:06:53 +10:00
John Zaitseff
a9dfde342a Correct the spelling of "-ize" vs. "-ise" 2011-08-28 17:06:03 +10:00
John Zaitseff
39ac89e1cd Remove unwanted word-wrapping from the Star Traders help text 2011-08-28 16:59:59 +10:00
John Zaitseff
868013e5a5 Add translations for en_AU, en_GB and en_US
In particular, replace quotes with Unicode variants and change spelling
appropriately.
2011-08-28 16:10:46 +10:00
John Zaitseff
0ec87f8b34 Multibyte locales require a wide-character version of Curses 2011-08-28 14:40:39 +10:00
John Zaitseff
3b8aaf193e Don't suggest /tmp for building: it may not be large enough 2011-08-28 14:11:29 +10:00
John Zaitseff
3a68213e80 Remove all unnecessary Gnulib modules
In particular, the various printf-posix modules are not needed as %ls and
the ' flag (thousands separator) is supported on all modern platforms (it
is needed on Cygwin 1.5.x, for example, but the 1.5.x series do not
support swprintf() anyway).  Similarly, OpenBSD 3.8 (released November
2005) is not supported: it does not have <monetary.h>.  A number of
modules (locale, string, unistd, wchar) are only required for NetBSD 5.0
(c. 2009: quite recent).  We try to support MacOS X 10.5 (October 2007),
but it may require GNU libiconv.
2011-08-26 06:33:40 +10:00
John Zaitseff
dffb4c59fe Implement the single-byte equivalent of getwch()
This implementation assembles a wide character from a stream of
multibyte-forming bytes.
2011-08-26 04:51:44 +10:00
John Zaitseff
4c99f9a57f More (slight) code clean-ups 2011-08-26 03:22:25 +10:00
John Zaitseff
cb67513bb9 Correct a minor bug in cursor decrement (cpos_dec) 2011-08-25 22:15:12 +10:00
John Zaitseff
dfab785ba7 Add a couple more places where the character constant is a wide char 2011-08-25 21:55:10 +10:00
John Zaitseff
167bcd82f5 Remove the unused header file <ctype.h> 2011-08-25 21:45:22 +10:00
John Zaitseff
1c2518a78b Minor clean-up: replace character constants with wide-char versions
Wide-char character constants is not strictly needed for most (all?)
modern C compilers, as ASCII maps to wchar_t directly (as long as
__STDC_ISO_10646__ is defined).  However, it doesn't hurt to be pedantic!
2011-08-25 21:34:41 +10:00