Bastien Montagne
6e7617211b
UI messages fixes...
2020-10-06 10:38:21 +02:00
Campbell Barton
41d2d6da0c
Cleanup: pep8 (indentation, spacing, long lines)
2020-10-02 11:59:16 +10:00
Bastien Montagne
9d3550d781
Various fixes in UI messages.
...
Along some other typos in comments or variable names.
2020-09-21 15:18:13 +02:00
Bastien Montagne
9d674708ea
Fix T80589: Translations in python scripts are missing.
...
Python 3.8 changed handling of constant values in its AST tool.
This code should work on both officialy supported 3.7, and newer 3.8,
for now.
2020-09-13 19:50:08 +02:00
Bastien Montagne
701a9d3917
Cleanup: typos & co in UI messages (and some other places).
2020-08-04 13:26:58 +02:00
Bastien Montagne
0158571b34
I18n utils: fix broken case when 'settings' argument is default NULL one.
2020-07-13 12:51:29 +02:00
Bastien Montagne
b358a92faf
Various UI messages fixes...
2020-06-15 10:51:26 +02:00
Aaron Carlisle
caa1b16acc
UI: Do not use term 'Subsurf'
...
So not to be confused with subsurf scatter
Differential Revision: https://developer.blender.org/D8005
2020-06-14 19:06:58 -04:00
Bastien Montagne
c9ff8b5cd6
Various fixes, cleanup and improvements to i18n module.
...
* Remove multi-processing in messages class update, was no giving much
speedup if any at all.
* Remove some debug prints.
* Make messages class pickleable.
* Filter better actual setting values from Settings class.
* Make settings pickleable.
All this will allow to use multi-processing in the i18n addon itself.
2020-05-05 18:08:40 +02:00
Philipp Oeser
2845b232a7
Fix T75522: Math node truncate operator tooltip provides no explanation
2020-04-29 11:36:20 +02:00
Bastien Montagne
aa2544793d
Various typos fixes in UI messages.
2020-04-20 15:27:01 +02:00
Bastien Montagne
2a2d0d463a
i18n: Disable es_ES locale.
...
We already have generic `es` one, having more only makes sense if poeple
actually maintain them and they have different contents...
2020-04-06 11:23:29 +02:00
Bastien Montagne
9607e54985
Fix T74959: Need to be explicit about UTF8 encoding in py.
...
Because some OSs are still using old 8bits specific encodings... Angry
eye @windows...
2020-03-20 20:52:52 +01:00
Campbell Barton
5b0f1e7649
Cleanup: formatting, strip trailing space
2020-03-05 08:05:21 +11:00
Bastien Montagne
d119e163d0
Fix many typos and other issues in UI messages.
2020-02-17 13:01:07 +01:00
Campbell Barton
5a541cfcec
Cleanup: resolve static analyzer warnings in bl_i18n_utils
...
Reported in T73504
2020-01-30 11:48:26 +11:00
Bastien Montagne
f6a90f018c
i18n: Add Slovak language.
2019-10-03 11:11:37 +02:00
Campbell Barton
c8c3e7d284
Cleanup: trailing space, remove tabs, pep8
2019-09-10 06:17:59 +10:00
Bastien Montagne
22d157d469
I18n: dirty workaround for PITA ghost classes remaining after unregister.
...
Spent again a whole day trying to understand what happens here, with no
luck. For some reasons, OperatorProperties children of unregistered
operator classes remain accessible, with their `bl_rna` member, although
that one is 100% invalid (freed memory, crashes with ASAN builds).
Funny thing is, I cannot reproduce that situation when disabling the
add-on from the py console of a Blender-with-UI.
Note: issue revealed by X3D add-on, which is still enabled in factory
settings, while not being officially supported any more, this has to be
fixed in a separate commit.
2019-09-09 17:42:44 +02:00
Campbell Barton
2790740813
Cleanup: spelling
2019-08-17 00:57:05 +10:00
Campbell Barton
0d719fcacb
Cleanup: spelling
2019-08-12 01:10:43 +10:00
Bastien Montagne
4cbcbacc6a
I18n messages extraction: do not report multi-lines messages anymore.
...
Those are now supported for tooltips.
2019-08-01 12:52:52 +02:00
Bastien Montagne
4b37abd61f
Cleanup a bit i18n message extraction code.
2019-08-01 12:52:52 +02:00
Brecht Van Lommel
604fdb6e85
Spelling fixes in comments and descriptions, patch by luzpaz
...
Differential Revision: https://developer.blender.org/D3744
2019-07-31 14:27:35 +02:00
Bastien Montagne
a4869df4c9
I18n messages extraction: add 'generic' handling of Tools.
2019-03-31 18:49:11 +02:00
Bastien Montagne
f3c6b0bf4f
I18n: Enable Thai language.
2019-03-07 11:45:48 +01:00
Bastien Montagne
4b17d34ad3
Add Thai language entry (hidden for until we get some translation).
2019-03-04 10:46:46 +01:00
Campbell Barton
bbe98b18fb
Cleanup: use preferences prefix for Python operators
2019-03-02 00:23:42 +11:00
Bastien Montagne
7efc26709c
I18n: enable Abkhaz in Blender.
2019-02-25 20:40:31 +01:00
Bastien Montagne
e96445059f
Add Abkhaz language to Blender (disabled for until we get some translated content).
2019-02-18 14:36:16 +01:00
Bastien Montagne
0629359762
I18N: Add Kazakh language.
...
Disabled for until we get actual first tranlation in SVN repo. ;)
Related to T61102.
2019-02-10 11:04:53 +01:00
Bastien Montagne
6d89337257
Fix/cleanup typos and such in UI messages (and some comments).
2018-12-24 15:03:49 +01:00
Bastien Montagne
1ac311cedc
Fix/cleanup another bunch of UI messages issues.
...
Also (mostly in comments): behaviour -> behavior (we use American English).
2018-12-24 12:32:43 +01:00
Bastien Montagne
59b530ca18
Fix and workaround for i18n messages extraction code.
2018-12-23 22:03:43 +01:00
Bastien Montagne
1158b9f73a
Cleanup: First batch of UI messages fixes (typos, final points...).
...
Also contains some code typo fixes (mostly, adtaptative -> adaptive,
former is nearly innexistant in English, let's stick to simple valid
words ;) ).
2018-12-23 22:03:43 +01:00
Campbell Barton
63fcbfc3a7
RNA: naming, user-preferences -> preferences
2018-12-21 12:55:02 +11:00
Campbell Barton
bb4ed5ce39
Fix invalid string comparison
2018-12-19 11:38:20 +11:00
Bastien Montagne
ed1ee89288
I18N: tweak some UI labels and tips.
2018-11-21 12:06:59 +01:00
Campbell Barton
916446e83f
Cleanup: move keymap hierarchy into own file
2018-11-20 11:38:13 +11:00
Campbell Barton
1c3411ac89
Keymap: expose tool keymaps in the preferences
...
Currently some modes share tool keymaps, we might want to disable
this since it's confusing editing one thing in multiple places.
However this should be resolved in the tool definitions.
2018-10-03 15:55:57 +10:00
Campbell Barton
5340e9ac1b
Merge branch 'master' into blender2.8
2018-09-21 08:18:23 +10:00
Campbell Barton
0a968510bf
Cleanup: style, use raw strings
2018-09-21 08:15:46 +10:00
Campbell Barton
09aa446100
Merge branch 'master' into blender2.8
2018-09-13 20:15:18 +10:00
Campbell Barton
254067106e
PyAPI: remove operator methods that leak memory
2018-09-13 20:10:56 +10:00
Campbell Barton
ff432a410a
PyAPI: use brief description for operator repr
...
Only include description in docstring.
Also avoid using op_get_rna.
2018-09-13 19:59:15 +10:00
Bastien Montagne
a43ebc63fa
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/intern/collision.c
2018-09-03 17:44:36 +02:00
Brecht Van Lommel
4da2acae3a
Spelling fixes in comments and descriptions, patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3668
2018-09-03 16:55:01 +02:00
Campbell Barton
80a31d30a4
Merge branch 'master' into blender2.8
2018-07-07 08:53:00 +02:00
Campbell Barton
4b373ed086
Cleanup: pep8
2018-07-07 08:48:35 +02:00
Brecht Van Lommel
74fd17e9d7
UI/Python: rename Lamps to Lights, to follow more standard terminology.
...
Internally it's still mostly named lamps, though some modules like Cycles
were already calling them lights.
2018-07-06 20:06:09 +02:00