Commit Graph

49 Commits

Author SHA1 Message Date
Sergey Sharybin b0e7dc3545 Fix for messages.txt generator -- KM_HIERARCHY was moved to other module 2011-09-27 09:43:35 +00:00
Campbell Barton 9d68dc0668 update_msg.py now extracts strings from UI files, eg:
layout.prop("some_prop", text="Some Other Name")

So the text argument can be listed for translation.
2011-09-21 13:16:42 +00:00
Campbell Barton 39e0cbe883 updates to rna message extractor, write utf8 files and use a set rather than a dict 2011-09-21 12:23:23 +00:00
gsr b3d 68367e8c01 SVN maintenance. 2011-09-20 21:22:19 +00:00
Campbell Barton 0af633a36c move message.txt generator out of wm.py (which was loaded with blender always), into it own py script which runs on its own, also added this to 'make translations' target. 2011-09-20 17:44:45 +00:00
Campbell Barton 8cf8fd7326 - translation scripts now run with py3.x
- added convenience make target 'make translations'
- some MEM_malloc strings were not unique enough, expanded them.
2011-09-20 17:07:33 +00:00
Sergey Sharybin bba54a051a i18n: fake_gettext is no longer needed for python 2011-09-20 08:38:16 +00:00
Sergey Sharybin 0eda51f2ea Fixing issues with i18n stuff:
- Make gettext stuff draw-time. so switching between languages
  can happens without restart now.
- Added option to translate visible interface (menus, buttons, labels)
  and tooltips. Now it's possible to have english UI and localized tooltips.
- Clean-up sources, do not use gettext stuff for things which can be
  collected with RNA.
- Fix issues with windows 64bit and ru_RU locale on my desktop
  (it was codepage issue).
- Added operator "Get Messages" which generates new text block with
  with all strings collected from RNA.
- Changed script for updating blender.pot so now it appends
  messages collected from rna to automatically gathered messages.
  To update .pot you have to re-generate messages.txt using "Get Messages"
  operator and then run update_pot script.
- Clean up old translation stuff which wasn't used and most probably
  wouldn't be used.
- Return back "International Fonts" option, so if it's disabled, no
  gettext lookups happens on draw.
- Merged read_homefile function back. No need in splitting it.

TODO:
- Custom fonts and font size.
  Current font isn't nice at least for russian locale, it's
  difficult to read it.
- Put references to messages.txt so gettext can merge translation when
  name/description of some property changes.
2011-09-15 13:20:18 +00:00
Xiao Xiangquan fa76a45dc6 update language packs 2011-09-09 15:09:20 +00:00
Xiao Xiangquan 117ac6ac68 delete update_all.py, as it is no longer needed 2011-08-22 04:45:03 +00:00
Xiao Xiangquan ed158eeeb9 update property strings cover. 461 new items 2011-08-18 15:53:30 +00:00
Xiao Xiangquan 18d95a8462 fix a small bug , and update language-packs 2011-08-16 16:58:35 +00:00
Xiao Xiangquan 79656a65e0 finish handle for properties_XXX scripts 2011-08-02 16:51:50 +00:00
Xiao Xiangquan 287b24926f merge with trunk r38787 2011-07-29 17:42:53 +00:00
Xiao Xiangquan 8454f2b8b3 complete the language-select feature 2011-07-25 17:05:43 +00:00
Xiao Xiangquan 08645d9293 switch language in User Preference's System page. with some known switch failure bugs 2011-07-22 14:14:28 +00:00
Xiao Xiangquan 470a5017fb complete space outliner, space node, space nla, etc. 2011-07-13 14:41:12 +00:00
Xiao Xiangquan b4c02ee722 finish user preference dlg's input handles 2011-07-08 04:32:45 +00:00
Xiao Xiangquan 9b8538c69c 3D view, graph editor, etc. done 2011-07-02 03:17:09 +00:00
Xiao Xiangquan 79c129647e right panel done 2011-06-24 04:22:27 +00:00
Xiao Xiangquan 9a2f36b50f handle SpaceType and UserPref popups 2011-06-20 10:07:46 +00:00
Xiao Xiangquan 558d549aeb handle View and Object menu 2011-06-17 03:53:51 +00:00
Xiao Xiangquan de12f8049a translate left panel 2011-06-15 11:41:15 +00:00
Xiao Xiangquan 34a22b3b78 Add i18n support for C code, and most menu items can be translated, now 2011-06-10 04:36:51 +00:00
Xiao Xiangquan b0cc5b9d4c Enable the po&pot update system, simply with two python scripts. 2011-06-01 07:57:09 +00:00
Campbell Barton 89c617a116 remove nan-makefiles 2011-01-30 15:29:22 +00:00
Campbell Barton bed40ed8e3 move directories:
dlltool --> build_files/make/dlltool
 bin --> release/bin
 
