Skip to content

Commit a395d45

Browse files
authored
Merge pull request #6828 from janezd/multilanguage
[ENH] Multilingual package and installation
2 parents 742922e + 022e608 commit a395d45

21 files changed

+123
-64
lines changed

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ recursive-include distribute *.svg *.desktop
1616

1717
include requirements*.txt
1818

19+
recursive-include i18n *.jaml *.yaml
20+
1921
include README.md
2022
include README.pypi
2123
include CONTRIBUTING.md

Orange/widgets/data/owpreprocess.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,9 +738,12 @@ def createinstance(params):
738738

739739
def __repr__(self):
740740
if self.__strategy == self.Fixed:
741-
return f"select {self.__k} {pl(self.__k,'feature')}"
741+
# private attributes may not appear translated strings
742+
num = self.__k
743+
return f"select {num} {pl(num,'feature')}"
742744
else:
743-
return f"select {self.__p} % features"
745+
perc = self.__p
746+
return f"select {perc} % features"
744747

745748

746749
def index_to_enum(enum, i):

conda-recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ requirements:
3737
run:
3838
- python
3939
# GUI requirements
40-
- orange-canvas-core >=0.2.0,<0.3a
40+
- orange-canvas-core >=0.2.2,<0.3a
4141
- orange-widget-base >=4.23.0
4242
- anyqt >=0.2.0
4343
- pyqt >=5.12,!=5.15.1,<6.0

i18n/si/msgs.jaml

Lines changed: 69 additions & 51 deletions
Large diffs are not rendered by default.

i18n/si/static/canvas/workflows/110-file-and-data-table-widget.ows renamed to i18n/si/static/canvas/workflows/si/110-file-and-data-table-widget.ows

File renamed without changes.

i18n/si/static/canvas/workflows/120-scatterplot-data-table.ows renamed to i18n/si/static/canvas/workflows/si/120-scatterplot-data-table.ows

File renamed without changes.

i18n/si/static/canvas/workflows/130-scatterplot-visualize-subset.ows renamed to i18n/si/static/canvas/workflows/si/130-scatterplot-visualize-subset.ows

File renamed without changes.

i18n/si/static/canvas/workflows/250-tree-scatterplot.ows renamed to i18n/si/static/canvas/workflows/si/250-tree-scatterplot.ows

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)