Commit e80ac4af authored by dmMaze's avatar dmMaze
Browse files

update CN translation

parent c3aec580
Loading
Loading
Loading
Loading
+75 B (18.3 KiB)

File changed.

No diff preview for this file type.

+11 −1
Original line number Diff line number Diff line
@@ -1342,6 +1342,16 @@ All existing translation results will be cleared!</source>
        <source>Set Text Opacity</source>
        <translation>文本不透明度</translation>
    </message>
    <message>
        <location filename="../ui/text_advanced_format.py" line="176"/>
        <source>Shadow</source>
        <translation>阴影</translation>
    </message>
    <message>
        <location filename="../ui/text_advanced_format.py" line="164"/>
        <source>Opacity</source>
        <translation>不透明度</translation>
    </message>
</context>
<context>
    <name>TextEffectPanel</name>
@@ -1522,7 +1532,7 @@ All existing translation results will be cleared!</source>
    <message>
        <location filename="../ui/text_advanced_format.py" line="12"/>
        <source>Shadow</source>
        <translation>阴影</translation>
        <translation type="obsolete">阴影</translation>
    </message>
    <message>
        <location filename="../ui/text_advanced_format.py" line="16"/>
+1 −1
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ class TextAdvancedFormatPanel(PanelArea):
        self.opacity_box = SmallSizeComboBox([0, 1], 'opacity', self, init_value=1.)
        self.opacity_box.setToolTip(self.tr("Set Text Opacity"))
        self.opacity_box.param_changed.connect(self.on_format_changed)
        self.opacity_label = SmallSizeControlLabel(self, direction=1, text='Opacity', alignment=Qt.AlignmentFlag.AlignCenter)
        self.opacity_label = SmallSizeControlLabel(self, direction=1, text=self.tr('Opacity'), alignment=Qt.AlignmentFlag.AlignCenter)
        self.opacity_label.size_ctrl_changed.connect(self.opacity_box.changeByDelta)
        self.opacity_label.btn_released.connect(lambda : self.on_format_changed('opacity', self.opacity_box.value()))
        opacity_layout = QHBoxLayout()