Skip to content

Commit

Permalink
string change
Browse files Browse the repository at this point in the history
  • Loading branch information
knipknap committed Aug 29, 2023
1 parent 554085d commit 50306bc
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 32 deletions.
9 changes: 2 additions & 7 deletions btl/resources/translations/btl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../ui/tablecell.py" line="60"/>
<location filename="../../ui/toolproperties.py" line="136"/>
<source>Pocket</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -370,12 +370,7 @@
</message>
<message>
<location filename="../../ui/toolproperties.py" line="129"/>
<source>Tool Number:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../ui/toolproperties.py" line="136"/>
<source>Pocket:</source>
<source>Tool Number</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down
Binary file modified btl/resources/translations/btl_de.qm
Binary file not shown.
11 changes: 3 additions & 8 deletions btl/resources/translations/btl_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<translation>Editor zur Verwaltung von ToolBit-Bibliotheken öffnen</translation>
</message>
<message>
<location filename="../../ui/tablecell.py" line="60"/>
<location filename="../../ui/toolproperties.py" line="136"/>
<source>Pocket</source>
<translation>Pocket</translation>
</message>
Expand Down Expand Up @@ -370,13 +370,8 @@
</message>
<message>
<location filename="../../ui/toolproperties.py" line="129"/>
<source>Tool Number:</source>
<translation>Werkzeugnummer:</translation>
</message>
<message>
<location filename="../../ui/toolproperties.py" line="136"/>
<source>Pocket:</source>
<translation>Pocket:</translation>
<source>Tool Number</source>
<translation>Werkzeugnummer</translation>
</message>
</context>
<context>
Expand Down
Binary file modified btl/resources/translations/btl_pt-BR.qm
Binary file not shown.
11 changes: 3 additions & 8 deletions btl/resources/translations/btl_pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<translation>Abrir um editor para gerenciar as bibliotecas de brocas</translation>
</message>
<message>
<location filename="../../ui/tablecell.py" line="60"/>
<location filename="../../ui/toolproperties.py" line="136"/>
<source>Pocket</source>
<translation>Bolsa</translation>
</message>
Expand Down Expand Up @@ -370,13 +370,8 @@
</message>
<message>
<location filename="../../ui/toolproperties.py" line="129"/>
<source>Tool Number:</source>
<translation>Número da ferramenta:</translation>
</message>
<message>
<location filename="../../ui/toolproperties.py" line="136"/>
<source>Pocket:</source>
<translation>Bolsa:</translation>
<source>Tool Number</source>
<translation>Número da ferramenta</translation>
</message>
</context>
<context>
Expand Down
9 changes: 2 additions & 7 deletions btl/resources/translations/py.in.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../ui/tablecell.py" line="60"/>
<location filename="../../ui/toolproperties.py" line="136"/>
<source>Pocket</source>
<translation type="unfinished"></translation>
</message>
Expand Down Expand Up @@ -370,12 +370,7 @@
</message>
<message>
<location filename="../../ui/toolproperties.py" line="129"/>
<source>Tool Number:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../ui/toolproperties.py" line="136"/>
<source>Pocket:</source>
<source>Tool Number</source>
<translation type="unfinished"></translation>
</message>
</context>
Expand Down
4 changes: 2 additions & 2 deletions btl/ui/toolproperties.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ def __init__ (self, tool, tool_no=None, parent=None):
spinner.setValue(self.tool_no or 0)
spinner.setMaximum(99999999)
spinner.valueChanged.connect(self.toolNoChanged.emit)
lbl = translate('btl', 'Tool Number:')
lbl = translate('btl', 'Tool Number')
self._add_property_from_widget(spinner, lbl, self.tool_no)

spinner = QtGui.QSpinBox()
spinner.setValue(tool.pocket or 0)
spinner.setMaximum(99999999)
spinner.valueChanged.connect(tool.set_pocket)
lbl = translate('btl', 'Pocket:')
lbl = translate('btl', 'Pocket')
self._add_property_from_widget(spinner, lbl, self.tool.pocket)
self._makespacing(6)

Expand Down

0 comments on commit 50306bc

Please sign in to comment.