Updated Hebrew translation.

No longer displays untranslated text in right-to-left (backwards).
This commit is contained in:
William Kendrick 2005-07-26 07:52:44 +00:00
parent 1b9519f38d
commit aa0e5214e6
2 changed files with 12 additions and 3 deletions

View file

@ -7,7 +7,7 @@ bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
2005.Jul.25 (0.9.15)
2005.Jul.26 (0.9.15)
* uncatagorized and messy:
-----------------------
@ -205,6 +205,9 @@ http://www.newbreedsoftware.com/tuxpaint/
* Bug fixes:
-------------------
* Untranslated text in right-to-left languages (e.g., Hebrew) are no
longer displayed backwards.
* [Alt] to bring up print dialog had to be held while hitting 'Ok' to
confirm print. This was a bug! Fixed!

View file

@ -22,12 +22,12 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
(See COPYING.txt)
June 14, 2002 - July 17, 2005
June 14, 2002 - July 26, 2005
*/
#define VER_VERSION "0.9.15"
#define VER_DATE "2005-07-17"
#define VER_DATE "2005-07-26"
/* Color depth for Tux Paint to run in, and store canvases in: */
@ -10651,6 +10651,12 @@ static void wordwrap_text(const char * const str, SDL_Color color,
if (strcmp(str, "") != 0)
{
if (strcmp(str, gettext(str)) == 0)
{
/* String isn't translated! Don't write right-to-left */
want_right_to_left = 0;
}
if (want_right_to_left == 0)
locale_str = strdup(gettext(str));
else