Skip to content

Commit

Permalink
Minor Fixes (#1484)
Browse files Browse the repository at this point in the history
* Fix typo accomodate

* Fix typo calender

* Fix typo dimentions
  • Loading branch information
ronbak authored and mistercrunch committed Oct 30, 2016
1 parent 49828d3 commit 518fbf5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion caravel/assets/visualizations/nvd3_vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function nvd3Vis(slice) {
function calculateStretchMargins(payloadData) {
let stretchMargin = 0;
const pixelsPerCharX = 4.5; // approx, depends on font size
let maxLabelSize = 10; // accomodate for shorter labels
let maxLabelSize = 10; // accommodate for shorter labels
payloadData.data.forEach((d) => {
const axisLabels = d.values;
for (let i = 0; i < axisLabels.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion caravel/translations/es/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ msgid "Chart Options"
msgstr ""

#: caravel/viz.py:595
msgid "Calender Heatmap"
msgid "Calendar Heatmap"
msgstr ""

#: caravel/viz.py:666
Expand Down
2 changes: 1 addition & 1 deletion caravel/translations/fr/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ msgid "Chart Options"
msgstr ""

#: caravel/viz.py:595
msgid "Calender Heatmap"
msgid "Calendar Heatmap"
msgstr ""

#: caravel/viz.py:666
Expand Down
2 changes: 1 addition & 1 deletion caravel/translations/it/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@ msgid "Chart Options"
msgstr ""

#: caravel/viz.py:595
msgid "Calender Heatmap"
msgid "Calendar Heatmap"
msgstr ""

#: caravel/viz.py:666
Expand Down
2 changes: 1 addition & 1 deletion caravel/translations/zh/LC_MESSAGES/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ msgid "Chart Options"
msgstr "图表选项"

#: caravel/viz.py:595
msgid "Calender Heatmap"
msgid "Calendar Heatmap"
msgstr "时间热力图"

#: caravel/viz.py:666
Expand Down
2 changes: 1 addition & 1 deletion caravel/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ class CalHeatmapViz(BaseViz):
"""Calendar heatmap."""

viz_type = "cal_heatmap"
verbose_name = _("Calender Heatmap")
verbose_name = _("Calendar Heatmap")
credits = (
'<a href=https://github.com/wa0x6e/cal-heatmap>cal-heatmap</a>')
is_timeseries = True
Expand Down
2 changes: 1 addition & 1 deletion tests/druid_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def check():
# checking twice to make sure a second sync yields the same results
check()

# datasource exists, add new metrics and dimentions
# datasource exists, add new metrics and dimensions
cfg = {
"user": "admin",
"cluster": CLUSTER_NAME,
Expand Down

0 comments on commit 518fbf5

Please sign in to comment.