diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-15 09:01:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-15 09:01:47 +0400 |
commit | 5da894b1fe1214866d7b343fabab848e8f32a581 (patch) | |
tree | 83269a27a8c5623be3ce164df3355eebe92c33fd /po | |
parent | 317b649bb241726d8be1a700cd0028f28914595d (diff) |
misc edits
- cmake/windows was installing locale & font when internationalization was disabled, twice when enabled.
- file selector was using the string size-1, where this isn't needed since string buttons expected this value to be the sizeof(), accounting for '\0'.
- use const char for extension checking funcs.
- minor pep8 edits
Diffstat (limited to 'po')
-rw-r--r-- | po/update_msg.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/po/update_msg.py b/po/update_msg.py index 5986d96f14b..7cc7ee50b63 100644 --- a/po/update_msg.py +++ b/po/update_msg.py @@ -135,10 +135,12 @@ def dump_messages_rna(messages): item.identifier, ) # Here identifier and name can be the same! - if item.name: # and item.name != item.identifier: - messages.setdefault(item.name, []).append(msgsrc) + if item.name: # and item.name != item.identifier: + messages.setdefault(item.name, + []).append(msgsrc) if item.description: - messages.setdefault(item.description, []).append(msgsrc) + messages.setdefault(item.description, + []).append(msgsrc) def walkRNA(bl_rna): |