Since dlltool is only used make + mingw and ./bin is misleading because it would seem the blender binary would be copied there, but its just used for home directory files.

updated scons/cmake/make
2010-07-26 11:47:33 +00:00
gsr b3d 581cb64f2c Make verification of committed .mo files optional. 2009-09-15 22:34:10 +00:00
gsr b3d 95b43536f6 Some Makefile changes still laying around. 2009-04-21 17:24:16 +00:00
Kent Mein 4fbacd6717 Move Korean file from kr to ko also updated it to newer file.
Kent
2008-09-29 15:02:20 +00:00
Chris Want 5d0a207ecb Patch from GSR that a) fixes a whole bunch of GPL/BL license
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
Chris Want 05c7798729 Fix for the Finnish po from GSR. 2008-03-10 16:04:34 +00:00
Chris Want 715a721c4b == Makefiles ==
Patch from GSR to correctly disable processing of po's when
international support is disabled.
2008-03-05 20:58:29 +00:00
Tom Musgrove f8f6a049bd This commit contains the addition of a greek translation thanks to
Κωστής Καρβουνιάρης
Kostas Gerontis

Also a patch from Markus Schulz that 

adds buttons to the material, light, and world texture panels to make it 
easy to rearrange the textures in the list without having to 
use copy and paste.
2008-03-01 03:56:16 +00:00
Kent Mein 0d8b28e2a3 This is patch: [#7823] Improvements for the German translation
and also a small part of a patch from sgefant that fixes a typo
in the Makefiles.

Kent
2007-11-29 16:56:09 +00:00
Campbell Barton 0170c66dd5 svn-commit.2 2007-09-01 18:50:40 +00:00
Kent Mein cb2d93e09d Cleaned up some case issues with language files...
Kent
2007-07-24 15:24:19 +00:00
Tom Musgrove 0039468ebb = translation =
Bulgarian translation contributed by Victor Dachev
2007-02-08 19:11:04 +00:00
Tom Musgrove 9b3862b4c0 = arabic translation =
arabic translation by M. Bashir Al-Noimi, be aware that we don't support right to left languages so this may not be of benefit to end users currently
2007-01-09 18:49:10 +00:00
Tom Musgrove fe178ff16a = more translation updates =
okay updated translations - they actually compile and can be used now - woo hoo :)  Thank you translators for your hard work.  Also for other languages - if I haven't committed your language my apologies - please email me the most to up to date version you have thanks.
2007-01-06 08:46:42 +00:00
JLuc Peuriere d91048c0dc added polish and coatian languages.
note that finish and russian ones are broken
2006-06-27 22:51:56 +00:00
Wouter van Heyst 041aecdc17 ==Translations==
* Make sure all languages get built (Makefile, scons to be done)
2006-02-12 17:19:53 +00:00
Kent Mein dff884a732 changed:
msgfmt source -o blah
to
msgfmt -o blah source

(didn't work on my machine with the other order)

Kent
2005-11-02 15:59:14 +00:00
Jiri Hnidek 5572323a3a - added czech translation (cs.po)
- changed function drawcircball() in source/blender/src/drawobject.c. Circle is computed faster (no 32 calls of sin() and cos() each time witch same results).
2003-09-08 12:13:54 +00:00
Wouter van Heyst ed074e8630 Don't fail cleaning if the locale directory doesn't exist.
Reported by Frank W. Samuelson among others.
2003-07-23 17:51:40 +00:00
Wouter van Heyst f258cf60b5 - Remove duplicates from po files
- Provide debug target
- Run msgfmt on all but fi.po
2003-05-14 15:04:27 +00:00
Stefan Gartner 1bcb3b251e .mo files were created in the wrong directory on os x (d'oh!) 2003-05-13 22:41:39 +00:00
Stefan Gartner 1beb81a319 create .po files in the application bundle on os x 2003-05-13 11:30:22 +00:00
Wouter van Heyst c52ed2fcc4 - Preliminary makefile that just calls msgfmt on po files
Start with the italian translation (least buggy)
2003-05-13 10:28:52 +00:00