More localization work

This commit is contained in:
Colin Basnett
2023-08-04 16:28:31 -07:00
parent a73655fc98
commit 66fa656b12
3 changed files with 6 additions and 2 deletions

View File

@@ -14,5 +14,9 @@ langs = {
('*', 'The minimum number of keyframes to be exported'): 'エクスポートするキーフレームの最小数', ('*', 'The minimum number of keyframes to be exported'): 'エクスポートするキーフレームの最小数',
('*', 'Select a PSA file'): 'PSAファイルを選択', ('*', 'Select a PSA file'): 'PSAファイルを選択',
('*', 'Case Insensitive'): '大文字小文字を区別しない', ('*', 'Case Insensitive'): '大文字小文字を区別しない',
('*', 'All bones will be exported'): 'すべてのボーンがエクスポートされます',
('*', 'Only bones belonging to the selected bone groups and their ancestors will be exported'):
'選択したボーングループとその祖先に属するボーンのみがエクスポートされます',
('*', 'Raw Mesh Data'): '生のメッシュデータ',
} }
} }

View File

@@ -4,7 +4,7 @@ from bpy.types import UIList
class PSK_UL_materials(UIList): class PSK_UL_materials(UIList):
def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index): def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
row = layout.row() row = layout.row()
row.label(text=str(getattr(item, 'material_name')), icon='MATERIAL') row.label(text=item.material_name, icon='MATERIAL', translate=False)
classes = ( classes = (

View File

@@ -28,7 +28,7 @@ class PSK_OT_import(Operator, ImportHelper):
default=True, default=True,
options=empty_set, options=empty_set,
name='Vertex Colors', name='Vertex Colors',
description='Import vertex colors from PSKX files, if available' description='Import vertex colors, if available'
) )
vertex_color_space: EnumProperty( vertex_color_space: EnumProperty(
name='Vertex Color Space', name='Vertex Color Space',