Skip to content

Commit 8901529

Browse files
authored
Fixed medium/large rectangle names (#328)
1 parent 9f65a00 commit 8901529

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

ckanext/querytool/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ def get_visualization_size():
270270
{'text': _('Small Wide Rectangle (1x6)'),
271271
'value': 'size-sm wide'},
272272
{'text': _('Medium Square (2x2)'), 'value': 'size-sm square'},
273-
{'text': _('Medium Rectangle (2x4)'),
273+
{'text': _('Medium Rectangle (2x3)'), 'value': 'size-lg'},
274+
{'text': _('Large Rectangle (2x4)'),
274275
'value': 'size-sm double square'},
275-
{'text': _('Large Rectangle (2x3)'), 'value': 'size-lg'},
276276
{'text': _('Extra Large Rectangle (2x6)'), 'value': 'size-xl'},
277277
{'text': _('Large Square (4x4)'), 'value': 'size-lg square'},
278278
{'text': _('Medium Vertical (4x2)'),

ckanext/querytool/i18n/es/LC_MESSAGES/ckanext-querytool.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@ msgid "Medium Square (2x2)"
235235
msgstr "Cuadrado pequeño (2x2)"
236236

237237
#: ckanext/querytool/helpers.py:265
238-
msgid "Medium Rectangle (2x4)"
239-
msgstr "Doble cuadrado pequeño horizontal (2x4)"
238+
msgid "Medium Rectangle (2x3)"
239+
msgstr "Rectángulo grande (2x3)"
240240

241241
#: ckanext/querytool/helpers.py:267
242-
msgid "Large Rectangle (2x3)"
243-
msgstr "Rectángulo grande (2x3)"
242+
msgid "Large Rectangle (2x4)"
243+
msgstr "Doble cuadrado pequeño horizontal (2x4)"
244244

245245
#: ckanext/querytool/helpers.py:268
246246
msgid "Extra Large Rectangle (2x6)"

ckanext/querytool/i18n/fr/LC_MESSAGES/ckanext-querytool.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@ msgid "Medium Square (2x2)"
235235
msgstr "Petit carré (2x2)"
236236

237237
#: ckanext/querytool/helpers.py:265
238-
msgid "Medium Rectangle (2x4)"
239-
msgstr "Double petit carré horizontal (2x4)"
238+
msgid "Medium Rectangle (2x3)"
239+
msgstr "Grand rectangle (2x3)"
240240

241241
#: ckanext/querytool/helpers.py:267
242-
msgid "Large Rectangle (2x3)"
243-
msgstr "Grand rectangle (2x3)"
242+
msgid "Large Rectangle (2x4)"
243+
msgstr "Double petit carré horizontal (2x4)"
244244

245245
#: ckanext/querytool/helpers.py:268
246246
msgid "Extra Large Rectangle (2x6)"

ckanext/querytool/i18n/pt_BR/LC_MESSAGES/ckanext-querytool.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@ msgid "Medium Square (2x2)"
235235
msgstr "Quadrado pequeno (2x2)"
236236

237237
#: ckanext/querytool/helpers.py:265
238-
msgid "Medium Rectangle (2x4)"
239-
msgstr "Duplo quadrado pequeno horizontal (2x4)"
238+
msgid "Medium Rectangle (2x3)"
239+
msgstr "Retângulo grande (2x3)"
240240

241241
#: ckanext/querytool/helpers.py:267
242-
msgid "Large Rectangle (2x3)"
243-
msgstr "Retângulo grande (2x3)"
242+
msgid "Large Rectangle (2x4)"
243+
msgstr "Duplo quadrado pequeno horizontal (2x4)"
244244

245245
#: ckanext/querytool/helpers.py:268
246246
msgid "Extra Large Rectangle (2x6)"

ckanext/querytool/i18n/zh_CN/LC_MESSAGES/ckanext-querytool.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,12 @@ msgid "Medium Square (2x2)"
234234
msgstr "小型正方形 (2x2)"
235235

236236
#: ckanext/querytool/helpers.py:265
237-
msgid "Medium Rectangle (2x4)"
238-
msgstr ""
237+
msgid "Medium Rectangle (2x3)"
238+
msgstr "大型矩形 (2x3)"
239239

240240
#: ckanext/querytool/helpers.py:267
241-
msgid "Large Rectangle (2x3)"
242-
msgstr "大型矩形 (2x3)"
241+
msgid "Large Rectangle (2x4)"
242+
msgstr ""
243243

244244
#: ckanext/querytool/helpers.py:268
245245
msgid "Extra Large Rectangle (2x6)"

tests/element-sizes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module.exports = {
2424
.assert.containsText(ELEMENTS.selectSizes, 'Small Rectangle (1x2)')
2525
.assert.containsText(ELEMENTS.selectSizes, 'Small Wide Rectangle (1x6)')
2626
.assert.containsText(ELEMENTS.selectSizes, 'Medium Square (2x2)')
27-
.assert.containsText(ELEMENTS.selectSizes, 'Medium Rectangle (2x4)')
28-
.assert.containsText(ELEMENTS.selectSizes, 'Large Rectangle (2x3)')
27+
.assert.containsText(ELEMENTS.selectSizes, 'Medium Rectangle (2x3)')
28+
.assert.containsText(ELEMENTS.selectSizes, 'Large Rectangle (2x4)')
2929
.assert.containsText(ELEMENTS.selectSizes, 'Extra Large Rectangle (2x6)')
3030
.assert.containsText(ELEMENTS.selectSizes, 'Large Square (4x4)')
3131
.assert.containsText(ELEMENTS.selectSizes, 'Medium Vertical (4x2)')

0 commit comments

Comments
 (0)